:root {
  --surface: #f1f4f8;
  --surface-raised: #ffffff;
  --surface-soft: #e5eaf1;
  --ink: #11141a;
  --ink-soft: #5a6472;
  --line: #c8d0db;
  --blue: #164eef;
  --blue-hover: #0f3dcc;
  --blue-soft: #dce5ff;
  --night: #11151d;
  --on-blue: #ffffff;
  --container: 1320px;
  --gutter: clamp(18px, 3vw, 46px);
  --section-space: clamp(92px, 10vw, 160px);
  --radius: 16px;
  --button-radius: 10px;
  --focus: #123ec9;
  color-scheme: light dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--surface);
  color: var(--ink);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  padding: 10px 15px;
  transform: translateY(-150%);
  border-radius: var(--button-radius);
  background: var(--ink);
  color: var(--surface-raised);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: relative;
  z-index: 100;
  height: 76px;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  backdrop-filter: blur(14px);
}

.header-inner {
  width: min(calc(100% - (2 * var(--gutter))), var(--container));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.96rem;
  font-weight: 780;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand-mark {
  position: relative;
  width: 64px;
  height: 54px;
  flex: 0 0 64px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
  border-radius: var(--button-radius);
  background: #000;
}

.brand-mark img {
  position: absolute;
  top: -14px;
  left: -10.24px;
  width: 84px;
  height: 84px;
  max-width: none;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(22px, 2.4vw, 40px);
  font-size: 0.84rem;
  font-weight: 700;
}

.main-nav a {
  text-decoration: none;
}

.main-nav > a:not(.header-cta) {
  padding: 9px 0;
  border-bottom: 1px solid transparent;
}

.main-nav > a:not(.header-cta):hover {
  border-bottom-color: currentColor;
}

.header-cta {
  min-height: 44px;
  padding: 11px 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--button-radius);
  background: var(--blue);
  color: #fff;
}

.header-cta:hover {
  background: var(--blue-hover);
}

.menu-button,
.noscript-nav {
  display: none;
}

.hero {
  min-height: 84svh;
}

.hero-inner {
  width: min(calc(100% - (2 * var(--gutter))), var(--container));
  min-height: 84svh;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 52fr 48fr;
  align-items: stretch;
}

.hero-copy {
  min-width: 0;
  padding: clamp(68px, 9vh, 94px) clamp(48px, 6vw, 92px) 70px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1,
h2,
h3 {
  margin-top: 0;
  font-weight: 740;
  letter-spacing: -0.06em;
  line-height: 0.95;
}

h1 {
  margin-bottom: 30px;
  font-size: clamp(4rem, 6.25vw, 6.4rem);
}

.hero-lead {
  max-width: 560px;
  margin: 0 0 38px;
  color: var(--ink-soft);
  font-size: clamp(1.1rem, 1.5vw, 1.32rem);
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 25px;
}

.button {
  min-height: 52px;
  padding: 14px 19px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border-radius: var(--button-radius);
  font-size: 0.86rem;
  font-weight: 780;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: transform 180ms ease, background-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button:active {
  transform: translateY(1px);
}

.button-primary {
  min-width: 188px;
  background: var(--blue);
  color: #fff;
}

.button-primary:hover {
  background: var(--blue-hover);
}

.phone-link {
  min-height: 44px;
  padding: 10px 0 7px;
  border-bottom: 1px solid currentColor;
  font-weight: 750;
  text-decoration: none;
}

.hero-visual {
  position: relative;
  min-width: 0;
  margin: 0;
  padding: clamp(24px, 3vw, 46px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  border-radius: 0 0 var(--radius) var(--radius);
  background: var(--blue);
}

.hero-visual::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -110px;
  width: 270px;
  height: 270px;
  border: 46px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
}

.hero-visual picture {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border-radius: var(--radius);
  background: #dce1e6;
}

.hero-visual img {
  width: 100%;
  max-height: 540px;
  object-fit: cover;
  aspect-ratio: 3 / 2;
}

.hero-visual figcaption {
  position: relative;
  z-index: 1;
  max-width: 420px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.8rem;
}

.section {
  padding: var(--section-space) 0;
}

.section-inner {
  width: min(calc(100% - (2 * var(--gutter))), var(--container));
  margin: 0 auto;
}

.section-heading {
  max-width: 850px;
  margin-bottom: clamp(64px, 8vw, 108px);
}

.section-label {
  margin: 0 0 20px;
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-heading h2,
.brief-copy h2,
.area-copy h2,
.needs-copy h2,
.contact-intro h2 {
  margin-bottom: 26px;
  font-size: clamp(2.8rem, 5vw, 5.15rem);
}

.section-heading > p,
.brief-copy > p,
.area-copy > p,
.needs-copy > p,
.contact-intro > p {
  max-width: 620px;
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(1.02rem, 1.4vw, 1.18rem);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: minmax(250px, auto) minmax(250px, auto) minmax(220px, auto);
  gap: 14px;
}

.service-card {
  grid-column: span 4;
  min-width: 0;
  padding: clamp(28px, 3.2vw, 46px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-raised);
}

.service-card h3 {
  max-width: 390px;
  margin: 30px 0 0;
  font-size: clamp(2rem, 3vw, 3.2rem);
}

.service-card p {
  max-width: 420px;
  margin: 28px 0 0;
  color: inherit;
  opacity: 0.8;
}

.service-type {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.service-home {
  grid-column: span 7;
  grid-row: span 2;
  background: var(--blue);
  color: #fff;
}

.service-home h3 {
  max-width: 520px;
  font-size: clamp(3.4rem, 6.2vw, 6.5rem);
}

.service-move {
  grid-column: span 5;
  background: var(--night);
  color: #fff;
}

.service-office {
  grid-column: span 5;
  padding: 0;
  display: grid;
  grid-template-columns: 48fr 52fr;
  align-items: stretch;
  overflow: hidden;
}

.service-office picture,
.service-office img {
  width: 100%;
  height: 100%;
}

.service-office img {
  object-fit: cover;
}

.service-office div {
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-office h3 {
  font-size: clamp(1.8rem, 2.5vw, 2.7rem);
}

.service-build {
  background: var(--blue-soft);
}

.brief-section {
  padding-top: 0;
}

.brief-inner {
  padding: clamp(46px, 6vw, 82px);
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(52px, 7vw, 105px);
  align-items: start;
  border-radius: var(--radius);
  background: var(--surface-soft);
}

.brief-copy h2 {
  font-size: clamp(2.6rem, 4.5vw, 4.7rem);
}

.brief-points {
  margin: 0;
  display: grid;
}

.brief-points div {
  padding: 21px 0;
  display: grid;
  grid-template-columns: 115px 1fr;
  gap: 20px;
  border-bottom: 1px solid var(--line);
}

.brief-points dt {
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.brief-points dd {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 680;
}

.brief-inner > .button {
  grid-column: 2;
  justify-self: start;
}

.area {
  padding: 0;
  background: var(--blue);
  color: #fff;
}

.area-inner {
  width: min(calc(100% - (2 * var(--gutter))), var(--container));
  min-height: 660px;
  margin: 0 auto;
  padding: clamp(85px, 10vw, 145px) 0;
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: clamp(70px, 9vw, 140px);
  align-items: center;
}

.area-copy h2 {
  font-size: clamp(3.1rem, 5vw, 5.1rem);
}

.area-copy > p {
  color: rgba(255, 255, 255, 0.83);
}

.area-cities {
  display: grid;
  border-top: 1px solid rgba(255, 255, 255, 0.42);
}

.area-cities span {
  padding: 23px 0 27px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.42);
  font-size: clamp(3.9rem, 8vw, 8.1rem);
  font-weight: 740;
  letter-spacing: -0.07em;
  line-height: 0.93;
}

.needs-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  gap: clamp(65px, 9vw, 140px);
  align-items: center;
}

.needs-media {
  position: relative;
  min-height: 710px;
}

.needs-main-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 82%;
}

.needs-main-image img {
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
  aspect-ratio: 3 / 2;
}

.needs-small-image {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(54%, 430px);
  padding: 13px 0 0 13px;
  border-radius: var(--radius) 0 0 0;
  background: var(--surface);
}

.needs-small-image img {
  width: 100%;
  border-radius: var(--radius);
}

.needs-copy > p {
  margin-bottom: 55px;
}

.needs-copy dl {
  margin: 0;
  display: grid;
  gap: 34px;
}

.needs-copy dl div {
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.needs-copy dt {
  margin-bottom: 7px;
  color: var(--blue);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.needs-copy dd {
  margin: 0;
  color: var(--ink-soft);
}

.rut-strip {
  padding: 0 var(--gutter);
}

.rut-strip > div {
  width: min(100%, var(--container));
  margin: 0 auto;
  padding: 31px 0;
  display: grid;
  grid-template-columns: 160px minmax(0, 720px);
  gap: 35px;
  align-items: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.rut-strip strong {
  color: var(--blue);
  font-size: 2.2rem;
  letter-spacing: -0.05em;
}

.rut-strip p {
  margin: 0;
  color: var(--ink-soft);
}

.contact .section-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.87fr) minmax(510px, 1.13fr);
  gap: clamp(72px, 10vw, 150px);
  align-items: start;
}

.contact-intro .button {
  margin-top: 38px;
}

.contact-details > dl {
  margin: 0;
  border-top: 2px solid var(--ink);
}

.contact-details > dl > div {
  min-height: 92px;
  padding: 23px 0;
  display: grid;
  grid-template-columns: 125px 1fr;
  gap: 20px;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.contact-details dt,
.map-card small {
  color: var(--ink-soft);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-details dd {
  margin: 0;
  font-size: clamp(1rem, 1.7vw, 1.35rem);
  font-weight: 680;
  letter-spacing: -0.02em;
}

.contact-details dd a {
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.map-card {
  position: relative;
  min-height: 220px;
  margin-top: 30px;
  padding: 30px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--blue);
  color: #fff;
  font-size: clamp(1.4rem, 2.5vw, 2.45rem);
  font-weight: 720;
  letter-spacing: -0.045em;
  line-height: 1.15;
  text-decoration: none;
}

.map-card::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -100px;
  width: 230px;
  height: 230px;
  border: 42px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  transition: transform 220ms ease;
}

.map-card:hover::after {
  transform: translate(-10px, -10px);
}

.map-card small {
  margin-bottom: 22px;
  display: block;
  color: rgba(255, 255, 255, 0.75);
}

.map-card strong {
  position: relative;
  z-index: 1;
  font-weight: 400;
}

.map-card em {
  align-self: end;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.69rem;
  font-style: normal;
  font-weight: 780;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.site-footer {
  padding: clamp(70px, 8vw, 112px) var(--gutter) 25px;
  background: var(--night);
  color: #fff;
}

.footer-inner,
.footer-bottom {
  width: min(100%, var(--container));
  margin: 0 auto;
}

.footer-inner {
  padding-bottom: clamp(64px, 7vw, 94px);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 70px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-brand img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--button-radius);
}

.footer-brand div {
  display: grid;
  gap: 4px;
}

.footer-brand strong {
  font-size: 1.04rem;
}

.footer-brand span {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.8rem;
}

.footer-links {
  display: grid;
  gap: 11px;
  justify-items: end;
  font-weight: 650;
}

.footer-links a,
.footer-bottom a {
  text-underline-offset: 4px;
}

.footer-bottom {
  padding-top: 23px;
  display: flex;
  justify-content: space-between;
  gap: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.72rem;
}

.footer-bottom p {
  max-width: 720px;
  margin: 0;
}

.footer-bottom a {
  white-space: nowrap;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 560ms ease, transform 560ms cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-step {
  opacity: 0;
  transform: translateY(18px);
  animation: hero-in 520ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-step:nth-child(1) { animation-delay: 70ms; }
.hero-step:nth-child(2) { animation-delay: 130ms; }
.hero-step:nth-child(3) { animation-delay: 190ms; }

@keyframes hero-in {
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1060px) {
  h1 {
    font-size: clamp(3.65rem, 7vw, 5.4rem);
  }

  .service-office {
    grid-template-columns: 1fr;
  }

  .service-office picture {
    max-height: 170px;
  }

  .needs-grid,
  .contact .section-inner {
    gap: 64px;
  }
}

@media (max-width: 767px) {
  :root {
    --gutter: 18px;
    --section-space: 88px;
  }

  .site-header {
    height: 76px;
  }

  .brand {
    gap: 10px;
    font-size: 0.88rem;
  }

  .brand-mark {
    width: 58px;
    height: 50px;
    flex-basis: 58px;
  }

  .brand-mark img {
    top: -13px;
    left: -9.17px;
    width: 76px;
    height: 76px;
  }

  .menu-button {
    min-width: 74px;
    min-height: 44px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    border: 0;
    background: transparent;
    color: var(--ink);
    font: inherit;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .menu-button i,
  .menu-button i::after {
    width: 22px;
    height: 1px;
    display: block;
    background: currentColor;
    transition: transform 180ms ease;
  }

  .menu-button i {
    position: relative;
  }

  .menu-button i::after {
    content: "";
    position: absolute;
    top: 6px;
    left: 0;
  }

  .menu-button[aria-expanded="true"] i {
    transform: translateY(3px) rotate(45deg);
  }

  .menu-button[aria-expanded="true"] i::after {
    transform: translateY(-6px) rotate(-90deg);
  }

  .main-nav {
    position: absolute;
    top: 76px;
    right: 0;
    left: 0;
    padding: 25px var(--gutter) 30px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-bottom: 1px solid var(--line);
    background: var(--surface);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav > a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }

  .main-nav > .header-cta {
    margin-top: 18px;
    padding: 13px 18px;
    border-bottom-color: var(--blue);
  }

  .noscript-nav {
    padding: 12px var(--gutter);
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    background: var(--surface-raised);
    font-size: 0.78rem;
    font-weight: 700;
  }

  .hero,
  .hero-inner {
    min-height: auto;
  }

  .hero-inner {
    width: 100%;
    grid-template-columns: 1fr;
  }

  .hero-copy {
    min-height: calc(88svh - 76px);
    padding: 68px var(--gutter) 46px;
    justify-content: center;
  }

  h1 {
    font-size: clamp(3.35rem, 15vw, 4.6rem);
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
  }

  .button-primary {
    width: 100%;
  }

  .phone-link {
    align-self: flex-start;
  }

  .hero-visual {
    min-height: 68svh;
    padding: 18px;
    border-radius: 0;
  }

  .hero-visual figcaption {
    margin-top: 17px;
  }

  .section-heading h2,
  .brief-copy h2,
  .area-copy h2,
  .needs-copy h2,
  .contact-intro h2 {
    font-size: clamp(2.7rem, 13vw, 4.2rem);
  }

  .section-heading {
    margin-bottom: 60px;
  }

  .service-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .service-card,
  .service-home,
  .service-move,
  .service-office {
    grid-column: 1;
    grid-row: auto;
    min-height: 230px;
  }

  .service-home {
    min-height: 430px;
  }

  .service-home h3 {
    font-size: clamp(2.65rem, 11.5vw, 3.1rem);
  }

  .service-office {
    grid-template-columns: 46fr 54fr;
  }

  .service-office picture {
    max-height: none;
  }

  .brief-inner,
  .area-inner,
  .needs-grid,
  .contact .section-inner {
    grid-template-columns: 1fr;
  }

  .brief-inner {
    padding: 34px 24px;
    gap: 44px;
  }

  .brief-inner > .button {
    grid-column: 1;
  }

  .brief-points div {
    grid-template-columns: 88px 1fr;
  }

  .area-inner {
    min-height: auto;
    padding: 88px 0;
    gap: 70px;
  }

  .area-cities span {
    font-size: clamp(4.4rem, 21vw, 6.2rem);
  }

  .needs-grid {
    gap: 70px;
  }

  .needs-media {
    min-height: 520px;
  }

  .needs-main-image {
    width: 88%;
  }

  .needs-small-image {
    width: 56%;
  }

  .rut-strip > div {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .contact .section-inner {
    gap: 70px;
  }

  .contact-details > dl > div {
    grid-template-columns: 94px 1fr;
    gap: 14px;
  }

  .map-card {
    min-height: 230px;
    padding: 25px;
  }

  .footer-inner,
  .footer-bottom {
    flex-direction: column;
  }

  .footer-links {
    justify-items: start;
  }
}

@media (max-width: 375px) {
  .brand span {
    font-size: 0.82rem;
  }

  h1 {
    font-size: 3.22rem;
  }

  .service-office {
    grid-template-columns: 1fr;
  }

  .service-office picture {
    max-height: 190px;
  }

  .contact-details > dl > div,
  .brief-points div {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    align-items: flex-start;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --surface: #11141a;
    --surface-raised: #191e27;
    --surface-soft: #202631;
    --ink: #f2f5fa;
    --ink-soft: #b6c0ce;
    --line: #38414e;
    --blue: #164eef;
    --blue-hover: #315fff;
    --blue-soft: #1c2d61;
    --night: #0b0e13;
    --focus: #8ca2ff;
  }

  .service-home,
  .area,
  .map-card {
    background: #164eef;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-delay: 0ms !important;
    transition-duration: 0.01ms !important;
  }

  .reveal,
  .hero-step {
    opacity: 1;
    transform: none;
  }
}

.no-js .reveal,
.no-js .hero-step {
  opacity: 1;
  transform: none;
  animation: none;
}
