/* ==========================================================================
   Executive Hausa Tutors — Design System
   Dark premium: forest ink (#113029, sampled from the brand seal) + rose
   (#fb9ebc, sampled from the brand wordmark) with champagne gold accents.
   No framework, no dependencies. Mobile-first.
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  /* Ink greens — sampled from the logo seal (#113029) */
  --ink-1000: #06120e;
  --ink-950: #081a14;
  --ink-900: #0b231c;
  --ink-850: #0e2b22;
  --ink-800: #113029;
  --ink-700: #164036;
  --ink-600: #1d5044;
  --ink-500: #27695a;

  /* Rose — sampled from the brand wordmark (#fb9ebc) */
  --rose-400: #fdc2d5;
  --rose-500: #fb9ebc;
  --rose-600: #f2789f;
  --rose-700: #d9537f;

  /* Champagne gold — premium detail accent, used sparingly */
  --gold-400: #f3ddab;
  --gold-500: #e6c07b;
  --gold-600: #c99f52;

  /* Neutrals */
  --white: #ffffff;
  --text: #f2f7f4;
  --text-soft: #d5e3dc;
  --muted: #a3bcb2;
  --muted-dim: #7d948b;

  /* Surfaces & lines */
  --line: rgba(255, 255, 255, 0.10);
  --line-strong: rgba(255, 255, 255, 0.18);
  --surface-1: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.065);
  --surface-glass: rgba(12, 35, 28, 0.72);

  /* Type */
  --font-display: "Playfair Display", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Shape */
  --r-xs: 8px;
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 26px;
  --r-xl: 34px;
  --r-pill: 999px;

  /* Depth */
  --shadow-sm: 0 6px 20px -10px rgba(0, 0, 0, 0.6);
  --shadow-md: 0 24px 50px -24px rgba(0, 0, 0, 0.7);
  --shadow-lg: 0 40px 90px -40px rgba(0, 0, 0, 0.85);
  --glow-rose: 0 18px 45px -18px rgba(251, 158, 188, 0.45);
  --glow-gold: 0 18px 45px -18px rgba(230, 192, 123, 0.4);

  /* Layout */
  --shell: 1200px;
  --shell-narrow: 780px;
  --header-h: 84px;
  --topbar-h: 39px; /* contact bar above the header: 38px inner + 1px border */

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- 2. Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background-color: var(--ink-950);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  font-weight: 400;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.nav-open { overflow: hidden; }

img,
svg,
video { max-width: 100%; display: block; }

img { height: auto; }

a { color: var(--rose-500); text-decoration: none; }
a:hover { color: var(--rose-400); }

button { font: inherit; color: inherit; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
  color: var(--white);
}

h1 { font-size: clamp(2.35rem, 5.6vw, 4.15rem); }
h2 { font-size: clamp(1.85rem, 3.9vw, 2.85rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); }
h4 { font-size: clamp(1.1rem, 1.6vw, 1.28rem); }
h5 { font-size: 1.03rem; font-family: var(--font-body); font-weight: 600; }

p { margin: 0 0 1.15rem; }
p:last-child { margin-bottom: 0; }

::selection { background: var(--rose-500); color: var(--ink-900); }

:focus-visible {
  outline: 2px solid var(--gold-500);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -70px;
  z-index: 200;
  background: var(--rose-500);
  color: var(--ink-900);
  font-weight: 600;
  padding: 12px 20px;
  border-radius: var(--r-pill);
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 16px; color: var(--ink-900); }

/* Kept deliberately: the standard visually-hidden utility. No element uses it
   today, but an icon-only button or an added form label needs it, and it
   renders nothing. */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- 3. Layout primitives ---------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: 22px;
}

.shell-narrow {
  width: 100%;
  max-width: var(--shell-narrow);
  margin-inline: auto;
  padding-inline: 22px;
}

.section {
  position: relative;
  padding: clamp(64px, 8vw, 118px) 0;
}

.section--tight { padding: clamp(44px, 5vw, 72px) 0; }
.section--flush-top { padding-top: 0; }

.section--alt {
  background:
    radial-gradient(1100px 460px at 82% -10%, rgba(251, 158, 188, 0.07), transparent 62%),
    linear-gradient(180deg, var(--ink-900), var(--ink-1000));
  border-block: 1px solid var(--line);
}

.section--deep { background: var(--ink-1000); }

.grid {
  display: grid;
  gap: 26px;
}
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-auto { grid-template-columns: repeat(auto-fit, minmax(268px, 1fr)); }

/* The home page "What we do" block is deliberately three across on desktop.
   Between 721px and 900px three columns would squeeze the cards to under
   ~270px, so it steps down to two before the global rule takes it to one. */
@media (max-width: 900px) and (min-width: 721px) {
  #services .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.grid-tight { gap: 16px; }

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(30px, 5vw, 68px);
  align-items: center;
}
.split--reverse .split-media { order: -1; }

/* ---------- 4. Typography helpers ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  opacity: 0.75;
}

.section-head {
  max-width: 760px;
  margin: 0 auto clamp(38px, 4vw, 58px);
  text-align: center;
}
.section-head--left { margin-inline: 0; text-align: left; }
.section-head .section-title { margin-bottom: 14px; }
.section-title em,
h1 em,
h2 em,
h3 em {
  font-style: italic;
  color: var(--rose-500);
}
.section-sub {
  color: var(--muted);
  font-size: 1.06rem;
  margin: 0;
}

.lead {
  font-size: clamp(1.06rem, 1.35vw, 1.19rem);
  color: var(--text-soft);
  line-height: 1.75;
}

.muted { color: var(--muted); }
.text-center { text-align: center; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2.25rem; }

.prose > * + * { margin-top: 1.1rem; }
.prose h2, .prose h3 { margin-top: 2.2rem; }
.prose ul, .prose ol { padding-left: 1.2rem; color: var(--text-soft); }
.prose li { margin-bottom: 0.55rem; }
.prose strong { color: var(--white); }

/* ---------- 5. Buttons ---------- */
.btn {
  --btn-bg: var(--rose-500);
  --btn-fg: var(--ink-900);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 26px;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background-color 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
  box-shadow: var(--glow-rose);
}
.btn:hover {
  transform: translateY(-2px);
  background: var(--rose-400);
  color: var(--ink-900);
}
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; flex: none; }

.btn-ghost {
  --btn-bg: transparent;
  --btn-fg: var(--white);
  border-color: var(--line-strong);
  box-shadow: none;
}
.btn-ghost:hover {
  background: var(--surface-2);
  border-color: var(--rose-500);
  color: var(--white);
}

.btn-sm { padding: 11px 20px; font-size: 0.87rem; }
.btn-lg { padding: 18px 34px; font-size: 1.02rem; }
.btn-block { width: 100%; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.93rem;
  color: var(--rose-500);
}
.text-link svg { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.text-link:hover svg { transform: translateX(4px); }

/* ---------- 6. Badges, chips, pills ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 15px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  background: var(--surface-1);
  backdrop-filter: blur(8px);
  font-size: 0.79rem;
  font-weight: 500;
  color: var(--text-soft);
}
.badge--gold {
  border-color: rgba(230, 192, 123, 0.42);
  color: var(--gold-400);
  background: rgba(230, 192, 123, 0.08);
}
.badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold-500);
  flex: none;
  box-shadow: 0 0 0 4px rgba(230, 192, 123, 0.16);
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.pill-list li {
  padding: 8px 16px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: var(--surface-1);
  font-size: 0.86rem;
  color: var(--muted);
}

.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 13px;
}
.check-list li {
  position: relative;
  padding-left: 32px;
  color: var(--text-soft);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(251, 158, 188, 0.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fb9ebc' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 11px 11px no-repeat;
}
.check-list--gold li::before {
  background-color: rgba(230, 192, 123, 0.16);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e6c07b' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}
.check-list li strong { color: var(--white); }

.icon-tile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: var(--r-sm);
  background: linear-gradient(150deg, rgba(251, 158, 188, 0.18), rgba(251, 158, 188, 0.05));
  border: 1px solid rgba(251, 158, 188, 0.24);
  color: var(--rose-500);
  flex: none;
}
.icon-tile svg { width: 24px; height: 24px; }
.icon-tile--gold {
  background: linear-gradient(150deg, rgba(230, 192, 123, 0.2), rgba(230, 192, 123, 0.04));
  border-color: rgba(230, 192, 123, 0.28);
  color: var(--gold-500);
}

/* ---------- 6b. Top bar — contact + social strip above the header ---------- */
.topbar {
  position: relative;
  z-index: 121; /* sits above the sticky header */
  background: rgba(6, 18, 14, 0.94);
  border-bottom: 1px solid var(--line);
  font-size: 0.78rem;
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: calc(var(--topbar-h) - 1px);
}
.topbar-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 2px 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.topbar-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 0;
  color: var(--text-soft);
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.2s var(--ease);
}
.topbar-link svg { flex: none; width: 15px; height: 15px; }
.topbar-link:hover { color: var(--white); }
.topbar-wa { color: var(--rose-500); }
.topbar-wa:hover { color: var(--rose-400); }
.topbar-social {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.topbar-social a {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: var(--muted);
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.topbar-social svg { width: 15px; height: 15px; }
.topbar-social a:hover { color: var(--ink-950); background: var(--rose-500); }

/* Narrow screens: drop the socials (still in the footer), then the long email
   address, so the bar never wraps or overflows on a phone. */
@media (max-width: 720px) {
  .topbar-social { display: none; }
}
@media (max-width: 560px) {
  .topbar-email-text { display: none; }
}

/* ---------- 7. Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 120;
  background: linear-gradient(180deg, rgba(6, 18, 14, 0.94), rgba(6, 18, 14, 0.72));
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.site-header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 18px 40px -30px rgba(0, 0, 0, 0.9);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: var(--white);
  flex: none;
}
.brand:hover { color: var(--white); }

.nav { display: flex; }
.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-link {
  display: inline-block;
  padding: 10px 14px;
  border-radius: var(--r-pill);
  color: var(--text-soft);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.nav-link:hover { color: var(--white); background: var(--surface-1); }

/* The global reset (see `svg { display: block }`) makes inline icons block-level,
   which drops the dropdown caret onto its own line. Keep it inline, centred
   beside the label, and stop the label/icon pair ever breaking apart. */
.nav-link[aria-haspopup="true"] { white-space: nowrap; }
.nav-link.is-active { color: var(--white); }
.nav-link.is-active::after {
  content: "";
  display: block;
  height: 2px;
  width: 18px;
  margin: 7px auto -9px;
  border-radius: 2px;
  background: var(--rose-500);
}

.nav-item { position: relative; }
.nav-caret {
  display: inline-block;
  vertical-align: middle;
  flex: none;
  width: 12px;
  height: 12px;
  margin-left: 5px;
  position: relative;
  top: -1px;
  opacity: 0.7;
}
.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 274px;
  padding: 10px;
  list-style: none;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface-glass);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-lg);
  display: grid;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0.22s;
}
.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown a {
  display: block;
  padding: 10px 13px;
  border-radius: var(--r-xs);
  color: var(--text-soft);
  font-size: 0.89rem;
  transition: background-color 0.18s var(--ease), color 0.18s var(--ease);
}
.dropdown a:hover { background: var(--surface-2); color: var(--white); }
.dropdown a span { display: block; font-size: 0.76rem; color: var(--muted-dim); }

.nav-actions { display: flex; align-items: center; gap: 12px; flex: none; }

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  background: var(--surface-1);
  cursor: pointer;
  padding: 0;
  place-items: center;
}
.nav-toggle span {
  display: block;
  width: 19px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  position: relative;
  transition: background-color 0.2s var(--ease);
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 19px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.25s var(--ease);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

.mobile-nav {
  position: fixed;
  /* the panel opens flush under the header, which sits below the contact bar */
  inset: calc(var(--header-h) + var(--topbar-h)) 0 0;
  z-index: 110;
  padding: 26px 22px 60px;
  background: linear-gradient(180deg, var(--ink-950), var(--ink-1000));
  overflow-y: auto;
  transform: translateY(-12px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s var(--ease), transform 0.28s var(--ease), visibility 0.28s;
}
.mobile-nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.mobile-nav-list { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 4px; }
.mobile-nav-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 4px;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  font-size: 1.08rem;
  font-weight: 500;
}
.mobile-nav-list a:hover { color: var(--rose-500); }
.mobile-nav-group-title {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-500);
  padding: 22px 4px 8px;
}
.mobile-nav .btn { width: 100%; margin-bottom: 12px; }

/* ---------- 8. Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(56px, 8vw, 110px) 0 clamp(60px, 7vw, 104px);
  background:
    radial-gradient(900px 520px at 78% 8%, rgba(251, 158, 188, 0.13), transparent 60%),
    radial-gradient(700px 480px at 8% 92%, rgba(230, 192, 123, 0.09), transparent 62%),
    linear-gradient(180deg, var(--ink-1000), var(--ink-950) 55%, var(--ink-900));
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: clamp(34px, 5vw, 70px);
  align-items: center;
}
.hero-title { margin-bottom: 22px; }
.hero-copy .lead { margin-bottom: 26px; }
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  font-size: 0.88rem;
  color: var(--muted);
}
.hero-meta span { display: inline-flex; align-items: center; gap: 9px; }
.hero-meta svg { width: 17px; height: 17px; color: var(--gold-500); flex: none; }

.hero-media { position: relative; }
.media-frame {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-lg);
  background: var(--ink-900);
}
.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(6, 18, 14, 0.72));
  pointer-events: none;
}
.media-frame img,
.media-frame video { width: 100%; height: 100%; object-fit: cover; }
.media-frame--tall { aspect-ratio: 4 / 5; }
.media-frame--wide { aspect-ratio: 16 / 10; }
.media-frame--square { aspect-ratio: 1 / 1; }

.media-caption {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 18px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--text-soft);
}

.float-card {
  position: absolute;
  z-index: 3;
  padding: 16px 18px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  background: var(--surface-glass);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-md);
}
.float-card--tl { top: -18px; left: -20px; }
.float-card--br { bottom: -22px; right: -16px; }
.float-card-label {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 4px;
}
.float-card-value { font-family: var(--font-display); font-size: 1.16rem; color: var(--white); line-height: 1.3; }

.avatar-stack { display: inline-flex; align-items: center; }
.avatar-stack img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--ink-900);
  margin-left: -12px;
}
.avatar-stack img:first-child { margin-left: 0; }

/* ---------- 9. Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  padding: clamp(48px, 6vw, 84px) 0 clamp(40px, 5vw, 66px);
  background:
    radial-gradient(760px 420px at 84% -20%, rgba(251, 158, 188, 0.12), transparent 62%),
    linear-gradient(180deg, var(--ink-1000), var(--ink-900));
  border-bottom: 1px solid var(--line);
}
.page-hero-inner {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: clamp(30px, 4vw, 56px);
  align-items: center;
}
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  font-size: 0.82rem;
  color: var(--muted-dim);
}
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--rose-500); }
.breadcrumbs li + li::before { content: "/"; margin-right: 10px; color: var(--muted-dim); }
.breadcrumbs [aria-current="page"] { color: var(--text-soft); }

/* ---------- 10. Cards ---------- */
.card {
  position: relative;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, var(--surface-1), rgba(255, 255, 255, 0.015));
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(251, 158, 188, 0.34);
  box-shadow: var(--shadow-md);
}
.card-title { margin: 18px 0 10px; }
.card-text { color: var(--muted); font-size: 0.95rem; margin-bottom: 18px; }
.card--flat:hover { transform: none; }

.service-card { display: flex; flex-direction: column; }
.service-card .card-text { flex: 1; }
.service-media {
  border-radius: var(--r-md);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--line);
  background: var(--ink-900);
}
.service-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.service-card:hover .service-media img { transform: scale(1.05); }

.price-card { display: flex; flex-direction: column; padding: 32px; }
.price-card--featured {
  border-color: rgba(230, 192, 123, 0.45);
  background:
    radial-gradient(520px 260px at 50% -20%, rgba(230, 192, 123, 0.14), transparent 70%),
    linear-gradient(180deg, var(--surface-2), rgba(255, 255, 255, 0.02));
  box-shadow: var(--shadow-md);
}
.price-flag {
  position: absolute;
  top: -13px;
  left: 32px;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  background: var(--gold-500);
  color: var(--ink-1000);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.price-amount {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--white);
  line-height: 1.1;
  margin: 12px 0 4px;
}
.price-amount small { font-size: 0.92rem; font-family: var(--font-body); color: var(--muted); }
.price-note { font-size: 0.84rem; color: var(--muted-dim); }
.price-card .check-list { margin: 24px 0 28px; flex: 1; }

.testimonial-card { display: flex; flex-direction: column; padding: 30px; }
.quote {
  font-family: var(--font-display);
  font-size: 1.12rem;
  line-height: 1.62;
  color: var(--text);
  flex: 1;
}
.person {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
  border: 1px solid var(--line-strong);
}
.person-name { font-weight: 600; color: var(--white); font-size: 0.96rem; line-height: 1.3; }
.person-meta { font-size: 0.8rem; color: var(--muted-dim); }

/* Testimonial slider (scroll-snap, no dependencies) */
.slider { position: relative; }
.slider-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(300px, 1fr);
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 6px 4px 26px;
  scrollbar-width: none;
}
.slider-track::-webkit-scrollbar { display: none; }
.slider-track > * { scroll-snap-align: start; }
.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 6px;
}
.slider-btn {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--surface-1);
  color: var(--white);
  cursor: pointer;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.slider-btn:hover { background: var(--surface-2); border-color: var(--rose-500); transform: translateY(-2px); }
.slider-btn svg { width: 20px; height: 20px; }
.slider-btn:disabled { opacity: 0.35; cursor: not-allowed; transform: none; }
.slider-dots { display: flex; gap: 8px; }
.slider-dot {
  width: 8px; height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--line-strong);
  cursor: pointer;
  transition: background-color 0.2s var(--ease), width 0.2s var(--ease);
}
.slider-dot.is-active { background: var(--rose-500); width: 22px; border-radius: var(--r-pill); }

/* ---------- 11. Stats ---------- */
.stat-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--line);
}
.stat {
  padding: 30px 24px;
  background: linear-gradient(180deg, var(--ink-900), var(--ink-950));
  text-align: center;
}
.stat-value {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  color: var(--white);
  line-height: 1.15;
}
.stat-value em { color: var(--gold-500); font-style: normal; }
.stat-label {
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-top: 6px;
}

/* ---------- 12. Steps / process ---------- */
.steps { display: grid; gap: 26px; counter-reset: step; }
.step {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 22px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
}
.step:last-child { border-bottom: 0; padding-bottom: 0; }
.step-num {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(230, 192, 123, 0.4);
  background: rgba(230, 192, 123, 0.08);
  color: var(--gold-500);
  font-family: var(--font-display);
  font-size: 1.1rem;
  flex: none;
}
.step-body h3 { margin-bottom: 8px; font-size: 1.22rem; }
.step-body p { color: var(--muted); margin: 0; font-size: 0.96rem; }

/* ---------- 13. Accordion ---------- */
.accordion { display: grid; gap: 12px; }
.acc-item {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface-1);
  overflow: hidden;
  transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease);
}
.acc-item.is-open { border-color: rgba(251, 158, 188, 0.36); background: var(--surface-2); }
.acc-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 22px;
  border: 0;
  background: transparent;
  text-align: left;
  font-family: var(--font-body);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--white);
  cursor: pointer;
}
.acc-icon {
  position: relative;
  width: 22px;
  height: 22px;
  flex: none;
}
.acc-icon::before,
.acc-icon::after {
  content: "";
  position: absolute;
  inset: 50% 0 auto;
  height: 2px;
  border-radius: 2px;
  background: var(--rose-500);
  transform: translateY(-1px);
  transition: transform 0.25s var(--ease);
}
.acc-icon::after { transform: translateY(-1px) rotate(90deg); }
.acc-item.is-open .acc-icon::after { transform: translateY(-1px) rotate(0deg); }
.acc-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.32s var(--ease);
}
.acc-item.is-open .acc-panel { grid-template-rows: 1fr; }
.acc-panel > div { overflow: hidden; }
.acc-panel p { padding: 0 22px 22px; margin: 0; color: var(--muted); font-size: 0.96rem; }
.acc-panel ul { margin: 0; padding: 0 22px 22px 40px; color: var(--muted); font-size: 0.96rem; }
.acc-panel li + li { margin-top: 8px; }

/* ---------- 14. CTA band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(251, 158, 188, 0.24);
  border-radius: var(--r-xl);
  padding: clamp(34px, 5vw, 62px);
  background:
    radial-gradient(700px 320px at 12% 0%, rgba(251, 158, 188, 0.18), transparent 62%),
    radial-gradient(600px 320px at 92% 100%, rgba(230, 192, 123, 0.14), transparent 60%),
    linear-gradient(150deg, var(--ink-800), var(--ink-950));
  box-shadow: var(--shadow-lg);
}
.cta-inner {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 30px;
  align-items: center;
}
.cta-band h2 { margin-bottom: 12px; }
.cta-band p { color: var(--text-soft); margin: 0; }
.cta-actions { display: flex; flex-direction: column; gap: 12px; }

/* ---------- 15. Forms ---------- */
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: grid; gap: 8px; }
.field label {
  font-size: 0.83rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--text-soft);
}
.field .hint { font-size: 0.78rem; color: var(--muted-dim); }
.input,
.select,
.textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  background: rgba(6, 18, 14, 0.55);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.96rem;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.input::placeholder,
.textarea::placeholder { color: var(--muted-dim); }
.input:focus,
.select:focus,
.textarea:focus {
  outline: none;
  border-color: var(--rose-500);
  background: rgba(6, 18, 14, 0.8);
  box-shadow: 0 0 0 3px rgba(251, 158, 188, 0.14);
}
.select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a3bcb2' stroke-width='2.2' stroke-linecap='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 17px;
  padding-right: 44px;
}
.textarea { min-height: 148px; resize: vertical; }
.form-note { font-size: 0.8rem; color: var(--muted-dim); }

.alert {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  padding: 16px 18px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-strong);
  background: var(--surface-1);
  font-size: 0.92rem;
}
.alert svg { width: 20px; height: 20px; flex: none; margin-top: 2px; }
.alert--ok { border-color: rgba(126, 217, 168, 0.42); background: rgba(126, 217, 168, 0.08); color: #cdf3df; }
.alert--ok svg { color: #7ed9a8; }
.alert--err { border-color: rgba(251, 158, 188, 0.42); background: rgba(251, 158, 188, 0.08); color: #ffd9e5; }
.alert--err svg { color: var(--rose-500); }
.alert h3 { font-size: 1.05rem; margin: 0 0 4px; color: inherit; }
.alert p { margin: 0; }

.contact-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(28px, 4vw, 52px);
  align-items: start;
}
.contact-panel { display: grid; gap: 14px; }
.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface-1);
}
.contact-item h3 { font-size: 1rem; margin: 0 0 3px; font-family: var(--font-body); font-weight: 600; }
.contact-item p,
.contact-item a { font-size: 0.92rem; color: var(--muted); margin: 0; }
.contact-item a:hover { color: var(--rose-500); }
.map-frame {
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--line);
  line-height: 0;
}
.map-frame iframe { width: 100%; height: 300px; border: 0; display: block; filter: grayscale(0.35) contrast(1.05); }

/* ---------- 16. Footer ---------- */
.site-footer {
  position: relative;
  padding: clamp(52px, 6vw, 78px) 0 30px;
  background: linear-gradient(180deg, var(--ink-1000), #040d0a);
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 34px;
}
.footer-brand .brand { margin-bottom: 18px; }
.footer-brand p { color: var(--muted); font-size: 0.92rem; max-width: 34ch; }
.footer-title {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin: 0 0 16px;
}
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-links a { color: var(--muted); font-size: 0.92rem; }
.footer-links a:hover { color: var(--rose-500); }
.footer-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.footer-contact li { display: flex; gap: 11px; align-items: flex-start; color: var(--muted); font-size: 0.92rem; }
.footer-contact svg { width: 17px; height: 17px; color: var(--rose-500); flex: none; margin-top: 4px; }
.footer-contact a { color: var(--muted); }
.footer-contact a:hover { color: var(--rose-500); }

.social-row { display: flex; gap: 10px; margin-top: 20px; }
.social-row a {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface-1);
  color: var(--text-soft);
  transition: transform 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), background-color 0.25s var(--ease);
}
.social-row a:hover {
  transform: translateY(-3px);
  color: var(--ink-900);
  background: var(--rose-500);
  border-color: var(--rose-500);
}
.social-row svg { width: 19px; height: 19px; }

.footer-bottom {
  margin-top: clamp(38px, 4vw, 54px);
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
  justify-content: space-between;
  font-size: 0.84rem;
  color: var(--muted-dim);
}
.footer-bottom a { color: var(--muted); }
.footer-bottom a:hover { color: var(--rose-500); }

/* ---------- 17. Reveal on scroll ----------
   Pure CSS, driven by the element's own position in the scrollport, so there is
   no JavaScript to fail and nothing to keep in sync. It is wrapped in @supports
   on purpose: a browser that cannot do scroll-driven animation simply renders
   the content normally, instead of hiding it and hoping a script reveals it. */
@keyframes eht-reveal {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}

@supports (animation-timeline: view()) {
  /* Ranges end inside the "entry" phase, so a block has always finished
     animating by the time it is fully on screen — the effect can never leave a
     visible section half-faded. */
  .reveal {
    animation: eht-reveal linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 78%;
  }
  .reveal-delay-1 { animation-range: entry 7% entry 84%; }
  .reveal-delay-2 { animation-range: entry 14% entry 90%; }
  .reveal-delay-3 { animation-range: entry 21% entry 96%; }
}

/* ---------- 17b. Page components ---------- */
.brand-logo { height: 46px; width: auto; }

.trust-strip {
  border-block: 1px solid var(--line);
  background: var(--ink-1000);
  padding: 26px 0;
}
.trust-strip .shell {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 26px;
}
.trust-label {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-500);
  flex: none;
}
.trust-items {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  list-style: none;
  margin: 0;
  padding: 0;
  color: var(--text-soft);
  font-size: 0.92rem;
}
.trust-items li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.trust-items li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--rose-500);
  opacity: 0.7;
  flex: none;
}

.quote-mark {
  font-family: var(--font-display);
  font-size: 3.4rem;
  line-height: 0.6;
  color: var(--rose-500);
  opacity: 0.55;
  display: block;
  margin-bottom: 14px;
}

.video-embed {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: var(--ink-900);
  box-shadow: var(--shadow-lg);
}
.video-embed iframe,
.video-embed video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.gallery-item {
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 4 / 3;
  background: var(--ink-900);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.gallery-item:hover img { transform: scale(1.06); }

.level-list { display: grid; gap: 12px; list-style: none; margin: 0; padding: 0; }
.level {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 18px;
  align-items: center;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface-1);
}
.level-tag {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--gold-500);
  text-align: center;
  border-right: 1px solid var(--line);
  padding-right: 12px;
}
.level-body strong { display: block; color: var(--white); font-family: var(--font-body); font-size: 0.98rem; }
.level-body span { font-size: 0.9rem; color: var(--muted); }

.form-card {
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, var(--surface-1), rgba(255, 255, 255, 0.015));
  box-shadow: var(--shadow-md);
}

.note-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px 20px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--r-md);
  background: rgba(230, 192, 123, 0.05);
  font-size: 0.9rem;
  color: var(--text-soft);
}
.note-card svg { width: 20px; height: 20px; color: var(--gold-500); flex: none; margin-top: 3px; }
.note-card p { margin: 0; }

/* ---------- 18. Media queries ---------- */
@media (max-width: 1080px) {
  .nav { display: none; }
  .nav-toggle { display: grid; }
  .nav-actions .btn { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 980px) {
  .hero-inner,
  .split,
  .page-hero-inner,
  .contact-grid,
  .cta-inner { grid-template-columns: 1fr; }
  .split--reverse .split-media { order: 0; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-band { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .float-card--tl { top: -14px; left: 8px; }
  .float-card--br { bottom: -16px; right: 8px; }
  .page-hero-inner .hero-media { display: none; }
}

@media (max-width: 720px) {
  :root { --header-h: 74px; }
  .section { padding: 56px 0; }
  .grid-2,
  .grid-3,
  .grid-4,
  .grid-auto { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; align-items: stretch; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .stat-band { grid-template-columns: 1fr; }
  .float-card { position: static; margin-top: 14px; }
  .card, .price-card, .testimonial-card { padding: 24px; }
  .slider-track { grid-auto-columns: 85%; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .brand-logo { height: 38px; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .level { grid-template-columns: 1fr; gap: 8px; }
  .level-tag { text-align: left; border-right: 0; padding-right: 0; border-bottom: 1px solid var(--line); padding-bottom: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal,
  .reveal-delay-1,
  .reveal-delay-2,
  .reveal-delay-3 { animation: none !important; opacity: 1; transform: none; }
}

/* ---------- 19. Print ---------- */
@media print {
  .site-header, .mobile-nav, .cta-band, .site-footer, .slider-controls { display: none; }
  body { background: #fff; color: #111; }
  .card, .price-card, .testimonial-card { border-color: #ccc; }
}
