/* =========================================================
   THRIVE MIRPUR — design tokens & base styles
   Premium editorial. Emerald + warm gold. UK-oriented.
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  /* Brand */
  --emerald-950: #062a22;
  --emerald-900: #0a3d31;
  --emerald-800: #0f5746;   /* primary */
  --emerald-700: #176a57;
  --emerald-600: #1f8169;
  --emerald-200: #b7d6cc;
  --emerald-100: #d9eae3;
  --emerald-50:  #ecf5f1;

  --gold-800:   #8a6a2f;
  --gold-700:   #a07d3a;
  --gold-600:   #c9a35b;   /* accent */
  --gold-400:   #e0bf85;
  --gold-100:   #f4e8cf;
  --gold-50:    #faf2e1;

  --cream:      #fbf8f2;
  --cream-warm: #f5efe1;
  --paper:      #ffffff;

  --slate-950:  #0a1014;
  --slate-900:  #0e1518;
  --slate-800:  #1b2329;
  --slate-700:  #2c3540;
  --slate-600:  #475262;
  --slate-500:  #6b7480;
  --slate-400:  #97a0aa;
  --slate-300:  #cbd0d6;
  --slate-200:  #dfe3e8;
  --slate-100:  #eef0f3;
  --slate-50:   #f6f7f9;

  --success: #1f8169;
  --warn:    #c9711b;
  --danger:  #b1331e;

  /* Semantic */
  --bg:        var(--cream);
  --bg-alt:    var(--paper);
  --bg-deep:   var(--emerald-950);
  --text:      var(--slate-800);
  --text-mute: var(--slate-500);
  --text-soft: var(--slate-600);
  --primary:   var(--emerald-800);
  --primary-d: var(--emerald-900);
  --accent:    var(--gold-600);
  --accent-d:  var(--gold-700);
  --border:    #e8e1d0;
  --border-strong: #d6cdb8;

  /* Type */
  --font-display: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body:    "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --fs-12: 0.75rem;
  --fs-13: 0.8125rem;
  --fs-14: 0.875rem;
  --fs-15: 0.9375rem;
  --fs-16: 1rem;
  --fs-18: 1.125rem;
  --fs-20: 1.25rem;
  --fs-22: 1.375rem;
  --fs-24: 1.5rem;
  --fs-28: 1.75rem;
  --fs-32: 2rem;
  --fs-40: 2.5rem;
  --fs-48: 3rem;
  --fs-56: 3.5rem;
  --fs-64: 4rem;
  --fs-72: 4.5rem;

  /* Spacing — 4pt scale */
  --sp-1: .25rem;
  --sp-2: .5rem;
  --sp-3: .75rem;
  --sp-4: 1rem;
  --sp-5: 1.25rem;
  --sp-6: 1.5rem;
  --sp-8: 2rem;
  --sp-10: 2.5rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-20: 5rem;
  --sp-24: 6rem;
  --sp-32: 8rem;
  --sp-40: 10rem;

  --r-xs: 4px;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 28px;
  --r-pill: 999px;

  --shadow-xs: 0 1px 2px rgba(10, 60, 49, .06);
  --shadow-sm: 0 2px 6px rgba(10, 60, 49, .07), 0 1px 2px rgba(10, 60, 49, .04);
  --shadow-md: 0 8px 24px rgba(10, 60, 49, .10), 0 2px 6px rgba(10, 60, 49, .05);
  --shadow-lg: 0 20px 48px rgba(10, 60, 49, .14), 0 6px 16px rgba(10, 60, 49, .07);
  --shadow-glow: 0 0 0 6px rgba(201, 163, 91, .15);

  --container: 1200px;
  --container-narrow: 760px;
  --container-wide: 1340px;

  --ease: cubic-bezier(.4,0,.2,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
  --ease-spring: cubic-bezier(.34,1.56,.64,1);
  --dur-fast: 160ms;
  --dur: 280ms;
  --dur-slow: 480ms;

  --nav-h: 72px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
body {
  font-family: var(--font-body);
  font-size: var(--fs-16);
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv11";
  min-height: 100dvh;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
a { color: var(--primary); text-decoration: none; transition: color var(--dur-fast) var(--ease); }
a:hover { color: var(--accent-d); }

/* ---------- Accessibility ---------- */
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}
.skip-link {
  position: absolute; top: -100px; left: 16px;
  background: var(--primary); color: #fff;
  padding: 12px 18px; border-radius: var(--r-sm);
  z-index: 9999; font-weight: 600;
  transition: top var(--dur) var(--ease);
}
.skip-link:focus { top: 16px; color: #fff; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--slate-900);
}
h1 { font-size: clamp(2.25rem, 5vw + 0.5rem, 4.25rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(1.875rem, 3vw + 0.5rem, 3rem); letter-spacing: -0.03em; }
h3 { font-size: clamp(1.375rem, 1.5vw + 0.75rem, 1.75rem); letter-spacing: -0.02em; }
h4 { font-size: var(--fs-20); letter-spacing: -0.01em; }
p  { color: var(--text-soft); }
.lead { font-size: clamp(1.0625rem, 0.7vw + 0.875rem, 1.25rem); color: var(--text-soft); line-height: 1.55; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display);
  font-size: var(--fs-13);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  padding: 6px 14px;
  background: var(--emerald-50);
  border: 1px solid var(--emerald-100);
  border-radius: var(--r-pill);
}
.eyebrow--gold { color: var(--gold-800); background: var(--gold-50); border-color: var(--gold-100); }
.eyebrow--ink { color: var(--cream); background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); }
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

.text-balance { text-wrap: balance; }
.text-pretty  { text-wrap: pretty; }

/* ---------- Layout ---------- */
.container       { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: var(--container-narrow); }
.container--wide { max-width: var(--container-wide); }

section { padding-block: clamp(64px, 8vw, 112px); position: relative; }
.section-tight { padding-block: clamp(48px, 6vw, 80px); }

.row { display: flex; flex-wrap: wrap; gap: var(--sp-6); }
.grid { display: grid; gap: var(--sp-6); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .grid-3.keep-2-mobile { grid-template-columns: 1fr; }
}
@media (min-width: 700px) and (max-width: 1000px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: var(--r-pill);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-15);
  letter-spacing: -0.005em;
  cursor: pointer;
  transition: transform var(--dur-fast) var(--ease), background var(--dur) var(--ease), color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
  border: 1.5px solid transparent;
  white-space: nowrap;
}
.btn:focus-visible { outline-offset: 4px; }
.btn:active { transform: translateY(1px) scale(.99); }

.btn-primary {
  background: var(--primary); color: #fff;
  box-shadow: 0 6px 16px rgba(10, 60, 49, .22);
}
.btn-primary:hover { background: var(--primary-d); color: #fff; box-shadow: 0 10px 24px rgba(10, 60, 49, .3); }

.btn-accent {
  background: var(--accent); color: #1b1305;
  box-shadow: 0 6px 16px rgba(201, 163, 91, .35);
}
.btn-accent:hover { background: var(--accent-d); color: #fff; }

.btn-ghost {
  background: transparent; color: var(--primary);
  border-color: var(--border-strong);
}
.btn-ghost:hover { background: var(--paper); border-color: var(--primary); color: var(--primary); }

.btn-light {
  background: rgba(255,255,255,.08); color: #fff;
  border-color: rgba(255,255,255,.18);
  backdrop-filter: blur(8px);
}
.btn-light:hover { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.35); color: #fff; }

.btn-sm { min-height: 40px; padding: 8px 16px; font-size: var(--fs-14); }
.btn-lg { min-height: 56px; padding: 16px 28px; font-size: var(--fs-16); }

.btn .arrow {
  display: inline-block;
  transition: transform var(--dur) var(--ease-out);
}
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Navbar ---------- */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251, 248, 242, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.navbar.scrolled { border-color: var(--border); background: rgba(251, 248, 242, 0.94); }

.nav {
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--sp-6);
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 800;
  color: var(--slate-900); font-size: var(--fs-18);
  letter-spacing: -0.02em;
}
.brand:hover { color: var(--primary); }
.brand-mark {
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, var(--emerald-800), var(--emerald-600));
  display: grid; place-items: center; color: #fff;
  box-shadow: var(--shadow-sm), inset 0 -2px 0 rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.18);
  font-weight: 800; font-size: 16px;
}
.brand-mark svg { width: 22px; height: 22px; }

.nav-menu {
  display: flex; align-items: center; gap: 4px;
  list-style: none; padding: 0;
}
.nav-menu a {
  color: var(--slate-700);
  font-weight: 500;
  font-size: var(--fs-14);
  padding: 10px 14px;
  border-radius: var(--r-sm);
  transition: background var(--dur-fast), color var(--dur-fast);
}
.nav-menu a:hover { color: var(--primary); background: var(--emerald-50); }
.nav-menu .has-sub { position: relative; }
.nav-menu .has-sub > a { display: inline-flex; align-items: center; gap: 6px; }
.nav-menu .has-sub > a svg { flex: none; }
.nav-submenu {
  position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%) translateY(8px);
  background: var(--paper); border: 1px solid var(--border);
  border-radius: var(--r-md); box-shadow: var(--shadow-lg);
  min-width: 320px; padding: 8px;
  opacity: 0; visibility: hidden;
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility var(--dur);
}
.has-sub:hover .nav-submenu,
.has-sub:focus-within .nav-submenu {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.nav-submenu a {
  display: block; padding: 12px 14px; border-radius: var(--r-sm);
  font-size: var(--fs-14); color: var(--slate-700);
}
.nav-submenu a strong { display: block; color: var(--slate-900); font-weight: 600; margin-bottom: 2px; font-size: var(--fs-14); }
.nav-submenu a span  { display: block; font-size: var(--fs-13); color: var(--text-mute); }
.nav-submenu a:hover { background: var(--emerald-50); }

.nav-cta { display: flex; align-items: center; gap: 8px; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: var(--r-sm);
  color: var(--slate-800);
}
.nav-toggle svg { width: 24px; height: 24px; }

@media (max-width: 1000px) {
  .nav-menu, .nav-cta .btn-ghost { display: none; }
  .nav-toggle { display: inline-grid; place-items: center; }
}

.nav-mobile {
  position: fixed; inset: var(--nav-h) 0 0 0;
  background: var(--cream);
  padding: 24px;
  display: flex; flex-direction: column; gap: 8px;
  transform: translateY(-12px); opacity: 0; visibility: hidden;
  transition: opacity var(--dur), transform var(--dur), visibility var(--dur);
  z-index: 99;
  overflow-y: auto;
  border-top: 1px solid var(--border);
}
.nav-mobile.open { opacity: 1; transform: translateY(0); visibility: visible; }
.nav-mobile a {
  display: block; padding: 14px 18px; border-radius: var(--r-sm);
  color: var(--slate-800); font-weight: 600; font-size: var(--fs-16);
  border: 1px solid var(--border);
  background: var(--paper);
}
.nav-mobile .nm-group { margin-top: 12px; }
.nav-mobile .nm-group-label { font-size: var(--fs-12); text-transform: uppercase; letter-spacing: .12em; color: var(--text-mute); padding: 8px 4px; }
.nav-mobile .btn { margin-top: 12px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding-top: clamp(48px, 6vw, 80px);
  padding-bottom: clamp(64px, 8vw, 120px);
  background:
    radial-gradient(800px 400px at 90% 0%, rgba(201,163,91,.18), transparent 60%),
    radial-gradient(900px 500px at 0% 100%, rgba(15,87,70,.12), transparent 65%),
    linear-gradient(180deg, var(--cream) 0%, var(--cream-warm) 100%);
}
.hero-grid {
  display: grid; grid-template-columns: 1.15fr 1fr;
  gap: clamp(32px, 4vw, 64px); align-items: center;
}
@media (max-width: 1000px) { .hero-grid { grid-template-columns: 1fr; } }
.hero h1 { margin-block: var(--sp-5) var(--sp-4); }
.hero .lead { margin-bottom: var(--sp-8); max-width: 56ch; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-meta {
  display: flex; gap: 20px; flex-wrap: wrap; margin-top: var(--sp-10);
  padding-top: var(--sp-6); border-top: 1px solid var(--border);
  color: var(--text-mute); font-size: var(--fs-13);
}
.hero-meta span { display: inline-flex; align-items: center; gap: 6px; }
.hero-meta svg { width: 16px; height: 16px; color: var(--primary); }

.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--r-xl);
  background: linear-gradient(160deg, var(--emerald-900), var(--emerald-700) 60%, var(--emerald-800));
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  display: grid; place-items: center;
}
.hero-visual::before {
  content: "";
  position: absolute; inset: -10%;
  background:
    radial-gradient(closest-side at 25% 30%, rgba(201,163,91,.5), transparent 60%),
    radial-gradient(closest-side at 80% 75%, rgba(255,255,255,.18), transparent 60%);
  filter: blur(20px);
}
.hero-card-stack {
  position: relative; width: 86%; aspect-ratio: 1; padding: 24px;
  display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr;
  gap: 18px;
}
.hcard {
  background: rgba(255,255,255,.94);
  border-radius: var(--r-lg);
  padding: 18px;
  box-shadow: 0 16px 40px rgba(0,0,0,.18);
  display: flex; flex-direction: column; gap: 6px;
  border: 1px solid rgba(255,255,255,.5);
}
.hcard .h { font-family: var(--font-display); font-weight: 700; color: var(--slate-900); font-size: var(--fs-14); }
.hcard .v { font-family: var(--font-display); font-weight: 800; color: var(--primary); font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: -0.02em; }
.hcard .s { font-size: var(--fs-12); color: var(--text-mute); }
.hcard.gold { background: linear-gradient(160deg, #fff, var(--gold-50)); border-color: var(--gold-100); }
.hcard.dark { background: var(--slate-900); color: #fff; border-color: rgba(255,255,255,.1); }
.hcard.dark .h, .hcard.dark .v { color: #fff; }
.hcard.dark .s { color: var(--slate-300); }

/* ---------- Cards ---------- */
.card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: clamp(20px, 2.4vw, 32px);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.card-link { display: block; color: inherit; }
.card-link h3 { color: var(--slate-900); }
.card-link:hover h3 { color: var(--primary); }

.icon-tile {
  width: 56px; height: 56px; border-radius: var(--r-md);
  display: grid; place-items: center;
  background: linear-gradient(160deg, var(--emerald-50), #fff);
  color: var(--primary);
  margin-bottom: 18px;
  border: 1px solid var(--emerald-100);
  box-shadow: var(--shadow-xs);
}
.icon-tile svg { width: 26px; height: 26px; }
.icon-tile.gold { background: linear-gradient(160deg, var(--gold-50), #fff); color: var(--gold-800); border-color: var(--gold-100); }
.icon-tile.dark { background: var(--slate-900); color: var(--gold-400); border-color: var(--slate-800); }

/* ---------- Stats strip ---------- */
.stats-strip {
  padding-block: 56px;
  background: var(--slate-900);
  color: #fff;
}
.stats-strip .grid {
  text-align: left;
}
.stat .v {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  letter-spacing: -0.03em;
  color: var(--gold-400);
  margin-bottom: 4px;
}
.stat .l { color: var(--slate-300); font-size: var(--fs-14); }
.stat .src { color: var(--slate-500); font-size: var(--fs-12); margin-top: 4px; }

/* ---------- Service feature blocks ---------- */
.feature {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 4vw, 80px);
  align-items: center;
}
.feature.reverse { direction: rtl; }
.feature.reverse > * { direction: ltr; }
@media (max-width: 900px) {
  .feature, .feature.reverse { grid-template-columns: 1fr; direction: ltr; }
}
.feature-visual {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--r-lg);
  background: linear-gradient(160deg, var(--emerald-900), var(--emerald-700));
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.feature-visual.gold { background: linear-gradient(160deg, var(--gold-100), var(--gold-50)); }
.feature-visual.cream { background: linear-gradient(160deg, var(--cream-warm), var(--paper)); border: 1px solid var(--border); }
.feature-visual.dark  { background: linear-gradient(160deg, var(--slate-900), var(--slate-800)); }

.checklist { list-style: none; padding: 0; display: grid; gap: 12px; margin-top: var(--sp-6); }
.checklist li {
  display: grid; grid-template-columns: 24px 1fr; gap: 12px;
  color: var(--text);
  font-size: var(--fs-15);
}
.checklist .check {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--emerald-50); color: var(--primary);
  display: grid; place-items: center;
  flex-shrink: 0;
  border: 1px solid var(--emerald-100);
}
.checklist .check svg { width: 14px; height: 14px; }

/* ---------- CTA Section ---------- */
.cta-band {
  background:
    radial-gradient(900px 500px at 100% 0%, rgba(201,163,91,.16), transparent 60%),
    radial-gradient(900px 500px at 0% 100%, rgba(31,129,105,.18), transparent 60%),
    linear-gradient(160deg, var(--emerald-950), var(--emerald-900));
  color: #fff;
  border-radius: var(--r-xl);
  padding: clamp(40px, 5vw, 72px);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(24px, 3vw, 56px);
  align-items: center;
  position: relative;
  overflow: hidden;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: var(--emerald-200); }
.cta-band .cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 900px) { .cta-band { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 18px 22px;
  transition: border-color var(--dur), box-shadow var(--dur);
}
.faq details[open] { border-color: var(--emerald-200); box-shadow: var(--shadow-sm); }
.faq summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-18);
  color: var(--slate-900);
  list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  width: 22px; height: 22px;
  background: var(--emerald-50);
  border-radius: 50%;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%230f5746' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'></polyline></svg>");
  background-repeat: no-repeat;
  background-position: center;
  transition: transform var(--dur) var(--ease);
  flex-shrink: 0;
}
.faq details[open] summary::after { transform: rotate(180deg); }
.faq .answer { padding-top: 14px; color: var(--text-soft); line-height: 1.7; }

/* ---------- Forms ---------- */
.form {
  display: grid; gap: 16px;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: clamp(24px, 3vw, 40px);
  box-shadow: var(--shadow-sm);
}
.form .field { display: grid; gap: 6px; }
.form label {
  font-family: var(--font-display);
  font-size: var(--fs-13);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--slate-800);
}
.form .req { color: var(--danger); }
.form input,
.form select,
.form textarea {
  width: 100%;
  background: var(--cream);
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  padding: 12px 14px;
  font-size: var(--fs-15);
  color: var(--slate-900);
  min-height: 48px;
  transition: border-color var(--dur-fast), background var(--dur-fast), box-shadow var(--dur-fast);
}
.form textarea { min-height: 132px; resize: vertical; }
.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--paper);
  box-shadow: 0 0 0 4px rgba(15,87,70,.12);
}
.form .helper { font-size: var(--fs-13); color: var(--text-mute); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.form .legal { font-size: var(--fs-12); color: var(--text-mute); line-height: 1.6; }
.form button[type="submit"] { margin-top: 8px; justify-self: start; }

/* ---------- Pricing chip / badges ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  font-size: var(--fs-12);
  font-weight: 600;
  background: var(--emerald-50);
  color: var(--primary);
  border: 1px solid var(--emerald-100);
}
.badge--gold { background: var(--gold-50); color: var(--gold-800); border-color: var(--gold-100); }
.badge--gray { background: var(--slate-50); color: var(--slate-700); border-color: var(--slate-200); }
.badge--dark { background: var(--slate-900); color: var(--gold-400); border-color: var(--slate-800); }

/* ---------- Quote / Testimonial ---------- */
.quote {
  background: var(--paper);
  border-left: 4px solid var(--accent);
  padding: 28px 32px;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  font-family: var(--font-display);
  font-size: var(--fs-20);
  line-height: 1.45;
  color: var(--slate-900);
  letter-spacing: -0.01em;
}
.quote-author { display: flex; gap: 14px; align-items: center; margin-top: 18px; font-family: var(--font-body); }
.quote-author .avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--emerald-100); color: var(--primary); display: grid; place-items: center; font-weight: 700; }
.quote-author .name { font-weight: 600; color: var(--slate-900); font-size: var(--fs-14); }
.quote-author .role { font-size: var(--fs-13); color: var(--text-mute); }

/* ---------- Breadcrumb ---------- */
.crumb {
  display: flex; gap: 8px; align-items: center;
  font-size: var(--fs-13); color: var(--text-mute);
  padding: var(--sp-6) 0;
}
.crumb a { color: var(--text-mute); }
.crumb a:hover { color: var(--primary); }
.crumb .sep { opacity: .5; }
.crumb .current { color: var(--slate-800); font-weight: 500; }

/* ---------- Page header ---------- */
.page-head {
  padding-block: clamp(40px, 6vw, 80px) clamp(40px, 5vw, 64px);
  background:
    radial-gradient(800px 400px at 20% 0%, rgba(15,87,70,.10), transparent 60%),
    linear-gradient(180deg, var(--cream-warm), var(--cream));
  border-bottom: 1px solid var(--border);
}
.page-head h1 { margin-block: 18px 12px; }
.page-head .lead { max-width: 60ch; }

/* ---------- Footer ---------- */
.footer {
  background: var(--slate-950);
  color: var(--slate-300);
  padding-top: 72px;
  padding-bottom: 32px;
}
.footer h4 { color: #fff; font-size: var(--fs-14); text-transform: uppercase; letter-spacing: .14em; margin-bottom: 18px; font-weight: 600; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: clamp(24px, 3vw, 64px);
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-links { list-style: none; padding: 0; display: grid; gap: 12px; }
.footer-links a { color: var(--slate-300); font-size: var(--fs-14); }
.footer-links a:hover { color: var(--gold-400); }
.footer-brand p { color: var(--slate-400); margin-block: 16px; max-width: 36ch; font-size: var(--fs-14); }
.footer-social { display: flex; gap: 10px; margin-top: 12px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  display: grid; place-items: center; color: var(--slate-300);
  transition: background var(--dur-fast), color var(--dur-fast), border-color var(--dur-fast);
}
.footer-social a:hover { background: var(--gold-600); color: #1b1305; border-color: var(--gold-600); }
.footer-social svg { width: 18px; height: 18px; }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-top: 32px;
  font-size: var(--fs-13);
  color: var(--slate-500);
}
.footer-bottom a { color: var(--slate-500); }
.footer-bottom a:hover { color: var(--gold-400); }

/* ---------- Floating WhatsApp ---------- */
.float-wa {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 90;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 18px;
  background: #25D366;
  color: #fff;
  border-radius: var(--r-pill);
  font-family: var(--font-display); font-weight: 600;
  font-size: var(--fs-14);
  box-shadow: 0 10px 30px rgba(37, 211, 102, .35);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur);
}
.float-wa:hover { transform: translateY(-2px); color: #fff; box-shadow: 0 14px 36px rgba(37, 211, 102, .45); }
.float-wa svg { width: 22px; height: 22px; }
@media (max-width: 600px) {
  .float-wa .lbl { display: none; }
  .float-wa { padding: 14px; }
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
  will-change: opacity, transform;
}
.reveal.in {
  opacity: 1; transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Logos strip ---------- */
.logos-strip {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--sp-6);
  padding: var(--sp-8) 0;
  border-block: 1px solid var(--border);
  align-items: center;
  opacity: .85;
}
@media (max-width: 900px) { .logos-strip { grid-template-columns: repeat(3, 1fr); } }
.logos-strip .logo {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--slate-500);
  font-size: var(--fs-15);
  text-align: center;
  letter-spacing: -0.01em;
}

/* ---------- Pillar cards (service hub) ---------- */
.pillar {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  display: grid;
  grid-template-rows: auto auto auto auto;
  gap: 18px;
  padding: clamp(28px, 3vw, 44px);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur), border-color var(--dur);
}
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--emerald-200); }
.pillar::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(600px 200px at 100% 0%, rgba(201,163,91,.12), transparent 60%);
  pointer-events: none;
}
.pillar h3 { font-size: var(--fs-24); }
.pillar .pillar-meta {
  display: flex; gap: 12px; flex-wrap: wrap;
  font-size: var(--fs-13); color: var(--text-mute);
  padding-top: var(--sp-4); border-top: 1px solid var(--border);
}
.pillar .pillar-meta strong { color: var(--slate-800); font-weight: 600; }

/* ---------- Process steps ---------- */
.steps { display: grid; gap: 20px; counter-reset: step; }
.step {
  display: grid; grid-template-columns: 56px 1fr; gap: 20px;
  padding: 20px; background: var(--paper);
  border: 1px solid var(--border); border-radius: var(--r-md);
}
.step-num {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--primary); color: #fff;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 800; font-size: var(--fs-20);
}
.step h4 { margin-bottom: 6px; }

/* ---------- Tag list ---------- */
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px;
  background: var(--cream-warm);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  font-size: var(--fs-13);
  color: var(--slate-700);
  font-weight: 500;
}

/* ---------- Case study card ---------- */
.case {
  display: grid;
  grid-template-columns: 1fr;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur), border-color var(--dur);
}
.case:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.case-cover {
  aspect-ratio: 16/9;
  background: linear-gradient(160deg, var(--emerald-900), var(--emerald-700));
  position: relative;
  display: grid; place-items: center;
  color: #fff;
  padding: 24px;
}
.case-cover.gold { background: linear-gradient(160deg, var(--gold-700), var(--gold-600)); color: #1b1305; }
.case-cover.dark { background: linear-gradient(160deg, var(--slate-900), var(--slate-800)); }
.case-body { padding: 24px; }
.case-body h3 { margin-bottom: 8px; }
.case-kpis {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
.case-kpi .v { font-family: var(--font-display); font-weight: 800; font-size: var(--fs-22); color: var(--primary); letter-spacing: -0.02em; }
.case-kpi .l { font-size: var(--fs-12); color: var(--text-mute); }

/* ---------- City cards (UK Guide) ---------- */
.city-card {
  display: grid; gap: 12px;
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: transform var(--dur), box-shadow var(--dur), border-color var(--dur);
}
.city-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--emerald-200); }
.city-card .ribbon { display: inline-flex; gap: 8px; align-items: center; font-size: var(--fs-12); color: var(--gold-800); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.city-card .pop { font-family: var(--font-display); font-weight: 700; color: var(--primary); font-size: var(--fs-22); letter-spacing: -0.02em; }

/* ---------- Directory category grid ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 900px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .cat-grid { grid-template-columns: 1fr; } }
.cat {
  display: flex; flex-direction: column; gap: 12px;
  padding: 20px;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  text-align: left;
  color: var(--slate-800);
  transition: border-color var(--dur), background var(--dur), transform var(--dur);
}
.cat:hover { border-color: var(--emerald-200); background: var(--emerald-50); transform: translateY(-2px); color: var(--primary); }
.cat .ct-name { font-family: var(--font-display); font-weight: 700; color: var(--slate-900); }
.cat .ct-count { font-size: var(--fs-13); color: var(--text-mute); }

/* ---------- Pricing card ---------- */
.price-card {
  background: var(--paper);
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px;
  display: grid; gap: 18px;
  height: 100%;
  position: relative;
}
.price-card.featured {
  background: linear-gradient(180deg, var(--paper), var(--gold-50));
  border-color: var(--gold-600);
  box-shadow: var(--shadow-lg);
}
.price-card .price { font-family: var(--font-display); font-weight: 800; font-size: var(--fs-40); letter-spacing: -0.03em; color: var(--slate-900); }
.price-card .price small { font-size: var(--fs-14); font-weight: 500; color: var(--text-mute); letter-spacing: 0; }
.price-card ul { list-style: none; padding: 0; display: grid; gap: 10px; margin-top: 4px; }
.price-card li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: var(--fs-14); color: var(--text); }
.price-card li svg { width: 18px; height: 18px; color: var(--primary); }
.price-card .featured-tag {
  position: absolute; top: -12px; right: 20px;
  background: var(--gold-600); color: #1b1305;
  padding: 4px 12px; border-radius: var(--r-pill);
  font-size: var(--fs-12); font-weight: 700; letter-spacing: 0.02em;
}

/* ---------- Section helpers ---------- */
.section-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head h2 { margin-block: 12px 16px; }
.center { text-align: center; margin-inline: auto; }
.muted { color: var(--text-mute); }
.divider { height: 1px; background: var(--border); margin-block: var(--sp-12); }
.bg-cream { background: var(--cream-warm); }
.bg-paper { background: var(--paper); }
.bg-deep  { background: var(--slate-900); color: #fff; }
.bg-deep h2, .bg-deep h3 { color: #fff; }
.bg-deep p { color: var(--slate-300); }
.bg-emerald {
  background:
    radial-gradient(900px 500px at 100% 0%, rgba(201,163,91,.18), transparent 60%),
    linear-gradient(160deg, var(--emerald-950), var(--emerald-900));
  color: #fff;
}
.bg-emerald h2, .bg-emerald h3 { color: #fff; }
.bg-emerald p { color: var(--emerald-200); }

/* Section anchor offset for sticky nav */
:target { scroll-margin-top: calc(var(--nav-h) + 16px); }

/* Print: keep essentials only */
@media print {
  .navbar, .footer, .float-wa, .cta-band { display: none; }
}
