/* =========================================================
   ENLIGHTEN HOME TUTORS — MAIN STYLESHEET
   Design system: deep indigo + warm amber, editorial serif
   display type paired with a clean grotesque body face.
   ========================================================= */

/* ---------- Design tokens ---------- */
:root {
  /* Colour */
  --ink: #1B2A4A;          /* headings, primary text */
  --brand: #24365C;        /* deep indigo — primary brand */
  --brand-dark: #16223B;
  --paper: #FCFAF6;        /* page background */
  --paper-alt: #F3EEE4;    /* alternate section background */
  --accent: #E29A34;       /* warm amber — CTAs */
  --accent-dark: #C17F1E;
  --teal: #2F7A6C;         /* secondary accent — boards / success */
  --teal-dark: #235F54;
  --text: #3E4656;
  --text-light: #6B7280;
  --border: #E4DFD2;
  --white: #FFFFFF;
  --success-bg: #EAF5F1;
  --error: #C0392B;

  /* Type */
  --font-display: "Fraunces", "Georgia", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Layout */
  --container: 1180px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 3px rgba(27, 42, 74, 0.08);
  --shadow-md: 0 8px 24px rgba(27, 42, 74, 0.10);
  --shadow-lg: 0 16px 40px rgba(27, 42, 74, 0.14);

  --header-h: 76px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: 1rem; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-weight: 600;
}

h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); font-weight: 600; }
h2 { font-size: clamp(1.65rem, 3vw, 2.35rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; color: var(--text); }

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

/* Visually-hidden but accessible */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: 12px; top: -48px;
  background: var(--ink);
  color: var(--white);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  z-index: 1000;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 12px; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

/* ---------- Eyebrow / section labels ---------- */
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-dark);
  background: var(--success-bg);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.section-head {
  max-width: 700px;
  margin: 0 auto 44px;
  text-align: center;
}
.section-head p { color: var(--text-light); font-size: 1.05rem; }
.section-head.align-left { margin-left: 0; text-align: left; }

section { padding: 76px 0; }
.section-alt { background: var(--paper-alt); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--accent);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--accent-dark); box-shadow: var(--shadow-md); color: var(--white); }

.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,0.55);
  color: var(--white);
}
.btn-outline:hover { background: rgba(255,255,255,0.12); border-color: var(--white); }

.btn-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--ink);
}
.btn-ghost:hover { border-color: var(--brand); background: var(--paper-alt); }

.btn-call {
  background: var(--brand);
  color: var(--white);
}
.btn-call:hover { background: var(--brand-dark); }

.btn-whatsapp {
  background: var(--teal);
  color: var(--white);
}
.btn-whatsapp:hover { background: var(--teal-dark); }

.btn-block { width: 100%; }
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }

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

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(252, 250, 246, 0.92);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--border);
  height: var(--header-h);
  display: flex;
  align-items: center;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--ink);
}
.brand-logo {
  width: 44px; height: 44px;
  border-radius: 10px;
  object-fit: contain;
  flex-shrink: 0;
  background: var(--white);
}
.brand-logo-footer { background: transparent; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text small {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--text-light);
  text-transform: uppercase;
}

/* Off-canvas navigation menu (opened via hamburger on every breakpoint) */
.main-nav {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: min(320px, 86vw);
  background: var(--paper);
  border-left: 1px solid var(--border);
  padding: calc(var(--header-h) + 20px) 22px 24px;
  gap: 4px;
  transform: translateX(100%);
  transition: transform 0.28s ease;
  z-index: 700;
  overflow-y: auto;
}
.main-nav.open { transform: translateX(0); }
.main-nav a {
  padding: 14px 12px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  transition: background-color 0.15s ease, color 0.15s ease;
}
.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--brand);
  background: var(--paper-alt);
}
.main-nav .mobile-nav-cta {
  margin-top: 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  text-align: center;
  font-weight: 600;
}

.nav-scrim {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(27, 42, 74, 0.38);
  border: none;
  padding: 0;
  z-index: 650;
  opacity: 0;
  transition: opacity 0.25s ease;
  cursor: pointer;
}
.nav-scrim.visible { display: block; opacity: 1; }

.header-actions { display: flex; align-items: center; gap: 10px; }
.header-actions .btn { padding: 11px 20px; font-size: 0.95rem; }

.nav-toggle {
  display: flex;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  position: relative;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }


/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--brand);
  color: var(--white);
  overflow: hidden;
  padding: 72px 0 88px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.16) 1.6px, transparent 1.6px);
  background-size: 26px 26px;
  opacity: 0.5;
  pointer-events: none;
}
.hero .container {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.28);
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.hero h1 { color: var(--white); margin-bottom: 18px; }
.hero h1 .accent-word { color: var(--accent); }
.hero-sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.86);
  max-width: 540px;
  margin-bottom: 30px;
}
.hero-meta {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  font-size: 0.92rem;
  color: rgba(255,255,255,0.8);
}
.hero-meta span { display: flex; align-items: center; gap: 8px; }
.hero-meta svg { width: 18px; height: 18px; color: var(--accent); }

.hero-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-photo-frame {
  position: relative;
  width: min(380px, 78vw);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  border: 2px solid rgba(226, 154, 52, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
}
.hero-photo-frame::before {
  content: "";
  position: absolute;
  inset: -22px;
  border-radius: 50%;
  border: 1.5px dashed rgba(255,255,255,0.22);
}
.hero-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: var(--shadow-lg);
}
.hero-badge {
  position: absolute;
  bottom: 4px;
  left: -6px;
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 600;
}
.hero-badge .badge-icon {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--success-bg);
  color: var(--teal-dark);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.hero-badge .badge-icon svg { width: 18px; height: 18px; }
.hero-badge-top {
  bottom: auto;
  top: 6px;
  left: auto;
  right: -10px;
}

/* ---------- Trust bar ---------- */
.trust-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
}
.trust-item {
  padding: 28px 12px;
  border-right: 1px solid var(--border);
}
.trust-item:last-child { border-right: none; }
.trust-num {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 600;
  color: var(--brand);
  display: block;
}
.trust-label {
  font-size: 0.85rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ---------- Card grids ---------- */
.grid {
  display: grid;
  gap: 24px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }

.card-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--paper-alt);
  color: var(--brand);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.card-icon svg { width: 24px; height: 24px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--text-light); margin-bottom: 0; font-size: 0.97rem; }

/* Service card with CTA */
.service-card { display: flex; flex-direction: column; }
.service-card p { flex-grow: 1; }
.service-card .btn { margin-top: 18px; align-self: flex-start; }

/* Class / board chips */
.chip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.chip-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  text-align: center;
}
.chip-card .chip-icon {
  width: 44px; height: 44px;
  margin: 0 auto 12px;
  color: var(--teal);
}
.chip-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.chip-card p { font-size: 0.88rem; color: var(--text-light); margin: 0; }

/* Subjects pill cloud */
.subject-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.subject-pill {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
}

/* Boards */
.board-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.board-card {
  background: var(--brand);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 28px 20px;
  text-align: center;
}
.board-card h3 { color: var(--white); margin-bottom: 4px; }
.board-card p { color: rgba(255,255,255,0.75); margin: 0; font-size: 0.88rem; }

/* ---------- How it works ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 30px 22px 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}
.step-num {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 600;
  color: var(--accent);
  display: block;
  margin-bottom: 10px;
}
.step h3 { font-size: 1.05rem; margin-bottom: 6px; }
.step p { font-size: 0.92rem; color: var(--text-light); margin: 0; }

/* ---------- Tutor network ---------- */
.network-section {
  background: var(--ink);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.network-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.10) 1.4px, transparent 1.4px);
  background-size: 30px 30px;
}
.network-section .container { position: relative; }
.network-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.network-section h2 { color: var(--white); }
.network-section p { color: rgba(255,255,255,0.78); }
.network-stats {
  display: flex;
  gap: 32px;
  margin-top: 26px;
}
.network-stats .trust-num { color: var(--accent); }
.network-stats .trust-label { color: rgba(255,255,255,0.65); }

/* ---------- Reviews carousel ---------- */
.review-carousel {
  position: relative;
  overflow: hidden;
}
.review-track {
  display: flex;
  gap: 24px;
  will-change: transform;
}
.review-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 26px 24px;
  display: flex;
  flex-direction: column;
  flex: 0 0 340px;
  position: relative;
  box-shadow: var(--shadow-sm);
}
.review-quote-mark {
  font-family: var(--font-display);
  font-size: 2.6rem;
  line-height: 1;
  color: var(--accent);
  opacity: 0.65;
  margin-bottom: 4px;
  display: block;
}
.review-quote {
  font-size: 0.98rem;
  color: var(--ink);
  margin-bottom: 18px;
  flex-grow: 1;
}
.review-meta { display: flex; align-items: center; gap: 12px; }
.review-avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--paper-alt);
  color: var(--brand);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-family: var(--font-display);
  flex-shrink: 0;
  overflow: hidden;
  border: 2px solid var(--paper-alt);
}
.review-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.review-name-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.review-name { font-weight: 600; color: var(--ink); font-size: 0.94rem; }
.review-role { font-size: 0.82rem; color: var(--text-light); }
.review-badge {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--success-bg);
  color: var(--teal-dark);
}
.review-badge.badge-parent {
  background: rgba(226, 154, 52, 0.16);
  color: var(--accent-dark);
}

.carousel-controls {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}
.carousel-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  padding: 0;
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.carousel-dot[aria-current="true"] {
  background: var(--brand);
  transform: scale(1.25);
}
.review-note {
  text-align: center;
  font-size: 0.88rem;
  color: var(--text-light);
  margin-top: 28px;
}

/* ---------- FAQ ---------- */
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 4px;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--ink);
  font-weight: 600;
}
.faq-question .plus {
  width: 26px; height: 26px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.faq-question .plus::before,
.faq-question .plus::after {
  content: "";
  position: absolute;
  background: var(--brand);
}
.faq-question .plus::before { width: 11px; height: 1.6px; }
.faq-question .plus::after { width: 1.6px; height: 11px; }
.faq-item[data-open="true"] .plus { transform: rotate(135deg); border-color: var(--brand); }

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.25s ease;
}
.faq-answer > div { overflow: hidden; }
.faq-item[data-open="true"] .faq-answer { grid-template-rows: 1fr; }
.faq-answer p { padding: 0 4px 20px; color: var(--text-light); margin: 0; }

/* ---------- Final CTA ---------- */
.final-cta {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: var(--white);
  text-align: center;
}
.final-cta h2 { color: var(--white); }
.final-cta p { color: rgba(255,255,255,0.82); max-width: 560px; margin-left: auto; margin-right: auto; }
.final-cta .btn-row { justify-content: center; margin-top: 26px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.72);
  padding: 60px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-brand .brand { color: var(--white); }
.footer-brand p { color: rgba(255,255,255,0.6); margin-top: 14px; font-size: 0.92rem; max-width: 280px; }
.footer-social {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 8px 14px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 999px;
  font-size: 0.88rem;
  color: var(--white);
}
.footer-social svg { width: 16px; height: 16px; }

.footer-col h4 {
  font-family: var(--font-body);
  color: var(--white);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: rgba(255,255,255,0.68); font-size: 0.94rem; transition: color 0.15s ease; }
.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 22px;
  font-size: 0.84rem;
  color: rgba(255,255,255,0.5);
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom a { color: rgba(255,255,255,0.6); }
.footer-bottom a:hover { color: var(--white); }

/* ---------- Floating WhatsApp button ---------- */
.floating-contact {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 600;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  transition: transform 0.18s ease, background-color 0.18s ease;
}
.floating-contact:hover { background: var(--teal-dark); transform: scale(1.06); }
.floating-contact svg { width: 28px; height: 28px; }

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  background: var(--brand);
  color: var(--white);
  padding: 56px 0;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.14) 1.4px, transparent 1.4px);
  background-size: 26px 26px;
}
.page-hero .container { position: relative; }
.page-hero h1 { color: var(--white); margin-bottom: 10px; }
.breadcrumb {
  font-size: 0.86rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 14px;
}
.breadcrumb a { color: rgba(255,255,255,0.85); }
.page-hero p.lead { color: rgba(255,255,255,0.82); max-width: 620px; margin-bottom: 0; }

/* ---------- About page ---------- */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.value-list { display: grid; gap: 18px; margin-top: 26px; }
.value-item { display: flex; gap: 14px; align-items: flex-start; }
.value-item .card-icon { margin-bottom: 0; flex-shrink: 0; }
.value-item h3 { margin-bottom: 4px; font-size: 1.05rem; }
.value-item p { margin: 0; font-size: 0.94rem; color: var(--text-light); }

/* ---------- Founder ---------- */
.founder-photo-wrap { position: relative; max-width: 340px; margin: 0 auto 24px; }
.founder-photo-wrap img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: block;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top center;
}
.founder-photo-wrap::after {
  content: "";
  position: absolute;
  inset: 16px -16px -16px 16px;
  border: 2px solid var(--accent);
  border-radius: var(--radius-lg);
  z-index: -1;
}
.founder-name-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 16px 8px 8px;
  box-shadow: var(--shadow-md);
  position: absolute;
  bottom: -18px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
}
.founder-name-badge .badge-icon {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--brand);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
}
.founder-name-badge span { font-weight: 600; font-size: 0.9rem; color: var(--ink); }
.founder-copy .eyebrow { margin-top: 6px; }
.founder-quote {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--ink);
  border-left: 3px solid var(--accent);
  padding-left: 18px;
  margin: 20px 0;
}

/* ---------- Contact page ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 40px;
  align-items: start;
}
.contact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.contact-method {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.contact-method:last-of-type { border-bottom: none; }
.contact-method .card-icon { margin-bottom: 0; }
.contact-method h3 { font-size: 1rem; margin-bottom: 2px; }
.contact-method p { margin: 0; font-size: 0.9rem; color: var(--text-light); }
.contact-method .btn { margin-left: auto; }

.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}
.form-card-compact {
  max-width: 640px;
  margin: 0 auto;
  padding: 34px;
}
.enquiry-section {
  position: relative;
}
.enquiry-section.section-alt { background: var(--paper-alt); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { margin-bottom: 18px; }
.form-field label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink);
  margin-bottom: 6px;
}
.form-field .required { color: var(--error); }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--paper);
  color: var(--text);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(36, 54, 92, 0.14);
}
.form-field textarea { resize: vertical; min-height: 100px; }
.field-error {
  display: none;
  color: var(--error);
  font-size: 0.82rem;
  margin-top: 6px;
}
.form-field.invalid input,
.form-field.invalid select,
.form-field.invalid textarea { border-color: var(--error); }
.form-field.invalid .field-error { display: block; }

.form-note { font-size: 0.82rem; color: var(--text-light); margin-top: 4px; }

.form-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}
.form-success.visible { display: block; }
.form-success .success-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--success-bg);
  color: var(--teal-dark);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
}
.form-success .success-icon svg { width: 32px; height: 32px; }
.form-success-note { color: var(--text-light); font-size: 0.92rem; }
.enquiry-form.hidden { display: none; }

.form-error {
  display: none;
  align-items: center;
  gap: 8px;
  background: #FBEAE7;
  color: var(--error);
  border: 1px solid rgba(192, 57, 43, 0.25);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 0.88rem;
  margin-top: 14px;
}
.form-error.visible { display: flex; }

.form-manual-whatsapp {
  display: none;
  margin-top: 10px;
}
.form-manual-whatsapp.visible { display: inline-flex; }

.btn.is-loading { position: relative; opacity: 0.85; cursor: progress; }
.btn.is-loading::after {
  content: "";
  width: 16px; height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.5);
  border-top-color: currentColor;
  animation: btn-spin 0.7s linear infinite;
  margin-left: 4px;
}
@keyframes btn-spin { to { transform: rotate(360deg); } }

/* ---------- Legal pages ---------- */
.legal-content { max-width: 780px; margin: 0 auto; }
.legal-content h2 { margin-top: 1.6em; }
.legal-content ul { list-style: disc; padding-left: 1.4em; margin-bottom: 1em; }
.legal-content li { margin-bottom: 0.4em; }
.legal-updated { color: var(--text-light); font-size: 0.9rem; margin-bottom: 30px; }

/* ---------- Utility ---------- */
.mt-0 { margin-top: 0; }
.text-center { text-align: center; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 980px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-art { order: -1; max-width: 320px; margin: 0 auto; }
  .network-grid { grid-template-columns: 1fr; }
  .about-split { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .grid-3, .grid-4, .board-grid, .chip-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .review-card { flex-basis: 300px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(2) { border-right: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  :root { --header-h: 68px; }
  .header-actions .btn-ghost { display: none; }
  .header-actions .btn-call span.btn-text { display: none; }
  .main-nav { width: 100%; max-width: 100%; border-left: none; }

  section { padding: 54px 0; }
  .grid-3, .grid-4, .board-grid, .chip-grid, .steps { grid-template-columns: 1fr; }
  .review-card { flex-basis: 260px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .form-row { grid-template-columns: 1fr; }
  .contact-card, .form-card { padding: 24px; }
  .hero { padding: 48px 0 60px; }
  .btn-row { flex-direction: column; align-items: stretch; }
  .btn-row .btn { width: 100%; }
}

