/* ============================================================
   TT Astute Accountants — 2026 rebuild
   Self-contained design system. No Bootstrap / no Mobirise.
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  /* Brand palette — drawn from the logo (navy + teal + leaf green) */
  --navy-900: #0a1a30;
  --navy-800: #0d2340;
  --navy-700: #123156;
  --navy-600: #1b4272;
  --teal-500: #1f8a9e;
  --emerald-600: #157a54;
  --emerald-500: #1b9668;
  --emerald-400: #34b483;
  --gold-500: #c9a227;
  --gold-400: #d9b845;

  --ink: #0d1b2a;
  --body: #3a4a5c;
  --muted: #6b7c8f;
  --line: #e4eaf0;
  --line-strong: #cdd8e3;
  --surface: #ffffff;
  --surface-2: #f5f8fb;
  --surface-3: #eef3f8;

  --grad-hero: linear-gradient(135deg, #0a1a30 0%, #123156 55%, #14493f 100%);
  --grad-emerald: linear-gradient(135deg, #157a54 0%, #1f8a9e 100%);

  --shadow-sm: 0 1px 2px rgba(13, 27, 42, .06), 0 1px 3px rgba(13, 27, 42, .05);
  --shadow-md: 0 6px 20px rgba(13, 27, 42, .08), 0 2px 6px rgba(13, 27, 42, .05);
  --shadow-lg: 0 20px 50px rgba(10, 26, 48, .16), 0 6px 16px rgba(10, 26, 48, .08);
  --shadow-emerald: 0 14px 34px rgba(21, 122, 84, .28);

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --container: 1200px;
  --gutter: clamp(20px, 5vw, 48px);

  --font-display: "Sora", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;

  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--body);
  background: var(--surface);
  line-height: 1.65;
  font-size: 1.02rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--emerald-400); outline-offset: 3px; border-radius: 4px; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -.02em;
}
.h-xxl { font-size: clamp(2.4rem, 5.2vw, 4rem); }
.h-xl  { font-size: clamp(2rem, 4vw, 3rem); }
.h-lg  { font-size: clamp(1.6rem, 3vw, 2.25rem); }
.h-md  { font-size: clamp(1.25rem, 2vw, 1.55rem); }
.lead  { font-size: clamp(1.08rem, 1.6vw, 1.28rem); color: var(--body); }
.text-muted { color: var(--muted); }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: clamp(64px, 9vw, 120px); }
.section-sm { padding-block: clamp(48px, 6vw, 80px); }
.center { text-align: center; }
.mx-auto { margin-inline: auto; }
.maxw-720 { max-width: 720px; }
.maxw-620 { max-width: 620px; }

/* eyebrow / kicker */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--emerald-600);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--emerald-500);
  border-radius: 2px;
}
.eyebrow.on-dark { color: var(--emerald-400); }
.eyebrow.center-line { justify-content: center; }

.section-head { max-width: 680px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { margin-inline: auto; }
.section-head p { margin-top: 1rem; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--emerald-600);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: .95rem 1.6rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .98rem;
  letter-spacing: .01em;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1.5px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s, color .2s;
  will-change: transform;
  white-space: nowrap;
}
.btn svg { width: 1.1em; height: 1.1em; }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-emerald); }
.btn-primary { background: var(--grad-emerald); box-shadow: var(--shadow-emerald); }
.btn-gold { --btn-bg: var(--gold-500); --btn-fg: var(--navy-900); }
.btn-gold:hover { box-shadow: 0 14px 34px rgba(201, 162, 39, .34); }
.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-outline:hover { background: var(--ink); color: #fff; border-color: var(--ink); box-shadow: var(--shadow-md); }
.btn-outline.on-dark { color: #fff; border-color: rgba(255,255,255,.35); }
.btn-outline.on-dark:hover { background: #fff; color: var(--navy-900); border-color: #fff; }
.btn-ghost { background: transparent; color: var(--emerald-600); padding-inline: .4rem; }
.btn-ghost:hover { transform: translateX(3px); box-shadow: none; color: var(--emerald-500); }
.btn-lg { padding: 1.1rem 2rem; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* ---------- Top utility bar ---------- */
.topbar {
  background: var(--navy-900);
  color: #cfe0ee;
  font-size: .84rem;
  letter-spacing: .01em;
}
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 42px; flex-wrap: wrap; }
.topbar a { color: #eaf2f9; transition: color .2s; }
.topbar a:hover { color: var(--emerald-400); }
.topbar .tb-left { display: flex; gap: 1.4rem; flex-wrap: wrap; align-items: center; }
.topbar .tb-item { display: inline-flex; align-items: center; gap: .45rem; }
.topbar svg { width: 15px; height: 15px; opacity: .8; }
.topbar .tb-right { display: flex; gap: 1rem; align-items: center; }
.topbar .tb-social a { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: rgba(255,255,255,.08); }
.topbar .tb-social a:hover { background: var(--emerald-500); }
.topbar .tb-social svg { width: 14px; height: 14px; opacity: 1; }
@media (max-width: 760px) { .topbar .tb-right { display: none; } .topbar .tb-item.hide-sm { display: none; } }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s, border-color .3s;
}
/* Background + blur live on a pseudo-element so backdrop-filter does NOT
   create a containing block that would trap the fixed mobile menu. */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.88);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  z-index: -1;
}
.site-header.scrolled { box-shadow: var(--shadow-md); border-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 1.5rem; }
.brand { display: flex; align-items: center; gap: .7rem; }
.brand img { height: 52px; width: auto; }
.brand-txt { display: flex; flex-direction: column; line-height: 1.05; }
.brand-txt strong { font-family: var(--font-display); font-size: 1.12rem; color: var(--ink); letter-spacing: -.01em; }
.brand-txt span { font-size: .66rem; letter-spacing: .22em; text-transform: uppercase; color: var(--emerald-600); font-weight: 600; }

.nav-links { display: flex; align-items: center; gap: .35rem; }
.nav-links > li > a {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: .96rem;
  color: var(--ink);
  padding: .6rem .85rem;
  border-radius: 999px;
  transition: color .2s, background .2s;
  display: inline-flex; align-items: center; gap: .3rem;
}
.nav-links > li > a:hover { color: var(--emerald-600); background: var(--surface-2); }

/* dropdown */
.has-drop { position: relative; }
.drop-toggle svg { width: 12px; height: 12px; transition: transform .25s; }
.has-drop:hover .drop-toggle svg, .has-drop:focus-within .drop-toggle svg { transform: rotate(180deg); }
.drop-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 480px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: .9rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .25rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
}
.has-drop:hover .drop-menu, .has-drop:focus-within .drop-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.drop-menu a {
  display: flex; gap: .7rem; align-items: flex-start;
  padding: .7rem .8rem; border-radius: 10px; transition: background .18s;
}
.drop-menu a:hover { background: var(--surface-2); }
.drop-ico { flex: none; width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: var(--surface-3); color: var(--emerald-600); }
.drop-ico svg { width: 18px; height: 18px; }
.drop-menu strong { display: block; font-family: var(--font-display); font-size: .92rem; color: var(--ink); font-weight: 600; }
.drop-menu small { color: var(--muted); font-size: .78rem; line-height: 1.4; }

.nav-cta { display: flex; align-items: center; gap: .75rem; }

/* burger */
.burger { display: none; width: 46px; height: 46px; border: 1px solid var(--line-strong); border-radius: 12px; background: #fff; position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 22px; }
.burger span:nth-child(3) { top: 28px; }
body.nav-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.nav-open .burger span:nth-child(2) { opacity: 0; }
body.nav-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 980px) {
  .burger { display: block; }
  .nav-links {
    position: fixed; inset: 0 0 0 auto; width: min(360px, 86vw);
    z-index: 95;
    flex-direction: column; align-items: stretch; gap: .2rem;
    background: #fff; padding: 92px 22px 32px; box-shadow: var(--shadow-lg);
    transform: translateX(105%); transition: transform .35s var(--ease);
    overflow-y: auto;
  }
  body.nav-open .nav-links { transform: translateX(0); }
  .nav-links > li > a { font-size: 1.06rem; padding: .85rem .6rem; border-radius: 10px; justify-content: space-between; }
  .drop-menu {
    position: static; opacity: 1; visibility: visible; transform: none; min-width: 0;
    grid-template-columns: 1fr; box-shadow: none; border: none; padding: .2rem 0 .4rem .4rem;
    display: none;
  }
  .has-drop.open .drop-menu { display: grid; }
  .nav-cta .btn:not(.nav-phone) { display: none; }
  .nav-scrim { position: fixed; inset: 0; background: rgba(10,26,48,.5); opacity: 0; visibility: hidden; transition: opacity .3s; z-index: 90; }
  body.nav-open .nav-scrim { opacity: 1; visibility: visible; }
}

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--grad-hero); color: #eaf2f9; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(60% 60% at 85% 15%, rgba(52,180,131,.28), transparent 60%),
    radial-gradient(50% 50% at 8% 90%, rgba(31,138,158,.30), transparent 60%);
  pointer-events: none;
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px);
  align-items: center; padding-block: clamp(56px, 8vw, 104px);
}
.hero h1 { color: #fff; margin-bottom: 1.35rem; }
.hero h1 .accent { color: var(--emerald-400); }
.hero .lead { color: #c6d6e6; max-width: 33rem; }
.hero-pill {
  display: inline-flex; align-items: center; gap: .6rem;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
  padding: .5rem 1rem; border-radius: 999px; font-size: .82rem; font-weight: 500;
  margin-bottom: 1.6rem; color: #dfeaf4;
}
.hero-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--emerald-400); box-shadow: 0 0 0 4px rgba(52,180,131,.25); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }
.hero-trust { display: flex; gap: 2rem; margin-top: 2.6rem; flex-wrap: wrap; }
.hero-trust .num { font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 700; color: #fff; }
.hero-trust .lbl { font-size: .82rem; color: #a9c0d5; }

.hero-visual { position: relative; }
.hero-visual .photo {
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,.12); aspect-ratio: 4 / 4.6;
}
.hero-visual .photo img { width: 100%; height: 100%; object-fit: cover; }
.float-card {
  position: absolute; background: #fff; color: var(--ink);
  border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 1rem 1.15rem;
  display: flex; gap: .8rem; align-items: center;
}
.float-card .fc-ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: #fff; flex: none; }
.float-card .fc-ico.g { background: var(--grad-emerald); }
.float-card .fc-ico.d { background: var(--navy-800); }
.float-card strong { font-family: var(--font-display); font-size: 1rem; display: block; }
.float-card small { color: var(--muted); font-size: .78rem; }
.float-card.one { top: 8%; left: -6%; }
.float-card.two { bottom: 7%; right: -5%; }
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 460px; margin-inline: auto; width: 100%; }
  .float-card.one { left: 0; }
  .float-card.two { right: 0; }
}
@media (max-width: 520px) { .float-card { display: none; } }

/* ---------- Marquee / credential strip ---------- */
.cred-strip { background: var(--surface-2); border-block: 1px solid var(--line); }
.cred-strip .container { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; padding-block: 26px; }
.cred-strip .cred-lead { font-family: var(--font-display); font-weight: 600; color: var(--ink); font-size: .95rem; }
.cred-list { display: flex; gap: 2rem; flex-wrap: wrap; }
.cred-item { display: flex; align-items: center; gap: .6rem; font-weight: 500; font-size: .92rem; color: var(--navy-700); }
.cred-item svg { width: 22px; height: 22px; color: var(--emerald-600); flex: none; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.about-media { position: relative; }
.about-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; object-fit: cover; }
.about-badge {
  position: absolute; right: -18px; bottom: -18px; background: var(--grad-emerald); color: #fff;
  border-radius: var(--radius); padding: 1.1rem 1.3rem; box-shadow: var(--shadow-emerald); max-width: 220px;
}
.about-badge .num { font-family: var(--font-display); font-size: 2rem; font-weight: 700; line-height: 1; }
.about-badge small { font-size: .82rem; opacity: .92; }
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.8rem; }
.mv-card { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; transition: transform .3s var(--ease), box-shadow .3s; }
.mv-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.mv-card .mv-ico { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: #fff; color: var(--emerald-600); box-shadow: var(--shadow-sm); margin-bottom: .8rem; }
.mv-card h4 { font-size: 1.1rem; margin-bottom: .4rem; }
.mv-card p { font-size: .92rem; }
@media (max-width: 820px) { .about-grid { grid-template-columns: 1fr; } .mv-grid { grid-template-columns: 1fr; } .about-badge { right: 12px; } }

/* ---------- Services grid ---------- */
.services { background: var(--surface-2); }
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.svc-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem 1.5rem;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
  position: relative; overflow: hidden;
}
.svc-card::after {
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0; background: var(--grad-emerald);
  transition: width .35s var(--ease);
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.svc-card:hover::after { width: 100%; }
.svc-ico { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; background: var(--surface-3); color: var(--emerald-600); margin-bottom: 1.1rem; transition: background .3s, color .3s; }
.svc-ico svg { width: 26px; height: 26px; }
.svc-card:hover .svc-ico { background: var(--grad-emerald); color: #fff; }
.svc-card h3 { font-size: 1.12rem; margin-bottom: .5rem; }
.svc-card p { font-size: .9rem; color: var(--muted); margin-bottom: 1rem; }
.svc-card .svc-link { font-family: var(--font-display); font-weight: 600; font-size: .86rem; color: var(--emerald-600); display: inline-flex; align-items: center; gap: .35rem; }
.svc-card .svc-link svg { width: 15px; height: 15px; transition: transform .25s; }
.svc-card:hover .svc-link svg { transform: translateX(4px); }
@media (max-width: 1080px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .svc-grid { grid-template-columns: 1fr; } }
/* 3-up secondary services row — auto-fit so it never overflows on mobile */
.svc-grid.svc-grid-3 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }

/* ---------- Deep-dive service sections ---------- */
.deep { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.deep + .deep { margin-top: clamp(56px, 8vw, 96px); }
.deep.reverse .deep-media { order: 2; }
.deep-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; height: clamp(300px, 30vw, 440px); object-fit: cover; object-position: center; }
.deep-tag { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--font-display); font-weight: 600; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--emerald-600); margin-bottom: .9rem; }
.deep h3 { margin-bottom: 1rem; }
.check-list { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem 1.4rem; margin-top: 1.4rem; }
.check-list li { display: flex; gap: .6rem; align-items: flex-start; font-size: .93rem; color: var(--body); }
.check-list li svg { width: 20px; height: 20px; color: var(--emerald-500); flex: none; margin-top: .1rem; }
@media (max-width: 820px) { .deep { grid-template-columns: 1fr; } .deep.reverse .deep-media { order: 0; } .check-list { grid-template-columns: 1fr; } .deep-media img { height: clamp(220px, 52vw, 320px); } }

/* audit pills */
.pill-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: .8rem; margin-top: 1.6rem; }
.pill-card { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1rem 1.1rem; display: flex; gap: .7rem; align-items: center; font-family: var(--font-display); font-weight: 600; font-size: .92rem; color: var(--navy-800); transition: transform .25s, box-shadow .25s; }
.pill-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.pill-card .pn { width: 30px; height: 30px; border-radius: 8px; background: var(--navy-800); color: #fff; display: grid; place-items: center; font-size: .82rem; flex: none; }

/* ---------- Why / values ---------- */
.why { background: var(--navy-900); color: #d6e3ef; position: relative; overflow: hidden; }
.why::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 60% at 90% 10%, rgba(52,180,131,.18), transparent 60%); }
.why .container { position: relative; z-index: 1; }
.why h2 { color: #fff; }
.why .lead { color: #a9c0d5; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: clamp(32px, 5vw, 48px); }
.why-card { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); padding: 1.7rem; transition: transform .3s var(--ease), background .3s; }
.why-card:hover { transform: translateY(-5px); background: rgba(255,255,255,.08); }
.why-card .wc-ico { width: 48px; height: 48px; border-radius: 12px; background: var(--grad-emerald); display: grid; place-items: center; color: #fff; margin-bottom: 1.1rem; }
.why-card h4 { color: #fff; font-size: 1.12rem; margin-bottom: .5rem; }
.why-card p { font-size: .92rem; color: #a9c0d5; }
@media (max-width: 900px) { .why-grid { grid-template-columns: 1fr; } }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; margin-top: clamp(32px, 5vw, 48px); counter-reset: step; }
.step { position: relative; padding-top: 1.4rem; }
.step::before { counter-increment: step; content: "0" counter(step); font-family: var(--font-display); font-weight: 700; font-size: 2.2rem; color: var(--surface-3); position: absolute; top: -1.2rem; right: 0; }
.step .st-ico { width: 46px; height: 46px; border-radius: 12px; background: var(--surface-2); color: var(--emerald-600); display: grid; place-items: center; margin-bottom: 1rem; border: 1px solid var(--line); }
.step h4 { font-size: 1.08rem; margin-bottom: .45rem; }
.step p { font-size: .9rem; color: var(--muted); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta-band { background: var(--grad-emerald); color: #fff; border-radius: var(--radius-xl); padding: clamp(36px, 6vw, 64px); text-align: center; box-shadow: var(--shadow-emerald); position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(40% 80% at 15% 20%, rgba(255,255,255,.16), transparent 60%); }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.9); max-width: 560px; margin-inline: auto; margin-top: .8rem; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 1.8rem; }
.cta-band .btn-white { background: #fff; color: var(--emerald-600); }
.cta-band .btn-white:hover { box-shadow: 0 14px 34px rgba(0,0,0,.2); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 56px); align-items: start; }
.contact-cards { display: grid; gap: 1rem; margin-top: 1.8rem; }
.ct-card { display: flex; gap: 1rem; align-items: flex-start; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.3rem; transition: transform .25s, box-shadow .25s; }
.ct-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.ct-card .ct-ico { width: 46px; height: 46px; border-radius: 12px; background: var(--grad-emerald); color: #fff; display: grid; place-items: center; flex: none; }
.ct-card h4 { font-size: 1rem; margin-bottom: .25rem; }
.ct-card a, .ct-card p { display: block; color: var(--body); font-size: .95rem; }
.ct-card a:hover { color: var(--emerald-600); }

.contact-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow-md); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-family: var(--font-display); font-weight: 600; font-size: .84rem; color: var(--ink); margin-bottom: .45rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: .85rem 1rem; border: 1.5px solid var(--line-strong); border-radius: 12px;
  font: inherit; color: var(--ink); background: var(--surface-2); transition: border-color .2s, box-shadow .2s, background .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--emerald-500); background: #fff; box-shadow: 0 0 0 4px rgba(27,150,104,.12); }
.field textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: .82rem; color: var(--muted); margin-top: .4rem; }
.form-alert { display: none; padding: .9rem 1rem; border-radius: 12px; font-size: .92rem; margin-bottom: 1rem; }
.form-alert.ok { display: block; background: #e7f6ee; color: #12643f; border: 1px solid #b7e3c9; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } .form-row { grid-template-columns: 1fr; } }

.map-wrap { margin-top: 1.2rem; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.map-wrap iframe { display: block; width: 100%; height: 260px; border: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #a9c0d5; padding-top: clamp(56px, 8vw, 88px); }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 2.5rem; padding-bottom: 3rem; }
.foot-brand img { height: 56px; margin-bottom: 1.1rem; }
.foot-brand p { font-size: .92rem; max-width: 30ch; color: #90a8bf; }
.foot-social { display: flex; gap: .6rem; margin-top: 1.3rem; }
.foot-social a { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.06); display: grid; place-items: center; color: #cfe0ee; transition: background .2s, transform .2s; }
.foot-social a:hover { background: var(--emerald-500); transform: translateY(-3px); color: #fff; }
.foot-col h5 { color: #fff; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1.1rem; font-weight: 600; }
.foot-col ul { display: grid; gap: .65rem; }
.foot-col a, .foot-col li { font-size: .92rem; color: #a9c0d5; transition: color .2s; }
.foot-col a:hover { color: var(--emerald-400); }
.foot-contact li { display: flex; gap: .6rem; align-items: flex-start; }
.foot-contact svg { width: 17px; height: 17px; color: var(--emerald-400); flex: none; margin-top: .15rem; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-block: 1.5rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .84rem; color: #7e97ae; }
.foot-bottom a:hover { color: var(--emerald-400); }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (max-width: 540px) { .foot-grid { grid-template-columns: 1fr; } }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 80;
  width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff;
  display: grid; place-items: center; box-shadow: 0 10px 30px rgba(37,211,102,.45);
  transition: transform .25s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- Non-link service cards ---------- */
.svc-card.static { cursor: default; }
.svc-card.static:hover { transform: translateY(-4px); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; margin-top: clamp(28px, 4vw, 44px); display: grid; gap: .8rem; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .25s, border-color .25s; }
.faq-item[open] { box-shadow: var(--shadow-md); border-color: transparent; }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 1.15rem 1.3rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .chev { flex: none; width: 30px; height: 30px; border-radius: 8px; background: var(--surface-2); color: var(--emerald-600); display: grid; place-items: center; transition: transform .3s var(--ease), background .25s, color .25s; }
.faq-item summary .chev svg { width: 16px; height: 16px; }
.faq-item[open] summary .chev { transform: rotate(180deg); background: var(--grad-emerald); color: #fff; }
.faq-item .faq-body { padding: 0 1.3rem 1.25rem; color: var(--body); font-size: .96rem; }
.faq-item[open] .faq-body { animation: faqIn .35s var(--ease); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- Mobile UX refinements ---------- */
h1, h2, h3, h4, h5, p, li, a { overflow-wrap: break-word; }
@media (max-width: 980px) {
  /* Staggered fly-in for the mobile menu links */
  .nav-links > li { opacity: 0; transform: translateX(24px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
  body.nav-open .nav-links > li { opacity: 1; transform: none; }
  body.nav-open .nav-links > li:nth-child(1) { transition-delay: .06s; }
  body.nav-open .nav-links > li:nth-child(2) { transition-delay: .12s; }
  body.nav-open .nav-links > li:nth-child(3) { transition-delay: .18s; }
  body.nav-open .nav-links > li:nth-child(4) { transition-delay: .24s; }
  body.nav-open .nav-links > li:nth-child(5) { transition-delay: .30s; }
  .nav-links { gap: .1rem; padding-top: 84px; }
  .nav-links > li > a { border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-links .has-drop > a { border-bottom: 1px solid var(--line); }
  .drop-menu a { padding-block: .55rem; }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 640px) {
  .section { padding-block: clamp(48px, 12vw, 72px); }
  .h-xxl { font-size: clamp(2.15rem, 8.5vw, 3rem); line-height: 1.08; }
  .hero-grid { padding-block: 40px 52px; gap: 30px; }
  .hero .lead { font-size: 1.02rem; }
  .hero-actions { gap: .7rem; }
  .hero-actions .btn { width: 100%; }
  .hero-trust { gap: 1.4rem 2rem; margin-top: 2rem; }
  .cred-strip .container { flex-direction: column; align-items: flex-start; gap: .9rem; }
  .cred-list { gap: .7rem; flex-direction: column; }
  .about-badge { position: static; max-width: none; margin-top: 1rem; display: flex; align-items: center; gap: 1rem; }
  .about-badge .num { font-size: 1.7rem; }
  .deep-tag { font-size: .74rem; }
  .cta-actions .btn { width: 100%; }
  .contact-cards { grid-template-columns: 1fr; }
  .wa-float { width: 52px; height: 52px; right: 14px; bottom: 14px; }
  .wa-float svg { width: 27px; height: 27px; }
}
/* Larger tap targets on touch devices */
@media (hover: none) {
  .nav-links > li > a { min-height: 48px; }
  .btn { min-height: 46px; }
}

/* ---------- Scroll reveal ---------- */
/* Gated on .js so content is ALWAYS visible if JavaScript is off or fails. */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .js .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .btn:hover, .svc-card:hover, .mv-card:hover { transform: none; }
}
