/* =====================================================================
   TONIKA MUSIC SCHOOL — MAIN STYLESHEET
   ---------------------------------------------------------------------
   Table of contents
   1. Design tokens (colors, spacing, typography)  → change brand here
   2. Base / reset
   3. Background: stars & clouds
   4. Layout helpers (container, grid, section)
   5. Header & navigation (sticky, responsive)
   6. Buttons
   7. Hero
   8. Cards (courses, teachers, testimonials, gallery)
   9. Career paths (dark theme) & Kids path (bright theme)
   10. FAQ accordion
  11. Contact
   12. Footer
   13. Animations (subtle reveal on scroll)
   14. Responsive breakpoints
   ===================================================================== */


/* ---------------------------------------------------------------------
   1. DESIGN TOKENS
   Brand palette: #5575B8 (blue), #D2E3F6 (light blue), #BEACD4 (lilac),
   #7967AC (violet), #EDF0F4 (off-white). Violet and blue dominate.
   --------------------------------------------------------------------- */
:root {
  --blue:        #5575B8;
  --blue-light:  #D2E3F6;
  --lilac:       #BEACD4;
  --violet:      #7967AC;
  --violet-deep: #5B4B8A;
  --mist:        #EDF0F4;

  --navy:        #171B33;   /* dark navy for career paths */
  --plum:        #241C3D;   /* dark purple for career paths */

  --text:        #23263A;
  --text-muted:  #5B6078;
  --white:       #FFFFFF;

  --bg:          var(--mist);
  --surface:     rgba(255, 255, 255, 0.78);
  --border:      rgba(121, 103, 172, 0.18);

  --shadow-sm:   0 2px 8px rgba(35, 38, 58, 0.06);
  --shadow-md:   0 10px 30px rgba(89, 75, 138, 0.14);
  --shadow-lg:   0 24px 60px rgba(89, 75, 138, 0.22);

  --radius:      18px;
  --radius-sm:   10px;

  --font-head:   "Georgia", "Times New Roman", serif;   /* elegant headings */
  --font-body:   system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --container:   1160px;
  --header-h:    76px;

  --ease:        cubic-bezier(.22,.61,.36,1);
}


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

html {
  scroll-behavior: smooth;                 /* smooth in-page scrolling */
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
a { color: var(--violet); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 500;
  line-height: 1.2;
  color: var(--text);
  margin: 0 0 .6em;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.2rem, 4.5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); }
h3 { font-size: 1.3rem; }
p  { margin: 0 0 1em; }

.eyebrow {
  display: inline-block;
  font-size: .8rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--violet);
  font-weight: 600;
  margin-bottom: .75rem;
}

.lead { font-size: 1.2rem; color: var(--text-muted); }
.muted { color: var(--text-muted); }
.center { text-align: center; }

/* Accessibility helpers */
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; top: -100px; left: 16px; z-index: 1000;
  background: var(--violet); color: #fff; padding: .6rem 1rem; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }


/* ---------------------------------------------------------------------
   3. BACKGROUND — STARS & CLOUDS
   The sky layer is fixed behind all content. Stars are small radial
   gradients (no images), clouds are blurred soft ellipses.
   Edit `.star:nth-child(n)` to reposition stars.
   --------------------------------------------------------------------- */
.sky {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, #F3F5FA 0%, var(--mist) 40%, var(--blue-light) 100%);
  overflow: hidden;
}

.cloud {
  position: absolute;
  width: 46vw; height: 18vw; min-width: 320px; min-height: 140px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(255,255,255,.95), rgba(255,255,255,0) 70%);
  filter: blur(18px);
  opacity: .8;
  animation: drift 60s linear infinite alternate;
}
.cloud--1 { top: 8%;  left: -10%; }
.cloud--2 { top: 38%; right: -12%; animation-duration: 80s; opacity: .65; }
.cloud--3 { top: 72%; left: 20%;  width: 60vw; animation-duration: 95s; opacity: .55; }

.star {
  position: absolute;
  width: 6px; height: 6px; border-radius: 50%;
  background: radial-gradient(circle, #fff 0%, var(--lilac) 45%, rgba(190,172,212,0) 75%);
  box-shadow: 0 0 10px 2px rgba(121,103,172,.35);
  opacity: .8;
  animation: twinkle 5s ease-in-out infinite;
}
/* Star positions & timing — a "couple of stars", not a night sky */
.star:nth-child(1) { top: 12%; left: 14%; }
.star:nth-child(2) { top: 22%; left: 78%; width: 8px; height: 8px; animation-delay: 1.2s; }
.star:nth-child(3) { top: 46%; left: 6%;  animation-delay: 2.4s; }
.star:nth-child(4) { top: 58%; left: 88%; width: 5px; height: 5px; animation-delay: .6s; }
.star:nth-child(5) { top: 82%; left: 34%; animation-delay: 3.1s; }
.star:nth-child(6) { top: 30%; left: 50%; width: 4px; height: 4px; animation-delay: 1.8s; }
.star:nth-child(7) { top: 90%; left: 66%; animation-delay: 4s; }

@keyframes twinkle {
  0%, 100% { opacity: .35; transform: scale(.85); }
  50%      { opacity: 1;   transform: scale(1.15); }
}
@keyframes drift {
  from { transform: translateX(0); }
  to   { transform: translateX(6vw); }
}


/* ---------------------------------------------------------------------
   4. LAYOUT HELPERS
   --------------------------------------------------------------------- */
.container { width: min(var(--container), 92vw); margin-inline: auto; }
.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section-head { max-width: 680px; margin-bottom: 2.5rem; }
.section-head.center { margin-inline: auto; }

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

.divider {
  width: 64px; height: 3px; border-radius: 3px; margin: 1.25rem 0 0;
  background: linear-gradient(90deg, var(--blue), var(--violet));
}
.center .divider { margin-inline: auto; }


/* ---------------------------------------------------------------------
   5. HEADER & NAVIGATION (sticky, responsive)
   --------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  background: rgba(237, 240, 244, .75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(237, 240, 244, .92);
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.nav {
  height: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.brand { display: flex; align-items: center; gap: .7rem; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand img { height: 44px; width: auto; }
.brand__name { font-family: var(--font-head); font-size: 1.45rem; letter-spacing: .02em; }
.brand__name small { display: block; font-family: var(--font-body); font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--violet); }

.nav__list { list-style: none; display: flex; gap: .25rem; margin: 0; padding: 0; align-items: center; }
.nav__link {
  display: inline-block; padding: .55rem .9rem; border-radius: 999px;
  color: var(--text); font-weight: 500; font-size: .98rem;
  transition: background .25s var(--ease), color .25s var(--ease);
}
.nav__link:hover { background: rgba(121,103,172,.1); text-decoration: none; }
.nav__link[aria-current="page"] { color: var(--violet); background: rgba(121,103,172,.12); }
.nav__cta { margin-inline-start: .5rem; }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer; padding: .6rem;
  width: 44px; height: 44px; border-radius: 50%;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px; background: var(--text); margin: 5px auto;
  transition: transform .3s var(--ease), opacity .3s 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); }


/* ---------------------------------------------------------------------
   6. BUTTONS
   --------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .9rem 1.7rem; border-radius: 999px; border: 2px solid transparent;
  font-weight: 600; font-size: 1rem; cursor: pointer; line-height: 1;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--violet) 0%, var(--blue) 100%);
  box-shadow: 0 8px 22px rgba(121,103,172,.35);
}
.btn--primary:hover { box-shadow: 0 12px 28px rgba(121,103,172,.45); }
.btn--ghost { color: var(--violet); border-color: var(--violet); background: transparent; }
.btn--ghost:hover { background: rgba(121,103,172,.08); }
.btn--light { color: var(--violet-deep); background: #fff; }
.btn--sm { padding: .6rem 1.15rem; font-size: .92rem; }


/* ---------------------------------------------------------------------
   7. HERO
   --------------------------------------------------------------------- */
.hero { padding-block: clamp(3rem, 8vw, 7rem) clamp(3rem, 6vw, 5rem); }
.hero__inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
.hero h1 { margin-bottom: 1rem; }
.hero h1 .accent { color: var(--violet); font-style: italic; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 1.75rem; }
.hero__note { margin-top: 1rem; font-size: .92rem; color: var(--text-muted); }

.hero__media { position: relative; }
.hero__media img {
  width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5; object-fit: cover;
}
/* Decorative "chord" — three stacked notes, a nod to the tonic triad */
.chord {
  position: absolute; inset-inline-end: -18px; bottom: -18px;
  background: var(--surface); backdrop-filter: blur(8px);
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: .9rem 1.1rem; box-shadow: var(--shadow-md);
  display: flex; gap: .6rem; align-items: flex-end;
}
.chord i {
  display: block; width: 10px; border-radius: 6px;
  background: linear-gradient(180deg, var(--blue), var(--violet));
  animation: pulse 2.6s ease-in-out infinite;
}
.chord i:nth-child(1) { height: 26px; }
.chord i:nth-child(2) { height: 40px; animation-delay: .3s; }
.chord i:nth-child(3) { height: 54px; animation-delay: .6s; }
.chord span { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--violet); margin-inline-start: .4rem; }
@keyframes pulse { 0%,100% { transform: scaleY(1); } 50% { transform: scaleY(.85); } }

/* Page hero (sub-pages) */
.page-hero { padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(1rem, 3vw, 2rem); }
.page-hero h1 { margin-bottom: .5rem; }

/* Stats strip */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.stat { text-align: center; padding: 1.25rem; background: var(--surface); border-radius: var(--radius); border: 1px solid var(--border); }
.stat strong { display: block; font-family: var(--font-head); font-size: 2rem; color: var(--violet); }
.stat span { font-size: .9rem; color: var(--text-muted); }


/* ---------------------------------------------------------------------
   8. CARDS
   --------------------------------------------------------------------- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.card__body { padding: 1.4rem 1.5rem 1.6rem; flex: 1; display: flex; flex-direction: column; }
.card__body h3 { margin-bottom: .4rem; }
.card__body p { color: var(--text-muted); font-size: .98rem; }
.card__footer { margin-top: auto; padding-top: .75rem; display: flex; justify-content: space-between; align-items: center; }
.tag {
  display: inline-block; padding: .25rem .7rem; border-radius: 999px;
  background: rgba(85,117,184,.12); color: var(--blue); font-size: .78rem; font-weight: 600; letter-spacing: .05em;
}

/* Icon feature cards (Why choose us / values) */
.feature { padding: 1.75rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.feature__icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 1rem;
  background: linear-gradient(135deg, rgba(121,103,172,.18), rgba(85,117,184,.18)); color: var(--violet);
}
.feature__icon svg { width: 26px; height: 26px; }

/* Teacher cards */
.teacher .card__media img { aspect-ratio: 1 / 1; }
.teacher__role { color: var(--violet); font-weight: 600; font-size: .9rem; margin-bottom: .6rem; }
.teacher__tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .75rem; }

/* Testimonials */
.testimonial { padding: 1.75rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); position: relative; }
.testimonial::before {
  content: "\201C"; position: absolute; top: .4rem; inset-inline-start: 1.2rem;
  font-family: var(--font-head); font-size: 4rem; line-height: 1; color: var(--lilac); opacity: .7;
}
.testimonial blockquote { margin: 1.6rem 0 1rem; font-style: italic; }
.testimonial cite { display: block; font-style: normal; font-weight: 600; }
.testimonial cite span { display: block; font-weight: 400; font-size: .88rem; color: var(--text-muted); }
.stars { color: var(--violet); letter-spacing: .1em; font-size: .9rem; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.gallery figure { margin: 0; position: relative; border-radius: var(--radius-sm); overflow: hidden; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .6s var(--ease); }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption {
  position: absolute; inset-inline: 0; bottom: 0; padding: .7rem 1rem;
  background: linear-gradient(180deg, transparent, rgba(23,27,51,.75));
  color: #fff; font-size: .9rem;
}
.gallery .wide { grid-column: span 2; }
.gallery .wide img { aspect-ratio: 8 / 3; }

/* Filter bar (gallery) */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.75rem; }
.filter {
  padding: .5rem 1rem; border-radius: 999px; border: 1px solid var(--border);
  background: var(--surface); color: var(--text); cursor: pointer; font: inherit; font-size: .92rem;
  transition: background .25s, color .25s;
}
.filter:hover, .filter.is-active { background: var(--violet); color: #fff; border-color: var(--violet); }


/* ---------------------------------------------------------------------
   9. CAREER PATHS (dark navy / dark purple) & KIDS PATH (bright)
   --------------------------------------------------------------------- */
.paths {
  position: relative; color: #fff;
  background:
    radial-gradient(ellipse at 15% 10%, rgba(121,103,172,.45), transparent 55%),
    radial-gradient(ellipse at 85% 90%, rgba(85,117,184,.35), transparent 55%),
    linear-gradient(160deg, var(--navy) 0%, var(--plum) 100%);
  border-radius: calc(var(--radius) * 1.6);
  margin-block: 1rem;
  overflow: hidden;
}
.paths::after { /* faint stars on the dark section */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    radial-gradient(1.5px 1.5px at 20% 30%, rgba(255,255,255,.8), transparent),
    radial-gradient(1.5px 1.5px at 70% 15%, rgba(255,255,255,.7), transparent),
    radial-gradient(1px 1px at 85% 60%, rgba(255,255,255,.7), transparent),
    radial-gradient(1.5px 1.5px at 40% 85%, rgba(255,255,255,.6), transparent),
    radial-gradient(1px 1px at 10% 75%, rgba(255,255,255,.6), transparent);
}
.paths h2, .paths h3 { color: #fff; }
.paths .eyebrow { color: var(--lilac); }
.paths .lead { color: rgba(255,255,255,.75); }
.paths .container { position: relative; z-index: 1; }

.path {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  backdrop-filter: blur(6px);
  display: flex; flex-direction: column;
  transition: transform .35s var(--ease), background .35s var(--ease);
}
.path:hover { transform: translateY(-4px); background: rgba(255,255,255,.1); }
.path__num { font-family: var(--font-head); font-size: 2.6rem; color: var(--lilac); line-height: 1; margin-bottom: .75rem; }
.path p { color: rgba(255,255,255,.78); }
.path ul { list-style: none; padding: 0; margin: 1rem 0 1.5rem; }
.path li { padding: .45rem 0 .45rem 1.6rem; position: relative; color: rgba(255,255,255,.9); border-top: 1px solid rgba(255,255,255,.08); }
.path li::before { content: "♪"; position: absolute; left: 0; color: var(--lilac); }
.path .btn { margin-top: auto; align-self: flex-start; }
.path .btn--light { color: var(--plum); }
.path__meta { font-size: .85rem; color: var(--lilac); letter-spacing: .1em; text-transform: uppercase; margin-bottom: .5rem; }

/* Kids path — bright */
.kids {
  background:
    radial-gradient(ellipse at 90% 10%, rgba(255,255,255,.9), transparent 50%),
    linear-gradient(135deg, #F7F9FC 0%, var(--blue-light) 55%, #E6DFF2 100%);
  border-radius: calc(var(--radius) * 1.6);
  border: 1px solid var(--border);
  padding: clamp(2rem, 5vw, 4rem);
  display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center;
}
.kids img { border-radius: var(--radius); box-shadow: var(--shadow-md); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.kids ul { padding-left: 1.2rem; color: var(--text-muted); }
.kids li { margin-bottom: .4rem; }

/* Pricing / details table */
.table { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.table th, .table td { padding: .9rem 1rem; text-align: left; border-bottom: 1px solid var(--border); }
.table th { background: rgba(121,103,172,.08); font-weight: 600; font-size: .9rem; letter-spacing: .04em; }
.table tr:last-child td { border-bottom: 0; }


/* ---------------------------------------------------------------------
   10. FAQ ACCORDION (native <details> for accessibility)
   --------------------------------------------------------------------- */
.faq { max-width: 820px; margin-inline: auto; }
.faq details {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm);
  margin-bottom: .75rem; overflow: hidden;
}
.faq summary {
  cursor: pointer; padding: 1.1rem 3rem 1.1rem 1.4rem; font-weight: 600; list-style: none; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 1.3rem; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; color: var(--violet); transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq .faq__body { padding: 0 1.4rem 1.2rem; color: var(--text-muted); }


/* ---------------------------------------------------------------------
  11. CONTACT
  --------------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.contact-details h2 { margin-bottom: .25rem; }
.contact-list { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.contact-list li { display: flex; gap: 1rem; align-items: flex-start; padding: 1rem 0; border-bottom: 1px solid var(--border); }
.contact-list li:last-child { border-bottom: 0; }
.contact-list svg { width: 22px; height: 22px; flex: none; color: var(--violet); margin-top: .2rem; }
.contact-list strong { display: block; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); }
.contact-list a { color: var(--text); font-weight: 500; }

.map {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  aspect-ratio: 16 / 9; background: var(--blue-light);
}
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.contact-booking { display: grid; gap: 1.25rem; }
.booking-card {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: clamp(1.5rem, 3vw, 2.25rem); border-radius: var(--radius);
  background: linear-gradient(135deg, var(--violet) 0%, var(--blue) 100%);
  box-shadow: var(--shadow-md); color: #fff;
}
.booking-card .eyebrow { color: var(--blue-light); margin-bottom: .45rem; }
.booking-card h2 { color: #fff; margin-bottom: .45rem; font-size: clamp(1.45rem, 2.5vw, 2rem); }
.booking-card p { color: rgba(255,255,255,.88); margin: 0; max-width: 34rem; }
.booking-card .btn { flex: none; white-space: nowrap; }

/* Contact preview (home) */
.contact-preview { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; }

/* Social links */
.social { display: flex; gap: .6rem; list-style: none; padding: 0; margin: 0; }
.social a {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(121,103,172,.12); color: var(--violet); transition: background .25s, color .25s, transform .25s;
}
.social a:hover { background: var(--violet); color: #fff; transform: translateY(-2px); text-decoration: none; }
.social svg { width: 20px; height: 20px; }

/* CTA banner */
.cta-banner {
  border-radius: calc(var(--radius) * 1.6); padding: clamp(2rem, 5vw, 3.5rem);
  background: linear-gradient(135deg, var(--violet) 0%, var(--blue) 100%);
  color: #fff; display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; justify-content: space-between;
  box-shadow: var(--shadow-lg);
}
.cta-banner h2 { color: #fff; margin-bottom: .4rem; }
.cta-banner p { color: rgba(255,255,255,.85); margin: 0; }


/* ---------------------------------------------------------------------
   12. FOOTER
   --------------------------------------------------------------------- */
.site-footer {
  margin-top: 3rem; padding: 3.5rem 0 2rem;
  background: linear-gradient(180deg, rgba(23,27,51,0) 0%, rgba(23,27,51,.04) 8%, var(--navy) 8%);
  color: rgba(255,255,255,.8);
}
.site-footer .footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; padding-top: 2.5rem; }
.site-footer h4 { color: #fff; font-family: var(--font-body); font-size: .85rem; letter-spacing: .15em; text-transform: uppercase; margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .5rem; }
.site-footer a { color: rgba(255,255,255,.8); }
.site-footer a:hover { color: #fff; }
.site-footer .brand { color: #fff; margin-bottom: 1rem; }
.site-footer .brand__name small { color: var(--lilac); }
.site-footer .social a { background: rgba(255,255,255,.1); color: #fff; }
.site-footer .social a:hover { background: var(--violet); }
.footer-bottom {
  margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.12);
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; font-size: .88rem; color: rgba(255,255,255,.6);
}


/* ---------------------------------------------------------------------
   13. ANIMATIONS — subtle reveal on scroll
   Elements with [data-reveal] fade/slide in once when they enter view.
   JS adds .is-visible. Respects reduced-motion preferences.
   --------------------------------------------------------------------- */
[data-reveal] {
  opacity: 0; transform: translateY(18px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal="fade"] { transform: none; }
/* Stagger children inside a grid */
.grid > [data-reveal]:nth-child(2) { transition-delay: .1s; }
.grid > [data-reveal]:nth-child(3) { transition-delay: .2s; }
.grid > [data-reveal]:nth-child(4) { transition-delay: .3s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-reveal] { opacity: 1; transform: none; }
}


/* ---------------------------------------------------------------------
   14. RESPONSIVE
   --------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .site-footer .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  :root { --header-h: 68px; }
  .brand img { height: 38px; }

  /* Mobile navigation: slide-down panel */
  .nav-toggle { display: block; }
  .nav__list {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: .25rem;
    padding: 1rem 4vw 1.5rem;
    background: rgba(237,240,244,.97); backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border); box-shadow: var(--shadow-md);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: transform .3s var(--ease), opacity .3s var(--ease), visibility .3s;
  }
  .nav__list.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav__link { display: block; padding: .9rem 1rem; border-radius: var(--radius-sm); }
  .nav__cta { margin: .5rem 0 0; }
  .nav__cta .btn { width: 100%; }

  .hero__inner, .grid--2, .grid--3, .kids, .contact-grid, .contact-preview { grid-template-columns: 1fr; }
  .hero__media { order: 0; max-width: 420px; margin: 1rem auto 0; }
  .hero__media img { aspect-ratio: 4 / 3; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery .wide { grid-column: span 2; }
  .booking-card { align-items: flex-start; flex-direction: column; }
  .booking-card .btn { width: 100%; }
}

@media (max-width: 540px) {
  body { font-size: 1rem; }
  .hero { padding-top: 2.5rem; }
  .hero__inner { gap: 1.75rem; }
  .hero__media { margin-top: .25rem; }
  .grid--4, .stats { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .gallery .wide { grid-column: span 1; }
  .gallery .wide img { aspect-ratio: 4 / 3; }
  .site-footer .footer-grid { grid-template-columns: 1fr; }
  .chord { inset-inline-end: 8px; bottom: 8px; }
  .btn { width: 100%; }
  .hero__actions .btn { width: 100%; }
}
