/* ---------- Header responsive ---------- */
@media (min-width: 1024px) {
  .site-nav ul {
    display: flex;
    gap: var(--space-6);
  }

  .hamburger,
  .mobile-nav {
    display: none;
  }
}

@media (max-width: 1023.98px) {
  .site-header__actions .btn--sm {
    display: none;
  }
}

@media (max-width: 479.98px) {
  .site-header__inner {
    gap: var(--space-2);
  }

  .brand__logo-stack {
    width: 128px;
  }

  .site-header__actions {
    gap: var(--space-2);
  }

  .lang-toggle {
    padding: 2px;
  }
}

/* ---------- Hero ---------- */
section.hero {
  padding-top: calc(var(--header-height) + var(--space-7));
  padding-bottom: var(--space-9);
  min-height: 100svh;
  display: flex;
  align-items: flex-start;
}

@media (min-height: 760px) {
  section.hero {
    align-items: center;
  }
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg svg {
  width: 100%;
  height: 100%;
}

.hero__divider {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  width: 100%;
  height: 40px;
  z-index: 1;
  opacity: 0.8;
}

.hero__glow {
  position: absolute;
  border-radius: 50%;
  background: var(--gradient-glow);
  filter: blur(60px);
  z-index: 0;
  pointer-events: none;
}

.hero__glow--a {
  width: 480px;
  height: 480px;
  top: -10%;
  right: -10%;
}

.hero__glow--b {
  width: 360px;
  height: 360px;
  bottom: -15%;
  left: -8%;
  opacity: 0.7;
}

.hero__content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}

.hero__copy { max-width: 700px; }

.hero h1 {
  margin-bottom: var(--space-4);
  text-shadow: 0 12px 48px rgba(3, 8, 14, 0.45);
}

.hero .text-gradient {
  filter: drop-shadow(0 0 28px rgba(166, 216, 255, 0.35));
}

.hero__subhead {
  max-width: 52ch;
  font-size: var(--fs-h4);
  color: var(--color-grey-tagline-dark);
  margin-bottom: var(--space-5);
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: var(--space-2);
  margin-bottom: 0;
}

.hero__badges li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 38px;
  padding: 0.45rem 0.8rem;
  border: 1px solid rgba(166, 216, 255, 0.14);
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.035);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(10px);
  font-size: var(--fs-small);
  font-weight: var(--fw-medium);
  color: var(--color-grey-tagline-dark);
}

.hero__badge-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gradient-brand-dark);
  color: var(--color-navy);
  flex-shrink: 0;
}

@media (max-width: 479.98px) {
  .hero__badges {
    display: grid;
    grid-template-columns: 1fr;
    width: min(100%, 280px);
    margin-inline: auto;
  }
}

.hero__stats {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: nowrap;
  gap: var(--space-3);
  padding-top: var(--space-5);
  margin-top: var(--space-2);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero__stat {
  display: flex;
  flex: 1 1 0;
  min-width: 0;
  flex-direction: column;
  position: relative;
}

.hero__stat:not(:last-child) {
  padding-right: var(--space-3);
}

.hero__stat:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0.15em;
  bottom: 0.15em;
  width: 1px;
  background: rgba(255, 255, 255, 0.14);
}

.hero__stat strong {
  font-size: clamp(1.15rem, 3.4vw, 2rem);
  font-weight: var(--fw-heavy);
  line-height: 1.15;
}

.hero-form {
  position: relative;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border: 1px solid rgba(166, 216, 255, 0.2);
  border-radius: clamp(22px, 3vw, 32px);
  background: linear-gradient(145deg, rgba(15, 32, 52, 0.92), rgba(8, 17, 28, 0.82));
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
}

.hero-form::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(166, 216, 255, 0.34), transparent 38%, rgba(31, 142, 219, 0.32));
  filter: blur(10px);
  opacity: 0.5;
}

.hero-form__eyebrow {
  margin-bottom: var(--space-2);
  color: var(--color-blue-pale) !important;
  font-size: 0.72rem;
  font-weight: var(--fw-bold);
  letter-spacing: 0.16em;
}

.hero-form h2 { margin-bottom: var(--space-2); font-size: clamp(1.65rem, 2.4vw, 2.35rem); }
.hero-form > p:not(.hero-form__eyebrow) { max-width: 42ch; font-size: 0.92rem; }
.hero-form__fields { display: grid; gap: var(--space-3); margin-top: var(--space-5); }
.hero-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }
.hero-form .form-field { gap: 0.4rem; }
.hero-form .form-field label { color: var(--color-grey-tagline-dark); font-size: 0.78rem; }
.hero-form .form-field input,
.hero-form .form-field select {
  min-width: 0;
  min-height: 50px;
  padding: 0.75rem 0.9rem;
  color: #fff;
  background: rgba(4, 13, 23, 0.72);
  border: 1px solid rgba(166, 216, 255, 0.16);
  border-radius: 12px;
}
.hero-form .form-field input:focus,
.hero-form .form-field select:focus { outline: none; border-color: var(--color-blue); box-shadow: 0 0 0 4px rgba(31, 142, 219, 0.18); }
.hero-form__submit { width: 100%; min-height: 56px; margin-top: var(--space-1); font-size: 1rem; box-shadow: 0 16px 42px rgba(31, 142, 219, 0.28); }

@media (max-width: 899.98px) {
  .hero__content { grid-template-columns: 1fr; gap: var(--space-6); }
  .hero__copy { text-align: center; margin-inline: auto; }
  .hero__subhead { margin-inline: auto; }
  .hero__badges { justify-content: center; }
  .hero-form { width: min(100%, 620px); margin-inline: auto; text-align: left; }
}

@media (max-width: 599.98px) {
  section.hero {
    padding-top: calc(var(--header-height) + var(--space-6));
    padding-bottom: var(--space-8);
  }

  .hero__content { gap: var(--space-5); }
  .hero-form__row { grid-template-columns: 1fr; }
  .hero-form { padding: 1.25rem; }
  .hero__stats { gap: 0.5rem; }
  .hero__stat:not(:last-child) { padding-right: 0.5rem; }
  .hero__stat strong { font-size: clamp(0.95rem, 5vw, 1.35rem); }
  .hero__stat span { font-size: clamp(0.65rem, 2.7vw, 0.78rem); }
}

.process__head h2 {
  background: var(--gradient-brand-dark);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 12px 28px rgba(31, 142, 219, 0.16));
}

.process__head p { max-width: 52ch; margin: var(--space-3) auto 0; }

.hero__stat span {
  font-size: var(--fs-small);
  color: var(--color-grey-tagline-dark);
}

@media (min-width: 480px) {
  .hero__stats {
    gap: var(--space-6);
  }

  .hero__stat:not(:last-child) {
    padding-right: var(--space-6);
  }
}

@media (max-width: 599.98px) {
  .hero__glow--b {
    display: none;
  }
}

/* ---------- About media ---------- */
@media (max-width: 767.98px) {
  .about__badge {
    right: var(--space-3);
    bottom: -16px;
    width: 68px;
    height: 68px;
  }
}

/* ---------- 2026 precision refinement ---------- */
section.hero {
  padding-top: calc(var(--header-height) + var(--space-7));
}

.hero h1 {
  letter-spacing: -0.045em;
  text-shadow: none;
}

.hero .text-gradient { filter: none; }

.hero-form {
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border: 1px solid rgba(166, 216, 255, 0.16);
  border-radius: 4px;
  background: rgba(11, 27, 45, 0.72);
  box-shadow: none;
  backdrop-filter: blur(14px);
}

.hero-form::before { display: none; }
.hero-form h2 { margin-bottom: 0.5rem; font-size: clamp(1.5rem, 2.2vw, 2rem); letter-spacing: -0.025em; }
.hero-form__fields { margin-top: 1.5rem; gap: 0.85rem; }
.hero-form__row { grid-template-columns: 1.1fr 0.9fr; gap: 0.75rem; }
.hero-form .form-field input,
.hero-form .form-field select { min-height: 54px; border-radius: 2px; background: rgba(4, 13, 23, 0.56); }
.hero-form__submit { min-height: 54px; border-radius: 2px; box-shadow: none; }
.hero-form__note { margin: 0.15rem 0 0; text-align: center; font-size: 0.72rem !important; color: rgba(184, 193, 204, 0.72) !important; }

.process__head {
  max-width: 760px;
  margin-inline: 0;
  text-align: left;
}
.process__head h2 {
  max-width: 16ch;
  background: none;
  color: #fff;
  filter: none;
  font-size: clamp(2.15rem, 5vw, 4.8rem);
  letter-spacing: -0.045em;
  line-height: 0.98;
}
.process__head .eyebrow { margin-bottom: 1.25rem; }

@media (max-width: 599.98px) {
  .hero-form__row { grid-template-columns: 1fr; }
  .process__head h2 { max-width: 12ch; }
}

section.hero { padding-bottom: clamp(3rem, 5vw, 4rem); }
.hero__stats { padding-top: 1.5rem; margin-top: 0; }
.section-head { margin-bottom: clamp(2rem, 4vw, 3.25rem); }

/* ---------- Annotation refinement ---------- */
.hero h1 {
  max-width: 10.5ch;
  font-size: clamp(3rem, 6.5vw, 5.8rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.055em;
  text-wrap: balance;
}
.hero .text-gradient { font-weight: 600; }
.hero__subhead {
  max-width: 47ch;
  margin-bottom: 1.7rem;
  font-size: clamp(1rem, 1.45vw, 1.16rem);
  line-height: 1.65;
  color: rgba(210, 222, 234, 0.82);
}
.hero__badges {
  gap: 0;
  align-items: center;
  color: rgba(210, 222, 234, 0.7);
}
.hero__badges li {
  min-height: auto;
  padding: 0 1rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.hero__badges li:first-child { padding-left: 0; }
.hero__badges li + li { border-left: 1px solid rgba(166, 216, 255, 0.2); }

.hero-form {
  padding: clamp(1.35rem, 2.6vw, 2rem);
  border-radius: 18px;
  border-color: rgba(166, 216, 255, 0.11);
  background: rgba(9, 24, 40, 0.46);
  backdrop-filter: blur(18px) saturate(120%);
}

/* Compact section rhythm and consistent hero card geometry. */
section.hero {
  min-height: 0;
  padding-top: calc(var(--header-height) + clamp(2rem, 4vw, 3.5rem));
  padding-bottom: clamp(2.5rem, 4vw, 3.5rem);
}
.hero__content { row-gap: clamp(2rem, 4vw, 3rem); }
.hero-form { border-radius: 18px; }
.services .section-head { margin-bottom: 1.5rem; }
.hero-form > p:not(.hero-form__eyebrow) { color: rgba(210, 222, 234, 0.76); }
.hero-form__fields { margin-top: 1.25rem; }
.hero-form__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hero-form__phone { grid-column: 1 / -1; }
.hero-form .form-field input,
.hero-form .form-field select {
  box-sizing: border-box;
  height: 50px;
  min-height: 50px;
  padding-block: 0;
  background: rgba(4, 13, 23, 0.42);
  font-size: 0.9rem;
}
.hero-form__submit { min-height: 50px; font-size: 0.9rem; }

@media (max-width: 599.98px) {
  .hero h1 { max-width: 9.5ch; font-size: clamp(2.75rem, 14vw, 4.1rem); }
  .hero__subhead { font-size: 0.96rem; }
  .hero__badges { display: flex; width: 100%; justify-content: center; }
  .hero__badges li { padding-inline: 0.65rem; font-size: 0.58rem; }
  .hero__badges li:first-child { padding-left: 0; }
  .hero-form__row { grid-template-columns: 1fr; }
  .hero-form__phone { grid-column: auto; }
}

/* Touch hero: one composed introduction, supported by the actual service promises. */
.hero__mobile-actions { display: none; }
.hero__badges svg { display: none; }
@media (max-width: 1199.98px) {
  section.hero {
    min-height: 0;
    padding-top: calc(var(--header-height) + clamp(2.25rem, 6vw, 4.5rem));
    padding-bottom: 2.25rem;
    background: radial-gradient(ellipse at 100% 10%, rgba(31,142,219,.13), transparent 58%), var(--color-bg-dark);
  }
  .hero__bg { inset: 0 -65% 0 0; opacity: .2; pointer-events: none; }
  .hero__glow { opacity: .18; }
  .hero__content { grid-template-columns: 1fr; gap: 2.25rem; }
  .hero__copy { max-width: 660px; text-align: left; margin: 0; }
  .hero h1 {
    max-width: 10.5ch;
    margin: 0;
    font-size: clamp(3.1rem, 9vw, 5.7rem);
    line-height: 1.04;
    letter-spacing: -.055em;
  }
  .hero .text-gradient { background: none; -webkit-text-fill-color: currentColor; color: var(--color-blue-pale); }
  .hero__subhead { max-width: 43ch; margin: 1.5rem 0 1.75rem; font-size: 1rem; line-height: 1.65; }
  .hero__badges { display: grid; gap: .25rem; width: 100%; margin: 0 0 1.75rem; justify-content: start; }
  .hero__badges li,
  .hero__badges li + li {
    display: flex; align-items: center; gap: .85rem; min-height: 36px;
    padding: 0; border: 0; color: rgba(235,243,250,.92);
    font-size: .9rem; font-weight: 400; letter-spacing: 0; text-transform: none;
  }
  .hero__badges svg { display: block; width: 20px; height: 20px; flex: 0 0 20px; color: var(--color-blue-pale); }
  .hero__mobile-actions { display: grid; gap: .5rem; max-width: 380px; }
  .hero__mobile-actions .btn { display: flex; justify-content: space-between; width: 100%; min-height: 56px; padding: 0 1.25rem; border-radius: 6px; box-shadow: none; font-size: .95rem; }
  .hero__mobile-actions svg { width: 22px; height: 22px; flex: 0 0 22px; }
  .hero__explore { display: flex; justify-content: space-between; align-items: center; min-height: 48px; padding: 0 1.25rem; font-size: .85rem; color: rgba(210,222,234,.8); }
  .hero__explore:hover { color: #fff; }
  .hero__explore svg { width: 17px; height: 17px; }
  .hero-form { display: none; }
  .hero__stats { grid-column: 1; display: grid; grid-template-columns: 1.25fr .8fr 1fr; gap: 1rem; width: 100%; padding-top: 1.5rem; margin: 0; text-align: left; border-top: 1px solid rgba(166,216,255,.14); }
  .hero__stat { padding: 0 !important; border: 0 !important; }
  .hero__stat strong { font-size: clamp(1.05rem, 3vw, 1.65rem); white-space: nowrap; }
  .hero__stat span { font-size: .7rem; line-height: 1.5; }
  .hero__divider { display: none; }
}
@media (max-width: 479.98px) {
  .hero h1 { font-size: clamp(3rem, 13vw, 3.8rem); }
  .hero__content { gap: 1.75rem; }
  .hero__stats { gap: .5rem; }
  .hero__mobile-actions { max-width: none; }
}

/* Tablet: center the complete introduction, rather than just its text. */
@media (min-width: 600px) and (max-width: 1199.98px) {
  .hero__copy { width: 100%; max-width: 660px; margin-inline: auto; text-align: center; }
  .hero h1 { margin-inline: auto; }
  .hero__subhead { margin-inline: auto; }
  .hero__badges { width: fit-content; margin-inline: auto; text-align: left; }
  .hero__mobile-actions { width: min(100%, 360px); margin-inline: auto; }
  .hero__stats { max-width: 640px; margin-inline: auto; text-align: center; }
}

/* Keep the three service promises aligned at every screen width. */
.hero__badges { display: grid; width: fit-content; gap: .35rem; }
.hero__badges li,
.hero__badges li + li {
  display: flex; align-items: center; gap: .75rem; min-height: 32px;
  padding: 0; border: 0; color: rgba(235,243,250,.92);
  font-size: .9rem; font-weight: 400; letter-spacing: 0; text-transform: none;
}
.hero__badges svg { display: block; width: 20px; height: 20px; flex: 0 0 20px; color: var(--color-blue-pale); }
.hero-form .form-field textarea { min-height: 76px; height: auto; font-size: .9rem; }

/* Strong service promises, aligned as a single group at all sizes. */
.hero__badges { gap: .6rem; }
.hero__badges li,
.hero__badges li + li {
  gap: .85rem; min-height: 44px; font-size: clamp(.95rem, 1.15vw, 1.05rem);
  font-weight: 600; color: #f3f8fc; line-height: 1.45;
}
.hero__promise-icon {
  display: grid; place-items: center; width: 34px; height: 34px; flex: 0 0 34px;
  border-radius: 10px; border: 1px solid rgba(120,199,255,.3);
  background: rgba(37,129,198,.18); box-shadow: inset 0 1px 0 rgba(255,255,255,.07);
}
.hero__badges .hero__promise-icon svg { width: 19px; height: 19px; color: #9ad8ff; }
/* Ribbons fade out above the full-width statistics row. */
.hero__bg {
  inset: 0 0 190px; opacity: 1; overflow: hidden; pointer-events: none;
  -webkit-mask-image: linear-gradient(transparent, #000 18%, #000 60%, transparent);
  mask-image: linear-gradient(transparent, #000 18%, #000 60%, transparent);
}
.hero__light-band {
  position: absolute; top: 28%; left: -25%; width: 150%; height: 82px; opacity: 0;
  background: linear-gradient(90deg, transparent 8%, rgba(28,122,191,.12) 30%, rgba(91,187,249,.3) 52%, rgba(28,122,191,.1) 74%, transparent 94%);
  border-radius: 50%; filter: blur(18px); transform: rotate(-12deg);
}
.hero__light-band--b { top: 52%; height: 56px; }
.hero__light-band--c { top: 8%; height: 112px; }
@media (max-width: 599.98px) {
  .hero__badges li, .hero__badges li + li { font-size: .93rem; gap: .7rem; }
  .hero__bg { bottom: 170px; }
}
