/* ==========================================================================
   Agency Pilot — styles
   ========================================================================== */

:root {
  --bg: #FAF8F4;
  --surface: #FFFFFF;
  --tint: #F3EFE8;
  --ink: #14171A;
  --ink-2: #2B3036;
  --muted: #5E646B;
  --line: #E6E1D8;
  --line-strong: #D3CCC0;

  --green: #138A55;          /* logo green */
  --green-600: #0F7748;      /* buttons, text on light */
  --green-700: #0B5E39;
  --green-soft: #E4F3EA;
  --green-bright: #22B573;   /* on dark backgrounds */

  --orange: #F5841F;         /* logo orange */
  --orange-ink: #A9530A;     /* orange text on light */
  --orange-soft: #FDEEDF;
  --orange-bright: #F7A25A;  /* on dark backgrounds */

  --dark: #121518;
  --dark-2: #1A1E22;
  --dark-line: #2A3036;
  --dark-text: #E9ECEF;
  --dark-muted: #A3ACB5;

  --radius: 18px;
  --shadow: 0 1px 2px rgba(20, 23, 26, .04), 0 8px 24px rgba(20, 23, 26, .06);
  --shadow-lg: 0 2px 4px rgba(20, 23, 26, .04), 0 24px 60px rgba(20, 23, 26, .12);
  --gutter: clamp(16px, 4vw, 40px);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Manrope", var(--font);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 800; line-height: 1.1; letter-spacing: -.025em; }
p { margin: 0; }
button { font: inherit; }
::selection { background: rgba(245, 132, 31, .25); }

:focus-visible { outline: 3px solid rgba(245, 132, 31, .65); outline-offset: 2px; border-radius: 6px; }

.container { width: min(1160px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.ic { width: 1.15em; height: 1.15em; flex: none; }

.skip-link {
  position: absolute; left: 16px; top: -48px; z-index: 100;
  padding: 10px 16px; border-radius: 10px;
  background: var(--ink); color: #fff; font-weight: 600; text-decoration: none;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: 14px 20px;
  border: 1px solid transparent; border-radius: 12px;
  font-size: 15px; font-weight: 700; line-height: 1; text-decoration: none;
  cursor: pointer; white-space: nowrap;
  transition: background .15s, border-color .15s, color .15s, transform .15s, box-shadow .15s;
}
.btn .ic { transition: transform .15s; }
.btn:hover .ic { transform: translateX(2px); }
.btn-primary {
  background: var(--green-600); color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 6px 18px rgba(15, 119, 72, .24);
}
.btn-primary:hover { background: var(--green-700); transform: translateY(-1px); }
.btn-ghost { background: var(--surface); border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--line-strong); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-sm { padding: 10px 16px; font-size: 14px; border-radius: 10px; }
.btn-lg { padding: 16px 24px; font-size: 16px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .7; cursor: progress; transform: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 248, 244, .82);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(20, 23, 26, .04); }
.nav { display: flex; align-items: center; height: 72px; }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 32px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.nav-links a:not(.btn) {
  position: relative; font-size: 15px; font-weight: 500; color: var(--muted); text-decoration: none;
  transition: color .15s;
}
.nav-links a:not(.btn):hover, .nav-links a.active { color: var(--ink); }
.nav-links a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; border-radius: 2px; background: var(--orange);
}
.nav-cta { margin-left: 28px; }
.nav-cta-mobile, .nav-toggle { display: none; }
.nav-toggle {
  margin-left: auto; width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink);
  place-items: center; cursor: pointer;
}
.nav-toggle .ic { width: 20px; height: 20px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(48px, 8vw, 96px) 0 clamp(24px, 4vw, 48px);
}
.hero::before, .hero::after {
  content: ""; position: absolute; z-index: -1; border-radius: 50%; pointer-events: none;
}
.hero::before {
  width: 760px; height: 760px; right: -200px; top: -260px;
  background: radial-gradient(closest-side, rgba(245, 132, 31, .16), transparent 70%);
}
.hero::after {
  width: 900px; height: 900px; right: -120px; bottom: -520px;
  background: radial-gradient(closest-side, rgba(19, 138, 85, .14), transparent 70%);
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; align-items: center;
  gap: clamp(40px, 6vw, 88px);
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 12px; margin-bottom: 26px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--surface);
  font-size: 13px; font-weight: 600; color: var(--ink-2);
}
.pulse {
  width: 8px; height: 8px; border-radius: 50%; background: var(--green);
  box-shadow: 0 0 0 0 rgba(19, 138, 85, .45); animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(19, 138, 85, .45); }
  70% { box-shadow: 0 0 0 9px rgba(19, 138, 85, 0); }
  100% { box-shadow: 0 0 0 0 rgba(19, 138, 85, 0); }
}
.hero h1 { font-size: clamp(2.7rem, 6.2vw, 4.6rem); line-height: 1.02; letter-spacing: -.035em; }
.hl {
  color: var(--green-600);
  background: linear-gradient(transparent 70%, rgba(245, 132, 31, .3) 70% 90%, transparent 90%);
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.lead { margin-top: 26px; max-width: 34em; font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--muted); }
.lead strong { color: var(--ink); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.ticks {
  display: flex; flex-wrap: wrap; gap: 10px 24px;
  list-style: none; padding: 0; margin: 30px 0 0;
  font-size: 14px; font-weight: 600; color: var(--ink-2);
}
.ticks li { display: flex; align-items: center; gap: 8px; }
.ticks .ic { width: 20px; height: 20px; padding: 4px; border-radius: 50%; background: var(--green-soft); color: var(--green-600); }

/* Hero visual */
.hero-visual { position: relative; padding: 46px 0; }
.hero-visual::before {
  content: ""; position: absolute; inset: -40px -60px; z-index: -1;
  background-image: radial-gradient(rgba(20, 23, 26, .11) 1px, transparent 1.2px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(closest-side, #000 40%, transparent);
  mask-image: radial-gradient(closest-side, #000 40%, transparent);
}
.flow-card {
  position: relative; z-index: 1;
  padding: 26px; border: 1px solid var(--line); border-radius: 26px;
  background: var(--surface); box-shadow: var(--shadow-lg);
}
.flow-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 24px; font-size: 14px; font-weight: 700; color: var(--ink-2);
}
.chip { padding: 4px 10px; border-radius: 999px; background: var(--tint); font-size: 12px; font-weight: 600; color: var(--muted); }
.flow { display: flex; align-items: flex-start; }
.node { display: flex; flex-direction: column; align-items: center; width: 108px; flex: none; text-align: center; }
.node-ic {
  display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 10px;
  border-radius: 16px;
}
.node-ic .ic { width: 24px; height: 24px; }
.node-client { background: var(--tint); color: var(--ink-2); }
.node-you { background: var(--orange-soft); color: var(--orange-ink); box-shadow: inset 0 0 0 2px rgba(245, 132, 31, .5); }
.node-us { background: var(--green-soft); }
.node b { font-size: 14px; line-height: 1.3; }
.node small { margin-top: 3px; font-size: 12px; line-height: 1.35; color: var(--muted); }
.wire {
  position: relative; flex: 1; height: 2px; margin-top: 26px; min-width: 24px;
  background: repeating-linear-gradient(90deg, var(--line-strong) 0 6px, transparent 6px 11px);
}
.wire i, .wire::after {
  content: ""; position: absolute; top: 50%; left: 0;
  width: 8px; height: 8px; margin-top: -4px; border-radius: 50%;
}
.wire i { background: var(--orange); animation: travel 2.8s var(--ease) infinite; }
.wire::after { background: var(--green); animation: travel-back 2.8s var(--ease) infinite 1.4s; opacity: 0; }
@keyframes travel {
  0% { left: 0; opacity: 0; } 15%, 85% { opacity: 1; } 100% { left: calc(100% - 8px); opacity: 0; }
}
@keyframes travel-back {
  0% { left: calc(100% - 8px); opacity: 0; } 15%, 85% { opacity: 1; } 100% { left: 0; opacity: 0; }
}

.split-demo { margin-top: 26px; padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: var(--bg); }
.split-demo-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; font-size: 13px; font-weight: 600; color: var(--muted); }
.split-demo-top b { font-size: 17px; color: var(--ink); }
.bar { display: flex; gap: 4px; height: 42px; font-size: 13px; font-weight: 800; }
.bar span { display: flex; align-items: center; justify-content: center; border-radius: 10px; }
.bar-you { flex: 30; background: var(--orange); color: var(--ink); }
.bar-us { flex: 70; background: var(--green-600); color: #fff; }
.split-legend { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 12px; margin-top: 12px; font-size: 13px; color: var(--muted); }
.split-legend span { display: flex; align-items: center; gap: 8px; }
.split-legend b { color: var(--ink); }
.sw { width: 10px; height: 10px; border-radius: 3px; }
.sw-you { background: var(--orange); }
.sw-us { background: var(--green-600); }

.bubble {
  position: absolute; z-index: 2;
  display: flex; align-items: center; gap: 10px; max-width: 270px;
  padding: 10px 14px 10px 10px; border: 1px solid var(--line); border-radius: 14px;
  background: var(--surface); box-shadow: var(--shadow);
  font-size: 13px; font-weight: 600; line-height: 1.35;
  animation: float 7s ease-in-out infinite;
}
.bubble > span:last-child { white-space: nowrap; }
.bubble small { display: block; font-size: 11px; font-weight: 600; color: var(--muted); }
.bubble .ic { display: inline-block; vertical-align: -3px; width: 15px; height: 15px; color: var(--green-600); }
.bubble-av { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 10px; background: var(--tint); color: var(--ink-2); }
.bubble-av .ic { color: inherit; width: 17px; height: 17px; vertical-align: 0; }
.bubble-av-us { background: var(--green-soft); }
.bubble-client { top: 0; left: -28px; }
.bubble-us { bottom: 0; right: -22px; animation-delay: -3.5s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

/* ---------- Sections ---------- */
.section { padding: clamp(76px, 10vw, 128px) 0; }
.section-tint { background: var(--tint); }
.section-head { max-width: 640px; margin-bottom: 52px; }
.kicker {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px;
  font-size: 13px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--green-600);
}
.kicker::before { content: ""; width: 20px; height: 2px; border-radius: 2px; background: var(--orange); }
h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); letter-spacing: -.035em; }
.sub { margin-top: 16px; max-width: 36em; font-size: 1.075rem; color: var(--muted); }
.sub a { color: var(--green-600); font-weight: 600; text-underline-offset: 3px; }

/* ---------- Model ---------- */
.big-split { display: flex; gap: 6px; height: 104px; margin-bottom: 20px; }
.seg {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 8px;
  padding: 18px 24px; border-radius: 20px;
}
.seg b { font-family: var(--font-display); font-size: clamp(1.9rem, 3.6vw, 2.8rem); line-height: 1; letter-spacing: -.04em; }
.seg span { font-size: 14px; font-weight: 700; }
.seg-you { flex: 30; background: var(--orange); color: var(--ink); }
.seg-us { flex: 70; background: var(--green-600); color: #fff; }
.js .big-split .seg { clip-path: inset(0 100% 0 0 round 20px); transition: clip-path 1.1s var(--ease); }
.js .big-split .seg-us { transition-delay: .25s; }
.js .big-split.in .seg { clip-path: inset(0 0 0 0 round 20px); }

.roles { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.role-card {
  display: flex; flex-direction: column;
  padding: clamp(26px, 3vw, 36px); border: 1px solid var(--line); border-radius: 24px;
  background: var(--surface);
}
.role-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.role-tag { padding: 6px 12px; border-radius: 999px; background: var(--orange-soft); font-size: 13px; font-weight: 700; color: var(--orange-ink); }
.role-pct { font-family: var(--font-display); font-size: 2.3rem; font-weight: 800; line-height: 1; letter-spacing: -.04em; color: var(--orange-ink); }
.role-card h3 { margin-bottom: 20px; font-size: 1.55rem; }
.role-card .list { flex: 1; }
.role-foot {
  display: flex; align-items: center; gap: 10px;
  margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line);
  font-size: 14px; font-weight: 600; color: var(--muted);
}
.role-foot .ic { width: 18px; height: 18px; }
.role-you .list .ic { background: var(--orange-soft); color: var(--orange-ink); }
.role-us {
  border-color: transparent; color: #fff;
  background: radial-gradient(120% 90% at 100% 0%, #13895A 0%, transparent 60%), linear-gradient(160deg, #0F7748, #0A5233);
}
.role-us .role-tag { background: rgba(255, 255, 255, .14); color: #fff; }
.role-us .role-pct { color: #fff; }
.role-us .list li { color: rgba(255, 255, 255, .92); }
.role-us .list .ic { background: rgba(255, 255, 255, .15); color: #fff; }
.role-us .role-foot { border-color: rgba(255, 255, 255, .18); color: rgba(255, 255, 255, .82); }

.list { display: grid; gap: 13px; list-style: none; margin: 0; padding: 0; }
.list li { display: flex; align-items: flex-start; gap: 12px; color: var(--ink-2); }
.list .ic { width: 22px; height: 22px; margin-top: 1px; padding: 4px; border-radius: 50%; background: var(--green-soft); color: var(--green-600); }

.note {
  display: flex; align-items: flex-start; gap: 14px;
  margin-top: 20px; padding: 18px 22px; border-radius: 16px;
  background: var(--tint); font-size: 15px; color: var(--ink-2);
}
.note .ic { width: 22px; height: 22px; margin-top: 1px; color: var(--green-600); }

/* ---------- Process (dark) ---------- */
.section-dark { position: relative; overflow: hidden; background: var(--dark); color: var(--dark-text); }
.section-dark::before {
  content: ""; position: absolute; top: -360px; left: -260px; width: 820px; height: 820px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(34, 181, 115, .13), transparent 70%); pointer-events: none;
}
.section-dark .container { position: relative; }
.section-dark .kicker { color: #5FD39A; }
.section-dark h2 { color: #fff; }
.section-dark .sub { color: var(--dark-muted); }

.stage { display: grid; grid-template-columns: 210px 1fr; gap: 32px; padding: 34px 0; border-top: 1px solid var(--dark-line); }
.stage:last-child { padding-bottom: 0; }
.stage-num { font-size: 12px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--orange-bright); }
.stage-label h3 { margin-top: 8px; font-size: 1.45rem; color: #fff; }
.stage-label p { margin-top: 6px; font-size: 14px; color: var(--dark-muted); }

.steps { display: grid; gap: 16px; list-style: none; margin: 0; padding: 0; }
.steps-3 { grid-template-columns: repeat(3, 1fr); }
.steps-4 { grid-template-columns: repeat(4, 1fr); }
.step {
  position: relative; padding: 22px;
  border: 1px solid var(--dark-line); border-radius: 18px; background: var(--dark-2);
  transition: border-color .2s, transform .2s;
}
.step:hover { border-color: #3B444C; transform: translateY(-2px); }
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 50%; right: -12px; z-index: 1;
  width: 8px; height: 8px; margin-top: -4px;
  border-top: 2px solid #4A535B; border-right: 2px solid #4A535B; transform: rotate(45deg);
}
.step-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.step-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; }
.step-ic .ic { width: 21px; height: 21px; }
.who { padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.step-us .step-ic { background: rgba(34, 181, 115, .13); color: #4ADE9B; }
.step-us .who { background: rgba(34, 181, 115, .13); color: #6EE7AE; }
.step-you .step-ic { background: rgba(245, 132, 31, .14); color: var(--orange-bright); }
.step-you .who { background: rgba(245, 132, 31, .14); color: #F9B678; }
.step-both .step-ic { background: rgba(255, 255, 255, .07); color: #D5DBE0; }
.step-both .who { background: rgba(255, 255, 255, .07); color: #C9D0D6; }
.step-num { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 700; color: #6B747D; font-variant-numeric: tabular-nums; }
.step h4 { margin-bottom: 8px; font-size: 1.08rem; letter-spacing: -.015em; color: #fff; }
.step p { font-size: 14px; line-height: 1.55; color: var(--dark-muted); }
.step-apps { display: flex; gap: 12px; margin-top: 16px; color: #C9D0D6; }
.step-apps .ic { width: 18px; height: 18px; }

/* ---------- Requirements ---------- */
.fit-grid { display: grid; grid-template-columns: .85fr 1.15fr; align-items: start; gap: clamp(32px, 6vw, 80px); }
.fit-copy .section-head, .fit-copy { max-width: 520px; }
.fit-copy .btn { margin-top: 30px; }
.fit-cards { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 16px; }
.fit-card { padding: 28px; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); }
.fit-card h3 { margin-bottom: 20px; font-size: 1.15rem; }
.fit-no { background: transparent; border-style: dashed; border-color: var(--line-strong); }
.fit-no .list li { color: var(--muted); }
.fit-no .list .ic { background: #EEEAE3; color: #7C838A; }

/* ---------- Reviews ---------- */
.reviews-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 44px; }
.reviews-head .section-head { margin-bottom: 0; }
.carousel-nav { display: flex; gap: 10px; flex: none; }
.icon-btn {
  display: grid; place-items: center; width: 50px; height: 50px;
  border: 1px solid var(--line-strong); border-radius: 50%; background: var(--surface); color: var(--ink);
  cursor: pointer; transition: background .15s, color .15s, border-color .15s, opacity .15s;
}
.icon-btn .ic { width: 20px; height: 20px; }
.icon-btn:hover:not(:disabled) { background: var(--ink); border-color: var(--ink); color: #fff; }
.icon-btn:disabled { opacity: .38; cursor: default; }
.reviews-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2 * 20px) / 3); gap: 20px;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 6px; margin: -6px; scroll-padding-inline: 6px; scrollbar-width: none;
}
.reviews-track::-webkit-scrollbar { display: none; }
.review {
  display: flex; flex-direction: column; gap: 20px; margin: 0;
  padding: 28px; border: 1px solid var(--line); border-radius: 22px; background: var(--surface);
  scroll-snap-align: start;
  transition: box-shadow .2s, transform .2s;
}
.review:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.stars { display: flex; gap: 3px; color: var(--orange); }
.stars .ic { width: 17px; height: 17px; }
.review blockquote { flex: 1; margin: 0; font-size: 1.04rem; font-weight: 500; line-height: 1.6; color: var(--ink); }
.review figcaption { display: flex; align-items: center; gap: 14px; padding-top: 20px; border-top: 1px solid var(--line); }
.avatar {
  width: 52px; height: 52px; flex: none; border-radius: 50%; object-fit: cover;
  box-shadow: 0 0 0 3px var(--surface), 0 0 0 4px var(--line);
}
.review figcaption b { display: block; font-size: 15px; }
.meta { display: flex; align-items: center; gap: 8px; margin-top: 2px; font-size: 13px; color: var(--muted); }
.flag { width: 20px; height: 12px; border-radius: 2px; object-fit: cover; box-shadow: 0 0 0 1px rgba(0, 0, 0, .08); }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; align-items: start; gap: clamp(32px, 6vw, 80px); }
.faq-grid .section-head { position: sticky; top: 112px; }
.faq-list { display: grid; gap: 12px; }
.faq-list details {
  padding: 0 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface);
  transition: border-color .2s, box-shadow .2s;
}
.faq-list details[open] { border-color: var(--line-strong); box-shadow: var(--shadow); }
.faq-list summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 0; list-style: none; cursor: pointer;
  font-size: 1.02rem; font-weight: 700;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%;
  background-color: var(--tint);
  background-image: linear-gradient(var(--ink), var(--ink)), linear-gradient(var(--ink), var(--ink));
  background-size: 12px 2px, 2px 12px; background-position: center; background-repeat: no-repeat;
  transition: background-size .25s, background-color .25s;
}
.faq-list details[open] summary::after { background-size: 12px 2px, 2px 0; background-color: var(--green-soft); }
.faq-list details p { padding: 0 0 20px; max-width: 52em; color: var(--muted); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; align-items: start; gap: clamp(32px, 6vw, 80px); }
.channels { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 34px; }
.channel {
  display: flex; align-items: center; gap: 12px; min-width: 0;
  padding: 14px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface);
  text-decoration: none; transition: border-color .15s, transform .15s, box-shadow .15s;
}
.channel:hover { border-color: var(--line-strong); transform: translateY(-1px); box-shadow: var(--shadow); }
.channel > span:last-child { min-width: 0; }
.channel b { display: block; font-size: 15px; }
.channel small { display: block; overflow: hidden; font-size: 13px; color: var(--muted); white-space: nowrap; text-overflow: ellipsis; }
.channel-ic { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 12px; color: #fff; }
.channel-ic .ic { width: 20px; height: 20px; }
.ch-email { background: var(--ink); }
.ch-telegram { background: #229ED9; }
.ch-whatsapp { background: #1FAF55; }
.ch-discord { background: #5865F2; }

.next-steps { display: grid; gap: 14px; margin: 34px 0 0; padding: 0; list-style: none; counter-reset: n; }
.next-steps li { display: flex; align-items: center; gap: 14px; color: var(--muted); counter-increment: n; }
.next-steps li::before {
  content: counter(n); display: grid; place-items: center; flex: none; width: 30px; height: 30px;
  border: 1px solid var(--line-strong); border-radius: 50%; background: var(--surface);
  font-size: 13px; font-weight: 700; color: var(--ink);
}
.next-steps b { color: var(--ink); }

.form-card {
  display: grid; gap: 18px;
  padding: clamp(22px, 3vw, 36px); border: 1px solid var(--line); border-radius: 26px;
  background: var(--surface); box-shadow: var(--shadow-lg);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; }
.field > span, .field legend { padding: 0; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.field legend { margin-bottom: 8px; }
.field em { font-style: normal; color: var(--orange-ink); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: 12px; background: var(--bg);
  font: inherit; font-size: 15px; color: var(--ink);
  -webkit-appearance: none; appearance: none;
  transition: border-color .15s, box-shadow .15s, background-color .15s;
}
.field select {
  padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%235E646B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 15px center;
}
.field textarea { min-height: 112px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #9AA0A6; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--line-strong); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--green); background-color: #fff; box-shadow: 0 0 0 4px rgba(19, 138, 85, .14);
}
.field.invalid input { border-color: #C93B3B; box-shadow: 0 0 0 4px rgba(201, 59, 59, .1); }
.field-error { font-size: 13px; font-weight: 500; color: #B42318; }
.chips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.chip-radio { position: relative; }
.chip-radio input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.chip-radio span {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 8px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg);
  font-size: 14px; font-weight: 600; color: var(--ink-2);
  transition: border-color .15s, background .15s, color .15s;
}
.chip-radio .ic { width: 17px; height: 17px; }
.chip-radio:hover span { border-color: var(--line-strong); }
.chip-radio input:checked + span { border-color: var(--green-600); background: var(--green-soft); color: var(--green-700); box-shadow: inset 0 0 0 1px var(--green-600); }
.chip-radio input:focus-visible + span { outline: 3px solid rgba(245, 132, 31, .65); outline-offset: 2px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-note { margin-top: -6px; font-size: 13px; text-align: center; color: var(--muted); }
.form-status:empty { display: none; }
.form-status { padding: 12px 14px; border-radius: 12px; font-size: 14px; font-weight: 600; text-align: center; }
.form-status.is-error { background: #FDECEC; color: #B42318; }
.form-status a { color: inherit; }

.form-success { display: grid; justify-items: center; gap: 12px; padding: 36px 8px; text-align: center; }
.form-success .tick {
  display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 6px;
  border-radius: 50%; background: var(--green-soft); color: var(--green-600);
}
.form-success .tick .ic { width: 30px; height: 30px; }
.form-success h3 { font-size: 1.5rem; }
.form-success p { max-width: 26em; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { padding: 68px 0 30px; background: var(--dark); color: var(--dark-muted); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.footer-brand img { height: 32px; width: auto; }
.footer-brand p { margin-top: 18px; font-size: 14px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h4 { margin-bottom: 6px; font-size: 14px; letter-spacing: 0; color: #fff; }
.footer-col a { font-size: 14px; color: var(--dark-muted); text-decoration: none; transition: color .15s; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px;
  margin-top: 52px; padding-top: 24px; border-top: 1px solid var(--dark-line);
  font-size: 13px; color: #7D868F;
}

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .stage { grid-template-columns: 1fr; gap: 22px; }
  .steps-4 { grid-template-columns: repeat(2, 1fr); }
  .steps-4 .step::after { display: none; }
  .reviews-track { grid-auto-columns: calc((100% - 20px) / 2); }
}

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 560px; }
  .fit-grid, .faq-grid, .contact-grid { grid-template-columns: 1fr; }
  .faq-grid .section-head { position: static; margin-bottom: 0; }
  .fit-copy .section-head { margin-bottom: 0; }
}

@media (max-width: 900px) {
  .nav-cta { display: none; }
  .nav-toggle { display: grid; }
  .nav-links {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--gutter) 20px;
    background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px rgba(20, 23, 26, .08);
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .2s, transform .2s, visibility 0s .2s;
  }
  .nav-links.open { visibility: visible; opacity: 1; transform: none; transition: opacity .2s, transform .2s; }
  .nav-links a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; color: var(--ink); }
  .nav-links a.active::after { display: none; }
  .nav-cta-mobile { display: inline-flex; margin-top: 16px; }
}

@media (max-width: 720px) {
  .roles, .fit-cards { grid-template-columns: 1fr; }
  .steps-3, .steps-4 { grid-template-columns: 1fr; }
  .step::after { display: none; }
  .big-split { height: 96px; }
  .seg { flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 4px; padding: 14px 16px; }
  .seg span { font-size: 13px; }
  .reviews-head { align-items: flex-start; flex-direction: column; }
  .reviews-track { grid-auto-columns: 86%; gap: 14px; }
  .field-row { grid-template-columns: 1fr; }
  .chips { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 520px) {
  .actions .btn { flex: 1 1 100%; }
  .channels { grid-template-columns: 1fr; }
  .flow-card { padding: 18px; border-radius: 22px; }
  .node { width: 84px; }
  .node-ic { width: 46px; height: 46px; border-radius: 14px; }
  .wire { margin-top: 22px; min-width: 12px; }
  .node small { font-size: 11px; }
  .bubble { max-width: 210px; font-size: 12px; }
  .bubble > span:last-child { white-space: normal; }
  .bubble-client { left: -6px; }
  .bubble-us { right: -6px; }
  .review { padding: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .big-split .seg { clip-path: none; }
  .wire i, .wire::after { display: none; }
}
