/* =========================================================
   ScaleTheory — Brand stylesheet
   Fonts: Poppins (headings), Montserrat (body), Gochi Hand (accent)
   Palette mirrors reference brand system.
   ========================================================= */

:root {
  /* Brand colours — Option B: ink base + electric coral accent + warm sand */
  --navy: #0e1116;
  --navy-900: #080a0e;
  --navy-800: #1a1f29;
  --blue: #e8472b;
  --blue-bright: #ff5a3c;
  --blue-light: #ff8c79;
  --blue-deep: #b8371d;
  --lime: #ff5a3c;
  --lime-dark: #e8472b;
  --pink: #cc3366;

  --ink: #1c2433;
  --body: #2c2f36;
  --muted: #6b6862;
  --line: #ece6dc;
  --bg: #ffffff;
  --bg-soft: #faf7f1;
  --bg-tint: #fbeee9;
  --white: #ffffff;

  /* Type */
  --font-head: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-script: "Gochi Hand", "Poppins", cursive;

  /* Layout */
  --container: 1280px;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 28px;
  --shadow-sm: 0 4px 14px rgba(0, 27, 73, .07);
  --shadow: 0 18px 44px rgba(0, 27, 73, .12);
  --shadow-lime: 0 12px 28px rgba(255, 90, 60, .35);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }

body {
  font-family: var(--font-body);
  color: var(--body);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

h1, h2, h3, h4, h5 { font-family: var(--font-head); color: var(--navy); line-height: 1.12; font-weight: 700; }
h1 { font-size: clamp(2.2rem, 5.2vw, 4rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.8rem); letter-spacing: -.015em; }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
p { color: var(--body); }

/* Reference-style display headlines: bold, uppercase, tightly set */
.hero h1, .page-hero h1, .sec-head h2, .cta-band h2, .split h2, .cta-band h3 { text-transform: uppercase; font-weight: 700; }
.hero h1 { font-size: clamp(2.4rem, 5.6vw, 4.2rem); }
.sec-head h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
/* Keep handwritten script + eyebrows in natural case */
.hero h1 .script, .eyebrow, .script { text-transform: none; }
/* Form headings stay sentence case for readability */
.form-card h2 { text-transform: none; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(56px, 8vw, 110px) 0; }
.section--soft { background: var(--bg-soft); }
.section--navy { background: var(--navy); color: #cdd0d6; }
.section--navy h1, .section--navy h2, .section--navy h3 { color: #fff; }
.center { text-align: center; }
.narrow { max-width: 720px; margin-inline: auto; }
.grid { display: grid; gap: 28px; }

.eyebrow {
  font-family: var(--font-script);
  color: var(--blue);
  font-size: 1.5rem;
  line-height: 1;
  margin-bottom: 6px;
  display: inline-block;
}
.section--navy .eyebrow { color: var(--lime); }
.kicker {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--bg-tint);
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.kicker--script { font-family: var(--font-script); font-weight: 400; text-transform: none; letter-spacing: 0; font-size: 1.1rem; }
.lead { font-size: 1.12rem; color: var(--muted); }
.section--navy .lead { color: #b6bac2; }
.text-lime { color: var(--lime); }
.text-blue { color: var(--blue); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head); font-weight: 600; font-size: .98rem;
  padding: 15px 28px; border-radius: 999px; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
  white-space: nowrap;
}
.btn:focus-visible { outline: 3px solid var(--blue-light); outline-offset: 3px; }
.cta-crm { font-family: var(--font-script); font-weight: 400; font-size: 1.2em; line-height: 1; letter-spacing: 0; text-transform: none; margin-left: -7px; }
.btn--primary { background: var(--lime); color: #fff; box-shadow: var(--shadow-lime); }
.btn--primary:hover { transform: translateY(-3px); background: var(--lime-dark); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { transform: translateY(-3px); background: var(--navy-800); }
.btn--blue { background: var(--blue); color: #fff; }
.btn--blue:hover { transform: translateY(-3px); background: var(--blue-deep); }
.btn--ghost { background: transparent; color: var(--navy); border: 2px solid var(--line); }
.btn--ghost:hover { border-color: var(--navy); transform: translateY(-3px); }
.btn--lg { padding: 18px 36px; font-size: 1.05rem; }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 78px; }
.nav__logo img { height: 38px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a { font-family: var(--font-head); font-weight: 500; font-size: .96rem; color: var(--navy); position: relative; }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: var(--lime); transition: width .25s var(--ease); }
.nav__links a:hover::after, .nav__links a[aria-current="page"]::after { width: 100%; }
.nav__cta { display: flex; align-items: center; gap: 18px; }
.nav__phone { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 600; color: var(--navy); font-size: .95rem; }
.nav__phone svg { width: 18px; height: 18px; }
.nav__toggle { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); }
.nav__toggle span { display: block; width: 22px; height: 2px; background: var(--navy); margin: 4px auto; transition: .3s; }

/* ---------- Hero ---------- */
.hero { position: relative; background: radial-gradient(1100px 500px at 80% -10%, #fff1ec 0%, rgba(255,241,236,0) 60%), var(--bg); padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 8vw, 96px); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero__badge { display: inline-flex; align-items: center; gap: 8px; background: var(--navy); color: #fff; font-family: var(--font-head); font-weight: 600; font-size: .8rem; letter-spacing: .08em; padding: 8px 16px; border-radius: 999px; margin-bottom: 20px; }
.hero__badge b { color: var(--lime); }
.hero h1 { margin-bottom: 18px; }
.hero h1 .script { font-family: var(--font-script); color: var(--blue); font-weight: 400; letter-spacing: 0; }
.hero p.lead { margin-bottom: 28px; max-width: 520px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-bottom: 30px; }
.hero__trust { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.hero__trust .ph { margin: 0; }
.hero__visual { position: relative; }
.hero__panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 26px; }
.hero__stat-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 18px; }
.float-card { position: absolute; background: #fff; border-radius: 16px; box-shadow: var(--shadow); padding: 14px 18px; display: flex; align-items: center; gap: 12px; font-family: var(--font-head); }
.float-card .dot { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--bg-tint); color: var(--blue); }
.float-card .big { font-size: 1.3rem; font-weight: 700; color: var(--navy); line-height: 1; }
.float-card .lbl { font-size: .72rem; color: var(--muted); font-family: var(--font-body); }
.float-card--tl { top: -22px; left: -22px; }
.float-card--br { bottom: -22px; right: -18px; }

/* ---------- Stat strip ---------- */
.statstrip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.statcard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; text-align: center; box-shadow: var(--shadow-sm); }
.statcard .num { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.9rem, 3.4vw, 2.7rem); color: var(--navy); line-height: 1; }
.statcard .num em { font-style: normal; color: var(--lime); }
.statcard .cap { margin-top: 8px; font-size: .9rem; color: var(--muted); font-weight: 500; }

/* ---------- Logo marquee ---------- */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 56px; width: max-content; animation: scroll-x 28s linear infinite; align-items: center; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes scroll-x { to { transform: translateX(-50%); } }

/* ---------- Services ---------- */
.services-grid { grid-template-columns: repeat(4, 1fr); }
.svc-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; position: relative; overflow: hidden; }
.svc-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--blue), var(--lime)); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.svc-card:hover::before { transform: scaleX(1); }
.svc-icon { width: 58px; height: 58px; border-radius: 15px; display: grid; place-items: center; background: var(--bg-tint); margin-bottom: 18px; }
.svc-icon svg { width: 30px; height: 30px; }
.svc-card h3 { margin-bottom: 14px; }
.svc-card ul { display: grid; gap: 9px; margin-bottom: 18px; }
.svc-card li { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: var(--body); }
.svc-card li svg { width: 16px; height: 16px; flex: none; margin-top: 4px; color: var(--lime); }
.svc-link { font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--blue); display: inline-flex; gap: 7px; align-items: center; }
.svc-link:hover { color: var(--blue-deep); }

/* ---------- Results table ---------- */
.results-table { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.results-row { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr .8fr; gap: 18px; align-items: center; padding: 22px 28px; border-bottom: 1px solid var(--line); }
.results-row:last-child { border-bottom: none; }
.results-row--head { background: var(--navy); }
.results-row--head span { color: #fff; font-family: var(--font-head); font-weight: 600; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; }
.results-row .client { display: flex; align-items: center; gap: 14px; font-family: var(--font-head); font-weight: 600; color: var(--navy); }
.results-row .client .client-logo { height: 34px; width: auto; max-width: 104px; object-fit: contain; display: block; flex: none; }
.results-row .metric { font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; color: var(--navy); }
.results-row .metric em { font-style: normal; color: var(--lime); }
.tag-row { display: flex; flex-wrap: wrap; gap: 7px; }
.tag { font-size: .72rem; font-weight: 600; font-family: var(--font-head); color: var(--blue); background: var(--bg-tint); padding: 4px 11px; border-radius: 999px; }

/* ---------- Process ---------- */
.process-grid { grid-template-columns: repeat(3, 1fr); }
.proc-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 28px; position: relative; }
.proc-num { font-family: var(--font-head); font-weight: 700; font-size: 3.4rem; line-height: 1; color: var(--bg-tint); position: absolute; top: 18px; right: 24px; }
.section--navy .proc-card { background: var(--navy-800); border-color: rgba(255,255,255,.08); }
.section--navy .proc-num { color: rgba(255,122,97,.5); }
.proc-card .step { display: inline-block; font-family: var(--font-head); font-weight: 600; color: var(--lime); font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 12px; }
.proc-card h3 { margin-bottom: 12px; }
.section--navy .proc-card p { color: #b9c7e0; }

/* ---------- Team ---------- */
.team-grid { grid-template-columns: repeat(4, 1fr); }
.team-card { text-align: center; }
.team-card .ph { border-radius: var(--radius); aspect-ratio: 1/1; margin-bottom: 14px; }
.team-card .name { font-family: var(--font-head); font-weight: 600; color: var(--navy); }
.team-card .role { font-size: .85rem; color: var(--muted); }

/* ---------- Testimonials ---------- */
.tst-grid { grid-template-columns: repeat(3, 1fr); }
.tst-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 16px; }
.tst-stars { color: var(--lime); letter-spacing: 3px; font-size: 1rem; }
.tst-card p { font-size: .95rem; color: var(--body); flex: 1; }
.tst-author { display: flex; align-items: center; gap: 12px; }
.tst-author .ph { width: 46px; height: 46px; border-radius: 50%; margin: 0; flex: none; }
.tst-author .name { font-family: var(--font-head); font-weight: 600; color: var(--navy); font-size: .92rem; line-height: 1.2; }
.tst-author .co { font-size: .8rem; color: var(--muted); }

/* ---------- Industry cards ---------- */
.ind-grid { grid-template-columns: repeat(3, 1fr); }
.ind-card { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.ind-card .ph { aspect-ratio: 16/10; margin: 0; border-radius: 0; }
.ind-card__body { padding: 26px; }
.ind-card .pill { display: inline-block; font-family: var(--font-head); font-weight: 600; font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); background: var(--bg-tint); padding: 5px 12px; border-radius: 999px; margin-bottom: 12px; }
.ind-card h3 { font-size: 1.15rem; margin-bottom: 8px; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin-inline: auto; display: grid; gap: 14px; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.faq__q { width: 100%; text-align: left; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 20px 24px; font-family: var(--font-head); font-weight: 600; color: var(--navy); font-size: 1.02rem; }
.faq__q .ic { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--bg-tint); color: var(--blue); display: grid; place-items: center; transition: transform .3s var(--ease); font-size: 1.2rem; line-height: 1; }
.faq__item[open] .faq__q .ic { transform: rotate(45deg); background: var(--lime); color: var(--navy); }
.faq__a { padding: 0 24px 22px; color: var(--body); font-size: .96rem; }

/* ---------- Forms ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 40px); box-shadow: var(--shadow); }
.section--navy .form-card { color: var(--body); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-family: var(--font-head); font-weight: 600; font-size: .85rem; color: var(--navy); }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: .96rem; color: var(--ink);
  padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--bg-soft); transition: border-color .2s, box-shadow .2s; width: 100%;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(255,90,60,.14); background: #fff; }
.form-hp { position: absolute; left: -9999px; opacity: 0; }
.form-note { font-size: .8rem; color: var(--muted); margin-top: 6px; }

/* ---------- Image placeholder system ----------
   Transparent background, dashed outline, labelled with subject + dimensions.
   Swap each .ph for a real <img> later. */
.ph {
  background: transparent;
  border: 2px dashed var(--blue-light);
  border-radius: var(--radius);
  color: var(--blue-deep);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 16px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .82rem;
  line-height: 1.4;
  min-height: 90px;
  position: relative;
}
.ph::before { content: "⬇ image"; position: absolute; top: 8px; left: 10px; font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; color: var(--blue-light); }
.ph span { display: block; }
.ph .dims { font-family: var(--font-body); font-weight: 500; color: var(--muted); font-size: .74rem; margin-top: 4px; }
.section--navy .ph { border-color: rgba(255,140,121,.5); color: #f3d7cf; }
.ph--logo { min-height: 54px; width: 130px; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(135deg, var(--navy) 0%, var(--blue-deep) 100%); border-radius: var(--radius-lg); padding: clamp(36px, 6vw, 64px); color: #fff; text-align: center; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; width: 360px; height: 360px; background: radial-gradient(circle, rgba(255,90,60,.38), transparent 70%); top: -120px; right: -80px; }
.cta-band h2 { color: #fff; position: relative; }
.cta-band p { color: #c8d6ef; max-width: 620px; margin: 14px auto 26px; position: relative; }
.cta-band .btn { position: relative; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-900); color: #9fb0cd; padding: 64px 0 28px; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.4fr; gap: 40px; }
.footer h4 { color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px; font-family: var(--font-head); }
.footer img { height: 36px; margin-bottom: 18px; }
.footer ul { display: grid; gap: 11px; }
.footer a:hover { color: var(--lime); }
.footer__newsletter input { width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.05); color: #fff; margin-bottom: 10px; }
.footer__newsletter input::placeholder { color: #7e90b0; }
.footer__social { display: flex; gap: 12px; margin-top: 18px; }
.footer__social a { width: 40px; height: 40px; border-radius: 11px; background: rgba(255,255,255,.07); display: grid; place-items: center; transition: background .25s, transform .25s; }
.footer__social a:hover { background: var(--lime); transform: translateY(-3px); }
.footer__social svg { width: 18px; height: 18px; }
.footer__bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Split sections ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.checklist { display: grid; gap: 14px; margin: 22px 0 28px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist li svg { width: 22px; height: 22px; flex: none; color: var(--lime); margin-top: 2px; }
.checklist li b { color: var(--navy); font-family: var(--font-head); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: radial-gradient(900px 420px at 85% -20%, #0a2a66, transparent 60%), var(--navy); color: #d8e2f2; padding: clamp(60px, 9vw, 120px) 0 clamp(48px, 7vw, 90px); text-align: center; }
.page-hero h1 { color: #fff; margin-bottom: 14px; }
.page-hero p { color: #b9c7e0; max-width: 620px; margin-inline: auto; }
.breadcrumb { font-size: .85rem; color: var(--blue-light); margin-bottom: 16px; font-family: var(--font-head); font-weight: 500; }
.breadcrumb a:hover { color: #fff; }

/* ---------- Section heading block ---------- */
.sec-head { margin-bottom: 48px; }
.sec-head.center { margin-inline: auto; max-width: 680px; }

/* ---------- Value props ---------- */
.value-grid { grid-template-columns: repeat(3, 1fr); gap: 56px 28px; margin-top: 52px; }
.value-card { padding: 0 28px 34px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); text-align: center; overflow: visible; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.value-card .vc-icon { width: 74px; height: 74px; border-radius: 50%; background: var(--bg-tint); box-shadow: 0 10px 24px rgba(255,90,60,.18); border: 4px solid #fff; display: grid; place-items: center; margin: -38px auto 18px; color: var(--blue); }
.value-card .vc-icon svg { width: 30px; height: 30px; }
.value-card h3 { font-size: 1.18rem; margin-bottom: 10px; }
.value-card p { font-size: .95rem; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .statstrip { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 860px) {
  .nav__links, .nav__phone { display: none; }
  .nav__toggle { display: block; }
  .nav.open .nav__links { display: flex; position: absolute; top: 78px; left: 0; right: 0; flex-direction: column; background: #fff; padding: 20px 24px; gap: 18px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__visual { order: -1; }
  .split { grid-template-columns: 1fr; }
  .process-grid, .tst-grid, .ind-grid, .value-grid { grid-template-columns: 1fr; }
  .results-row { grid-template-columns: 1fr 1fr; gap: 12px; }
  .results-row--head { display: none; }
  .results-row .tag-row { grid-column: 1 / -1; }
  .results-row .case-link { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .container { padding: 0 18px; }
  .services-grid, .team-grid, .statstrip { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .float-card { display: none; }
  .hero__actions .btn { width: 100%; }
}

/* =========================================================
   REPLICA OVERRIDES — dark header, dark hero with form,
   service pills, bold logo. (Loaded last so these win.)
   ========================================================= */

/* Dark navy header, white nav (matches reference) */
.site-header { background: var(--navy); border-bottom: 1px solid rgba(255,255,255,.08); backdrop-filter: none; }
.nav__logo img { height: 26px; width: auto; }
.footer img { width: auto; height: 30px; }
.nav__links a { color: #fff; }
.nav__phone { color: #fff; }
.nav__toggle { border-color: rgba(255,255,255,.28); }
.nav__toggle span { background: #fff; }
@media (max-width: 860px) {
  .nav.open .nav__links { background: var(--navy); border-bottom-color: rgba(255,255,255,.12); }
  .nav.open .nav__links a { color: #fff; }
}

/* Dark hero with gradient + form on the right */
.hero { background: linear-gradient(113deg, #20242e 0%, #0e1116 100%); color: #fff; padding: clamp(22px,2.6vw,40px) 0 clamp(38px,4.5vw,60px); }
.hero h1 { color: #fff; font-size: clamp(2.5rem,5.4vw,4.4rem); line-height: 1.05; }
.hero .lead { color: #c8d8f5; max-width: 540px; margin-top: 8px; }
.hero__accent { color: var(--blue-light); }
.hero__send { display: inline-block; width: clamp(28px,3vw,46px); height: clamp(28px,3vw,46px); color: var(--lime); vertical-align: baseline; margin-left: 6px; }
.hero h1 .script { color: var(--blue-light); }
.hero__badge { background: rgba(255,255,255,.12); color: #fff; }
.hero__badge b { color: var(--lime); }
.hero__grid { align-items: start; grid-template-columns: 1.25fr 0.85fr; gap: 48px; }
.hero__accent { color: var(--lime); }
/* Smaller hero copy, bigger image (matches reference proportions) */
.hero h1 { font-size: clamp(1.9rem, 3.5vw, 3.1rem); }
.hero .lead { font-size: .98rem; max-width: 460px; }
.hero__send { width: clamp(22px, 2.2vw, 34px); height: clamp(22px, 2.2vw, 34px); }
.hero__img { margin-top: 22px; }
.hero .ph { border-color: rgba(120,170,255,.55); color: #d4e3fb; }
.hero__img { margin-top: 26px; }
.hero__floats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 18px; }
.hero__floats .float-card { position: static; display: flex; }
.hero__floats .float-card .big { font-size: 1.25rem; }
.hero__floats .float-card .lbl { font-size: .68rem; }

/* In-hero form card heading */
.form-title { font-family: var(--font-head); font-weight: 800; text-transform: uppercase; color: var(--navy); font-size: clamp(1rem,3.2vw,1.4rem); line-height: 1.1; margin-bottom: 5px; letter-spacing: -.01em; white-space: nowrap; }
.form-title .hl { background: var(--blue); color: #fff; padding: 1px 9px; border-radius: 6px; display: inline-block; }
.form-sub { font-family: var(--font-script); font-weight: 400; font-size: clamp(1rem,2.6vw,1.2rem); color: var(--blue); line-height: 1.2; letter-spacing: 0; text-transform: none; margin: 0 0 18px; }

/* Service pills (matches reference's clickable tags) */
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pills input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.pills label { display: inline-block; padding: 11px 16px; border: 1.5px solid #cdd8ea; border-radius: 9px; font-family: var(--font-head); font-weight: 500; font-size: .86rem; color: var(--navy); cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.pills label:hover { border-color: var(--blue); color: var(--blue); }
.pills input:checked + label { background: var(--lime); border-color: var(--lime); color: var(--navy); }
.pills input:focus-visible + label { outline: 3px solid var(--blue-light); outline-offset: 2px; }

@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__form { order: 2; }
}
@media (max-width: 560px) {
  .hero__floats { grid-template-columns: 1fr; }
  .hero__floats .float-card { display: flex; }
}

/* =========================================================
   SECTION MATCH PASS — blue-gradient sections, circular icon
   badges, blue results header, navy FAQ, logo grid.
   ========================================================= */

/* Blue gradient section (services, team, final CTA) */
.section--brandblue { background: linear-gradient(167deg, #1a1f29 0%, #0e1116 100%); color: #cdd0d6; }
.section--brandblue .sec-head h2,
.section--brandblue .split h2 { color: #fff; }
.section--brandblue .eyebrow { color: #ff7a61; }
.section--brandblue .sec-head .lead,
.section--brandblue .split .lead,
.section--brandblue .lead { color: #b6bac2; }
.section--brandblue .ph { border-color: rgba(255,255,255,.45); color: #e7ddd6; }
.section--brandblue .checklist { color: #eaf1ff; }
.section--brandblue .checklist li b { color: #fff; }

/* Heading highlight box (matches reference's boxed words) */
.box-hl { background: var(--navy); color: #fff; padding: 0 12px; border-radius: 8px; display: inline-block; }
.section--brandblue .box-hl { background: rgba(255,255,255,.16); }

/* --- Services cards: circular icon badge overlapping top, centred --- */
.section--brandblue .services-grid { margin-top: 56px; gap: 64px 28px; }
.svc-card { text-align: center; overflow: visible; }
.svc-card::before { display: none; }
.svc-icon { width: 76px; height: 76px; border-radius: 50%; margin: -56px auto 18px; background: #fff; box-shadow: var(--shadow); border: 1px solid var(--line); }
.svc-card ul { text-align: left; display: inline-grid; }
.svc-card li { justify-content: flex-start; }
.svc-link { display: block; width: 100%; text-align: center; background: var(--lime); color: #fff; padding: 13px 16px; border-radius: 999px; font-weight: 600; margin-top: 6px; transition: background .25s, transform .25s; }
.svc-link:hover { background: var(--lime-dark); color: #fff; transform: translateY(-2px); }
.svc-link span { display: none; }

/* --- Results table: blue header w/ script labels, green metrics, grey tags --- */
.results-row--head { background: linear-gradient(90deg, #ff5a3c, #b8371d); }
.results-row--head span { font-family: var(--font-script); text-transform: none; letter-spacing: 0; font-size: 1.25rem; font-weight: 400; }
.results-row .metric { color: var(--lime-dark); display: flex; flex-direction: column; align-items: flex-start; gap: 1px; }
.results-row .metric em { color: var(--lime-dark); }
.results-row .metric .metric-fig { display: inline-flex; align-items: center; gap: 6px; }
.results-row .metric .metric-fig::before { content: "▲"; color: #e8472b; font-size: .7em; }
.results-row .metric .metric-label { font-family: var(--font-script); font-weight: 400; font-size: 1.15rem; line-height: 1.15; color: var(--muted); text-transform: none; letter-spacing: 0; }
.tag { background: #eef1f5; color: #46505f; }

/* --- Team: circular photos --- */
.section--brandblue .team-card .ph { border-radius: 50%; }
.section--brandblue .team-card .name { color: #fff; }
.section--brandblue .team-card .role { color: #b6bac2; }

/* --- FAQ: navy bars, two columns --- */
.faq { grid-template-columns: 1fr 1fr; max-width: none; gap: 16px; }
.faq__item { background: var(--navy); border-color: transparent; }
.faq__q { color: #fff; }
.faq__q .ic { background: rgba(255,255,255,.16); color: #fff; }
.faq__item[open] .faq__q .ic { background: var(--lime); color: var(--navy); }
.faq__a { color: #c9d6ef; }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; } }

/* --- Client logo grid (replaces marquee) --- */
.logo-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.logo-grid .ph--logo { width: 100%; min-height: 96px; border-radius: 14px; border-style: solid; border-color: var(--line); background: #fff; box-shadow: var(--shadow-sm); }
@media (max-width: 860px) { .logo-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .logo-grid { grid-template-columns: repeat(2, 1fr); } }

/* --- Team slideshow carousel --- */
.team-carousel { position: relative; margin-top: 8px; }
.tc-track { display: flex; gap: 28px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 6px 2px; scrollbar-width: none; -ms-overflow-style: none; }
.tc-track::-webkit-scrollbar { display: none; }
.tc-track .team-card { flex: 0 0 calc((100% - 112px) / 5); scroll-snap-align: start; }
.tc-track .team-card .ph { aspect-ratio: 1 / 1; }
.team-card .team-photo { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 50%; display: block; margin-bottom: 14px; }
.tc-arrow { position: absolute; top: calc(50% - 30px); transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; background: #fff; color: var(--navy); font-size: 1.7rem; font-family: var(--font-head); line-height: 1; box-shadow: var(--shadow); display: grid; place-items: center; z-index: 3; transition: background .2s, transform .2s; }
.tc-arrow:hover { background: var(--lime); transform: translateY(-50%) scale(1.06); }
.tc-prev { left: -12px; }
.tc-next { right: -12px; }
.tc-dots { display: flex; justify-content: center; gap: 8px; margin-top: 26px; }
.tc-dots button { width: 9px; height: 9px; padding: 0; border-radius: 999px; background: rgba(255,255,255,.45); transition: width .25s, background .25s; }
.tc-dots button.active { background: #fff; width: 24px; }
@media (max-width: 1024px) { .tc-track .team-card { flex-basis: calc((100% - 56px) / 3); } }
@media (max-width: 640px)  { .tc-track .team-card { flex-basis: calc((100% - 28px) / 2); } }
@media (max-width: 460px)  { .tc-track .team-card { flex-basis: 82%; } .tc-prev { left: -4px; } .tc-next { right: -4px; } }

/* --- Centred intro block with certifications --- */
.intro-block { max-width: 860px; margin-inline: auto; text-align: center; }
.intro-block h2 { margin-bottom: 18px; }
.intro-block .lead { margin: 0 auto 28px; max-width: 720px; }
.cert-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 22px; margin-bottom: 30px; }
.cert-row .cert { width: 168px; min-height: 64px; border-radius: 12px; }
.cert-row .cert-img { height: 58px; width: auto; object-fit: contain; }
/* Footer cert badges sit in a white chip so dark logos stay visible on navy */
.footer__certs .cert-chip { background: #fff; border-radius: 8px; padding: 8px 12px; display: inline-flex; align-items: center; }
.footer__certs .cert-chip img { height: 28px; width: auto; display: block; }

/* --- Animated moving logo rows --- */
.logo-marquee { display: grid; gap: 18px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.logo-row { display: flex; gap: 18px; width: max-content; animation: lm-scroll 45s linear infinite; }
.logo-row--rev { animation-direction: reverse; animation-duration: 55s; }
.logo-marquee:hover .logo-row { animation-play-state: paused; }
.logo-row .ph--logo { width: 168px; min-height: 92px; flex: none; border-style: solid; border-color: var(--line); background: #fff; border-radius: 14px; box-shadow: var(--shadow-sm); }
/* Real client logos sit evenly on white cards */
.logo-row .logo-card { width: 188px; min-height: 96px; flex: none; border: 1px solid var(--line); background: #fff; border-radius: 14px; box-shadow: var(--shadow-sm); display: grid; place-items: center; padding: 18px 26px; }
.logo-row .logo-card img { max-height: 54px; max-width: 100%; width: auto; object-fit: contain; display: block; }
/* Some logos are white/dark-background versions: give their cards a dark background so they stay visible */
.logo-row .logo-card:has(img[alt="All Renos"]) { background: var(--navy); border-color: var(--navy); }
@keyframes lm-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* --- Testimonial avatar: perfect circle --- */
.tst-author .ph { min-height: 0; width: 56px; height: 56px; border-radius: 50%; padding: 0; flex: none; }

/* --- Testimonials moving marquee --- */
.tst-marquee { overflow: hidden; padding: 8px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.tst-track { display: flex; gap: 28px; width: max-content; animation: tst-scroll 50s linear infinite; padding: 0 14px; }
.tst-track--left { animation-duration: 55s; }
.tst-track--right { animation-direction: reverse; animation-duration: 48s; margin-top: 28px; }
.tst-marquee:hover .tst-track { animation-play-state: paused; }
.tst-track .tst-card { flex: 0 0 430px; }
@keyframes tst-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 560px) { .tst-track .tst-card { flex-basis: 84vw; } }

/* --- Contact full-width map / location placeholder --- */
.map-band { padding: 0; }
.map-ph { border-radius: 0; min-height: 460px; border-left: 0; border-right: 0; }

/* =========================================================
   HEADER MATCH — transparent over hero, solid white on scroll,
   bigger logo (matches reference behaviour).
   ========================================================= */
:root { --header-h: 88px; }
.site-header { position: fixed; top: 0; left: 0; right: 0; background: transparent; border-bottom: 1px solid transparent; backdrop-filter: none; transition: background .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease); }
.nav { height: var(--header-h); }
.nav__logo img { height: 42px; width: auto; }
/* Transparent (top of page) state: white logo + white nav */
.site-header .nav__links a { color: #fff; }
.site-header .nav__phone { color: #fff; }
.site-header .nav__toggle { border-color: rgba(255,255,255,.4); }
.site-header .nav__toggle span { background: #fff; }
/* Scrolled state: solid white header + dark nav */
.site-header.scrolled { background: #fff; border-bottom-color: var(--line); box-shadow: 0 6px 22px rgba(0,27,73,.08); }
.site-header.scrolled .nav__links a { color: var(--navy); }
.site-header.scrolled .nav__phone { color: var(--navy); }
.site-header.scrolled .nav__toggle { border-color: var(--line); }
.site-header.scrolled .nav__toggle span { background: var(--navy); }

/* Offset first sections so fixed header doesn't overlap content */
.hero { padding-top: calc(var(--header-h) + clamp(10px, 1.6vw, 26px)); }
.page-hero { padding-top: calc(var(--header-h) + clamp(34px, 6vw, 80px)); }

/* Mobile dropdown menu: always white panel with dark links */
@media (max-width: 860px) {
  .nav.open .nav__links { background: #fff; top: var(--header-h); }
  .nav.open .nav__links a { color: var(--navy); }
}

/* =========================================================
   HERO BALANCE — centred, bolder, reference proportions
   ========================================================= */
.hero__copy { text-align: center; }
.hero__badge { margin-left: auto; margin-right: auto; }
.hero h1 { font-size: clamp(2.5rem, 5vw, 4.2rem); font-weight: 800; line-height: 1.04; letter-spacing: -.02em; }
.hero .lead { font-size: 1.04rem; font-weight: 500; max-width: 540px; margin-left: auto; margin-right: auto; }
.hero__send { vertical-align: middle; }
.hero__img { max-width: 640px; margin: 26px auto 0; aspect-ratio: 4 / 3; }
.hero__floats { max-width: 640px; margin-left: auto; margin-right: auto; }

/* Bolder display headings site-wide (matches reference weight) */
.hero h1, .page-hero h1, .sec-head h2, .split h2, .cta-band h2, .form-title { font-weight: 800; }

/* --- About page hero + did-you-know band --- */
.about-hero { padding: calc(var(--header-h) + clamp(28px, 5vw, 64px)) 0 clamp(40px, 5vw, 74px); }
.section--brandblue h1 { color: #fff; font-weight: 800; text-transform: uppercase; line-height: 1.05; letter-spacing: -.02em; }
.about-hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.6rem); margin-bottom: 16px; }
.section--brandblue .split .lead { color: #b6bac2; margin-bottom: 26px; }
.didyouknow { text-align: center; }
.didyouknow h2 { text-transform: uppercase; max-width: 900px; margin-inline: auto; }
.didyouknow .box-hl { background: var(--lime); color: #fff; }

/* --- Hero floating stat cards (overlap image bottom, reference look) --- */
.hero__floats { margin-top: -120px; position: relative; z-index: 2; gap: 18px; }
.hero__floats .float-card { align-items: center; text-align: left; gap: 12px; padding: 14px 16px; border-radius: 16px; box-shadow: 0 24px 46px rgba(0, 16, 48, .30); }
.hero__floats .dot--up { background: #e7fadd; color: var(--lime-dark); width: 46px; height: 46px; border-radius: 13px; }
.hero__floats .fc-body { line-height: 1.1; }
.hero__floats .fc-body .big { font-size: 1.5rem; font-weight: 800; color: var(--navy); }
.hero__floats .fc-body .lbl { font-family: var(--font-head); font-weight: 600; font-size: .82rem; color: var(--ink); }
.hero__floats .fc-body .fc-sub { font-size: .68rem; color: var(--muted); }
@media (max-width: 560px) { .hero__floats { margin-top: -36px; } }

/* =========================================================
   FOOTER MATCH — pre-footer band + 3-column footer
   ========================================================= */
/* Why ScaleTheory — cut-out subject over growth bars */
.why-visual { position: relative; aspect-ratio: 4/3; border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-soft); display: flex; align-items: flex-end; justify-content: center; }
.why-visual__bg { position: absolute; inset: 0; width: 100%; height: 100%; }
.why-visual__fg { position: relative; z-index: 1; width: auto; max-width: 86%; max-height: 98%; object-fit: contain; filter: drop-shadow(0 14px 26px rgba(14,17,22,.22)); }

/* Legal pages (privacy / terms) */
.legal { max-width: 820px; margin: 0 auto; }
.legal h2 { font-size: 1.3rem; margin: 34px 0 10px; }
.legal h3 { font-size: 1.05rem; margin: 22px 0 8px; }
.legal p, .legal li { color: var(--body); margin-bottom: 12px; line-height: 1.7; }
.legal ul { padding-left: 22px; margin-bottom: 12px; }
.legal a { color: var(--blue); text-decoration: underline; }
.legal .legal-updated { color: var(--muted); font-size: .9rem; margin-bottom: 8px; }

/* Sticky mobile call / CTA bar */
.mobile-cta { display: none; }
@media (max-width: 720px) {
  .mobile-cta { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; gap: 1px; background: var(--line); box-shadow: 0 -6px 20px rgba(14,17,22,.16); }
  .mobile-cta a { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 15px 10px; font-family: var(--font-head); font-weight: 600; font-size: .95rem; }
  .mobile-cta__call { background: var(--navy); color: #fff; }
  .mobile-cta__call svg { width: 18px; height: 18px; }
  .mobile-cta__book { background: var(--lime); color: #fff; }
  body { padding-bottom: 56px; }
}

.prefooter { background: linear-gradient(167deg, #ff5a3c 0%, #d83c20 100%); color: #fff; padding: 30px 0; }
.prefooter__inner { display: flex; align-items: center; justify-content: space-between; gap: 22px; flex-wrap: wrap; }
.prefooter p { font-family: var(--font-head); font-weight: 800; text-transform: uppercase; color: #fff; font-size: clamp(1.2rem, 2.3vw, 1.7rem); margin: 0; }
.prefooter .text-lime { color: #0e1116; }

.footer__grid { grid-template-columns: 1.6fr 1fr 1.6fr; }
.footer__brand p { color: #9fb0cd; max-width: 360px; }
.footer__addr { margin: 10px 0 6px; }
.footer__cta { display: grid; gap: 12px; max-width: 340px; margin: 14px 0 20px; }
.footer__phone-btn { display: flex; align-items: center; justify-content: center; gap: 10px; background: var(--navy-800); border: 1px solid rgba(255,255,255,.14); color: #fff; padding: 13px 16px; border-radius: 12px; font-family: var(--font-head); font-weight: 600; transition: background .2s; }
.footer__phone-btn:hover { background: var(--blue-deep); color: #fff; }
.footer__phone-btn svg { width: 18px; height: 18px; }
.footer__contact-btn { display: flex; align-items: center; justify-content: center; padding: 13px 16px; border-radius: 12px; border: 1px solid rgba(255,255,255,.22); color: #fff; font-family: var(--font-head); font-weight: 600; transition: background .2s; }
.footer__contact-btn:hover { background: rgba(255,255,255,.08); color: #fff; }
.footer__certs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.footer__certs .ph { width: 88px; min-height: 42px; border-radius: 8px; border-color: rgba(255,255,255,.28); color: #9fb0cd; }
.footer__news-head { margin-top: 24px; }
@media (max-width: 860px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .footer__grid { grid-template-columns: 1fr; }
  .prefooter__inner { flex-direction: column; text-align: center; }
}
