/* ==========================================================================
   Clients by Clicks. Flat design system.
   Rules: solid fills, 1px lines, no gradients, no shadows, no blur.
   Palette from the brand sheet (September 2026).
   ========================================================================== */

:root {
  --navy: #0B1B3A;        /* Ink Navy: headings, dark blocks, the mark */
  --blue: #2D6BFF;        /* Click Blue: pointer, CTAs, accents */
  --sky: #6B97FF;         /* Sky: accent on navy backgrounds */
  --cloud: #F4F6FA;       /* Cloud: light surface */
  --white: #FFFFFF;

  --text: #2B3752;        /* body copy on light */
  --muted: #5A6A8A;       /* secondary copy on light */
  --line: #D8DFEC;        /* hairlines and borders */
  --tint: #E8EEFF;        /* light blue tint */
  --alert: #E5484D;       /* one warning colour, used sparingly */
  --alert-bg: #FFF0F0;
  --alert-text: #8A1F24;

  --navy-2: #13264D;      /* cards on navy */
  --navy-line: #24396A;   /* lines on navy */
  --on-navy: #C8D3F0;     /* body copy on navy */
  --on-navy-strong: #E6ECFA;

  --radius: 14px;
  --radius-sm: 10px;
  --max: 1160px;
  --gutter: 24px;
  --font: "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  color: var(--navy);
  line-height: 1.15;
  margin: 0 0 .5em;
  font-weight: 700;
  letter-spacing: -.02em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.45rem); }
h3 { font-size: 1.2rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
strong { font-weight: 600; }

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

.skip {
  position: absolute; left: -999px; top: 0;
  background: var(--navy); color: #fff; padding: .6rem 1rem; z-index: 100;
  border-radius: 0 0 8px 8px;
}
.skip:focus { left: 12px; top: 0; }

.container { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; }

/* Grid children must be allowed to shrink below their min-content width. */
.hero__grid > *, .split > *, .check > *, .final > *, .book > * { min-width: 0; }

.eyebrow {
  display: inline-block;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 1rem;
}
.block--navy .eyebrow { color: var(--sky); }

.lead { font-size: 1.15rem; color: var(--muted); max-width: 44rem; }
.block--navy .lead { color: var(--on-navy); }

.section-head { max-width: 46rem; margin-bottom: 3rem; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .lead { margin-inline: auto; }
.section-head h2 { margin-bottom: .75rem; }

.section-cta { margin-top: 2.5rem; display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }
.section-cta__note { color: var(--muted); font-size: .92rem; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font: inherit; font-weight: 600; font-size: 1rem; line-height: 1;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer; text-decoration: none; text-align: center;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:disabled { opacity: .6; cursor: default; transform: none; }
.btn svg { width: 18px; height: 18px; }

.btn--primary { background: var(--blue); color: #fff; border-color: var(--blue); }
.btn--primary:hover { background: var(--navy); border-color: var(--navy); }

.btn--ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--ghost:hover { background: var(--navy); color: #fff; }

.btn--white { background: #fff; color: var(--navy); border-color: #fff; }
.btn--white:hover { background: var(--sky); border-color: var(--sky); color: var(--navy); }

.btn--lg { padding: 1.15rem 1.9rem; font-size: 1.06rem; }
.btn--sm { padding: .7rem 1.1rem; font-size: .9rem; }
.btn--block { width: 100%; }

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */

.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: 76px; }
.nav__logo { display: inline-flex; }
.nav__logo img { height: 38px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 2rem; }
.nav__links a { color: var(--navy); font-weight: 500; font-size: .95rem; }
.nav__links a:hover { color: var(--blue); text-decoration: none; }
.nav__cta { display: flex; align-items: center; gap: .75rem; }
.nav__cta .btn { white-space: nowrap; }

.nav__short { display: none; }

/* --------------------------------------------------------------------------
   Blocks
   -------------------------------------------------------------------------- */

.block { padding: 6rem 0; }
.block--cloud { background: var(--cloud); }
.block--navy { background: var(--navy); color: var(--on-navy); }
.block--navy h2, .block--navy h3 { color: #fff; }
.block--tight { padding: 4rem 0; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero { padding: 4.5rem 0 5rem; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 3rem; align-items: center; }
.hero h1 { margin-bottom: 1.25rem; }
.hero__lead { font-size: 1.15rem; color: var(--muted); max-width: 36rem; margin-bottom: 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 1.75rem; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 1.25rem; font-size: .9rem; color: var(--muted); }
.hero__trust li { display: flex; align-items: center; gap: .45rem; }
.hero__trust svg { width: 16px; height: 16px; color: var(--blue); flex: none; }

.hero__visual { position: relative; min-height: 600px; }

/* Floating cards */
.fcard {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem;
  transition: transform .35s var(--ease), border-color .35s var(--ease);
}
.fcard:hover { transform: translateY(-6px); border-color: var(--blue); }

.hero__visual .fcard { position: absolute; animation: float 7s ease-in-out infinite; }
.fcard--gsc   { width: 100%; top: 0; left: 0; }
.fcard--leads  { width: 240px; left: 0; top: 345px; animation-delay: -4.5s; }
.fcard--booked { width: 285px; right: 0; top: 345px; animation-delay: -2.5s; }

@keyframes float {
  0%, 100% { translate: 0 0; }
  50%      { translate: 0 -10px; }
}

.fcard__head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: .9rem; }
.fcard__title { font-weight: 600; color: var(--navy); font-size: .95rem; }
.fcard__meta { font-size: .76rem; color: var(--muted); }
.fcard__caption { font-size: .72rem; color: var(--muted); margin: .6rem 0 0; }

/* Search performance card (Search Console style) */
.gsc__tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; margin-bottom: .9rem; }
.gsc__tile { border-top: 3px solid var(--sky); background: var(--cloud); padding: .5rem .55rem; border-radius: 6px; }
.gsc__tile span { display: block; font-size: .62rem; color: var(--muted); line-height: 1.2; margin-bottom: .2rem; }
.gsc__tile strong { font-size: 1rem; color: var(--navy); font-weight: 700; letter-spacing: -.02em; }
.gsc__tile--clicks { border-top-color: var(--blue); }
.gsc__tile--imp    { border-top-color: var(--sky); }
.gsc__tile--ctr    { border-top-color: var(--navy); }
.gsc__tile--pos    { border-top-color: #A9BEFF; }

.chart { width: 100%; height: auto; }
.chart text { font-family: var(--font); font-size: 9px; fill: var(--muted); }
.chart .grid { stroke: var(--line); stroke-width: 1; }
.chart .axis { stroke: var(--line); stroke-width: 1; }
.chart .l-clicks { fill: none; stroke: var(--blue); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.chart .l-imp { fill: none; stroke: var(--sky); stroke-width: 2; stroke-dasharray: 4 4; stroke-linecap: round; }
.chart .bar { fill: var(--sky); }
.chart .bar--hi { fill: var(--blue); }
.chart .l-rev { fill: none; stroke: var(--navy); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.chart .marker { fill: var(--navy); }
.chart .marker-line { stroke: var(--navy); stroke-width: 1; stroke-dasharray: 2 3; }
.chart .note { font-size: 8.5px; fill: var(--navy); font-weight: 500; }

.legend { display: flex; flex-wrap: wrap; gap: 1rem; font-size: .72rem; color: var(--muted); margin-top: .5rem; }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: .35rem; vertical-align: -1px; }

/* Map pack card */
.maps__query {
  display: flex; align-items: center; gap: .5rem;
  background: var(--cloud); border-radius: 999px; padding: .5rem .8rem;
  font-size: .82rem; color: var(--navy); font-weight: 500; margin-bottom: .8rem;
}
.maps__query svg { width: 14px; height: 14px; color: var(--muted); flex: none; }
.maps__map { border-radius: 8px; overflow: hidden; background: var(--tint); margin-bottom: .6rem; }
.maps__row { display: flex; align-items: center; gap: .6rem; padding: .55rem 0; border-top: 1px solid var(--line); }
.maps__rank {
  width: 22px; height: 22px; border-radius: 50%; background: var(--cloud); color: var(--navy);
  font-weight: 600; font-size: .72rem; display: grid; place-items: center; flex: none;
}
.maps__row--you .maps__rank { background: var(--blue); color: #fff; }
.maps__row strong { display: block; color: var(--navy); font-size: .84rem; line-height: 1.2; }
.maps__row span { color: var(--muted); font-size: .72rem; }
.maps__badge {
  margin-left: auto; background: var(--tint); color: var(--blue);
  font-size: .62rem; font-weight: 600; padding: .2rem .5rem; border-radius: 999px;
  letter-spacing: .08em; text-transform: uppercase; flex: none;
}
.stars { color: var(--blue); letter-spacing: -1px; }

/* Enquiries card */
.leads__num {
  display: flex; align-items: center; gap: .6rem;
  font-size: 2.6rem; font-weight: 700; color: var(--navy); letter-spacing: -.03em; line-height: 1;
  margin: .3rem 0 .7rem;
}
.leads__delta {
  display: inline-flex; align-items: center; gap: .25rem;
  font-size: .78rem; font-weight: 600; color: var(--blue); background: var(--tint);
  padding: .3rem .55rem; border-radius: 999px; letter-spacing: 0;
}
.leads__delta svg { width: 10px; height: 10px; }
.leads__delta--plain { background: transparent; color: var(--muted); font-weight: 500; padding-left: 0; }
.leads__split { display: flex; gap: .9rem; font-size: .72rem; color: var(--muted); margin-top: .6rem; }
.leads__split strong { color: var(--navy); }

/* Booked customers card: a week strip of appointment slots */
.week { display: grid; grid-template-columns: repeat(7, 1fr); gap: .4rem; margin: .1rem 0 .7rem; }
.week li { display: grid; gap: 4px; justify-items: center; }
.week span { font-size: .62rem; color: var(--muted); margin-bottom: 2px; }
.week i { display: block; width: 100%; height: 8px; border-radius: 3px; background: var(--cloud); }
.week i.on { background: var(--blue); }

/* --------------------------------------------------------------------------
   Cards (pain section)
   -------------------------------------------------------------------------- */

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem; }
.block--cloud .card { border-color: #fff; }
.card__icon { width: 48px; height: 48px; border-radius: 12px; background: var(--navy); display: grid; place-items: center; margin-bottom: 1.25rem; }
.card__icon svg { width: 24px; height: 24px; stroke: #fff; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { margin-bottom: .5rem; }
.card p { margin: 0; color: var(--muted); }
.closer { margin-top: 2.5rem; font-size: 1.15rem; font-weight: 500; color: var(--navy); max-width: 44rem; text-wrap: pretty; }

/* --------------------------------------------------------------------------
   Split layouts, surfaces, SERP mockup
   -------------------------------------------------------------------------- */

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }

.surfaces li { display: flex; gap: 1rem; padding: 1.25rem 0; border-top: 1px solid var(--line); }
.surfaces li:last-child { border-bottom: 1px solid var(--line); }
.surfaces .num {
  flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--blue); color: #fff;
  font-weight: 600; display: grid; place-items: center; font-size: .9rem;
}
.surfaces h3 { font-size: 1.05rem; margin-bottom: .2rem; }
.surfaces p { margin: 0; color: var(--muted); font-size: .97rem; }

.serp { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; font-size: .85rem; }
.serp__bar {
  display: flex; align-items: center; gap: .6rem;
  border: 1px solid var(--line); border-radius: 999px; padding: .6rem 1rem;
  color: var(--navy); font-weight: 500;
}
.serp__bar svg { width: 16px; height: 16px; color: var(--muted); flex: none; }
.serp__label { font-size: .68rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin: 1rem 0 .4rem; font-weight: 500; }
.serp__pack { display: grid; grid-template-columns: 96px 1fr; gap: .9rem; align-items: start; }
.serp__mapthumb { border-radius: 8px; overflow: hidden; background: var(--tint); }
.serp__row { display: flex; justify-content: space-between; align-items: center; gap: .5rem; padding: .45rem 0; border-top: 1px solid var(--line); }
.serp__row:first-child { border-top: 0; padding-top: 0; }
.serp__row strong { color: var(--navy); font-weight: 600; display: block; line-height: 1.2; }
.serp__row span { color: var(--muted); font-size: .74rem; }
.serp__organic .serp__row { display: block; }
.serp__link { color: var(--blue); font-weight: 500; display: block; }
.serp__url { color: var(--muted); font-size: .72rem; }
.serp__you {
  margin-top: 1rem; display: flex; align-items: center; gap: .6rem;
  background: var(--alert-bg); color: var(--alert-text); border-radius: 8px; padding: .7rem .9rem; font-weight: 500;
}
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--alert); flex: none; }

.ai-box { margin-top: 1rem; background: var(--cloud); border-radius: 10px; padding: .9rem 1rem; }
.ai-box .q { font-weight: 600; color: var(--navy); margin-bottom: .3rem; display: flex; gap: .5rem; align-items: center; }
.ai-box .q svg { width: 16px; height: 16px; color: var(--blue); flex: none; }
.ai-box p { margin: 0; color: var(--muted); font-size: .82rem; }
.ai-box mark { background: var(--tint); color: var(--navy); padding: 0 .25em; border-radius: 3px; font-weight: 500; }

/* --------------------------------------------------------------------------
   Steps
   -------------------------------------------------------------------------- */

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem; }
.steps--3 { grid-template-columns: repeat(3, 1fr); }
.step__num { font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); margin-bottom: 1rem; display: block; }
.step h3 { font-size: 1.1rem; }
.step p { color: var(--muted); margin: 0; font-size: .97rem; }

/* System flow */
.flow { display: flex; align-items: stretch; gap: .6rem; margin-top: 2rem; }
.flow__step { flex: 1; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1rem 1.1rem; text-align: center; display: flex; flex-direction: column; justify-content: center; }
.flow__step small { display: block; font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: .3rem; }
.flow__step strong { display: block; color: var(--navy); font-size: .95rem; line-height: 1.3; }
.flow__step--pillar { background: var(--navy); border-color: var(--navy); }
.flow__step--pillar small { color: var(--sky); }
.flow__step--pillar strong { color: #fff; }
.flow__step--end { background: var(--tint); border-color: var(--tint); }
.flow__step--end strong { color: var(--blue); }
.flow__arrow { width: 22px; height: 22px; flex: none; align-self: center; color: var(--blue); }

/* --------------------------------------------------------------------------
   Revenue chart and calculator
   -------------------------------------------------------------------------- */

.rev { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; }

.calc { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 2rem; }
.calc h3 { color: #fff; font-size: 1.25rem; }
.calc > p { color: var(--on-navy); }
.field { display: block; margin-bottom: 1rem; }
.field span { display: block; font-size: .8rem; color: var(--navy); font-weight: 500; margin-bottom: .35rem; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; padding: .75rem .9rem;
  border-radius: 8px; border: 1px solid var(--line); background: #fff; color: var(--navy);
}
.field input:focus { outline: none; border-color: var(--blue); }
.calc .field span { color: var(--on-navy); font-weight: 400; }
.calc .field input { border-color: var(--navy-line); background: var(--navy-2); color: #fff; }
.calc .field input:focus { border-color: var(--sky); }
.calc__out { margin-top: 1.5rem; border-top: 1px solid var(--navy-line); padding-top: 1.25rem; }
.calc__label { font-size: .8rem; color: var(--on-navy); margin-bottom: .25rem; }
.calc__big { font-size: 2.4rem; font-weight: 700; letter-spacing: -.03em; color: var(--sky); line-height: 1.1; }
.calc__note { font-size: .9rem; color: var(--on-navy); margin: .6rem 0 0; }
.calc__note strong { color: #fff; }

/* --------------------------------------------------------------------------
   Results and quotes
   -------------------------------------------------------------------------- */

.results { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-bottom: 1.25rem; }
.result { background: #fff; border-radius: var(--radius); padding: 1.75rem; border: 1px solid var(--line); }
.block--cloud .result { border-color: #fff; }
.result__tag { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.result__big { font-size: 2.6rem; font-weight: 700; color: var(--blue); letter-spacing: -.03em; line-height: 1.05; margin: .75rem 0 .25rem; }
.result__what { font-weight: 600; color: var(--navy); margin-bottom: .5rem; }
.result p { color: var(--muted); margin: 0; font-size: .95rem; }

.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.quote { background: var(--tint); border-radius: var(--radius); padding: 1.75rem; margin: 0; }
.quote p { font-size: 1.05rem; color: var(--navy); font-weight: 500; margin-bottom: 1rem; }
.quote footer { font-size: .85rem; color: var(--muted); }

/* --------------------------------------------------------------------------
   Chips
   -------------------------------------------------------------------------- */

.chips { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.5rem 0 2rem; }
.chip { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: .55rem 1rem; font-size: .9rem; color: var(--navy); font-weight: 500; }
.chip--accent { background: var(--navy); color: #fff; border-color: var(--navy); }

/* --------------------------------------------------------------------------
   The call (navy block)
   -------------------------------------------------------------------------- */

.check { display: grid; grid-template-columns: 1.1fr .9fr; gap: 4rem; align-items: center; }
.checklist { margin-top: 1.5rem; }
.checklist li { display: flex; gap: .9rem; padding: .85rem 0; border-top: 1px solid var(--navy-line); color: var(--on-navy-strong); }
.checklist li:last-child { border-bottom: 1px solid var(--navy-line); }
.checklist svg { flex: none; width: 22px; height: 22px; color: var(--sky); margin-top: 2px; }

.call-card { background: var(--navy-2); border: 1px solid var(--navy-line); border-radius: var(--radius); padding: 2rem; }
.call-card h3 { color: #fff; }
.call-card p { color: var(--on-navy); }
.call-card .btn { margin-top: .5rem; }
.call-card small { display: block; margin-top: 1rem; color: #9FB0DA; font-size: .85rem; }

/* --------------------------------------------------------------------------
   Compare table
   -------------------------------------------------------------------------- */

.compare { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.compare__row { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.compare__row:first-child { border-top: 0; }
.compare__row > div { padding: 1.1rem 1.5rem; }
.compare__row > div:first-child { color: var(--muted); border-right: 1px solid var(--line); }
.compare__row > div:last-child { color: var(--navy); font-weight: 500; background: var(--tint); }
.compare__head > div { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; }
.compare__head > div:first-child { background: var(--cloud); color: var(--muted); }
.compare__head > div:last-child { background: var(--blue); color: #fff; }

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */

.faq { max-width: 820px; margin-inline: auto; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.2rem 0; font-weight: 600; color: var(--navy); font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; width: 11px; height: 11px; flex: none; margin-right: 4px;
  border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue);
  transform: rotate(45deg); transition: transform .2s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq__a { padding: 0 0 1.4rem; color: var(--muted); max-width: 46rem; }
.faq__a p { margin: 0; }

/* --------------------------------------------------------------------------
   Final form
   -------------------------------------------------------------------------- */

.final { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form .field { margin-bottom: 0; }
.form .field span { color: var(--navy); font-weight: 500; }
.form .field input { background: #fff; border-color: var(--line); color: var(--navy); }
.form .field input:focus { border-color: var(--blue); }
.field--full { grid-column: 1 / -1; }
.form .btn { margin-top: 1.25rem; }
.form__note { font-size: .85rem; color: var(--muted); margin: 1rem 0 0; }
.form__status { font-size: .9rem; color: var(--alert-text); margin: .75rem 0 0; min-height: 1.2em; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.footer { background: var(--navy); color: #B8C6E8; padding: 4rem 0 2rem; font-size: .92rem; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.5rem; margin-bottom: 3rem; }
.footer__brand img { height: 40px; width: auto; margin-bottom: 1rem; }
.footer__brand p { max-width: 30rem; }
.footer__tag { color: var(--sky); font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 500; margin-bottom: 1rem; }
.footer .footer__h { color: #fff; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1rem; }
.footer a { color: #DCE4F7; }
.footer li { margin-bottom: .5rem; }
.footer__bottom {
  border-top: 1px solid var(--navy-line); padding-top: 1.5rem;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  font-size: .82rem; color: #8FA1CC;
}

/* --------------------------------------------------------------------------
   Inner pages
   -------------------------------------------------------------------------- */

.page { padding: 4rem 0 6rem; }
.page--narrow .container { max-width: 760px; }
.breadcrumb { font-size: .82rem; color: var(--muted); margin-bottom: 1.5rem; }
.breadcrumb a { color: var(--muted); }
.breadcrumb li { display: inline; }
.breadcrumb li + li::before { content: "/"; margin: 0 .5rem; color: var(--line); }

.book { display: grid; grid-template-columns: 1fr 1.1fr; gap: 3rem; align-items: start; }
.book__side h2 { font-size: 1.3rem; margin-top: 2rem; }
.book__side ul { list-style: disc; padding-left: 1.2rem; color: var(--muted); }
.book__side li { margin-bottom: .5rem; }
.cal { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.cal__placeholder { border: 2px dashed var(--line); border-radius: 10px; padding: 2rem; text-align: center; color: var(--muted); margin-bottom: 1.5rem; }
.cal__placeholder strong { display: block; color: var(--navy); margin-bottom: .35rem; }
.cal__or { text-align: center; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 1.25rem; font-weight: 500; }
.cal iframe { width: 100%; border: 0; min-height: 700px; border-radius: 10px; }

.prose h2 { font-size: 1.4rem; margin-top: 2.5rem; }
.prose ul { list-style: disc; padding-left: 1.25rem; }
.prose li { margin-bottom: .5rem; }
.prose p, .prose li { color: var(--text); }

.next { counter-reset: n; margin: 2rem 0; }
.next li { display: flex; gap: 1rem; padding: 1rem 0; border-top: 1px solid var(--line); }
.next li:last-child { border-bottom: 1px solid var(--line); }
.next li::before {
  counter-increment: n; content: counter(n);
  flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--blue); color: #fff;
  font-weight: 600; display: grid; place-items: center; font-size: .85rem;
}
.next strong { display: block; color: var(--navy); }
.next span { color: var(--muted); font-size: .95rem; }

.notfound { text-align: center; padding: 6rem 0; }
.notfound .eyebrow { display: block; }
.notfound .lead { margin: 0 auto 2rem; }

/* --------------------------------------------------------------------------
   Page structure v3: hero accent and stats, industry band, the issue,
   reasons, fix panel, process row, case studies, calculator row, final CTA.
   Numbers and type carry the hierarchy. No icon tiles.
   -------------------------------------------------------------------------- */

.accent { color: var(--blue); }
.block--navy .accent { color: var(--sky); }

.hero__micro { font-size: .88rem; color: var(--muted); margin: 0; }

.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
  margin-top: 3.5rem;
}
.stats li { padding: 1.4rem 1rem; text-align: center; border-right: 1px solid var(--line); }
.stats li:last-child { border-right: 0; }
.stats strong { display: block; font-size: 2rem; font-weight: 700; color: var(--navy); letter-spacing: -.03em; line-height: 1.1; }
.stats span { display: block; font-size: .85rem; color: var(--muted); margin-top: .3rem; }

/* Industry band */
.band { background: var(--navy); padding: 3rem 0; text-align: center; }
.band__title { color: #fff; font-size: clamp(1.25rem, 2.2vw, 1.6rem); margin-bottom: 1.4rem; }
.band__list { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; max-width: 62rem; margin-inline: auto; }
.band__list li { color: var(--on-navy-strong); font-weight: 500; font-size: .95rem; padding: .45rem 1rem; border: 1px solid var(--navy-line); border-radius: 999px; line-height: 1.4; }

/* The issue: three numbered cards joined by connectors */
.issue { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; counter-reset: none; }
.issue__card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.9rem 1.75rem; text-align: center;
}
.issue__card:not(:last-child)::after {
  content: ""; position: absolute; top: 50%; right: -18px; z-index: 1;
  width: 22px; height: 22px; margin-top: -11px; border-radius: 50%;
  background: #fff; border: 1px solid var(--line);
}
.issue__card:not(:last-child)::before {
  content: ""; position: absolute; top: 50%; right: -9px; z-index: 2;
  width: 6px; height: 6px; margin-top: -3px;
  border-top: 2px solid var(--blue); border-right: 2px solid var(--blue); transform: rotate(45deg);
}
.issue__num { display: block; font-size: .8rem; font-weight: 600; letter-spacing: .14em; color: var(--blue); margin-bottom: .9rem; }
.issue__card h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.issue__card p { color: var(--muted); margin: 0; font-size: .97rem; }
.issue__card:last-child { border-color: var(--navy); }

/* Why this keeps happening */
.why { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; margin-top: 5rem; }
.why > * { min-width: 0; }
.why__label {
  font-size: .8rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 1.25rem;
}
.reasons { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.reason { background: var(--cloud); border-radius: var(--radius-sm); padding: 1.25rem; }
.reason__num {
  display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  background: var(--navy); color: #fff; font-size: .8rem; font-weight: 600; margin-bottom: .75rem;
}
.reason h3 { font-size: 1rem; margin-bottom: .35rem; }
.reason p { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.55; }

.ai-box__label { font-size: .66rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin: 0 0 .3rem; }

/* The fix: navy panel with the system in five steps */
.fix {
  margin-top: 5rem; background: var(--navy); border-radius: var(--radius);
  padding: 3rem 2rem; text-align: center;
}
.fix .eyebrow { color: var(--sky); }
.fix h2 { color: #fff; font-size: clamp(1.4rem, 2.6vw, 2rem); margin-bottom: 2rem; }
.fix__flow { display: flex; justify-content: center; flex-wrap: wrap; gap: .75rem; }
.fix__flow li {
  position: relative; min-width: 150px; padding: .85rem 1.1rem;
  background: var(--navy-2); border: 1px solid var(--navy-line); border-radius: var(--radius-sm);
}
.fix__flow li.is-key { border-color: var(--blue); }
.fix__flow small { display: block; font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--sky); }
.fix__flow strong { display: block; color: #fff; font-size: .92rem; font-weight: 500; margin-top: .15rem; }

/* Testimonials */
.quotes--3 { grid-template-columns: repeat(3, 1fr); }
.quotes--3 .quote { background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; justify-content: space-between; }

/* Process: one bordered row, four cells */
.process {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
}
.process li { position: relative; padding: 2rem 1.6rem; border-right: 1px solid var(--line); }
.process li:last-child { border-right: 0; }
.process li:not(:last-child)::after {
  content: ""; position: absolute; top: 5.2rem; right: -12px; z-index: 1;
  width: 22px; height: 22px; border-radius: 50%; background: var(--blue);
}
.process li:not(:last-child)::before {
  content: ""; position: absolute; top: 5.2rem; right: -3px; z-index: 2;
  width: 6px; height: 6px; margin-top: 8px;
  border-top: 2px solid #fff; border-right: 2px solid #fff; transform: rotate(45deg);
}
.process__num { display: block; font-size: 2.6rem; font-weight: 700; line-height: 1; color: var(--line); letter-spacing: -.03em; margin-bottom: 1.1rem; }
.process h3 { font-size: 1.05rem; margin-bottom: .45rem; }
.process p { margin: 0; color: var(--muted); font-size: .94rem; }

.center-cta { text-align: center; margin-top: 2.5rem; }
.center-cta p { color: var(--text); margin-bottom: 1rem; font-weight: 500; }

/* Case studies */
.cases { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.case { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.case__visual { position: relative; background: var(--tint); padding: 3.4rem 1.5rem 1.5rem; }
.case__pill {
  position: absolute; top: 1rem; left: 1.5rem;
  background: var(--navy); color: #fff; font-weight: 600; font-size: .85rem;
  padding: .4rem .8rem; border-radius: 8px;
}
.case__chart { background: #fff; border-radius: var(--radius-sm); padding: 1rem 1.1rem .8rem; }
.chart .area { fill: var(--tint); }
.case__body { padding: 1.6rem 1.6rem 1.8rem; display: flex; flex-direction: column; flex: 1; }
.case__body .eyebrow { margin-bottom: .5rem; }
.case__body h3 { font-size: 1.3rem; }
.case__body p { color: var(--muted); }
.case__stats { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: var(--radius-sm); margin: .5rem 0 1.25rem; }
.case__stats li { padding: .9rem .5rem; text-align: center; border-right: 1px solid var(--line); }
.case__stats li:last-child { border-right: 0; }
.case__stats strong { display: block; color: var(--blue); font-size: 1.35rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; }
.case__stats span { display: block; color: var(--muted); font-size: .78rem; margin-top: .15rem; }
.case__link { margin-top: auto; font-weight: 600; color: var(--navy); }
.case__link::after { content: ""; display: inline-block; width: 7px; height: 7px; margin-left: .5rem; border-top: 2px solid var(--blue); border-right: 2px solid var(--blue); transform: rotate(45deg); vertical-align: 1px; }

/* Calculator as a single row */
.calc--row { display: grid; grid-template-columns: 1fr 1.6fr 1fr; gap: 2rem; align-items: center; margin-top: 1.5rem; }
.calc--row .calc__intro p { color: var(--on-navy); margin: 0; font-size: .95rem; }
.calc--row .calc__inputs { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; }
.calc--row .field { margin: 0; }
.calc--row .calc__out { margin: 0; border-top: 0; padding: 0 0 0 2rem; border-left: 1px solid var(--navy-line); }
.calc--row .calc__big { font-size: 2.1rem; }

/* Final CTA: inset navy panel so it never merges with the navy footer */
.final-panel { border-radius: var(--radius); padding: 3.5rem; }
.final .form { border-color: #fff; }
.form__title { font-size: 1.2rem; font-weight: 700; color: var(--navy); margin: 0 0 1.25rem; letter-spacing: -.01em; }
.next--dark { margin: 1.75rem 0 0; }
.next--dark li { border-color: var(--navy-line); }
.next--dark li:last-child { border-color: var(--navy-line); }
.next--dark strong { color: #fff; }
.next--dark span { color: var(--on-navy); }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1000px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { min-height: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
  .hero__visual .fcard { position: static; animation: none; width: auto; }
  .split, .check, .final, .book { grid-template-columns: 1fr; gap: 2.5rem; }
  .steps { grid-template-columns: 1fr 1fr; }
  .flow { flex-direction: column; }
  .flow__arrow { transform: rotate(90deg); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .why { grid-template-columns: 1fr; gap: 2.5rem; margin-top: 4rem; }
  .process { grid-template-columns: 1fr 1fr; }
  .process li:nth-child(2) { border-right: 0; }
  .process li:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .process li::before, .process li::after { display: none; }
  .cases { grid-template-columns: 1fr; }
  .final-panel { padding: 2.5rem 2rem; }
  .calc--row { grid-template-columns: 1fr; gap: 1.25rem; }
  .calc--row .calc__out { padding: 1.25rem 0 0; border-left: 0; border-top: 1px solid var(--navy-line); }
}

@media (max-width: 900px) {
  /* Single page funnel: section links live in the footer on small screens. The CTA stays. */
  .nav__links { display: none; }
}

@media (max-width: 768px) {
  .block { padding: 4rem 0; }
  .hero { padding: 3rem 0 3.5rem; }
  .cards, .results, .quotes, .quotes--3, .steps, .steps--3 { grid-template-columns: 1fr; }
  .form__grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; margin-top: 2.5rem; }
  .stats li:nth-child(2) { border-right: 0; }
  .stats li:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .issue { grid-template-columns: 1fr; gap: 1rem; }
  .issue__card::before, .issue__card::after { display: none; }
  .reasons { grid-template-columns: 1fr; }
  .fix { margin-top: 4rem; padding: 2.25rem 1.25rem; }
  .fix__flow { flex-direction: column; align-items: stretch; }
  .process { grid-template-columns: 1fr; }
  .process li { border-right: 0; border-bottom: 1px solid var(--line); }
  .process li:last-child { border-bottom: 0; }
  .process__num { font-size: 2rem; margin-bottom: .75rem; }
  .calc--row .calc__inputs { grid-template-columns: 1fr; }
  .final-panel { padding: 2rem 1.25rem; }
  .form { padding: 1.5rem; }
  .compare__head { display: none; }
  .compare__row { grid-template-columns: 1fr; }
  .compare__row > div:first-child { border-right: 0; border-bottom: 1px solid var(--line); }
  .compare__row > div::before {
    content: attr(data-label); display: block;
    font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; margin-bottom: .3rem;
  }
  .compare__row > div:first-child::before { color: var(--muted); }
  .compare__row > div:last-child::before { color: var(--blue); }
}

@media (max-width: 520px) {
  .nav__inner { height: 64px; gap: 1rem; }
  .nav__logo img { height: 30px; }
  .nav__cta .btn { padding: .7rem .9rem; font-size: .88rem; }
  .nav__long { display: none; }
  .nav__short { display: inline; }
  .chart .note, .chart .marker, .chart .marker-line { display: none; }
  .footer__grid { grid-template-columns: 1fr; }
  .gsc__tiles { grid-template-columns: 1fr 1fr; }
  .hero__actions .btn { width: 100%; }
  .section-cta .btn { width: 100%; }
  .serp__pack { grid-template-columns: 1fr; }
  .serp__mapthumb { max-width: 140px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__visual .fcard { animation: none; }
  .btn:hover, .fcard:hover { transform: none; }
}
