/* ==========================================================================
   CoderMath Academy v2 — Visual-First Editorial Mentorship Design System
   Zero-dependency static CSS, mobile-first, accessible, CloudFront-ready
   ========================================================================== */

:root {
  --navy-950: #09172d;
  --navy-900: #0f2342;
  --navy-800: #17325c;

  --gold-600: #a87416;
  --gold-500: #c8922a;
  --gold-400: #dfb154;
  --gold-100: #f8eed8;

  --ivory-50: #fdfcf9;
  --ivory-100: #faf8f4;
  --ivory-200: #f2ede3;

  --ink-900: #142033;
  --ink-700: #334257;
  --ink-500: #5a697e;

  --whatsapp-600: #157a55;
  --whatsapp-700: #116445;
  --whatsapp-100: #e7f6ef;

  --white: #ffffff;
  --border: rgba(15, 35, 66, 0.11);
  --shadow-sm: 0 2px 10px rgba(15, 35, 66, 0.05);
  --shadow-md: 0 12px 32px rgba(15, 35, 66, 0.09);
  --shadow-lg: 0 22px 54px rgba(15, 35, 66, 0.16);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --max-width: 1140px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-700);
  background-color: var(--ivory-100);
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--navy-800);
  text-decoration: none;
}

h1, h2, h3, h4 {
  margin: 0 0 0.55em;
  color: var(--navy-900);
  line-height: 1.2;
  font-weight: 600;
}

h1, h2, h3 {
  font-family: var(--font-display);
  letter-spacing: -0.015em;
}

p {
  margin: 0 0 1em;
}

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

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

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 1000;
  padding: 0.65rem 1rem;
  background: var(--navy-900);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.skip-link:focus {
  top: 1rem;
}

.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;
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.32rem 0.65rem;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid rgba(15, 35, 66, 0.2);
  box-shadow: var(--shadow-sm);
}

.lang-globe {
  font-size: 0.92rem;
  line-height: 1;
}

.lang-select {
  border: 0;
  background: transparent;
  font-family: var(--font-sans);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--navy-900);
  cursor: pointer;
  padding-right: 0.15rem;
}

.lang-select:focus {
  outline: none;
}

[dir="rtl"] .inline-callout {
  border-left: 0;
  border-right: 3.5px solid var(--gold-500);
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}

[dir="rtl"] .faq-question {
  text-align: right;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.82rem 1.4rem;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.94rem;
  font-weight: 600;
  line-height: 1.2;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:focus-visible,
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2.5px solid var(--gold-500);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--navy-900);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(15, 35, 66, 0.18);
}

.btn-primary:hover {
  background: var(--navy-800);
  color: var(--white);
}

.btn-secondary {
  background: var(--white);
  color: var(--navy-900);
  border-color: rgba(15, 35, 66, 0.22);
}

.btn-secondary:hover {
  border-color: var(--navy-900);
  background: var(--ivory-50);
}

.btn-nav {
  padding: 0.58rem 1.15rem;
  font-size: 0.88rem;
  background: var(--navy-900);
  color: var(--white);
}

.btn-nav:hover {
  background: var(--navy-800);
  color: var(--white);
}

.btn-whatsapp {
  background: var(--whatsapp-600);
  color: var(--white);
  box-shadow: 0 6px 16px rgba(21, 122, 85, 0.22);
}

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

.btn-outline-dark {
  background: transparent;
  color: var(--navy-900);
  border-color: rgba(15, 35, 66, 0.26);
}

.btn-outline-dark:hover {
  background: var(--navy-900);
  color: var(--white);
  border-color: var(--navy-900);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 248, 244, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}

.brand-mark {
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(15, 35, 66, 0.16);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.24rem;
  font-weight: 700;
  color: var(--navy-900);
}

.brand-sub {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold-600);
  margin-top: 2px;
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0 9px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--navy-900);
  border-radius: 2px;
}

.primary-nav {
  display: none;
  position: absolute;
  top: 72px;
  left: 0;
  right: 0;
  background: var(--ivory-50);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  padding: 1rem 1.25rem 1.35rem;
}

.primary-nav.is-open {
  display: block;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.nav-link {
  display: inline-block;
  padding: 0.3rem 0.2rem;
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--ink-700);
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--navy-900);
  font-weight: 600;
}

/* Hero */
.hero {
  padding: 3rem 0 3.8rem;
  background:
    radial-gradient(circle at 86% 12%, rgba(200, 146, 42, 0.14), transparent 36%),
    var(--ivory-100);
  border-bottom: 1px solid var(--border);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.2rem;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.36rem 0.88rem;
  margin-bottom: 1.1rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy-800);
  box-shadow: var(--shadow-sm);
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-500);
}

.hero-title {
  font-size: clamp(2rem, 4.2vw, 3.15rem);
  font-weight: 650;
  line-height: 1.13;
  margin-bottom: 1rem;
}

.accent-underline {
  position: relative;
  display: inline-block;
  z-index: 1;
}

.accent-underline::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.08em;
  height: 0.24em;
  background: rgba(200, 146, 42, 0.3);
  z-index: -1;
  border-radius: 3px;
}

.hero-lead {
  font-size: 1.06rem;
  line-height: 1.65;
  color: var(--ink-700);
  max-width: 52ch;
  margin-bottom: 1.6rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.8rem;
}

.credibility-strip {
  list-style: none;
  margin: 0;
  padding: 1.1rem 0 0;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem 1rem;
  font-size: 0.85rem;
  color: var(--ink-500);
}

.credibility-strip strong {
  display: block;
  font-size: 0.96rem;
  color: var(--navy-900);
}

/* Hero Visual Card */
.hero-visual {
  margin: 0;
  background: var(--navy-900);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(223, 177, 84, 0.3);
}

.hero-photo-frame {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--navy-950);
}

.hero-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
}

.hero-visual-caption {
  padding: 1.3rem 1.5rem 1.45rem;
  color: var(--ivory-50);
}

.hero-quote-mini {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.12rem;
  line-height: 1.38;
  color: var(--gold-400);
  margin-bottom: 0.7rem;
}

.hero-caption-meta {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.hero-caption-meta strong {
  font-size: 0.98rem;
  color: var(--white);
}

.hero-caption-meta span {
  font-size: 0.82rem;
  color: rgba(250, 248, 244, 0.78);
}

/* Sections */
.section {
  padding: 4rem 0;
}

.section-light {
  background: var(--ivory-50);
}

.section-tinted {
  background: var(--ivory-200);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-navy {
  background: var(--navy-900);
  color: rgba(250, 248, 244, 0.88);
}

.section-intro {
  max-width: 700px;
  margin-bottom: 2.3rem;
}

.section-intro-center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-kicker {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold-600);
  margin-bottom: 0.5rem;
}

.kicker-gold {
  color: var(--gold-400);
}

.section-title {
  font-size: clamp(1.7rem, 3.1vw, 2.35rem);
  margin-bottom: 0.7rem;
}

.title-light {
  color: var(--ivory-50);
}

.section-lead {
  font-size: 1.03rem;
  color: var(--ink-700);
}

/* Split Visual Showcase (Mentorship) */
.split-showcase {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  margin-bottom: 2.2rem;
}

.lead-strong {
  font-family: var(--font-display);
  font-size: 1.22rem;
  color: var(--navy-900);
  line-height: 1.42;
  margin-bottom: 0.85rem;
}

.inline-callout {
  margin: 1.2rem 0 0;
  padding: 0.9rem 1.15rem;
  border-left: 3.5px solid var(--gold-500);
  background: var(--ivory-100);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.03rem;
  color: var(--navy-900);
}

.photo-card {
  margin: 0;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

.photo-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 22%;
}

.photo-card figcaption {
  padding: 0.85rem 1.15rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink-500);
  background: var(--white);
  border-top: 1px solid var(--border);
}

/* Compact Mentorship Chips */
.mentorship-chips {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
}

.chip-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1.2rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--ink-900);
}

.chip-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--gold-600);
  background: var(--gold-100);
  padding: 0.25rem 0.55rem;
  border-radius: 6px;
  flex-shrink: 0;
}

/* Visual Coding & USACO Cards */
.visual-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.6rem;
  margin-bottom: 1.8rem;
}

.visual-program-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
}

.visual-program-img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--navy-950);
}

.visual-program-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.visual-program-body {
  padding: 1.5rem 1.6rem 1.7rem;
}

.pill-gold {
  display: inline-block;
  padding: 0.24rem 0.7rem;
  border-radius: 999px;
  background: var(--gold-100);
  color: var(--gold-600);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.7rem;
}

.visual-program-body h3 {
  font-size: 1.32rem;
  margin-bottom: 0.55rem;
}

.visual-program-body p {
  font-size: 0.95rem;
}

.ai-callout {
  background: linear-gradient(145deg, var(--navy-900), var(--navy-800));
  color: rgba(250, 248, 244, 0.88);
  border: 1px solid rgba(223, 177, 84, 0.3);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.9rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.ai-callout h3 {
  color: var(--ivory-50);
  font-size: 1.42rem;
  margin-bottom: 0.6rem;
}

.ai-callout p {
  font-size: 0.98rem;
  line-height: 1.65;
  max-width: 72ch;
}

.ai-callout strong {
  color: var(--white);
}

.ai-callout em {
  color: var(--gold-400);
  font-style: italic;
}

.ai-pillars {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.ai-pillars li {
  padding: 0.38rem 0.88rem;
  border-radius: 999px;
  background: rgba(223, 177, 84, 0.14);
  border: 1px solid rgba(223, 177, 84, 0.36);
  color: var(--gold-400);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.compact-banner {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  align-items: flex-start;
  justify-content: space-between;
}

.compact-banner p {
  margin: 0;
  font-size: 0.95rem;
}

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.2rem;
  align-items: center;
}

.about-roles {
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--gold-600);
  margin: -0.25rem 0 0.95rem;
}

.about-summary {
  font-size: 0.98rem;
  margin-bottom: 1.4rem;
}

.credentials-mini-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.8rem;
}

.cred-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.9rem 1.05rem;
  box-shadow: var(--shadow-sm);
}

.cred-box > strong {
  display: block;
  font-size: 0.9rem;
  color: var(--navy-900);
  margin-bottom: 0.2rem;
}

.cred-box > span {
  font-size: 0.85rem;
  color: var(--ink-500);
  line-height: 1.5;
  display: block;
}

.cred-box > span strong {
  display: inline;
  font-weight: 700;
  color: var(--navy-900);
}

.inline-cert-btn {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--navy-800);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.inline-cert-btn:hover {
  color: var(--gold-600);
}

/* Photo Gallery */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
  margin-bottom: 1.8rem;
}

.filter-pill {
  padding: 0.48rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--ink-700);
  font-family: var(--font-sans);
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}

.filter-pill:hover {
  background: var(--ivory-100);
  color: var(--navy-900);
  border-color: var(--navy-900);
}

.filter-pill.is-active {
  background: var(--navy-900);
  color: var(--white);
  border-color: var(--navy-900);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1.15rem;
}

.gallery-item {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gallery-item.is-hidden {
  display: none;
}

.gallery-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.gallery-trigger {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: var(--navy-950);
  cursor: zoom-in;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.gallery-trigger img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-trigger img.img-top {
  object-position: center 14%;
}

.gallery-trigger img.img-portrait {
  object-position: center 4%;
}

.gallery-trigger img.img-contain-light {
  object-fit: contain;
  background: #ffffff;
  padding: 0.45rem;
}

.gallery-item:hover .gallery-trigger img {
  transform: scale(1.03);
}

.gallery-item figcaption {
  padding: 0.72rem 0.9rem;
  font-size: 0.84rem;
  color: var(--ink-700);
  line-height: 1.38;
}

.gallery-item figcaption strong {
  color: var(--navy-900);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(9, 23, 45, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.lightbox[hidden] {
  display: none;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(15, 35, 66, 0.8);
  color: var(--white);
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox-figure {
  margin: 0;
  max-width: 960px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
}

.lightbox-figure img {
  max-height: 78vh;
  max-width: 100%;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

.lightbox-figure figcaption {
  color: var(--ivory-50);
  font-size: 0.96rem;
  text-align: center;
  max-width: 68ch;
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.4rem;
  max-width: 900px;
  margin: 0 auto;
}

.testimonial-card {
  margin: 0;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.quote-mark {
  font-family: var(--font-display);
  font-size: 2.8rem;
  line-height: 0.8;
  color: var(--gold-400);
  margin-bottom: 0.35rem;
}

.testimonial-card blockquote {
  margin: 0 0 1.2rem;
  font-family: var(--font-display);
  font-size: 1.14rem;
  line-height: 1.5;
  color: var(--ivory-50);
}

.testimonial-card figcaption {
  display: flex;
  flex-direction: column;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.testimonial-card figcaption strong {
  color: var(--white);
  font-size: 0.96rem;
}

.testimonial-card figcaption span {
  font-size: 0.82rem;
  color: var(--gold-400);
}

/* Pricing & How It Works */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.35rem;
  margin-bottom: 1.8rem;
}

.step-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.7rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.step-card-highlight {
  background: linear-gradient(155deg, var(--navy-900), var(--navy-800));
  color: rgba(250, 248, 244, 0.88);
  border-color: rgba(223, 177, 84, 0.35);
  box-shadow: var(--shadow-md);
}

.step-card-highlight h3 {
  color: var(--ivory-50);
}

.step-badge {
  display: inline-block;
  align-self: flex-start;
  padding: 0.25rem 0.72rem;
  border-radius: 999px;
  background: var(--ivory-200);
  color: var(--navy-800);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.9rem;
}

.step-badge-gold {
  background: rgba(223, 177, 84, 0.18);
  color: var(--gold-400);
  border: 1px solid rgba(223, 177, 84, 0.38);
}

.step-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.6rem;
}

.price-figure {
  color: var(--gold-400) !important;
  font-size: 1.48rem !important;
}

.step-card p {
  font-size: 0.94rem;
}

/* FAQ */
.faq-container {
  max-width: 800px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  background: transparent;
  border: 0;
  padding: 1.1rem 1.35rem;
  text-align: left;
  font-family: var(--font-sans);
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--navy-900);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
}

.faq-question:hover {
  background: var(--ivory-100);
}

.faq-icon {
  font-size: 1.3rem;
  color: var(--gold-600);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0.85rem 1.35rem 1.15rem;
  font-size: 0.94rem;
  color: var(--ink-700);
  border-top: 1px solid rgba(15, 35, 66, 0.06);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: start;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.contact-card,
.inquiry-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  box-shadow: var(--shadow-sm);
}

.contact-card-featured {
  border-color: rgba(21, 122, 85, 0.28);
  box-shadow: var(--shadow-md);
}

.contact-card-top {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.8rem;
}

.pill-whatsapp {
  padding: 0.24rem 0.7rem;
  border-radius: 999px;
  background: var(--whatsapp-100);
  color: var(--whatsapp-700);
  font-size: 0.75rem;
  font-weight: 700;
}

.pill-location {
  padding: 0.24rem 0.7rem;
  border-radius: 999px;
  background: var(--ivory-200);
  color: var(--navy-800);
  font-size: 0.75rem;
  font-weight: 700;
}

.phone-display {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--navy-900);
  margin: 0.1rem 0 0.9rem;
}

.notice-callout {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.85rem 1rem;
  margin-bottom: 1.1rem;
  background: var(--gold-100);
  border: 1px solid rgba(200, 146, 42, 0.42);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  color: var(--ink-900);
}

.notice-icon {
  color: var(--gold-600);
  font-size: 1.05rem;
  font-weight: 700;
}

.contact-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.email-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.email-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  padding: 0.6rem 0.85rem;
  background: var(--ivory-100);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.email-list a {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy-900);
  white-space: nowrap;
}

@media (max-width: 480px) {
  .contact-card,
  .inquiry-card {
    padding: 1.25rem;
  }

  .email-list li {
    padding: 0.55rem 0.65rem;
    gap: 0.45rem;
  }

  .email-list a {
    font-size: 0.81rem;
  }
}

.email-list a:hover {
  text-decoration: underline;
}

.copy-btn {
  padding: 0.28rem 0.65rem;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--navy-800);
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 600;
  cursor: pointer;
  flex-shrink: 0;
}

.copy-btn:hover {
  background: var(--navy-900);
  color: var(--white);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.social-pill {
  padding: 0.42rem 0.88rem;
  border-radius: 999px;
  background: var(--ivory-100);
  border: 1px solid var(--border);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--navy-900);
}

.social-pill:hover {
  background: var(--navy-900);
  color: var(--white);
  border-color: var(--navy-900);
}

/* Inquiry Form */
.inquiry-desc {
  font-size: 0.92rem;
  color: var(--ink-500);
  margin-bottom: 1.2rem;
}

.inquiry-form {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.form-field label {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--navy-900);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.68rem 0.85rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(15, 35, 66, 0.18);
  background: var(--ivory-50);
  font-family: var(--font-sans);
  font-size: 0.94rem;
  color: var(--ink-900);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--navy-800);
  background: var(--white);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 0.25rem;
}

/* Footer */
.site-footer {
  background: var(--navy-950);
  color: rgba(250, 248, 244, 0.72);
  padding: 2.6rem 0 1.8rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  padding-bottom: 1.6rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.brand-footer .brand-name {
  color: var(--white);
}

.brand-footer .brand-sub {
  color: var(--gold-400);
}

.footer-tagline {
  margin-top: 0.6rem;
  font-size: 0.88rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.3rem;
}

.footer-nav a {
  color: rgba(250, 248, 244, 0.82);
  font-size: 0.88rem;
  font-weight: 500;
}

.footer-nav a:hover {
  color: var(--gold-400);
}

.footer-bottom {
  padding-top: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.82rem;
}

.footer-bottom a {
  color: var(--gold-400);
}

/* Toast */
.toast {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 250;
  padding: 0.7rem 1.15rem;
  border-radius: var(--radius-sm);
  background: var(--navy-900);
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Responsive */
@media (min-width: 640px) {
  .mentorship-chips {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .credentials-mini-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .credibility-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 760px) {
  .visual-cards-grid,
  .testimonials-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .compact-banner {
    flex-direction: row;
    align-items: center;
  }

  .footer-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

@media (min-width: 940px) {
  .header-controls {
    order: 3;
  }

  .nav-toggle {
    display: none;
  }

  .primary-nav {
    display: block;
    position: static;
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
    order: 2;
  }

  .nav-list {
    flex-direction: row;
    align-items: center;
    gap: 1.45rem;
  }

  .hero {
    padding: 4rem 0 4.6rem;
  }

  .hero-grid {
    grid-template-columns: 1.08fr 0.92fr;
    gap: 2.8rem;
  }

  .split-showcase {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2.8rem;
  }

  .mentorship-chips {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .about-grid {
    grid-template-columns: 0.88fr 1.12fr;
    gap: 2.8rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .steps-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .contact-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2rem;
  }
}
