/* =============================================================
   Ashstep Surveys — Homepage V3 ("Approachable / Interactive")
   A fresh styling direction inspired by modern insurance/advisory
   sites: soft rounded cards, subtle shadows, pill buttons, generous
   whitespace, trust stamps, scroll cue, animated counters and
   tabbed sections. Self-contained — keeps ONLY Ashstep's palette.
   ============================================================= */

:root {
  /* Ashstep brand palette (unchanged) */
  --blue: #3340ff;
  --blue-deep: #2730cc;
  --blue-tint: #eef0ff;
  --blue-soft: #f6f4fa;
  --ink: #101218;
  --grey-900: #2a2e37;
  --grey-600: #5b616e;
  --grey-400: #9aa0ad;
  --grey-300: #cdd1d9;
  --grey-200: #e6e8ee;
  --grey-100: #f4f6fa;
  --surface: #ffffff;
  --bg: #fbfcfe;

  --font-head: "IBM Plex Sans", system-ui, sans-serif;
  --font-body: "Hanken Grotesk", system-ui, sans-serif;
  --font-mono: "IBM Plex Sans", system-ui, sans-serif; /* no monospace — friendly, modern */

  --r-sm: 0;
  --r: 0;
  --r-lg: 0;
  --r-pill: 0;

  --sh-sm: none;
  --sh: none;
  --sh-lg: none;
  --sh-blue: none;

  --container: 1400px;
  --ease: cubic-bezier(.2,.7,.2,1);

  --s2:.5rem; --s3:.75rem; --s4:1rem; --s5:1.5rem; --s6:2rem; --s7:3rem; --s8:4.5rem; --s9:6.5rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.7; color: var(--grey-600); background: var(--bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { max-width: 100%; display: block; }
h1,h2,h3,h4 { font-family: var(--font-head); color: var(--ink); margin: 0 0 var(--s4); line-height: 1.12; letter-spacing: -0.02em; font-weight: 600; }
h1 { font-size: clamp(2.3rem, 1.5rem + 3.4vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 1.3rem + 2.2vw, 3rem); font-weight: 700; }
h3 { font-size: 1.3rem; }
p { margin: 0 0 var(--s4); }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: var(--r-sm); }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--s5); }
.section { padding-block: var(--s9); }
.section--tint { background: var(--blue-soft); }
.section--grey { background: var(--grey-100); }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--blue); color: #fff; padding: var(--s3) var(--s4); z-index: 200; border-radius: 0 0 var(--r-sm) 0; }
.skip-link:focus { left: 0; }

/* eyebrow / pill labels */
.eyebrow { display: inline-flex; align-items: center; gap: var(--s2); font-family: var(--font-head); font-weight: 600; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); background: var(--blue-tint); padding: .4rem .85rem; border-radius: var(--r-pill); margin: 0 0 var(--s4); }
.lead { font-size: 1.2rem; color: var(--grey-900); max-width: 60ch; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

/* buttons (pill) */
.btn { position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; gap: var(--s2); font-family: var(--font-head); font-weight: 600; font-size: 1rem; padding: .85rem 1.6rem; border-radius: var(--r-pill); border: 2px solid transparent; background: transparent; cursor: pointer; line-height: 1; text-decoration: none; transition: color .5s var(--ease), border-color .6s var(--ease); }
.btn:hover { text-decoration: none; }
/* layered fills: ::before = resting colour, ::after = slanted slide-in on hover */
.btn::before { content: ""; position: absolute; inset: -2px; z-index: -1; }
.btn::after { content: ""; position: absolute; top: -2px; bottom: -2px; left: -25%; right: -25%; z-index: -1; transform: skewX(-16deg) translateX(-135%); transition: transform .8s cubic-bezier(.5,.12,.2,1); }
.btn:hover::after { transform: skewX(-16deg) translateX(0); }

/* primary: blue → white slides across, text turns blue */
.btn--primary { color: #fff; border-color: var(--blue); }
.btn--primary::before { background: var(--blue); }
.btn--primary::after { background: #fff; }
.btn--primary:hover { color: var(--blue); border-color: #fff; }

/* light: white → blue slides across, text turns white */
.btn--light { color: var(--ink); border-color: #fff; }
.btn--light::before { background: #fff; }
.btn--light::after { background: var(--blue); }
.btn--light:hover { color: #fff; border-color: var(--blue); }

/* ghost: outlined → blue slides across, text turns white */
.btn--ghost { color: var(--ink); border-color: var(--grey-300); }
.btn--ghost::before { background: transparent; }
.btn--ghost::after { background: var(--blue); }
.btn--ghost:hover { color: #fff; border-color: var(--blue); }

.btn--lg { padding: 1rem 1.9rem; font-size: 1.0625rem; }
.arrow { transition: transform .2s var(--ease); }
.btn:hover .arrow, a:hover .arrow { transform: translateX(3px); }

/* =============================== NAV ============================= */
.nav { position: sticky; top: 0; z-index: 100; background: rgba(251,252,254,.86); backdrop-filter: saturate(180%) blur(10px); transition: box-shadow .2s var(--ease), background .2s var(--ease); }
.nav.is-scrolled { box-shadow: var(--sh-sm); background: rgba(255,255,255,.96); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--s5); min-height: 78px; }
.nav__logo img { height: 50px; width: auto; }
.nav__links { display: none; }
.nav__links > ul { display: flex; align-items: center; gap: var(--s6); list-style: none; margin: 0; padding: 0; }
.nav__links > ul > li > a { display: inline-flex; align-items: center; font-family: var(--font-head); font-weight: 500; color: var(--grey-900); position: relative; padding-block: var(--s2); }
.nav__links > ul > li > a:hover { color: var(--blue); text-decoration: none; }
.nav__links > ul > li > a.is-active { color: var(--ink); }
.nav__links > ul > li > a.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 3px; border-radius: 0; background: var(--blue); }
.nav__cta { display: none; }
.nav__toggle { display: inline-flex; flex-direction: column; gap: 4px; width: 46px; height: 42px; align-items: center; justify-content: center; background: #fff; border: 1px solid var(--grey-300); border-radius: var(--r-sm); cursor: pointer; }
.nav__toggle span { width: 18px; height: 2px; background: var(--ink); transition: transform .2s, opacity .2s; }
.nav__toggle[aria-expanded="true"] span:nth-child(1){ transform: translateY(6px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2){ opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3){ transform: translateY(-6px) rotate(-45deg); }
.mnav { display: none; border-top: 1px solid var(--grey-200); background: #fff; }
.mnav.is-open { display: block; }
.mnav ul { list-style: none; margin: 0; padding: var(--s4) var(--s5) var(--s6); display: grid; gap: var(--s2); }
.mnav a { font-family: var(--font-head); font-weight: 600; color: var(--grey-900); padding: 10px 0; border-bottom: 1px solid var(--grey-200); }
.mnav .btn { margin-top: var(--s4); justify-content: center; }
.mnav__group { font-family: var(--font-head); font-weight: 600; font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); margin: var(--s3) 0 0; }
.mnav__sub { padding-left: var(--s4) !important; font-weight: 500 !important; font-size: .95rem; }

/* nav items + Services mega-nav (matches V1 structure) */
.nav__item { position: relative; display: flex; align-items: center; }
.nav__caret { display: inline-block; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin-left: 5px; margin-bottom: 2px; transition: transform .2s var(--ease); }
.nav__item:hover .nav__caret, .nav__item:focus-within .nav__caret { transform: rotate(225deg); margin-top: 4px; }
.nav__item.has-mega::after { content: ""; position: absolute; top: 100%; left: -12px; right: -12px; height: 18px; } /* hover bridge */
.mega { position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(8px); margin-top: 12px; width: min(760px, 92vw); background: var(--surface); border: 1px solid var(--grey-200); border-top: 3px solid var(--blue); padding: var(--s5); display: grid; gap: var(--s5); grid-template-columns: repeat(3, 1fr); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s; z-index: 120; }
.nav__item:hover > .mega, .nav__item:focus-within > .mega, .mega.is-open { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.mega__group-title { font-family: var(--font-head); font-weight: 600; font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; color: var(--grey-600); margin: 0 0 var(--s3); padding-bottom: var(--s2); border-bottom: 1px solid var(--grey-200); }
.mega__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.mega__list a { display: block; font-family: var(--font-body); font-weight: 500; font-size: .95rem; color: var(--grey-900); padding: 7px 9px; }
.mega__list a:hover { color: var(--blue); background: var(--blue-tint); text-decoration: none; }
.mega__cta { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s4); background: var(--grey-100); padding: var(--s4) var(--s5); }
.mega__cta p { margin: 0; font-size: .95rem; }

@media (min-width: 940px) { .nav__links, .nav__cta { display: flex; } .nav__toggle { display: none; } .mnav { display: none !important; } }

/* =============================== HERO =========================== */
.hero { position: relative; isolation: isolate; color: #fff; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__overlay { position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, rgba(11,12,18,.9) 0%, rgba(16,18,30,.74) 42%, rgba(51,64,255,.28) 100%); }
.hero__inner { position: relative; min-height: clamp(560px, 84vh, 880px); display: flex; flex-direction: column; justify-content: center; padding-block: var(--s9) var(--s8); }
.hero__eyebrow { display: inline-flex; align-items: center; gap: var(--s2); font-family: var(--font-head); font-weight: 600; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: #cdd2ff; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); padding: .45rem .9rem; border-radius: var(--r-pill); margin: 0 0 var(--s5); width: max-content; }
.hero h1 { color: #fff; max-width: 24ch; text-shadow: 0 3px 30px rgba(0,0,0,.3); }
.hero__sub { color: rgba(255,255,255,.92); font-size: 1.2rem; max-width: 52ch; margin: 0 0 var(--s6); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--s3); }
/* soft parallax: bg image is taller than the hero and shifts on scroll */
.hero__bg img { height: 130%; will-change: transform; }

/* scroll-down cue */
.hero__scroll { position: absolute; left: 50%; bottom: var(--s5); transform: translateX(-50%); z-index: 2; display: inline-flex; flex-direction: column; align-items: center; gap: var(--s2); color: rgba(255,255,255,.8); font-family: var(--font-mono); font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; }
.hero__scroll:hover { color: #fff; text-decoration: none; }
.hero__scroll .chev { width: 22px; height: 22px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); animation: bob 1.8s var(--ease) infinite; }
@keyframes bob { 0%,100%{ transform: rotate(45deg) translate(0,0); opacity:.6 } 50%{ transform: rotate(45deg) translate(4px,4px); opacity:1 } }

/* trust stamps strip (overlaps hero bottom) */
.stamps { position: relative; z-index: 5; margin-top: calc(var(--s8) * -1); }
.stamps__card { background: #fff; border: 1px solid var(--grey-200); border-radius: var(--r-lg); box-shadow: var(--sh); padding: var(--s5) var(--s6); display: grid; gap: var(--s5); grid-template-columns: 1fr; }
.stamp { display: flex; align-items: center; gap: var(--s4); }
.stamp__seal { flex: 0 0 auto; width: 54px; height: 54px; border-radius: 0; display: grid; place-items: center; background: var(--blue-tint); color: var(--blue); border: 2px solid var(--blue); }
.stamp__seal svg { width: 26px; height: 26px; }
.stamp__t { font-family: var(--font-head); font-weight: 600; color: var(--ink); font-size: .98rem; line-height: 1.2; }
.stamp__s { font-size: .85rem; color: var(--grey-600); }
@media (min-width: 620px) { .stamps__card { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .stamps__card { grid-template-columns: repeat(4, 1fr); gap: var(--s6); } .stamp + .stamp { } }

/* ===================== SECTION HEADINGS ======================== */
.shead { margin-bottom: var(--s7); max-width: 64ch; }
.shead--center { margin-inline: auto; text-align: center; }

/* ===================== TABBED SECTION (audience) =============== */
.tabsec__tabs { display: flex; flex-wrap: wrap; gap: var(--s2); background: var(--grey-100); padding: 6px; border-radius: var(--r-pill); width: max-content; max-width: 100%; margin: 0 auto var(--s7); }
.tabsec__tab { font-family: var(--font-head); font-weight: 600; font-size: .98rem; color: var(--grey-600); background: transparent; border: 0; cursor: pointer; padding: .7rem 1.3rem; border-radius: var(--r-pill); transition: background .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease); }
.tabsec__tab:hover { color: var(--ink); }
.tabsec__tab[aria-selected="true"] { background: #fff; color: var(--blue); box-shadow: var(--sh-sm); }
.tabsec__panel { display: grid; gap: var(--s7); grid-template-columns: 1fr; align-items: center; }
.tabsec__panel[hidden] { display: none; }
.tabsec__media img { width: 100%; border-radius: var(--r-lg); border: 1px solid var(--grey-200); box-shadow: var(--sh); }
.tabsec__list { list-style: none; margin: var(--s5) 0 var(--s6); padding: 0; display: grid; gap: var(--s3); }
.tabsec__list li { display: flex; gap: var(--s3); align-items: flex-start; font-size: 1rem; }
.tabsec__check { flex: 0 0 auto; width: 24px; height: 24px; border-radius: 0; background: var(--blue-tint); color: var(--blue); display: grid; place-items: center; }
.tabsec__check svg { width: 14px; height: 14px; }
@media (min-width: 900px) { .tabsec__panel { grid-template-columns: 1fr 1fr; gap: var(--s9); } }

/* ===================== SERVICES (interactive tabs) ============ */
/* left tab list · middle content · right image w/ overlay prompt */
.svc { display: grid; gap: var(--s6); grid-template-columns: 1fr; }
.svc__tabs { display: grid; gap: var(--s2); }
.svc__tab { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); width: 100%; text-align: left; font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; color: var(--grey-900); background: var(--surface); border: 1px solid var(--grey-200); border-radius: var(--r); padding: 1rem 1.15rem; cursor: pointer; transition: border-color .2s var(--ease), background .2s var(--ease), transform .2s var(--ease); }
.svc__tab:hover { border-color: var(--blue); transform: translateX(2px); }
.svc__tab .n { font-family: var(--font-mono); font-size: .78rem; color: var(--grey-400); }
.svc__tab .arrow { color: var(--blue); opacity: 0; transition: opacity .2s, transform .2s; }
.svc__tab[aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.svc__tab[aria-selected="true"] .n { color: #aeb4ff; }
.svc__tab[aria-selected="true"] .arrow { opacity: 1; color: #fff; }
.svc__stage { position: relative; }
.svc__panel { display: grid; gap: var(--s6); grid-template-columns: 1fr; }
.svc__panel[hidden] { display: none; }
.svc__content h3 { font-size: 1.6rem; margin-bottom: var(--s3); }
.svc__content .kicker { font-family: var(--font-mono); font-size: .78rem; letter-spacing: .04em; color: var(--blue); margin: 0 0 var(--s3); }
.svc__points { list-style: none; margin: var(--s4) 0 var(--s5); padding: 0; display: grid; gap: var(--s3); }
.svc__points li { display: flex; gap: var(--s3); align-items: flex-start; font-size: .98rem; }
.svc__points .tabsec__check { width: 22px; height: 22px; }
.svc__media { position: relative; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--grey-200); box-shadow: var(--sh); display: block; min-height: 240px; }
.svc__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.svc__media:hover img { transform: scale(1.04); }
.svc__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16,18,24,0) 50%, rgba(16,18,24,.45)); }
.svc__prompt { position: absolute; z-index: 2; left: var(--s5); bottom: var(--s5); display: inline-flex; align-items: center; gap: var(--s3); background: #fff; color: var(--ink); font-family: var(--font-head); font-weight: 600; font-size: .95rem; padding: .7rem 1.1rem; border-radius: var(--r-pill); box-shadow: var(--sh); transition: gap .2s var(--ease); }
.svc__media:hover .svc__prompt { gap: var(--s4); }
.svc__prompt .dot { width: 30px; height: 30px; border-radius: 0; background: var(--blue); color: #fff; display: grid; place-items: center; }
.svc__prompt .dot svg { width: 16px; height: 16px; }
@media (min-width: 720px) { .svc__panel { grid-template-columns: 1.05fr .95fr; align-items: stretch; } }
@media (min-width: 1040px) { .svc { grid-template-columns: 340px 1fr; gap: var(--s8); align-items: start; } }

/* ===================== VALUE CARDS ============================ */
.values { display: grid; gap: var(--s5); grid-template-columns: 1fr; }
.value { background: var(--surface); border: 1px solid var(--grey-200); border-radius: var(--r-lg); padding: var(--s6); box-shadow: var(--sh-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.value:hover { transform: translateY(-6px); box-shadow: var(--sh); }
.value__n { font-family: var(--font-mono); font-size: .8rem; color: var(--blue); }
.value h3 { margin: var(--s3) 0 var(--s2); font-size: 1.25rem; }
.value p { margin: 0; font-size: .98rem; }
.value__bar { width: 44px; height: 4px; border-radius: 0; background: var(--blue); margin-top: var(--s4); }
@media (min-width: 620px) { .values { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1020px) { .values { grid-template-columns: repeat(3,1fr); } }

/* ===================== STATS (counters) ====================== */
.stats { background: var(--ink); color: #fff; border-radius: var(--r-lg); padding: var(--s7) var(--s6); display: grid; gap: var(--s6); grid-template-columns: 1fr 1fr; text-align: center; position: relative; overflow: hidden; }
.stats::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 80% -20%, rgba(51,64,255,.4), transparent 60%); }
.stat-c { position: relative; }
.stat-c__num { font-family: var(--font-head); font-weight: 700; font-size: clamp(2.2rem, 1.4rem + 2.4vw, 3.4rem); line-height: 1; letter-spacing: -.02em; }
.stat-c__num .suffix { color: #aeb4ff; }
.stat-c__label { font-size: .9rem; color: rgba(255,255,255,.7); margin-top: var(--s3); }
@media (min-width: 760px) { .stats { grid-template-columns: repeat(3,1fr); padding: var(--s8); } }

/* accreditation strip — real MRICS / RICS / CIOB logos */
.accred-v3 { margin-top: var(--s7); text-align: center; }
.accred-v3__label { font-family: var(--font-mono); font-size: .78rem; letter-spacing: .04em; text-transform: uppercase; color: var(--grey-600); margin: 0 0 var(--s4); }
.accred-v3__marks { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s4); }
.accred-v3__mark { display: inline-flex; align-items: center; justify-content: center; height: 84px; padding: var(--s3) var(--s5); background: var(--surface); border: 1px solid var(--grey-200); border-radius: var(--r); }
.accred-v3__mark img { height: 100%; width: auto; max-width: 170px; object-fit: contain; display: block; }

/* ===================== PROJECTS / WORK ======================= */
.work { display: grid; gap: var(--s5); grid-template-columns: 1fr; }
.work__card { background: var(--surface); border: 1px solid var(--grey-200); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease); text-decoration: none; color: inherit; display: flex; flex-direction: column; }
.work__card:hover { transform: translateY(-6px); box-shadow: var(--sh); }
.work__media { position: relative; }
.work__media img { width: 100%; height: auto; display: block; }
.work__tag { position: absolute; top: 12px; left: 12px; font-family: var(--font-mono); font-size: .7rem; color: #fff; background: var(--blue); padding: 4px 10px; border-radius: var(--r-pill); }
.work__body { padding: var(--s5); display: flex; flex-direction: column; gap: var(--s2); flex: 1; }
.work__body h3 { font-size: 1.2rem; margin: 0; }
.pso { margin: var(--s2) 0 0; display: grid; gap: var(--s2); }
.pso__row { display: grid; grid-template-columns: 84px 1fr; gap: var(--s3); font-size: .92rem; }
.pso__k { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .04em; color: var(--blue); padding-top: 2px; }
.work__more { margin-top: auto; padding-top: var(--s4); font-family: var(--font-head); font-weight: 600; color: var(--blue); display: inline-flex; gap: var(--s2); }
@media (min-width: 720px) { .work { grid-template-columns: repeat(2,1fr); } }

/* ===================== TESTIMONIAL =========================== */
.quote { background: var(--blue-soft); border: 1px solid var(--blue-tint); border-radius: var(--r-lg); padding: var(--s7); max-width: 820px; margin-inline: auto; text-align: center; }
.quote__mark { font-family: var(--font-head); font-weight: 700; font-size: 3rem; color: var(--blue); line-height: .6; }
.quote__t { font-family: var(--font-head); font-weight: 500; font-size: clamp(1.2rem,1rem+1vw,1.6rem); color: var(--ink); line-height: 1.45; margin: var(--s4) 0 var(--s5); }
.quote__cite { display: inline-flex; align-items: center; gap: var(--s3); font-style: normal; }
.quote__av { width: 46px; height: 46px; border-radius: 0; background: #fff; border: 1px solid var(--grey-200); display: grid; place-items: center; font-family: var(--font-mono); font-size: .8rem; color: var(--grey-600); }
.quote__name { font-family: var(--font-head); font-weight: 600; color: var(--ink); }
.quote__role { font-size: .85rem; color: var(--grey-600); }

/* ===================== CTA + FORM ============================ */
.cta { background: linear-gradient(120deg, var(--ink) 0%, #1b1e30 60%, #232a55 100%); color: #fff; border-radius: var(--r-lg); padding: var(--s8) var(--s6); display: grid; gap: var(--s7); grid-template-columns: 1fr; }
.cta h2 { color: #fff; }
.cta p { color: rgba(255,255,255,.82); }
.cta__contacts { display: grid; gap: var(--s3); margin-top: var(--s5); }
.cta__line { display: flex; align-items: center; gap: var(--s3); font-family: var(--font-head); font-size: 1.05rem; }
.cta__line a { color: #fff; }
.cta__line .k { color: #aeb4ff; font-family: var(--font-mono); font-size: .8rem; width: 60px; }
.form { background: #fff; border-radius: var(--r); padding: var(--s6); display: grid; gap: var(--s4); }
.field { display: grid; gap: var(--s2); }
.field label { font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--grey-900); }
.field input, .field select, .field textarea { font-family: var(--font-body); font-size: 1rem; padding: .8rem 1rem; border: 1px solid var(--grey-300); border-radius: var(--r-sm); background: #fff; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(51,64,255,.16); }
.form .note { font-family: var(--font-mono); font-size: .72rem; color: var(--grey-600); margin: 0; }
@media (min-width: 920px) { .cta { grid-template-columns: 1fr 1fr; gap: var(--s9); padding: var(--s9) var(--s8); } }

/* ===================== FOOTER =============================== */
.foot { background: #0a0b10; color: rgba(255,255,255,.72); padding-block: var(--s8) var(--s6); }
.foot__top { display: grid; gap: var(--s6); grid-template-columns: 1fr; }
.foot__brand img { height: 50px; margin-bottom: var(--s4); }
.foot__brand p { font-size: .95rem; max-width: 34ch; }
.foot__col h4 { font-family: var(--font-head); font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: #fff; margin: 0 0 var(--s4); }
.foot__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s2); }
.foot__col a { color: rgba(255,255,255,.72); font-size: .95rem; }
.foot__col a:hover { color: #fff; }
.foot__bottom { display: flex; flex-wrap: wrap; gap: var(--s4); justify-content: space-between; align-items: center; margin-top: var(--s7); padding-top: var(--s5); border-top: 1px solid rgba(255,255,255,.12); font-family: var(--font-mono); font-size: .76rem; color: rgba(255,255,255,.6); }
@media (min-width: 760px) { .foot__top { grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: var(--s7); } }

/* cookie + reveal */
.cookie { position: fixed; left: 50%; transform: translateX(-50%); bottom: 16px; width: min(900px, calc(100% - 32px)); z-index: 150; background: #fff; border: 1px solid var(--grey-200); border-radius: var(--r); box-shadow: var(--sh-lg); padding: var(--s4) var(--s5); display: flex; flex-wrap: wrap; gap: var(--s4); align-items: center; justify-content: space-between; }
.cookie p { margin: 0; font-size: .92rem; }
.cookie__a { display: flex; gap: var(--s2); }
.cookie.is-hidden { display: none; }
.ph { background: rgba(51,64,255,.07); box-shadow: inset 0 -2px 0 rgba(51,64,255,.2); border-radius: 0; padding: 0 .15em; }
.wc { font-family: var(--font-mono); font-size: .68rem; color: var(--blue); opacity: .85; }

@keyframes rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
.reveal { opacity: 0; }
.reveal.in { animation: rise .7s var(--ease) both; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; }
}

/* =================================================================
   V3 REFINEMENTS (square, no shadow, image shape, prominent quote)
   ================================================================= */

/* contained tab component; centred heading sits outside, above */
.tabbox { background: var(--surface); border: 1px solid var(--grey-200); padding: var(--s6); }
@media (min-width: 900px) { .tabbox { padding: var(--s7); } }

/* "Who we help" panel headings sized to 25.6px */
.tabsec__panel h3 { font-size: 1.6rem; }

/* blue parallelogram overlapping the bottom-left of every (non-bg) image */
.tabsec__media, .svc__media, .work__media { position: relative; }
.tabsec__media::before, .svc__media::before, .work__media::before {
  content: ""; position: absolute; left: 0; bottom: 0; z-index: 4; pointer-events: none;
  width: clamp(120px, 36%, 220px); height: clamp(46px, 16%, 84px);
  background: var(--blue);
  clip-path: polygon(0 0, 100% 0, 76% 100%, 0 100%);
}
/* keep the services "Find out more" prompt clear of the shape */
.svc__prompt { left: auto; right: var(--s5); }

/* prominent testimonial — full container width, brand blue, larger, centred */
.quote { background: var(--blue); border: 0; max-width: none; padding: clamp(2.5rem, 1.5rem + 5vw, 5rem) var(--s7); text-align: center; }
.quote__mark { color: rgba(255,255,255,.6); font-size: 4.5rem; }
.quote__t { color: #fff; font-size: clamp(1.5rem, 1.1rem + 1.9vw, 2.5rem); line-height: 1.4; max-width: 42ch; margin: var(--s5) auto var(--s6); }
.quote__t .ph { background: rgba(255,255,255,.16); box-shadow: none; }
.quote__av { background: rgba(255,255,255,.15); border-color: rgba(255,255,255,.4); color: #fff; }
.quote__name { color: #fff; }
.quote__role { color: rgba(255,255,255,.78); }
