/* ============================================================
   SAPRA Education Consultancy — Design System
   Palette, spacing scale, typography, components.
   ============================================================ */

:root {
  /* Brand palette */
  --navy: #0B1F3A;
  --navy-800: #112a4d;
  --navy-700: #17335c;
  --gold: #D4A017;
  --gold-soft: #e6bd4e;
  --white: #FFFFFF;
  --gray: #F4F4F4;
  --gray-200: #e7e9ee;
  --ink: #1c2733;      /* body text on light bg */
  --muted: #5b6774;

  /* Spacing scale (8px base) */
  --s1: 0.5rem;
  --s2: 1rem;
  --s3: 1.5rem;
  --s4: 2rem;
  --s5: 3rem;
  --s6: 4rem;
  --s7: 6rem;

  --gold-grad: linear-gradient(135deg, #e6bd4e 0%, #D4A017 55%, #b8860f 100%);
  --navy-grad: linear-gradient(135deg, var(--navy-700) 0%, var(--navy) 100%);

  --radius: 16px;
  --radius-sm: 9px;
  --shadow: 0 10px 30px rgba(11, 31, 58, 0.08);
  --shadow-lg: 0 22px 60px rgba(11, 31, 58, 0.18);
  --shadow-gold: 0 8px 24px rgba(212, 160, 23, 0.32);
  --maxw: 1160px;

  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 17px;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--gold); }

h1, h2, h3, h4 { font-family: var(--serif); line-height: 1.18; color: var(--navy); font-weight: 700; }
h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); margin: 0 0 var(--s3); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin: 0 0 var(--s2); }
h3 { font-size: 1.25rem; margin: 0 0 var(--s1); }
p { margin: 0 0 var(--s2); }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--s4); }
@media (min-width: 1000px) { .container { padding-inline: var(--s5); } }

/* Accessibility: visible focus */
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--gold); color: var(--navy); padding: var(--s1) var(--s2);
  border-radius: 0 0 var(--radius-sm) 0; font-weight: 700;
}
.skip-link:focus { left: 0; }

/* ---------- Section rhythm ---------- */
section { padding-block: var(--s7); }
.section--tight { padding-block: var(--s5); }
.bg-gray { background: var(--gray); }
.bg-navy { background: var(--navy); color: #e9eef6; }
.bg-navy h1, .bg-navy h2, .bg-navy h3 { color: var(--white); }

.section-head { max-width: 720px; margin-inline: auto; text-align: center; margin-bottom: var(--s5); }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.bg-navy .section-head p { color: #b9c4d6; }

/* Gold divider under headings */
.divider { width: 64px; height: 3px; background: var(--gold); border: 0; border-radius: 3px; margin: var(--s2) auto var(--s3); }
.divider--left { margin-inline: 0; }

.eyebrow {
  font-family: var(--sans); font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; font-size: 0.78rem; color: var(--gold);
  margin-bottom: var(--s1);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--sans); font-weight: 700; font-size: 1rem;
  padding: 0.85rem 1.5rem; border-radius: 999px; cursor: pointer;
  border: 2px solid transparent; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  line-height: 1;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold-grad); color: var(--navy); box-shadow: 0 4px 14px rgba(212,160,23,.28); }
.btn-gold:hover { color: var(--navy); box-shadow: var(--shadow-gold); }
.btn-navy { background: var(--navy-grad); color: var(--white); }
.btn-navy:hover { color: var(--white); box-shadow: var(--shadow); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.bg-navy .btn-ghost { color: var(--white); border-color: rgba(255,255,255,.6); }
.btn-ghost:hover { background: var(--navy); color: var(--white); }
.btn-wa { background: #25D366; color: #063b1c; }
.btn-wa:hover { background: #1fbb59; color: #063b1c; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.96); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--gray-200);
}
.header-inner { display: flex; align-items: center; gap: var(--s2); min-height: 74px; flex-wrap: nowrap; }
.brand { display: flex; align-items: center; gap: 0.6rem; flex-shrink: 0; }
.brand__logo { width: 46px; height: 46px; flex-shrink: 0; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-family: var(--serif); font-weight: 800; font-size: 1.05rem; color: var(--navy); white-space: nowrap; }
.brand__tag { font-size: 0.7rem; color: var(--gold); font-weight: 600; letter-spacing: .02em; white-space: nowrap; }

.nav { margin-left: auto; min-width: 0; }
.nav__list { display: flex; gap: 1.15rem; list-style: none; margin: 0; padding: 0; align-items: center; }
.nav__cta-item { display: none; }  /* desktop uses header-cta; shows only in mobile menu */
.nav__link { font-weight: 600; font-size: 0.92rem; color: var(--navy); padding: 0.4rem 0; position: relative; white-space: nowrap; }
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--gold); transition: width .2s ease;
}
.nav__link:hover::after, .nav__link[aria-current="page"]::after { width: 100%; }
.nav__link[aria-current="page"] { color: var(--gold); }

.header-cta { margin-left: 1rem; flex-shrink: 0; white-space: nowrap; padding: 0.6rem 1.1rem; }

.nav-toggle {
  display: none; margin-left: auto; background: none; border: 0; cursor: pointer;
  width: 44px; height: 44px; padding: 8px;
}
.nav-toggle span { display: block; height: 3px; background: var(--navy); border-radius: 2px; margin: 4px 0; transition: .2s; }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(212,160,23,0.16), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-800) 100%);
  color: #e9eef6; position: relative; overflow: hidden;
}
.hero__inner { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: var(--s5); align-items: center; padding-block: var(--s7); }
.hero h1 { color: var(--white); }
.hero p.lead { font-size: 1.2rem; color: #c6d1e2; max-width: 44ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s4); }
.hero__art { display: grid; place-items: center; }
.hero__card {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius); padding: var(--s4); width: 100%; box-shadow: var(--shadow-lg);
}
.hero__card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s2); }
.hero__card li { display: flex; gap: 0.7rem; align-items: flex-start; color: #dbe3f0; }
.hero__card li .tick { color: var(--gold); flex-shrink: 0; margin-top: 3px; }

/* ---------- Badge strip ---------- */
.badge-row { display: flex; flex-wrap: wrap; gap: var(--s2); justify-content: center; }
.badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--white); border: 1px solid var(--gray-200);
  border-left: 4px solid var(--gold);
  padding: 0.7rem 1.1rem; border-radius: var(--radius-sm); font-weight: 700;
  color: var(--navy); box-shadow: var(--shadow); font-size: 0.95rem;
}
.badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }

/* Subjects pills */
.subjects { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; }
.pill {
  background: var(--navy); color: #e9eef6; padding: 0.45rem 1rem;
  border-radius: 999px; font-size: 0.9rem; font-weight: 600;
}
.pill:nth-child(odd) { background: var(--navy-700); }

/* ---------- Service icon badge ---------- */
.icon-badge {
  width: 56px; height: 56px; border-radius: 50%; background: var(--navy);
  display: grid; place-items: center; flex-shrink: 0;
}
.icon-badge svg { width: 28px; height: 28px; stroke: var(--white); }
.icon-badge--gold { background: var(--gold); }
.icon-badge--gold svg { stroke: var(--navy); }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: var(--s4); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  position: relative; background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius);
  padding: var(--s4); box-shadow: var(--shadow); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  height: 100%; overflow: hidden;
}
.card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--gold-grad); transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(212,160,23,.35); }
.card:hover::before { transform: scaleX(1); }
.card__head { display: flex; align-items: center; gap: var(--s2); margin-bottom: var(--s2); }
.card p { color: var(--muted); margin-bottom: var(--s2); }
.card .enquire { font-weight: 700; color: var(--gold); display: inline-flex; align-items: center; gap: 0.4rem; }
.card .enquire:hover { color: var(--navy); }

/* Service full card (services page) */
.service {
  display: grid; grid-template-columns: auto 1fr; gap: var(--s3); align-items: start;
  background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius);
  padding: var(--s4); box-shadow: var(--shadow); scroll-margin-top: 90px;
}
.service:hover { box-shadow: var(--shadow-lg); }
.service h3 { margin-bottom: 0.4rem; }
.service p { color: var(--muted); }

/* Why-choose badges */
.why { text-align: center; }
.why .icon-badge { margin: 0 auto var(--s2); width: 68px; height: 68px; }
.why .icon-badge svg { width: 34px; height: 34px; }

/* ---------- Testimonials ---------- */
.testimonial {
  background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius);
  padding: var(--s4); box-shadow: var(--shadow); position: relative;
}
.testimonial::before {
  content: "\201C"; font-family: var(--serif); font-size: 4rem; color: var(--gold);
  position: absolute; top: 4px; left: 18px; opacity: .35; line-height: 1;
}
.testimonial p { font-style: italic; color: var(--ink); margin-top: var(--s2); }
.testimonial .who { font-weight: 700; color: var(--navy); font-style: normal; margin-top: var(--s2); }
.sample-note {
  display: inline-block; background: #fff4d6; color: #7a5b00; border: 1px dashed var(--gold);
  padding: 0.3rem 0.75rem; border-radius: 999px; font-size: 0.8rem; font-weight: 700; margin-bottom: var(--s3);
}

/* ---------- CTA banner ---------- */
.cta-banner { text-align: center; }
.cta-banner .motto { font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 1.15rem; margin-top: var(--s2); }
.cta-banner .phones { display: flex; flex-wrap: wrap; gap: var(--s2); justify-content: center; margin-top: var(--s3); }
.cta-banner .phones a { color: var(--white); font-weight: 700; border: 1px solid rgba(255,255,255,.3); padding: .6rem 1.1rem; border-radius: 999px; }
.cta-banner .phones a:hover { border-color: var(--gold); color: var(--gold); }

/* ---------- Forms ---------- */
.form-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s6); align-items: start; }
form.contact-form { display: grid; gap: var(--s3); }
.field { display: grid; gap: 0.5rem; }
.field label { font-weight: 600; font-size: 0.92rem; color: var(--navy); }
.field label .req { color: #c0392b; }
.field input, .field select, .field textarea {
  font-family: var(--sans); font-size: 1rem; padding: 0.85rem 1rem;
  border: 1px solid var(--gray-200); border-radius: var(--radius-sm); background: var(--white); color: var(--ink);
  width: 100%;
}
.field textarea { min-height: 150px; resize: vertical; }
.field .error { color: #c0392b; font-size: 0.82rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); }
.contact-form .consent { margin-top: var(--s1); }
.contact-form button { margin-top: var(--s2); }

.alert { padding: var(--s2) var(--s3); border-radius: var(--radius-sm); margin-bottom: var(--s3); font-weight: 600; }
.alert-success { background: #e6f6ec; color: #1e6b3a; border: 1px solid #b7e4c7; }
.alert-error { background: #fdecec; color: #a02020; border: 1px solid #f3c0c0; }

/* Contact detail block */
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s4); }
.contact-list li { display: flex; gap: var(--s2); align-items: flex-start; line-height: 1.9; }
.contact-list .icon-badge { width: 44px; height: 44px; }
.contact-list .icon-badge svg { width: 22px; height: 22px; }
.contact-list a { color: var(--navy); font-weight: 600; }
.contact-list a:hover { color: var(--gold); }
.qr-box { text-align: center; background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: var(--s4); box-shadow: var(--shadow); }
.qr-box img { width: 220px; height: 220px; margin: 0 auto var(--s2); }
.map-placeholder {
  background: repeating-linear-gradient(45deg, var(--gray), var(--gray) 12px, #ececec 12px, #ececec 24px);
  border: 1px dashed var(--muted); border-radius: var(--radius); min-height: 240px;
  display: grid; place-items: center; color: var(--muted); font-weight: 600; text-align: center; padding: var(--s3);
}

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #c6d1e2; position: relative; overflow: hidden; padding-block: var(--s6) var(--s4); }
.site-footer .quill-accent { position: absolute; right: -20px; bottom: -20px; width: 220px; opacity: 0.5; pointer-events: none; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.4fr; gap: var(--s5); position: relative; z-index: 1; }
.site-footer h4 { color: var(--white); font-family: var(--sans); font-size: 0.9rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: var(--s2); }
.site-footer a { color: #c6d1e2; }
.site-footer a:hover { color: var(--gold); }
.footer-brand { display: flex; gap: 0.7rem; align-items: center; margin-bottom: var(--s2); }
.footer-brand img { width: 44px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.55rem; }
.footer-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.55rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); margin-top: var(--s5); padding-top: var(--s3); text-align: center; font-size: 0.88rem; color: #9fb0c9; position: relative; z-index: 1; }
.footer-tagline { color: var(--gold); font-family: var(--serif); font-style: italic; }

/* ---------- Floating WhatsApp button ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 120;
  width: 60px; height: 60px; border-radius: 50%; background: #25D366;
  display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.25);
}
.wa-float svg { width: 34px; height: 34px; }
.wa-float::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(37,211,102,0.6); animation: wa-pulse 2.2s infinite;
}
@keyframes wa-pulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.55); }
  70% { box-shadow: 0 0 0 18px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}
@media (prefers-reduced-motion: reduce) {
  .wa-float::after { animation: none; }
  html { scroll-behavior: auto; }
  .btn:hover, .card:hover, .service:hover { transform: none; }
  /* Kill all entrance/reveal motion — show everything immediately */
  .hero__inner > div > *, .hero__art,
  .reveal, .reveal-stagger.is-visible > * { animation: none !important; opacity: 1 !important; transform: none !important; }
  .btn-gold::after { display: none; }
  .card:hover .icon-badge, .service:hover .icon-badge { transform: none; }
}

/* ---------- Terms page ---------- */
.terms-list { list-style: none; counter-reset: t; padding: 0; margin: var(--s4) 0; display: grid; gap: var(--s2); }
.terms-list li {
  display: grid; grid-template-columns: auto 1fr; gap: var(--s2); align-items: start;
  background: var(--white); border: 1px solid var(--gray-200); border-left: 4px solid var(--gold);
  border-radius: var(--radius-sm); padding: var(--s3); box-shadow: var(--shadow);
}
.terms-list li p { margin: 0; color: var(--ink); }
.terms-num {
  width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: #fff;
  display: grid; place-items: center; font-weight: 700; font-family: var(--serif); flex-shrink: 0;
}
.terms-note {
  margin-top: var(--s4); padding: var(--s3); border-radius: var(--radius-sm);
  background: #fff8e6; border: 1px dashed var(--gold); color: #6b4e00;
}

/* ---------- Process steps ---------- */
.steps { counter-reset: step; }
.step { text-align: center; position: relative; }
.step .icon-badge { margin: 0 auto var(--s2); width: 64px; height: 64px; }
.step .step-no {
  position: absolute; top: -8px; right: calc(50% - 52px);
  width: 26px; height: 26px; border-radius: 50%; background: var(--gold); color: var(--navy);
  display: grid; place-items: center; font-weight: 800; font-size: .85rem;
}
.step h3 { margin-bottom: .3rem; }
.step p { color: var(--muted); font-size: .95rem; }

/* ---------- Stats strip ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s3); text-align: center; }
.stat {
  padding: var(--s3) var(--s2);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.stat:hover { transform: translateY(-4px); border-color: rgba(212,160,23,.4); background: rgba(255,255,255,0.07); }
.stat .num {
  font-family: var(--serif); font-weight: 800; font-size: clamp(1.9rem, 4vw, 2.7rem);
  line-height: 1; font-variant-numeric: tabular-nums;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--gold);
}
.stat .lbl { color: #c6d1e2; font-weight: 600; margin-top: .5rem; font-size: .95rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin-inline: auto; display: grid; gap: var(--s2); }
.faq details {
  background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-sm);
  padding: var(--s2) var(--s3); box-shadow: var(--shadow);
}
.faq summary {
  cursor: pointer; font-weight: 700; color: var(--navy); list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: var(--s2);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--gold); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: var(--s2) 0 0; color: var(--muted); }

/* ---------- Capabilities grid ---------- */
.cap-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s2); }
.cap-grid li {
  display: flex; gap: .6rem; align-items: center; background: var(--white);
  border: 1px solid var(--gray-200); border-radius: var(--radius-sm); padding: .8rem 1rem;
  box-shadow: var(--shadow); font-weight: 600; color: var(--navy);
}
.cap-tick { display: grid; place-items: center; width: 22px; height: 22px; color: var(--gold); flex-shrink: 0; }
@media (max-width: 900px) { .cap-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .cap-grid { grid-template-columns: 1fr; } }

/* Consent checkbox */
.consent { display: flex; gap: .6rem; align-items: flex-start; font-size: .92rem; color: var(--muted); }
.consent input { width: auto; margin-top: 3px; }

/* ---------- Animations ---------- */
/* Hero entrance (auto-plays on load) */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero__inner > div > * { animation: fade-up .7s ease both; }
.hero__inner > div > *:nth-child(2) { animation-delay: .08s; }
.hero__inner > div > *:nth-child(3) { animation-delay: .16s; }
.hero__inner > div > *:nth-child(4) { animation-delay: .24s; }
.hero__art { animation: fade-up .8s ease .18s both; }

/* Scroll-reveal (JS adds .is-visible when in view) */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; will-change: opacity, transform; }
.reveal.is-visible { opacity: 1; transform: none; }
/* Stagger children within a revealed grid */
.reveal-stagger.is-visible > * { animation: fade-up .55s ease both; }
.reveal-stagger.is-visible > *:nth-child(2) { animation-delay: .06s; }
.reveal-stagger.is-visible > *:nth-child(3) { animation-delay: .12s; }
.reveal-stagger.is-visible > *:nth-child(4) { animation-delay: .18s; }
.reveal-stagger.is-visible > *:nth-child(5) { animation-delay: .24s; }
.reveal-stagger.is-visible > *:nth-child(6) { animation-delay: .30s; }
.reveal-stagger.is-visible > *:nth-child(7) { animation-delay: .36s; }
.reveal-stagger.is-visible > *:nth-child(8) { animation-delay: .42s; }
.reveal-stagger.is-visible > *:nth-child(9) { animation-delay: .48s; }

/* Gold divider draws in when revealed */
.reveal .divider, .is-visible > .divider { transform-origin: center; }

/* Header shadow on scroll (JS toggles .scrolled) */
.site-header.scrolled { box-shadow: 0 6px 24px rgba(11,31,58,.08); }

/* Icon badge nudge on card hover */
.card:hover .icon-badge, .service:hover .icon-badge { transform: translateY(-2px) rotate(-3deg); }
.icon-badge { transition: transform .2s ease; }

/* Button sheen */
.btn-gold { position: relative; overflow: hidden; }
.btn-gold::after {
  content: ""; position: absolute; top: 0; left: -120%; width: 60%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.5), transparent);
  transform: skewX(-18deg); transition: left .5s ease;
}
.btn-gold:hover::after { left: 130%; }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.lead { font-size: 1.15rem; color: var(--muted); }
.two-col-list { columns: 2; gap: var(--s4); }
.two-col-list li { margin-bottom: 0.4rem; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__art { order: -1; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .form-wrap { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .steps.grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 980px) {
  .nav { display: none; position: absolute; top: 74px; left: 0; right: 0; background: var(--white);
    border-bottom: 1px solid var(--gray-200); box-shadow: var(--shadow); }
  .nav.open { display: block; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; padding: var(--s2); }
  .nav__list li { border-bottom: 1px solid var(--gray-200); }
  .nav__link { display: block; padding: 0.85rem 0.4rem; }
  .header-cta { display: none; }
  .nav-toggle { display: block; }
  .site-header .header-inner { position: relative; }
  .nav__cta-item { display: block; padding: var(--s2) 0.4rem 0.4rem; border-bottom: 0 !important; }
  .nav__cta { display: block; text-align: center; width: 100%; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  section { padding-block: var(--s5); }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .service { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .two-col-list { columns: 1; }
}

/* ============================================================
   Mobile support — overflow guard, tap targets, small-screen polish.
   ============================================================ */
html, body { overflow-x: hidden; max-width: 100%; }
img, svg, video, iframe { max-width: 100%; }

@media (max-width: 980px) {
  /* Slightly tighter header + bigger tap target for the menu button */
  .header-inner { gap: var(--s2); min-height: 66px; }
  .brand__logo { width: 40px; height: 40px; }
  .brand__name { font-size: 1rem; }
  .brand__tag { font-size: 0.66rem; }
  .site-header { top: 0; }
  .nav { top: 66px; }
  .nav__link { padding: 1rem 0.4rem; }        /* ≥48px tap height */
  /* Comfortable tap size for interactive bits */
  .btn { padding: 0.9rem 1.4rem; }
  .enquire, .nav__link, .footer a, .contact-list a { min-height: 44px; display: inline-flex; align-items: center; }
}

@media (max-width: 520px) {
  .container { padding-inline: var(--s3); }
  h1 { font-size: clamp(1.7rem, 8vw, 2.2rem); }
  .hero p.lead { font-size: 1.05rem; }
  .hero__cta { gap: 0.75rem; }
  .hero__cta .btn { flex: 1 1 100%; justify-content: center; }  /* full-width, easy tap */
  .biz-card figcaption { font-size: 0.92rem; }
  .section-head p { font-size: 0.98rem; }
  .terms-list li { grid-template-columns: 1fr; gap: var(--s1); }
  .qr-box img { width: 180px; height: 180px; }
  /* Kill hover-lift transforms that feel janky on touch */
  .card:hover, .service:hover, .logo-tile:hover, .biz-card__frame:hover { transform: none; }
}

/* ============================================================
   Custom cursor — gold dot + trailing navy/gold ring.
   Pointer-fine devices only; disabled for touch & reduced-motion.
   ============================================================ */
@media (hover: hover) and (pointer: fine) {
  html.has-cursor, html.has-cursor * { cursor: none !important; }

  .cursor-dot, .cursor-ring {
    position: fixed; top: 0; left: 0; z-index: 9999;
    pointer-events: none; border-radius: 50%;
    transform: translate3d(-50%, -50%, 0);
    will-change: transform, width, height, opacity;
  }
  .cursor-dot {
    width: 7px; height: 7px; background: var(--gold);
    box-shadow: 0 0 10px rgba(212,160,23,0.7);
    transition: width .18s ease, height .18s ease, opacity .2s ease, background .2s ease;
  }
  .cursor-ring {
    width: 34px; height: 34px;
    border: 1.5px solid rgba(212,160,23,0.55);
    background: rgba(212,160,23,0.04);
    transition: width .22s cubic-bezier(.22,1,.36,1),
                height .22s cubic-bezier(.22,1,.36,1),
                border-color .22s ease, background .22s ease, opacity .2s ease;
  }
  /* Hover over links/buttons: ring swells, dot fades */
  html.cursor-hover .cursor-ring {
    width: 56px; height: 56px;
    border-color: var(--gold); background: rgba(212,160,23,0.10);
  }
  html.cursor-hover .cursor-dot { width: 4px; height: 4px; opacity: .5; }
  /* Press feedback */
  html.cursor-down .cursor-ring { width: 26px; height: 26px; }
  /* Hide when pointer leaves window */
  html.cursor-hidden .cursor-dot, html.cursor-hidden .cursor-ring { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .cursor-dot, .cursor-ring { display: none !important; }
  html.has-cursor, html.has-cursor * { cursor: auto !important; }
}

/* ============================================================
   Business card showcase — framed photos with hover lift.
   Back frame crops the baked-in "Back" label + grey margin.
   ============================================================ */
.cards-showcase { align-items: start; }
.biz-card { margin: 0; }
.biz-card figcaption {
  margin-top: var(--s2); text-align: center;
  font-family: var(--serif); color: var(--navy); font-weight: 700; font-size: 1.02rem;
}
.biz-card__frame {
  position: relative; overflow: hidden;
  border-radius: var(--radius); background: var(--navy);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow);
  transition: transform .45s cubic-bezier(.22,1,.36,1), box-shadow .45s ease;
}
.biz-card__frame::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  box-shadow: inset 0 0 0 2px rgba(212,160,23,0.28);
  border-radius: inherit;
}
.biz-card__frame img { width: 100%; height: auto; display: block; }

/* Front: full card, trim the thin white bleed */
.biz-card__frame--front { aspect-ratio: 914 / 578; }
.biz-card__frame--front img { transform: scale(1.035); }

/* Back: shift up 16.3% to drop the "Back" heading, box crops the rest */
.biz-card__frame--back { aspect-ratio: 1077 / 667; }
.biz-card__frame--back img { transform: translateY(-16.3%) scale(1.02); transform-origin: top center; }

.biz-card__frame:hover {
  transform: translateY(-6px) rotateX(2deg);
  box-shadow: var(--shadow-lg);
}
@media (max-width: 760px) {
  .biz-card__frame:hover { transform: translateY(-4px); }
}

/* Gold shimmer sweep on hover */
.biz-card__frame::before {
  content: ""; position: absolute; top: 0; left: -60%; width: 45%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.28), transparent);
  transform: skewX(-18deg); transition: left .8s cubic-bezier(.22,1,.36,1);
  z-index: 2; pointer-events: none;
}
.biz-card__frame:hover::before { left: 130%; }

/* ============================================================
   Cursor polish — soft trail + hover ring uses navy on gold.
   ============================================================ */
@media (hover: hover) and (pointer: fine) {
  .cursor-ring { backdrop-filter: saturate(1.1); }
  html.cursor-hover .cursor-dot { background: var(--gold-soft); }
  /* Over dark sections, brighten the ring */
  html.cursor-invert .cursor-ring { border-color: var(--gold-soft); background: rgba(230,189,78,0.12); }
  html.cursor-invert .cursor-dot { box-shadow: 0 0 14px rgba(230,189,78,0.9); }
}

/* Magnetic buttons: smooth return */
.btn { transition: transform .25s cubic-bezier(.22,1,.36,1), background .2s ease, color .2s ease, box-shadow .2s ease; }

/* ============================================================
   Indexing seals — brand-inspired circular badges (not logos).
   ============================================================ */
.seal-row {
  display: flex; flex-wrap: wrap; gap: var(--s4) var(--s3);
  justify-content: center; align-items: flex-start;
}
.seal {
  display: flex; flex-direction: column; align-items: center; gap: 0.6rem;
  width: 120px; text-align: center;
}
.seal__disc {
  --seal: var(--navy);
  width: 76px; height: 76px; border-radius: 50%;
  display: grid; place-items: center;
  background: radial-gradient(circle at 30% 28%, #fff 0 6%, var(--seal) 42% 100%);
  color: #fff; font-family: var(--serif); font-weight: 800;
  box-shadow: 0 8px 20px rgba(11,31,58,.18), inset 0 0 0 3px rgba(255,255,255,.35), inset 0 0 0 5px var(--seal);
  position: relative;
  transition: transform .3s cubic-bezier(.22,1,.36,1), box-shadow .3s ease;
}
.seal__disc::after {
  content: ""; position: absolute; inset: -6px; border-radius: 50%;
  border: 2px dashed color-mix(in srgb, var(--seal) 55%, transparent);
  opacity: .0; transition: opacity .3s ease, transform .6s ease;
}
.seal:hover .seal__disc { transform: translateY(-4px) scale(1.06); box-shadow: var(--shadow-lg), inset 0 0 0 5px var(--seal); }
.seal:hover .seal__disc::after { opacity: 1; transform: rotate(30deg); }
.seal__abbr { font-size: 0.9rem; letter-spacing: .3px; padding: 0 4px; }
.seal__label { font-size: 0.78rem; font-weight: 700; color: var(--muted); line-height: 1.25; }
@media (max-width: 620px) {
  .seal { width: 88px; }
  .seal__disc { width: 62px; height: 62px; }
  .seal__abbr { font-size: 0.78rem; }
}

/* Real logo image (cropped from card) sits inside the seal disc */
.seal__disc { overflow: hidden; }
.seal__img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; border-radius: 50%; background: #fff; z-index: 1;
}

/* ============================================================
   Indexing logo wall — real partner logos on white tiles.
   ============================================================ */
.logo-wall {
  display: grid; gap: var(--s3);
  grid-template-columns: repeat(6, 1fr);
  align-items: stretch;
}
.logo-tile {
  margin: 0; background: #fff; border: 1px solid var(--gray-200);
  border-radius: var(--radius); padding: var(--s3) var(--s2) var(--s2);
  box-shadow: var(--shadow); text-align: center;
  display: flex; flex-direction: column; gap: 0.75rem; align-items: center;
  transition: transform .35s cubic-bezier(.22,1,.36,1), box-shadow .35s ease, border-color .35s ease;
}
.logo-tile:hover {
  transform: translateY(-6px); box-shadow: var(--shadow-lg);
  border-color: color-mix(in srgb, var(--gold) 55%, var(--gray-200));
}
.logo-tile__img {
  width: 100%; height: 64px; display: grid; place-items: center;
}
.logo-tile__img img {
  max-width: 100%; max-height: 100%; width: auto; height: auto;
  object-fit: contain; filter: saturate(1.02);
}
.logo-tile figcaption {
  font-size: 0.78rem; font-weight: 700; color: var(--muted); line-height: 1.3;
}
@media (max-width: 900px) { .logo-wall { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .logo-wall { grid-template-columns: repeat(2, 1fr); gap: var(--s2); } }
