/* ===========================================================
   ELITE DANCE ACADEMY — MOCK SITE DESIGN SYSTEM
   Kid-friendly · premium · colorful · engaging
   =========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,600;9..144,700;9..144,900&family=Quicksand:wght@400;500;600;700&family=Caveat:wght@600;700&display=swap');

:root {
  --purple-deep: #4A1D77;
  --purple: #7B3FBF;
  --purple-soft: #B689E8;
  --pink: #F048A8;
  --pink-soft: #FFD9EC;
  --gold: #F5B826;
  --gold-soft: #FFE9A8;
  --mint: #4FD1B5;
  --cream: #FFF8EE;
  --warm-white: #FFFCF7;
  --ink: #1F1640;
  --ink-soft: #4A3F6B;
  --gray-warm: #8B83A6;
  --line: rgba(74, 29, 119, 0.12);

  --shadow-sm: 0 4px 12px rgba(74, 29, 119, 0.08);
  --shadow-md: 0 12px 30px rgba(74, 29, 119, 0.14);
  --shadow-lg: 0 24px 60px rgba(74, 29, 119, 0.20);
  --shadow-pop: 0 16px 40px rgba(240, 72, 168, 0.30);

  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 32px;
  --r-xl: 48px;
  --r-pill: 999px;

  --grad-hero: linear-gradient(135deg, #7B3FBF 0%, #F048A8 60%, #F5B826 100%);
  --grad-purple: linear-gradient(135deg, #4A1D77 0%, #7B3FBF 100%);
  --grad-pink: linear-gradient(135deg, #F048A8 0%, #FFB3D9 100%);
  --grad-gold: linear-gradient(135deg, #F5B826 0%, #FFE9A8 100%);
  --grad-mint: linear-gradient(135deg, #4FD1B5 0%, #B7F0DD 100%);

  --container: 1240px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Quicksand', system-ui, -apple-system, sans-serif;
  background: var(--warm-white);
  color: var(--ink);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--purple); text-decoration: none; transition: color .2s; }
a:hover { color: var(--pink); }

h1, h2, h3, h4 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.4rem, 5vw, 4.4rem); font-weight: 900; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); }
h4 { font-size: 1.15rem; }
p { color: var(--ink-soft); }

.handwritten {
  font-family: 'Caveat', cursive;
  font-weight: 700;
  color: var(--pink);
  font-size: 1.6rem;
  display: inline-block;
  transform: rotate(-2deg);
}

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 90px 0; position: relative; }
.section-tight { padding: 60px 0; }

/* ====================== NAV ====================== */
.nav-wrap {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 252, 247, 0.92);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px;
  max-width: var(--container);
  margin: 0 auto;
}
.nav .brand {
  display: flex; align-items: center; gap: 12px;
  font-family: 'Fraunces', serif;
  font-weight: 900;
  color: var(--purple-deep);
  font-size: 1.3rem;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.nav .brand img {
  height: 72px; width: auto;
  display: block;
}
.nav .brand .logo {
  width: 38px; height: 38px; border-radius: 12px;
  background: var(--grad-hero);
  display: grid; place-items: center;
  color: white; font-family: 'Fraunces', serif; font-weight: 900;
  box-shadow: var(--shadow-sm);
}

/* Dancer brand mark — used as a decorative watermark in heroes & footers */
.dancer-watermark {
  position: absolute; pointer-events: none;
  opacity: .12; z-index: 0;
}
.dancer-watermark img {
  width: 100%; height: 100%; object-fit: contain;
}
.brand-dancer-accent {
  display: inline-block;
  height: 60px; width: auto; vertical-align: middle;
}

/* 6-up gallery strip on desktop, 3-up on tablet, 2-up on mobile */
.gallery-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
}
.gallery-strip > div {
  aspect-ratio: 1/1; overflow: hidden;
  transition: transform .4s;
}
.gallery-strip > div:hover { transform: scale(1.04); z-index: 2; }
.gallery-strip img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
@media (max-width: 1024px) {
  .gallery-strip { grid-template-columns: repeat(3, 1fr); }
  .gallery-strip > div:nth-child(n+4) { display: none; }
}
@media (max-width: 600px) {
  .gallery-strip { grid-template-columns: repeat(2, 1fr); }
  .gallery-strip > div:nth-child(n+3) { display: none; }
}
.footer .brand-block .brand img {
  height: 64px; width: auto;
  display: block;
}
.nav-links {
  display: flex; align-items: center; gap: 6px;
  list-style: none;
}
.nav-links a {
  padding: 10px 14px;
  border-radius: var(--r-pill);
  color: var(--ink);
  font-weight: 600;
  font-size: .95rem;
  transition: all .2s;
}
.nav-links a:hover {
  background: var(--pink-soft);
  color: var(--purple-deep);
}
.nav-links a.active {
  background: var(--purple-deep);
  color: white;
}
.nav-cta {
  background: var(--grad-pink);
  color: white !important;
  font-weight: 700 !important;
  padding: 12px 22px !important;
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-pop);
  transition: transform .2s !important;
}
.nav-cta:hover { transform: translateY(-2px) scale(1.04); }
.nav-portal {
  border: 2px solid var(--purple);
  color: var(--purple) !important;
}

.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.hamburger span {
  display: block; width: 26px; height: 3px;
  background: var(--purple-deep); margin: 5px 0;
  border-radius: 2px; transition: all .25s;
}

/* ====================== BUTTONS ====================== */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 32px;
  border-radius: var(--r-pill);
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer; border: none;
  transition: all .25s ease;
  text-decoration: none;
  font-family: 'Quicksand', sans-serif;
}
.btn-primary {
  background: var(--grad-pink);
  color: white;
  box-shadow: var(--shadow-pop);
}
.btn-primary:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 22px 50px rgba(240, 72, 168, 0.40);
  color: white;
}
.btn-secondary {
  background: white;
  color: var(--purple-deep);
  border: 2px solid var(--purple);
  box-shadow: var(--shadow-sm);
}
.btn-secondary:hover {
  background: var(--purple-deep); color: white;
  border-color: var(--purple-deep);
  transform: translateY(-3px);
}
.btn-gold {
  background: var(--grad-gold);
  color: var(--purple-deep);
  box-shadow: 0 12px 30px rgba(245, 184, 38, 0.40);
}
.btn-gold:hover { transform: translateY(-3px) scale(1.03); }
.btn-ghost {
  background: transparent; color: var(--purple-deep);
  border: 2px solid var(--line);
}
.btn-ghost:hover {
  background: var(--purple-deep); color: white; border-color: var(--purple-deep);
}
.btn-arrow::after { content: '→'; font-size: 1.2em; transition: transform .2s; }
.btn:hover .btn-arrow::after, .btn-arrow:hover::after { transform: translateX(4px); }

/* ====================== HERO ====================== */
.hero {
  position: relative;
  padding: 80px 0 100px;
  background: radial-gradient(ellipse at top right, rgba(240, 72, 168, 0.08), transparent 60%),
              radial-gradient(ellipse at bottom left, rgba(245, 184, 38, 0.08), transparent 60%),
              var(--warm-white);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: white; padding: 8px 18px;
  border-radius: var(--r-pill);
  font-size: .85rem; font-weight: 700;
  color: var(--purple-deep);
  box-shadow: var(--shadow-sm);
  margin-bottom: 22px;
}
.hero-eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--mint); animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(1.3); }
}
.hero h1 { color: var(--ink); margin-bottom: 22px; }
.hero h1 .accent { color: var(--purple); position: relative; }
.hero h1 .accent::after {
  content: ''; position: absolute; bottom: 4px; left: 0; right: 0; height: 14px;
  background: var(--gold-soft); z-index: -1; transform: skew(-6deg);
}
.hero p.lede {
  font-size: 1.25rem; max-width: 560px; margin-bottom: 36px;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.trust-strip {
  display: flex; gap: 28px; flex-wrap: wrap;
  margin-top: 44px; padding-top: 28px;
  border-top: 1px dashed var(--line);
}
.trust-item { display: flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--ink-soft); font-weight: 600; }
.trust-item .num { color: var(--purple); font-family: 'Fraunces', serif; font-size: 1.4rem; font-weight: 900; }
.stars { color: var(--gold); font-size: 1.1rem; letter-spacing: 2px; }

/* hero photo collage */
.hero-photos {
  position: relative;
  height: 580px;
}
.hero-photo {
  position: absolute; border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 6px solid white;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo.p1 { width: 280px; height: 360px; top: 0; right: 0; transform: rotate(4deg); }
.hero-photo.p2 { width: 240px; height: 300px; bottom: 40px; left: 0; transform: rotate(-5deg); z-index: 2; }
.hero-photo.p3 { width: 200px; height: 220px; bottom: 0; right: 60px; transform: rotate(3deg); z-index: 1; }

.hero-sticker {
  position: absolute;
  background: var(--gold);
  color: var(--purple-deep);
  font-family: 'Fraunces', serif;
  font-weight: 900;
  font-size: .95rem;
  text-align: center;
  width: 130px; height: 130px;
  border-radius: 50%;
  display: grid; place-items: center;
  line-height: 1.05;
  padding: 14px;
  top: 230px; left: 190px;
  transform: rotate(-12deg);
  box-shadow: var(--shadow-md);
  z-index: 5;
  border: 4px solid white;
}
.hero-sticker span { font-size: .68rem; }

/* ====================== AGE PICKER ====================== */
.age-picker { background: var(--cream); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head .eyebrow {
  display: inline-block;
  font-family: 'Caveat', cursive; font-weight: 700;
  color: var(--pink); font-size: 1.6rem;
  transform: rotate(-2deg); margin-bottom: 8px;
}
.section-head h2 { margin-bottom: 14px; }
.section-head p { font-size: 1.15rem; }

.age-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
.age-card {
  background: white;
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all .3s;
  cursor: pointer;
  border: 2px solid transparent;
  display: flex; flex-direction: column;
}
.age-card:hover {
  transform: translateY(-8px) rotate(-1deg);
  box-shadow: var(--shadow-lg);
  border-color: var(--pink);
}
.age-card .photo {
  height: 240px; position: relative; overflow: hidden;
}
.age-card .photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform .5s; }
.age-card:hover .photo img { transform: scale(1.08); }
.age-card .age-pill {
  position: absolute; top: 12px; left: 12px;
  background: white; padding: 4px 12px;
  border-radius: var(--r-pill);
  font-weight: 700; font-size: .8rem;
  color: var(--purple-deep);
  box-shadow: var(--shadow-sm);
}
.age-card .body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.age-card h3 { font-size: 1.3rem; margin-bottom: 6px; }
.age-card .desc { font-size: .92rem; color: var(--ink-soft); margin-bottom: 14px; flex: 1; }
.age-card .price { font-weight: 700; color: var(--purple); }
.age-card.toddler .age-pill { background: var(--pink); color: white; }
.age-card.mini .age-pill { background: var(--gold); color: var(--purple-deep); }
.age-card.kid .age-pill { background: var(--mint); color: var(--purple-deep); }
.age-card.teen .age-pill { background: var(--purple); color: white; }
.age-card.comp .age-pill { background: var(--purple-deep); color: var(--gold); }

/* ====================== DIFFERENTIATORS ====================== */
.diff-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
}
.diff-card {
  padding: 32px 24px;
  border-radius: var(--r-lg);
  text-align: center;
  position: relative;
  background: white;
  box-shadow: var(--shadow-sm);
  transition: all .3s;
}
.diff-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.diff-icon {
  width: 72px; height: 72px;
  border-radius: 24px;
  display: grid; place-items: center;
  margin: 0 auto 18px;
  background: var(--grad-pink);
  color: white;
}
.diff-card.c2 .diff-icon { background: var(--grad-gold); color: var(--purple-deep); }
.diff-card.c3 .diff-icon { background: var(--grad-purple); }
.diff-card.c4 .diff-icon { background: var(--grad-mint); color: var(--purple-deep); }
.diff-card h3 { margin-bottom: 8px; font-size: 1.25rem; }
.diff-card p { font-size: .95rem; }

/* ====================== PROGRAMS ====================== */
.programs { background: var(--purple-deep); color: white; position: relative; overflow: hidden; }
.programs::before {
  content: ''; position: absolute; top: -50%; right: -10%; width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(245, 184, 38, 0.15), transparent 70%);
  pointer-events: none;
}
.programs::after {
  content: ''; position: absolute; bottom: -50%; left: -10%; width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(240, 72, 168, 0.15), transparent 70%);
  pointer-events: none;
}
.programs h2 { color: white; }
.programs .section-head p { color: rgba(255, 255, 255, 0.8); }
.programs-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
  position: relative;
}
.program-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r-lg);
  padding: 36px 28px;
  transition: all .3s;
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
}
/* Push the card's call-to-action link to the bottom so neighboring cards align */
.program-card > a:last-child { margin-top: auto; padding-top: 12px; }
.program-card:hover {
  background: rgba(255, 255, 255, 0.10);
  transform: translateY(-6px);
  border-color: var(--gold);
}
.program-card .tag {
  display: inline-block; padding: 6px 14px;
  background: var(--gold); color: var(--purple-deep);
  border-radius: var(--r-pill); font-weight: 700; font-size: .8rem;
  margin-bottom: 18px;
}
.program-card.comp .tag { background: var(--pink); color: white; }
.program-card.camp .tag { background: var(--mint); color: var(--purple-deep); }
.program-card h3 { color: white; margin-bottom: 10px; }
.program-card p { color: rgba(255, 255, 255, 0.78); margin-bottom: 18px; }
.program-card a { color: var(--gold); font-weight: 700; }
.program-card a:hover { color: white; }

/* ====================== PRICING ====================== */
.price-hero {
  background: var(--grad-hero);
  color: white;
  padding: 80px 0 60px;
  text-align: center;
  position: relative;
}
.price-hero h1 { color: white; }
.price-hero p { color: rgba(255, 255, 255, 0.92); font-size: 1.2rem; max-width: 640px; margin: 16px auto 0; }

.price-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
}
.price-card {
  background: white;
  border-radius: var(--r-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: all .3s;
  border-top: 6px solid var(--purple);
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
/* Pills (eyebrow tags) shrink to content width — never stretch the full card */
.price-card .ptag { align-self: flex-start; width: auto; }
/* Push the LAST element to the bottom so neighboring cards align their bottom anchor */
.price-card > :last-child { margin-top: auto; }
.price-card.featured {
  border-top-color: var(--pink);
  background: linear-gradient(180deg, #FFF6FA 0%, white 100%);
}
.price-card.gold-top { border-top-color: var(--gold); }
.price-card.mint-top { border-top-color: var(--mint); }
.price-card .ptag {
  display: inline-block;
  font-size: .8rem; font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: var(--r-pill);
  background: var(--purple-deep); color: white;
  margin-bottom: 14px;
}
.price-card.featured .ptag { background: var(--pink); }
.price-card.gold-top .ptag { background: var(--gold); color: var(--purple-deep); }
.price-card.mint-top .ptag { background: var(--mint); color: var(--purple-deep); }
.price-card h3 { margin-bottom: 6px; }
.price-card .window { color: var(--gray-warm); font-size: .92rem; margin-bottom: 18px; }
.price-row {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px dashed var(--line);
}
.price-row:last-of-type { border-bottom: none; }
.price-row .label { font-size: .98rem; color: var(--ink-soft); flex: 1; padding-right: 14px; }
.price-row .amount {
  font-family: 'Fraunces', serif;
  font-size: 1.6rem; font-weight: 900;
  color: var(--purple-deep);
  white-space: nowrap;
}
.price-row .amount .sub { font-size: .7rem; color: var(--gray-warm); display: block; font-weight: 600; font-family: 'Quicksand', sans-serif; }
.price-note {
  font-size: .85rem; color: var(--gray-warm);
  margin-top: 14px; padding: 12px 14px;
  background: var(--cream); border-radius: var(--r-sm);
  font-style: italic;
}

/* ====================== TESTIMONIALS ====================== */
.testimonials { background: var(--cream); }
.testimonial-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
  margin-bottom: 40px;
}
.testimonial {
  background: white; padding: 28px;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  position: relative;
}
.testimonial::before {
  content: '"';
  position: absolute; top: -10px; left: 22px;
  font-family: 'Fraunces', serif;
  font-size: 6rem; line-height: 1;
  color: var(--gold); font-weight: 900;
}
.testimonial .quote {
  font-style: italic; color: var(--ink-soft);
  margin-bottom: 18px; padding-top: 22px;
}
.testimonial .who {
  display: flex; align-items: center; gap: 12px;
  border-top: 1px solid var(--line); padding-top: 16px;
}
.testimonial .avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--grad-pink);
  display: grid; place-items: center;
  color: white; font-weight: 700;
  font-family: 'Fraunces', serif;
}
.testimonial .who-info { flex: 1; }
.testimonial .who-name { font-weight: 700; color: var(--ink); }
.testimonial .who-detail { font-size: .85rem; color: var(--gray-warm); }
.review-cta {
  text-align: center; padding: 28px;
  background: white; border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  display: flex; align-items: center; justify-content: center; gap: 22px;
  flex-wrap: wrap;
}
.review-cta .stars-big { color: var(--gold); font-size: 2rem; letter-spacing: 4px; }
.review-cta .rating { font-family: 'Fraunces', serif; font-size: 2rem; font-weight: 900; color: var(--purple-deep); }
.review-cta .label { font-weight: 600; }

/* ====================== OWNER ====================== */
.owner-section {
  display: grid; grid-template-columns: 1fr 1.3fr;
  gap: 60px; align-items: center;
}
.owner-photo {
  border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
  border: 8px solid white;
}
.owner-photo img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.owner-photo .badge {
  position: absolute; bottom: 20px; left: 20px;
  background: var(--gold); color: var(--purple-deep);
  padding: 8px 18px; border-radius: var(--r-pill);
  font-family: 'Caveat', cursive; font-size: 1.4rem; font-weight: 700;
  box-shadow: var(--shadow-sm);
}
.owner-info .eyebrow {
  font-family: 'Caveat', cursive; color: var(--pink);
  font-size: 1.6rem; font-weight: 700;
}
.owner-info h2 { margin-bottom: 18px; }
.owner-info p { font-size: 1.1rem; margin-bottom: 16px; }
.owner-info .credentials {
  display: flex; gap: 24px; margin-top: 26px; flex-wrap: wrap;
}
.cred-item { font-weight: 700; color: var(--purple-deep); }
.cred-item .num {
  display: block; font-family: 'Fraunces', serif;
  font-size: 2.4rem; font-weight: 900;
  color: var(--pink); line-height: 1;
}

/* ====================== CALENDAR ====================== */
.calendar-strip {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.cal-card {
  padding: 28px;
  border-radius: var(--r-lg);
  background: white;
  box-shadow: var(--shadow-sm);
  position: relative;
  border-left: 6px solid var(--gold);
  transition: all .3s;
}
.cal-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.cal-card.pink { border-left-color: var(--pink); }
.cal-card.mint { border-left-color: var(--mint); }
.cal-date {
  display: inline-block; padding: 4px 14px;
  background: var(--purple-deep); color: white;
  font-weight: 700; font-size: .85rem;
  border-radius: var(--r-pill);
  margin-bottom: 14px;
}
.cal-card h3 { font-size: 1.25rem; margin-bottom: 8px; }
.cal-card p { font-size: .95rem; }

/* ====================== TRY A CLASS CTA BAND ====================== */
.cta-band {
  background: var(--grad-hero);
  color: white;
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band h2 { color: white; margin-bottom: 18px; }
.cta-band p { color: rgba(255, 255, 255, 0.95); font-size: 1.2rem; max-width: 600px; margin: 0 auto 32px; }
.cta-band .btn-primary {
  background: white; color: var(--purple-deep);
  font-size: 1.15rem;
}
.cta-band .btn-primary:hover { background: var(--gold); color: var(--purple-deep); }

/* ====================== FOOTER ====================== */
.footer {
  background: var(--ink); color: white;
  padding: 70px 0 30px;
  position: relative;
}
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr; gap: 32px;
}
.footer h4 { color: white; margin-bottom: 18px; font-size: 1rem; text-transform: uppercase; letter-spacing: 1px; }
.footer .brand-block { color: rgba(255,255,255,0.92); }
.footer .brand-block .brand { color: white; margin-bottom: 14px; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 8px; }
.footer ul a { color: rgba(255, 255, 255, 0.9); }
.footer ul a:hover { color: var(--gold); }
.footer .contact-row { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; color: rgba(255,255,255,0.95); font-size: .95rem; }
.footer .contact-row a { color: rgba(255,255,255,0.95); }
.footer .contact-row a:hover { color: var(--gold); }
.footer .icon-circle {
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: grid; place-items: center; flex-shrink: 0;
  color: var(--gold);
}
.footer-social {
  display: flex; gap: 10px; margin-top: 14px;
}
.footer-social a {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: grid; place-items: center;
  color: white;
  transition: all .25s;
}
.footer-social a:hover { background: var(--pink); transform: translateY(-2px); }
.footer-bottom {
  margin-top: 50px; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.10);
  text-align: center; color: rgba(255,255,255,0.5);
  font-size: .9rem;
}

/* Mobile sticky CTA permanently hidden — removed per Mike 2026-05-06 */
.sticky-mobile-cta { display: none !important; }

/* ====================== PAGE HEADERS ====================== */
.page-hero {
  padding: 70px 0 60px;
  text-align: center;
  background: linear-gradient(135deg, var(--cream) 0%, var(--pink-soft) 100%);
  position: relative;
  overflow: hidden;
}
.page-hero h1 { margin-bottom: 14px; }
.page-hero p { font-size: 1.2rem; max-width: 700px; margin: 0 auto; }
.breadcrumb {
  display: inline-flex; gap: 8px; align-items: center;
  font-size: .9rem; font-weight: 600;
  margin-bottom: 18px;
  color: var(--ink-soft);
}
.breadcrumb a { color: var(--purple); }

/* ====================== FAQ ====================== */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
  background: white; border-radius: var(--r-md);
  margin-bottom: 14px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  border-left: 4px solid var(--purple);
}
.faq-q {
  padding: 22px 26px;
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  font-weight: 700; font-size: 1.05rem;
  color: var(--ink);
}
.faq-q::after { content: '+'; font-size: 1.6rem; color: var(--pink); transition: transform .25s; }
.faq-item.open .faq-q::after { content: '−'; }
.faq-a {
  max-height: 0; overflow: hidden; transition: all .35s ease;
  padding: 0 26px;
  color: var(--ink-soft);
}
.faq-item.open .faq-a {
  max-height: 600px; padding: 0 26px 22px;
}

/* ====================== FORM ====================== */
.form-card {
  max-width: 560px; margin: 0 auto;
  background: white; padding: 40px;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  border-top: 8px solid var(--gold);
}
.form-row { margin-bottom: 18px; }
.form-row label {
  display: block; font-weight: 700;
  margin-bottom: 6px; color: var(--ink);
  font-size: .95rem;
}
.form-row input, .form-row textarea, .form-row select {
  width: 100%; padding: 14px 18px;
  border: 2px solid var(--line);
  border-radius: var(--r-md);
  font-size: 1rem; font-family: 'Quicksand', sans-serif;
  background: var(--cream);
  transition: border-color .2s;
}
.form-row input:focus, .form-row textarea:focus, .form-row select:focus {
  outline: none; border-color: var(--pink); background: white;
}

/* ====================== UTILITIES ====================== */
.center { text-align: center; }
.mt-4 { margin-top: 32px; }
.confetti-bg {
  position: absolute; pointer-events: none;
  font-family: 'Caveat', cursive;
  color: var(--gold-soft); font-size: 6rem;
  font-weight: 700; opacity: .35;
  z-index: 0;
}

/* ====================== RESPONSIVE ====================== */
@media (max-width: 1024px) {
  .age-grid { grid-template-columns: repeat(3, 1fr); }
  .diff-grid { grid-template-columns: repeat(2, 1fr); }
  .programs-grid { grid-template-columns: 1fr; }
  .price-grid { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .calendar-strip { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .owner-section { grid-template-columns: 1fr; }
  .hero-photos { height: 460px; max-width: 480px; margin: 0 auto; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: white;
    padding: 14px 18px 22px;
    gap: 8px;
    box-shadow: var(--shadow-md);
    border-bottom: 1px solid var(--line);
    align-items: stretch;
  }
  .nav-links.open li {
    width: 100%;
    list-style: none;
  }
  .nav-links.open a {
    display: block;
    width: 100%;
    padding: 14px 18px;
    text-align: center;
    border-radius: var(--r-pill);
  }
  /* Parent Portal & Register pills: full-width with normal pill styling, no overlap */
  .nav-links.open .nav-portal,
  .nav-links.open .nav-cta {
    margin: 6px 0 0;
    padding: 14px 18px !important;
    box-shadow: none;
    transform: none !important;
  }
  .nav-links.open .nav-cta { box-shadow: var(--shadow-pop); }
  .hamburger { display: block; }
  .age-grid { grid-template-columns: 1fr 1fr; }
  .diff-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 50px 0 70px; }
  .section { padding: 60px 0; }
  /* Hero photo collage — tighten so it doesn't bleed off-viewport on phones */
  .hero-photos {
    max-width: 320px !important;
    height: 420px !important;
    overflow: visible;
  }
  .hero-photo.p1 { width: 200px; height: 250px; right: 0; top: 0; }
  .hero-photo.p2 { width: 160px; height: 195px; left: 0; bottom: 30px; }
  .hero-photo.p3 { width: 140px; height: 155px; right: 20px; bottom: 0; }
  .hero-sticker {
    width: 96px; height: 96px;
    top: 160px; left: 90px;
    font-size: .78rem;
    padding: 8px;
    line-height: 1.1;
  }
  .hero-sticker span { font-size: .62rem; line-height: 1.1; }
  /* Decorative watermark — head positioned behind the "B" in "Bows" of the h1.
     Image is 1024x1024 with the dancer's head ~25% from top, ~32% from left.
     top: 55 puts the head at the Bows line (~y=246); left: -125 shifts the head
     back to the left margin where "B" sits. Foot falls wherever it falls. */
  .hero > img[src*="dancer-purple"] {
    display: block;
    height: clamp(380px, 120vw, 500px) !important;
    width: auto !important;
    top: 55px !important;
    bottom: auto !important;
    left: -110px !important;
    opacity: .10;
  }
  .hero-ctas .btn { padding: 14px 22px; font-size: 1rem; }

  /* Logo sizing for tablet (≤720px) */
  .nav .brand img { height: 56px; }
  .footer .brand-block .brand img { height: 56px; }

  /* Stack ALL inline grid layouts (since most pages use inline styles) */
  section [style*="grid-template-columns: repeat(2"],
  section [style*="grid-template-columns: repeat(3"],
  section [style*="grid-template-columns: repeat(4"],
  section [style*="grid-template-columns: repeat(5"],
  section [style*="grid-template-columns: repeat(6"],
  section [style*="grid-template-columns: 1fr 1fr"],
  section [style*="grid-template-columns: 1.3fr 1fr"],
  section [style*="grid-template-columns: 1.1fr 1fr"],
  section [style*="grid-template-columns: 200px 1fr"],
  section [style*="grid-template-columns: 80px 1fr"] {
    grid-template-columns: 1fr !important;
  }

  /* Tighten oversized gaps */
  section [style*="gap: 60px"],
  section [style*="gap: 50px"],
  section [style*="gap: 40px"] {
    gap: 24px !important;
  }

  /* Why Elite — shrink the giant 8rem numbered headings */
  section [style*="font-size: 8rem"] {
    font-size: 4rem !important;
    text-align: center;
  }

  /* Hero headline — slightly smaller so it fits without wrapping awkwardly */
  .hero h1 { font-size: 2.4rem; }
  .hero p.lede { font-size: 1.05rem; }

  /* Page heroes — tighten padding */
  .page-hero { padding: 50px 0 40px; }
  .page-hero h1 { font-size: 2rem; }
  .page-hero p { font-size: 1rem; }

  /* Section-head spacing */
  .section-head { margin-bottom: 36px; }
  .section-head h2 { font-size: 1.7rem; }

  /* Owner photos — keep manageable height when stacked */
  .owner-photo img { aspect-ratio: 4/5; max-height: 460px; }
  .owner-info h2 { font-size: 1.6rem; }
  .owner-info p { font-size: 1rem; }

  /* Trust strip — let items wrap nicely */
  .trust-strip { gap: 12px; }
  .trust-item { font-size: .85rem; }

  /* Jump nav on schedule page — pills get full row when needed */
  .section-tight .container { gap: 8px !important; }
  .section-tight .btn { padding: 10px 16px; font-size: .9rem; }

  /* Jackrabbit live openings table — let it scroll horizontally */
  #schedule-grid table { font-size: .85rem; }

  /* Programs section grids — single column on phones for readability */
  .programs [style*="grid-template-columns: repeat(3"] {
    grid-template-columns: 1fr !important;
  }

  /* Pricing card amounts — keep them readable */
  .price-row .amount { font-size: 1.3rem; }

  /* Welcome page step numbers — keep them visible */
  section [style*="font-size: 3.5rem"] {
    font-size: 2.5rem !important;
  }

  /* Buttons in CTAs — larger touch target */
  .cta-band .btn { font-size: 1rem; padding: 14px 24px; }

  /* Form card padding + width constraint for mobile */
  .form-card { padding: 24px 18px; max-width: 100%; }
  iframe { max-width: 100%; }
  /* Defensive: prevent horizontal scroll on phones */
  body { overflow-x: hidden; }

  /* Schedule visual cards & company tier cards: more breathing room */
  section a[href*="schedule.elitedanceacademyllc.com"] { margin-bottom: 4px; }

  /* Container side padding — tighten */
  .container { padding: 0 16px; }
}

/* Tablet: many things still want to share rows */
@media (max-width: 1024px) and (min-width: 721px) {
  /* 3 / 4 / 5 / 6-col inline grids → 2 cols on tablet */
  section [style*="grid-template-columns: repeat(3"],
  section [style*="grid-template-columns: repeat(4"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  section [style*="grid-template-columns: repeat(5"],
  section [style*="grid-template-columns: repeat(6"] {
    grid-template-columns: repeat(3, 1fr) !important;
  }

  /* Owner section variant grid → stacks */
  section [style*="grid-template-columns: 1.3fr 1fr"],
  section [style*="grid-template-columns: 1.1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }

  /* Why Elite numbered rows: shrink 200px column to keep readable */
  section [style*="grid-template-columns: 200px 1fr"] {
    grid-template-columns: 100px 1fr !important;
  }
  section [style*="font-size: 8rem"] {
    font-size: 5rem !important;
  }

  /* Owner photos / image+text 1fr 1fr blocks → stack */
  section [style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }
}

/* ====================== LOGO — phone breakpoint ====================== */
@media (max-width: 480px) {
  .nav .brand img { height: 40px; }
  .footer .brand-block .brand img { height: 48px; }
}
