/* ==========================================================================
   Maharshi Numerology Consulting — Design System
   Palette per the official Visual Identity System:
   Emerald Green, Royal Gold, Ivory White, Deep Charcoal, Sage Green.
   Logo lockup itself (navy/gold Om emblem) is kept as originally supplied.
   ========================================================================== */

:root {
  /* Core brand palette */
  --emerald-950: #052018; /* deepest — gradient depth, footer */
  --emerald-900: #0a4d3a; /* PRIMARY — brand emerald green */
  --emerald-850: #0d5842;
  --emerald-800: #10634a;
  --emerald-700: #146b52;
  --emerald-600: #1c7d61;
  --gold-300: #f1d998;
  --gold-400: #e8c766;
  --gold-500: #d4af37; /* PRIMARY — royal gold */
  --gold-600: #c9a227;
  --gold-700: #a9821c;
  --gold-800: #7a5c14; /* AA-accessible gold for text on light backgrounds */
  --sage-700: #435c48;
  --sage-600: #587a5f;
  --sage-500: #6b8f72; /* ACCENT — sage green */
  --ivory-50: #f7f5ee;  /* PRIMARY — ivory white */
  --ivory-100: #efead9;
  --ivory-200: #e4dcc3;
  --charcoal-900: #1a1a1a; /* PRIMARY — deep charcoal (text) */
  --charcoal-700: #3f3f3f;
  --charcoal-500: #6b6b6b;
  --white: #ffffff;

  --font-display: "Cinzel", "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Montserrat", "Jost", "Segoe UI", Arial, sans-serif;

  --container: 1200px;
  --radius-sm: 6px;
  --radius-md: 14px;
  --radius-lg: 28px;
  --shadow-soft: 0 18px 45px -18px rgba(10, 77, 58, 0.35);
  --shadow-gold: 0 10px 30px -10px rgba(201, 162, 39, 0.45);
  --transition: 0.28s cubic-bezier(.4,0,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--charcoal-900);
  background: var(--ivory-50);
  line-height: 1.65;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--emerald-900);
  line-height: 1.18;
  margin: 0 0 0.5em;
  font-weight: 600;
}
h1 { font-size: clamp(2.4rem, 4.4vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); font-weight: 700; }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
p { margin: 0 0 1em; color: var(--charcoal-700); }
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
section { padding: 88px 0; }
@media (max-width: 780px) { section { padding: 56px 0; } }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold-800);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--gold-600);
  display: inline-block;
}
.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-head.left { margin: 0 0 40px; text-align: left; }
.section-head p.lead { font-size: 1.08rem; color: var(--charcoal-500); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
  color: var(--emerald-950);
  box-shadow: var(--shadow-gold);
}
.btn-gold:hover { box-shadow: 0 16px 34px -10px rgba(201,162,39,0.6); }
.btn-outline {
  background: transparent;
  border-color: rgba(212,175,55,0.55);
  color: var(--gold-400);
}
.btn-outline:hover { background: rgba(212,175,55,0.1); }
.btn-outline.dark { color: var(--emerald-900); border-color: rgba(26,26,26,0.25); }
.btn-outline.dark:hover { background: rgba(26,26,26,0.06); }
.btn-whatsapp {
  background: #25D366;
  color: #06301b;
}
.btn-whatsapp:hover { box-shadow: 0 14px 30px -10px rgba(37,211,102,0.55); }
.btn-block { width: 100%; }
.btn-sm { padding: 10px 20px; font-size: 0.85rem; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(9,71,54,0.97);
  border-bottom: 1px solid rgba(212,175,55,0.18);
  /* NOTE: intentionally no backdrop-filter here — it creates a new CSS
     containing block for fixed-position descendants, which breaks the
     mobile nav overlay's position:fixed (it would anchor to this header's
     own box instead of the viewport). Keep header opaque instead. */
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 24px;
  max-width: var(--container);
  margin: 0 auto;
  gap: 20px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 52px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text .name { font-family: var(--font-display); font-weight: 700; color: var(--gold-300); font-size: 1.25rem; }
.brand-text .sub { font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ivory-200); opacity: 0.8; }

.main-nav { display: flex; align-items: center; gap: 2px; }
.main-nav > ul { display: flex; align-items: center; gap: 2px; }
.main-nav a.nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ivory-100);
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}
.main-nav a.nav-link:hover, .main-nav li.active > a.nav-link { color: var(--gold-400); background: rgba(212,175,55,0.08); }
.has-dropdown { position: relative; }
.has-dropdown .chev { font-size: 0.65rem; margin-top: 2px; transition: transform var(--transition); }
.has-dropdown:hover .chev { transform: rotate(180deg); }
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  background: var(--emerald-850);
  border: 1px solid rgba(212,175,55,0.2);
  border-radius: var(--radius-md);
  padding: 10px;
  box-shadow: var(--shadow-soft);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
}
.dropdown.wide { min-width: 620px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a {
  display: block;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  color: var(--ivory-100);
}
.dropdown a:hover { background: rgba(212,175,55,0.12); color: var(--gold-400); }
.dropdown a .desc { display: block; font-size: 0.74rem; color: var(--charcoal-500); margin-top: 2px; }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--gold-400); display: block; }

@media (max-width: 1080px) {
  .main-nav { position: fixed; inset: 68px 0 0 0; background: var(--emerald-900); flex-direction: column; align-items: stretch; padding: 10px 20px 40px; overflow-y: auto; transform: translateX(100%); transition: transform var(--transition); }
  .main-nav.open { transform: translateX(0); }
  .main-nav > ul { flex-direction: column; align-items: stretch; width: 100%; }
  .dropdown, .dropdown.wide { position: static; opacity: 1; visibility: visible; transform: none; display: none; grid-template-columns: 1fr; box-shadow: none; border: none; background: rgba(255,255,255,0.03); margin: 0 0 6px 14px; }
  .has-dropdown.open .dropdown { display: block; }
  .nav-toggle { display: flex; }
  /* Hide the header's WhatsApp pill on smaller screens — the persistent
     floating WhatsApp button (bottom-right) and the mobile menu's own
     WhatsApp CTA already cover this, and there isn't room for three
     controls (WhatsApp + Book Consultation + hamburger) next to the logo. */
  .nav-cta a.btn-whatsapp { display: none; }
  .nav-cta .btn span.long { display: none; }
  .nav-cta .btn-gold.btn-sm { padding: 10px 16px; font-size: 0.82rem; }
}
@media (max-width: 560px) {
  .brand-text .sub { display: none; }
}
@media (max-width: 480px) {
  /* The logo artwork already contains the full "Maharshi Numerology
     Consulting" wordmark, so on narrow screens we drop the adjacent text
     entirely rather than risk it colliding with the header buttons. */
  .brand-text { display: none; }
  .brand img { height: 44px; }
  .nav-wrap { padding: 8px 16px; gap: 10px; }
  .nav-cta { gap: 8px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: radial-gradient(ellipse at 30% 20%, var(--emerald-800) 0%, var(--emerald-950) 62%);
  color: var(--ivory-100);
  overflow: hidden;
  padding: 100px 0 90px;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(1.5px 1.5px at 20% 30%, rgba(232,199,102,0.8), transparent),
    radial-gradient(1px 1px at 70% 60%, rgba(232,199,102,0.6), transparent),
    radial-gradient(1.5px 1.5px at 85% 20%, rgba(232,199,102,0.7), transparent),
    radial-gradient(1px 1px at 40% 80%, rgba(232,199,102,0.5), transparent),
    radial-gradient(1.5px 1.5px at 55% 40%, rgba(232,199,102,0.6), transparent),
    radial-gradient(1px 1px at 10% 65%, rgba(232,199,102,0.5), transparent),
    radial-gradient(1.5px 1.5px at 92% 75%, rgba(232,199,102,0.6), transparent);
  pointer-events: none;
}
/* Generic mandala watermark — any section using it must be position:relative
   with overflow:hidden (section-navy, cta-banner, img-panel already are). */
.mandala-decor {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 480px; height: 480px;
  max-width: none;
  opacity: 0.09;
  pointer-events: none;
  z-index: 0;
}
.hero .mandala-decor {
  top: 50%; left: auto; right: -180px;
  transform: translateY(-50%);
  width: 620px; height: 620px;
  opacity: 0.16;
}
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }
.hero h1 { color: var(--white); }
.hero h1 em { color: var(--gold-400); font-style: normal; }
.hero .lead { font-size: 1.15rem; color: var(--ivory-200); max-width: 540px; opacity: 0.92; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 30px; }
.hero-stats { display: flex; gap: 34px; margin-top: 46px; flex-wrap: wrap; }
.hero-stats .stat b { display: block; font-family: var(--font-display); font-size: 1.9rem; color: var(--gold-400); }
.hero-stats .stat span { font-size: 0.78rem; letter-spacing: 0.06em; color: var(--ivory-200); opacity: 0.8; text-transform: uppercase; }
.hero-photo-card {
  position: relative;
  background: linear-gradient(160deg, var(--emerald-700), var(--emerald-850));
  border: 1px solid rgba(212,175,55,0.3);
  border-radius: var(--radius-lg);
  padding: 26px;
  text-align: center;
}
.hero-photo-frame {
  aspect-ratio: 3/3.5;
  border-radius: var(--radius-md);
  background: linear-gradient(155deg, var(--emerald-600), var(--emerald-900));
  border: 1px dashed rgba(212,175,55,0.45);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-400);
  flex-direction: column;
  gap: 12px;
  padding: 20px;
}
.hero-photo-frame i { font-size: 2.6rem; }
.hero-photo-frame span { font-size: 0.82rem; color: var(--ivory-200); opacity: 0.75; }
.hero-photo-card .caption { margin-top: 16px; color: var(--gold-300); font-family: var(--font-display); font-size: 1.15rem; }
.hero-photo-card .caption small { display: block; font-family: var(--font-body); font-size: 0.78rem; color: var(--ivory-200); opacity: 0.75; margin-top: 4px; letter-spacing: 0.03em; }

/* Breadcrumb / page header (interior pages) */
.page-hero {
  position: relative;
  background: radial-gradient(ellipse at 80% 0%, var(--emerald-800) 0%, var(--emerald-950) 60%);
  color: var(--ivory-100);
  padding: 72px 0 60px;
  overflow: hidden;
}
.page-hero::before { content:""; position:absolute; inset:0; background-image: radial-gradient(1.5px 1.5px at 15% 40%, rgba(232,199,102,0.6), transparent), radial-gradient(1px 1px at 80% 30%, rgba(232,199,102,0.5), transparent), radial-gradient(1.5px 1.5px at 60% 75%, rgba(232,199,102,0.5), transparent); pointer-events:none; }
.page-hero .mandala-decor { position: absolute; top: -140px; right: -140px; width: 420px; height: 420px; opacity: 0.14; }
.page-hero .crumb { position: relative; z-index: 2; font-size: 0.82rem; color: var(--gold-400); margin-bottom: 14px; letter-spacing: 0.03em; }
.page-hero .crumb a { color: var(--ivory-200); opacity: 0.8; }
.page-hero .crumb a:hover { color: var(--gold-400); }
.page-hero h1 { position: relative; z-index: 2; color: var(--white); margin-bottom: 10px; }
.page-hero .sub { position: relative; z-index: 2; color: var(--ivory-200); opacity: 0.9; max-width: 640px; font-size: 1.05rem; }

/* ---------- Divider ---------- */
.divider { display: flex; justify-content: center; margin: 6px 0 34px; }
.divider svg, .divider img { width: 200px; height: 18px; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--white);
  border: 1px solid rgba(26,26,26,0.06);
  border-radius: var(--radius-md);
  padding: 32px 26px;
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover { transform: translateY(-5px); box-shadow: 0 26px 50px -20px rgba(10,77,58,0.28); }
.icon-badge {
  width: 58px; height: 58px;
  border-radius: 16px;
  background: linear-gradient(150deg, var(--emerald-700), var(--emerald-900));
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-400);
  font-size: 1.4rem;
  margin-bottom: 18px;
  box-shadow: inset 0 0 0 1px rgba(212,175,55,0.35);
}
.service-card h3 { margin-bottom: 8px; font-size: 1.24rem; }
.service-card p { font-size: 0.94rem; margin-bottom: 14px; }
.service-card .more { font-size: 0.85rem; font-weight: 600; color: var(--gold-800); display: inline-flex; align-items: center; gap: 6px; }
.service-card .more i { transition: transform var(--transition); }
.service-card:hover .more i { transform: translateX(4px); }

.badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(212,175,55,0.12);
  color: var(--gold-800);
  border: 1px solid rgba(212,175,55,0.35);
  padding: 5px 13px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}
/* On dark backgrounds, use a lighter gold so badge text stays AA-readable */
.hero .badge, .section-navy .badge, .page-hero .badge, .cta-banner .badge {
  color: var(--gold-300);
  background: rgba(232,199,102,0.15);
  border-color: rgba(232,199,102,0.4);
}

/* Numerology number chip */
.num-chip {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: linear-gradient(150deg, var(--gold-400), var(--gold-700));
  color: var(--emerald-950);
  font-family: var(--font-display);
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

/* ---------- Sections: alt backgrounds ---------- */
.section-navy { background: var(--emerald-900); color: var(--ivory-100); position: relative; overflow: hidden; }
.section-navy h2, .section-navy h3 { color: var(--white); }
.section-navy p { color: var(--ivory-200); opacity: 0.88; }
.section-navy .eyebrow { color: var(--gold-400); }
.section-cream { background: var(--ivory-100); }
.section-maroon { background: linear-gradient(135deg, var(--sage-700), var(--sage-600)); color: var(--ivory-50); }

/* ---------- Why choose / features ---------- */
.feature-row { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 30px; }
.feature-row .num-chip { margin-top: 2px; }
.feature-row h4 { margin: 0 0 6px; font-family: var(--font-display); font-size: 1.15rem; color: var(--emerald-900); }
.section-navy .feature-row h4 { color: var(--white); }
.feature-row p { margin: 0; font-size: 0.95rem; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(120deg, var(--emerald-850), var(--emerald-700));
  border-radius: var(--radius-lg);
  padding: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(212,175,55,0.25);
}
.cta-banner h2 { color: var(--white); margin-bottom: 10px; }
.cta-banner p { color: var(--ivory-200); opacity: 0.9; margin-bottom: 0; max-width: 520px; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Testimonials ---------- */
.testi-card { background: var(--white); border-radius: var(--radius-md); padding: 30px; box-shadow: var(--shadow-soft); position: relative; }
.testi-card i.quote { color: var(--gold-500); font-size: 1.6rem; opacity: 0.6; }
.testi-card p.msg { font-style: italic; color: var(--charcoal-700); margin: 14px 0 20px; }
.testi-who { display: flex; align-items: center; gap: 12px; }
.testi-avatar { width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(150deg, var(--emerald-700), var(--emerald-900)); color: var(--gold-400); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; }
.testi-who .name { font-weight: 600; color: var(--emerald-900); font-size: 0.92rem; }
.testi-who .loc { font-size: 0.78rem; color: var(--charcoal-500); }
.stars { color: var(--gold-500); font-size: 0.82rem; margin-bottom: 8px; }

/* ---------- FAQ Accordion ---------- */
.faq-item { border-bottom: 1px solid rgba(26,26,26,0.1); }
.faq-q {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 4px;
  cursor: pointer;
  font-weight: 600;
  color: var(--emerald-900);
  font-family: var(--font-display);
  font-size: 1.08rem;
}
.faq-q i { color: var(--gold-600); transition: transform var(--transition); flex-shrink: 0; margin-left: 16px; }
.faq-item.open .faq-q i { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height var(--transition); }
.faq-item.open .faq-a { max-height: 500px; }
.faq-a p { padding: 0 4px 22px; }

/* ---------- Forms ---------- */
.form-field { margin-bottom: 20px; }
.form-field label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--emerald-900); margin-bottom: 7px; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(26,26,26,0.16);
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--white);
  color: var(--charcoal-900);
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: none; border-color: var(--gold-500); box-shadow: 0 0 0 3px rgba(212,175,55,0.18); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }
.form-note { font-size: 0.82rem; color: var(--charcoal-500); margin-top: 10px; }

/* ---------- Contact info cards ---------- */
.contact-info-card { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: var(--radius-md); background: var(--white); box-shadow: var(--shadow-soft); margin-bottom: 18px; }
.contact-info-card .icon-badge { margin-bottom: 0; flex-shrink: 0; }
.contact-info-card h4 { margin: 0 0 4px; font-size: 1rem; font-family: var(--font-display); }
.contact-info-card p { margin: 0; font-size: 0.92rem; }
.contact-info-card a.value { color: var(--gold-800); font-weight: 600; }

/* ---------- Blog / list cards ---------- */
.post-card { background: var(--white); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-soft); }
.post-thumb { aspect-ratio: 16/10; background: linear-gradient(150deg, var(--emerald-700), var(--emerald-900)); display: flex; align-items: center; justify-content: center; color: var(--gold-400); font-size: 2rem; position: relative; overflow: hidden; }
.post-thumb .mandala-decor { position: absolute; width: 260px; height: 260px; opacity: 0.25; }
.post-body { padding: 24px; }
.post-meta { font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--gold-800); margin-bottom: 10px; font-weight: 600; }
.post-body h3 { font-size: 1.18rem; margin-bottom: 10px; }
.post-body p { font-size: 0.92rem; }

/* ---------- Table (numerology charts) ---------- */
table.num-table { width: 100%; border-collapse: collapse; margin: 20px 0 30px; font-size: 0.92rem; }
table.num-table th, table.num-table td { padding: 12px 14px; border: 1px solid rgba(26,26,26,0.1); text-align: center; }
table.num-table th { background: var(--emerald-900); color: var(--gold-400); font-family: var(--font-display); font-weight: 600; }
table.num-table tr:nth-child(even) td { background: rgba(212,175,55,0.05); }

/* ---------- Steps ---------- */
.steps { counter-reset: step; }
.step { display: flex; gap: 20px; margin-bottom: 26px; position: relative; }
.step::before {
  counter-increment: step;
  content: counter(step);
  width: 42px; height: 42px; flex-shrink: 0;
  border-radius: 50%;
  border: 2px solid var(--gold-500);
  color: var(--gold-800);
  font-family: var(--font-display); font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.step h4 { margin: 4px 0 6px; font-family: var(--font-display); }
.step p { margin: 0; font-size: 0.93rem; }
.section-navy .step::before { color: var(--gold-300); border-color: var(--gold-400); }

/* ---------- Footer ---------- */
.site-footer { background: var(--emerald-950); color: var(--ivory-200); padding: 70px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 0.9fr 0.9fr 1.1fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid rgba(255,255,255,0.08); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h5 { color: var(--gold-400); font-family: var(--font-display); font-size: 1.02rem; margin-bottom: 18px; }
.footer-grid ul li { margin-bottom: 11px; }
.footer-grid ul li a { font-size: 0.88rem; color: var(--ivory-200); opacity: 0.82; }
.footer-grid ul li a:hover { color: var(--gold-400); opacity: 1; }
.footer-brand img { height: 64px; margin-bottom: 16px; }
.footer-brand p { font-size: 0.88rem; opacity: 0.75; max-width: 320px; color: var(--ivory-200); }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(212,175,55,0.35); display: flex; align-items: center; justify-content: center; color: var(--gold-400); font-size: 0.92rem; }
.footer-social a:hover { background: rgba(212,175,55,0.15); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 22px 0; font-size: 0.8rem; opacity: 0.65; flex-wrap: wrap; gap: 10px; }
.footer-bottom a { opacity: 0.9; }
.footer-bottom a:hover { color: var(--gold-400); }

/* ---------- Floating WhatsApp ---------- */
.float-whatsapp {
  position: fixed;
  bottom: 26px; right: 26px;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem;
  box-shadow: 0 12px 30px -6px rgba(37,211,102,0.6);
  z-index: 400;
  animation: pulse-wa 2.4s infinite;
}
@keyframes pulse-wa {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.55); }
  70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-0{margin-top:0} .mb-0{margin-bottom:0}
.gold-text { color: var(--gold-800); }
/* Content is visible by default (no-JS / slow-JS safe). Only animate the subtle
   entrance when JavaScript confirms it can manage the transition. */
.reveal { opacity: 1; transform: none; }
.js-ready .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.js-ready .reveal.in { opacity: 1; transform: translateY(0); }
.placeholder-note {
  background: rgba(212,175,55,0.12);
  border: 1px dashed var(--gold-600);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  font-size: 0.82rem;
  color: var(--gold-800);
  margin-bottom: 20px;
  display: inline-block;
}
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; gap: 34px; } }
.img-panel {
  background: linear-gradient(160deg, var(--emerald-700), var(--emerald-900));
  border-radius: var(--radius-lg);
  border: 1px solid rgba(212,175,55,0.28);
  min-height: 340px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: var(--gold-400);
  gap: 14px;
  padding: 30px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.img-panel i { font-size: 3rem; }
.img-panel span { color: var(--ivory-200); font-size: 0.85rem; opacity: 0.75; max-width: 260px; }

.breadcrumb-strip { background: var(--ivory-100); padding: 14px 0; font-size: 0.82rem; }
.breadcrumb-strip a { color: var(--charcoal-500); }
.breadcrumb-strip a:hover { color: var(--gold-800); }

.list-check li { display: flex; gap: 10px; margin-bottom: 12px; font-size: 0.95rem; color: var(--charcoal-700); }
.list-check li i { color: var(--gold-600); margin-top: 4px; }
.section-navy .list-check li { color: var(--ivory-200); }

/* ==========================================================================
   2026 content refresh — components added for the website refinement update.
   Appended after the original design system so it can be reviewed in one place.
   ========================================================================== */


/* ---------- Header refinements ----------
   The nav is laid out as three non-shrinking tracks. The menu collapses to the
   burger either at the breakpoint below OR — more reliably — as soon as main.js
   measures that the links no longer fit, which covers the case where the Cinzel
   display font loads wider than the fallback and the menu would otherwise slide
   leftwards underneath the logo. */
.brand img { height: 62px; }                    /* logo enlarged ~18% */
.nav-wrap { gap: 30px; padding: 12px 24px; flex-wrap: nowrap; align-items: center; }
.brand { flex: 0 0 auto; }
.brand-text .name, .brand-text .sub { white-space: nowrap; }
.main-nav { flex: 0 1 auto; margin-left: auto; }
.main-nav > ul { flex-wrap: nowrap; }
.main-nav a.nav-link { padding: 12px 11px; font-size: 0.875rem; white-space: nowrap; }
.nav-cta { flex: 0 0 auto; }
.dropdown a .desc { color: rgba(239,234,217,0.62); }
.dropdown .drop-all { grid-column: 1 / -1; text-align: center; color: var(--gold-400); font-weight: 600; border-top: 1px solid rgba(212,175,55,0.18); margin-top: 6px; padding-top: 12px; }
.nav-cta .btn-book {
  background: linear-gradient(135deg, var(--gold-300), var(--gold-500));
  color: #0b241b;
  font-weight: 700;
  border: 1px solid var(--gold-300);
  box-shadow: 0 0 0 3px rgba(232,199,102,0.18), var(--shadow-gold);
}
.nav-cta .btn-book:hover { background: linear-gradient(135deg, #fff0c8, var(--gold-400)); }

/* Reclaim width before collapsing: tighten the links, then drop the strapline. */
@media (max-width: 1460px) {
  .main-nav a.nav-link { padding: 12px 8px; font-size: 0.83rem; }
  .nav-wrap { gap: 20px; }
}
@media (max-width: 1360px) {
  .brand-text .sub { display: none; }
  .brand-text .name { font-size: 1.15rem; }
}

/* Collapsed menu — driven by the breakpoint and by the measured fallback class. */
.site-header.nav-collapsed .main-nav {
  position: fixed; inset: 78px 0 0 0; background: var(--emerald-900);
  flex-direction: column; align-items: stretch; justify-content: flex-start;
  padding: 10px 20px 40px; overflow-y: auto; margin-left: 0;
  transform: translateX(100%); transition: transform var(--transition); z-index: 60;
}
.site-header.nav-collapsed .main-nav.open { transform: translateX(0); }
.site-header.nav-collapsed .main-nav > ul { flex-direction: column; flex-wrap: wrap; align-items: stretch; width: 100%; }
.site-header.nav-collapsed .main-nav a.nav-link { padding: 13px 14px; font-size: 0.95rem; justify-content: space-between; }
.site-header.nav-collapsed .dropdown,
.site-header.nav-collapsed .dropdown.wide {
  position: static; opacity: 1; visibility: visible; transform: none; display: none;
  grid-template-columns: 1fr; box-shadow: none; border: none;
  background: rgba(255,255,255,0.03); margin: 0 0 6px 14px; min-width: 0;
}
.site-header.nav-collapsed .has-dropdown.open .dropdown { display: block; }
.site-header.nav-collapsed .nav-toggle { display: flex; }
.site-header.nav-collapsed .nav-cta a.btn-whatsapp { display: none; }
.site-header.nav-collapsed .nav-cta .btn span.long { display: none; }
.site-header.nav-collapsed .nav-cta .btn-gold.btn-sm { padding: 11px 18px; font-size: 0.84rem; }
.site-header.nav-collapsed .brand-text .sub { display: block; font-size: 0.62rem; }
.site-header.nav-collapsed .brand-text .name { font-size: 1.25rem; }

@media (max-width: 1280px) {
  .main-nav {
    position: fixed; inset: 78px 0 0 0; background: var(--emerald-900);
    flex-direction: column; align-items: stretch; justify-content: flex-start;
    padding: 10px 20px 40px; overflow-y: auto; margin-left: 0;
    transform: translateX(100%); transition: transform var(--transition); z-index: 60;
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav > ul { flex-direction: column; flex-wrap: wrap; align-items: stretch; width: 100%; }
  .main-nav a.nav-link { padding: 13px 14px; font-size: 0.95rem; justify-content: space-between; }
  .dropdown, .dropdown.wide {
    position: static; opacity: 1; visibility: visible; transform: none; display: none;
    grid-template-columns: 1fr; box-shadow: none; border: none;
    background: rgba(255,255,255,0.03); margin: 0 0 6px 14px; min-width: 0;
  }
  .has-dropdown.open .dropdown { display: block; }
  .nav-toggle { display: flex; }
  .nav-cta a.btn-whatsapp { display: none; }
  .nav-cta .btn span.long { display: none; }
  .nav-cta .btn-gold.btn-sm { padding: 11px 18px; font-size: 0.84rem; }
  .brand-text .sub { display: block; font-size: 0.62rem; letter-spacing: 0.14em; }
  .brand-text .name { font-size: 1.25rem; }
}
@media (max-width: 480px) {
  .brand img { height: 52px; }
  .main-nav, .site-header.nav-collapsed .main-nav { inset: 72px 0 0 0; }
}

/* ---------- Hero refinements ---------- */
.hero h1.hero-title { font-size: clamp(1.85rem, 3.3vw, 2.75rem); margin-top: 18px; margin-bottom: 12px; }
.hero-subline { font-size: 1.06rem; color: var(--gold-300); font-weight: 600; max-width: 560px; margin-bottom: 20px; line-height: 1.5; }
.hero-points { max-width: 560px; margin-bottom: 4px; }
.hero-points li { display: flex; gap: 10px; align-items: flex-start; color: var(--ivory-200); font-size: 0.95rem; margin-bottom: 9px; opacity: 0.92; }
.hero-points li i { color: var(--gold-400); margin-top: 5px; font-size: 0.85rem; }
.hero-stats { gap: 26px 30px; margin-top: 38px; }
.hero-stats .stat b { font-size: 1.6rem; }
.founder-facts { text-align: left; margin: 18px 0 16px; }
.founder-facts li { display: flex; gap: 9px; font-size: 0.82rem; color: var(--ivory-200); opacity: 0.85; margin-bottom: 8px; line-height: 1.45; }
.founder-facts li i { color: var(--gold-400); margin-top: 4px; font-size: 0.75rem; }
.hero-photo-card .btn { width: 100%; }

/* ---------- Brand tagline / motto strip ---------- */
.motto-strip { background: var(--emerald-950); padding: 34px 0; }
.motto-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
@media (max-width: 760px) { .motto-grid { grid-template-columns: 1fr; gap: 20px; } }
.motto-label { display: block; font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-500); margin-bottom: 6px; font-weight: 600; }
.motto-line { font-family: var(--font-display); font-size: 1.15rem; color: var(--gold-300); margin: 0; line-height: 1.4; }
.motto-line.small { font-size: 0.95rem; color: var(--gold-800); margin-top: 14px; font-style: italic; }

/* ---------- Equal-height cards ---------- */
.grid { align-items: stretch; }
.card.equal, .service-card, .value-card, .rec-card { display: flex; flex-direction: column; height: 100%; }
.card.equal > p:last-of-type, .service-card > p { flex-grow: 0; }
.service-card .more { margin-top: auto; padding-top: 12px; }
.card-facts { margin: 4px 0 6px; }
.card-facts li { display: flex; gap: 8px; align-items: flex-start; font-size: 0.8rem; color: var(--charcoal-500); margin-bottom: 5px; }
.card-facts li i { color: var(--sage-500); font-size: 0.72rem; margin-top: 4px; }
.service-card { position: relative; }
.card-flag {
  position: absolute; top: 14px; right: 14px;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
  color: var(--emerald-950); font-size: 0.66rem; font-weight: 700;
  letter-spacing: 0.05em; text-transform: uppercase;
  padding: 4px 11px; border-radius: 999px; display: inline-flex; gap: 5px; align-items: center;
}

/* ---------- Trust strip ---------- */
.trust-strip-wrap { padding: 40px 0 0; }
.trust-strip { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.trust-item {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--white); border: 1px solid rgba(212,175,55,0.35);
  border-radius: 999px; padding: 11px 20px; box-shadow: var(--shadow-soft);
}
.trust-item i { color: var(--gold-700); }
.trust-item b { font-size: 0.85rem; color: var(--emerald-900); font-weight: 600; }
.confidentiality-note { max-width: 780px; margin: 22px auto 0; text-align: center; font-size: 0.86rem; color: var(--charcoal-500); }
.confidentiality-note i { color: var(--gold-700); margin-right: 6px; }
.reach-line { text-align: center; margin-top: 30px; font-size: 0.9rem; color: var(--charcoal-500); }
.reach-line i { color: var(--gold-700); margin-right: 6px; }

/* ---------- Timeline ---------- */
.timeline { position: relative; max-width: 820px; margin: 0 auto; padding-left: 8px; }
.timeline::before { content: ""; position: absolute; left: 74px; top: 8px; bottom: 8px; width: 2px; background: rgba(212,175,55,0.35); }
.timeline li { display: grid; grid-template-columns: 66px 1fr; gap: 34px; margin-bottom: 26px; position: relative; }
.timeline li::before { content: ""; position: absolute; left: 69px; top: 8px; width: 12px; height: 12px; border-radius: 50%; background: var(--gold-500); box-shadow: 0 0 0 4px rgba(212,175,55,0.2); }
.tl-year { font-family: var(--font-display); font-weight: 700; color: var(--gold-400); font-size: 1.05rem; text-align: right; padding-top: 2px; }
.timeline h4 { margin: 0 0 5px; font-family: var(--font-display); color: #fff; font-size: 1.08rem; }
.timeline p { margin: 0; font-size: 0.92rem; }
.timeline.light .tl-year { color: var(--gold-800); }
.timeline.light h4 { color: var(--emerald-900); }
@media (max-width: 620px) {
  .timeline::before, .timeline li::before { display: none; }
  .timeline li { grid-template-columns: 1fr; gap: 4px; }
  .tl-year { text-align: left; }
}

/* ---------- Tag grids ---------- */
.tag-grid { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 12px; }
.tag-grid.center { justify-content: center; margin-top: 8px; }
.tag {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(212,175,55,0.12); border: 1px solid rgba(212,175,55,0.35);
  color: var(--gold-800); border-radius: 999px; padding: 6px 14px;
  font-size: 0.8rem; font-weight: 600;
}
.tag.lg { padding: 10px 20px; font-size: 0.88rem; }
.section-navy .tag { color: var(--gold-300); background: rgba(232,199,102,0.14); border-color: rgba(232,199,102,0.35); }

/* ---------- Process flow ---------- */
.process-flow { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; counter-reset: pf; }
.process-flow.four { grid-template-columns: repeat(4, 1fr); }
.process-flow.three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1000px) { .process-flow { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .process-flow, .process-flow.four, .process-flow.three { grid-template-columns: 1fr; } }
.process-flow li {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(212,175,55,0.22);
  border-radius: var(--radius-md); padding: 22px 18px; text-align: center; position: relative;
}
.pf-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(150deg, var(--gold-400), var(--gold-700));
  color: var(--emerald-950); font-family: var(--font-display); font-weight: 700;
  margin-bottom: 12px;
}
.process-flow h4 { margin: 0 0 6px; font-family: var(--font-display); font-size: 1rem; color: #fff; }
.process-flow p { margin: 0; font-size: 0.85rem; }
.section-cream .process-flow li, section:not(.section-navy) > .container > .process-flow li { background: var(--white); border-color: rgba(26,26,26,0.08); box-shadow: var(--shadow-soft); }
.section-cream .process-flow h4, section:not(.section-navy) > .container > .process-flow h4 { color: var(--emerald-900); }

/* ---------- Values & recognition ---------- */
.value-card, .rec-card {
  background: var(--white); border-radius: var(--radius-md); padding: 28px 24px;
  text-align: center; box-shadow: var(--shadow-soft); align-items: center;
}
.value-card h3, .rec-card h4 { font-family: var(--font-display); color: var(--emerald-900); margin-bottom: 8px; }
.value-card p, .rec-card p { font-size: 0.88rem; margin: 0; }
.value-card .icon-badge { margin: 0 auto 16px; }
.rec-card > i { font-size: 1.8rem; color: var(--gold-600); margin-bottom: 12px; }
.rec-card.muted { opacity: 0.62; }
.rec-card h4 { font-size: 1rem; }

/* ---------- Professional disclaimer ---------- */
.pro-disclaimer {
  max-width: 900px; margin: 0 auto 34px; font-size: 0.85rem; color: var(--charcoal-500);
  background: var(--ivory-100); border-left: 3px solid var(--gold-500);
  border-radius: var(--radius-sm); padding: 16px 20px; line-height: 1.6;
}
.pro-disclaimer i { color: var(--gold-700); margin-right: 7px; }
.pro-disclaimer a { color: var(--gold-800); font-weight: 600; text-decoration: underline; }

/* ---------- Founder profile ---------- */
.profile-grid { display: grid; grid-template-columns: 330px 1fr; gap: 54px; align-items: start; }
@media (max-width: 900px) { .profile-grid { grid-template-columns: 1fr; gap: 34px; } }
.profile-card {
  background: linear-gradient(160deg, var(--emerald-900), var(--emerald-950));
  border: 1px solid rgba(212,175,55,0.28); border-radius: var(--radius-lg);
  padding: 26px; text-align: center; position: sticky; top: 110px;
}
.profile-card.compact { position: static; }
.profile-card .hero-photo-frame { margin-bottom: 20px; }
.profile-name { color: var(--gold-300) !important; font-size: 1.3rem; margin: 0 0 4px; }
.profile-degree { color: var(--gold-400); font-weight: 600; font-size: 0.88rem; margin: 0 0 10px; letter-spacing: 0.04em; }
.profile-role { color: var(--ivory-200); font-size: 0.86rem; margin: 0 0 18px; opacity: 0.9; }
.profile-role span { font-size: 0.78rem; opacity: 0.75; }
.profile-actions .btn { width: 100%; }
.profile-actions .btn-outline.dark { color: var(--gold-300); border-color: rgba(232,199,102,0.45); }
.profile-actions .btn-outline.dark:hover { background: rgba(232,199,102,0.12); }

/* ---------- Pull quote ---------- */
.pull-quote { max-width: 860px; margin: 0 auto; text-align: center; padding: 0; }
.pull-quote > i { color: var(--gold-500); font-size: 1.8rem; opacity: 0.7; }
.pull-quote p { font-family: var(--font-display); font-size: clamp(1.15rem, 2.1vw, 1.55rem); color: #fff; line-height: 1.5; margin: 16px 0 18px; }
.pull-quote cite { font-style: normal; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-400); }
.pull-quote.inset { background: rgba(255,255,255,0.05); border: 1px solid rgba(212,175,55,0.25); border-radius: var(--radius-lg); padding: 34px 28px; }

/* ---------- Publication cards ---------- */
.pub-card {
  background: var(--white); border-radius: var(--radius-lg); padding: 34px;
  box-shadow: var(--shadow-soft); border-top: 4px solid var(--gold-500);
}
.pub-card.featured { max-width: 860px; margin: 0 auto; }
.pub-badge {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px;
  background: rgba(107,143,114,0.14); color: var(--sage-700);
  border: 1px solid rgba(107,143,114,0.4); border-radius: 999px;
  padding: 6px 15px; font-size: 0.76rem; font-weight: 700; letter-spacing: 0.04em;
}
.pub-meta { font-size: 0.9rem; color: var(--charcoal-500); margin-bottom: 14px; }
.doi-line { font-size: 0.82rem; color: var(--charcoal-500); word-break: break-all; }
.doi-line a { color: var(--gold-800); font-weight: 600; }

/* ---------- Metric strip ---------- */
.metric-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 700px) { .metric-strip { grid-template-columns: repeat(2, 1fr); } }
.metric { text-align: center; padding: 18px 12px; border-right: 1px solid rgba(212,175,55,0.22); }
.metric:last-child { border-right: none; }
.metric b { display: block; font-family: var(--font-display); font-size: 1.9rem; color: var(--gold-400); line-height: 1.2; }
.metric span { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ivory-200); opacity: 0.82; }

/* ---------- Method steps ---------- */
.method-steps li { display: flex; gap: 16px; margin-bottom: 20px; align-items: flex-start; }
.method-steps .pf-num { width: 36px; height: 36px; font-size: 0.95rem; margin-bottom: 0; flex-shrink: 0; }
.method-steps h4 { margin: 4px 0 4px; font-family: var(--font-display); font-size: 1rem; color: var(--emerald-900); }
.method-steps p { margin: 0; font-size: 0.9rem; }

/* ---------- Upcoming book / guide boxes ---------- */
.upcoming-book, .guide-box, .author-box {
  display: grid; grid-template-columns: 96px 1fr; gap: 26px; align-items: center;
  background: var(--white); border-radius: var(--radius-lg); padding: 30px;
  box-shadow: var(--shadow-soft); max-width: 900px; margin: 0 auto;
}
@media (max-width: 620px) { .upcoming-book, .guide-box, .author-box { grid-template-columns: 1fr; gap: 16px; } }
.ub-icon, .gb-icon, .author-avatar {
  width: 96px; height: 96px; border-radius: var(--radius-md);
  background: linear-gradient(150deg, var(--emerald-700), var(--emerald-900));
  color: var(--gold-400); display: flex; align-items: center; justify-content: center; font-size: 2.1rem;
}
.upcoming-book h3, .guide-box h3, .author-box h3 { margin-bottom: 8px; }
.upcoming-book p, .guide-box p { margin-bottom: 0; font-size: 0.92rem; }
.author-line { font-size: 0.86rem; color: var(--gold-800); font-weight: 600; margin-bottom: 10px; }

/* ---------- Why-choose items ---------- */
.why-item { display: flex; gap: 14px; align-items: flex-start; padding: 20px; border-radius: var(--radius-md); background: rgba(255,255,255,0.05); border: 1px solid rgba(212,175,55,0.2); }
.why-item > i { color: var(--gold-400); font-size: 1.1rem; margin-top: 3px; }
.why-item h4 { margin: 0 0 5px; font-family: var(--font-display); font-size: 1rem; color: #fff; }
.why-item p { margin: 0; font-size: 0.87rem; }
.why-item.light { background: var(--white); border-color: rgba(26,26,26,0.08); box-shadow: var(--shadow-soft); }
.why-item.light > i { color: var(--sage-600); }
.why-item.light h4 { color: var(--emerald-900); }

/* ---------- Courses ---------- */
.course-mode { font-size: 0.8rem; color: var(--gold-800); font-weight: 600; margin-bottom: 14px; }
.course-mode i { margin-right: 4px; }
.course-specs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 0 0 16px; padding: 14px 0; border-top: 1px solid rgba(26,26,26,0.08); border-bottom: 1px solid rgba(26,26,26,0.08); }
.course-specs li { text-align: center; }
.course-specs b { display: block; font-family: var(--font-display); font-size: 1.2rem; color: var(--emerald-900); }
.course-specs span { font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--charcoal-500); }
.course-sub { font-size: 0.9rem; margin: 16px 0 10px; font-family: var(--font-display); color: var(--emerald-900); }
.list-outcome li { display: flex; gap: 10px; font-size: 0.9rem; color: var(--charcoal-700); margin-bottom: 9px; }
.list-outcome li i { color: var(--sage-600); margin-top: 5px; font-size: 0.78rem; }
.course-card .btn { margin-top: auto; }
.course-card .btn + .btn { margin-top: 8px; }

.journey { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; position: relative; }
@media (max-width: 900px) { .journey { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .journey { grid-template-columns: 1fr; } }
.journey li { text-align: center; background: var(--white); border-radius: var(--radius-md); padding: 24px 16px; box-shadow: var(--shadow-soft); }
.j-dot { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(150deg, var(--emerald-700), var(--emerald-900)); color: var(--gold-400); margin-bottom: 12px; }
.journey h4 { margin: 0 0 6px; font-family: var(--font-display); font-size: 1rem; color: var(--emerald-900); }
.journey p { margin: 0; font-size: 0.84rem; }

.batch-box { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 22px; }
.batch-box > div { background: var(--white); border: 1px solid rgba(212,175,55,0.35); border-radius: var(--radius-md); padding: 16px 26px; min-width: 150px; box-shadow: var(--shadow-soft); }
.batch-label { display: block; font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--charcoal-500); margin-bottom: 4px; }
.batch-box b { font-family: var(--font-display); font-size: 1.15rem; color: var(--emerald-900); }

.fee-note { text-align: center; margin-top: 30px; font-size: 0.88rem; color: var(--charcoal-500); }
.fee-note i { color: var(--gold-700); margin-right: 6px; }
.fee-note a { color: var(--gold-800); font-weight: 600; text-decoration: underline; }

/* ---------- FAQ page ---------- */
.last-updated { font-size: 0.82rem; color: var(--gold-400); margin-top: 14px; position: relative; z-index: 2; }
.faq-group { font-size: 1.25rem; margin: 44px 0 12px; padding-bottom: 8px; border-bottom: 2px solid rgba(212,175,55,0.35); }
.faq-group:first-child { margin-top: 0; }
.faq-a ul.list-check { padding: 0 4px 18px; }
.faq-item.open .faq-a { max-height: 900px; }
.response-time { font-size: 0.86rem; color: var(--charcoal-500); }
.response-time i { color: var(--gold-700); margin-right: 6px; }

/* ---------- Blog ---------- */
.featured-post { background: linear-gradient(150deg, var(--emerald-900), var(--emerald-950)); border: 1px solid rgba(212,175,55,0.3); border-radius: var(--radius-lg); padding: 38px; }
.featured-post h2 { color: #fff; margin-bottom: 10px; }
.featured-post p { color: var(--ivory-200); opacity: 0.9; }
.fp-flag { display: inline-flex; align-items: center; gap: 7px; color: var(--gold-300); font-size: 0.76rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 14px; }
.fp-meta { font-size: 0.85rem !important; }
.research-badge { display: inline-flex; align-items: center; gap: 6px; background: rgba(107,143,114,0.16); color: var(--sage-700); border: 1px solid rgba(107,143,114,0.4); border-radius: 999px; padding: 4px 12px; font-size: 0.72rem; font-weight: 700; }
.featured-post .research-badge { color: var(--gold-300); background: rgba(232,199,102,0.14); border-color: rgba(232,199,102,0.4); margin-right: 8px; }
.research-badge.sm { font-size: 0.68rem; padding: 3px 10px; margin-bottom: 10px; }
.read-time { color: var(--charcoal-500); font-weight: 500; text-transform: none; letter-spacing: 0; }
.post-meta .read-time i { margin-right: 3px; }
.post-card { display: flex; flex-direction: column; height: 100%; }
.post-body { display: flex; flex-direction: column; flex: 1; }
.post-body .more { margin-top: auto; padding-top: 10px; }

.blog-toolbar { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; margin-bottom: 32px; }
.blog-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.blog-filters.center { justify-content: center; margin-bottom: 30px; }
.chip { background: transparent; border: 1px solid rgba(26,26,26,0.18); border-radius: 999px; padding: 8px 16px; font-family: var(--font-body); font-size: 0.82rem; font-weight: 600; color: var(--charcoal-700); cursor: pointer; transition: all var(--transition); }
.chip:hover { border-color: var(--gold-500); color: var(--gold-800); }
.chip.active { background: linear-gradient(135deg, var(--gold-400), var(--gold-600)); border-color: transparent; color: var(--emerald-950); }
.blog-search { position: relative; min-width: 240px; }
.blog-search i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--charcoal-500); font-size: 0.85rem; }
.blog-search input { width: 100%; padding: 11px 16px 11px 38px; border: 1px solid rgba(26,26,26,0.15); border-radius: 999px; font-family: var(--font-body); font-size: 0.88rem; background: var(--white); }
.blog-search input:focus { outline: none; border-color: var(--gold-500); box-shadow: 0 0 0 3px rgba(212,175,55,0.18); }
.no-results { text-align: center; padding: 40px 0; color: var(--charcoal-500); }
.linkish { background: none; border: none; color: var(--gold-800); font-weight: 600; cursor: pointer; text-decoration: underline; font-family: var(--font-body); font-size: inherit; }
.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; }

/* ---------- Newsletter ---------- */
.newsletter { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
@media (max-width: 820px) { .newsletter { grid-template-columns: 1fr; gap: 24px; } }
.newsletter-form { display: flex; flex-wrap: wrap; gap: 10px; }
.newsletter-form input[type="email"] { flex: 1 1 220px; padding: 14px 18px; border-radius: 999px; border: 1px solid rgba(212,175,55,0.4); background: rgba(255,255,255,0.07); color: #fff; font-family: var(--font-body); font-size: 0.9rem; }
.newsletter-form input[type="email"]::placeholder { color: rgba(239,234,217,0.6); }
.newsletter-form input[type="email"]:focus { outline: none; border-color: var(--gold-400); box-shadow: 0 0 0 3px rgba(212,175,55,0.2); }
.newsletter-form .form-note { flex-basis: 100%; color: var(--gold-300); }
.hp-field, .hp-wrap { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; opacity: 0; }

/* ---------- Article byline / share / further reading ---------- */
.byline { display: flex; align-items: center; gap: 14px; margin-top: 22px; flex-wrap: wrap; position: relative; z-index: 2; }
.byline-avatar { width: 46px; height: 46px; border-radius: 50%; background: rgba(212,175,55,0.16); border: 1px solid rgba(212,175,55,0.4); display: flex; align-items: center; justify-content: center; color: var(--gold-300); }
.byline-by { display: block; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--gold-400); }
.byline-name { display: block; font-family: var(--font-display); color: #fff; font-size: 1.02rem; }
.byline-name:hover { color: var(--gold-300); }
.byline-role { display: block; font-size: 0.76rem; color: var(--ivory-200); opacity: 0.78; }
.byline .research-badge { color: var(--gold-300); background: rgba(232,199,102,0.14); border-color: rgba(232,199,102,0.4); }

.article-share { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 36px 0 8px; padding-top: 24px; border-top: 1px solid rgba(26,26,26,0.1); }
.share-label { font-size: 0.85rem; font-weight: 600; color: var(--emerald-900); margin-right: 4px; }
.share-label i { color: var(--gold-700); margin-right: 6px; }
.share-btn { width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #fff; font-size: 0.95rem; transition: transform var(--transition); }
.share-btn:hover { transform: translateY(-2px); }
.share-btn.wa { background: #25D366; color: #06301b; }
.share-btn.fb { background: #1877F2; }
.share-btn.li { background: #0A66C2; }
.share-btn.tw { background: #111; }
.share-btn.em { background: var(--emerald-800); }

.further-reading { background: var(--ivory-100); border-radius: var(--radius-md); padding: 24px 26px; margin: 26px 0; }
.further-reading h3 { font-size: 1.05rem; margin-bottom: 12px; }
.further-reading h3 i { color: var(--gold-700); margin-right: 8px; }
.further-reading li { margin-bottom: 8px; font-size: 0.9rem; }
.further-reading a { color: var(--gold-800); font-weight: 600; text-decoration: underline; }
.pub-status { font-size: 0.8rem; color: var(--charcoal-500); }
.pub-status i { color: var(--sage-600); margin-right: 6px; }

/* ---------- Testimonials ---------- */
.testi-card { display: flex; flex-direction: column; height: 100%; }
.testi-card .msg { flex-grow: 1; }
.testi-service { font-size: 0.74rem; color: var(--gold-800); font-weight: 600; margin-top: 2px; }
.testi-verified { margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(26,26,26,0.08); font-size: 0.75rem; color: var(--charcoal-500); }
.testi-verified i { color: var(--sage-600); margin-right: 5px; }
.featured-testi { background: linear-gradient(150deg, var(--emerald-900), var(--emerald-950)); border: 1px solid rgba(212,175,55,0.3); border-radius: var(--radius-lg); padding: 44px; max-width: 900px; margin: 0 auto; }
.featured-testi > i { color: var(--gold-500); font-size: 2rem; opacity: 0.7; }
.featured-testi .msg { font-family: var(--font-display); font-size: clamp(1.1rem, 2vw, 1.45rem); color: #fff; line-height: 1.55; font-style: normal; margin: 18px 0 26px; }
.ft-who { display: flex; align-items: center; gap: 16px; }
.testi-avatar.lg { width: 60px; height: 60px; font-size: 1.2rem; border: 1px solid rgba(212,175,55,0.4); }
.ft-who .name { color: var(--gold-300); font-family: var(--font-display); font-size: 1.05rem; }
.ft-who .loc { color: var(--ivory-200); opacity: 0.8; font-size: 0.84rem; }
.ft-who .testi-verified { border: none; padding: 0; margin-top: 6px; color: var(--ivory-200); opacity: 0.7; }
.stars.lg { font-size: 1.05rem; margin: 6px 0 12px; }

/* ---------- Contact form ---------- */
.form-status { margin-top: 16px; padding: 16px 18px; border-radius: var(--radius-md); background: var(--ivory-100); border: 1px solid rgba(212,175,55,0.35); font-size: 0.88rem; }
.form-status .btn { margin-top: 12px; }
.form-status .btn + .btn { margin-left: 10px; }
.form-status.error { border-color: rgba(180,60,60,0.4); background: rgba(180,60,60,0.06); }
.privacy-assurance i { color: var(--sage-600); margin-right: 6px; }
.form-note i { margin-right: 6px; color: var(--gold-700); }

/* ---------- Feature-row ticks ---------- */
.feature-row h4 .tick { color: var(--sage-600); font-size: 0.85rem; margin-right: 7px; }

/* ---------- Footer additions ---------- */
.footer-founder { font-size: 0.85rem !important; opacity: 0.9 !important; margin-bottom: 6px !important; }
.footer-founder a { color: var(--gold-400); font-weight: 600; }
.footer-motto { font-family: var(--font-display); font-size: 0.9rem !important; color: var(--gold-300) !important; opacity: 0.9 !important; }
.footer-legal a { white-space: nowrap; }
.footer-bottom { font-size: 0.78rem; }

/* ---------- Legal pages ---------- */
.legal-updated { font-size: 0.82rem; color: var(--charcoal-500); margin-bottom: 28px; }

/* ---------- Overflow guards ---------- */
.two-col > *, .profile-grid > *, .grid > *, .hero-grid > * { min-width: 0; }
.contact-info-card a.value, .doi-line a { overflow-wrap: anywhere; word-break: break-word; }

/* ---------- Ordered-list components carry no numbering of their own ---------- */
ol.process-flow, ol.timeline, ol.journey, ol.method-steps {
  list-style: none; margin: 0; padding: 0;
}
ol.timeline { padding-left: 8px; }

/* ---------- Founder photography ---------- */
.portrait-frame { padding: 0; border: 1px solid rgba(212,175,55,0.32); border-radius: var(--radius-md); overflow: hidden; background: var(--emerald-950); aspect-ratio: auto; min-height: 0; }
.portrait-frame img { width: 100%; height: auto; display: block; }
.hero-photo-card .portrait-frame { box-shadow: 0 22px 50px -22px rgba(0,0,0,0.55); }
.author-avatar.has-photo, .byline-avatar.has-photo { overflow: hidden; padding: 0; background: var(--emerald-950); }
.author-avatar.has-photo img, .byline-avatar.has-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; display: block; }
.byline-avatar.has-photo { border-radius: 50%; }

/* ---------- Off-canvas menu must not create a horizontal scrollbar ----------
   The closed mobile panel sits just off the right edge. `clip` contains it
   without creating a scroll container, so the sticky header keeps working
   (plain `overflow: hidden` here would break `position: sticky`). */
html, body { overflow-x: clip; }
@supports not (overflow: clip) {
  body { overflow-x: hidden; }
}
