/* =====================================================================
   CRESCENDO — Premium Multi-Page Music School Template
   Plain HTML5 + CSS3. No frameworks. Offline-ready (no external images).
   ---------------------------------------------------------------------
   REBRAND TIP: Change the look by editing the CSS variables in :root
   below. Swap --accent for your primary color, adjust --accent2 to
   match, and update --font-head / --font-body plus the Google Fonts
   <link> in each HTML file. Everything else cascades.
   ===================================================================== */

:root {
  /* --- Brand palette (edit these to rebrand) --- */
  --bg:       #f8f4ee;   /* warm page background                 */
  --ink:      #2a1f1a;   /* deep espresso (headings / text)      */
  --accent:   #7b2d3a;   /* deep wine (primary)                  */
  --accent-d: #5c1f29;   /* darker wine for hovers / gradients   */
  --accent-x: #3d141b;   /* deepest wine for dark sections       */
  --accent2:  #c79a4a;   /* refined gold (secondary highlight)   */
  --accent2-d:#a87f33;   /* darker gold                          */
  --muted:    #7a6f64;   /* muted text                           */
  --surface:  #fffdf8;   /* card / surface background            */
  --line:     #e8e0d4;   /* borders / dividers                   */

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

  /* --- Shape & motion --- */
  --radius:    18px;
  --radius-sm: 12px;
  --shadow:    0 10px 30px rgba(61, 20, 27, .08);
  --shadow-lg: 0 24px 60px rgba(61, 20, 27, .16);
  --ease:      .35s cubic-bezier(.4, 0, .2, 1);

  /* --- Layout --- */
  --maxw: 1180px;
  --gutter: 24px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.08;
  margin: 0 0 .4em;
  font-weight: 600;
  letter-spacing: -.005em;
}

h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.45rem; }

p { margin: 0 0 1rem; }

a { color: var(--accent); text-decoration: none; transition: color var(--ease); }
a:hover { color: var(--accent-d); }

img, svg { max-width: 100%; display: block; }

ul { margin: 0; padding: 0; list-style: none; }

/* ---------------------------------------------------------------------
   LAYOUT HELPERS
   --------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section { padding: 96px 0; }
.section--soft { background: var(--surface); }
.section--tight { padding: 64px 0; }

.section-head {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(123, 45, 58, .08);
  padding: 6px 15px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.lead { font-size: 1.14rem; color: var(--muted); line-height: 1.75; }

.muted { color: var(--muted); }

/* ---------------------------------------------------------------------
   BUTTONS
   --------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .96rem;
  padding: 14px 28px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform var(--ease), box-shadow var(--ease), background var(--ease), color var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 22px rgba(123, 45, 58, .3);
}
.btn-primary:hover { background: var(--accent-d); color: #fff; box-shadow: 0 12px 30px rgba(123, 45, 58, .42); }

.btn-gold {
  background: var(--accent2);
  color: var(--accent-x);
  box-shadow: 0 8px 22px rgba(199, 154, 74, .35);
}
.btn-gold:hover { background: var(--accent2-d); color: #fff; }

.btn-ghost {
  background: transparent;
  color: var(--accent);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

.btn-light {
  background: rgba(255,255,255,.12);
  color: #fff;
  border-color: rgba(255,255,255,.4);
}
.btn-light:hover { background: #fff; color: var(--accent); }

/* ---------------------------------------------------------------------
   HEADER / NAV  (shared, identical IDs on every page)
   --------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 244, 238, .9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--ink);
  letter-spacing: -.01em;
}
.brand:hover { color: var(--ink); }
.brand .logo-mark {
  width: 40px; height: 40px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--accent), var(--accent-x));
  display: grid; place-items: center;
  box-shadow: 0 6px 16px rgba(123, 45, 58, .35);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: .94rem;
  color: var(--ink);
  padding: 8px 15px;
  border-radius: 10px;
  transition: background var(--ease), color var(--ease);
}
.nav-links a:hover { background: rgba(123, 45, 58, .07); color: var(--accent); }
.nav-links a.active { color: var(--accent); font-weight: 600; }

.nav-cta { margin-left: 10px; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px; height: 46px;
  background: rgba(123, 45, 58, .07);
  border: none;
  border-radius: 11px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 20px; height: 2px;
  margin: 0 auto;
  background: var(--ink);
  border-radius: 2px;
  transition: transform var(--ease), opacity var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------------------------------------------------------------------
   HERO (home)
   --------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 520px at 88% -10%, rgba(199,154,74,.22), transparent 60%),
    radial-gradient(720px 520px at -5% 110%, rgba(123,45,58,.12), transparent 55%),
    linear-gradient(180deg, var(--bg) 0%, var(--surface) 100%);
  padding: 92px 0 100px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
}
.hero h1 { margin-bottom: 18px; }
.hero h1 span { color: var(--accent); font-style: italic; }
.hero .lead { max-width: 540px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 36px; }
.hero-meta {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
}
.hero-meta div strong {
  font-family: var(--font-head);
  font-size: 2.2rem;
  color: var(--accent);
  display: block;
  line-height: 1;
  font-weight: 700;
}
.hero-meta div span { font-size: .9rem; color: var(--muted); }

/* Hero visual — pure CSS/SVG musical mock */
.hero-visual {
  position: relative;
  background: linear-gradient(160deg, var(--accent-x), var(--accent));
  border-radius: 26px;
  padding: 30px;
  box-shadow: var(--shadow-lg);
  color: #fff;
  overflow: hidden;
}
.hero-visual::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(360px 280px at 85% 15%, rgba(199,154,74,.4), transparent 60%);
  pointer-events: none;
}
.hv-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; position: relative; z-index: 1; }
.hv-dot { display: flex; gap: 6px; }
.hv-dot i { width: 11px; height: 11px; border-radius: 50%; background: rgba(255,255,255,.35); }
.hv-tag { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.75); }
.hv-disc {
  position: relative; z-index: 1;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 18px;
  padding: 26px;
  margin-bottom: 16px;
  text-align: center;
}
.hv-disc .note {
  font-size: 3.4rem;
  line-height: 1;
  background: linear-gradient(120deg, #fff, var(--accent2));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hv-disc h4 { color: #fff; font-size: 1.5rem; margin: 14px 0 4px; }
.hv-disc p { color: rgba(255,255,255,.78); font-size: .9rem; margin: 0; }
/* Equalizer bars (animated) */
.hv-eq { display: flex; align-items: flex-end; gap: 7px; height: 64px; justify-content: center; margin-top: 18px; }
.hv-eq i {
  width: 9px;
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, var(--accent2), rgba(199,154,74,.4));
  animation: eq 1.1s ease-in-out infinite;
}
.hv-eq i:nth-child(1){ height: 30%; animation-delay: 0s; }
.hv-eq i:nth-child(2){ height: 70%; animation-delay: .15s; }
.hv-eq i:nth-child(3){ height: 45%; animation-delay: .3s; }
.hv-eq i:nth-child(4){ height: 90%; animation-delay: .45s; }
.hv-eq i:nth-child(5){ height: 55%; animation-delay: .6s; }
.hv-eq i:nth-child(6){ height: 78%; animation-delay: .75s; }
.hv-eq i:nth-child(7){ height: 38%; animation-delay: .9s; }
@keyframes eq { 0%,100% { transform: scaleY(.55); } 50% { transform: scaleY(1); } }
@media (prefers-reduced-motion: reduce){ .hv-eq i { animation: none; } }
.hv-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; position: relative; z-index: 1; }
.hv-stat { background: rgba(255,255,255,.08); border-radius: 14px; padding: 14px 16px; }
.hv-stat strong { font-family: var(--font-head); font-size: 1.7rem; display: block; line-height: 1.1; }
.hv-stat span { font-size: .76rem; color: rgba(255,255,255,.72); }

/* ---------------------------------------------------------------------
   STRIP (genres / trust)
   --------------------------------------------------------------------- */
.strip { padding: 40px 0; border-bottom: 1px solid var(--line); background: var(--surface); }
.strip p { text-align: center; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; }
.logo-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 16px 44px;
}
.logo-strip span {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.4rem;
  color: var(--muted);
  opacity: .7;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  transition: opacity var(--ease), color var(--ease);
}
.logo-strip span:hover { opacity: 1; color: var(--accent); }

/* ---------------------------------------------------------------------
   CARDS / GRIDS
   --------------------------------------------------------------------- */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(123,45,58,.25); }

.card .icon {
  width: 60px; height: 60px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(123,45,58,.1), rgba(199,154,74,.18));
  display: grid; place-items: center;
  font-size: 1.9rem;
  margin-bottom: 18px;
}
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); margin-bottom: 0; }

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .9rem;
}
.card-link span { transition: transform var(--ease); }
.card-link:hover span { transform: translateX(4px); }

/* Instrument tiles (home preview) */
.inst-tile {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 22px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}
.inst-tile:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(199,154,74,.45); }
.inst-tile .emoji {
  width: 72px; height: 72px; margin: 0 auto 16px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 2.2rem;
  background: linear-gradient(135deg, rgba(123,45,58,.1), rgba(199,154,74,.2));
}
.inst-tile h3 { font-size: 1.3rem; margin-bottom: 4px; }
.inst-tile p { color: var(--muted); font-size: .9rem; margin: 0; }

/* Feature list (why-us) */
.feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.feature .tick {
  flex: 0 0 auto;
  width: 42px; height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  display: grid; place-items: center;
  font-weight: 700;
  font-family: var(--font-head);
  font-size: 1.2rem;
  box-shadow: 0 6px 14px rgba(123,45,58,.3);
}
.feature h3 { font-size: 1.25rem; margin-bottom: 4px; }
.feature p { margin-bottom: 0; font-size: .98rem; color: var(--muted); }

/* Split section (visual block + content) */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split--reverse .split-media { order: 2; }
.split-media {
  border-radius: 24px;
  min-height: 400px;
  background: linear-gradient(150deg, var(--accent-x), var(--accent));
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  color: #fff;
  padding: 32px;
}
.split-media::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(420px 320px at 78% 22%, rgba(199,154,74,.4), transparent 60%);
}

/* ---------------------------------------------------------------------
   HOW IT WORKS — steps
   --------------------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow);
  position: relative;
}
.step .num {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.4rem;
  display: grid; place-items: center;
  margin-bottom: 18px;
}
.step h3 { font-size: 1.2rem; margin-bottom: 6px; }
.step p { margin-bottom: 0; font-size: .95rem; color: var(--muted); }

/* ---------------------------------------------------------------------
   STATS BAND
   --------------------------------------------------------------------- */
.stats-band {
  background:
    radial-gradient(600px 400px at 12% 10%, rgba(199,154,74,.2), transparent 60%),
    linear-gradient(135deg, var(--accent-x), var(--accent));
  color: #fff;
}
.stats-band .section-head h2 { color: #fff; }
.stats-band .section-head p { color: rgba(255,255,255,.8); }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; text-align: center; }
.stat-big strong {
  font-family: var(--font-head);
  font-size: clamp(2.6rem, 5vw, 3.6rem);
  display: block;
  line-height: 1;
  font-weight: 700;
  background: linear-gradient(120deg, #fff, var(--accent2));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat-big span { color: rgba(255,255,255,.82); font-size: .98rem; }

/* ---------------------------------------------------------------------
   TESTIMONIALS / RECITALS
   --------------------------------------------------------------------- */
.quote-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 34px;
  box-shadow: var(--shadow);
}
.quote-card .stars { color: var(--accent2); margin-bottom: 14px; letter-spacing: 2px; font-size: 1.05rem; }
.quote-card blockquote {
  margin: 0 0 22px;
  font-size: 1.3rem;
  color: var(--ink);
  font-family: var(--font-head);
  font-weight: 500;
  font-style: italic;
  line-height: 1.4;
}
.quote-author { display: flex; align-items: center; gap: 14px; }
.avatar {
  width: 50px; height: 50px;
  border-radius: 50%;
  display: grid; place-items: center;
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.2rem;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
}
.quote-author b { display: block; font-family: var(--font-head); color: var(--ink); font-size: 1.1rem; }
.quote-author span { font-size: .86rem; color: var(--muted); }

/* ---------------------------------------------------------------------
   CTA BAND
   --------------------------------------------------------------------- */
.cta-band {
  background:
    radial-gradient(600px 400px at 88% 12%, rgba(199,154,74,.3), transparent 60%),
    linear-gradient(135deg, var(--accent-x), var(--accent));
  color: #fff;
  border-radius: 30px;
  padding: 64px 48px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.88); max-width: 580px; margin: 0 auto 28px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------------------------------------------------------------------
   PAGE BANNER (inner pages)
   --------------------------------------------------------------------- */
.page-banner {
  background:
    radial-gradient(700px 420px at 85% -20%, rgba(199,154,74,.22), transparent 60%),
    linear-gradient(180deg, var(--surface), var(--bg));
  padding: 72px 0 60px;
  border-bottom: 1px solid var(--line);
}
.page-banner h1 { margin-bottom: 12px; }
.page-banner p { max-width: 640px; color: var(--muted); margin-bottom: 0; font-size: 1.1rem; }
.breadcrumb {
  font-family: var(--font-body);
  font-size: .84rem;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 16px;
  letter-spacing: .02em;
}
.breadcrumb a { color: var(--accent); }
.breadcrumb span { margin: 0 8px; opacity: .6; }

/* ---------------------------------------------------------------------
   COURSES PAGE — filter + cards
   --------------------------------------------------------------------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 44px;
}
.filter-btn {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: .9rem;
  color: var(--ink);
  background: var(--surface);
  border: 1.5px solid var(--line);
  padding: 10px 20px;
  border-radius: 999px;
  cursor: pointer;
  transition: all var(--ease);
}
.filter-btn:hover { border-color: var(--accent); color: var(--accent); }
.filter-btn.active { background: var(--accent); border-color: var(--accent); color: #fff; }

.course-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
  display: flex;
  flex-direction: column;
}
.course-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(199,154,74,.45); }
.course-top {
  height: 150px;
  display: grid; place-items: center;
  font-size: 3.2rem;
  position: relative;
  background: linear-gradient(150deg, var(--accent-x), var(--accent));
  color: #fff;
}
.course-top::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(220px 160px at 80% 20%, rgba(199,154,74,.45), transparent 60%);
}
.course-top span { position: relative; z-index: 1; }
.course-body { padding: 26px; flex: 1; display: flex; flex-direction: column; }
.course-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.pill {
  font-size: .74rem;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--accent);
  background: rgba(123,45,58,.08);
  padding: 5px 12px;
  border-radius: 999px;
}
.pill.gold { color: var(--accent2-d); background: rgba(199,154,74,.16); }
.course-body h3 { margin-bottom: 8px; }
.course-body p { color: var(--muted); font-size: .95rem; margin-bottom: 16px; flex: 1; }
.course-foot {
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.course-foot .price { font-family: var(--font-head); font-weight: 700; font-size: 1.45rem; color: var(--ink); }
.course-foot .price small { font-size: .8rem; color: var(--muted); font-weight: 400; font-family: var(--font-body); }

/* ---------------------------------------------------------------------
   TEACHERS PAGE
   --------------------------------------------------------------------- */
.teacher-card { text-align: center; }
.teacher-card .avatar-lg {
  width: 120px; height: 120px;
  border-radius: 50%;
  margin: 0 auto 18px;
  display: grid; place-items: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 2.4rem;
  color: #fff;
  box-shadow: var(--shadow);
}
.av-1 { background: linear-gradient(135deg, var(--accent), var(--accent-x)); }
.av-2 { background: linear-gradient(135deg, var(--accent2), var(--accent2-d)); }
.av-3 { background: linear-gradient(135deg, #8a4453, var(--accent)); }
.av-4 { background: linear-gradient(135deg, #b07a3c, var(--accent2-d)); }
.av-5 { background: linear-gradient(135deg, var(--accent-x), #8a4453); }
.av-6 { background: linear-gradient(135deg, var(--accent2-d), #7b2d3a); }
.teacher-card h3 { font-size: 1.4rem; margin-bottom: 2px; }
.teacher-card .role { color: var(--accent); font-family: var(--font-body); font-weight: 600; font-size: .85rem; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 14px; }
.teacher-card p { font-size: .94rem; color: var(--muted); margin-bottom: 14px; }
.teacher-card .exp {
  display: inline-block;
  font-size: .8rem; font-weight: 600;
  color: var(--accent2-d);
  background: rgba(199,154,74,.14);
  padding: 5px 14px; border-radius: 999px;
}

/* ---------------------------------------------------------------------
   PRICING PAGE
   --------------------------------------------------------------------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: stretch; }
.price-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 38px 32px;
  box-shadow: var(--shadow);
  display: flex; flex-direction: column;
  transition: transform var(--ease), box-shadow var(--ease);
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.price-card.featured {
  background: linear-gradient(160deg, var(--accent-x), var(--accent));
  color: #fff;
  border-color: transparent;
  position: relative;
}
.price-card.featured h3, .price-card.featured .amount { color: #fff; }
.price-card.featured .price-desc, .price-card.featured .price-feat li { color: rgba(255,255,255,.85); }
.price-badge {
  position: absolute; top: 22px; right: 22px;
  font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  background: var(--accent2); color: var(--accent-x);
  padding: 5px 13px; border-radius: 999px;
}
.price-card h3 { font-size: 1.5rem; margin-bottom: 4px; }
.price-desc { font-size: .92rem; color: var(--muted); margin-bottom: 22px; }
.amount { font-family: var(--font-head); font-weight: 700; font-size: 3.2rem; color: var(--ink); line-height: 1; margin-bottom: 4px; }
.amount small { font-size: 1rem; color: var(--muted); font-weight: 400; font-family: var(--font-body); }
.price-card.featured .amount small { color: rgba(255,255,255,.78); }
.price-feat { margin: 24px 0 28px; display: grid; gap: 12px; }
.price-feat li { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; color: var(--ink); }
.price-feat li::before { content: "♪"; color: var(--accent2); font-weight: 700; flex: 0 0 auto; }
.price-card.featured .price-feat li::before { color: var(--accent2); }
.price-card .btn { margin-top: auto; width: 100%; justify-content: center; }

/* Comparison table */
.compare-wrap { overflow-x: auto; }
.compare {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  min-width: 560px;
}
.compare th, .compare td { padding: 16px 20px; text-align: center; border-bottom: 1px solid var(--line); }
.compare th { font-family: var(--font-head); font-size: 1.2rem; color: var(--ink); background: rgba(123,45,58,.05); }
.compare td:first-child, .compare th:first-child { text-align: left; font-weight: 500; }
.compare tr:last-child td { border-bottom: none; }
.compare .yes { color: var(--accent); font-weight: 700; }
.compare .no { color: var(--line); }

/* FAQ */
.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 24px 28px;
  margin-bottom: 14px;
}
.faq-item h3 { font-size: 1.25rem; margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.faq-item h3::before { content: "♬"; color: var(--accent2); }
.faq-item p { margin: 0; color: var(--muted); font-size: .97rem; }

/* ---------------------------------------------------------------------
   CONTACT
   --------------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 44px; align-items: start; }
.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 38px;
  box-shadow: var(--shadow);
}
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: .88rem;
  color: var(--ink);
  margin-bottom: 7px;
}
.field input, .field select, .field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  padding: 13px 15px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg);
  transition: border-color var(--ease), box-shadow var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(123,45,58,.12);
}
.field textarea { resize: vertical; min-height: 130px; }
.field .error-msg { color: #c0392b; font-size: .82rem; margin-top: 5px; display: none; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #c0392b; }
.field.invalid .error-msg { display: block; }
.form-note { font-size: .84rem; color: var(--muted); margin-top: 6px; }
.form-status {
  display: none;
  margin-top: 18px;
  padding: 15px 18px;
  border-radius: var(--radius-sm);
  background: rgba(199,154,74,.12);
  border: 1px solid var(--accent2);
  color: var(--accent-d);
  font-weight: 500;
}
.form-status.show { display: block; }

.info-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  margin-bottom: 22px;
}
.info-row { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 20px; }
.info-row:last-child { margin-bottom: 0; }
.info-row .info-ic {
  width: 46px; height: 46px; flex: 0 0 auto;
  border-radius: 12px; background: var(--surface);
  display: grid; place-items: center; font-size: 1.3rem;
  box-shadow: var(--shadow);
}
.info-row b { font-family: var(--font-head); color: var(--ink); display: block; font-size: 1.15rem; }
.info-row span { font-size: .94rem; color: var(--muted); }

/* Map placeholder */
.map-placeholder {
  border-radius: var(--radius);
  min-height: 260px;
  background:
    linear-gradient(rgba(123,45,58,.05), rgba(123,45,58,.05)),
    repeating-linear-gradient(0deg, var(--line) 0 1px, transparent 1px 42px),
    repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 42px),
    var(--bg);
  border: 1px solid var(--line);
  display: grid; place-items: center;
  text-align: center;
  color: var(--muted);
}
.map-placeholder .pin { font-size: 2.6rem; }
.map-placeholder b { font-family: var(--font-head); color: var(--ink); display: block; font-size: 1.15rem; }

/* ---------------------------------------------------------------------
   FOOTER (shared)
   --------------------------------------------------------------------- */
.site-footer {
  background: var(--accent-x);
  color: rgba(255,255,255,.78);
  padding: 66px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 44px;
}
.site-footer .brand { color: #fff; margin-bottom: 14px; }
.site-footer .brand:hover { color: #fff; }
.site-footer .brand .logo-mark { background: linear-gradient(135deg, var(--accent2), var(--accent2-d)); }
.footer-about p { font-size: .95rem; color: rgba(255,255,255,.72); max-width: 320px; }
.footer-col h4 {
  color: #fff; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
  font-family: var(--font-body); font-weight: 600;
  margin-bottom: 16px;
}
.footer-col a { display: block; color: rgba(255,255,255,.72); padding: 5px 0; font-size: .95rem; }
.footer-col a:hover { color: var(--accent2); }
.social { display: flex; gap: 10px; margin-top: 16px; }
.social a {
  width: 40px; height: 40px;
  border-radius: 11px;
  background: rgba(255,255,255,.1);
  display: grid; place-items: center;
  font-size: 1rem; color: #fff;
}
.social a:hover { background: var(--accent2); color: var(--accent-x); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .88rem;
  color: rgba(255,255,255,.62);
}
.footer-bottom a { color: rgba(255,255,255,.78); }

/* ---------------------------------------------------------------------
   SCROLL-REVEAL
   --------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.no-io .reveal { opacity: 1; transform: none; }

/* ---------------------------------------------------------------------
   RESPONSIVE
   --------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { max-width: 480px; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }

  /* Mobile nav */
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: 78px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 14px var(--gutter) 22px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--ease), transform var(--ease);
  }
  .nav-links.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 12px 14px; }
  .nav-cta { margin: 8px 0 0; }
  .nav-cta .btn { width: 100%; justify-content: center; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .price-grid { grid-template-columns: 1fr; }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .split--reverse .split-media { order: 0; }
  .stats-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .cta-band { padding: 48px 26px; }
}

@media (max-width: 480px) {
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-meta { gap: 24px; }
}
