/* ============================================================
   PMU – Philippines Makeup University
   Design System & Global Stylesheet
   Version 1.0 | August 2026
   ============================================================ */

/* ── GOOGLE FONTS ── */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,600&family=Inter:wght@300;400;500;600;700&display=swap');

/* ── CSS CUSTOM PROPERTIES ── */
:root {
  /* Brand Colors */
  --navy:       #0E1A2B;
  --navy-light: #162338;
  --charcoal:   #151515;
  --warm-white: #FAF8F4;
  --gold:       #C7A15A;
  --gold-light: #D9BA7E;
  --gold-dark:  #A8863F;
  --beige:      #E9DFD0;
  --beige-light:#F3EDE4;
  --rose:       #B98D88;
  --mid-gray:   #6B6B6B;
  --light-gray: #D4D0CB;
  --border:     #E2DDD6;

  /* Typography */
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans:  'Inter', system-ui, sans-serif;

  /* Spacing */
  --section-py: 96px;
  --section-px: 24px;
  --container:  1200px;
  --radius:     4px;
  --radius-lg:  8px;

  /* Transitions */
  --transition: 0.25s ease;
  --transition-slow: 0.4s ease;

  /* Shadows */
  --shadow-sm:  0 1px 4px rgba(14,26,43,0.08);
  --shadow-md:  0 4px 20px rgba(14,26,43,0.10);
  --shadow-lg:  0 12px 48px rgba(14,26,43,0.14);
}

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

/* ── PAGE LOAD FADE-IN ───────────────────────────────────── */
@keyframes pmu-fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
body { animation: pmu-fade-in 0.4s ease-out both; }
@media (prefers-reduced-motion: reduce) { body { animation: none; } }

/* ── LENIS SMOOTH SCROLL ─────────────────────────────────── */
html.lenis,
html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
.lenis.lenis-scrolling iframe { pointer-events: none; }

body {
  font-family: var(--font-sans);
  background: var(--warm-white);
  color: var(--charcoal);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--font-sans); border: none; background: none; }

/* ── TYPOGRAPHY SCALE ── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  line-height: 1.2;
  font-weight: 600;
  color: var(--navy);
}

.display-xl {
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.display-lg {
  font-size: clamp(2.4rem, 4.5vw, 4rem);
  font-weight: 400;
  line-height: 1.1;
}
.display-md {
  font-size: clamp(1.8rem, 3vw, 2.75rem);
  font-weight: 500;
  line-height: 1.2;
}
.display-sm {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 500;
}

h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.body-lg { font-size: 1.125rem; line-height: 1.75; }
.body-md { font-size: 1rem; line-height: 1.7; }
.body-sm { font-size: 0.875rem; line-height: 1.65; }

/* ── LAYOUT ── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--section-px);
}
.section { padding: var(--section-py) 0; }
.section-sm { padding: 64px 0; }
.section-lg { padding: 128px 0; }

/* Grid helpers */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-8 { gap: 8px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.gap-32 { gap: 32px; }
.gap-48 { gap: 48px; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: var(--radius);
  transition: all var(--transition);
  white-space: nowrap;
  cursor: pointer;
}
.btn-primary {
  background: var(--navy);
  color: #fff;
  border: 2px solid var(--navy);
}
.btn-primary:hover { background: var(--navy-light); border-color: var(--navy-light); transform: translateY(-1px); box-shadow: var(--shadow-md); }

.btn-gold {
  background: var(--gold);
  color: var(--navy);
  border: 2px solid var(--gold);
}
.btn-gold:hover { background: var(--gold-light); border-color: var(--gold-light); transform: translateY(-1px); box-shadow: var(--shadow-md); }

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}
.btn-outline:hover { background: var(--navy); color: #fff; }

.btn-outline-gold {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
}
.btn-outline-gold:hover { background: var(--gold); color: var(--navy); }

.btn-outline-white {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.5);
}
.btn-outline-white:hover { background: rgba(255,255,255,0.1); border-color: #fff; }

.btn-lg { padding: 18px 40px; font-size: 1rem; }
.btn-sm { padding: 10px 22px; font-size: 0.8rem; }

/* ── ANNOUNCEMENT BAR ── */
.announcement-bar {
  background: var(--gold);
  color: var(--navy);
  text-align: center;
  padding: 10px 24px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.announcement-bar a {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 700;
}
.announcement-bar a:hover { opacity: 0.75; }

/* ── HEADER / NAV ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--navy);
  border-bottom: 1px solid rgba(199,161,90,0.2);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 32px;
}

.nav-brand {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  flex-shrink: 0;
}
.nav-brand .brand-acronym {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.04em;
}
.nav-brand .brand-full {
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.8);
  padding: 8px 12px;
  border-radius: var(--radius);
  transition: all var(--transition);
  text-transform: uppercase;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--gold);
  background: rgba(199,161,90,0.08);
}

.nav-ctas { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all var(--transition);
}

.mobile-nav {
  margin: 0 !important;
  border: 0 !important;
  padding: 80px 24px 24px !important;
  background: #0E1A2B !important;
  background-color: #0E1A2B !important;
  color: #ffffff !important;
  width: min(86vw, 380px) !important;
  max-width: 380px !important;
  height: 100vh !important;
  height: 100dvh !important;
  min-height: 100vh !important;
  max-height: 100vh !important;
  inset-inline-start: auto !important;
  inset-inline-end: 0 !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.25) !important;
  box-sizing: border-box !important;
  /* ponytail: closed = display:none (no partial mid-animation state ever).
     Open = display:block + slide-in from the right via. a one-shot animation.
     No close animation — snap to hidden. The mid-animation partial state
     from display:block + transform:translateX(100%) is what was leaving the
     drawer half-on-screen when you closed it from the top of the page. */
  display: none !important;
}
.mobile-nav[open] {
  display: block !important;
  animation: drawer-in 0.32s cubic-bezier(0.32, 0.72, 0, 1) forwards;
}
@keyframes drawer-in {
  from { transform: translateX(100%); }
  to   { transform: translateX(0); }
}
.mobile-nav::backdrop {
  background: rgba(10, 20, 32, 0.55);
  animation: nav-backdrop-in 0.3s ease;
}
@keyframes nav-backdrop-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
.mobile-nav > a {
  display: block !important;
  color: #ffffff !important;
  background: transparent !important;
  font-size: 1rem !important;
  font-weight: 500 !important;
  padding: 18px 0 !important;
  min-height: 52px !important;
  line-height: 1.3 !important;
  text-decoration: none !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  letter-spacing: 0.03em !important;
  transition: color 0.2s ease !important;
}
.mobile-nav > a:hover, .mobile-nav > a:active { color: #C7A15A !important; }
.mobile-nav .mobile-ctas {
  margin-top: 24px !important;
  display: block !important;
}
.mobile-nav .mobile-ctas .btn {
  display: flex !important;
  min-height: 52px !important;
  justify-content: center !important;
  margin-bottom: 12px !important;
}

/* Close button inside drawer — top-RIGHT (drawer slides from right) */
.mobile-nav-close {
  position: absolute !important;
  top: 14px !important;
  right: 14px !important;
  width: 44px !important;
  height: 44px !important;
  background: transparent !important;
  border: none !important;
  color: #ffffff !important;
  font-size: 1.75rem !important;
  line-height: 1 !important;
  cursor: pointer !important;
  border-radius: 4px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: color 0.2s ease, background 0.2s ease !important;
  z-index: 5 !important;
}
.mobile-nav-close:hover, .mobile-nav-close:focus-visible {
  color: var(--gold);
  background: rgba(199, 161, 90, 0.08);
  outline: none;
}

/* Backdrop behind drawer when open (created dynamically in main.js) */
.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 20, 32, 0.55);
  z-index: 1099;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.nav-backdrop.show {
  opacity: 1;
  pointer-events: auto;
}

/* Body lock state while nav drawer is open. Uses overflow + touchmove prevention
   instead of position:fixed so it doesn't create a containing block that would
   trap the fixed-position drawer in the wrong viewport region. */
body.nav-open {
  overflow: hidden;
  touch-action: none;
}

/* ── HERO ── */
.hero {
  background: var(--navy);
  position: relative;
  overflow: hidden;
  min-height: 92vh;
  display: flex;
  align-items: center;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(14,26,43,0.97) 0%, rgba(14,26,43,0.75) 60%, rgba(14,26,43,0.4) 100%);
  z-index: 1;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1487412947147-5cebf100ffc2?w=1600&q=80') center/cover no-repeat;
  transform: scale(1.05);
  transition: transform 8s ease;
}
.hero:hover .hero-bg { transform: scale(1.0); }

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin: 0 auto;
  padding: 80px 24px;
  text-align: center;
}
.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--gold);
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 5.5vw, 4.5rem);
  font-weight: 300;
  color: #fff;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin-bottom: 40px;
}
.hero h1 em {
  font-style: italic;
  color: var(--gold-light);
  font-weight: 300;
}
.hero-subtext {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.75;
  max-width: 620px;
  margin: 16px auto 48px;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 56px; justify-content: center; }

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 28px;
  max-width: 780px;
  margin: 0 auto;
}
.hero-trust .trust-item { white-space: nowrap; }
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.03em;
}
.trust-item .check {
  width: 18px;
  height: 18px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 10px;
  flex-shrink: 0;
}

/* ── SECTION THEMES ── */
.bg-navy { background: var(--navy); color: #fff; }
.bg-navy h1,.bg-navy h2,.bg-navy h3 { color: #fff; }
.bg-beige { background: var(--beige-light); }
.bg-white { background: #fff; }

/* ── SECTION HEADER ── */
.section-header { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.section-header .eyebrow { margin-bottom: 16px; display: block; }
.section-header h2 { margin-bottom: 16px; }
.section-header p { color: var(--mid-gray); font-size: 1.05rem; }

/* ── BRAND INTRO ── */
.brand-intro { background: var(--beige-light); }
.brand-intro-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.brand-intro-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--beige);
}
.brand-intro-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.brand-intro-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 2px solid var(--gold);
  border-radius: var(--radius-lg);
  transform: translate(12px, 12px);
  z-index: -1;
}
.brand-intro-text .eyebrow { display: block; margin-bottom: 20px; }
.brand-intro-text h2 { margin-bottom: 24px; font-size: clamp(2rem, 3.5vw, 2.75rem); }
.brand-intro-text p { color: var(--mid-gray); margin-bottom: 16px; font-size: 1.05rem; }
.brand-intro-text .btn { margin-top: 16px; }

/* ── COURSE CARDS ── */
.courses-section { background: var(--warm-white); }

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 48px;
  justify-content: center;
}
@media (max-width: 768px) {
  .filter-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding: 0 20px 8px;
    margin-left: -20px;
    margin-right: -20px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .filter-tabs::-webkit-scrollbar { display: none; }
  .filter-tab { flex-shrink: 0; }
}
@media (max-width: 600px) {
  .courses-grid,
  .course-full-grid {
    display: flex !important;
    flex-wrap: nowrap !important;
    grid-template-columns: none !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory;
    gap: 16px !important;
    padding: 4px 24px 16px !important;
    margin: 0 -24px;
    scroll-padding: 0 24px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .courses-grid::-webkit-scrollbar,
  .course-full-grid::-webkit-scrollbar { display: none; }
  .course-card {
    flex: 0 0 86% !important;
    width: 86% !important;
    max-width: 86% !important;
    scroll-snap-align: start;
  }
  .courses-grid::after,
  .course-full-grid::after {
    content: '';
    flex: 0 0 8px;
  }
  .course-card-body { padding: 22px; }
  .course-card-title { font-size: 1.15rem; }
}

/* Tablet portrait: 2-card peek */
@media (min-width: 601px) and (max-width: 768px) {
  .courses-grid,
  .course-full-grid {
    display: flex !important;
    flex-wrap: nowrap !important;
    grid-template-columns: none !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory;
    gap: 20px !important;
    padding: 4px 24px 16px !important;
    margin: 0 -24px;
    scrollbar-width: none;
  }
  .courses-grid::-webkit-scrollbar,
  .course-full-grid::-webkit-scrollbar { display: none; }
  .course-card {
    flex: 0 0 calc(50% - 10px) !important;
    width: calc(50% - 10px) !important;
    max-width: calc(50% - 10px) !important;
    scroll-snap-align: start;
  }
  .courses-grid::after,
  .course-full-grid::after {
    content: '';
    flex: 0 0 8px;
  }
}
.filter-tab {
  padding: 9px 22px;
  border: 1.5px solid var(--border);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--mid-gray);
  background: #fff;
  cursor: pointer;
  transition: all var(--transition);
  text-transform: uppercase;
}
.filter-tab:hover { border-color: var(--navy); color: var(--navy); }
.filter-tab.active { background: var(--navy); border-color: var(--navy); color: #fff; }

.courses-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

.course-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-slow);
  box-shadow: var(--shadow-sm);
}
.course-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.course-card-image {
  aspect-ratio: 16/9;
  background: var(--beige);
  overflow: hidden;
  position: relative;
}
.course-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}
.course-card:hover .course-card-image img { transform: scale(1.05); }

.course-card-badges {
  position: absolute;
  top: 14px;
  left: 14px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.badge {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
}
.badge-category { background: var(--navy); color: #fff; }
.badge-level { background: var(--gold); color: var(--navy); }
.badge-coming { background: var(--rose); color: var(--navy); }

.course-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.course-card-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.3;
}
.course-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.78rem;
  color: var(--mid-gray);
}
.course-card-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}
.course-card-desc {
  font-size: 0.875rem;
  color: var(--mid-gray);
  line-height: 1.65;
  flex: 1;
}
.course-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  margin-top: auto;
}
.course-card-price {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy);
}
.course-card-price small {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--mid-gray);
  letter-spacing: 0.03em;
}

/* ── WHY CHOOSE PMU ── */
.why-pmu { background: var(--navy); }
.why-pmu .section-header h2 { color: #fff; }
.why-pmu .section-header p { color: rgba(255,255,255,0.6); }

.benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
@media (max-width: 768px) { .benefits-grid { gap: 20px; } }

.benefit-card {
  background: rgba(255,255,255,0.04);
  padding: 40px 32px;
  border: 1px solid rgba(199,161,90,0.32);
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
  position: relative;
  overflow: hidden;
}
.benefit-card:hover { background: rgba(255,255,255,0.07); border-color: var(--gold); transform: translateY(-3px); }
.benefit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform var(--transition-slow);
}
.benefit-card:hover { background: rgba(255,255,255,0.07); }
.benefit-card:hover::before { transform: scaleX(1); }

.benefit-number {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 300;
  color: rgba(199,161,90,0.2);
  line-height: 1;
  margin-bottom: 20px;
}
.benefit-icon {
  width: 44px;
  height: 44px;
  background: rgba(199,161,90,0.18);
  border-radius: var(--radius);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border: 1px solid rgba(199,161,90,0.35);
}
.benefit-icon i[data-lucide],
.benefit-icon svg {
  width: 22px;
  height: 22px;
  color: var(--gold);
  stroke: currentColor;
  fill: none;
}
.benefit-icon svg [stroke] { stroke: currentColor; }
.benefit-card h3 {
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 12px;
  font-weight: 600;
}
.benefit-card p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
}

/* ── HOW IT WORKS ── */
.how-it-works { background: var(--beige-light); }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 36px;
  left: calc(12.5%);
  right: calc(12.5%);
  height: 1px;
  background: linear-gradient(to right, var(--gold), var(--gold-light), var(--gold));
  z-index: 0;
}
.step-item {
  text-align: center;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}
.step-number {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--navy);
  border: 3px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--gold);
}
.step-item h3 {
  font-size: 1rem;
  margin-bottom: 10px;
  color: var(--navy);
}
.step-item p {
  font-size: 0.85rem;
  color: var(--mid-gray);
  line-height: 1.65;
}

/* ── STUDENT RESULTS ── */
.results-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.result-item {
  aspect-ratio: 1;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  background: var(--beige);
  cursor: pointer;
}
.result-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}
.result-item:hover img { transform: scale(1.08); }
.result-item .result-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(14,26,43,0.9) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 16px;
}
.result-item:hover .result-overlay { opacity: 1; }
.result-overlay-text {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.9);
  font-weight: 500;
}
.result-item.large { grid-column: span 2; grid-row: span 2; }

/* ── TRAINER SPOTLIGHT ── */
.trainer-card {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 64px;
  align-items: start;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.trainer-card-image {
  aspect-ratio: 3/4;
  background: var(--beige);
  overflow: hidden;
}
.trainer-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
}
.trainer-card-body { padding: 48px 0 48px 32px; }
.trainer-card-body .eyebrow { display: block; margin-bottom: 12px; }
.trainer-card-body h2 { margin-bottom: 6px; font-size: 2rem; }
.trainer-title { color: var(--mid-gray); font-size: 0.9rem; margin-bottom: 24px; }
.trainer-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.trainer-tag {
  padding: 5px 14px;
  background: var(--beige-light);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.03em;
}
.trainer-bio {
  font-size: 0.95rem;
  color: var(--mid-gray);
  line-height: 1.75;
  margin-bottom: 32px;
}
.trainer-stat-row {
  display: flex;
  gap: 32px;
  margin-bottom: 32px;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.trainer-stat { text-align: center; }
.trainer-stat-value {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--navy);
  display: block;
}
.trainer-stat-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--mid-gray);
  font-weight: 600;
}

/* ── SCHEDULE ── */
.schedule-table-wrap { overflow-x: auto; }
.schedule-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.schedule-table th {
  background: var(--navy);
  color: rgba(255,255,255,0.75);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 16px 20px;
  text-align: left;
  white-space: nowrap;
}
.schedule-table td {
  padding: 18px 20px;
  font-size: 0.875rem;
  color: var(--charcoal);
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
  white-space: nowrap;
}
.schedule-table tr:last-child td { border-bottom: none; }
.schedule-table tr:hover td { background: var(--beige-light); }

.status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  white-space: nowrap;
  min-width: 84px;
}
.status-badge::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}
.status-open { background: #ECFDF5; color: #065F46; }
.status-limited { background: #FFF7ED; color: #9A3412; }
.status-full { background: #FEF2F2; color: #991B1B; }
.status-soon { background: var(--beige-light); color: var(--mid-gray); }

/* ── TESTIMONIALS ── */
.testimonials-section { background: var(--navy); }
.testimonials-section .section-header h2 { color: #fff; }
.testimonials-section .section-header p { color: rgba(255,255,255,0.55); }

.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.testimonial-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(199,161,90,0.15);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: background var(--transition);
}
.testimonial-card:hover { background: rgba(255,255,255,0.08); }
.testimonial-stars {
  display: flex;
  gap: 3px;
  color: var(--gold);
  font-size: 14px;
}
.testimonial-text {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-style: italic;
  color: rgba(255,255,255,0.85);
  line-height: 1.65;
  flex: 1;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--beige);
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid rgba(199,161,90,0.3);
}
.testimonial-avatar img { width: 100%; height: 100%; object-fit: cover; }
.testimonial-name { font-size: 0.875rem; font-weight: 600; color: #fff; }
.testimonial-course { font-size: 0.75rem; color: var(--gold); font-weight: 500; }

/* ── CAREER SUPPORT ── */
.support-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.support-list { display: flex; flex-direction: column; gap: 16px; }
.support-item {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--transition);
}
.support-item:hover { border-color: var(--gold); box-shadow: var(--shadow-sm); }
.support-icon {
  width: 40px;
  height: 40px;
  background: var(--beige-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.support-item h3 { font-size: 0.95rem; margin-bottom: 4px; }
.support-item p { font-size: 0.82rem; color: var(--mid-gray); line-height: 1.6; }

/* ── FAQ ── */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.faq-item:hover { box-shadow: var(--shadow-md); }
.faq-question {
  width: 100%;
  text-align: left;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
  background: none;
  cursor: pointer;
  transition: background var(--transition);
}
.faq-question:hover { background: var(--beige-light); }
.faq-question.open { background: var(--beige-light); color: var(--gold-dark); }
.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--light-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--mid-gray);
  flex-shrink: 0;
  transition: all var(--transition);
}
.faq-question.open .faq-icon { border-color: var(--gold); color: var(--gold); transform: rotate(45deg); }
.faq-answer {
  display: none;
  padding: 20px 28px 24px;
  font-size: 0.9rem;
  color: var(--charcoal);
  line-height: 1.75;
  border-top: 1px solid var(--border);
}
.faq-answer.open { display: block; }

/* ── CTA BANNER ── */
.cta-banner {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(199,161,90,0.12) 0%, transparent 70%);
}
.cta-banner-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  padding: 96px 24px;
}
.cta-banner h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: #fff;
  margin-bottom: 16px;
  font-weight: 400;
}
.cta-banner h2 em { font-style: italic; color: var(--gold-light); }
.cta-banner p { color: rgba(255,255,255,0.65); margin-bottom: 36px; font-size: 1.05rem; }
.cta-banner-btns { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }

/* ── FOOTER ── */
.site-footer { background: #0A1420; color: rgba(255,255,255,0.65); }
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.4fr 1fr;
  gap: 40px;
  padding: 80px 0 64px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-top > * { min-width: 0; }
.footer-brand .brand-acronym {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  display: block;
}
.footer-brand .brand-full {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 16px;
}
.footer-brand p { font-size: 0.85rem; line-height: 1.75; margin-bottom: 24px; }
.footer-social {
  display: flex;
  gap: 10px;
}
.social-btn {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  transition: all var(--transition);
}
.social-btn:hover { border-color: var(--gold); color: var(--gold); background: rgba(199,161,90,0.08); }

.footer-col { display: block !important; min-height: 1px; visibility: visible !important; opacity: 1 !important; }
.footer-col h3,
.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; list-style: none; padding: 0; margin: 0; }
.footer-col ul li a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--gold); }

.footer-bottom {
  padding: 24px 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-disclaimer {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
  line-height: 1.65;
  max-width: 600px;
}
.footer-copyright {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
  flex-shrink: 0;
}

/* ── INNER PAGE HERO ── */
.page-hero {
  background: var(--navy);
  padding: 80px 0 72px;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
}
.page-hero .eyebrow { display: block; margin-bottom: 16px; }
.page-hero h1 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 400;
  margin-bottom: 16px;
}
.page-hero p { color: rgba(255,255,255,0.65); font-size: 1.1rem; max-width: 560px; }

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  margin-bottom: 32px;
}
.breadcrumb a { color: rgba(255,255,255,0.4); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: rgba(255,255,255,0.25); }

/* ── FORMS ── */
.form-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 8px;
}
.form-label .req { color: var(--gold); margin-left: 3px; }
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--charcoal);
  background: var(--warm-white);
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(199,161,90,0.12);
  background: #fff;
}
.form-textarea { min-height: 130px; resize: vertical; line-height: 1.65; }
.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B6B6B' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--mid-gray);
  line-height: 1.5;
  cursor: pointer;
  margin-bottom: 14px;
}
.form-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  border: 2px solid var(--border);
  border-radius: 3px;
  flex-shrink: 0;
  margin-top: 2px;
  appearance: none;
  cursor: pointer;
  position: relative;
  transition: all var(--transition);
}
.form-check input[type="checkbox"]:checked {
  background: var(--navy);
  border-color: var(--navy);
}
.form-check input[type="checkbox"]:checked::after {
  content: '✓';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: #fff;
  font-weight: 700;
}
.form-hint { font-size: 0.78rem; color: var(--mid-gray); margin-top: 6px; }

/* ── STATS BAR ── */
.stats-bar { background: var(--gold); padding: 40px 0; }
.stats-inner { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 24px; }
.stat-item { text-align: center; }
.stat-value {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--navy);
  display: block;
  line-height: 1;
}
.stat-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(14,26,43,0.7);
  margin-top: 6px;
  display: block;
}

/* ── CONTACT CARDS ── */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 64px; }
.contact-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  transition: all var(--transition);
}
.contact-card:hover { border-color: var(--gold); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.contact-card-icon {
  width: 56px;
  height: 56px;
  background: var(--beige-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin: 0 auto 16px;
}
.contact-card h3 { font-size: 1rem; margin-bottom: 6px; }
.contact-card p { font-size: 0.875rem; color: var(--mid-gray); }
.contact-card a { color: var(--gold); font-weight: 600; }

/* ── ABOUT PAGE ── */
.values-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.value-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 16px;
  text-align: center;
  transition: all var(--transition);
}
.value-card:hover { border-color: var(--gold); transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.value-card .icon { font-size: 1.75rem; margin-bottom: 12px; display: block; }
.value-card h3 { font-size: 0.9rem; color: var(--navy); }

/* ── UTILITY ── */
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.text-navy { color: var(--navy); }
.text-muted { color: var(--mid-gray); }
.text-white { color: #fff; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.gold-line {
  display: block;
  width: 48px;
  height: 2px;
  background: var(--gold);
  margin: 20px auto;
}
.divider { height: 1px; background: var(--border); margin: 48px 0; }
.notice-box {
  background: var(--beige-light);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 16px 20px;
  font-size: 0.85rem;
  color: #5C5C5C;
  line-height: 1.65;
  font-style: italic;
}

/* ── SCROLL TO TOP ── */
.scroll-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: var(--navy);
  border: 1px solid rgba(199,161,90,0.3);
  border-radius: 50%;
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(16px);
  transition: all var(--transition);
  z-index: 999;
  font-size: 1rem;
}
.scroll-top.visible { opacity: 1; transform: translateY(0); }
.scroll-top:hover { background: var(--gold); color: var(--navy); }

/* ── SAFE AREA + BASE RESPONSIVE FOUNDATIONS ── */
:root { --safe-top: env(safe-area-inset-top, 0px); --safe-bottom: env(safe-area-inset-bottom, 0px); }
body { padding-left: max(0px, env(safe-area-inset-left, 0px)); padding-right: max(0px, env(safe-area-inset-right, 0px)); }
.site-header { padding-top: var(--safe-top); }
.site-footer { padding-bottom: max(0px, var(--safe-bottom)); }
.sticky-cta { padding-bottom: max(14px, calc(14px + var(--safe-bottom))); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  :root { --section-py: 72px; }
  .courses-grid { grid-template-columns: repeat(2, 1fr); }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .trainer-stat-row { gap: 20px; flex-wrap: wrap; justify-content: space-around; }
  .trainer-stat-label { white-space: nowrap; font-size: 0.68rem; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .trainer-card { grid-template-columns: 280px 1fr; gap: 40px; }
  .trainer-card-body { padding: 32px 32px 32px 0; }
  .brand-intro-inner { gap: 48px; }
  .values-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  :root { --section-py: 56px; --section-px: 20px; }
  .nav-links, .nav-ctas { display: none; }
  .hamburger { display: flex; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid::before { display: none; }
  .results-grid { grid-template-columns: repeat(2, 1fr); }
  .result-item.large { grid-column: span 1; grid-row: span 1; }
  .trainer-card { grid-template-columns: 1fr; }
  .trainer-card-image { aspect-ratio: 4/3; }
  .trainer-card-body { padding: 32px; }
  .brand-intro-inner { grid-template-columns: 1fr; }
  .brand-intro-image { max-width: 400px; }
  .support-grid { grid-template-columns: 1fr; }
  .form-grid-2 { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; padding: 48px 0 40px; }
  .footer-bottom { flex-direction: column; }
  .hero { min-height: 80vh; }
  .stats-inner { gap: 32px; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .hero-ctas { flex-direction: column; }
  .btn-lg { width: 100%; justify-content: center; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .schedule-table { font-size: 0.8rem; }
  .schedule-table th, .schedule-table td { padding: 12px 14px; }
  .form-card { padding: 24px; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-trust { gap: 14px; }
  .hero-content { padding: 56px 20px 64px; }
  .hero h1 { margin-bottom: 28px; }
  .hero-ctas { gap: 10px; margin-bottom: 40px; }
  .hero-eyebrow { margin-bottom: 18px; }
  .hero-subtext { font-size: 1rem; margin: 12px auto 36px; }
  .announcement-bar { flex-direction: column; gap: 4px; padding: 10px 16px; font-size: 0.78rem; line-height: 1.45; }
  .brand-intro-image { max-width: 320px; margin: 0 auto; }
  .brand-intro-image::after { display: none; }
  .announcement-bar a { padding: 2px 0; }
}

/* Extra-narrow phones (~360px and under): tighten padding without breaking layout */
@media (max-width: 380px) {
  :root { --section-py: 48px; --section-px: 16px; }
  .container { padding: 0 16px; }
  .hero-content { padding: 48px 16px 56px; }
  .page-hero { padding: 64px 0 56px; }
  .form-card { padding: 20px; }
  .hero-trust { gap: 10px 18px; font-size: 0.78rem; }
  .hero-trust .trust-item { font-size: 0.78rem; }
  .nav-inner { gap: 12px; padding: 0 16px; }
  .section-header { margin-bottom: 40px; }
  .section-header p { font-size: 0.95rem; }
  .stats-inner { gap: 20px; }
  .stat-value { font-size: 2rem; }
}

/* ── ADDITIONS: fade-up reveal target, Lucide icons, sticky CTA, footer contact ── */

/* Fade-up: starts hidden; GSAP reveals. Without JS, fall through visible. */
.fade-up { opacity: 0; transform: translateY(20px); will-change: opacity, transform; }
.no-js .fade-up { opacity: 1; transform: none; }

/* Lucide icon sizing — icons inherit currentColor. */
[data-lucide] { display: inline-block; vertical-align: middle; width: 1em; height: 1em; stroke-width: 2; }
.icon-sm { width: 14px; height: 14px; }
.icon-md { width: 18px; height: 18px; }
.icon-lg { width: 24px; height: 24px; }

/* Footer contact list with Lucide icons. */
.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.55;
}
.footer-contact li i[data-lucide] {
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 3px;
  width: 14px;
  height: 14px;
}
.footer-contact li a { color: rgba(255,255,255,0.55); transition: color var(--transition); }
.footer-contact li a:hover { color: var(--gold); }

/* Footer social buttons — brand SVGs in a circular navy tile. */
.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(199,161,90,0.45);
  border-radius: 50%;
  background: rgba(199,161,90,0.06);
  color: var(--gold);
  transition: border-color var(--transition), background var(--transition), color var(--transition), transform var(--transition);
}
.social-btn:hover { border-color: var(--gold); background: rgba(199,161,90,0.18); color: var(--gold-light); transform: translateY(-2px); }
.social-btn svg { width: 18px; height: 18px; display: block; }

/* Sticky CTA bar on long pages (enrollment, courses, schedule). */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--gold);
  color: var(--navy);
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  z-index: 998;
  box-shadow: 0 -4px 24px rgba(14,26,43,0.18);
  font-size: 0.9rem;
  font-weight: 600;
}
.sticky-cta-text { flex: 1; }
.sticky-cta-text strong { display: block; }
.sticky-cta-text small { display: block; font-weight: 500; opacity: 0.78; font-size: 0.78rem; }
.sticky-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--navy);
  color: #fff;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background var(--transition);
  white-space: nowrap;
}
.sticky-cta-btn:hover { background: var(--navy-light); }
.sticky-cta .sticky-cta-close {
  background: transparent;
  border: 0;
  color: var(--navy);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.6;
  padding: 4px 8px;
}
.sticky-cta .sticky-cta-close:hover { opacity: 1; }
@media (max-width: 640px) {
  .sticky-cta { flex-direction: column; align-items: stretch; text-align: center; padding: 12px 16px; }
  .sticky-cta-row { display: flex; align-items: center; gap: 8px; justify-content: space-between; }
  .sticky-cta-btn { justify-content: center; }
}
body.has-sticky-cta { padding-bottom: 88px; }

/* Trust rows with Lucide checks — dark text by default for light bg, white on navy. */
.trust-row { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; color: var(--charcoal); }
.trust-row i[data-lucide] { color: var(--gold-dark); flex-shrink: 0; width: 18px; height: 18px; }
.bg-navy .trust-row { color: #fff; }
.bg-navy .trust-row i[data-lucide] { color: var(--gold); }

/* Contact-card icons — Lucide glyph in place of emoji. */
.contact-card-icon { font-size: 0; line-height: 0; }
.contact-card-icon i[data-lucide] { width: 24px; height: 24px; color: var(--navy); }

/* Footer top — five columns when contact col is present. */
.footer-top {
  grid-template-columns: 1.6fr 1fr 1fr 1.4fr 1fr;
}
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: span 3; }
}
@media (max-width: 640px) {
  .footer-top { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
}

/* Hero trust rows use Lucide check. */
.hero-trust .trust-item i[data-lucide] { color: var(--gold); }

/* Notice-box uses Lucide info icon in left margin. */
.notice-box { position: relative; padding-left: 48px; }
.notice-box::before {
  content: '';
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  background: var(--gold);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='12' y1='16' x2='12' y2='12'/%3E%3Cline x1='12' y1='8' x2='12.01' y2='8'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 0 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='12' y1='16' x2='12' y2='12'/%3E%3Cline x1='12' y1='8' x2='12.01' y2='8'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* Section eyebrow alignment — line+text gap. */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ''; display: block; width: 24px; height: 1px; background: currentColor; opacity: 0.6; }
