/* ==========================================================================
   The Music Garden — Front-end stylesheet
   Design system locked to the "Piano Lessons" mockup: dark green / orange /
   yellow palette, system font stack, Tabler Icons (ti ti-*).
   ========================================================================== */

* { box-sizing: border-box; }
body {
	margin: 0;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	color: #2a5a3a;
	background: #fff;
}
a { color: inherit; }
img { max-width: 100%; display: block; }

/* ---------- TOPBAR ---------- */
.topbar { background: #1a3a2a; color: #aed4b8; font-size: 12px; padding: 7px 40px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.topbar-socials { display: flex; gap: 12px; }
.topbar-socials i { font-size: 14px; }

/* ---------- PROMOTION BANNER (topbar slot) ---------- */
.promo-banner { background: #e8621a; color: #fff; font-size: 13px; font-weight: 600; padding: 10px 40px; display: flex; align-items: center; justify-content: center; gap: 12px; text-align: center; flex-wrap: wrap; }
.promo-banner .badge { background: rgba(255,255,255,0.2); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; padding: 3px 10px; border-radius: 20px; }
.promo-banner a { color: #fff; text-decoration: underline; font-weight: 700; }

/* ---------- NAV ---------- */
.nav { background: #fff; border-bottom: 1px solid #e4ece6; padding: 14px 40px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.logo-wrap { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark { width: 44px; height: 44px; border-radius: 50%; background: #1a3a2a; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.logo-mark i { color: #fff; font-size: 22px; }
.logo-text { font-size: 15px; font-weight: 600; color: #1a3a2a; line-height: 1.2; }
.logo-text span { display: block; font-size: 11px; font-weight: 400; color: #5a8a6a; }
.nav-links { display: flex; gap: 24px; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.nav-links a { font-size: 13px; color: #2a5a3a; text-decoration: none; font-weight: 500; }
.nav-cta { background: #e8621a; color: #fff !important; font-size: 13px; font-weight: 600; padding: 10px 18px; border-radius: 5px; text-decoration: none; }

/* ---------- HERO (split, text left / photo right) ---------- */
.hero { display: grid; grid-template-columns: 1fr 1fr; min-height: 420px; }
.hero-left { background: #1a3a2a; padding: 64px 48px 64px 40px; display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; }
.hero-deco { position: absolute; border-radius: 50%; pointer-events: none; left: -20px; bottom: -20px; width: 160px; height: 160px; background: rgba(232,98,26,0.08); }
.hero-eyebrow { font-size: 11px; font-weight: 600; color: #f5c800; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 8px; position: relative; z-index: 2; }
.hero-label { font-size: 13px; color: #7ab89a; margin-bottom: 14px; position: relative; z-index: 2; }
.hero-h1 { font-size: 40px; font-weight: 700; color: #fff; line-height: 1.12; margin-bottom: 18px; position: relative; z-index: 2; }
.hero-sub { font-size: 15px; color: #b8d8c0; line-height: 1.75; margin-bottom: 28px; position: relative; z-index: 2; }
.hero-btns { display: flex; gap: 12px; position: relative; z-index: 2; flex-wrap: wrap; }
.btn-primary { background: #e8621a; color: #fff; font-size: 14px; font-weight: 600; padding: 13px 24px; border-radius: 5px; text-decoration: none; display: inline-block; border: none; cursor: pointer; }
.btn-ghost { border: 1.5px solid rgba(255,255,255,0.4); color: #fff; font-size: 14px; font-weight: 500; padding: 13px 24px; border-radius: 5px; text-decoration: none; display: inline-block; }
.btn-white { background: #fff; color: #e8621a; font-size: 14px; font-weight: 700; padding: 14px 26px; border-radius: 5px; text-decoration: none; white-space: nowrap; flex-shrink: 0; display: inline-block; }
.hero-right { overflow: hidden; background: #142f22; }
.hero-right img { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 320px; }

/* ---------- SMALL PAGE HERO (archives: instruments/classes/camps/staff) ---------- */
.page-hero { background: #1a3a2a; padding: 56px 40px; position: relative; overflow: hidden; }
.page-hero .hero-eyebrow, .page-hero .hero-h1, .page-hero .hero-sub { position: relative; z-index: 2; }
.page-hero .hero-h1 { font-size: 34px; margin-bottom: 10px; }
.page-hero .hero-sub { margin-bottom: 0; max-width: 640px; }

/* ---------- CROSS-LINK PILL NAV (instrument-nav / class-nav / camp-nav) ---------- */
.pill-nav { background: #f4f8f5; border-bottom: 1px solid #dde8e0; padding: 14px 40px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.pill-nav span.pill-nav-label { font-size: 12px; color: #5a7a65; font-weight: 500; margin-right: 4px; }
.pill-link { font-size: 12px; color: #2a5a3a; text-decoration: none; font-weight: 500; padding: 6px 14px; border: 1px solid #c8ddd0; border-radius: 20px; background: #fff; }
.pill-link.active { background: #1a3a2a; color: #fff; border-color: #1a3a2a; }

/* ---------- TWO-COLUMN CONTENT SECTION (What to Expect, etc.) ---------- */
.split-section { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.split-section.reverse { direction: rtl; }
.split-section.reverse > * { direction: ltr; }
.split-left { padding: 56px 48px 56px 40px; }
.split-right { overflow: hidden; background: #f4f8f5; }
.split-right img { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 280px; }
.section-label { font-size: 11px; font-weight: 600; color: #f5c800; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 6px; }
.section-title { font-size: 28px; font-weight: 700; color: #1a3a2a; margin-bottom: 14px; line-height: 1.2; }
.body-text { font-size: 14px; color: #4a6a55; line-height: 1.85; margin-bottom: 16px; }
.body-text strong { color: #1a3a2a; font-weight: 600; }

/* ---------- DARK FEATURE SECTION (practice tiers / schedule / details) ---------- */
.dark-section { background: #1a3a2a; padding: 56px 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.dark-section .section-label { color: #f5c800; }
.dark-section .section-title { color: #fff; }
.dark-section p { font-size: 14px; color: #9abcaa; line-height: 1.85; margin-bottom: 24px; }
.tier-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.tier-card { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.14); border-radius: 10px; padding: 20px; text-align: center; }
.tier-top { font-size: 12px; font-weight: 600; color: #f5c800; margin-bottom: 6px; }
.tier-mid { font-size: 22px; font-weight: 700; color: #fff; margin-bottom: 4px; }
.tier-bottom { font-size: 11px; color: #7ab89a; }
.dark-section-photo { border-radius: 10px; overflow: hidden; height: 100%; min-height: 280px; background: rgba(255,255,255,0.06); }
.dark-section-photo img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 10px; }

/* ---------- EVENT LIST (recitals, itineraries) ---------- */
.event-section { padding: 56px 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.event-photo { border-radius: 10px; overflow: hidden; height: 360px; background: #f4f8f5; }
.event-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.event-list { display: flex; flex-direction: column; gap: 14px; margin-top: 24px; }
.event-item { display: flex; align-items: flex-start; gap: 16px; background: #f4f8f5; border: 1px solid #dde8e0; border-radius: 10px; padding: 18px; }
.event-icon { width: 44px; height: 44px; border-radius: 50%; background: #1a3a2a; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.event-icon i { font-size: 22px; color: #fff; }
.event-title { font-size: 14px; font-weight: 600; color: #1a3a2a; margin-bottom: 4px; }
.event-desc { font-size: 13px; color: #5a7a65; line-height: 1.6; }

/* ---------- FAQ ---------- */
.faq-section { background: #f4f8f5; padding: 56px 40px; }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; }
.faq-item { background: #fff; border: 1px solid #dde8e0; border-radius: 10px; padding: 22px; }
.faq-q { font-size: 14px; font-weight: 600; color: #1a3a2a; margin-bottom: 8px; display: flex; align-items: flex-start; gap: 10px; }
.faq-q i { font-size: 18px; color: #e8621a; flex-shrink: 0; margin-top: 1px; }
.faq-a { font-size: 13px; color: #5a7a65; line-height: 1.75; padding-left: 28px; }

/* ---------- CTA STRIP ---------- */
.cta-strip { background: #e8621a; padding: 40px; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-strip h3 { font-size: 24px; font-weight: 700; color: #fff; margin-bottom: 6px; }
.cta-strip p { font-size: 15px; color: rgba(255,255,255,0.85); line-height: 1.65; margin: 0; }

/* ---------- CARD GRIDS (related lessons / instruments / classes / camps / staff) ---------- */
.card-grid-section { padding: 56px 40px; background: #fff; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; margin-top: 28px; }
.card-grid.card-grid--5 { grid-template-columns: repeat(5,1fr); }
.simple-card { border: 1px solid #dde8e0; border-radius: 10px; padding: 20px; text-align: center; text-decoration: none; background: #fff; display: block; }
.simple-card:hover { border-color: #1a3a2a; }
.simple-card-icon { width: 44px; height: 44px; border-radius: 50%; background: #f4f8f5; display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; }
.simple-card-icon i { font-size: 22px; color: #1a3a2a; }
.simple-card-name { font-size: 13px; font-weight: 600; color: #1a3a2a; }

/* ---------- RICHER CARDS (class / camp archive cards with photo + meta) ---------- */
.rich-card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; margin-top: 28px; }
.rich-card { border: 1px solid #dde8e0; border-radius: 10px; overflow: hidden; text-decoration: none; background: #fff; display: flex; flex-direction: column; }
.rich-card:hover { border-color: #1a3a2a; }
.rich-card-photo { height: 160px; overflow: hidden; background: #f4f8f5; }
.rich-card-photo img { width: 100%; height: 100%; object-fit: cover; }
.rich-card-body { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.rich-card-title { font-size: 15px; font-weight: 700; color: #1a3a2a; margin-bottom: 6px; }
.rich-card-meta { font-size: 12px; color: #5a7a65; margin-bottom: 8px; }
.rich-card-desc { font-size: 13px; color: #5a7a65; line-height: 1.6; flex: 1; }
.rich-card-badge { display: inline-block; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: #fff; background: #e8621a; padding: 3px 10px; border-radius: 20px; margin-bottom: 10px; align-self: flex-start; }

/* ---------- STAFF CARDS ---------- */
.staff-card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; margin-top: 28px; }
.staff-card { border: 1px solid #dde8e0; border-radius: 10px; overflow: hidden; background: #fff; }
.staff-card-photo { height: 200px; background: #f4f8f5; overflow: hidden; }
.staff-card-photo img { width: 100%; height: 100%; object-fit: cover; }
.staff-card-body { padding: 16px; }
.staff-card-name { font-size: 15px; font-weight: 700; color: #1a3a2a; margin-bottom: 2px; }
.staff-card-role { font-size: 11px; font-weight: 600; color: #e8621a; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 10px; }
.staff-card-bio { font-size: 13px; color: #5a7a65; line-height: 1.6; margin-bottom: 10px; }
.staff-card-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.staff-card-tag { font-size: 11px; color: #2a5a3a; background: #f4f8f5; border: 1px solid #dde8e0; border-radius: 20px; padding: 3px 10px; }

/* ---------- FILTER BAR (class / camp / staff archives) ---------- */
.filter-bar { background: #f4f8f5; border-bottom: 1px solid #dde8e0; padding: 18px 40px; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.filter-bar span.filter-label { font-size: 12px; color: #5a7a65; font-weight: 500; margin-right: 4px; }
.filter-pill { font-size: 12px; color: #2a5a3a; text-decoration: none; font-weight: 500; padding: 6px 14px; border: 1px solid #c8ddd0; border-radius: 20px; background: #fff; cursor: pointer; }
.filter-pill.active { background: #1a3a2a; color: #fff; border-color: #1a3a2a; }

/* ---------- SCHEDULE TABLE (Class single) ---------- */
.schedule-table { width: 100%; border-collapse: collapse; margin-top: 16px; }
.schedule-table th, .schedule-table td { text-align: left; padding: 10px 14px; font-size: 13px; border-bottom: 1px solid #dde8e0; }
.schedule-table th { color: #5a7a65; font-weight: 600; text-transform: uppercase; font-size: 11px; letter-spacing: 0.05em; }
.schedule-table td { color: #1a3a2a; }

/* ---------- ITINERARY LIST (Camp single) ---------- */
.itinerary-list { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.itinerary-day { display: flex; gap: 16px; background: #f4f8f5; border: 1px solid #dde8e0; border-radius: 10px; padding: 16px 18px; }
.itinerary-day-label { font-size: 13px; font-weight: 700; color: #e8621a; flex-shrink: 0; min-width: 90px; }
.itinerary-day-desc { font-size: 13px; color: #4a6a55; line-height: 1.7; }

/* ---------- INFO STAT ROW (dates, price, age range on Class/Camp single) ---------- */
.info-stats { display: flex; gap: 24px; flex-wrap: wrap; margin: 20px 0; padding: 20px; background: #f4f8f5; border: 1px solid #dde8e0; border-radius: 10px; }
.info-stat { min-width: 110px; }
.info-stat-label { font-size: 11px; font-weight: 600; color: #5a7a65; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 4px; }
.info-stat-value { font-size: 15px; font-weight: 700; color: #1a3a2a; }

/* ---------- HOMEPAGE-SPECIFIC ---------- */
.why-section { padding: 56px 40px; background: #fff; text-align: center; }
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; margin-top: 32px; text-align: left; }
.why-card { padding: 24px; border: 1px solid #dde8e0; border-radius: 10px; }
.why-card-icon { width: 44px; height: 44px; border-radius: 50%; background: #f4f8f5; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.why-card-icon i { font-size: 22px; color: #1a3a2a; }
.why-card h3 { font-size: 15px; color: #1a3a2a; margin-bottom: 8px; }
.why-card p { font-size: 13px; color: #5a7a65; line-height: 1.7; }

.testimonial-section { background: #f4f8f5; padding: 56px 40px; }
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-top: 28px; }
.testimonial-card { background: #fff; border: 1px solid #dde8e0; border-radius: 10px; padding: 22px; }
.testimonial-quote { font-size: 13px; color: #4a6a55; line-height: 1.8; margin-bottom: 14px; }
.testimonial-author { font-size: 13px; font-weight: 700; color: #1a3a2a; }

/* ---------- FOOTER ---------- */
.footer { background: #111f17; padding: 52px 40px 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 40px; }
.footer-logo { font-size: 19px; font-weight: 700; color: #f5c800; margin-bottom: 12px; }
.footer-brand p { font-size: 13px; color: #3a5a45; line-height: 1.85; }
.footer-col h4 { font-size: 13px; font-weight: 600; color: #7ab89a; margin-bottom: 14px; }
.footer-col a { display: block; font-size: 13px; color: #3a5a45; text-decoration: none; margin-bottom: 8px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 22px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: 12px; color: #2a4a35; margin: 0; }
.footer-socials { display: flex; gap: 16px; }
.footer-socials i { font-size: 18px; color: #3a5a45; }

/* ---------- HOMEPAGE HERO (full-bleed image + overlay) ---------- */
.home-hero { position: relative; min-height: 560px; overflow: hidden; display: flex; align-items: center; background: #1a3a2a; }
.home-hero-img { position: absolute; inset: 0; z-index: 0; }
.home-hero-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(105deg, rgba(26,58,42,0.92) 35%, rgba(26,58,42,0.4) 100%); }
.home-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.home-hero-content { position: relative; z-index: 2; padding: 0 40px; max-width: 640px; }
.home-hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(200,168,75,0.12); border: 1px solid rgba(200,168,75,0.55); color: #c8a84b; padding: 6px 14px; border-radius: 100px; font-size: 11px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 18px; }
.home-hero-badge i { font-size: 12px; }
.home-hero-content h1 { font-size: 46px; font-weight: 700; color: #fff; line-height: 1.12; margin-bottom: 16px; }
.home-hero-content h1 em { color: #a8d8b8; font-style: normal; }
.home-hero-content p { color: #b8d8c0; font-size: 16px; line-height: 1.7; margin-bottom: 28px; max-width: 480px; }
/* Homepage hero buttons use the brand green (matches the live production
   site) rather than the sitewide orange CTA — scoped to .home-hero-btns
   only, so every other page's .btn-primary stays orange. */
.home-hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-primary-green { background: #2d7a4f; color: #fff; font-size: 14px; font-weight: 600; padding: 13px 24px; border-radius: 5px; text-decoration: none; display: inline-block; border: none; }
.btn-primary-green:hover { background: #245f3e; }
.home-hero-stats { display: flex; border-top: 1px solid #e8e8e8; position: relative; z-index: 2; background: #f5f5f5; flex-wrap: wrap; }
.home-hero-stat { flex: 1; min-width: 140px; padding: 18px 24px; text-align: center; border-right: 1px solid #e8e8e8; }
.home-hero-stat:last-child { border-right: none; }
.home-hero-stat-num { font-size: 20px; font-weight: 700; color: #2d7a4f; }
.home-hero-stat-label { font-size: 11px; color: #5a7a65; text-transform: none; letter-spacing: 0; }

/* ---------- HOMEPAGE PROGRAM SUBSECTIONS ---------- */
.program-subsection { padding: 48px 40px; }
.program-subsection-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.program-subsection-head .view-all { font-size: 13px; font-weight: 600; color: #e8621a; text-decoration: none; }

/* ---------- HOMEPAGE FEATURED PROMOTIONS ---------- */
/* Fixed 2 columns on purpose — a single active promotion should occupy
   one column, not stretch edge to edge. Collapses to 1 column on mobile. */
.promo-feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 28px; max-width: 1160px; }
.promo-feature-card { background: #fff; border: 2px solid #e8621a; border-radius: 10px; padding: 22px; }
.promo-feature-card .badge { display: inline-block; background: #e8621a; color: #fff; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; padding: 3px 10px; border-radius: 20px; margin-bottom: 10px; }
.promo-feature-card h3 { font-size: 17px; color: #1a3a2a; margin-bottom: 8px; }
.promo-feature-card p { font-size: 13px; color: #5a7a65; line-height: 1.6; margin-bottom: 14px; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
	.hero, .split-section, .dark-section, .event-section { grid-template-columns: 1fr; }
	.faq-grid { grid-template-columns: 1fr; }
	.card-grid.card-grid--5 { grid-template-columns: repeat(2,1fr); }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.topbar, .nav, .pill-nav, .filter-bar { padding-left: 20px; padding-right: 20px; }
	.hero-left, .split-left, .dark-section, .event-section, .faq-section, .card-grid-section, .cta-strip, .why-section, .testimonial-section, .footer { padding-left: 20px; padding-right: 20px; }
	.home-hero-content { padding-left: 20px; padding-right: 20px; }
	.home-hero-content h1 { font-size: 32px; }
	.home-hero-stats { flex-wrap: wrap; }
	.program-subsection { padding-left: 20px; padding-right: 20px; }
	.promo-feature-grid { grid-template-columns: 1fr; }
}
