/* ==========================================================================
   IGI Accounting — Design System
   Theme: Indigo Velvet & Coral
   Note: legacy token names (--green-*, --gold-*) are retained as the brand
   ramps so existing markup keeps working — their *values* are the new palette.
   --green-* = indigo/violet brand ramp · --gold-* = warm coral accent ramp
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Brand — indigo / violet */
  --green-900: #140d33; /* deepest ink-indigo */
  --green-800: #1d1450;
  --green-700: #3a2db0; /* primary */
  --green-600: #5546d6;
  --green-500: #6f5cf0;
  --green-400: #9686f7;
  --green-300: #c0b6fb;

  /* Accent — warm coral */
  --gold-600: #e04a2c;
  --gold-500: #ff6a45; /* accent */
  --gold-400: #ff9173;
  --gold-100: #ffe6dd;

  /* Neutrals — cool, indigo-tinted */
  --ink: #161229;
  --slate: #54506b;
  --slate-light: #837fa0;
  --line: #e8e5f2;
  --mist: #efedfa;
  --cloud: #f6f5fd;
  --white: #ffffff;

  /* Status */
  --pos: #15a37a;
  --neg: #e04a2c;

  /* Effects */
  --shadow-sm: 0 1px 2px rgba(20, 13, 51, 0.06), 0 1px 3px rgba(20, 13, 51, 0.05);
  --shadow-md: 0 10px 30px rgba(20, 13, 51, 0.10);
  --shadow-lg: 0 28px 64px rgba(20, 13, 51, 0.18);
  --shadow-gold: 0 12px 30px rgba(255, 106, 69, 0.32); /* coral glow */

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;
  --radius-btn: 13px;

  /* Type */
  --font-display: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-body: "Manrope", "Segoe UI", system-ui, sans-serif;

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

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; font-size: 1rem; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.12; color: var(--ink); letter-spacing: -0.025em; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }
h4 { font-size: 1.1rem; }
p { color: var(--slate); }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: var(--slate); }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 120px); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section--mist { background: var(--cloud); }
.section--green {
  background: radial-gradient(125% 130% at 0% 0%, var(--green-700), var(--green-900));
  color: #e7e3fb;
}
.section--green h1, .section--green h2, .section--green h3 { color: #fff; }
.section--green p { color: #c3bbef; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display);
  font-weight: 600; font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--green-600);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--gold-500); border-radius: 2px; }
.section--green .eyebrow { color: var(--gold-400); }

.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { margin-top: 16px; }

.grid { display: grid; gap: clamp(20px, 2.5vw, 28px); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600; font-size: 0.98rem;
  padding: 14px 26px; border-radius: var(--radius-btn);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  cursor: pointer; white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn--gold { background: var(--gold-500); color: #fff; box-shadow: var(--shadow-gold); }
.btn--gold:hover { background: var(--gold-600); transform: translateY(-2px); }
.btn--green { background: var(--green-700); color: #fff; }
.btn--green:hover { background: var(--green-600); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--ghost { background: transparent; color: var(--green-700); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--green-500); color: var(--green-700); }
.btn--white { background: #fff; color: var(--green-800); }
.btn--white:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--outline-light { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.35); }
.btn--outline-light:hover { box-shadow: inset 0 0 0 1.5px #fff; }
.btn--lg { padding: 16px 32px; font-size: 1.05rem; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 600; color: var(--green-700);
}
.link-arrow svg { width: 16px; height: 16px; transition: transform .2s ease; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Cards ---------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(24px, 3vw, 32px); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--green-300); }
.card .icon-badge { margin-bottom: 18px; }

.icon-badge {
  width: 54px; height: 54px; border-radius: 15px;
  display: grid; place-items: center;
  background: linear-gradient(140deg, var(--mist), #e4dffb); color: var(--green-700);
}
.icon-badge svg { width: 26px; height: 26px; }
.icon-badge--gold { background: linear-gradient(140deg, var(--gold-100), #ffd6c8); color: var(--gold-600); }

/* ---------- Pills / chips ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--mist); color: var(--green-700);
  font-weight: 600; font-size: 0.82rem; padding: 7px 14px; border-radius: var(--radius-pill);
}
.chip svg { width: 15px; height: 15px; }

/* =========================================================================
   PROMO BAR
   ========================================================================= */
.promobar {
  background: var(--green-900); color: #ddd7f5;
  font-size: 0.85rem; text-align: center; padding: 9px var(--gutter);
}
.promobar strong { color: var(--gold-400); }
.promobar a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* =========================================================================
   HEADER / NAV
   ========================================================================= */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.88);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; flex-wrap: nowrap; align-items: center; gap: 16px; height: 74px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; white-space: nowrap; font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; color: var(--ink); letter-spacing: -0.02em; }
.brand .logo-mark { width: 40px; height: 40px; }
.brand small { display: block; font-family: var(--font-body); font-weight: 600; font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; color: var(--green-600); margin-top: 2px; }
.brand-name { line-height: 1; }
.brand-mark { color: var(--gold-500); }

.nav-menu { display: flex; flex-wrap: nowrap; align-items: center; gap: 2px; margin-left: 4px; }
/* The phone + quote button at the end of the menu list are for the mobile drawer only */
.nav-menu > .nav-phone, .nav-menu > .btn { display: none; }
.nav-item { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 5px; white-space: nowrap;
  font-family: var(--font-display); font-weight: 600; font-size: .92rem; color: var(--ink);
  padding: 10px 10px; border-radius: 10px; transition: color .15s, background .15s;
}
.nav-link:hover, .nav-item.open .nav-link { color: var(--green-700); background: var(--mist); }
.nav-link .caret { width: 14px; height: 14px; transition: transform .2s; }
.nav-item.open .nav-link .caret { transform: rotate(180deg); }
.nav-item[aria-current="page"] > .nav-link,
.nav-link.active { color: var(--green-700); }

.dropdown {
  position: absolute; top: calc(100% + 10px); left: 0;
  min-width: 280px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 10px;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.nav-item.open .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown.wide { min-width: 460px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.dropdown a {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 11px 12px; border-radius: 10px; transition: background .15s;
}
.dropdown a:hover { background: var(--cloud); }
.dropdown a .di { width: 34px; height: 34px; flex: none; border-radius: 9px; background: var(--mist); color: var(--green-700); display: grid; place-items: center; }
.dropdown a .di svg { width: 18px; height: 18px; }
.dropdown a strong { display: block; font-family: var(--font-display); font-size: .92rem; color: var(--ink); }
.dropdown a span { font-size: .8rem; color: var(--slate-light); }

.nav-actions { display: flex; flex: none; align-items: center; gap: 14px; margin-left: auto; }
.nav-phone { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; font-family: var(--font-display); font-weight: 700; color: var(--green-800); }
.nav-phone svg { width: 18px; height: 18px; color: var(--green-600); }
/* The top bar stays clean: brand + links + quote CTA. The phone lives in the
   footer, the mobile quick-action bar and the menu drawer, so it's hidden here. */
.nav-actions .nav-phone { display: none; }

.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 12px; background: var(--mist); }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--ink); margin: 4px auto; border-radius: 2px; transition: .25s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* =========================================================================
   HERO
   ========================================================================= */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(120% 125% at 80% -10%, #4a3ad0 0%, #2a1f86 45%, #140d33 100%);
  color: #efebfd;
}
.hero::before {
  content: ""; position: absolute; z-index: 1; pointer-events: none;
  width: 560px; height: 560px; right: -140px; top: -180px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,106,69,.55), rgba(255,106,69,0) 64%);
  filter: blur(26px);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,.06) 1px, transparent 0);
  background-size: 30px 30px; pointer-events: none;
}
.hero .container { position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 64px); align-items: center; padding-block: clamp(56px, 8vw, 104px); }
.hero h1 { color: #fff; }
.hero h1 .hl { color: var(--gold-400); }
.hero p { color: #c3bbef; max-width: 540px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.hero-badges .chip { background: rgba(255,255,255,.10); color: #e7e3fb; }
.hero-badges .chip svg { color: var(--gold-400); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-trust { display: flex; align-items: center; gap: 22px; margin-top: 34px; flex-wrap: wrap; }
.hero-trust .stars { color: var(--gold-400); letter-spacing: 2px; }
.hero-trust small { display: block; color: #a99fd0; font-size: .8rem; }
.hero-trust b { color: #fff; }

/* Hero card / quote panel */
.hero-panel {
  background: rgba(255,255,255,.97); color: var(--ink);
  border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 34px);
  box-shadow: var(--shadow-lg); position: relative;
}
.hero-panel h3 { margin-bottom: 4px; }
.hero-panel .muted { font-size: .9rem; }
.hero-panel .price-row { display: flex; align-items: baseline; gap: 10px; margin: 18px 0; }
.hero-panel .price-row .amt { font-family: var(--font-display); font-weight: 700; font-size: 2.6rem; color: var(--green-700); }
.hero-panel ul.ticks { display: grid; gap: 10px; margin: 18px 0; }
.hero-panel ul.ticks li { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: var(--ink); }
.tick { width: 20px; height: 20px; flex: none; border-radius: 50%; background: var(--mist); color: var(--green-600); display: grid; place-items: center; }
.tick svg { width: 12px; height: 12px; }
.float-tag {
  position: absolute; top: -16px; right: 20px;
  background: var(--gold-500); color: #fff;
  font-family: var(--font-display); font-weight: 700; font-size: .78rem;
  padding: 8px 16px; border-radius: var(--radius-pill); box-shadow: var(--shadow-gold);
}

/* =========================================================================
   LOGO / TRUST STRIP
   ========================================================================= */
.trustbar { border-block: 1px solid var(--line); background: #fff; }
.trustbar .container { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding-block: 26px; flex-wrap: wrap; }
.trustbar .tb-label { font-size: .82rem; color: var(--slate-light); font-weight: 600; letter-spacing: .04em; }
.trustbar .tb-logos { display: flex; align-items: center; gap: clamp(20px, 4vw, 48px); flex-wrap: wrap; }
.tb-logos span { font-family: var(--font-display); font-weight: 700; color: var(--slate); opacity: .7; font-size: 1.05rem; letter-spacing: .02em; }

/* =========================================================================
   FEATURE / SERVICE GRIDS
   ========================================================================= */
.service-card { display: flex; flex-direction: column; height: 100%; color: inherit; }
.service-card p { margin-top: 8px; flex: 1; }
.service-card .link-arrow { margin-top: 18px; color: var(--green-700); }
.service-card h3 { font-size: 1.2rem; }
a.service-card:hover .link-arrow svg { transform: translateX(4px); }

.feature { display: flex; gap: 16px; }
.feature .icon-badge { flex: none; }
.feature h4 { margin-bottom: 6px; }
.feature p { font-size: .92rem; }

/* Who we help cards */
.persona { position: relative; overflow: hidden; display: flex; flex-direction: column; }
.persona .price-tag { font-family: var(--font-display); font-weight: 700; color: var(--green-700); font-size: 1.05rem; margin-top: 6px; }
.persona .price-tag span { font-weight: 500; color: var(--slate); font-size: .85rem; }
.persona ul { display: grid; gap: 9px; margin: 16px 0 20px; }
.persona ul li { display: flex; gap: 9px; font-size: .9rem; color: var(--ink); }

/* =========================================================================
   STEPS / PROCESS
   ========================================================================= */
.steps { counter-reset: step; }
.step { position: relative; padding-left: 4px; }
.step .num {
  width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center;
  background: var(--green-700); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 1.2rem;
  margin-bottom: 18px;
}
.section--green .step .num { background: var(--gold-500); color: #fff; }
.step h4 { margin-bottom: 8px; }

/* =========================================================================
   STATS
   ========================================================================= */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 3vw, 40px); }
.stat .n { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.2rem, 4vw, 3.2rem); color: var(--gold-400); line-height: 1; }
.stat .l { margin-top: 8px; font-size: .92rem; }
.section:not(.section--green) .stat .n { color: var(--green-700); }

/* =========================================================================
   PRICING
   ========================================================================= */
.toggle-wrap { display: inline-flex; align-items: center; gap: 8px; background: var(--mist); padding: 6px; border-radius: var(--radius-pill); }
.toggle-wrap button {
  font-family: var(--font-display); font-weight: 600; font-size: .9rem; color: var(--slate);
  padding: 9px 20px; border-radius: var(--radius-pill); transition: .18s;
}
.toggle-wrap button.active { background: #fff; color: var(--green-700); box-shadow: var(--shadow-sm); }

.price-card { display: flex; flex-direction: column; height: 100%; position: relative; }
.price-card.featured { border-color: var(--green-500); box-shadow: var(--shadow-md); }
.price-card.featured::before {
  content: "Most popular"; position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%);
  background: var(--gold-500); color: #fff; font-family: var(--font-display); font-weight: 700;
  font-size: .72rem; letter-spacing: .04em; padding: 6px 16px; border-radius: var(--radius-pill);
}
.price-card .tier { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--green-700); }
.price-card .tier-desc { font-size: .88rem; margin-top: 4px; min-height: 40px; }
.price-card .amount { display: flex; align-items: baseline; gap: 6px; margin: 18px 0 4px; }
.price-card .amount .num { font-family: var(--font-display); font-weight: 700; font-size: 2.8rem; color: var(--ink); }
.price-card .amount .per { color: var(--slate); font-size: .9rem; }
.price-card .vat { font-size: .8rem; color: var(--slate-light); }
.price-card ul { display: grid; gap: 11px; margin: 22px 0; flex: 1; }
.price-card ul li { display: flex; gap: 10px; font-size: .9rem; color: var(--ink); }
.price-card ul li.off { color: var(--slate-light); }
.price-card ul li .tick { background: var(--green-700); color: #fff; }
.price-card ul li.off .tick { background: var(--line); color: var(--slate-light); }

/* =========================================================================
   COMPARISON TABLE
   ========================================================================= */
.compare-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.compare-table th, .compare-table td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); }
.compare-table thead th { background: var(--green-900); color: #fff; font-family: var(--font-display); font-size: .95rem; }
.compare-table thead th.us { background: var(--green-700); position: relative; }
.compare-table thead th.us::after { content: "★"; color: var(--gold-400); margin-left: 8px; }
.compare-table td:first-child { font-weight: 600; color: var(--ink); }
.compare-table tbody tr:nth-child(even) { background: var(--cloud); }
.compare-table .yes { color: var(--pos); font-weight: 700; }
.compare-table .no { color: var(--neg); }
.compare-table td.center, .compare-table th.center { text-align: center; }
.compare-table .price-cell { font-family: var(--font-display); font-weight: 700; color: var(--green-700); }

/* =========================================================================
   TESTIMONIALS / REVIEWS
   ========================================================================= */
.review-strip { display: flex; align-items: center; justify-content: center; gap: clamp(20px, 4vw, 56px); flex-wrap: wrap; }
.review-badge { text-align: center; }
.review-badge .stars { color: var(--gold-500); font-size: 1.1rem; letter-spacing: 2px; }
.review-badge .score { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; }
.review-badge .src { font-size: .82rem; color: var(--slate-light); }

.quote-card { display: flex; flex-direction: column; height: 100%; }
.quote-card .stars { color: var(--gold-500); letter-spacing: 2px; margin-bottom: 14px; }
.quote-card blockquote { font-size: 1.02rem; color: var(--ink); line-height: 1.6; flex: 1; }
.quote-card .who { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.quote-card .avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--green-700); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; }
.quote-card .who b { display: block; font-size: .92rem; }
.quote-card .who span { font-size: .82rem; color: var(--slate-light); }

/* =========================================================================
   FAQ ACCORDION
   ========================================================================= */
.faq { max-width: 820px; margin-inline: auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 22px 4px; text-align: left; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: var(--ink);
}
.faq-q .pm { width: 26px; height: 26px; flex: none; border-radius: 50%; background: var(--mist); color: var(--green-700); display: grid; place-items: center; transition: .2s; }
.faq-q .pm svg { width: 14px; height: 14px; transition: transform .2s; }
.faq-item.open .pm { background: var(--green-700); color: #fff; }
.faq-item.open .pm svg { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a p { padding: 0 4px 22px; }

/* =========================================================================
   CTA BANNER
   ========================================================================= */
.cta-banner {
  background: radial-gradient(120% 140% at 100% 0%, var(--green-600), var(--green-900));
  color: #fff; border-radius: var(--radius-lg); padding: clamp(36px, 6vw, 72px);
  text-align: center; position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ""; position: absolute; width: 340px; height: 340px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,106,69,.42), transparent 70%);
  top: -120px; left: -80px;
}
.cta-banner > * { position: relative; }
.cta-banner h2 { color: #fff; }
.cta-banner p { color: #d3ccf5; max-width: 620px; margin: 16px auto 0; }
.cta-banner .hero-cta { justify-content: center; }

/* =========================================================================
   FORMS
   ========================================================================= */
.form-grid { display: grid; gap: 18px; }
.field { display: grid; gap: 7px; }
.field label { font-family: var(--font-display); font-weight: 600; font-size: .88rem; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: #fff; color: var(--ink); transition: border .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--green-500); box-shadow: 0 0 0 4px rgba(111,92,240,.14);
}
.field textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: .82rem; color: var(--slate-light); }

/* Quote calculator */
.calc { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 36px); box-shadow: var(--shadow-md); }
.calc-options { display: grid; gap: 12px; }
.opt {
  display: flex; align-items: center; gap: 14px; padding: 16px 18px;
  border: 1.5px solid var(--line); border-radius: var(--radius); cursor: pointer; transition: .15s;
}
.opt:hover { border-color: var(--green-400); }
.opt.selected { border-color: var(--green-600); background: var(--cloud); box-shadow: inset 0 0 0 1px var(--green-600); }
.opt .radio { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line); flex: none; display: grid; place-items: center; transition: .15s; }
.opt.selected .radio { border-color: var(--green-600); }
.opt.selected .radio::after { content: ""; width: 11px; height: 11px; border-radius: 50%; background: var(--green-600); }
.opt .ot strong { display: block; font-family: var(--font-display); font-size: .98rem; }
.opt .ot span { font-size: .84rem; color: var(--slate-light); }
.opt .op { margin-left: auto; font-family: var(--font-display); font-weight: 700; color: var(--green-700); }
.calc-result { margin-top: 26px; padding: 24px; border-radius: var(--radius); background: radial-gradient(120% 120% at 0 0, var(--green-700), var(--green-900)); color: #fff; text-align: center; }
.calc-result .est { font-size: .85rem; color: #c3bbef; }
.calc-result .big { font-family: var(--font-display); font-weight: 700; font-size: 3rem; color: var(--gold-400); line-height: 1.1; }
.calc-result .big span { font-size: 1rem; color: #e7e3fb; font-weight: 500; }

/* =========================================================================
   BLOG / RESOURCES
   ========================================================================= */
.post-card { display: flex; flex-direction: column; height: 100%; overflow: hidden; padding: 0; }
.post-card .thumb { height: 180px; background: linear-gradient(135deg, var(--green-600), var(--green-900)); position: relative; display: grid; place-items: center; }
.post-card .thumb svg { width: 56px; height: 56px; color: rgba(255,255,255,.55); }
.post-card .thumb.alt { background: linear-gradient(135deg, var(--gold-500), var(--gold-600)); }
.post-card .thumb.alt svg { color: rgba(255,255,255,.65); }
.post-card .pc-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.post-card .pc-cat { font-size: .76rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--green-600); }
.post-card h3 { font-size: 1.18rem; margin: 10px 0; }
.post-card .pc-body p { font-size: .9rem; flex: 1; }
.post-card .pc-meta { display: flex; align-items: center; gap: 10px; margin-top: 16px; font-size: .82rem; color: var(--slate-light); }

/* =========================================================================
   PAGE HERO (interior pages)
   ========================================================================= */
.page-hero {
  background: radial-gradient(120% 135% at 90% -20%, #4a3ad0, #190f44 70%);
  color: #efebfd; padding-block: clamp(56px, 8vw, 96px); position: relative; overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; z-index: 1; pointer-events: none;
  width: 480px; height: 480px; left: -160px; bottom: -220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,106,69,.40), rgba(255,106,69,0) 66%);
  filter: blur(24px);
}
.page-hero::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,.06) 1px, transparent 0);
  background-size: 30px 30px;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero .breadcrumb { display: flex; gap: 8px; align-items: center; font-size: .85rem; color: #a99fd0; margin-bottom: 18px; }
.page-hero .breadcrumb a:hover { color: #fff; }
.page-hero h1 { color: #fff; max-width: 760px; }
.page-hero p { color: #c3bbef; max-width: 620px; margin-top: 18px; }
.page-hero .hero-cta { margin-top: 28px; }

/* =========================================================================
   FOOTER
   ========================================================================= */
.site-footer { background: var(--green-900); color: #a59fce; padding-top: clamp(56px, 7vw, 88px); }
.footer-top { display: grid; grid-template-columns: 1.6fr repeat(5, 1fr); gap: clamp(24px, 3vw, 48px); padding-bottom: 48px; }
.footer-brand .brand { color: #fff; }
.footer-brand .brand small { color: var(--gold-400); }
.footer-brand p { color: #9a93c4; font-size: .9rem; margin: 18px 0; max-width: 320px; }
.footer-contact li { display: flex; gap: 10px; align-items: center; margin-bottom: 12px; font-size: .9rem; }
.footer-contact svg { width: 17px; height: 17px; color: var(--gold-400); flex: none; }
.footer-col h4 { color: #fff; font-size: .95rem; margin-bottom: 18px; }
.footer-col ul { display: grid; gap: 11px; }
.footer-col a { font-size: .9rem; color: #9a93c4; transition: color .15s; }
.footer-col a:hover { color: #fff; }
.footer-socials { display: flex; gap: 10px; margin-top: 6px; }
.footer-socials a { width: 40px; height: 40px; border-radius: 11px; background: rgba(255,255,255,.07); display: grid; place-items: center; transition: .15s; }
.footer-socials a:hover { background: var(--gold-500); color: #fff; }
.footer-socials svg { width: 18px; height: 18px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-block: 24px; display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; font-size: .82rem; color: #8079a8; }
.footer-bottom .fb-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-bottom a:hover { color: #fff; }

/* =========================================================================
   UTILITIES
   ========================================================================= */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 12px; } .mt-2 { margin-top: 24px; } .mt-3 { margin-top: 36px; }
.mb-2 { margin-bottom: 24px; }
.flex { display: flex; } .items-center { align-items: center; } .gap-2 { gap: 16px; } .wrap { flex-wrap: wrap; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.maxw-640 { max-width: 640px; }
.list-checks { display: grid; gap: 12px; }
.list-checks li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); }
.list-checks li .tick { margin-top: 2px; }

/* Reveal on scroll */
[data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
[data-reveal].in { opacity: 1; transform: none; }

/* =========================================================================
   ARTICLE / LONG-FORM
   ========================================================================= */
.article-layout { display: grid; grid-template-columns: 240px 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.article-toc { position: sticky; top: 96px; font-size: .9rem; }
.article-toc h4 { font-family: var(--font-display); font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--green-600); margin-bottom: 12px; }
.article-toc ul { display: grid; gap: 8px; border-left: 2px solid var(--line); padding-left: 14px; }
.article-toc a { color: var(--slate); transition: color .15s; }
.article-toc a:hover { color: var(--green-700); }
.article-meta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-size: .88rem; color: var(--slate-light); margin-top: 14px; }
.article-meta .pc-cat { font-size: .76rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--green-600); }
.article-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--line); }
.article-body { max-width: 780px; }
.article-body h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-top: 42px; margin-bottom: 16px; scroll-margin-top: 100px; }
.article-body h3 { font-size: clamp(1.18rem, 2vw, 1.4rem); margin-top: 32px; margin-bottom: 12px; scroll-margin-top: 100px; }
.article-body p { font-size: 1.05rem; color: var(--ink); line-height: 1.75; margin-bottom: 18px; }
.article-body ul, .article-body ol { margin: 0 0 22px 0; padding-left: 26px; }
.article-body ul li, .article-body ol li { font-size: 1.05rem; color: var(--ink); line-height: 1.75; margin-bottom: 8px; }
.article-body ul { list-style: disc; }
.article-body ol { list-style: decimal; }
.article-body a { color: var(--green-700); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.article-body a:hover { color: var(--gold-600); }
.article-body strong { color: var(--ink); font-weight: 700; }
.article-body blockquote { border-left: 4px solid var(--gold-500); background: var(--cloud); padding: 20px 24px; margin: 26px 0; border-radius: 0 var(--radius) var(--radius) 0; }
.article-body blockquote p { font-size: 1.08rem; color: var(--ink); margin: 0; font-style: italic; }
.article-body .callout { background: linear-gradient(140deg, var(--mist), #e4dffb); border: 1px solid var(--green-300); border-radius: var(--radius); padding: 22px 26px; margin: 26px 0; }
.article-body .callout strong { display: block; font-family: var(--font-display); color: var(--green-700); margin-bottom: 6px; letter-spacing: .02em; }
.article-body .callout p { margin: 0; font-size: .98rem; }
.article-body .callout--coral { background: linear-gradient(140deg, var(--gold-100), #ffd6c8); border-color: var(--gold-400); }
.article-body .callout--coral strong { color: var(--gold-600); }
.article-body table { width: 100%; border-collapse: collapse; margin: 26px 0; font-size: .95rem; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.article-body th, .article-body td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.article-body thead th { background: var(--cloud); font-family: var(--font-display); color: var(--ink); }
.article-body tbody tr:last-child td { border-bottom: none; }
.article-body hr { border: none; border-top: 1px solid var(--line); margin: 36px 0; }
@media (max-width: 1024px) {
  .article-layout { grid-template-columns: 1fr; }
  .article-toc { position: static; }
}

/* =========================================================================
   MOBILE FIXED ACTION BAR (WhatsApp + Get a quote)
   Hidden on desktop; sticks to the bottom on mobile/tablet.
   ========================================================================= */
.mobile-cta { display: none; }
@media (max-width: 860px) {
  .mobile-cta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    padding: 12px 14px calc(12px + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: saturate(160%) blur(14px);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
    border-top: 1px solid var(--line);
    box-shadow: 0 -12px 30px rgba(20, 13, 51, 0.10);
  }
  .mobile-cta__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1rem;
    padding: 14px 16px;
    border-radius: var(--radius-btn);
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
    white-space: nowrap;
  }
  .mobile-cta__btn svg { width: 20px; height: 20px; flex: none; }
  .mobile-cta__btn:active { transform: translateY(1px); }
  .mobile-cta__btn--wa { background: #25D366; color: #fff; box-shadow: 0 8px 22px rgba(37, 211, 102, 0.30); }
  .mobile-cta__btn--wa:hover { background: #1ebe5d; }
  .mobile-cta__btn--quote { background: var(--gold-500); color: #fff; box-shadow: var(--shadow-gold); }
  .mobile-cta__btn--quote:hover { background: var(--gold-600); }
  /* Stop the bar from covering page content / footer */
  body { padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px)); }
  /* When the mobile menu drawer is open, hide the bar so it doesn't overlap the menu */
  body:has(.nav-menu.show) .mobile-cta { display: none; }
}
@media (max-width: 400px) {
  .mobile-cta__btn { font-size: 0.95rem; padding: 13px 12px; }
  .mobile-cta__btn svg { width: 18px; height: 18px; }
}

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-panel { max-width: 460px; }
}
/* Nav collapses to a hamburger before the inline menu gets cramped */
@media (max-width: 1180px) {
  .nav-menu, .nav-phone { display: none; }
  .nav-toggle { display: block; }
  .nav-actions { margin-left: auto; }

  /* Mobile nav drawer */
  .nav-menu.show {
    display: flex; flex-direction: column; align-items: stretch; gap: 2px;
    position: fixed; top: 74px; left: 0; right: 0; bottom: 0;
    background: #fff; padding: 16px var(--gutter); overflow-y: auto; z-index: 99;
    border-top: 1px solid var(--line);
  }
  .nav-menu.show .nav-link { font-size: 1.05rem; padding: 14px; border-radius: 12px; justify-content: space-between; }
  .nav-menu.show .dropdown {
    position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none;
    border: none; min-width: 0; display: none; padding: 0 0 8px 14px; grid-template-columns: 1fr;
  }
  .nav-menu.show .nav-item.open .dropdown { display: grid; }
  .nav-menu.show .dropdown.wide { grid-template-columns: 1fr; }
  .nav-menu.show > .nav-phone { display: inline-flex; margin-top: 12px; }
  .nav-menu.show > .btn { display: inline-flex; margin-top: 8px; }
}
@media (max-width: 860px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .grid-4 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .btn--block-mobile { width: 100%; }
  .compare-table { font-size: .85rem; }
  .compare-table th, .compare-table td { padding: 12px 10px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* =========================================================================
   AREAS / COVERAGE  (areas.html + per-area pages)
   ========================================================================= */
/* London sub-region cards */
.region-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: clamp(18px, 2.5vw, 26px); }
.region-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: clamp(20px, 2.5vw, 28px); }
.region-card-head { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 18px; }
.region-emoji { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: radial-gradient(120% 120% at 0% 0%, var(--green-500), var(--green-700)); color: #fff; }
.region-emoji svg { width: 22px; height: 22px; }
.region-title { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; color: var(--ink); letter-spacing: -.02em; }
.region-desc { font-size: .9rem; color: var(--slate); margin-top: 2px; }

.area-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.area-link { display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 11px 13px; border-radius: 11px; background: var(--cloud); border: 1px solid transparent;
  font-family: var(--font-display); font-weight: 600; font-size: .9rem; color: var(--ink);
  transition: background .15s, border-color .15s, transform .15s, color .15s; }
.area-link:hover { background: var(--white); border-color: var(--green-300); color: var(--green-700); transform: translateY(-1px); }
.area-link span:first-child { line-height: 1.25; }
.area-link .area-arrow { flex: none; color: var(--green-500); transition: transform .15s; }
.area-link:hover .area-arrow { transform: translateX(3px); }

/* Nationwide region groups */
.area-region { margin-top: clamp(28px, 4vw, 44px); }
.area-region:first-of-type { margin-top: 0; }
.area-region-name { display: flex; align-items: center; gap: 10px; font-family: var(--font-display);
  font-size: 1.05rem; font-weight: 700; letter-spacing: -.01em; color: var(--ink); margin-bottom: 14px; }
.area-region-name::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: var(--gold-500); }
.area-region-name small { font-family: var(--font-body); font-weight: 600; font-size: .8rem; color: var(--slate-light); }
.area-chips { display: flex; flex-wrap: wrap; gap: 9px; }
.area-chip { display: inline-flex; align-items: center; padding: 8px 14px; border-radius: var(--radius-pill);
  background: var(--white); border: 1px solid var(--line); font-size: .86rem; font-weight: 600;
  font-family: var(--font-display); color: var(--slate); transition: background .15s, border-color .15s, color .15s; }
.area-chip:hover { background: var(--green-700); border-color: var(--green-700); color: #fff; }

@media (max-width: 540px) {
  .area-links { grid-template-columns: 1fr; }
}

/* Region quick-nav (internal linking on every area page) */
.rnav { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 8px; }
.rnav-link {
  display: inline-flex; align-items: center; padding: 8px 15px; border-radius: var(--radius-pill);
  background: var(--white); border: 1px solid var(--line); font-family: var(--font-display);
  font-weight: 600; font-size: .85rem; color: var(--green-700);
  transition: background .15s, border-color .15s, color .15s, transform .15s;
}
.rnav-link:hover { background: var(--green-700); border-color: var(--green-700); color: #fff; transform: translateY(-1px); }
.rnav-heading { text-align: center; font-size: 1.05rem; color: var(--ink); margin: 26px 0 16px; }

/* =========================================================================
   CONTENT PAGES (legal, FAQ) + CALCULATORS (tools)
   ========================================================================= */
.article-body--solo { max-width: 820px; margin-inline: auto; }
.calc-tool h3 { margin-bottom: 2px; }
.calc-tool .field { margin-top: 12px; }
.calc-tool label { display: block; font-size: .85rem; font-weight: 600; color: var(--slate); margin-bottom: 6px; }
.calc-tool input, .calc-tool select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--white); color: var(--ink); transition: border-color .15s, box-shadow .15s;
}
.calc-tool input:focus, .calc-tool select:focus { outline: none; border-color: var(--green-500); box-shadow: 0 0 0 3px rgba(111,92,240,.15); }
.calc-out { margin-top: 18px; padding: 16px 18px; border-radius: var(--radius); background: var(--cloud); border: 1px solid var(--line); }
.calc-row { display: flex; align-items: center; justify-content: space-between; padding: 7px 0; font-size: .95rem; color: var(--slate); }
.calc-row b { font-family: var(--font-display); color: var(--ink); font-size: 1.02rem; }
.calc-row--total { border-top: 2px solid var(--line); margin-top: 4px; padding-top: 12px; }
.calc-row--total span { font-weight: 700; color: var(--ink); }
.calc-row--total b { color: var(--green-700); font-size: 1.25rem; }

/* reserve space for JS-injected header to prevent layout shift */
#site-header{display:block;min-height:75px}
