/* =====================================================================
   The Easy Rebate: site styles
   One file. Sections follow the order they appear on pages.
   ===================================================================== */

@font-face {
  font-family: "Jakarta";
  src: url("../fonts/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Jakarta";
  src: url("../fonts/plus-jakarta-sans-latin-wght-italic.woff2") format("woff2");
  font-weight: 200 800; font-style: italic; font-display: swap;
}

:root {
  /* colour */
  --bg: #F4F3EC;            /* page ground */
  --surface: #FFFFFF;       /* light panels */
  --surface-2: #F1EFE2;     /* soft rows */
  --ink: #1C3832;           /* pine panels */
  --ink-2: #26473F;         /* raised surface on pine */
  --ink-line: rgba(255, 255, 255, .12);
  --fg: #13201D;            /* text */
  --fg-2: #46534F;          /* secondary text */
  --fg-3: #5E6A66;          /* tertiary text (4.9:1 on --bg) */
  --on-ink: #F4F3EC;        /* text on pine */
  --on-ink-2: #BFCFC9;      /* secondary text on pine */
  --lime: #DDF26B;          /* primary action */
  --lime-hover: #CFE853;
  --orange: #E8743B;        /* diamond + badges */
  --orange-text: #B24A14;   /* orange text on light (5:1) */
  --orange-on-ink: #F6A877;
  --cyan: #52C7D8;
  --violet: #7B6CF0;
  --line: rgba(19, 32, 29, .1);
  --focus: #2F7A5C;

  /* shape + depth */
  --r-panel: 32px;
  --r-card: 20px;
  --r-img: 20px;
  --r-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(28, 56, 50, .05), 0 2px 8px rgba(28, 56, 50, .05);
  --shadow-md: 0 6px 16px rgba(28, 56, 50, .07), 0 18px 40px rgba(28, 56, 50, .06);

  /* layout */
  --gutter: clamp(16px, 2.2vw, 28px);
  --wrap: 1240px;
  --section: clamp(72px, 9vw, 128px);

  /* motion */
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font: 400 1.0625rem/1.6 "Jakarta", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--lime); color: var(--ink); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.panel--dark :focus-visible, .is-on-dark :focus-visible { outline-color: var(--lime); }

h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.1; letter-spacing: -0.03em; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 5vw, 4.25rem); font-weight: 500; letter-spacing: -0.03em; line-height: 1.06; }
h2 { font-size: clamp(2rem, 3.6vw, 3.125rem); font-weight: 500; letter-spacing: -0.02em; }
h3 { font-size: 1.3125rem; letter-spacing: -0.02em; line-height: 1.25; }
p { margin: 0; text-wrap: pretty; }
.lede { font-size: clamp(1.0625rem, 1.3vw, 1.1875rem); color: var(--fg-2); max-width: 58ch; }
.panel--dark .lede { color: var(--on-ink-2); }
.num { font-variant-numeric: tabular-nums; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: var(--on-ink); padding: 10px 16px; border-radius: 10px; }
.skip-link:focus { top: 16px; }

.icon { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- layout ---------- */
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.section { padding-block: var(--section); }
.section--tight { padding-block: calc(var(--section) * .6); }
.panel { margin-inline: 16px; border-radius: var(--r-panel); position: relative; }
.panel--dark { background: var(--ink); color: var(--on-ink); overflow: hidden; }
.panel--light { background: var(--surface); }
.panel--lime { background: var(--lime); color: var(--ink); overflow: hidden; }
.panel--lime .lede { color: #34421F; }
.panel--lime .badge-float--lime { background: var(--ink); color: var(--lime); }
.panel--lime .dot--lime { background: var(--ink); }
.panel--lime .btn--outline { --btn-bd: rgba(28, 56, 50, .45); }
.panel--lime :focus-visible { outline-color: var(--ink); }
.stack > * + * { margin-top: 1.25rem; }
.center { text-align: center; }
.center .lede { margin-inline: auto; }

/* ---------- eyebrow: orange diamond echoing the logo's £ diamond ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--orange-text);
}
.eyebrow::before { content: ""; width: 9px; height: 9px; background: var(--orange); transform: rotate(45deg); border-radius: 1px; }
.panel--dark .eyebrow, .eyebrow--on-dark { color: var(--lime); }
.panel--dark .eyebrow::before { background: var(--lime); }

/* ---------- buttons ---------- */
.btn {
  --btn-bg: var(--ink); --btn-fg: var(--on-ink); --btn-bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 52px; padding: 0 1.5rem; border-radius: var(--r-pill);
  background: var(--btn-bg); color: var(--btn-fg); border: 1.5px solid var(--btn-bd);
  font-weight: 600; font-size: 1rem; line-height: 1; text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .1s ease-out;
}
.btn .icon { transition: transform .3s var(--ease-out); }
.btn:hover .icon { transform: translateX(3px); }
.btn:active { transform: scale(.97); }
.btn--sm { min-height: 44px; padding: 0 1.15rem; font-size: .9375rem; }
.btn--lime { --btn-bg: var(--lime); --btn-fg: var(--ink); }
.btn--lime:hover { --btn-bg: var(--lime-hover); }
.btn--dark:hover { --btn-bg: #10261F; }
.btn--light { --btn-bg: var(--surface); --btn-fg: var(--ink); }
.btn--light:hover { --btn-bg: var(--lime); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--on-ink); --btn-bd: rgba(244, 243, 236, .45); }
.btn--ghost:hover { --btn-bd: var(--on-ink); --btn-bg: rgba(244, 243, 236, .06); }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: rgba(28, 56, 50, .35); }
.btn--outline:hover { --btn-bd: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.center .btn-row { justify-content: center; }
.text-link { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; color: var(--ink); text-decoration: none; border-bottom: 1.5px solid currentColor; padding-bottom: 2px; }
.text-link:hover .icon { transform: translateX(3px); }
.text-link .icon { transition: transform .3s var(--ease-out); }
.link-button { background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: .2em; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; padding: 16px 16px 0; }
.site-header__inner {
  display: flex; align-items: center; gap: 1.5rem;
  max-width: calc(var(--wrap) + 48px); margin-inline: auto;
  padding: 10px 12px 10px 20px; border-radius: var(--r-pill);
  transition: background-color .35s ease, box-shadow .35s ease, color .35s ease;
}
.site-header.is-scrolled .site-header__inner {
  background: rgba(244, 243, 236, .82); box-shadow: var(--shadow-md);
  -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%);
}
.brand { display: block; flex: none; }
.brand__logo { height: 54px; width: auto; }
.brand__logo--white { display: none; }
.site-nav { flex: 1; display: flex; justify-content: center; }
.site-nav ul { display: flex; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.site-nav a { display: block; padding: .55rem .85rem; border-radius: var(--r-pill); font-size: .9375rem; font-weight: 500; text-decoration: none; position: relative; transition: background-color .2s ease; }
.site-nav a:hover { background: rgba(28, 56, 50, .07); }
.site-nav a[aria-current="page"]::after { content: ""; position: absolute; left: 50%; bottom: 2px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--orange); }
.site-nav .site-nav__phone { display: none; }
.site-header__actions { display: flex; align-items: center; gap: .75rem; flex: none; }
.header-phone { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; font-size: .9375rem; text-decoration: none; padding: .5rem .25rem; }
.nav-toggle { display: none; }

/* header sitting on the home page's dark hero, until the visitor scrolls */
.is-on-dark:not(.is-scrolled) { color: var(--on-ink); }
.is-on-dark:not(.is-scrolled) .brand__logo--green { display: none; }
.is-on-dark:not(.is-scrolled) .brand__logo--white { display: block; }
.is-on-dark:not(.is-scrolled) .site-nav a:hover { background: rgba(244, 243, 236, .1); }
.is-on-dark:not(.is-scrolled) .site-nav a[aria-current="page"]::after { background: var(--lime); }
.has-dark-hero .site-header { margin-bottom: -94px; }
.has-dark-hero .site-header__inner { max-width: calc(var(--wrap) + 24px); }

@media (max-width: 1080px) {
  .header-phone span { display: none; }
}
@media (max-width: 960px) {
  .site-header__inner { gap: .75rem; padding-left: 14px; }
  .brand__logo { height: 40px; }
  .nav-toggle {
    display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
    background: var(--ink); border: 0; cursor: pointer; color: var(--on-ink);
  }
  .is-on-dark:not(.is-scrolled) .nav-toggle { background: rgba(244, 243, 236, .12); }
  .nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .3s var(--ease-out), opacity .2s; }
  .nav-toggle__bars { position: relative; }
  .nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle__bars::before { top: -6px; } .nav-toggle__bars::after { top: 6px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }
  .header-phone { display: inline-grid; place-items: center; width: 46px; height: 46px; padding: 0; border-radius: 50%; background: rgba(28, 56, 50, .08); }
  .header-phone .icon { width: 22px; height: 22px; }
  .is-on-dark:not(.is-scrolled) .header-phone { background: rgba(244, 243, 236, .12); }
  .site-header__actions { margin-left: auto; }
  .site-nav {
    position: absolute; left: 16px; right: 16px; top: calc(100% + 8px);
    display: block; padding: 12px; border-radius: 24px; background: var(--surface); color: var(--fg); box-shadow: var(--shadow-md);
    opacity: 0; transform: translateY(-8px) scale(.98); transform-origin: top right; visibility: hidden;
    transition: opacity .25s ease, transform .35s var(--ease-out), visibility 0s .35s;
  }
  .site-nav.is-open { opacity: 1; transform: none; visibility: visible; transition: opacity .25s ease, transform .35s var(--ease-out); }
  .site-nav ul { flex-direction: column; }
  .site-nav a { padding: .9rem 1rem; font-size: 1.0625rem; }
  .is-on-dark:not(.is-scrolled) .site-nav a:hover { background: rgba(28, 56, 50, .07); }
  .site-nav a[aria-current="page"] { background: var(--surface-2); }
  .site-nav a[aria-current="page"]::after { display: none; }
  .site-nav .site-nav__phone { display: flex; align-items: center; gap: .5rem; margin-top: 8px; padding: 1rem; border-radius: 16px; background: var(--ink); color: var(--on-ink); font-weight: 600; text-decoration: none; }
}
@media (max-width: 420px) { .site-header__actions { gap: .4rem; } .site-header__actions .btn { padding: 0 .8rem; font-size: .8125rem; } .brand__logo { height: 34px; } .header-phone, .nav-toggle { width: 42px; height: 42px; } }

/* ---------- floating badges (reference: coloured circles drifting on dark panels) ---------- */
.badge-float { position: absolute; display: grid; place-items: center; border-radius: 50%; color: var(--ink); pointer-events: none; z-index: 0; }
.badge-float .icon { width: 46%; height: 46%; }
.badge-float--lime { background: var(--lime); }
.badge-float--cyan { background: var(--cyan); }
.badge-float--orange { background: var(--orange); color: #fff; }
.badge-float--violet { background: var(--violet); color: #fff; }
.dot { position: absolute; width: 8px; height: 8px; border-radius: 50%; pointer-events: none; }
.dot--lime { background: var(--lime); } .dot--orange { background: var(--orange); } .dot--violet { background: #9C90F6; } .dot--cyan { background: var(--cyan); }
.grid-lines { position: absolute; inset: auto 0 0 0; height: 45%; pointer-events: none; opacity: .5;
  background-image: linear-gradient(var(--ink-line) 1px, transparent 1px), linear-gradient(90deg, var(--ink-line) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: linear-gradient(to top, #000 0%, transparent 90%); -webkit-mask-image: linear-gradient(to top, #000 0%, transparent 90%); }

/* ---------- home hero ---------- */
.hero { padding: 132px 0 clamp(56px, 7vw, 96px); min-height: min(100dvh, 860px); display: flex; align-items: center; }
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero__copy { display: grid; gap: 1.5rem; justify-items: start; }
.hero__copy .lede { max-width: 44ch; }
.hero h1 { font-size: clamp(2.5rem, 4.3vw, 3.875rem); }
.hero .btn-row { margin-top: .5rem; }
.hero__trust { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin-top: .75rem; color: var(--on-ink-2); font-size: .9375rem; }
.hero__trust span { display: inline-flex; align-items: center; gap: .45rem; }
.hero__trust .icon { color: var(--lime); }

/* ---------- estimator ---------- */
.estimator { position: relative; z-index: 1; background: var(--surface); color: var(--fg); border-radius: 28px; padding: clamp(22px, 2.6vw, 34px); box-shadow: 0 30px 80px rgba(6, 20, 16, .35); }
.estimator__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; }
.estimator__title { font-size: 1.0625rem; font-weight: 700; letter-spacing: -0.01em; }
.estimator__year { font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); background: var(--lime); padding: .35rem .7rem; border-radius: var(--r-pill); }
.estimator__fields { display: grid; gap: .9rem; }
.estimator__fields--3 { grid-template-columns: 1fr 1fr; }
.estimator__fields--3 fieldset { grid-column: 1 / -1; }
.field { display: grid; gap: .4rem; }
.field label, .field .label { font-size: .875rem; font-weight: 600; color: var(--fg-2); }
.field .hint { font-size: .8125rem; color: var(--fg-3); }
.money { position: relative; }
.money::before { content: "£"; position: absolute; left: 16px; top: 50%; transform: translateY(-50%); font-weight: 600; color: var(--fg-3); }
.input, .money input, select.input, textarea.input {
  width: 100%; min-height: 52px; padding: .8rem 1rem; border-radius: 14px;
  border: 1.5px solid #C9CEC7; background: #FBFBF7; color: var(--fg); font-size: 1.0625rem;
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.money input { padding-left: 2.1rem; font-variant-numeric: tabular-nums; font-weight: 600; }
.input:hover, .money input:hover { border-color: #9FA8A1; }
.input:focus, .money input:focus { outline: none; border-color: var(--ink); background: #fff; box-shadow: 0 0 0 4px rgba(221, 242, 107, .7); }
.input::placeholder { color: #727D79; }
.segmented { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 14px; background: var(--surface-2); border: 1.5px solid #DAD8CB; }
.segmented input { position: absolute; opacity: 0; pointer-events: none; }
.segmented label { display: grid; place-items: center; min-height: 42px; border-radius: 10px; font-weight: 600; font-size: .9375rem; color: var(--fg-2); cursor: pointer; transition: background-color .2s ease, color .2s ease; }
.segmented input:checked + label { background: var(--ink); color: var(--on-ink); }
.segmented input:focus-visible + label { outline: 3px solid var(--focus); outline-offset: 1px; }
.estimator__result { margin-top: 1.25rem; padding: 1.25rem 1.25rem 1.1rem; border-radius: 18px; background: var(--ink); color: var(--on-ink); }
.estimator__label { font-size: .875rem; color: var(--on-ink-2); }
.estimator__amount { display: block; font-size: clamp(2.5rem, 4.4vw, 3.5rem); font-weight: 700; letter-spacing: -0.04em; line-height: 1.05; color: var(--lime); font-variant-numeric: tabular-nums; margin-top: .15rem; }
.estimator__result.is-owed .estimator__amount { color: var(--orange-on-ink); }
.estimator__breakdown { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; margin: 1rem 0 0; padding: .9rem 0 0; border-top: 1px solid var(--ink-line); }
.estimator__breakdown dt { font-size: .75rem; color: var(--on-ink-2); }
.estimator__breakdown dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; font-size: .9375rem; }
.estimator__foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1rem; flex-wrap: wrap; }
.estimator__note { font-size: .8125rem; color: var(--fg-3); max-width: 34ch; line-height: 1.45; }

/* ---------- audience list (reference "Why choose our service": heading left, stacked rows right) ---------- */
.split { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.split__intro { position: sticky; top: 120px; display: grid; gap: 1.25rem; justify-items: start; }
.rows { display: grid; gap: 12px; }
.row {
  display: grid; grid-template-columns: auto 1fr auto; gap: 1.1rem; align-items: start;
  padding: 1.5rem 1.6rem; border-radius: var(--r-card); background: var(--surface-2);
  text-decoration: none; color: inherit;
  transition: background-color .45s var(--ease-out), color .45s var(--ease-out), transform .2s ease-out;
}
.row__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--ink); color: var(--lime); transition: background-color .45s var(--ease-out), color .45s var(--ease-out); }
.row__icon .icon { width: 24px; height: 24px; }
.row h3 { margin-bottom: .35rem; }
.row p { color: var(--fg-2); font-size: .975rem; transition: color .45s var(--ease-out); }
.row__arrow { width: 22px; height: 22px; margin-top: 4px; opacity: .5; transition: transform .3s var(--ease-out), opacity .3s; }
.row.is-active, .row:hover { background: var(--ink); color: var(--on-ink); }
.row.is-active p, .row:hover p { color: var(--on-ink-2); }
.row.is-active .row__icon, .row:hover .row__icon { background: var(--lime); color: var(--ink); }
.row:hover .row__arrow { transform: translate(3px, -3px); opacity: 1; }
.row:active { transform: scale(.99); }

/* ---------- numbers strip ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.stat { padding: 2rem 1.5rem 0 0; }
.stat + .stat { padding-left: 1.5rem; border-left: 1px solid var(--line); }
.stat__value { display: block; font-size: clamp(2.5rem, 4.6vw, 4rem); font-weight: 700; letter-spacing: -0.045em; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.stat__label { display: block; margin-top: .75rem; color: var(--fg-2); font-size: .975rem; max-width: 22ch; }

/* ---------- process (dark panel, scroll-drawn line) ---------- */
.process { padding-block: clamp(80px, 9vw, 128px); }
.process__head { position: relative; z-index: 1; max-width: 640px; margin-inline: auto; text-align: center; display: grid; gap: 1.1rem; justify-items: center; }
.process__track { position: relative; z-index: 1; margin-top: clamp(48px, 6vw, 80px); }
.process__line { position: absolute; left: 0; right: 0; top: 27px; height: 2px; background: var(--ink-line); }
.process__line span { position: absolute; inset: 0; background: var(--lime); transform-origin: left center; }
.process__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.process__step { position: relative; display: grid; gap: .8rem; align-content: start; }
.process__num { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--ink-2); border: 2px solid var(--ink); box-shadow: 0 0 0 1px var(--ink-line); color: var(--lime); font-weight: 700; font-size: 1.0625rem; font-variant-numeric: tabular-nums; }
.process__step h3 { margin-top: .5rem; }
.process__step p { color: var(--on-ink-2); font-size: .975rem; }

/* ---------- feature row (text + image) ---------- */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.feature--reverse .feature__media { order: -1; }
.feature__copy { display: grid; gap: 1.25rem; justify-items: start; }
.feature__media { position: relative; }
.feature__media img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; border-radius: var(--r-img); }
.feature__media--wide img { aspect-ratio: 4 / 3; }
.media-chip { position: absolute; display: flex; align-items: center; gap: .75rem; padding: .85rem 1.1rem; border-radius: 18px; background: var(--surface); box-shadow: var(--shadow-md); font-size: .9375rem; }
.media-chip strong { display: block; font-size: 1.25rem; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.media-chip span { color: var(--fg-3); font-size: .8125rem; }
.media-chip__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--lime); color: var(--ink); }
.media-chip--bl { left: -24px; bottom: 32px; }
.media-chip--tr { right: -20px; top: 32px; }
.small-print { font-size: .875rem; color: var(--fg-3); max-width: 60ch; }

.timeline { list-style: none; margin: .5rem 0 0; padding: 0; display: grid; gap: 0; width: 100%; }
.timeline li { display: grid; grid-template-columns: max-content 1fr; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.timeline li:first-child { border-top: 1px solid var(--line); }
.timeline strong { white-space: nowrap; font-size: 1.375rem; letter-spacing: -0.03em; color: var(--ink); font-variant-numeric: tabular-nums; }
.timeline span { color: var(--fg-2); }

/* ---------- comparison table (reference: highlighted dark column) ---------- */
.compare { margin-top: clamp(40px, 5vw, 64px); position: relative; }
.compare table { width: 100%; border-collapse: separate; border-spacing: 0; }
.compare th, .compare td { padding: 1.05rem 1.25rem; text-align: center; }
.compare thead th { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--fg-3); padding-bottom: 1.25rem; }
.compare th[scope="row"] { text-align: left; font-weight: 500; }
.compare tbody tr:nth-child(odd) th, .compare tbody tr:nth-child(odd) td { background: var(--surface-2); }
.compare tbody tr th:first-child { border-radius: 14px 0 0 14px; }
.compare tbody tr td:last-child { border-radius: 0 14px 14px 0; }
.compare .is-us { background: var(--ink) !important; color: var(--lime); width: 26%; }
.compare thead .is-us { border-radius: 22px 22px 0 0; color: var(--lime); padding-top: 1.5rem; }
.compare tbody tr:last-child .is-us { border-radius: 0 0 22px 22px; padding-bottom: 1.5rem; }
.tick { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--lime); color: var(--ink); }
.tick .icon { width: 16px; height: 16px; }
.tick--muted { background: transparent; color: var(--fg-3); }
.compare td:not(.is-us) .tick { background: var(--ink); color: var(--lime); }
.compare .dash { color: var(--fg-3); font-weight: 600; }

/* ---------- bento (home services preview: one of max two card sections) ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(220px, auto); gap: 16px; margin-top: clamp(40px, 5vw, 64px); }
.tile { position: relative; overflow: hidden; border-radius: var(--r-card); padding: 1.75rem; display: flex; flex-direction: column; justify-content: flex-end; gap: .6rem; text-decoration: none; color: inherit; background: var(--surface); box-shadow: var(--shadow-sm); isolation: isolate; transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out); }
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.tile:active { transform: translateY(-1px) scale(.995); }
.tile p { color: var(--fg-2); font-size: .975rem; max-width: 42ch; }
.tile__icon { position: absolute; top: 1.5rem; left: 1.75rem; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--ink); color: var(--lime); }
.tile__icon .icon { width: 24px; height: 24px; }
.tile__go { position: absolute; top: 1.5rem; right: 1.5rem; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--line); transition: background-color .3s, transform .35s var(--ease-out); }
.tile:hover .tile__go { background: var(--lime); transform: rotate(-45deg); border-color: var(--lime); }
.tile__go .icon { width: 18px; height: 18px; }
.tile--photo { color: #fff; min-height: 460px; }
.tile--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease-out); }
.tile--photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(12, 28, 24, 0) 30%, rgba(12, 28, 24, .86) 100%); }
.tile--photo:hover img { transform: scale(1.04); }
.tile--photo p { color: rgba(255, 255, 255, .85); }
.tile--photo .tile__go { border-color: rgba(255, 255, 255, .5); }
.tile--photo .tile__go .icon { color: #fff; }
.tile--photo:hover .tile__go .icon { color: var(--ink); }
.tile--dark { background: var(--ink); color: var(--on-ink); }
.tile--dark p { color: var(--on-ink-2); }
.tile--dark .tile__icon { background: var(--lime); color: var(--ink); }
.tile--dark .tile__go { border-color: var(--ink-line); }
.tile--lime { background: var(--lime); }
.tile--lime p { color: #3A4A2A; }
.tile--lime .tile__go { border-color: rgba(28, 56, 50, .25); }
.tile--violet { background: var(--violet); color: #fff; }
.tile--violet p { color: rgba(255, 255, 255, .88); }
.tile--violet .tile__icon { background: #fff; color: var(--violet); }
.tile--violet .tile__go { border-color: rgba(255, 255, 255, .45); }
.span-3 { grid-column: span 3; } .span-2 { grid-column: span 2; } .span-4 { grid-column: span 4; }
.row-2 { grid-row: span 2; }

/* ---------- FAQ accordion ---------- */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-wrap--single { grid-template-columns: 1fr; max-width: 860px; margin-inline: auto; }
.faq-list { display: grid; gap: 10px; }
.faq-item { border-radius: 18px; background: var(--surface); box-shadow: var(--shadow-sm); interpolate-size: allow-keywords; }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.25rem 1.4rem; cursor: pointer; list-style: none; font-weight: 600; font-size: 1.0625rem; letter-spacing: -0.01em; border-radius: 18px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-toggle { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--surface-2); transition: transform .35s var(--ease-out), background-color .25s ease; }
.faq-toggle .icon { width: 16px; height: 16px; }
.faq-item[open] .faq-toggle { transform: rotate(45deg); background: var(--lime); }
.faq-item summary:hover .faq-toggle { background: var(--lime); }
.faq-answer { padding: 0 1.4rem 1.4rem; color: var(--fg-2); max-width: 68ch; }
.faq-answer p + p { margin-top: .75rem; }
.faq-item::details-content { block-size: 0; overflow: clip; transition: block-size .4s var(--ease-out), content-visibility .4s allow-discrete; }
.faq-item[open]::details-content { block-size: auto; }

/* ---------- closing CTA (dark panel) ---------- */
.cta { padding: clamp(72px, 8vw, 112px) clamp(20px, 6vw, 64px); text-align: center; }
.cta__inner { position: relative; z-index: 1; display: grid; gap: 1.25rem; justify-items: center; max-width: 700px; margin-inline: auto; }

/* ---------- inner page hero (reference: white rounded panel, text left, image right) ---------- */
.page-hero { padding: clamp(28px, 4vw, 56px); }
.page-hero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.page-hero__copy { display: grid; gap: 1.35rem; justify-items: start; padding-block: clamp(8px, 2vw, 32px); }
.page-hero__copy h1 { font-size: clamp(2.375rem, 4.4vw, 3.75rem); }
.page-hero__media { position: relative; }
.page-hero__media img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 24px; }
.page-hero--text .page-hero__grid { grid-template-columns: 1fr; text-align: center; }
.page-hero--text .page-hero__copy { justify-items: center; padding-block: clamp(32px, 5vw, 72px); }
.page-hero--text .lede { margin-inline: auto; }
.page-shell { padding-top: 16px; }

/* ---------- pillars (no card containers: icon + rule) ---------- */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 40px); margin-top: clamp(40px, 5vw, 64px); }
.pillar { display: grid; gap: .75rem; padding-top: 1.5rem; border-top: 2px solid var(--ink); align-content: start; }
.pillar__icon { color: var(--orange-text); }
.pillar__icon .icon { width: 30px; height: 30px; }
.pillar p { color: var(--fg-2); font-size: .975rem; }

/* ---------- service grid (services page: one of max two card sections) ---------- */
.service-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(28px, 3vw, 40px) clamp(20px, 3vw, 40px); margin-top: clamp(40px, 5vw, 64px); }
.service { grid-column: span 4; display: grid; gap: .8rem; align-content: start; padding: 1.75rem 1rem 0 0; border-top: 1.5px solid rgba(28, 56, 50, .18); }
.service--wide { grid-column: span 12; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; padding: clamp(1.5rem, 3vw, 2.5rem); border: 0; border-radius: var(--r-card); background: var(--surface); box-shadow: var(--shadow-sm); margin-bottom: clamp(16px, 2vw, 32px); }
.service--wide img { width: 100%; height: 100%; min-height: 240px; object-fit: cover; border-radius: 16px; }
.service--dark { background: var(--ink); color: var(--on-ink); }
.service.service--dark p { color: var(--on-ink-2); }
.service--dark .service__icon { background: var(--lime); color: var(--ink); }
.service__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--ink); color: var(--lime); }
.service__icon .icon { width: 26px; height: 26px; }
.service p { color: var(--fg-2); font-size: .975rem; }
.service__body { display: grid; gap: .8rem; align-content: start; }

/* ---------- checklist ---------- */
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checklist li { display: flex; align-items: flex-start; gap: .85rem; padding: 1rem 1.15rem; border-radius: 16px; background: var(--surface); font-weight: 500; }
.check { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--lime); color: var(--ink); margin-top: -1px; }
.check .icon { width: 15px; height: 15px; }

/* ---------- MTD timeline (dark) ---------- */
.mtd { padding: clamp(40px, 6vw, 88px); }
.mtd__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.mtd__copy { display: grid; gap: 1.25rem; justify-items: start; }
.mtd__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.mtd__step { display: grid; grid-template-columns: auto 1fr; gap: 1.25rem; align-items: center; padding: 1.25rem 1.4rem; border-radius: 18px; border: 1.5px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .04); }
.mtd__step.is-now { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.mtd__date { font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--on-ink-2); }
.mtd__step.is-now .mtd__date { color: #3B4B22; }
.mtd__amount { font-size: clamp(1.75rem, 3vw, 2.25rem); font-weight: 700; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; line-height: 1; }
.mtd__desc { font-size: .9375rem; color: var(--on-ink-2); }
.mtd__step.is-now .mtd__desc { color: #2E3B1C; }
.mtd__ring { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: rgba(255, 255, 255, .08); color: var(--lime); }
.mtd__step.is-now .mtd__ring { background: var(--ink); }

/* ---------- worked example (CIS page) ---------- */
.example { background: var(--surface); border-radius: 24px; padding: clamp(22px, 3vw, 36px); box-shadow: var(--shadow-md); }
.example__label { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--fg-3); }
.example dl { margin: 1rem 0 0; display: grid; }
.example__row { display: flex; justify-content: space-between; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.example__row dt { color: var(--fg-2); }
.example__row dd { margin: 0; font-weight: 600; }
.example__row--minus dd { color: var(--orange-text); }
.example__total { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-top: 1rem; padding: 1.1rem 1.25rem; border-radius: 16px; background: var(--ink); color: var(--on-ink); }
.example__total dd { margin: 0; font-size: clamp(1.75rem, 3vw, 2.25rem); font-weight: 700; letter-spacing: -0.04em; color: var(--lime); font-variant-numeric: tabular-nums; }

/* ---------- expense grid (CIS page: one of max two card sections) ---------- */
.expense-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 3vw, 40px) clamp(20px, 3vw, 40px); margin-top: clamp(40px, 5vw, 64px); }
.expense { display: grid; grid-template-columns: auto 1fr; gap: 1rem; padding: 1.5rem 1rem 0 0; border-top: 1.5px solid rgba(28, 56, 50, .18); align-items: start; }
.expense h3 { font-size: 1.125rem; margin-bottom: .3rem; }
.expense p { color: var(--fg-2); font-size: .95rem; }
.expense__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--ink); color: var(--lime); }
.expense__icon .icon { width: 22px; height: 22px; }

/* ---------- documents list ---------- */
.docs { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.doc-list { list-style: none; margin: 0; padding: 0; counter-reset: doc; }
.doc-list li { display: grid; grid-template-columns: 44px 1fr; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.doc-list li:first-child { border-top: 1px solid var(--line); }
.doc-list .icon { width: 26px; height: 26px; color: var(--ink); margin-top: 2px; }
.note { display: flex; gap: .85rem; align-items: flex-start; padding: 1.1rem 1.25rem; border-radius: 16px; background: var(--lime); color: var(--ink); font-weight: 500; }
.note .icon { margin-top: 2px; }

/* ---------- channels (about page) ---------- */
.channels { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: clamp(32px, 4vw, 48px); }
.channel { display: inline-flex; align-items: center; gap: .7rem; padding: .9rem 1.4rem .9rem 1rem; border-radius: var(--r-pill); background: var(--surface); box-shadow: var(--shadow-sm); font-weight: 600; font-size: 1.0625rem; }
.channel__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: var(--ink); }
.channel:nth-child(1) .channel__icon { background: var(--lime); }
.channel:nth-child(2) .channel__icon { background: #CFEFF4; }
.channel:nth-child(3) .channel__icon { background: #FBD9C6; }
.channel:nth-child(4) .channel__icon { background: #DEDAFC; }
.channel:nth-child(5) .channel__icon { background: var(--surface-2); }

/* ---------- story / quote (about page) ---------- */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.story__body { display: grid; gap: 1.1rem; color: var(--fg-2); font-size: 1.0625rem; }
.quote { margin: 0; font-size: clamp(1.625rem, 2.8vw, 2.25rem); font-weight: 500; letter-spacing: -0.03em; line-height: 1.25; color: var(--ink); }
.quote::before { content: "\201C"; display: block; font-size: 4rem; line-height: .6; color: var(--orange); margin-bottom: .5rem; }

/* ---------- values (about page, large numbered statements) ---------- */
.values { list-style: none; margin: clamp(40px, 5vw, 64px) 0 0; padding: 0; display: grid; }
.value { display: grid; grid-template-columns: minmax(180px, .6fr) 1fr; gap: 2rem; padding: clamp(24px, 3vw, 40px) 0; border-top: 1px solid var(--line); align-items: baseline; }
.value:last-child { border-bottom: 1px solid var(--line); }
.value h3 { font-size: clamp(1.75rem, 3.4vw, 2.75rem); letter-spacing: -0.04em; display: flex; align-items: center; gap: .9rem; }
.value h3 .icon { width: .8em; height: .8em; color: var(--orange-text); }
.value p { color: var(--fg-2); font-size: 1.125rem; max-width: 52ch; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.contact-info { display: grid; gap: 1.5rem; justify-items: start; }
.contact-methods { list-style: none; margin: .5rem 0 0; padding: 0; display: grid; gap: 12px; width: 100%; }
.contact-method { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.15rem; border-radius: 18px; background: var(--surface); box-shadow: var(--shadow-sm); text-decoration: none; transition: transform .2s ease-out, box-shadow .3s; }
.contact-method:hover { box-shadow: var(--shadow-md); }
.contact-method:active { transform: scale(.99); }
.contact-method__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--ink); color: var(--lime); flex: none; }
.contact-method small { display: block; color: var(--fg-3); font-size: .8125rem; }
.contact-method strong { font-size: 1.0625rem; }
.form-card { background: var(--surface); border-radius: 28px; padding: clamp(22px, 3.4vw, 44px); box-shadow: var(--shadow-md); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.1rem; }
.form-grid .full { grid-column: 1 / -1; }
.field .req { color: var(--orange-text); }
textarea.input { min-height: 140px; resize: vertical; }
select.input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256' fill='%2313201D'%3E%3Cpath d='M213.66,101.66l-80,80a8,8,0,0,1-11.32,0l-80-80A8,8,0,0,1,53.66,90.34L128,164.69l74.34-74.35a8,8,0,0,1,11.32,11.32Z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; background-size: 18px; padding-right: 2.75rem; }
.consent { display: flex; gap: .75rem; align-items: flex-start; font-size: .9375rem; color: var(--fg-2); }
.consent input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--ink); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field-error { color: #A12A12; font-size: .875rem; font-weight: 500; }
.input[aria-invalid="true"] { border-color: #C2411C; }
.form-status { margin-top: 1rem; padding: 1rem 1.15rem; border-radius: 14px; font-weight: 500; }
.form-status--error { background: #FCE6DC; color: #7C2410; }
.form-success { display: grid; gap: 1rem; justify-items: start; padding: 1rem 0; }
.form-success__icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--lime); color: var(--ink); }
.form-success__icon .icon { width: 32px; height: 32px; }
.btn[aria-busy="true"] { opacity: .7; pointer-events: none; }

/* ---------- legal pages ---------- */
.prose { max-width: 760px; margin-inline: auto; color: var(--fg-2); }
.prose h2 { font-size: 1.625rem; color: var(--fg); margin: 2.5rem 0 .75rem; }
.prose h3 { font-size: 1.1875rem; color: var(--fg); margin: 1.75rem 0 .5rem; }
.prose p, .prose ul, .prose table { margin: 0 0 1rem; }
.prose ul { padding-left: 1.25rem; }
.prose li + li { margin-top: .35rem; }
.prose table { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.prose th, .prose td { text-align: left; padding: .7rem .75rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { color: var(--fg); }
.prose a { color: var(--ink); font-weight: 600; }
.placeholder { background: #FFF4C2; color: #5C4A00; padding: 0 .25em; border-radius: 4px; }

/* ---------- footer ---------- */
.site-footer { padding: 16px 0; }
.site-footer__panel { padding: clamp(32px, 5vw, 64px); }
.site-footer__top { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; padding-bottom: clamp(28px, 4vw, 48px); border-bottom: 1px solid var(--ink-line); }
.site-footer__statement { display: flex; gap: 1.25rem; align-items: center; max-width: 640px; }
.site-footer__statement p { font-size: clamp(1.125rem, 1.8vw, 1.5rem); font-weight: 500; letter-spacing: -0.02em; line-height: 1.35; }
.footer-mark { display: grid; place-items: center; flex: none; width: 56px; height: 56px; border-radius: 50%; background: var(--lime); color: var(--ink); transform: rotate(45deg); border-radius: 14px; }
.footer-mark .icon { transform: rotate(-45deg); width: 26px; height: 26px; }
.site-footer__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; padding-block: clamp(28px, 4vw, 48px); }
.footer-heading { font-size: .8125rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--on-ink-2); margin-bottom: 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.site-footer a:not(.btn), .site-footer .link-button { color: var(--on-ink); text-decoration: none; font-size: .975rem; }
.site-footer a:not(.btn):hover, .site-footer .link-button:hover { color: var(--lime); }
.footer-contact a { display: inline-flex; align-items: center; gap: .55rem; word-break: break-word; }
.footer-contact .icon { color: var(--lime); }
.site-footer__base { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: 1.5rem; border-top: 1px solid var(--ink-line); font-size: .875rem; color: var(--on-ink-2); }
.back-to-top { display: inline-flex; align-items: center; gap: .35rem; color: var(--lime) !important; }
.back-to-top .icon { transform: rotate(-45deg); width: 16px; height: 16px; }

/* ---------- WhatsApp + cookie banner ---------- */
.whatsapp-float { position: fixed; right: 20px; bottom: 20px; z-index: 40; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #0B3B20; box-shadow: 0 10px 30px rgba(11, 59, 32, .3); transition: transform .3s var(--ease-out); }
.whatsapp-float .icon { width: 30px; height: 30px; }
@media (max-width: 900px) { .hero-in-view .whatsapp-float { opacity: 0; transform: scale(.85); pointer-events: none; } .whatsapp-float { transition: transform .3s var(--ease-out), opacity .25s ease; } }
.whatsapp-float:hover { transform: scale(1.06); }
.whatsapp-float:active { transform: scale(.96); }
.cookie-banner { position: fixed; left: 16px; bottom: 16px; z-index: 60; max-width: 440px; padding: 1.25rem; border-radius: 22px; background: var(--surface); box-shadow: 0 20px 60px rgba(19, 32, 29, .2); display: grid; gap: 1rem; font-size: .9375rem; color: var(--fg-2); }
.cookie-banner[hidden] { display: none; }
.cookie-banner a { color: var(--ink); font-weight: 600; }
.cookie-banner__actions { display: flex; gap: .6rem; flex-wrap: wrap; }

/* ---------- section heads ---------- */
.section-head { display: grid; gap: 1.1rem; justify-items: start; max-width: 720px; }
.section-head.center { justify-items: center; margin-inline: auto; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .span-2 { grid-column: span 3; }
  .bento .span-4 { grid-column: span 6; }
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .service { grid-column: span 6; }
  .service--wide { grid-column: span 12; }
  .expense-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .hero { padding-top: 124px; min-height: 0; }
  .hero__grid, .split, .feature, .faq-wrap, .page-hero__grid, .mtd__grid, .docs, .story, .contact-grid { grid-template-columns: 1fr; }
  .split__intro { position: static; }
  .feature--reverse .feature__media { order: 0; }
  .feature__media img { aspect-ratio: 4 / 3; }
  .media-chip--bl { left: 12px; bottom: 12px; }
  .media-chip--tr { right: 12px; top: 12px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 2rem; }
  .process__line { display: none; }
  .process__steps { grid-template-columns: 1fr 1fr; gap: 40px 24px; }
  .value { grid-template-columns: 1fr; gap: .75rem; }
  .site-footer__cols { grid-template-columns: 1fr 1fr; }
  .page-hero__media { order: -1; }
  .badge-float, .dot { display: none; }
}
@media (max-width: 640px) {
  :root { --section: 64px; }
  .panel { margin-inline: 8px; border-radius: 26px; }
  .site-header { padding: 10px 8px 0; }
  .has-dark-hero .site-header { margin-bottom: -86px; }
  .hero { padding-top: 112px; }
  .btn-row .btn { flex: 1 1 auto; }
  .estimator__breakdown { grid-template-columns: 1fr 1fr 1fr; }
  .estimator__fields--3 { grid-template-columns: 1fr; }
  .row { grid-template-columns: auto 1fr; padding: 1.25rem; }
  .row__arrow { display: none; }
  .bento { grid-template-columns: 1fr; }
  .bento > * { grid-column: auto !important; grid-row: auto !important; }
  .tile { min-height: 220px; }
  .tile--photo { min-height: 340px; }
  .process__steps { grid-template-columns: 1fr; }
  .pillars, .expense-grid { grid-template-columns: 1fr; }
  .service, .service--wide { grid-column: span 12; grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .site-footer__cols { grid-template-columns: 1fr; }
  .compare th, .compare td { padding: .85rem .6rem; font-size: .9375rem; }
  .compare thead th { font-size: .6875rem; letter-spacing: .06em; }
  .timeline li { grid-template-columns: max-content 1fr; gap: .85rem; }
  .whatsapp-float { right: 14px; bottom: 14px; width: 54px; height: 54px; }
  .hero { padding: 96px 0 24px; }
  .hero__grid { gap: 24px; }
  .hero__copy { gap: 1rem; }
  .hero h1 { font-size: 2.25rem; }
  .hero .btn--ghost, .hero__trust { display: none; }
  .estimator { padding: 20px; }
  .estimator__head { margin-bottom: .9rem; }
  .estimator__result { margin-top: .9rem; padding: 1rem; }
  .cookie-banner { left: 8px; right: 8px; bottom: 8px; max-width: none; }
}

/* ---------- motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
@media (prefers-reduced-transparency: reduce) {
  .site-header.is-scrolled .site-header__inner { background: var(--bg); backdrop-filter: none; -webkit-backdrop-filter: none; }
}
