/* ============================================
   CheerTwirlTrail — Design System
   Palette: warm peach, soft cream, dusty rose,
            plum ink, lavender mist, satin gold
   ============================================ */

:root {
  --bg: #fdf6f1;
  --bg-warm: #faece2;
  --surface: #ffffff;
  --surface-soft: #fff8f3;
  --ink: #2b1d2f;
  --ink-soft: #5d4a5e;
  --muted: #8e7a8c;
  --line: #ecd9cf;

  --accent: #d96e7c;       /* dusty rose */
  --accent-deep: #b94c5f;
  --accent-warm: #f0a98a;  /* peach */
  --gold: #c89a5a;         /* satin gold */
  --lavender: #e9dcef;
  --plum: #4a2d4d;

  --grad-warm: linear-gradient(135deg, #fbd8c4 0%, #f4b0a2 45%, #d96e7c 100%);
  --grad-soft: linear-gradient(180deg, #fdf6f1 0%, #faece2 100%);
  --grad-ink: linear-gradient(135deg, #4a2d4d 0%, #2b1d2f 100%);

  --shadow-sm: 0 4px 14px rgba(74, 45, 77, 0.06);
  --shadow-md: 0 12px 36px rgba(74, 45, 77, 0.08);
  --shadow-lg: 0 30px 70px rgba(74, 45, 77, 0.12);

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --radius-xl: 40px;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Manrope', system-ui, sans-serif;

  --container: 1320px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; transition: color .25s ease; }
a:hover { color: var(--accent); }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink);
}

h1 { font-size: clamp(2.4rem, 5.5vw, 4.6rem); font-weight: 400; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: 1.35rem; }
h4 { font-size: 1rem; font-weight: 600; font-family: var(--font-body); letter-spacing: .04em; text-transform: uppercase; }

h1 em, h2 em {
  font-style: italic;
  color: var(--accent-deep);
  font-weight: 400;
}

p { color: var(--ink-soft); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 18px;
  padding: 6px 14px;
  background: rgba(217, 110, 124, 0.08);
  border-radius: 100px;
}
.eyebrow.light { color: #fff; background: rgba(255,255,255,.18); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all .3s cubic-bezier(.4,0,.2,1);
  white-space: nowrap;
}
.btn-primary {
  background: var(--grad-warm);
  color: #fff;
  box-shadow: 0 10px 28px rgba(217, 110, 124, 0.32);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(217, 110, 124, 0.4);
  color: #fff;
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  padding-left: 12px;
}
.btn-ghost:hover { color: var(--accent-deep); }
.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent-deep); }
.btn.lg { padding: 18px 34px; font-size: 1rem; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253, 246, 241, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: all .3s ease;
}
.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
  max-width: var(--container);
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 600;
}
.brand-mark {
  display: inline-flex;
  width: 32px;
  height: 32px;
  color: var(--accent-deep);
}
.brand-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: -0.01em;
}

.nav-desktop {
  display: flex;
  gap: 36px;
}
.nav-desktop a {
  font-size: .95rem;
  color: var(--ink-soft);
  font-weight: 500;
  position: relative;
}
.nav-desktop a:hover, .nav-desktop a.active { color: var(--ink); }
.nav-desktop a.active::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.nav-cta { padding: 12px 22px; font-size: .9rem; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 36px;
  height: 36px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: .3s;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 14px;
  padding: 24px 32px 32px;
  background: var(--bg);
  border-top: 1px solid var(--line);
}
.mobile-menu a {
  font-size: 1.1rem;
  color: var(--ink);
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}
.mobile-menu a:last-child { border: none; }
.mobile-menu.open { display: flex; }

/* Hero */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 80px 0 120px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.9) brightness(.95);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(253,246,241,.4) 0%, rgba(253,246,241,.85) 70%, rgba(253,246,241,1) 100%),
    linear-gradient(135deg, rgba(217,110,124,.15), rgba(240,169,138,.1));
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
}
.hero-sub {
  font-size: 1.15rem;
  margin: 20px 0 36px;
  max-width: 580px;
  color: var(--ink-soft);
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 60px;
}
.hero-meta {
  display: flex;
  gap: 50px;
  flex-wrap: wrap;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}
.hero-meta > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hero-meta strong {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--ink);
  font-weight: 500;
}
.hero-meta span {
  font-size: .85rem;
  color: var(--muted);
  letter-spacing: .05em;
}

.hero-ribbon {
  position: absolute;
  right: -120px;
  top: 20%;
  width: 460px;
  height: 460px;
  background: var(--grad-warm);
  filter: blur(80px);
  opacity: .35;
  border-radius: 50%;
  z-index: 1;
  animation: float 12s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translate(0,0); }
  50% { transform: translate(-30px, -20px); }
}

/* Sections */
.section { padding: 120px 0; }

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

/* Trust */
.trust {
  padding: 50px 0;
  background: var(--surface-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.trust-label {
  text-align: center;
  font-size: .78rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}
.trust-row {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}
.trust-row span {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--plum);
  opacity: .7;
}

/* Features */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}
.feature-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 12px;
  box-shadow: var(--shadow-sm);
  transition: all .4s cubic-bezier(.4,0,.2,1);
  border: 1px solid var(--line);
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.feature-img {
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 24px;
  aspect-ratio: 4/3;
}
.feature-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s ease;
}
.feature-card:hover .feature-img img { transform: scale(1.06); }
.feature-card h3 { padding: 0 14px; margin-bottom: 10px; }
.feature-card p { padding: 0 14px 22px; font-size: .95rem; }

/* Why */
.why-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.why-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-lg);
}
.why-image img { width: 100%; height: 100%; object-fit: cover; }
.why-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(10px);
  padding: 16px 22px;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-md);
}
.why-badge strong {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--accent-deep);
}
.why-badge span { font-size: .8rem; color: var(--muted); }

.why-text h2 { margin: 12px 0 22px; }
.why-text p { font-size: 1.05rem; margin-bottom: 18px; }
.why-list {
  list-style: none;
  margin: 28px 0 36px;
}
.why-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-weight: 500;
}
.why-list li:last-child { border: none; }
.why-list li span {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 0 4px rgba(217,110,124,.15);
}

/* Gallery */
.gallery {
  background: var(--surface-soft);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 16px;
}
.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-sm);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s ease;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item.tall { grid-row: span 2; }
.gallery-item.wide { grid-column: span 2; }

/* Testimonials */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}
.testi-card {
  background: var(--surface);
  padding: 36px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  position: relative;
}
.testi-card::before {
  content: '"';
  position: absolute;
  top: 10px;
  left: 24px;
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--accent);
  opacity: .25;
  line-height: 1;
}
.testi-card p {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--ink);
  margin-bottom: 24px;
  position: relative;
}
.testi-card footer { display: flex; flex-direction: column; }
.testi-card strong { font-weight: 600; }
.testi-card span { font-size: .85rem; color: var(--muted); }

/* CTA Banner */
.cta-banner {
  position: relative;
}
.cta-wrap {
  background: var(--grad-ink);
  border-radius: var(--radius-xl);
  padding: 80px;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 40px;
  align-items: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-wrap::before {
  content: '';
  position: absolute;
  top: -60%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: var(--grad-warm);
  border-radius: 50%;
  filter: blur(80px);
  opacity: .35;
}
.cta-wrap > div { position: relative; z-index: 2; }
.cta-wrap h2 { color: #fff; margin: 8px 0 14px; }
.cta-wrap h2 em { color: var(--accent-warm); }
.cta-wrap p { color: rgba(255,255,255,.78); max-width: 480px; }
.cta-wrap .btn { position: relative; z-index: 2; justify-self: end; }

/* Contact strip */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.contact-list {
  list-style: none;
  margin-top: 32px;
}
.contact-list li {
  display: flex;
  flex-direction: column;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.contact-list li:last-child { border: none; }
.contact-list strong {
  font-size: .8rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.contact-list a, .contact-list span { color: var(--ink); font-weight: 500; }

.map-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4/3;
  border: 1px solid var(--line);
}
.map-card iframe { width: 100%; height: 100%; border: 0; }
.map-card.large { aspect-ratio: 21/9; }

/* Page Hero */
.page-hero {
  padding: 140px 0 80px;
  background: var(--grad-soft);
  text-align: center;
}
.page-hero h1 { max-width: 800px; margin: 0 auto 16px; }
.page-hero p { font-size: 1.1rem; max-width: 600px; margin: 0 auto; }

/* About Split */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.split.reverse .split-img { order: 2; }
.split-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4/5;
}
.split-img img { width: 100%; height: 100%; object-fit: cover; }
.split-text h2 { margin: 14px 0 20px; }
.split-text p { font-size: 1.05rem; margin-bottom: 16px; }

/* Values */
.values { background: var(--surface-soft); }
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.value-card {
  background: var(--surface);
  padding: 36px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  transition: transform .4s ease, box-shadow .4s ease;
}
.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.value-num {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--accent-deep);
  margin-bottom: 18px;
  font-style: italic;
}
.value-card h3 { margin-bottom: 10px; font-size: 1.2rem; }
.value-card p { font-size: .95rem; }

/* Programs */
.program-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}
.program-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: all .4s ease;
}
.program-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.program-img {
  aspect-ratio: 16/10;
  overflow: hidden;
}
.program-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s ease;
}
.program-card:hover .program-img img { transform: scale(1.05); }
.program-body { padding: 28px 30px 32px; }
.program-age {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--accent-deep);
  background: rgba(217,110,124,.08);
  padding: 5px 12px;
  border-radius: 100px;
  margin-bottom: 14px;
}
.program-body h3 { margin-bottom: 10px; font-size: 1.5rem; }
.program-body p { font-size: .95rem; margin-bottom: 20px; }
.program-meta {
  display: flex;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: .88rem;
  color: var(--ink-soft);
  font-weight: 500;
}
.program-meta span:last-child { color: var(--accent-deep); font-weight: 600; }

/* Contact Form */
.contact-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
  align-items: start;
}
.contact-form {
  background: var(--surface);
  padding: 48px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.contact-form label {
  display: block;
  margin-bottom: 18px;
}
.contact-form label span {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--ink);
  letter-spacing: .05em;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  font-family: inherit;
  font-size: .95rem;
  background: var(--bg);
  color: var(--ink);
  transition: border-color .25s ease, background .25s ease;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
}
.contact-form textarea { resize: vertical; }
.contact-form .btn { width: 100%; margin-top: 8px; }
.form-status {
  margin-top: 14px;
  font-size: .9rem;
  color: var(--accent-deep);
  text-align: center;
}

.contact-side { display: flex; flex-direction: column; gap: 16px; }
.contact-card {
  background: var(--surface-soft);
  padding: 24px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.contact-card h3 {
  font-family: var(--font-body);
  font-size: .78rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
  font-weight: 600;
}
.contact-card p { color: var(--ink); font-weight: 500; }

.map-section { padding-top: 0; }

/* Legal pages */
.legal { max-width: 820px; }
.legal h2 {
  font-size: 1.4rem;
  margin: 36px 0 12px;
}
.legal h2:first-child { margin-top: 0; }
.legal p { margin-bottom: 14px; }

/* Footer */
.site-footer {
  background: var(--plum);
  color: rgba(255,255,255,.75);
  padding: 80px 0 30px;
  margin-top: 60px;
}
.site-footer .brand { color: #fff; margin-bottom: 14px; }
.site-footer .brand-mark { color: var(--accent-warm); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 50px;
}
.footer-grid h4 {
  color: #fff;
  margin-bottom: 18px;
  font-size: .82rem;
}
.footer-grid a {
  display: block;
  padding: 4px 0;
  color: rgba(255,255,255,.7);
  font-size: .92rem;
}
.footer-grid a:hover { color: var(--accent-warm); }
.footer-tag { font-size: .92rem; max-width: 280px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  font-size: .85rem;
  color: rgba(255,255,255,.5);
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .9s ease, transform .9s ease;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.reveal:nth-child(2) { transition-delay: .1s; }
.reveal:nth-child(3) { transition-delay: .2s; }
.reveal:nth-child(4) { transition-delay: .3s; }
.reveal:nth-child(5) { transition-delay: .4s; }

/* Responsive */
@media (max-width: 1024px) {
  .section { padding: 80px 0; }
  .why-wrap, .split, .cta-wrap, .contact-grid, .contact-layout { grid-template-columns: 1fr; gap: 40px; }
  .split.reverse .split-img { order: 0; }
  .cta-wrap { padding: 50px; text-align: center; }
  .cta-wrap .btn { justify-self: center; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .container { padding: 0 22px; }
  .section { padding: 60px 0; }
  .nav-desktop, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .hero { min-height: 80vh; padding-top: 40px; }
  .hero-meta { gap: 28px; }
  .hero-meta strong { font-size: 1.5rem; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; }
  .gallery-item.wide { grid-column: span 2; }
  .gallery-item.tall { grid-row: span 1; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .contact-form { padding: 28px; }
  .form-row { grid-template-columns: 1fr; }
  .trust-row { gap: 28px; }
  .page-hero { padding: 90px 0 60px; }
}