/* ==========================================================
   HM Recruiters — brand tokens
   ========================================================== */
:root {
  --navy-950: #081629;
  --navy-900: #0c1f38;
  --navy-800: #122b4d;
  --navy-700: #16365f;
  --teal-600: #237583;
  --teal-700: #1c6370;
  --teal-500: #2f8f9d;
  --teal-300: #7cc4cc;
  --teal-100: #dff0f1;
  --paper:    #f5f2ec;
  --paper-2:  #ece7de;
  --ink:      #0c1f38;
  --muted:    #55627a;
  --line:     rgba(12, 31, 56, .12);

  --f-display: "Bricolage Grotesque", system-ui, sans-serif;
  --f-serif:   "Instrument Serif", Georgia, serif;
  --f-body:    "Inter", system-ui, sans-serif;

  --radius: 22px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--f-display); line-height: 1.05; margin: 0; letter-spacing: -.02em; }
h2 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 700; }
h3 { font-size: 1.3rem; font-weight: 700; }
em { font-family: var(--f-serif); font-style: italic; font-weight: 400; color: var(--teal-500); letter-spacing: 0; }
p { margin: 0; }

.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
@media (min-width: 720px) { .wrap { width: min(1200px, 100% - 64px); } }

.muted { color: var(--muted); margin-top: 1.25rem; }
.muted a { color: var(--teal-600); font-weight: 600; }

/* ---------- eyebrow ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--teal-600); margin-bottom: 1.1rem;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal-500); box-shadow: 0 0 0 4px rgba(47,143,157,.18); }
.eyebrow--light, .section-head--light .eyebrow { color: var(--teal-300); }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--navy-700); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .95rem 1.5rem; border-radius: 999px; border: 1.5px solid transparent;
  background: var(--bg); color: var(--fg);
  font: 600 .98rem/1 var(--f-body); text-decoration: none; cursor: pointer;
  transition: transform .25s var(--ease), background .25s, box-shadow .25s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -10px rgba(12,31,56,.5); }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px) rotate(-30deg); }
.btn--teal { --bg: var(--teal-600); }
.btn--teal:hover { --bg: var(--teal-700); }
.btn--dark { --bg: var(--navy-900); }
.btn--ghost { --bg: transparent; --fg: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); box-shadow: none; }
.btn--small { padding: .65rem 1.1rem; font-size: .9rem; }
.btn--block { width: 100%; }
.btn:disabled { opacity: .6; cursor: wait; transform: none; box-shadow: none; }

/* ==========================================================
   NAV
   ========================================================== */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background .3s, box-shadow .3s, backdrop-filter .3s;
}
.nav.is-scrolled {
  background: rgba(245, 242, 236, .82);
  backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: 0 1px 0 var(--line);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; }
.brand__text { font-family: var(--f-display); font-size: 1.25rem; font-weight: 500; letter-spacing: -.01em; }
.brand__text b { font-weight: 800; color: var(--navy-700); }
.brand--light .brand__text, .brand--light .brand__text b { color: #fff; }
.brand--light img { background: #fff; border-radius: 10px; padding: 3px; }

.nav__links { display: flex; align-items: center; gap: 2rem; }
.nav__links a:not(.btn) {
  text-decoration: none; font-weight: 500; font-size: .95rem; position: relative;
}
.nav__links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px;
  background: var(--teal-500); transform: scaleX(0); transform-origin: right; transition: transform .3s var(--ease);
}
.nav__links a:not(.btn):hover::after { transform: scaleX(1); transform-origin: left; }

.nav__toggle { display: none; width: 44px; height: 44px; border: 0; background: var(--navy-900); border-radius: 50%; cursor: pointer; position: relative; }
.nav__toggle span { position: absolute; left: 13px; right: 13px; height: 2px; background: #fff; transition: transform .3s var(--ease), top .3s; }
.nav__toggle span:first-child { top: 18px; }
.nav__toggle span:last-child  { top: 24px; }
.nav__toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child  { top: 21px; transform: rotate(-45deg); }

@media (max-width: 880px) {
  .nav__toggle { display: block; }
  .nav__links {
    position: fixed; inset: 76px 12px auto; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--navy-900); border-radius: var(--radius); padding: .75rem;
    opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(-10px); transition: opacity .25s, transform .25s var(--ease), visibility .25s;
  }
  .nav__links.is-open { opacity: 1; visibility: visible; pointer-events: auto; transform: none; }
  .nav__links a:not(.btn) { color: #fff; padding: .9rem 1rem; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav__links a:not(.btn)::after { display: none; }
  .nav__links .btn { margin-top: .75rem; background: var(--teal-600); }
}

/* ==========================================================
   HERO
   ========================================================== */
.hero { position: relative; padding-top: 140px; overflow: hidden; }
.hero__grid-bg {
  position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 70% 30%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 30%, #000 20%, transparent 75%);
  opacity: .6;
}
.hero__inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 4rem; align-items: center; padding-bottom: 5rem; }
.hero__title {
  font-size: clamp(2.8rem, 7.2vw, 6rem); font-weight: 800; letter-spacing: -.045em; line-height: .95;
}
.hero__title em { font-size: 1.08em; }
.up { position: relative; display: inline-block; color: var(--navy-700); padding-right: .1em; }
.up svg {
  position: absolute; right: -.95em; top: -.05em; width: .9em; height: .9em; overflow: visible;
}
.draw { fill: none; stroke: var(--teal-500); stroke-width: 12; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 200; stroke-dashoffset: 200; animation: draw 1.2s .6s var(--ease) forwards; }
.draw--head { animation-delay: 1.4s; stroke-dasharray: 70; stroke-dashoffset: 70; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.hero__lede { max-width: 34rem; margin-top: 1.75rem; font-size: 1.13rem; color: var(--muted); }
.hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.2rem; }

/* pipeline card */
.pipeline {
  position: relative; background: #fff; border-radius: 28px; padding: 1.6rem;
  box-shadow: 0 40px 80px -30px rgba(12,31,56,.35), 0 0 0 1px var(--line);
  transform: rotate(1.5deg);
}
.pipeline__head { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; }
.pill { font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; background: var(--teal-100); color: var(--teal-600); padding: .35rem .7rem; border-radius: 999px; }
.pipeline__role { font-family: var(--f-display); font-weight: 700; font-size: 1.1rem; }
.pipeline__stages { list-style: none; padding: 0; margin: 1.4rem 0 .9rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; }
.pipeline__stages li { display: flex; flex-direction: column; gap: .2rem; }
.pipeline__stages span { font-size: .72rem; color: var(--muted); }
.pipeline__stages b { font-family: var(--f-display); font-size: 1.9rem; font-weight: 700; line-height: 1; }
.pipeline__stages .is-final b { color: var(--teal-500); }
.funnel { display: grid; gap: 6px; margin-bottom: 1.3rem; }
.funnel i { display: block; height: 10px; border-radius: 99px; background: linear-gradient(90deg, var(--navy-700), var(--teal-500)); width: var(--w); transition: width 1.4s var(--ease); }
.js .pipeline:not(.is-in) .funnel i { width: 0; }
.funnel i:nth-child(2) { transition-delay: .15s; opacity: .8; }
.funnel i:nth-child(3) { transition-delay: .3s;  opacity: .65; }
.funnel i:nth-child(4) { transition-delay: .45s; opacity: .5; }

.candidate { display: flex; align-items: center; gap: .9rem; background: var(--paper); border-radius: 16px; padding: .9rem 1rem; }
.candidate strong { display: block; font-size: .95rem; }
.candidate small { color: var(--muted); font-size: .76rem; }
.avatar { flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--navy-700); color: #fff; font-weight: 600; font-size: .85rem; }
.match { margin-left: auto; font-family: var(--f-display); font-size: 1.35rem; font-weight: 800; color: var(--teal-500); text-align: right; line-height: 1; }
.match small { display: block; font-family: var(--f-body); font-size: .65rem; font-weight: 500; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.pipeline__float {
  position: absolute; left: -2rem; bottom: -1.3rem; background: var(--navy-900); color: #fff;
  padding: .8rem 1.1rem; border-radius: 14px; font-weight: 600; font-size: .9rem;
  display: flex; align-items: center; gap: .6rem; transform: rotate(-4deg);
  box-shadow: 0 20px 40px -15px rgba(12,31,56,.6);
  animation: bob 4s ease-in-out infinite;
}
.spark { width: 10px; height: 10px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 0 rgba(74,222,128,.6); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(74,222,128,0); } 100% { box-shadow: 0 0 0 0 rgba(74,222,128,0); } }
@keyframes bob { 50% { transform: rotate(-4deg) translateY(-6px); } }

/* ticker */
.ticker { background: var(--navy-900); color: #fff; overflow: hidden; padding: 1.1rem 0; transform: rotate(-1.2deg); margin: 0 -2rem; }
.ticker__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.ticker__track span { font-family: var(--f-display); font-size: 1.15rem; font-weight: 500; padding: 0 1.6rem; white-space: nowrap; }
.ticker__track span::after { content: "↗"; color: var(--teal-300); margin-left: 1.6rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

@media (max-width: 960px) {
  .hero { padding-top: 120px; }
  .hero__inner { grid-template-columns: 1fr; gap: 3.5rem; }
  .pipeline { max-width: 460px; transform: none; margin-left: 1rem; }
  .up svg { right: -.85em; }
}
@media (max-width: 520px) {
  .pipeline { margin-left: 0; padding: 1.2rem; }
  .pipeline__float { left: .5rem; }
  .pipeline__stages b { font-size: 1.5rem; }
}

/* ==========================================================
   PROMISE
   ========================================================== */
.promise { padding: 5rem 0 2rem; }
.promise__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.promise__item { display: flex; gap: 1rem; padding-top: 1.25rem; border-top: 1.5px solid var(--ink); }
.promise__item b { font-family: var(--f-display); color: var(--teal-500); font-size: .95rem; }
.promise__item p { color: var(--muted); }
.promise__item strong { color: var(--ink); display: block; font-family: var(--f-display); font-size: 1.2rem; margin-bottom: .3rem; }
@media (max-width: 760px) { .promise__grid { grid-template-columns: 1fr; } }

/* ==========================================================
   SECTIONS
   ========================================================== */
section:not(.hero):not(.promise) { padding: 7rem 0; }
.section-head { margin-bottom: 3.5rem; }

/* services */
.svc-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.svc {
  position: relative; background: #fff; border-radius: var(--radius); padding: 2rem 1.8rem 1.8rem;
  border: 1px solid var(--line); overflow: hidden; isolation: isolate;
  transition: transform .35s var(--ease), color .35s;
}
.svc::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--navy-900);
  clip-path: circle(0% at 100% 0%); transition: clip-path .6s var(--ease);
}
.svc:hover { transform: translateY(-6px); color: #fff; }
.svc:hover::before { clip-path: circle(150% at 100% 0%); }
.svc__no { font-family: var(--f-serif); font-style: italic; font-size: 2.6rem; color: var(--teal-500); line-height: 1; display: block; margin-bottom: 1.4rem; }
.svc h3 { font-size: 1.45rem; margin-bottom: .7rem; }
.svc p { color: var(--muted); transition: color .35s; }
.svc:hover p { color: rgba(255,255,255,.72); }
.svc ul { list-style: none; padding: 0; margin: 1.4rem 0 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.svc li { font-size: .78rem; font-weight: 500; padding: .35rem .7rem; border-radius: 99px; border: 1px solid var(--line); transition: border-color .35s; }
.svc:hover li { border-color: rgba(255,255,255,.2); }
.svc--cta { background: var(--teal-600); color: #fff; border: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: .8rem; }
.svc--cta p { color: #fff; margin-bottom: .8rem; }
.svc--cta .btn { --bg: var(--navy-900); align-self: flex-start; }
.svc--cta h3 { font-size: 1.7rem; }
.svc--cta { grid-column: span 2; }
@media (max-width: 960px) { .svc-list { grid-template-columns: repeat(2, 1fr); } .svc--cta { grid-column: auto; } }
@media (max-width: 620px) { .svc-list { grid-template-columns: 1fr; } }

/* process */
.process { background: var(--navy-900); color: #fff; border-radius: 40px; margin: 0 12px; position: relative; overflow: hidden; }
.process em { color: var(--teal-300); }
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; padding-top: 3rem; }
.steps__line { position: absolute; top: calc(3rem + 22px); left: 23px; right: 0; height: 2px; background: linear-gradient(90deg, var(--teal-500), var(--teal-300)); transform-origin: left; transition: transform 1.8s var(--ease); }
.steps__line::after { content: "→"; position: absolute; right: -4px; top: 50%; translate: 0 -54%; color: var(--teal-300); font-size: 1.2rem; }
.js .steps:not(.is-in) .steps__line { transform: scaleX(0); }
.step { position: relative; padding-top: 4.5rem; }
.step__no {
  position: absolute; top: 0; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; font-family: var(--f-display); font-weight: 700;
  background: var(--navy-800); border: 1.5px solid var(--teal-500); color: var(--teal-300);
}
.step:last-child .step__no { background: var(--teal-600); color: #fff; }
.step h3 { font-size: 1.5rem; margin-bottom: .6rem; }
.step p { color: rgba(255,255,255,.65); }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr 1fr; row-gap: 3rem; }
  .steps__line { display: none; }
}
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } .process { margin: 0 6px; border-radius: 28px; } }

/* industries */
.ind-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.ind { padding: 2rem 1.6rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .3s; }
.ind:hover { background: #fff; }
.ind__icon {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px;
  background: var(--teal-100); color: var(--teal-600); margin-bottom: 1.4rem;
  transition: transform .4s var(--ease), background .3s, color .3s;
}
.ind__icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ind:hover .ind__icon { transform: rotate(-8deg) scale(1.08); background: var(--navy-700); color: #fff; }
.ind h3 { font-size: 1.15rem; margin-bottom: .35rem; }
.ind p { color: var(--muted); font-size: .92rem; }
@media (max-width: 960px) { .ind-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .ind { padding: 1.5rem 1.1rem; } .ind h3 { font-size: 1rem; } }

/* audience switch */
.audience { background: var(--paper-2); }
.switch { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; background: #fff; padding: 6px; border-radius: 999px; margin-bottom: 3.5rem; box-shadow: 0 0 0 1px var(--line); }
.switch button { position: relative; z-index: 1; border: 0; background: none; padding: .85rem 1.6rem; font: 600 .95rem var(--f-body); color: var(--muted); cursor: pointer; border-radius: 999px; transition: color .3s; }
.switch button.is-active { color: #fff; }
.switch__thumb { position: absolute; top: 6px; bottom: 6px; left: 6px; width: calc(50% - 6px); background: var(--navy-900); border-radius: 999px; transition: transform .45s var(--ease); }
.switch.is-cand .switch__thumb { transform: translateX(100%); background: var(--teal-600); }

.panel { display: grid; grid-template-columns: 1.1fr .9fr; gap: 4rem; align-items: center; }
.panel[hidden] { display: none; }
.panel.is-active { animation: fadeUp .5s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } }
.panel h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); margin-bottom: 1.2rem; }
.panel__copy > p { color: var(--muted); font-size: 1.08rem; }
.panel__copy > p a { color: var(--teal-600); font-weight: 600; }
.checks { list-style: none; padding: 0; margin: 1.8rem 0 2.2rem; display: grid; gap: .8rem; }
.checks li { position: relative; padding-left: 2rem; font-weight: 500; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: .05rem; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--teal-600); color: #fff; font-size: .72rem; }
.panel__card { border-radius: 28px; padding: 2.2rem; color: #fff; }
.panel__card--navy { background: var(--navy-900); }
.panel__card--teal { background: var(--teal-600); }
.panel__card--teal .fine { opacity: .9; }
.kicker { font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; font-weight: 600; opacity: .7; margin-bottom: 1.6rem; }
.timeline { display: grid; gap: 0; }
.timeline div { display: flex; justify-content: space-between; align-items: baseline; padding: 1rem 0; border-bottom: 1px dashed rgba(255,255,255,.18); }
.timeline b { font-family: var(--f-display); font-size: 1.5rem; }
.timeline span { color: var(--teal-300); }
.need { margin: 0; padding: 0; list-style: none; counter-reset: n; display: grid; gap: .9rem; }
.need li { counter-increment: n; display: flex; gap: 1rem; align-items: center; font-family: var(--f-display); font-size: 1.25rem; font-weight: 500; }
.need li::before { content: counter(n, decimal-leading-zero); font-size: .85rem; opacity: .7; }
.fine { font-size: .82rem; opacity: .65; margin-top: 1.6rem; }
@media (max-width: 860px) { .panel { grid-template-columns: 1fr; gap: 2.5rem; } }
@media (max-width: 420px) { .switch button { padding: .8rem 1rem; font-size: .88rem; } }

/* faq */
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 4rem; }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list details:first-child { border-top: 1px solid var(--line); }
.faq__list summary {
  list-style: none; cursor: pointer; padding: 1.5rem 3rem 1.5rem 0; position: relative;
  font-family: var(--f-display); font-size: 1.25rem; font-weight: 600;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; translate: 0 -50%;
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line); font-family: var(--f-body); font-weight: 400; font-size: 1.3rem;
  transition: rotate .3s var(--ease), background .3s, color .3s;
}
.faq__list details[open] summary::after { rotate: 45deg; background: var(--navy-900); color: #fff; border-color: var(--navy-900); }
.faq__list details p { color: var(--muted); padding: 0 3rem 1.6rem 0; }
@media (max-width: 860px) { .faq__grid { grid-template-columns: 1fr; gap: 1rem; } .faq__list summary { font-size: 1.1rem; } }

/* contact */
.contact { background: var(--navy-900); color: #fff; position: relative; overflow: hidden; }
.contact::before {
  content: ""; position: absolute; width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(circle, rgba(47,143,157,.35), transparent 65%); top: -300px; right: -200px;
}
.contact em { color: var(--teal-300); }
.contact__grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.contact__copy > p { color: rgba(255,255,255,.7); font-size: 1.08rem; margin-top: 1.4rem; max-width: 28rem; }
.contact__info { list-style: none; padding: 0; margin: 2.5rem 0 0; display: grid; gap: 1rem; }
.contact__info li { display: grid; grid-template-columns: 80px 1fr; gap: 1rem; padding-bottom: 1rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.contact__info span { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--teal-300); padding-top: .2rem; }
.contact__info a { text-decoration: none; font-weight: 500; overflow-wrap: anywhere; }
.contact__info a:hover { color: var(--teal-300); }

.form { background: #fff; color: var(--ink); border-radius: 28px; padding: 2rem; display: grid; gap: 1rem; }
.form__seg { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; background: var(--paper); padding: 5px; border-radius: 14px; }
.form__seg input { position: absolute; opacity: 0; pointer-events: none; }
.form__seg span { display: block; text-align: center; padding: .7rem .5rem; border-radius: 10px; font-weight: 600; font-size: .9rem; cursor: pointer; color: var(--muted); transition: background .25s, color .25s; }
.form__seg input:checked + span { background: var(--navy-900); color: #fff; }
.form__seg input:focus-visible + span { outline: 2px solid var(--teal-500); outline-offset: 2px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: grid; gap: .4rem; align-content: start; }
.field > label { font-size: .82rem; font-weight: 600; }
.req { color: #c23838; }
.form__req { font-size: .78rem; color: var(--muted); margin: -.25rem 0 -.25rem; }
.form__req span { color: #c23838; }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; color: var(--ink); background: var(--paper);
  border: 1.5px solid transparent; border-radius: 12px; padding: .85rem 1rem; resize: vertical;
  transition: border-color .2s, background .2s;
}
.field select {
  appearance: none; cursor: pointer; padding-right: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2355627a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .9rem center; background-size: 18px;
}
.field select:has(option[value=""]:checked) { color: #8a93a6; }
.field select option { color: var(--ink); }
.field input::placeholder, .field textarea::placeholder { color: #8a93a6; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--teal-500); background-color: #fff; }
.field.is-error input, .field.is-error textarea, .field.is-error select { border-color: #c23838; background-color: #fff6f6; }
.field__err { font-size: .78rem; color: #b42323; min-height: 0; }
.field__err:empty { display: none; }
.field__hint { font-size: .78rem; color: var(--muted); line-height: 1.5; }
.field__hint a { color: var(--teal-600); font-weight: 600; }
.field__foot { display: flex; justify-content: space-between; gap: 1rem; }
.field__count { font-size: .75rem; color: var(--muted); margin-left: auto; white-space: nowrap; }
.form__group { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; gap: 1rem; }
.form__group[hidden] { display: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.form__note { font-size: .88rem; min-height: 1.3em; color: var(--teal-600); }
.form__note.is-error { color: #d14343; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form { position: relative; }
.form.is-done > :not(.form__done) { visibility: hidden; }
.form__done { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: .9rem; padding: 2rem; animation: fadeUp .5s var(--ease); }
.form__done[hidden] { display: none; }
.form__done p { color: var(--muted); max-width: 22rem; }
.form__done a { color: var(--teal-600); font-weight: 600; }
.form__tick { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--teal-600); color: #fff; font-size: 1.8rem; }
.form__done h3 { font-size: 1.6rem; }
@media (max-width: 860px) { .contact__grid { grid-template-columns: 1fr; gap: 3rem; } }
@media (max-width: 520px) { .form { padding: 1.3rem; } .form__row { grid-template-columns: 1fr; } }

/* footer */
.footer { background: var(--navy-950); color: rgba(255,255,255,.7); padding-top: 5rem; overflow: hidden; }
.footer__inner { display: flex; justify-content: space-between; gap: 3rem; flex-wrap: wrap; }
.footer__brand p { margin-top: 1.2rem; line-height: 1.7; }
.footer__contact a { text-decoration: none; color: #fff; }
.footer__contact a:hover { color: var(--teal-300); }
.footer__cols { display: flex; gap: 5rem; }
.footer__cols div { display: grid; gap: .6rem; align-content: start; }
.footer__cols h4 { font-family: var(--f-body); font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; color: var(--teal-300); margin-bottom: .4rem; }
.footer__cols a { text-decoration: none; }
.footer__cols a:hover, .totop:hover { color: #fff; }
.footer__base { position: relative; z-index: 1; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: 3rem 0 1.5rem; font-size: .88rem; }
.totop { text-decoration: none; }
.footer__word {
  font-family: var(--f-display); font-weight: 800; font-size: 15.5vw; line-height: .78; letter-spacing: -.05em;
  text-align: center; white-space: nowrap; color: transparent;
  -webkit-text-stroke: 1px rgba(124,196,204,.22); user-select: none; pointer-events: none; margin-bottom: -1.5vw;
}
@media (max-width: 520px) { .footer__cols { gap: 3rem; } }

/* ==========================================================
   REVEAL
   ========================================================== */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.js .pipeline.reveal { transform: translateY(24px) rotate(1.5deg); }
.pipeline.reveal.is-in { transform: rotate(1.5deg); }
@media (max-width: 960px) { .pipeline.reveal.is-in { transform: none; } }

:focus-visible { outline: 2px solid var(--teal-500); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .draw { stroke-dashoffset: 0; }
  .funnel i { width: var(--w); }
  .steps__line { transform: none; }
}

/* WhatsApp button */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; background: #25d366; color: #fff;
  box-shadow: 0 12px 28px -8px rgba(12,31,56,.45); transition: transform .25s var(--ease);
}
.wa-float:hover { transform: scale(1.08); }
.wa-float.is-hidden { opacity: 0; transform: scale(.6); pointer-events: none; visibility: hidden; }
.wa-float { transition: transform .25s var(--ease), opacity .25s, visibility .25s; }
.wa-float svg { width: 30px; height: 30px; }
