/* ============================================================
   Priya Makeup Studio — Global Stylesheet
   Luxury • Elegant • Feminine • Premium
   Stack: Pure HTML5 + CSS3 (no frameworks)
   ============================================================ */

/* ---------- 1. CSS Reset & Tokens ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Brand palette — refined modern luxury */
  --burgundy: #5A1411;
  --burgundy-deep: #420E0C;
  --burgundy-soft: #7A2420;
  --brown-dark: #2D100E;
  --brown-soft: #5A2A26;
  --wine: #7C2A26;
  --gold: #BF9B45;
  --gold-light: #E5C775;
  --gold-deep: #9A7B2E;
  --gold-shimmer: #F0D98A;
  --champagne: #E8D9B8;
  --cream: #FCF7F2;
  --beige: #F4E9DF;
  --beige-warm: #EBDACA;
  --white: #FFFFFF;
  --black: #0E0E0E;
  --ink: #1A1411;
  --gray-800: #3A2F2A;
  --gray-700: #4A3F3A;
  --gray-500: #6B605A;
  --gray-400: #908379;
  --gray-300: #C8BDB6;
  --gray-200: #E4D9D0;
  --gray-100: #F1E9E2;
  --gray-50: #F8F2EC;

  /* Modern accent tokens */
  --accent-blush: #E8C5B8;
  --accent-rose: #D9A696;
  --accent-nude: #C9A895;

  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.72);
  --glass-border: rgba(255, 255, 255, 0.5);

  /* Typography */
  --font-display: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Poppins', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-accent: 'Cormorant Garamond', Georgia, serif;
  --font-condensed: 'Roboto Condensed', 'Arial Narrow', 'Helvetica Neue Condensed', sans-serif;

  /* Spacing scale */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2rem;
  --space-6: 3rem;
  --space-7: 4rem;
  --space-8: 6rem;
  --space-9: 8rem;

  /* Radii */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --radius-pill: 999px;

  /* Shadows — refined, layered */
  --shadow-sm: 0 2px 8px rgba(45, 16, 14, 0.06), 0 1px 2px rgba(45, 16, 14, 0.04);
  --shadow-md: 0 8px 24px rgba(45, 16, 14, 0.10), 0 2px 6px rgba(45, 16, 14, 0.06);
  --shadow-lg: 0 24px 56px rgba(45, 16, 14, 0.18), 0 6px 16px rgba(45, 16, 14, 0.10);
  --shadow-xl: 0 32px 80px rgba(45, 16, 14, 0.24), 0 12px 24px rgba(45, 16, 14, 0.12);
  --shadow-gold: 0 8px 28px rgba(191, 155, 69, 0.32), 0 2px 8px rgba(191, 155, 69, 0.20);
  --shadow-card-hover: 0 28px 60px rgba(45, 16, 14, 0.22), 0 10px 20px rgba(45, 16, 14, 0.14);
  --shadow-inset-gold: inset 0 1px 0 rgba(229, 199, 117, 0.4);

  /* Transitions */
  --t-fast: 0.2s ease;
  --t-base: 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  --t-slow: 0.55s cubic-bezier(0.22, 1, 0.36, 1);

  /* Layout */
  --container: 1240px;
  --container-wide: 1440px;
  --header-h: 84px;
  --header-h-scrolled: 68px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  -webkit-text-size-adjust: 100%;
  /* Prevent horizontal scroll on mobile caused by off-screen elements
     (e.g. the slide-in mobile-nav drawer). */
  overflow-x: hidden;
  max-width: 100vw;
}

/* On iOS, setting overflow-x: hidden on html alone is not enough — body needs it too. */
@media (max-width: 900px) {
  html, body { width: 100%; max-width: 100%; overflow-x: hidden; }
  /* Safety net: ensure no element can push the page wider than the viewport. */
  main, section, header, footer, aside, .container, .container-wide,
  .two-col, .services-grid, .courses-grid, .portfolio-grid, .gallery-grid,
  .features-grid, .stats-grid, .benefits-grid, .footer-grid, .contact-grid,
  .about-list, .form-row, .hero, .hero .container, .academy-hero .container,
  .cta-band, .contact-form, .about-content, .about-image-wrap, .about-image,
  .hero-visual, .academy-hero-image, .map-wrap, .testimonials-track,
  .gallery-filters, .btn-group, .section-header {
    max-width: 100%;
  }
  /* Images and iframes can never exceed their container. */
  img, iframe, video, svg { max-width: 100%; height: auto; }
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--gray-700);
  background: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; transition: color var(--t-fast); }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; }

::selection { background: var(--gold); color: var(--brown-dark); }

/* ---------- 2. Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--burgundy);
  line-height: 1.18;
  font-weight: 600;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); }
h3 { font-size: clamp(1.4rem, 2.4vw, 1.85rem); }
h4 { font-size: clamp(1.15rem, 1.8vw, 1.35rem); }

p { margin-bottom: 1rem; }

.eyebrow {
  font-family: var(--font-condensed);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1rem;
  line-height: 1.2;
}
.eyebrow::before, .eyebrow.center::after {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--gold);
  display: inline-block;
}
.eyebrow.center { justify-content: center; }
.eyebrow.center::before { display: inline-block; }

.text-gold { color: var(--gold-deep); }
.text-burgundy { color: var(--burgundy); }
.text-cream { color: var(--cream); }
.text-center { text-align: center; }

.lead {
  font-size: 1.08rem;
  color: var(--gray-500);
  line-height: 1.85;
}

.script {
  font-family: var(--font-accent);
  font-style: italic;
  color: var(--gold-deep);
}

/* ---------- 3. Layout Helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-4);
}
.container-wide { max-width: var(--container-wide); }

.section { padding: clamp(3.5rem, 8vw, 7rem) 0; }
.section-sm { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.section-tight { padding-top: 0; }

.bg-cream { background: var(--cream); }
.bg-beige { background: var(--beige); }
.bg-burgundy { background: var(--burgundy); color: var(--cream); }
.bg-burgundy h1, .bg-burgundy h2, .bg-burgundy h3, .bg-burgundy h4 { color: var(--cream); }
.bg-dark { background: var(--brown-dark); color: var(--cream); }
.bg-dark h1, .bg-dark h2, .bg-dark h3, .bg-dark h4 { color: var(--cream); }
.bg-gradient-burgundy {
  background: linear-gradient(135deg, var(--burgundy) 0%, var(--brown-dark) 100%);
  color: var(--cream);
}
.bg-gradient-burgundy h1, .bg-gradient-burgundy h2, .bg-gradient-burgundy h3, .bg-gradient-burgundy h4 { color: var(--cream); }

.section-header { text-align: center; max-width: 720px; margin: 0 auto clamp(2.5rem, 5vw, 4rem); }
.section-header.left { text-align: left; margin-left: 0; }
.section-header p { color: var(--gray-500); margin-top: 1rem; font-size: 1.05rem; }
.bg-burgundy .section-header p, .bg-dark .section-header p, .bg-gradient-burgundy .section-header p { color: rgba(255,249,245,0.78); }

.grid { display: grid; gap: var(--space-5); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 2rem;
  font-family: var(--font-condensed);
  font-size: 0.94rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.2;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all var(--t-base);
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  white-space: nowrap;
  border: 1.5px solid transparent;
}
.btn i { font-size: 1.05em; }

.btn-primary {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 50%, var(--gold-deep) 100%);
  color: var(--brown-dark);
  box-shadow: var(--shadow-gold);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(201, 162, 39, 0.45);
  filter: brightness(1.06);
}

.btn-burgundy {
  background: linear-gradient(135deg, var(--burgundy) 0%, var(--brown-dark) 100%);
  color: var(--cream);
  box-shadow: 0 8px 22px rgba(100, 26, 22, 0.28);
}
.btn-burgundy:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(100, 26, 22, 0.42);
  filter: brightness(1.08);
}

.btn-outline {
  background: transparent;
  color: var(--burgundy);
  border-color: var(--burgundy);
}
.btn-outline:hover {
  background: var(--burgundy);
  color: var(--cream);
  transform: translateY(-2px);
}

.btn-outline-light {
  background: transparent;
  color: var(--cream);
  border-color: rgba(255, 249, 245, 0.5);
}
.btn-outline-light:hover {
  background: var(--cream);
  color: var(--burgundy);
  border-color: var(--cream);
  transform: translateY(-2px);
}

.btn-ghost-gold {
  background: transparent;
  color: var(--gold-deep);
  border-color: var(--gold);
}
.btn-ghost-gold:hover {
  background: var(--gold);
  color: var(--brown-dark);
}

.btn-whatsapp {
  background: #25D366;
  color: #fff;
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.32);
}
.btn-whatsapp:hover {
  background: #1FB857;
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(37, 211, 102, 0.48);
}

.btn-sm { padding: 0.7rem 1.4rem; font-size: 0.82rem; }
.btn-lg { padding: 1.15rem 2.6rem; font-size: 1rem; }
.btn-block { width: 100%; }

.btn-group { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.btn-group.center { justify-content: center; }

/* ---------- 5. Header / Navigation ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255, 249, 245, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(201, 162, 39, 0.18);
  transition: all var(--t-base);
  height: var(--header-h);
}
.site-header.scrolled {
  height: var(--header-h-scrolled);
  background: rgba(255, 249, 245, 0.96);
  box-shadow: var(--shadow-sm);
}
.site-header .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
}
.brand-logo { width: 46px; height: 46px; }
.brand-text { line-height: 1.1; }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--burgundy);
  letter-spacing: 0.04em;
}
.brand-tag {
  display: block;
  font-family: var(--font-condensed);
  font-style: normal;
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--gold-deep);
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-transform: uppercase;
}

.nav { display: flex; align-items: center; gap: 0.4rem; }
.nav-link {
  position: relative;
  padding: 0.6rem 0.95rem;
  font-family: var(--font-condensed);
  font-size: 0.94rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.2;
  color: var(--brown-dark);
  border-radius: var(--radius-sm);
  transition: color var(--t-fast);
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-light), var(--gold));
  transition: all var(--t-base);
  transform: translateX(-50%);
  border-radius: 2px;
}
.nav-link:hover { color: var(--burgundy); }
.nav-link:hover::after, .nav-link.active::after { width: 60%; }
.nav-link.active { color: var(--burgundy); }

.header-cta { display: flex; align-items: center; gap: 0.8rem; flex-shrink: 0; }

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--burgundy);
  color: var(--cream);
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all var(--t-fast);
}
.nav-toggle:hover { background: var(--gold); color: var(--brown-dark); transform: scale(1.05); }

/* Mobile drawer */
.mobile-nav {
  position: fixed;
  top: 0; right: 0;
  width: min(360px, 88vw);
  height: 100vh;
  background: linear-gradient(160deg, var(--brown-dark) 0%, var(--burgundy) 100%);
  color: var(--cream);
  padding: 6rem 2rem 2rem;
  z-index: 999;
  transform: translateX(100%);
  /* visibility:hidden when closed so the off-screen drawer does NOT contribute
     to the document's scrollable width (which would otherwise cause horizontal
     scroll on mobile). */
  visibility: hidden;
  transition: transform var(--t-base), visibility 0s linear var(--t-base);
  overflow-y: auto;
  box-shadow: -16px 0 40px rgba(0,0,0,0.3);
}
.mobile-nav.open {
  transform: translateX(0);
  visibility: visible;
  transition: transform var(--t-base), visibility 0s;
}
.mobile-nav .nav-link {
  display: block;
  padding: 1rem 0;
  font-size: 1.05rem;
  color: var(--cream);
  border-bottom: 1px solid rgba(201, 162, 39, 0.18);
  border-radius: 0;
}
.mobile-nav .nav-link::after { display: none; }
.mobile-nav .nav-link:hover, .mobile-nav .nav-link.active { color: var(--gold-light); padding-left: 0.5rem; }
.mobile-nav .btn { margin-top: 1.5rem; width: 100%; }

.mobile-nav-close {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(255, 249, 245, 0.12);
  color: var(--cream);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  transition: all var(--t-fast);
}
.mobile-nav-close:hover { background: var(--gold); color: var(--brown-dark); transform: rotate(90deg); }

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(17, 17, 17, 0.55);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: all var(--t-base);
  backdrop-filter: blur(2px);
}
.overlay.open { opacity: 1; visibility: visible; }

body.nav-open { overflow: hidden; }

/* ---------- 6. Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  padding: calc(var(--header-h) + 3rem) 0 4rem;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--cream) 0%, var(--beige) 100%);
}
.hero::before {
  content: '';
  position: absolute;
  top: -10%; right: -5%;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(201, 162, 39, 0.22), transparent 70%);
  border-radius: 50%;
  z-index: 0;
  animation: floatSlow 9s ease-in-out infinite;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -10%; left: -5%;
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(100, 26, 22, 0.12), transparent 70%);
  border-radius: 50%;
  z-index: 0;
  animation: floatSlow 11s ease-in-out infinite reverse;
}

.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.hero-content { max-width: 620px; }
.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  line-height: 1.08;
  margin-bottom: 1.5rem;
  color: var(--burgundy);
}
.hero h1 .accent {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 500;
  color: var(--gold-deep);
  display: block;
  font-size: 1.05em;
}
.hero-sub {
  font-size: 1.12rem;
  color: var(--gray-500);
  line-height: 1.85;
  margin-bottom: 2rem;
  max-width: 540px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.5rem; }

.hero-trust { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.hero-trust-item { display: flex; align-items: center; gap: 0.6rem; font-size: 0.88rem; color: var(--gray-700); }
.hero-trust-item i { color: var(--gold); font-size: 1.1rem; }
.hero-trust-divider { width: 1px; height: 26px; background: var(--gray-300); }

.hero-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(59, 23, 21, 0.35) 100%);
}
.hero-visual img {
  width: 100%; height: 100%;
  object-fit: cover;
  animation: heroZoom 18s ease-in-out infinite alternate;
}

.hero-badge {
  position: absolute;
  background: rgba(255, 249, 245, 0.95);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 0.85rem;
  z-index: 3;
}
.hero-badge.top-left { top: 1.5rem; left: -1.5rem; animation: floatBadge 5s ease-in-out infinite; }
.hero-badge.bottom-right { bottom: 1.5rem; right: -1.5rem; animation: floatBadge 6s ease-in-out infinite 0.5s; }
.hero-badge .icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--brown-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.hero-badge .title { font-family: var(--font-display); font-weight: 700; color: var(--burgundy); font-size: 1.1rem; line-height: 1.2; }
.hero-badge .sub { font-size: 0.78rem; color: var(--gray-500); }

.hero-scroll {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: var(--gray-500);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  z-index: 3;
}
.hero-scroll .mouse {
  width: 22px; height: 36px;
  border: 1.5px solid var(--gray-500);
  border-radius: 12px;
  position: relative;
}
.hero-scroll .mouse::after {
  content: '';
  position: absolute;
  top: 6px; left: 50%;
  transform: translateX(-50%);
  width: 3px; height: 7px;
  background: var(--gold);
  border-radius: 2px;
  animation: scrollWheel 1.6s ease-in-out infinite;
}

/* Page hero (interior pages) */
.page-hero {
  padding: calc(var(--header-h) + 4rem) 0 3.5rem;
  background: linear-gradient(135deg, var(--burgundy) 0%, var(--brown-dark) 100%);
  color: var(--cream);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: 30%; right: 5%;
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(201, 162, 39, 0.22), transparent 70%);
  border-radius: 50%;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: -40%; left: -10%;
  width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(201, 162, 39, 0.14), transparent 70%);
  border-radius: 50%;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: var(--cream); margin-bottom: 1rem; }
.page-hero p { color: rgba(255, 249, 245, 0.82); font-size: 1.1rem; max-width: 680px; margin: 0 auto; }

.breadcrumbs {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  margin-top: 1.5rem;
  color: rgba(255, 249, 245, 0.7);
}
.breadcrumbs a:hover { color: var(--gold-light); }
.breadcrumbs span { color: var(--gold-light); }

/* ---------- 7. Stats / Counters ---------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 3vw, 2.5rem);
}
.stat-card {
  text-align: center;
  padding: 2rem 1rem;
  position: relative;
}
.stat-card + .stat-card::before {
  content: '';
  position: absolute;
  left: 0; top: 25%; bottom: 25%;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--gold), transparent);
  opacity: 0.4;
}
.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}
.stat-label {
  font-family: var(--font-condensed);
  font-size: 0.86rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--gray-500);
}
.bg-burgundy .stat-label, .bg-dark .stat-label, .bg-gradient-burgundy .stat-label { color: rgba(255, 249, 245, 0.78); }

/* ---------- 8. About / Artist ---------- */
.about-image-wrap { position: relative; }
.about-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5;
}
.about-image img { width: 100%; height: 100%; object-fit: cover; }
.about-frame {
  position: absolute;
  inset: 1.25rem;
  border: 1px solid var(--gold);
  border-radius: calc(var(--radius-xl) - 8px);
  pointer-events: none;
  z-index: 2;
}
.about-experience {
  position: absolute;
  bottom: -1.5rem; right: -1.5rem;
  background: linear-gradient(135deg, var(--burgundy), var(--brown-dark));
  color: var(--cream);
  padding: 1.5rem 1.8rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  text-align: center;
  z-index: 3;
}
.about-experience .num { font-family: var(--font-display); font-size: 2.4rem; font-weight: 700; color: var(--gold-light); line-height: 1; }
.about-experience .label { font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 249, 245, 0.85); margin-top: 0.4rem; }

.about-content h2 { margin-bottom: 1.2rem; }
.about-content p { margin-bottom: 1.1rem; line-height: 1.85; }
.about-signature {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 1.6rem;
  color: var(--burgundy);
  margin: 1.5rem 0;
}
.about-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem 1.2rem; margin: 1.5rem 0; }
.about-list li { display: flex; align-items: center; gap: 0.6rem; font-size: 0.94rem; color: var(--gray-700); }
.about-list i { color: var(--gold); }

/* ---------- 9. Service Cards — Premium Redesign ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 2.2rem); }

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--gray-200);
  isolation: isolate;
}
.service-card::before {
  /* Top gold accent line — invisible until hover */
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-light), var(--gold), var(--gold-deep));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 5;
}
.service-card::after {
  /* Subtle decorative shimmer on hover */
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(229, 199, 117, 0.08), transparent);
  transform: skewX(-20deg);
  transition: left 0.9s ease;
  pointer-events: none;
  z-index: 4;
}
.service-card:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow-card-hover);
  border-color: transparent;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover::after { left: 130%; }

/* Featured / popular badge — STICKER style */
.service-badge {
  position: absolute;
  top: 0.85rem; left: 0.85rem;
  /* Sticker body — solid color, slight rotation, paper-like */
  background: var(--burgundy);
  color: var(--gold-shimmer);
  padding: 0.55rem 0.95rem 0.55rem 0.85rem;
  font-family: var(--font-condensed);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.15;
  text-transform: uppercase;
  /* Sticker shape: angled corners (clipped) */
  border-radius: 2px;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  /* Sticker shadow — offset, no blur, like a real peel-off sticker */
  box-shadow:
    2px 2px 0 var(--brown-dark),
    4px 4px 0 rgba(45, 16, 14, 0.4),
    0 6px 14px rgba(0, 0, 0, 0.3);
  /* Slight rotation for the hand-applied sticker feel */
  transform: rotate(-4deg);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  /* Subtle paper texture via gradient */
  background-image:
    linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, transparent 50%, rgba(0, 0, 0, 0.08) 100%),
    linear-gradient(135deg, var(--burgundy) 0%, var(--burgundy-deep) 100%);
}
/* Tape strip on top of the sticker (like it was taped on) */
.service-badge::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(-2deg);
  width: 28px;
  height: 10px;
  background: linear-gradient(135deg, rgba(229, 199, 117, 0.55), rgba(191, 155, 69, 0.35));
  border-left: 1px dashed rgba(255, 255, 255, 0.25);
  border-right: 1px dashed rgba(255, 255, 255, 0.25);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}
/* Small decorative dot pattern (sticker perforation feel) */
.service-badge::after {
  content: '';
  position: absolute;
  bottom: 3px;
  right: 8px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold-light);
  box-shadow:
    -8px 0 0 var(--gold-light),
    -16px 0 0 var(--gold-light);
  opacity: 0.5;
}
.service-badge i {
  font-size: 0.7rem;
  color: var(--gold-light);
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.3));
}
/* On card hover, straighten the sticker slightly */
.service-card:hover .service-badge {
  transform: rotate(-1deg) scale(1.05);
}

/* Gold sticker variant */
.service-badge.gold {
  background-image:
    linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, transparent 50%, rgba(0, 0, 0, 0.08) 100%),
    linear-gradient(135deg, var(--gold-light) 0%, var(--gold-deep) 100%);
  color: var(--brown-dark);
  box-shadow:
    2px 2px 0 var(--gold-deep),
    4px 4px 0 rgba(154, 123, 46, 0.4),
    0 6px 14px rgba(0, 0, 0, 0.3);
}
.service-badge.gold i { color: var(--burgundy); }
.service-badge.gold::after {
  background: var(--burgundy);
  box-shadow: -8px 0 0 var(--burgundy), -16px 0 0 var(--burgundy);
}

.service-image {
  position: relative;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: var(--beige);
}
.service-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1), filter 0.5s ease;
  filter: saturate(0.96) brightness(0.98);
}
.service-card:hover .service-image img { transform: scale(1.10); filter: saturate(1.05) brightness(1.02); }

/* Gradient overlays on image */
.service-image::before {
  /* Permanent bottom gradient for legibility */
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(45, 16, 14, 0.55) 100%);
  z-index: 1;
  pointer-events: none;
}
.service-image::after {
  /* Hover darkening */
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(45, 16, 14, 0.25) 0%, rgba(45, 16, 14, 0.75) 100%);
  opacity: 0;
  transition: opacity var(--t-base);
  z-index: 2;
  pointer-events: none;
}
.service-card:hover .service-image::after { opacity: 1; }

/* Image-overlay title (always visible) */
.service-image-title {
  position: absolute;
  bottom: 1rem; left: 1.2rem; right: 1.2rem;
  color: var(--cream);
  z-index: 3;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  font-style: italic;
  letter-spacing: 0.02em;
  opacity: 0;
  transform: translateY(8px);
  transition: all var(--t-base);
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}
.service-card:hover .service-image-title { opacity: 1; transform: translateY(0); }

/* Price tag — modern frosted glass pill */
.service-price-tag {
  position: absolute;
  top: 1rem; right: 1rem;
  background: var(--glass-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--burgundy);
  padding: 0.42rem 0.9rem;
  font-family: var(--font-condensed);
  font-size: 0.76rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.2;
  border-radius: var(--radius-pill);
  border: 1px solid var(--glass-border);
  box-shadow: 0 4px 16px rgba(45, 16, 14, 0.18);
  z-index: 4;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.service-price-tag i { font-size: 0.7rem; color: var(--gold-deep); }

/* Hover overlay button — slides up from bottom of image */
.service-overlay-btn {
  position: absolute;
  bottom: 1rem; left: 50%;
  transform: translate(-50%, 24px);
  opacity: 0;
  transition: all var(--t-base);
  z-index: 4;
  white-space: nowrap;
}
.service-card:hover .service-overlay-btn { opacity: 1; transform: translate(-50%, 0); }

/* Service body */
.service-body { padding: 1.7rem 1.55rem 1.75rem; flex: 1; display: flex; flex-direction: column; position: relative; }
.service-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 0.7rem;
}
.service-rating {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-condensed);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.2;
  color: var(--gray-500);
}
.service-rating .stars { color: var(--gold); letter-spacing: 0.06em; font-size: 0.72rem; }
.service-duration {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-family: var(--font-condensed);
  font-size: 0.76rem;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.2;
  color: var(--gray-400);
}
.service-duration i { font-size: 0.7rem; }

.service-body h3 {
  font-size: 1.38rem;
  margin-bottom: 0.65rem;
  color: var(--burgundy);
  letter-spacing: -0.01em;
  line-height: 1.25;
  transition: color var(--t-fast);
}
.service-card:hover .service-body h3 { color: var(--burgundy-deep); }
.service-body p {
  color: var(--gray-500);
  font-size: 0.92rem;
  line-height: 1.75;
  margin-bottom: 1.1rem;
  flex: 1;
}

/* Feature pills — refined */
.service-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.5rem;
  margin-bottom: 1.3rem;
  padding-top: 0.4rem;
  border-top: 1px dashed var(--gray-200);
  padding-top: 1rem;
}
.service-features li {
  font-family: var(--font-condensed);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.2;
  color: var(--gray-700);
  background: var(--gray-50);
  padding: 0.32rem 0.75rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--gray-200);
  transition: all var(--t-fast);
}
.service-card:hover .service-features li {
  background: var(--cream);
  border-color: var(--gold);
  color: var(--burgundy);
}

/* CTA row — modern dual action */
.service-cta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-top: auto;
  padding-top: 0.4rem;
}
.service-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-condensed);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
  color: var(--burgundy);
  text-transform: uppercase;
  transition: all var(--t-fast);
  position: relative;
}
.service-cta::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1.5px;
  background: var(--gold);
  transition: width var(--t-base);
}
.service-cta i { transition: transform var(--t-fast); }
.service-cta:hover { color: var(--gold-deep); }
.service-cta:hover::after { width: 100%; }
.service-cta:hover i { transform: translateX(5px); }

/* WhatsApp quick-action icon button on card */
.service-wa-icon {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  flex-shrink: 0;
  transition: all var(--t-base);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.32);
}
.service-wa-icon:hover {
  transform: scale(1.08) rotate(-4deg);
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.5);
}

/* ---------- 10. Why Choose / Features ---------- */
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.feature-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.2rem 1.6rem;
  text-align: center;
  border: 1px solid var(--gray-200);
  transition: all var(--t-base);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  width: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold-light), var(--gold));
  transition: all var(--t-base);
  transform: translateX(-50%);
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--gold); }
.feature-card:hover::before { width: 60%; }
.feature-icon {
  width: 76px; height: 76px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--beige), var(--beige-warm));
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.3rem;
  font-size: 1.7rem;
  color: var(--burgundy);
  transition: all var(--t-base);
  position: relative;
}
.feature-icon::after {
  content: '';
  position: absolute;
  inset: -4px;
  border: 1px dashed var(--gold);
  border-radius: 50%;
  opacity: 0;
  transition: opacity var(--t-base);
}
.feature-card:hover .feature-icon { background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: var(--brown-dark); transform: rotate(8deg); }
.feature-card:hover .feature-icon::after { opacity: 1; }
.feature-card h3 { font-size: 1.2rem; margin-bottom: 0.6rem; }
.feature-card p { font-size: 0.9rem; color: var(--gray-500); line-height: 1.7; margin: 0; }

/* ---------- 11. Portfolio / Gallery ---------- */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.portfolio-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 1;
  background: var(--beige);
}
.portfolio-item.tall { grid-row: span 2; aspect-ratio: 1 / 2; }
.portfolio-item.wide { grid-column: span 2; aspect-ratio: 2 / 1; }
.portfolio-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.portfolio-item:hover img { transform: scale(1.1); }
.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(59, 23, 21, 0.85) 100%);
  opacity: 0;
  transition: opacity var(--t-base);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.4rem;
  color: var(--cream);
}
.portfolio-item:hover .portfolio-overlay { opacity: 1; }
.portfolio-overlay .cat {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 0.3rem;
}
.portfolio-overlay .title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  transform: translateY(10px);
  transition: transform var(--t-base);
}
.portfolio-item:hover .portfolio-overlay .title { transform: translateY(0); }
.portfolio-zoom {
  position: absolute;
  top: 1rem; right: 1rem;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(255, 249, 245, 0.95);
  color: var(--burgundy);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  opacity: 0;
  transform: scale(0.7);
  transition: all var(--t-base);
}
.portfolio-item:hover .portfolio-zoom { opacity: 1; transform: scale(1); }

/* Gallery filters */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}
.filter-btn {
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-pill);
  background: var(--white);
  color: var(--burgundy);
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  border: 1px solid var(--gray-200);
  transition: all var(--t-fast);
}
.filter-btn:hover { border-color: var(--gold); color: var(--gold-deep); }
.filter-btn.active {
  background: linear-gradient(135deg, var(--burgundy), var(--brown-dark));
  color: var(--cream);
  border-color: var(--burgundy);
  box-shadow: var(--shadow-sm);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4 / 5;
  background: var(--beige);
  transition: opacity var(--t-base), transform var(--t-base);
}
.gallery-item.hide { display: none; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--t-base); }
.gallery-item:hover img { transform: scale(1.08); }

/* ---------- 12. Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(17, 17, 17, 0.95);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--t-base);
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius-md);
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
  transform: scale(0.92);
  transition: transform var(--t-base);
}
.lightbox.open .lightbox-img { transform: scale(1); }
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute;
  background: rgba(255, 249, 245, 0.1);
  color: var(--cream);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  transition: all var(--t-fast);
  backdrop-filter: blur(6px);
}
.lightbox-close { top: 1.5rem; right: 1.5rem; width: 48px; height: 48px; }
.lightbox-prev { left: 1.5rem; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; }
.lightbox-next { right: 1.5rem; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; }
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover {
  background: var(--gold);
  color: var(--brown-dark);
}
.lightbox-prev:hover, .lightbox-next:hover { transform: translateY(-50%) scale(1.08); }
.lightbox-close:hover { transform: rotate(90deg); }
.lightbox-caption {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-align: center;
  background: rgba(0,0,0,0.4);
  padding: 0.5rem 1.2rem;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(6px);
}

/* ---------- 13. Testimonials ---------- */
.testimonials-track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 0.5rem 0.5rem 2rem;
  margin: 0 -0.5rem;
}
.testimonials-track::-webkit-scrollbar { display: none; }
.testimonial-card {
  flex: 0 0 380px;
  max-width: 380px;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.2rem 1.8rem;
  scroll-snap-align: start;
  border: 1px solid var(--gray-200);
  position: relative;
  transition: all var(--t-base);
}
.testimonial-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--gold); }
.testimonial-quote-mark {
  font-family: var(--font-display);
  font-size: 3.4rem;
  line-height: 0.6;
  color: var(--gold);
  opacity: 0.4;
  position: absolute;
  top: 1.4rem; right: 1.4rem;
}
.testimonial-stars { color: var(--gold); margin-bottom: 1rem; font-size: 0.95rem; letter-spacing: 0.1em; }
.testimonial-text {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--gray-700);
  line-height: 1.85;
  margin-bottom: 1.5rem;
}
.testimonial-author { display: flex; align-items: center; gap: 0.9rem; }
.testimonial-avatar {
  width: 50px; height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--burgundy), var(--brown-dark));
  color: var(--gold-light);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.testimonial-name { font-family: var(--font-display); font-weight: 600; color: var(--burgundy); font-size: 1.05rem; }
.testimonial-service { font-size: 0.82rem; color: var(--gold-deep); letter-spacing: 0.08em; text-transform: uppercase; }

.testimonial-controls { display: flex; justify-content: center; gap: 0.6rem; margin-top: 1rem; }
.testimonial-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--gray-300);
  transition: all var(--t-fast);
  cursor: pointer;
}
.testimonial-dot.active { background: var(--gold); width: 30px; border-radius: 5px; }

/* ---------- 14. Academy ---------- */
.academy-hero {
  position: relative;
  padding: calc(var(--header-h) + 4rem) 0 4rem;
  background: linear-gradient(135deg, var(--brown-dark) 0%, var(--burgundy) 60%, var(--brown-soft) 100%);
  color: var(--cream);
  overflow: hidden;
}
.academy-hero::before {
  content: '';
  position: absolute;
  top: -20%; right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(201, 162, 39, 0.18), transparent 70%);
  border-radius: 50%;
}
.academy-hero .container { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3rem; align-items: center; }
.academy-hero h1 { color: var(--cream); }
.academy-hero h1 .accent { color: var(--gold-light); }
.academy-hero p { color: rgba(255, 249, 245, 0.82); font-size: 1.1rem; }
.academy-hero-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.academy-hero-image img { width: 100%; height: 100%; object-fit: cover; }

.courses-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.course-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: all var(--t-base);
  display: flex;
  flex-direction: column;
}
.course-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: var(--gold); }
.course-image { aspect-ratio: 16/10; overflow: hidden; position: relative; }
.course-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--t-base); }
.course-card:hover .course-image img { transform: scale(1.08); }
.course-badge {
  position: absolute;
  top: 1rem; left: 1rem;
  background: var(--burgundy);
  color: var(--cream);
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-pill);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.course-body { padding: 1.6rem 1.5rem 1.8rem; flex: 1; display: flex; flex-direction: column; }
.course-body h3 { font-size: 1.3rem; margin-bottom: 0.6rem; }
.course-body p { font-size: 0.92rem; color: var(--gray-500); line-height: 1.7; margin-bottom: 1rem; }
.course-meta { display: flex; gap: 1rem; padding: 0.8rem 0; border-top: 1px solid var(--gray-200); border-bottom: 1px solid var(--gray-200); margin-bottom: 1rem; flex-wrap: wrap; }
.course-meta-item { display: flex; flex-direction: column; gap: 0.2rem; }
.course-meta-item .label { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gray-500); }
.course-meta-item .val { font-family: var(--font-display); font-weight: 600; color: var(--burgundy); font-size: 0.95rem; }
.course-features { margin-bottom: 1.2rem; }
.course-features li { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.88rem; color: var(--gray-700); padding: 0.25rem 0; }
.course-features i { color: var(--gold); font-size: 0.85rem; margin-top: 0.3rem; }
.course-card .btn { margin-top: auto; }

.benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.benefit-item {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.6rem 1.4rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  border: 1px solid var(--gray-200);
  transition: all var(--t-base);
}
.benefit-item:hover { border-color: var(--gold); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.benefit-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--beige), var(--beige-warm));
  color: var(--burgundy);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.benefit-item h4 { font-size: 1.05rem; margin-bottom: 0.3rem; }
.benefit-item p { font-size: 0.85rem; color: var(--gray-500); line-height: 1.6; margin: 0; }

/* ---------- 15. FAQ ---------- */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
  background: var(--white);
  border-radius: var(--radius-md);
  margin-bottom: 0.9rem;
  overflow: hidden;
  border: 1px solid var(--gray-200);
  transition: all var(--t-fast);
}
.faq-item:hover { border-color: var(--gold); }
.faq-item.active { border-color: var(--gold); box-shadow: var(--shadow-sm); }
.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.3rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--burgundy);
}
.faq-question .icon {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--beige);
  color: var(--burgundy);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
  transition: all var(--t-base);
}
.faq-item.active .faq-question .icon { background: var(--burgundy); color: var(--gold-light); transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--t-base);
}
.faq-answer-inner { padding: 0 1.5rem 1.4rem; color: var(--gray-500); line-height: 1.8; font-size: 0.96rem; }

/* ---------- 16. CTA Section ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--burgundy) 0%, var(--brown-dark) 100%);
  color: var(--cream);
  border-radius: var(--radius-xl);
  padding: clamp(2.5rem, 6vw, 4.5rem);
  text-align: center;
  position: relative;
  overflow: hidden;
  margin: 0 auto;
  max-width: var(--container-wide);
}
.cta-band::before {
  content: '';
  position: absolute;
  top: -30%; right: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(201, 162, 39, 0.18), transparent 70%);
  border-radius: 50%;
}
.cta-band::after {
  content: '';
  position: absolute;
  bottom: -30%; left: -10%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(201, 162, 39, 0.14), transparent 70%);
  border-radius: 50%;
}
.cta-band .container { position: relative; z-index: 2; }
.cta-band h2 { color: var(--cream); margin-bottom: 1rem; }
.cta-band p { color: rgba(255, 249, 245, 0.85); font-size: 1.1rem; max-width: 640px; margin: 0 auto 2rem; }
.cta-band .btn-group { justify-content: center; }

/* ---------- 17. Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); }
.contact-info-list { display: flex; flex-direction: column; gap: 1.4rem; margin-top: 2rem; }
.contact-info-item {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  padding: 1.3rem;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  transition: all var(--t-fast);
}
.contact-info-item:hover { border-color: var(--gold); transform: translateX(4px); box-shadow: var(--shadow-sm); }
.contact-info-icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--burgundy), var(--brown-dark));
  color: var(--gold-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-info-label { font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gray-500); margin-bottom: 0.3rem; }
.contact-info-value { font-family: var(--font-display); font-weight: 600; color: var(--burgundy); font-size: 1.05rem; line-height: 1.4; }
.contact-info-value a:hover { color: var(--gold-deep); }

.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 4vw, 2.6rem);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}
.contact-form h3 { margin-bottom: 0.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.1rem; }
.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--burgundy);
  margin-bottom: 0.4rem;
  text-transform: uppercase;
}
.form-control {
  width: 100%;
  max-width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  background: var(--cream);
  color: var(--brown-dark);
  font-size: 0.95rem;
  transition: all var(--t-fast);
  font-family: var(--font-body);
  -webkit-appearance: none;
  appearance: none;
}
select.form-control {
  width: 100%;
  padding-right: 2.2rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B605A' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
}
.form-control:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(201, 162, 39, 0.12);
}
.form-control::placeholder { color: var(--gray-500); }
textarea.form-control { min-height: 120px; resize: vertical; }
.form-error { color: #C0392B; font-size: 0.78rem; margin-top: 0.3rem; display: none; }
.form-group.has-error .form-control { border-color: #C0392B; }
.form-group.has-error .form-error { display: block; }

/* Map / location card */
.map-wrap {
  margin-top: 3rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  background: var(--beige);
}
.map-wrap iframe { width: 100%; height: 380px; border: 0; display: block; }

/* ---------- 18. Floating WhatsApp & Back-to-Top ---------- */
.float-wa {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 60px; height: 60px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  z-index: 900;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.5);
  transition: all var(--t-base);
}
.float-wa::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: #25D366;
  opacity: 0.5;
  z-index: -1;
  animation: waPulse 2s ease-out infinite;
}
.float-wa:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.7);
}
.float-wa-tooltip {
  position: absolute;
  right: 72px;
  top: 50%;
  transform: translateY(-50%) translateX(10px);
  background: var(--brown-dark);
  color: var(--cream);
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all var(--t-base);
  pointer-events: none;
  box-shadow: var(--shadow-md);
}
.float-wa-tooltip::after {
  content: '';
  position: absolute;
  right: -5px;
  top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-right-color: var(--brown-dark);
}
.float-wa:hover .float-wa-tooltip { opacity: 1; visibility: visible; transform: translateY(-50%) translateX(0); }

.back-to-top {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  width: 48px; height: 48px;
  background: var(--burgundy);
  color: var(--cream);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  z-index: 900;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--t-base);
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--gold); color: var(--brown-dark); transform: translateY(-4px); }

/* ---------- 19. Footer ---------- */
.site-footer {
  background: var(--brown-dark);
  color: rgba(255, 249, 245, 0.72);
  padding: clamp(3rem, 6vw, 5rem) 0 0;
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
.footer-brand .brand { margin-bottom: 1.2rem; }
.footer-brand .brand-name { color: var(--cream); }
.footer-brand p { font-size: 0.92rem; line-height: 1.8; margin-bottom: 1.4rem; }
.footer-social { display: flex; gap: 0.7rem; }
.footer-social a {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255, 249, 245, 0.08);
  color: var(--cream);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.95rem;
  transition: all var(--t-base);
}
.footer-social a:hover { background: var(--gold); color: var(--brown-dark); transform: translateY(-3px); }

.footer-col h4 {
  color: var(--cream);
  font-size: 1.05rem;
  margin-bottom: 1.3rem;
  position: relative;
  padding-bottom: 0.7rem;
}
.footer-col h4::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 32px; height: 2px;
  background: var(--gold);
}
.footer-links li { margin-bottom: 0.7rem; }
.footer-links a {
  font-size: 0.92rem;
  color: rgba(255, 249, 245, 0.72);
  transition: all var(--t-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.footer-links a:hover { color: var(--gold-light); padding-left: 4px; }
.footer-links i { font-size: 0.7rem; color: var(--gold); }

.footer-contact li { display: flex; gap: 0.7rem; margin-bottom: 0.9rem; font-size: 0.92rem; align-items: flex-start; }
.footer-contact i { color: var(--gold); margin-top: 0.25rem; flex-shrink: 0; }

.footer-bottom {
  border-top: 1px solid rgba(255, 249, 245, 0.1);
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
}
.footer-bottom a:hover { color: var(--gold-light); }
.footer-bottom-links { display: flex; gap: 1.4rem; }

/* ---------- 20. Animations / Scroll Reveal ---------- */
@keyframes floatSlow {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(20px, -20px); }
}
@keyframes floatBadge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes heroZoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.08); }
}
@keyframes scrollWheel {
  0% { transform: translate(-50%, 0); opacity: 1; }
  100% { transform: translate(-50%, 12px); opacity: 0; }
}
@keyframes waPulse {
  0% { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(1.5); opacity: 0; }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* Reveal on scroll */
[data-reveal] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0s);
}
[data-reveal].revealed { opacity: 1; transform: translateY(0); }
[data-reveal="left"] { transform: translateX(-50px); }
[data-reveal="right"] { transform: translateX(50px); }
[data-reveal="left"].revealed, [data-reveal="right"].revealed { transform: translateX(0); }
[data-reveal="scale"] { transform: scale(0.92); }
[data-reveal="scale"].revealed { transform: scale(1); }
[data-reveal="fade"] { transform: none; }

/* ---------- Mobile: prevent horizontal overflow from scroll-reveal transforms ---------- */
/* On narrow screens, data-reveal="left"/"right" elements start with translateX(±50px)
   which causes the page to be wider than the viewport before the IntersectionObserver
   fires. Switch them to vertical-only movement so the page never overflows. */
@media (max-width: 900px) {
  [data-reveal="left"],
  [data-reveal="right"] {
    transform: translateY(40px) !important;
  }
  [data-reveal="left"].revealed,
  [data-reveal="right"].revealed {
    transform: translateY(0) !important;
  }
}

/* Safety net keyframes */
@keyframes safetyReveal {
  to { opacity: 1; transform: translateY(0) translateX(0) scale(1); }
}
@keyframes safetyRevealFade {
  to { opacity: 1; transform: translateY(0); }
}

/* Safety net: if JS fails or IntersectionObserver never fires, reveal everything
   after 2s so the page is never stuck with shifted/invisible elements.
   This uses !important to override the initial transform above. */
@media (max-width: 900px) {
  [data-reveal]:not(.revealed) {
    animation: safetyReveal 0.6s ease 2s forwards !important;
  }
  [data-stagger] > *:not(.revealed *) {
    /* Stagger children: ensure they're visible after safety delay */
    animation: safetyRevealFade 0.5s ease 2.2s forwards !important;
  }
}

/* Stagger children */
[data-stagger] > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
[data-stagger].revealed > * { opacity: 1; transform: translateY(0); }
[data-stagger].revealed > *:nth-child(1) { transition-delay: 0.05s; }
[data-stagger].revealed > *:nth-child(2) { transition-delay: 0.15s; }
[data-stagger].revealed > *:nth-child(3) { transition-delay: 0.25s; }
[data-stagger].revealed > *:nth-child(4) { transition-delay: 0.35s; }
[data-stagger].revealed > *:nth-child(5) { transition-delay: 0.45s; }
[data-stagger].revealed > *:nth-child(6) { transition-delay: 0.55s; }
[data-stagger].revealed > *:nth-child(7) { transition-delay: 0.65s; }
[data-stagger].revealed > *:nth-child(8) { transition-delay: 0.75s; }

/* Hero entrance animations (run on page load) */
.hero-anim {
  opacity: 0;
  animation: fadeInUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.hero-anim-1 { animation-delay: 0.15s; }
.hero-anim-2 { animation-delay: 0.35s; }
.hero-anim-3 { animation-delay: 0.55s; }
.hero-anim-4 { animation-delay: 0.75s; }
.hero-anim-5 { animation-delay: 0.95s; }

/* ---------- 21. Page Load Transition — Typography Preloader ---------- */
.page-loader {
  position: fixed;
  inset: 0;
  background: var(--brown-dark);
  z-index: 3000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  transition: opacity 0.6s ease, visibility 0.6s ease;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 50%, rgba(191, 155, 69, 0.08), transparent 65%),
    linear-gradient(135deg, #2D100E 0%, #1A0808 100%);
}
.page-loader::before {
  /* Top drifting orb */
  content: '';
  position: absolute;
  top: -15%; left: 50%;
  transform: translateX(-50%);
  width: 60vw; height: 60vw;
  max-width: 700px; max-height: 700px;
  background: radial-gradient(circle, rgba(229, 199, 117, 0.10), transparent 60%);
  border-radius: 50%;
  animation: drift 12s ease-in-out infinite;
  pointer-events: none;
}
.page-loader.done { opacity: 0; visibility: hidden; }

/* Loader inner container */
.loader-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  padding: 0 1.5rem;
  text-align: center;
}

/* Top eyebrow — small label above the brand */
.loader-eyebrow {
  font-family: var(--font-condensed);
  font-size: 0.74rem;
  font-weight: 400;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold-light);
  line-height: 1.2;
  margin-bottom: 1.6rem;
  opacity: 0;
  animation: preFadeDown 0.6s ease 0.2s forwards;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}
.loader-eyebrow::before,
.loader-eyebrow::after {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--gold);
  display: inline-block;
  opacity: 0.6;
}

/* Brand name — big bold condensed with mask reveal */
.loader-brand {
  font-family: var(--font-condensed);
  font-size: clamp(2rem, 7vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.05;
  color: var(--cream);
  text-transform: uppercase;
  margin: 0;
  display: block;
  position: relative;
  overflow: hidden;
  padding: 0.05em 0;
}
/* Each word is wrapped in a span that slides up from below the mask */
.loader-brand .word {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
}
.loader-brand .word > span {
  display: inline-block;
  transform: translateY(110%);
  animation: wordSlideUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.loader-brand .word:nth-child(1) > span { animation-delay: 0.4s; }
.loader-brand .word:nth-child(2) > span { animation-delay: 0.55s; }
.loader-brand .word:nth-child(3) > span { animation-delay: 0.7s; }
.loader-brand .word-sep {
  display: inline-block;
  width: 0.3em;
}

/* Decorative center divider — small diamond */
.loader-divider-diamond {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin: 1.4rem 0 1.1rem;
  opacity: 0;
  animation: preFadeIn 0.5s ease 1s forwards;
}
.loader-divider-diamond .line {
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
  animation: lineGrow 0.8s ease 1.1s forwards;
}
.loader-divider-diamond .line.right {
  background: linear-gradient(90deg, var(--gold), transparent);
}
.loader-divider-diamond .diamond {
  width: 8px; height: 8px;
  background: var(--gold);
  transform: rotate(45deg);
  box-shadow: 0 0 12px rgba(229, 199, 117, 0.7);
  animation: diamondPulse 2s ease-in-out infinite;
}

/* Tagline — regular weight description */
.loader-tagline {
  font-family: var(--font-condensed);
  font-size: clamp(0.85rem, 2vw, 1rem);
  font-weight: 400;
  letter-spacing: 0.28em;
  color: rgba(255, 249, 245, 0.78);
  text-transform: uppercase;
  line-height: 1.2;
  margin: 0;
  opacity: 0;
  animation: preFadeIn 0.6s ease 1.2s forwards;
}

/* Loading bar — thin, modern */
.loader-bar-wrap {
  margin-top: 2.6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  opacity: 0;
  animation: preFadeIn 0.5s ease 1.4s forwards;
}
.loader-bar {
  width: 200px;
  height: 1.5px;
  background: rgba(255, 249, 245, 0.12);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}
.loader-bar-fill {
  position: absolute;
  top: 0; left: 0;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--gold-light), var(--gold), var(--gold-shimmer));
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(229, 199, 117, 0.6);
  animation: barFill 2s ease-out 0.5s forwards;
}
.loader-bar-percent {
  font-family: var(--font-condensed);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: rgba(255, 249, 245, 0.5);
  text-transform: uppercase;
  line-height: 1.2;
}
.loader-bar-percent .num {
  font-weight: 700;
  color: var(--gold-light);
  font-variant-numeric: tabular-nums;
}

/* Keyframes */
@keyframes preFadeDown {
  0% { opacity: 0; transform: translateY(-12px); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes preFadeIn {
  0% { opacity: 0; transform: translateY(8px); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes wordSlideUp {
  0% { transform: translateY(110%); }
  100% { transform: translateY(0); }
}
@keyframes lineGrow {
  0% { width: 0; }
  100% { width: 60px; }
}
@keyframes diamondPulse {
  0%, 100% { transform: rotate(45deg) scale(1); box-shadow: 0 0 12px rgba(229, 199, 117, 0.7); }
  50% { transform: rotate(45deg) scale(1.25); box-shadow: 0 0 20px rgba(229, 199, 117, 1); }
}
@keyframes barFill {
  0% { width: 0; }
  60% { width: 78%; }
  100% { width: 100%; }
}
@keyframes drift {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(30px); }
}

/* Fallback: hide preloader after 3.2s max in case JS doesn't fire */
@keyframes loaderMaxWait {
  0%, 88% { opacity: 1; visibility: visible; }
  100% { opacity: 0; visibility: hidden; }
}
.page-loader:not(.done) { animation: loaderMaxWait 3.2s linear forwards; }

/* ---------- 21b. Header brand logo (image-based) ---------- */
.brand-logo {
  width: auto;
  height: 46px;
  border-radius: 4px;
  transition: transform var(--t-base);
}
.brand:hover .brand-logo { transform: scale(1.04); }
.site-footer .brand-logo { height: 56px; filter: brightness(1.05); }

/* ---------- 22. Misc Utilities ---------- */
.divider-gold {
  width: 80px; height: 2px;
  background: linear-gradient(90deg, var(--gold-light), var(--gold));
  margin: 1rem 0;
  border: 0;
}
.divider-gold.center { margin-left: auto; margin-right: auto; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-pill);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.badge-gold { background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: var(--brown-dark); }
.badge-burgundy { background: var(--burgundy); color: var(--cream); }

.section-divider {
  height: 60px;
  background: linear-gradient(180deg, transparent, var(--beige));
  margin-top: -1px;
}

.note-card {
  background: var(--white);
  border-left: 4px solid var(--gold);
  padding: 1.4rem 1.6rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}
.note-card h4 { margin-bottom: 0.4rem; }
.note-card p { margin: 0; font-size: 0.92rem; color: var(--gray-500); }

/* ---------- 23. Responsive ---------- */
@media (max-width: 1100px) {
  :root { --header-h: 76px; }
  .nav-link { padding: 0.55rem 0.75rem; font-size: 0.88rem; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: span 3; }
}

@media (max-width: 900px) {
  .nav, .header-cta .btn { display: none; }
  .nav-toggle { display: flex; }
  .hero .container { grid-template-columns: 1fr; }
  .hero-visual { max-width: 460px; margin: 0 auto; order: -1; }
  .hero-badge.top-left { left: 0; }
  .hero-badge.bottom-right { right: 0; }
  .academy-hero .container { grid-template-columns: 1fr; }
  .academy-hero-image { max-width: 560px; margin: 0 auto; }
  .two-col { grid-template-columns: 1fr; }
  .services-grid, .courses-grid, .portfolio-grid, .gallery-grid, .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .stat-card + .stat-card::before { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .about-list { grid-template-columns: 1fr; }
  .portfolio-item.tall, .portfolio-item.wide { grid-row: span 1; grid-column: span 1; aspect-ratio: 1; }
}

@media (max-width: 600px) {
  :root { --header-h: 70px; }
  .container { padding: 0 1.1rem; }
  .section { padding: 3rem 0; }
  .hero { min-height: auto; padding-top: calc(var(--header-h) + 2rem); padding-bottom: 3rem; }
  .hero-badge { padding: 0.7rem 0.9rem; gap: 0.5rem; }
  .hero-badge .icon { width: 36px; height: 36px; font-size: 1rem; }
  .hero-badge .title { font-size: 0.95rem; }
  .hero-badge .sub { font-size: 0.7rem; }
  .hero-badge.top-left { top: 1rem; left: 0.5rem; }
  .hero-badge.bottom-right { bottom: 1rem; right: 0.5rem; }
  .hero-trust { gap: 1rem; }
  .hero-trust-divider { display: none; }
  .services-grid, .courses-grid, .portfolio-grid, .gallery-grid, .benefits-grid, .features-grid, .stats-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-brand { grid-column: span 1; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .testimonial-card { flex: 0 0 88%; max-width: 88%; }
  .cta-band { padding: 2.2rem 1.4rem; }
  .btn { padding: 0.85rem 1.6rem; font-size: 0.85rem; }
  .btn-lg { padding: 1rem 1.8rem; }
  .about-experience { right: 0; bottom: -1rem; padding: 1rem 1.2rem; }
  .about-experience .num { font-size: 1.8rem; }
  .float-wa { width: 54px; height: 54px; font-size: 1.6rem; bottom: 1rem; right: 1rem; }
  .back-to-top { width: 42px; height: 42px; bottom: 1rem; left: 1rem; }
  .lightbox-close, .lightbox-prev, .lightbox-next { width: 42px; height: 42px; font-size: 1rem; }
  .lightbox-prev, .lightbox-next { top: auto; bottom: 1.5rem; transform: none; }
  .lightbox-prev { left: 1rem; }
  .lightbox-next { right: 1rem; }
  .lightbox-prev:hover, .lightbox-next:hover { transform: scale(1.08); }
  .page-hero { padding: calc(var(--header-h) + 3rem) 0 2.5rem; }
  .breadcrumbs { flex-wrap: wrap; justify-content: center; }
}

@media (max-width: 380px) {
  .brand-name { font-size: 1.05rem; }
  .brand-tag { font-size: 0.7rem; }
  .brand-logo { width: 38px; height: 38px; }
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.7rem; }
}

/* ---------- 24. Print ---------- */
@media print {
  .site-header, .float-wa, .back-to-top, .mobile-nav, .overlay, .page-loader { display: none !important; }
  body { background: #fff; }
}
