/*
 * ============================================================
 *  VARENYA YOGAPEETH — Global Stylesheet v2
 *  Link: <link rel="stylesheet" href="varenya-global.css" />
 *  Fonts: <link href="https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Jost:wght@300;400;500;600&display=swap" rel="stylesheet"/>
 * ============================================================
 */

/* ============================================================
   1. DESIGN TOKENS
   ============================================================ */
:root {
  --cream:        #f7f2eb;
  --warm-white:   #fdfaf5;
  --earth:        #8b6c47;
  --earth-light:  #b08d62;
  --earth-dark:   #5c4530;
  --sage:         #6b7c5c;
  --sage-light:   #c8d5b9;
  --rust:         #c4693a;
  --rust-light:   #e8956a;
  --charcoal:     #2c2418;
  --text-muted:   #6b5e4e;
  --border:       rgba(139,108,71,0.2);
  --border-solid: #ddd0c0;

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans:  'Jost', system-ui, sans-serif;

  --container-max: 1200px;

  --r-sm:   4px;
  --r-md:   6px;
  --r-lg:   8px;
  --r-pill: 20px;

  --shadow-sm:    0 4px 20px rgba(0,0,0,.07);
  --shadow-md:    0 8px 30px rgba(0,0,0,.12);
  --shadow-lg:    0 20px 60px rgba(0,0,0,.15);
  --shadow-earth: 0 8px 32px rgba(139,108,71,.1);
}

/* ============================================================
   2. RESET & BASE
   ============================================================ */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; font-size:16px; }
body {
  font-family: var(--font-sans);
  background: var(--warm-white);
  color: var(--charcoal);
  overflow-x: hidden;
  line-height: 1.6;
}
img  { max-width:100%; display:block; }
a    { color:inherit; text-decoration:none; }
ul   { list-style:none; }
button { font-family: var(--font-sans); cursor:pointer; }

/* ============================================================
   3. TYPOGRAPHY
   ============================================================ */
h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-serif);
  font-weight: 400;
  color: var(--earth-dark);
  line-height: 1.2;
}
h1 { font-size: clamp(2.6rem,5.5vw,5rem);   font-weight:300; }
h2 { font-size: clamp(1.9rem,3.8vw,2.9rem); }
h3 { font-size: 1.55rem; font-weight:600; }
h4 { font-size: 1.15rem; font-weight:600; }
p  { font-size:1rem; color:var(--text-muted); line-height:1.8; font-weight:300; }
em { font-style:italic; }

.section-label {
  display:block;
  font-size:0.72rem;
  letter-spacing:.2em;
  text-transform:uppercase;
  color:var(--rust);
  font-weight:600;
  margin-bottom:12px;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem,3.8vw,2.9rem);
  font-weight:400;
  color:var(--earth-dark);
  line-height:1.2;
  margin-bottom:18px;
}
.section-title em { font-style:italic; color:var(--earth); }
.section-body {
  font-size:1rem;
  color:var(--text-muted);
  line-height:1.85;
  font-weight:300;
  max-width:620px;
}
.divider-leaf {
  display:flex; align-items:center; gap:16px; margin:16px 0 28px;
}
.divider-leaf span { flex:1; height:1px; background:var(--border); max-width:80px; }
.divider-leaf em   { color:var(--earth-light); font-size:1.1rem; font-style:normal; }

/* ============================================================
   4. LAYOUT
   ============================================================ */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}
section { padding: 88px 0; }

/* Backgrounds */
.bg-cream      { background: var(--cream); }
.bg-warm-white { background: var(--warm-white); }
.bg-earth-dark { background: var(--earth-dark); }
.bg-charcoal   { background: var(--charcoal); }

/* Section intro (centered heading block) */
.section-intro { text-align:center; max-width:620px; margin:0 auto; }
.section-intro p { font-size:.95rem; color:var(--text-muted); line-height:1.8; margin-top:10px; }

/* Two-col grid utility */
.grid-2 { display:grid; grid-template-columns:1fr 1fr; gap:64px; align-items:center; }
.grid-3 { display:grid; grid-template-columns:repeat(3,1fr); gap:28px; }
.grid-4 { display:grid; grid-template-columns:repeat(4,1fr); gap:24px; }
.grid-auto-260 { display:grid; grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); gap:24px; }
.grid-auto-280 { display:grid; grid-template-columns:repeat(auto-fit,minmax(280px,1fr)); gap:24px; }
.grid-auto-300 { display:grid; grid-template-columns:repeat(auto-fit,minmax(300px,1fr)); gap:28px; }
.grid-auto-240 { display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:28px; }
.grid-auto-200 { display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); gap:20px; }

/* ============================================================
   5. BUTTONS
   ============================================================ */
.btn-primary {
  display:inline-block;
  background:var(--rust); color:white;
  padding:13px 30px;
  border-radius:var(--r-md);
  font-size:.88rem; font-weight:600;
  letter-spacing:.08em; text-transform:uppercase;
  border:none; cursor:pointer;
  transition:background .25s, transform .2s;
}
.btn-primary:hover { background:#b05a2e; transform:translateY(-2px); }

.btn-outline {
  display:inline-block;
  background:transparent; color:white;
  padding:13px 30px; border-radius:var(--r-md);
  font-size:.88rem; font-weight:500; letter-spacing:.06em;
  border:1px solid rgba(255,255,255,.4);
  cursor:pointer; transition:background .25s, border-color .25s;
}
.btn-outline:hover { background:rgba(255,255,255,.1); border-color:rgba(255,255,255,.7); }

.btn-outline-dark {
  display:inline-block;
  background:transparent; color:var(--earth-dark);
  padding:12px 28px; border-radius:var(--r-md);
  font-size:.88rem; font-weight:500; letter-spacing:.06em;
  border:1px solid var(--border);
  cursor:pointer; transition:background .25s, border-color .25s, color .25s;
}
.btn-outline-dark:hover { background:var(--earth); border-color:var(--earth); color:white; }

.btn-course {
  display:block; text-align:center;
  background:var(--earth-dark); color:white;
  padding:11px 0; border-radius:var(--r-sm);
  font-size:.82rem; font-weight:600;
  letter-spacing:.08em; text-transform:uppercase;
  border:none; transition:background .2s;
}
.btn-course:hover { background:var(--rust); }

.btn-nav {
  background:var(--rust) !important;
  color:white !important;
  padding:9px 20px !important;
  border-radius:var(--r-md) !important;
  font-weight:600 !important; letter-spacing:.06em;
  transition:background .2s !important;
}
.btn-nav:hover { background:var(--earth-dark) !important; }

/* Button groups */
.btn-group { display:flex; gap:14px; flex-wrap:wrap; }
.btn-group.center { justify-content:center; }

/* ============================================================
   6. TOP BAR
   ============================================================ */
.topbar {
  background:var(--earth-dark);
  color:rgba(255,255,255,.85);
  font-size:.78rem; letter-spacing:.04em;
  padding:7px 0;
}
.topbar-inner {
  max-width:var(--container-max); margin:0 auto; padding:0 24px;
  display:flex; justify-content:space-between; align-items:center;
  flex-wrap:wrap; gap:6px;
}
.topbar a { color:var(--rust-light); }
.topbar a:hover { color:white; }
.topbar-right { display:flex; gap:20px; }

/* ============================================================
   7. NAVIGATION
   ============================================================ */
nav#main-nav {
  background:var(--warm-white);
  position:sticky; top:0; z-index:1000;
  border-bottom:1px solid var(--border);
  box-shadow:0 2px 20px rgba(0,0,0,.06);
  transition:box-shadow .3s;
}
nav#main-nav.nav-scrolled {
  box-shadow:0 4px 28px rgba(0,0,0,.1);
}
.nav-inner {
  max-width:var(--container-max); margin:0 auto; padding:0 24px;
  display:flex; justify-content:space-between; align-items:center;
  height:72px;
}

/* Logo */
.logo { display:flex; align-items:center; gap:12px; }
.logo-img {
  height:48px; width:auto; object-fit:contain;
  filter:drop-shadow(0 1px 2px rgba(0,0,0,.08));
}
.footer-logo { height:42px; }
.logo-symbol {
  width:44px; height:44px;
  background:var(--earth); border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  font-size:1.3rem; color:var(--cream);
  font-family:var(--font-serif); font-style:italic; flex-shrink:0;
}
.logo-text { line-height:1.2; }
.logo-text-main { display:block; }
.logo-name {
  font-family:var(--font-serif); font-size:1.2rem;
  font-weight:600; color:var(--earth-dark); letter-spacing:.02em;
}
.logo-sub {
  font-size:.62rem; color:var(--text-muted);
  letter-spacing:.15em; text-transform:uppercase;
}

/* Desktop nav links */
.nav-links { display:flex; list-style:none; gap:2px; align-items:center; }
.nav-links > li { position:relative; }
.nav-links > li > a {
  display:block;
  font-size:.84rem; font-weight:500; letter-spacing:.04em;
  color:var(--charcoal); padding:8px 13px; border-radius:var(--r-sm);
  transition:background .2s, color .2s;
}
.nav-links > li > a:hover,
.nav-links > li > a.nav-active { background:var(--cream); color:var(--earth); }
.nav-chevron { font-size:.7rem; opacity:.6; }

/* Dropdown */
.nav-links > li.has-dropdown:hover > .dropdown { display:block; }
.dropdown {
  display:none; position:absolute;
  top:calc(100% + 4px); left:0;
  background:white; border:1px solid var(--border);
  border-radius:var(--r-lg); min-width:220px;
  box-shadow:var(--shadow-md); padding:8px 0; z-index:999;
}
.dropdown a {
  display:block; padding:10px 20px;
  font-size:.82rem; color:var(--charcoal);
  transition:background .2s, color .2s;
}
.dropdown a:hover, .dropdown a.active { background:var(--cream); color:var(--earth); }

/* Hamburger */
.hamburger {
  display:none; background:none; border:none;
  flex-direction:column; gap:5px; padding:4px;
}
.hamburger span {
  display:block; width:24px; height:2px;
  background:var(--charcoal); border-radius:2px; transition:all .3s;
}

/* Mobile full-screen menu */
.mobile-menu {
  display:none; position:fixed; inset:0;
  background:rgba(44,36,24,.97); z-index:2000;
  flex-direction:column; align-items:center; justify-content:center; gap:24px;
}
.mobile-menu.open { display:flex; }
.mobile-menu a {
  font-family:var(--font-serif); font-size:1.9rem;
  color:white; font-style:italic; transition:color .2s;
}
.mobile-menu a:hover { color:var(--rust-light); }
.mobile-menu .btn-primary { font-family:var(--font-sans); font-style:normal; font-size:.88rem; }
.mobile-close {
  position:absolute; top:22px; right:22px;
  background:none; border:none; color:white; font-size:1.8rem;
}

/* ============================================================
   8. PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  position:relative;
  height:44vh; min-height:320px;
  display:flex; align-items:center;
  background:var(--earth-dark); overflow:hidden;
}
.page-hero-bg {
  position:absolute; inset:0;
  background-size:cover; background-position:center;
}
.page-hero-bg::after {
  content:'';
  position:absolute; inset:0;
  background:linear-gradient(to right, rgba(44,36,24,.8) 0%, rgba(44,36,24,.45) 100%);
}
.page-hero-content {
  position:relative; z-index:2;
  padding:0 24px; color:white;
  max-width:var(--container-max); margin:0 auto; width:100%;
}
.page-hero-content .section-label { color:var(--rust-light); }
.page-hero-content h1 {
  color:white; font-size:clamp(2rem,4.5vw,3.8rem); font-weight:300; margin-bottom:12px;
}
.page-hero-content h1 em { color:var(--rust-light); font-style:italic; }
.page-hero-content p { color:rgba(255,255,255,.75); max-width:500px; }

/* Breadcrumb */
.breadcrumb {
  display:flex; align-items:center; gap:8px;
  font-size:.75rem; color:rgba(255,255,255,.5);
  letter-spacing:.06em; margin-bottom:14px;
}
.breadcrumb a { color:rgba(255,255,255,.7); }
.breadcrumb a:hover { color:var(--rust-light); }
.breadcrumb-sep { opacity:.4; }

/* ============================================================
   9. HOMEPAGE HERO (full viewport)
   ============================================================ */
.hero {
  position:relative; height:100vh; min-height:600px;
  display:flex; align-items:center; justify-content:center;
  overflow:hidden; background:var(--earth-dark);
}
.hero-bg {
  position:absolute; inset:0;
  background-size:cover; background-position:center;
}
.hero-bg::after {
  content:'';
  position:absolute; inset:0;
  background:linear-gradient(to bottom,rgba(44,36,24,.55) 0%,rgba(44,36,24,.28) 50%,rgba(44,36,24,.75) 100%);
}
.hero-content {
  position:relative; z-index:2; text-align:center; color:white;
  padding:0 24px; max-width:840px;
}
.hero-badge {
  display:inline-flex; align-items:center; gap:8px;
  background:rgba(255,255,255,.1); border:1px solid rgba(255,255,255,.25);
  color:var(--sage-light); font-size:.72rem; letter-spacing:.18em;
  text-transform:uppercase; padding:7px 18px; border-radius:var(--r-pill);
  margin-bottom:22px; backdrop-filter:blur(8px);
  animation:fadeUp .8s ease both;
}
.hero-sanskrit {
  font-family:var(--font-serif); font-style:italic;
  font-size:1.05rem; color:rgba(255,255,255,.6);
  letter-spacing:.05em; margin-bottom:14px;
  animation:fadeUp .9s ease .1s both;
}
.hero h1 {
  color:white; font-size:clamp(2.8rem,6vw,5.5rem);
  font-weight:300; line-height:1.1; letter-spacing:-.01em;
  margin-bottom:18px; animation:fadeUp 1s ease .2s both;
}
.hero h1 em { font-style:italic; color:var(--rust-light); }
.hero > .hero-content > p {
  font-size:1.05rem; color:rgba(255,255,255,.8);
  max-width:540px; margin:0 auto 32px;
  animation:fadeUp 1s ease .3s both;
}
.hero-ctas { display:flex; gap:14px; justify-content:center; flex-wrap:wrap; animation:fadeUp 1s ease .4s both; }
.hero-scroll {
  position:absolute; bottom:32px; left:50%; transform:translateX(-50%);
  display:flex; flex-direction:column; align-items:center; gap:8px;
  color:rgba(255,255,255,.45); font-size:.7rem; letter-spacing:.12em; text-transform:uppercase;
  animation:fadeUp 1s ease .6s both;
}
.scroll-line {
  width:1px; height:38px;
  background:linear-gradient(to bottom,rgba(255,255,255,.5),transparent);
  animation:scrollPulse 2s ease infinite;
}

/* ============================================================
   10. TRUST STRIP
   ============================================================ */
.trust-strip { background:var(--earth); padding:18px 0; }
.trust-inner {
  max-width:var(--container-max); margin:0 auto; padding:0 24px;
  display:flex; justify-content:center; align-items:center; gap:44px; flex-wrap:wrap;
}
.trust-item { display:flex; align-items:center; gap:8px; color:rgba(255,255,255,.9); }
.trust-num  { font-family:var(--font-serif); font-size:1.55rem; font-weight:600; color:white; line-height:1; }
.trust-lbl  { font-size:.72rem; letter-spacing:.08em; text-transform:uppercase; color:rgba(255,255,255,.6); }
.trust-divider { width:1px; height:34px; background:rgba(255,255,255,.2); }

/* ============================================================
   11. ABOUT IMAGE BLOCK
   ============================================================ */
.about-images { position:relative; height:500px; }
.about-img-main {
  position:absolute; top:0; left:0;
  width:72%; height:80%; object-fit:cover;
  border-radius:var(--r-sm); box-shadow:var(--shadow-lg);
}
.about-img-accent {
  position:absolute; bottom:0; right:0;
  width:50%; height:52%; object-fit:cover;
  border-radius:var(--r-sm);
  box-shadow:0 12px 40px rgba(0,0,0,.18);
  border:4px solid var(--warm-white);
}
.about-badge-float {
  position:absolute; bottom:85px; left:-18px;
  background:var(--earth); color:white; border-radius:var(--r-lg);
  padding:14px 18px; box-shadow:0 8px 24px rgba(0,0,0,.2);
  text-align:center; min-width:106px; z-index:3;
}
.about-badge-float .num {
  font-family:var(--font-serif); font-size:2rem; font-weight:600;
  line-height:1; color:var(--rust-light);
}
.about-badge-float .lbl { font-size:.67rem; letter-spacing:.06em; opacity:.85; margin-top:4px; }
.about-features { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin-top:28px; }
.about-feat {
  display:flex; align-items:flex-start; gap:9px;
  font-size:.87rem; color:var(--text-muted); line-height:1.5;
}
.about-feat::before { content:'✦'; color:var(--earth); flex-shrink:0; font-size:.68rem; margin-top:3px; }

/* ============================================================
   12. OFFERING / TOPIC TAGS
   ============================================================ */
.offerings-wrap { display:flex; flex-wrap:wrap; gap:10px; margin-top:24px; }
.offering-tag {
  background:var(--cream); border:1px solid var(--border);
  color:var(--earth-dark); padding:7px 17px; border-radius:var(--r-pill);
  font-size:.82rem; font-weight:500; letter-spacing:.03em;
  transition:background .2s, color .2s;
}
.offering-tag:hover { background:var(--earth); color:white; border-color:var(--earth); }

/* ============================================================
   13. COURSE / RETREAT CARDS
   ============================================================ */
.course-card {
  background:white; border-radius:var(--r-lg);
  overflow:hidden; box-shadow:var(--shadow-sm);
  transition:transform .3s, box-shadow .3s;
}
.course-card:hover { transform:translateY(-6px); box-shadow:0 16px 40px rgba(0,0,0,.12); }
.course-img { width:100%; height:200px; object-fit:cover; display:block; }
.course-img-placeholder {
  width:100%; height:200px;
  display:flex; align-items:center; justify-content:center; font-size:3rem;
}
.course-body { padding:24px; }
.course-duration {
  font-size:.72rem; letter-spacing:.14em; text-transform:uppercase;
  color:var(--rust); font-weight:600; margin-bottom:7px;
}
.course-title { font-family:var(--font-serif); font-size:1.4rem; color:var(--earth-dark); margin-bottom:10px; font-weight:600; }
.course-meta  { display:flex; flex-direction:column; gap:5px; margin-bottom:16px; }
.course-meta span { font-size:.8rem; color:var(--text-muted); display:flex; align-items:center; gap:6px; }
.course-price { font-family:var(--font-serif); font-size:1.55rem; font-weight:600; color:var(--earth); margin-bottom:14px; }
.course-price sub { font-size:.88rem; font-weight:400; }

/* ============================================================
   14. FEATURE CARDS
   ============================================================ */
.feature-card {
  padding:30px 26px; border:1px solid var(--border);
  border-radius:var(--r-lg); background:white;
  transition:border-color .3s, box-shadow .3s;
}
.feature-card:hover { border-color:var(--earth); box-shadow:var(--shadow-earth); }
.feature-icon {
  width:50px; height:50px; background:var(--cream); border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  font-size:1.4rem; margin-bottom:18px;
}
.feature-title { font-family:var(--font-serif); font-size:1.18rem; font-weight:600; color:var(--earth-dark); margin-bottom:9px; }
.feature-desc  { font-size:.87rem; color:var(--text-muted); line-height:1.7; font-weight:300; }

/* ============================================================
   15. TEACHER SECTION
   ============================================================ */
.teacher-card { display:flex; align-items:center; gap:56px; flex-wrap:wrap; }
.teacher-img-wrap { position:relative; flex-shrink:0; }
.teacher-img { width:290px; height:350px; object-fit:cover; border-radius:var(--r-md); display:block; }
.teacher-badge {
  position:absolute; bottom:-14px; right:-14px;
  background:var(--rust); color:white;
  padding:11px 15px; border-radius:var(--r-md);
  font-size:.74rem; letter-spacing:.05em; font-weight:500; text-align:center;
}
.teacher-content { color:white; max-width:500px; }
.teacher-content .section-label { color:var(--rust-light); }
.teacher-content .section-title { color:white; }
.teacher-name { font-family:var(--font-serif); font-size:2.1rem; font-weight:400; color:white; margin-bottom:4px; }
.teacher-role { font-size:.78rem; letter-spacing:.14em; text-transform:uppercase; color:var(--earth-light); margin-bottom:22px; }
.teacher-bio  { font-size:.97rem; color:rgba(255,255,255,.72); line-height:1.85; font-weight:300; }

/* Mini teacher cards (for listing pages) */
.teacher-mini-card { text-align:center; }
.teacher-mini-card img { width:100%; aspect-ratio:3/4; object-fit:cover; border-radius:var(--r-lg); margin-bottom:16px; }
.teacher-mini-name  { font-family:var(--font-serif); font-size:1.2rem; color:var(--earth-dark); font-weight:600; }
.teacher-mini-role  { font-size:.78rem; letter-spacing:.1em; text-transform:uppercase; color:var(--rust); margin-top:4px; }
.teacher-mini-bio   { font-size:.85rem; color:var(--text-muted); line-height:1.7; margin-top:10px; }

/* ============================================================
   16. TESTIMONIALS
   ============================================================ */
.testimonial-card {
  background:white; border-radius:var(--r-lg);
  padding:30px 26px; box-shadow:var(--shadow-sm);
}
.testimonial-quote { font-family:var(--font-serif); font-size:3.8rem; color:var(--earth-light); line-height:.8; margin-bottom:14px; opacity:.4; }
.testimonial-text  { font-size:.92rem; color:var(--text-muted); line-height:1.8; font-weight:300; margin-bottom:22px; font-style:italic; }
.testimonial-author { display:flex; align-items:center; gap:12px; }
.author-avatar {
  width:40px; height:40px; background:var(--earth); border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  color:white; font-family:var(--font-serif); font-size:1.1rem; font-weight:600; flex-shrink:0;
}
.author-name { font-size:.87rem; font-weight:600; color:var(--earth-dark); }
.author-loc  { font-size:.74rem; color:var(--text-muted); letter-spacing:.04em; }
.stars { color:#d4a017; font-size:.85rem; letter-spacing:2px; margin-top:3px; }
.review-platforms { display:flex; gap:18px; flex-wrap:wrap; margin-top:44px; align-items:center; }
.platform-badge {
  display:flex; align-items:center; gap:10px;
  padding:11px 18px; border:1px solid var(--border);
  border-radius:var(--r-md); background:white;
  font-size:.82rem; font-weight:500; color:var(--charcoal);
}
.platform-badge .rating { color:var(--earth); font-weight:700; font-size:.98rem; }

/* ============================================================
   17. CERT SECTION
   ============================================================ */
.cert-box {
  background:var(--cream); border:2px solid var(--border);
  border-radius:var(--r-lg); padding:38px; text-align:center; position:relative;
}
.cert-box::before {
  content:''; position:absolute; inset:8px;
  border:1px dashed var(--earth-light); border-radius:var(--r-sm);
  opacity:.4; pointer-events:none;
}
.cert-icon { font-size:2.8rem; margin-bottom:14px; }
.cert-box h3 { font-family:var(--font-serif); font-size:1.55rem; color:var(--earth-dark); margin-bottom:8px; }
.cert-box p  { font-size:.87rem; color:var(--text-muted); line-height:1.7; }
.cert-points { list-style:none; margin-top:26px; display:flex; flex-direction:column; gap:13px; }
.cert-points li { display:flex; align-items:flex-start; gap:11px; font-size:.91rem; color:var(--text-muted); line-height:1.6; }
.cert-points li .check {
  width:21px; height:21px; background:var(--sage); border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  color:white; font-size:.68rem; flex-shrink:0; margin-top:2px;
}

/* ============================================================
   18. WHO CAN JOIN
   ============================================================ */
.who-card {
  text-align:center; padding:30px 18px; background:white;
  border-radius:var(--r-lg); border:1px solid var(--border);
  transition:transform .3s, border-color .3s;
}
.who-card:hover { transform:translateY(-4px); border-color:var(--earth); }
.who-icon { font-size:2.1rem; margin-bottom:12px; }
.who-card p { font-size:.88rem; color:var(--text-muted); line-height:1.6; }

/* ============================================================
   19. CTA BANNER
   ============================================================ */
.cta-banner {
  background:linear-gradient(135deg,var(--earth-dark) 0%,var(--earth) 100%);
  padding:80px 0; text-align:center;
}
.cta-banner h2 { font-family:var(--font-serif); font-size:clamp(1.9rem,3.8vw,3rem); color:white; font-weight:300; margin-bottom:14px; }
.cta-banner p  { color:rgba(255,255,255,.72); font-size:1rem; max-width:480px; margin:0 auto 32px; line-height:1.7; }
.cta-banner .btn-primary { background:var(--rust-light); color:var(--earth-dark); font-weight:700; }
.cta-banner .btn-primary:hover { background:white; transform:translateY(-2px); }

/* ============================================================
   20. GALLERY
   ============================================================ */
.gallery-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(260px,1fr)); gap:14px; }
.gallery-item { aspect-ratio:4/3; overflow:hidden; border-radius:var(--r-md); }
.gallery-item img { width:100%; height:100%; object-fit:cover; transition:transform .4s ease; }
.gallery-item:hover img { transform:scale(1.06); }

/* ============================================================
   21. CONTACT / FORMS
   ============================================================ */
.form-group { margin-bottom:20px; }
.form-label {
  display:block; font-size:.79rem; font-weight:600;
  letter-spacing:.08em; text-transform:uppercase;
  color:var(--earth-dark); margin-bottom:7px;
}
.form-input, .form-select, .form-textarea {
  width:100%; padding:12px 15px;
  border:1px solid var(--border); border-radius:var(--r-md);
  background:var(--warm-white); font-family:var(--font-sans);
  font-size:.92rem; color:var(--charcoal); outline:none;
  transition:border-color .2s, box-shadow .2s;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color:var(--earth); box-shadow:0 0 0 3px rgba(139,108,71,.1);
}
.form-textarea { resize:vertical; min-height:130px; }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:18px; }

/* Sidebar card */
.sidebar-card {
  background:white; border:1px solid var(--border);
  border-radius:var(--r-lg); padding:26px; box-shadow:var(--shadow-sm);
}
.sidebar-price { font-family:var(--font-serif); font-size:1.9rem; font-weight:600; color:var(--earth); margin-bottom:5px; }
.sidebar-price sub { font-size:.95rem; font-weight:400; }

/* Info table */
.info-table { width:100%; border-collapse:collapse; margin-top:22px; }
.info-table td {
  padding:11px 15px; font-size:.87rem;
  border-bottom:1px solid var(--border); vertical-align:top;
}
.info-table td:first-child { font-weight:600; color:var(--earth-dark); width:150px; background:var(--cream); }
.info-table td:last-child { color:var(--text-muted); }

/* FAQ */
.faq-item { border-bottom:1px solid var(--border); }
.faq-question {
  font-family:var(--font-serif); font-size:1.05rem; font-weight:600;
  color:var(--earth-dark); cursor:pointer;
  display:flex; justify-content:space-between; align-items:center; gap:12px;
  padding:18px 0;
}
.faq-question .faq-icon { color:var(--earth); font-size:1.1rem; transition:transform .3s; flex-shrink:0; }
.faq-item.open .faq-icon { transform:rotate(45deg); }
.faq-answer {
  font-size:.91rem; color:var(--text-muted); line-height:1.8; font-weight:300;
  padding-bottom:18px; display:none;
}
.faq-item.open .faq-answer { display:block; }

/* ============================================================
   22. FOOTER
   ============================================================ */
footer { background:var(--charcoal); color:rgba(255,255,255,.65); padding:60px 0 0; }
.footer-grid {
  display:grid; grid-template-columns:2fr 1fr 1fr 1fr;
  gap:44px; padding-bottom:44px;
  border-bottom:1px solid rgba(255,255,255,.08);
}
.footer-brand .logo-name { color:var(--cream); }
.footer-brand .logo-sub  { color:rgba(255,255,255,.3); }
.footer-about { font-size:.84rem; color:rgba(255,255,255,.5); line-height:1.8; margin-top:14px; max-width:255px; }
.footer-social { display:flex; gap:12px; margin-top:18px; }
.footer-social a {
  width:34px; height:34px; border-radius:50%;
  background:rgba(255,255,255,.07); border:1px solid rgba(255,255,255,.1);
  display:flex; align-items:center; justify-content:center;
  font-size:.88rem; color:rgba(255,255,255,.6);
  transition:background .2s, color .2s;
}
.footer-social a:hover { background:var(--rust); color:white; border-color:var(--rust); }
.footer-col h4 {
  font-size:.74rem; letter-spacing:.15em; text-transform:uppercase;
  color:var(--earth-light); margin-bottom:16px; font-weight:600;
}
.footer-col ul { display:flex; flex-direction:column; gap:9px; }
.footer-col ul li a { color:rgba(255,255,255,.5); font-size:.84rem; transition:color .2s; }
.footer-col ul li a:hover { color:var(--earth-light); }
.footer-contact-item { display:flex; align-items:flex-start; gap:9px; font-size:.84rem; color:rgba(255,255,255,.5); line-height:1.6; margin-bottom:10px; }
.footer-bottom {
  padding:20px 0; display:flex; justify-content:space-between; align-items:center;
  flex-wrap:wrap; gap:10px; font-size:.77rem; color:rgba(255,255,255,.28);
}
.footer-bottom a { color:var(--earth-light); }

/* ============================================================
   23. UTILITIES
   ============================================================ */
.mt-sm  { margin-top:12px; }
.mt-md  { margin-top:24px; }
.mt-lg  { margin-top:40px; }
.mt-xl  { margin-top:60px; }
.mb-md  { margin-bottom:24px; }
.mb-lg  { margin-bottom:40px; }
.fw-300 { font-weight:300; }
.fw-600 { font-weight:600; }
.text-rust { color:var(--rust); }
.text-earth { color:var(--earth); }
.text-muted { color:var(--text-muted); }
.d-none { display:none; }

/* Scroll reveal */
.reveal { opacity:0; transform:translateY(28px); transition:opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity:1; transform:translateY(0); }

/* ============================================================
   24. ANIMATIONS
   ============================================================ */
@keyframes fadeUp {
  from { opacity:0; transform:translateY(24px); }
  to   { opacity:1; transform:translateY(0); }
}
@keyframes scrollPulse {
  0%,100% { opacity:.5; transform:scaleY(1); }
  50%     { opacity:1;  transform:scaleY(1.1); }
}
@keyframes fadeIn {
  from { opacity:0; } to { opacity:1; }
}

/* ============================================================
   25. RESPONSIVE
   ============================================================ */
@media (max-width:1024px) {
  .grid-4 { grid-template-columns:repeat(2,1fr); }
  .grid-3 { grid-template-columns:repeat(2,1fr); }
}
@media (max-width:900px) {
  .grid-2      { grid-template-columns:1fr; gap:40px; }
  .about-images { height:320px; }
  .teacher-card { gap:30px; }
  .teacher-img  { width:100%; max-width:270px; }
  .footer-grid  { grid-template-columns:1fr 1fr; }
  .nav-links    { display:none; }
  .hamburger    { display:flex; }
  .form-row     { grid-template-columns:1fr; }
  .logo-text-main { display:none; }
}
@media (max-width:600px) {
  section        { padding:60px 0; }
  .footer-grid   { grid-template-columns:1fr; }
  .trust-inner   { gap:22px; }
  .trust-divider { display:none; }
  .hero-ctas, .btn-group { flex-direction:column; align-items:center; }
  .about-features { grid-template-columns:1fr; }
  .grid-3, .grid-4 { grid-template-columns:1fr; }
  .page-hero { height:36vh; min-height:260px; }
}
