/* ============================================================
   CAPEN MUSIC — Global Stylesheet
   Brand: Red #CC0000 / Black #1A1A1A / White base
   Fonts: Manrope (headings) | Sora (body)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Sora:wght@300;400;500;600;700&display=swap');

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

:root {
  --red:        #CC0000;
  --red-dark:   #A30000;
  --red-light:  #E00000;
  --black:      #1A1A1A;
  --gray-900:   #222222;
  --gray-700:   #444444;
  --gray-500:   #777777;
  --gray-300:   #BBBBBB;
  --gray-100:   #F5F5F5;
  --gray-50:    #FAFAFA;
  --white:      #FFFFFF;

  --font-h:     'Manrope', sans-serif;
  --font-b:     'Sora', sans-serif;

  --radius:     8px;
  --radius-lg:  16px;
  --radius-xl:  24px;
  --shadow-sm:  0 2px 8px rgba(0,0,0,0.08);
  --shadow:     0 4px 20px rgba(0,0,0,0.10);
  --shadow-lg:  0 12px 48px rgba(0,0,0,0.14);
  --transition: 0.25s ease;

  --container:  1200px;
  --section-py: 80px;
}

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

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

img { max-width: 100%; height: auto; display: block; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-h);
  font-weight: 700;
  line-height: 1.2;
  color: var(--black);
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.1rem; }
p  { color: var(--gray-700); margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ── Container ── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: var(--font-h);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.btn-primary:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(204,0,0,0.35);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--red);
}
.btn-outline-red {
  background: transparent;
  color: var(--red);
  border-color: var(--red);
}
.btn-outline-red:hover {
  background: var(--red);
  color: var(--white);
}
.btn-lg { padding: 18px 36px; font-size: 1.05rem; }
.btn-sm { padding: 10px 20px; font-size: 0.85rem; }

/* ── Split Hero ── */
.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100svh;
}
.hero-split-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 64px 80px;
  background: var(--gray-50);
}
.hero-split-content .eyebrow {
  display: inline-flex;
  align-items: center;
  background: var(--red);
  color: var(--white);
  padding: 6px 14px;
  border-radius: 4px;
  letter-spacing: 0.1em;
  margin-bottom: 28px;
}
.hero-split-content h1 {
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--black);
  margin-bottom: 20px;
}
.hero-split-content h1 em {
  font-style: italic;
  color: var(--red);
}
.hero-split-content p {
  font-size: 1.05rem;
  color: var(--gray-500);
  max-width: 400px;
  margin-bottom: 36px;
  line-height: 1.65;
}
.hero-split-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-split-photo {
  position: relative;
  overflow: hidden;
  background: var(--black);
}
.hero-split-photo .img-placeholder {
  position: absolute;
  inset: 0;
  min-height: unset;
  background: #111;
  color: rgba(255,255,255,0.3);
}
.hero-split-photo .img-placeholder .ph-icon { font-size: 3rem; }
.hero-split-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}
.hero-stat-badge {
  position: absolute;
  bottom: 32px;
  right: 32px;
  background: var(--red);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  text-align: center;
  font-family: var(--font-h);
}
.hero-stat-badge .num {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}
.hero-stat-badge .label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-top: 4px;
}

@media (max-width: 768px) {
  .hero-split { grid-template-columns: 1fr; min-height: unset; }
  .hero-split-content { padding: 100px 24px 48px; }
  .hero-split-photo { height: 260px; }
  .hero-stat-badge { bottom: 16px; right: 16px; padding: 14px 18px; }
  .hero-stat-badge .num { font-size: 1.5rem; }
}

/* ── Section Utilities ── */
.section { padding: var(--section-py) 0; }
.section-sm { padding: 48px 0; }
.section-lg { padding: 100px 0; }
.section-dark { background: var(--black); color: var(--white); }
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: var(--white); }
.section-dark p { color: var(--gray-300); }
.section-red  { background: var(--red); color: var(--white); }
.section-red  h1, .section-red h2, .section-red h3 { color: var(--white); }
.section-gray { background: var(--gray-100); }
.section-header { text-align: center; margin-bottom: 56px; }
.section-header p { font-size: 1.05rem; max-width: 600px; margin: 12px auto 0; }
.eyebrow {
  display: inline-block;
  font-family: var(--font-h);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
}
.section-dark .eyebrow { color: #ff6666; }
.section-red .eyebrow  { color: rgba(255,255,255,0.75); }

/* ── Grid Helpers ── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ── Card ── */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid var(--gray-200, #E8E8E8);
}
.card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}
.card-body { padding: 28px; }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--black);
  box-shadow: 0 2px 16px rgba(0,0,0,0.40);
  height: 68px;
  display: flex;
  align-items: center;
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.nav-logo {
  font-family: var(--font-h);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 0;
}
.logo-capen { color: var(--white); }
.logo-music { color: var(--red); }
.nav-logo-icon {
  width: 32px;
  height: 32px;
  background: var(--red);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  color: white;
  font-size: 1rem;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link {
  padding: 8px 14px;
  font-family: var(--font-h);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--white);
  border-radius: 6px;
  transition: var(--transition);
  position: relative;
}
.nav-link:hover, .nav-link.active { color: var(--red); }

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown-toggle { cursor: pointer; display: flex; align-items: center; gap: 4px; }
.dropdown-arrow { font-size: 0.7rem; transition: transform var(--transition); }
.nav-dropdown:hover .dropdown-arrow { transform: rotate(180deg); }
.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 12px;
  min-width: 240px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  border: 1px solid var(--gray-100);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}
.nav-dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; }
.dropdown-menu a {
  display: block;
  padding: 8px 12px;
  font-family: var(--font-h);
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--black);
  border-radius: 6px;
  transition: var(--transition);
}
.dropdown-menu a:hover { background: var(--gray-100); color: var(--red); }

/* Nav logo image */
.nav-logo-img {
  height: 32px;
  width: auto;
  display: block;
}

/* Site icons — hide broken-image indicator if SVG not yet placed */
.site-icon {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}
.site-icon[src$=".svg"]:not([src=""]) {
  /* normal state — no extra rules needed */
}
img.site-icon:-moz-broken { visibility: hidden; }
img.site-icon:not([src]):not([src=""]) { visibility: hidden; }
.nav-cta { margin-left: 8px; padding: 10px 20px; }

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Offset for fixed nav */
.nav-offset { padding-top: 68px; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--black);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('../images/hero-bg.jpg') center/cover no-repeat;
  opacity: 0.35;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
}
.hero-content h1 { color: var(--white); margin-bottom: 20px; }
.hero-content p { color: rgba(255,255,255,0.8); font-size: 1.15rem; margin-bottom: 36px; max-width: 520px; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.15);
  flex-wrap: wrap;
}
.hero-stat .num {
  font-family: var(--font-h);
  font-size: 2rem;
  font-weight: 800;
  color: var(--red);
  display: block;
}
.hero-stat .label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  font-weight: 500;
  letter-spacing: 0.05em;
}

/* Page hero (inner pages) */
.page-hero {
  background: var(--black);
  padding: 80px 0 64px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--red);
}
.page-hero h1 { color: var(--white); margin-bottom: 12px; }
.page-hero .subtitle { color: rgba(255,255,255,0.7); font-size: 1.1rem; max-width: 560px; }
.breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 20px;
  font-family: var(--font-h);
  font-weight: 500;
}
.breadcrumb a { color: rgba(255,255,255,0.6); transition: var(--transition); }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb span { color: rgba(255,255,255,0.3); }

/* ============================================================
   INSTRUMENTS GRID
   ============================================================ */
.instrument-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
}
.instrument-card {
  background: var(--white);
  border: 2px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--black);
}
.instrument-card:hover {
  border-color: var(--red);
  box-shadow: 0 4px 20px rgba(204,0,0,0.12);
  transform: translateY(-4px);
  color: var(--red);
}
.instrument-card .icon {
  font-size: 2.2rem;
  line-height: 1;
}
.instrument-card .name {
  font-family: var(--font-h);
  font-size: 0.9rem;
  font-weight: 700;
}

/* ============================================================
   FEATURES / WHY CHOOSE
   ============================================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  padding: 32px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-100);
  transition: var(--transition);
}
.feature-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.feature-icon {
  width: 52px;
  height: 52px;
  background: rgba(204,0,0,0.08);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 18px;
}
.section-dark .feature-card { background: var(--white); border-color: var(--gray-100); }
.section-dark .feature-card:hover { background: var(--white); box-shadow: var(--shadow); }
.section-dark .feature-card h4 { color: var(--black); }
.section-dark .feature-card p  { color: var(--gray-500); }

/* Facilities two-column layout */
.fac-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  position: relative;
}
.testimonial-card::before {
  content: '"';
  font-family: Georgia, serif;
  font-size: 5rem;
  color: var(--red);
  opacity: 0.15;
  position: absolute;
  top: 8px; left: 24px;
  line-height: 1;
}
.stars { color: #F5A623; font-size: 0.9rem; margin-bottom: 12px; letter-spacing: 2px; }
.testimonial-card p { font-style: italic; color: var(--gray-700); font-size: 0.95rem; }
.testimonial-author {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--gray-100);
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 0.88rem;
}
.testimonial-author span {
  display: block;
  font-weight: 400;
  color: var(--gray-500);
  font-size: 0.8rem;
  margin-top: 2px;
}

/* ============================================================
   EXAM BOARDS
   ============================================================ */
.exam-badges {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.exam-badge {
  background: var(--white);
  border: 2px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  font-family: var(--font-h);
  color: var(--black);
  transition: var(--transition);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.exam-badge:hover { border-color: var(--red); }
.exam-badge:hover .exam-logo-placeholder { border-color: var(--red); color: var(--red); }
.exam-logo-placeholder {
  width: 100%;
  height: 64px;
  border: 2px dashed var(--gray-300);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--gray-300);
  text-transform: uppercase;
  margin-bottom: 6px;
  transition: var(--transition);
}
/* Exam board logo image — replaces placeholder when file is uploaded */
.exam-logo-img {
  width: 100%;
  height: 64px;
  object-fit: contain;
  object-position: center;
  display: block;
  margin-bottom: 6px;
}
.exam-badge strong {
  font-size: 1.05rem;
  font-weight: 800;
  display: block;
}
.exam-badge span {
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--gray-500);
  line-height: 1.55;
}
@media (max-width: 640px) {
  .exam-badges { grid-template-columns: 1fr; }
}

/* Home instrument grid — 5 equal cards */
.instrument-grid-home {
  grid-template-columns: repeat(5, 1fr);
}
.instrument-card-all {
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
}
.instrument-card-all .icon { color: var(--red); }
.instrument-card-all .name { color: var(--white); }
.instrument-card-all:hover {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}
.instrument-card-all:hover .icon { color: var(--white); }
@media (max-width: 768px) {
  .instrument-grid-home { grid-template-columns: repeat(2, 1fr); }
  .instrument-card-all { grid-column: span 2; }
}
@media (max-width: 400px) {
  .instrument-grid-home { grid-template-columns: 1fr; }
  .instrument-card-all { grid-column: span 1; }
}

/* ============================================================
   LESSON FORMAT STRIP
   ============================================================ */
.lesson-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.lesson-strip-item {
  padding: 32px 24px;
  text-align: center;
  border-right: 1px solid var(--gray-100);
}
.lesson-strip-item:last-child { border-right: none; }
.lesson-strip-item .icon { font-size: 1.8rem; margin-bottom: 12px; }
.lesson-strip-item h4 { font-size: 0.95rem; margin-bottom: 6px; }
.lesson-strip-item p { font-size: 0.83rem; color: var(--gray-500); margin: 0; }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: var(--red);
  padding: 64px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.cta-banner h2 { color: var(--white); margin-bottom: 12px; position: relative; }
.cta-banner p  { color: rgba(255,255,255,0.85); font-size: 1.1rem; margin-bottom: 32px; position: relative; }
.cta-banner .btn { position: relative; }

/* ============================================================
   ABOUT SPLIT
   ============================================================ */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-image-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--gray-100);
}
.about-image-wrap img { width: 100%; height: 100%; object-fit: cover; }
.img-placeholder {
  position: relative;
  width: 100%;
  height: 100%;
  background: var(--gray-100);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--gray-500);
  font-family: var(--font-h);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 20px;
  text-align: center;
  min-height: 300px;
  overflow: hidden;
}
.img-placeholder .ph-icon { font-size: 2.5rem; opacity: 0.4; }
.img-placeholder .ph-label { opacity: 0.6; }

/* Site photo — fills placeholder container when image loads */
.site-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.accent-badge {
  position: absolute;
  bottom: -16px;
  right: -16px;
  background: var(--red);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  font-family: var(--font-h);
  font-weight: 800;
  font-size: 1.5rem;
  text-align: center;
  line-height: 1.2;
  box-shadow: var(--shadow-lg);
}
.accent-badge small { display: block; font-size: 0.7rem; font-weight: 500; opacity: 0.85; }
.about-content h2 { margin-bottom: 16px; }
.about-content p   { margin-bottom: 16px; }
.check-list { display: flex; flex-direction: column; gap: 10px; margin: 24px 0; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.93rem;
  color: var(--gray-700);
}
.check-list li::before {
  content: '✓';
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  background: rgba(204,0,0,0.1);
  color: var(--red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.75rem;
  margin-top: 1px;
}

/* ============================================================
   INSTRUMENT PAGE SPECIFICS
   ============================================================ */
.curriculum-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 24px;
}
.curriculum-item {
  background: var(--gray-50);
  border-left: 3px solid var(--red);
  padding: 14px 18px;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.88rem;
  font-family: var(--font-h);
  font-weight: 600;
  color: var(--gray-700);
}
.ages-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.age-pill {
  background: var(--gray-100);
  border: 2px solid var(--gray-200, #e8e8e8);
  border-radius: 999px;
  padding: 6px 18px;
  font-family: var(--font-h);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gray-700);
  transition: var(--transition);
}
.age-pill.active, .age-pill:hover {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

/* FAQ Accordion */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  background: var(--white);
  border: none;
  text-align: left;
  padding: 20px 24px;
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--black);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: var(--transition);
}
.faq-question:hover { background: var(--gray-50); }
.faq-question.open { color: var(--red); }
.faq-arrow { transition: transform var(--transition); font-size: 0.8rem; flex-shrink: 0; }
.faq-question.open .faq-arrow { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.25s ease;
}
.faq-answer-inner {
  padding: 0 24px 20px;
  font-size: 0.92rem;
  color: var(--gray-700);
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; }
.contact-info-box {
  background: var(--black);
  border-radius: var(--radius-xl);
  padding: 40px;
  color: var(--white);
}
.contact-info-box h3 { color: var(--white); margin-bottom: 28px; }
.contact-detail {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 24px;
}
.contact-detail-icon {
  width: 40px;
  height: 40px;
  background: rgba(204,0,0,0.15);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.contact-detail-text { font-size: 0.88rem; color: rgba(255,255,255,0.7); line-height: 1.5; }
.contact-detail-text strong { display: block; font-family: var(--font-h); font-weight: 700; color: var(--white); font-size: 0.9rem; margin-bottom: 3px; }
.contact-social { display: flex; gap: 12px; margin-top: 28px; }
.social-btn {
  flex: 1;
  padding: 12px;
  border-radius: var(--radius);
  text-align: center;
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.15);
  transition: var(--transition);
}
.social-btn:hover { background: rgba(255,255,255,0.1); }
.contact-form-wrap { padding: 8px 0; }
.contact-form-wrap h3 { margin-bottom: 28px; }
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-family: var(--font-h);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gray-700);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}
.form-control {
  width: 100%;
  padding: 13px 16px;
  border: 2px solid var(--gray-100);
  border-radius: var(--radius);
  font-family: var(--font-b);
  font-size: 0.92rem;
  color: var(--black);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}
.form-control:focus { border-color: var(--red); }
.form-control::placeholder { color: var(--gray-300); }
textarea.form-control { resize: vertical; min-height: 140px; }
select.form-control { cursor: pointer; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.map-embed {
  width: 100%;
  height: 340px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: none;
  margin-top: 40px;
}
.map-embed iframe { width: 100%; height: 100%; border: none; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--black);
  color: rgba(255,255,255,0.65);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .nav-logo { font-size: 1.5rem; margin-bottom: 14px; display: inline-flex; }
.footer-brand p { font-size: 0.87rem; line-height: 1.7; max-width: 280px; }
.footer-col h5 {
  font-family: var(--font-h);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 18px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: 0.87rem;
  color: rgba(255,255,255,0.55);
  transition: var(--transition);
}
.footer-col ul li a:hover { color: var(--red); }
.footer-contact p { font-size: 0.85rem; margin-bottom: 10px; display: flex; gap: 8px; }
.footer-contact strong { color: rgba(255,255,255,0.85); font-family: var(--font-h); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.8rem;
}
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a { color: rgba(255,255,255,0.4); transition: var(--transition); }
.footer-bottom-links a:hover { color: var(--red); }
.footer-social { display: flex; gap: 12px; }
.footer-social-btn {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.06);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
  transition: var(--transition);
}
.footer-social-btn:hover { background: var(--red); color: var(--white); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .lesson-strip { grid-template-columns: repeat(2, 1fr); }
  .lesson-strip-item { border-bottom: 1px solid var(--gray-100); }
}

@media (max-width: 768px) {
  :root { --section-py: 56px; }
  .nav-toggle { display: flex; }
  .nav-menu {
    display: none;
    position: fixed;
    top: 68px; left: 0; right: 0; bottom: 0;
    background: #1a1a1a;
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    gap: 4px;
    overflow-y: auto;
    z-index: 999;
    box-shadow: var(--shadow-lg);
  }
  .nav-menu.open { display: flex; }
  .nav-link { width: 100%; padding: 14px 16px; font-size: 1rem; color: var(--white); }
  .nav-link:hover, .nav-link.active { color: var(--red); }
  .dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    border: none;
    grid-template-columns: 1fr;
    background: #2a2a2a;
    border-radius: var(--radius);
    margin-top: 4px;
    display: none;
  }
  .nav-dropdown.open .dropdown-menu { display: grid; }
  .dropdown-menu a { color: rgba(255,255,255,0.85); }
  .dropdown-menu a:hover { background: rgba(255,255,255,0.08); color: var(--red); }
  .nav-cta { width: 100%; margin: 8px 0 0; justify-content: center; }

  .hero { min-height: 100svh; }
  .hero-stats { gap: 24px; }

  .about-split { grid-template-columns: 1fr; gap: 40px; }
  .accent-badge { bottom: 12px; right: 12px; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .fac-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .curriculum-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .lesson-strip { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .instrument-grid { grid-template-columns: repeat(2, 1fr); }
  .lesson-strip { grid-template-columns: 1fr; }
}
