/* =============================================
   MATERIAL DESIGN 3 — PIROUETTE DANCE STUDIO
   Google Style Redesign
   ============================================= */

/* ── Tokens ── */
:root {
  /* Google / MD3 Color System */
  --md-primary:         #4285F4;
  --md-primary-dark:    #1A73E8;
  --md-primary-light:   #E8F0FE;
  --md-on-primary:      #FFFFFF;

  --md-secondary:       #7B5EA7;   /* dance-purple accent */
  --md-tertiary:        #FBBC05;   /* Google yellow */
  --md-error:           #EA4335;

  --md-surface:         #FFFFFF;
  --md-surface-1:       #F8F9FA;
  --md-surface-2:       #F1F3F4;
  --md-surface-dark:    #202124;
  --md-surface-dark2:   #303134;

  --md-on-surface:      #202124;
  --md-on-surface-v:    #5F6368;   /* variant / subdued */
  --md-outline:         #DADCE0;
  --md-outline-v:       #E8EAED;

  /* Elevation (MD3 tonal surfaces via box-shadow) */
  --elev-1: 0 1px 3px rgba(60,64,67,.15), 0 1px 2px rgba(60,64,67,.3);
  --elev-2: 0 2px 6px 2px rgba(60,64,67,.15), 0 1px 2px rgba(60,64,67,.3);
  --elev-3: 0 4px 8px 3px rgba(60,64,67,.15), 0 1px 3px rgba(60,64,67,.3);
  --elev-4: 0 6px 10px 4px rgba(60,64,67,.15), 0 2px 3px rgba(60,64,67,.3);

  /* Shape */
  --r-xs:   4px;
  --r-sm:   8px;
  --r-md:   12px;
  --r-lg:   16px;
  --r-xl:   24px;
  --r-full: 9999px;

  /* Nav */
  --nav-h: 64px;

  /* Transitions */
  --dur: 0.25s;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Roboto', 'Google Sans', sans-serif;
  background: var(--md-surface-1);
  color: var(--md-on-surface);
  overflow-x: hidden;
  padding-top: var(--nav-h);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a   { text-decoration: none; color: inherit; }
ul  { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; }

/* ──────────────────────────────────────────────
   TOP APP BAR (Google-style nav)
   ────────────────────────────────────────────── */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-h);
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 0;
  padding: 0 16px 0 8px;
  background: var(--md-surface);
  border-bottom: 1px solid var(--md-outline);
  box-shadow: var(--elev-1);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 8px;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--md-on-surface);
  flex-shrink: 0;
  margin-right: 8px;
}

/* Google-dots logo mark */
.nav-logo-dots {
  display: flex;
  gap: 3px;
  flex-shrink: 0;
}
.nav-logo-dots span {
  width: 8px; height: 8px;
  border-radius: 50%;
}
.nav-logo-dots span:nth-child(1) { background: #4285F4; }
.nav-logo-dots span:nth-child(2) { background: #EA4335; }
.nav-logo-dots span:nth-child(3) { background: #FBBC05; }
.nav-logo-dots span:nth-child(4) { background: #34A853; }

.nav-center {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}
.nav-center a {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--md-on-surface-v);
  padding: 6px 12px;
  border-radius: var(--r-full);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
  white-space: nowrap;
}
.nav-center a:hover {
  background: var(--md-surface-2);
  color: var(--md-on-surface);
}
.nav-center a.active {
  background: var(--md-primary-light);
  color: var(--md-primary-dark);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* Material Filled Button */
.btn-nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.025em;
  color: var(--md-on-primary);
  background: var(--md-primary);
  padding: 0 20px;
  height: 36px;
  border-radius: var(--r-full);
  transition: background var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  box-shadow: var(--elev-1);
}
.btn-nav-cta:hover {
  background: var(--md-primary-dark);
  box-shadow: var(--elev-2);
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: var(--r-full);
  background: none;
  transition: background var(--dur);
}
.nav-toggle:hover { background: var(--md-surface-2); }
.nav-toggle span {
  display: block;
  width: 20px; height: 2px;
  background: var(--md-on-surface);
  border-radius: 2px;
  transition: transform var(--dur) var(--ease), opacity var(--dur);
  position: absolute;
}
.nav-toggle span:nth-child(1) { transform: translateY(-6px); }
.nav-toggle span:nth-child(3) { transform: translateY( 6px); }

/* ──────────────────────────────────────────────
   HERO — Google Product-page style
   ────────────────────────────────────────────── */
.hero {
  min-height: calc(100vh - var(--nav-h));
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 0;
  background: var(--md-surface);
  overflow: hidden;
  position: relative;
}

/* Colorful decorative circle (Google-ism) */
.hero::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  right: -80px; top: -80px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--md-primary-light) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  width: 300px; height: 300px;
  left: 20%; bottom: -40px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(251,188,5,.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-text {
  padding: 80px 64px 80px 80px;
  position: relative;
  z-index: 1;
}

/* Google-style chip / eyebrow */
.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--md-primary);
  background: var(--md-primary-light);
  padding: 4px 12px;
  border-radius: var(--r-full);
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(2.6rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--md-on-surface);
  margin-bottom: 20px;
}
.hero-title .color-blue  { color: #4285F4; }
.hero-title .color-red   { color: #EA4335; }
.hero-title .color-yellow{ color: #FBBC05; }
.hero-title .color-green { color: #34A853; }

.hero-subtitle {
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--md-on-surface-v);
  margin-bottom: 40px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.hero-visual {
  position: relative;
  height: 100%;
  min-height: 540px;
  background: linear-gradient(135deg, #E8F0FE 0%, #C5D9FF 50%, #D8EAD3 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Background image support */
.hero-visual-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Abstract Google-style shapes in hero visual */
.hero-shapes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero-shapes .shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.5;
}
.hero-shapes .s1 {
  width: 280px; height: 280px;
  background: #4285F4;
  top: 10%; left: 15%;
  opacity: 0.15;
}
.hero-shapes .s2 {
  width: 180px; height: 180px;
  background: #EA4335;
  bottom: 20%; right: 10%;
  opacity: 0.12;
}
.hero-shapes .s3 {
  width: 120px; height: 120px;
  background: #FBBC05;
  top: 60%; left: 30%;
  opacity: 0.18;
}

/* Dancer SVG centered in hero visual */
.hero-dancer {
  position: relative;
  z-index: 2;
  height: 72%;
  width: auto;
  opacity: 0.7;
  filter: drop-shadow(0 8px 24px rgba(66,133,244,0.2));
  animation: floatDancer 4s ease-in-out infinite;
}
@keyframes floatDancer {
  0%, 100% { transform: translateY(0px);  }
  50%       { transform: translateY(-12px);}
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 80px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--md-on-surface-v);
  z-index: 2;
}
.hero-scroll .scroll-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--md-primary);
  animation: scrollPulse 2s ease-in-out infinite;
}

/* ──────────────────────────────────────────────
   MATERIAL BUTTONS
   ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Roboto', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.025em;
  padding: 0 24px;
  height: 40px;
  border-radius: var(--r-full);
  border: none;
  cursor: pointer;
  transition: background var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease),
              transform var(--dur) var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }

/* Filled (primary) */
.btn-filled {
  background: var(--md-primary);
  color: var(--md-on-primary);
  box-shadow: var(--elev-1);
}
.btn-filled:hover {
  background: var(--md-primary-dark);
  box-shadow: var(--elev-2);
}

/* Outlined */
.btn-outlined {
  background: transparent;
  color: var(--md-primary);
  border: 1.5px solid var(--md-primary);
}
.btn-outlined:hover {
  background: var(--md-primary-light);
}

/* Tonal (secondary container) */
.btn-tonal {
  background: var(--md-primary-light);
  color: var(--md-primary-dark);
}
.btn-tonal:hover {
  background: #D2E3FC;
  box-shadow: var(--elev-1);
}

/* White variant for dark backgrounds */
.btn-white {
  background: var(--md-surface);
  color: var(--md-primary-dark);
  box-shadow: var(--elev-2);
}
.btn-white:hover {
  box-shadow: var(--elev-3);
}

/* ──────────────────────────────────────────────
   SECTION LAYOUTS
   ────────────────────────────────────────────── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--md-primary);
  margin-bottom: 12px;
}
.section-label::before {
  content: '';
  width: 20px; height: 3px;
  border-radius: 2px;
  background: var(--md-primary);
  flex-shrink: 0;
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--md-on-surface);
  margin-bottom: 16px;
}

.section-body {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--md-on-surface-v);
}

/* ──────────────────────────────────────────────
   STATS — Google-style metric cards
   ────────────────────────────────────────────── */
.stats-strip {
  background: var(--md-surface);
  padding: 0 80px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--md-outline);
}
.stats-item {
  padding: 40px 32px;
  text-align: center;
  border-right: 1px solid var(--md-outline);
  transition: background var(--dur) var(--ease);
}
.stats-item:last-child { border-right: none; }
.stats-item:hover { background: var(--md-surface-1); }

.stats-num {
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 6px;
  background: linear-gradient(135deg, var(--md-primary) 0%, var(--md-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stats-label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--md-on-surface-v);
  letter-spacing: 0.02em;
}

/* ──────────────────────────────────────────────
   ABOUT — Two-column with Material card
   ────────────────────────────────────────────── */
.about {
  padding: 96px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  background: var(--md-surface);
}

.about-visual {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: var(--elev-3);
  background: linear-gradient(150deg, var(--md-primary-light) 0%, #C5D9FF 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-visual-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}

/* Colorful corner accents (Google-ism) */
.about-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--r-xl);
  background: linear-gradient(135deg, rgba(66,133,244,.1) 0%, rgba(123,94,167,.08) 100%);
  z-index: 1;
}

.about-deco-letter {
  font-size: 20vw;
  font-weight: 900;
  color: rgba(66,133,244,0.07);
  line-height: 1;
  user-select: none;
  position: relative;
  z-index: 2;
}

.about-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  z-index: 3;
  background: var(--md-surface);
  border-radius: var(--r-md);
  padding: 12px 18px;
  box-shadow: var(--elev-2);
  display: flex;
  align-items: center;
  gap: 10px;
}
.about-badge-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #34A853;
  flex-shrink: 0;
}
.about-badge span {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--md-on-surface);
}

/* .about-text inherits layout from parent grid */
.about-text .section-body { margin-bottom: 16px; max-width: 460px; }

/* Arrow link — Material style */
.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--md-primary);
  margin-top: 8px;
  padding: 8px 0;
  transition: gap var(--dur) var(--ease);
}
.arrow-link::after { content: '→'; font-size: 1em; }
.arrow-link:hover  { gap: 12px; }

/* ──────────────────────────────────────────────
   CLASSES — Material cards grid
   ────────────────────────────────────────────── */
.classes {
  padding: 96px 80px;
  background: var(--md-surface-1);
}
.classes-header {
  text-align: center;
  margin-bottom: 56px;
}
.classes-header .section-label { justify-content: center; }
.classes-header .section-label::before { display: none; }

.classes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.class-card {
  background: var(--md-surface);
  border-radius: var(--r-xl);
  padding: 32px 28px;
  box-shadow: var(--elev-1);
  cursor: pointer;
  transition: box-shadow var(--dur) var(--ease),
              transform var(--dur) var(--ease);
  border: 1px solid var(--md-outline-v);
  position: relative;
  overflow: hidden;
}
.class-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--md-primary-light);
  opacity: 0;
  transition: opacity var(--dur) var(--ease);
}
.class-card:hover {
  box-shadow: var(--elev-3);
  transform: translateY(-4px);
}
.class-card:hover::before { opacity: 1; }

/* Optional class image */
.class-card-img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: var(--r-md);
  margin-bottom: 20px;
}

/* Google-style chip for icon/label */
.class-chip {
  display: inline-flex;
  align-items: center;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--md-primary-dark);
  background: var(--md-primary-light);
  padding: 3px 10px;
  border-radius: var(--r-full);
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}

/* Emoji-style icon for each class type */
.class-chip-icon {
  margin-right: 5px;
}

.class-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--md-on-surface);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
  position: relative;
  z-index: 1;
}
.class-desc {
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--md-on-surface-v);
  position: relative;
  z-index: 1;
}

.classes-footer { text-align: center; }

/* ──────────────────────────────────────────────
   SCHEDULE — Material list on dark surface
   ────────────────────────────────────────────── */
.schedule {
  background: var(--md-surface-dark);
  padding: 96px 80px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: start;
}

.schedule-left .section-label { color: #8AB4F8; }
.schedule-left .section-label::before { background: #8AB4F8; }
.schedule-left .section-title { color: #E8EAED; }
.schedule-left .section-body  { color: #9AA0A6; margin-bottom: 28px; }

.arrow-link--white { color: #8AB4F8; }
.arrow-link--white:hover { color: #AECBFA; }

/* Schedule table */
.sch-table { width: 100%; }
.sch-head {
  display: grid;
  grid-template-columns: 100px 1fr 100px;
  padding: 0 16px 12px;
  border-bottom: 1px solid rgba(232,234,237,.12);
}
.sch-head span {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(232,234,237,.38);
}

/* Material list item */
.sch-row {
  display: grid;
  grid-template-columns: 100px 1fr 100px;
  align-items: center;
  padding: 16px;
  border-radius: var(--r-md);
  margin: 4px 0;
  transition: background var(--dur) var(--ease);
  cursor: default;
}
.sch-row:hover { background: rgba(138,180,248,.08); }

.sch-time {
  font-size: 0.8125rem;
  font-weight: 500;
  color: #8AB4F8;
  line-height: 1.4;
}
.sch-day {
  font-size: 0.7rem;
  color: rgba(232,234,237,.38);
  margin-top: 2px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.sch-class {
  font-size: 1rem;
  font-weight: 500;
  color: #E8EAED;
  margin-bottom: 3px;
}
.sch-teacher {
  font-size: 0.75rem;
  color: rgba(232,234,237,.5);
  letter-spacing: 0.02em;
}

.sch-chip {
  justify-self: end;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #8AB4F8;
  background: rgba(138,180,248,.12);
  padding: 4px 10px;
  border-radius: var(--r-full);
  border: 1px solid rgba(138,180,248,.2);
}

/* ──────────────────────────────────────────────
   GALLERY — Material image grid
   ────────────────────────────────────────────── */
.gallery {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 260px 260px;
  gap: 4px;
  background: var(--md-surface-dark);
}
.g-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.g-item:first-child  { grid-column: 1; grid-row: 1 / 3; }
.g-item:nth-child(2) { grid-column: 2; grid-row: 1; }
.g-item:nth-child(3) { grid-column: 3; grid-row: 1; }
.g-item:nth-child(4) { grid-column: 2; grid-row: 2; }
.g-item:nth-child(5) { grid-column: 3; grid-row: 2; }

/* Colorful Google-palette placeholders */
.g-bg {
  width: 100%; height: 100%;
  transition: transform 0.5s var(--ease);
  object-fit: cover;
}
.g-bg-1 { background: linear-gradient(135deg, #E8F0FE 0%, #C5D9FF 100%); }
.g-bg-2 { background: linear-gradient(135deg, #FCE8E6 0%, #F5C6C2 100%); }
.g-bg-3 { background: linear-gradient(135deg, #FEF7E0 0%, #FDD663 50%, #F4B400 100%); }
.g-bg-4 { background: linear-gradient(135deg, #E6F4EA 0%, #A8D5B5 100%); }
.g-bg-5 { background: linear-gradient(135deg, #E8DAEF 0%, #C39BD3 100%); }

.g-item:hover .g-bg { transform: scale(1.06); }

.g-overlay {
  position: absolute;
  inset: 0;
  background: rgba(32,33,36,0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--dur) var(--ease);
}
.g-item:hover .g-overlay { background: rgba(32,33,36,.35); }

.g-icon-btn {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--md-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--md-primary-dark);
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  box-shadow: var(--elev-2);
}
.g-item:hover .g-icon-btn { opacity: 1; transform: scale(1); }

.g-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 20px 16px 14px;
  background: linear-gradient(to top, rgba(32,33,36,.7), transparent);
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(232,234,237,.85);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.3s, transform 0.3s;
}
.g-item:hover .g-caption { opacity: 1; transform: translateY(0); }

/* Gallery header */
.gallery-header {
  background: var(--md-surface-dark);
  padding: 56px 80px 32px;
  text-align: center;
}
.gallery-header .section-label { justify-content: center; color: #8AB4F8; }
.gallery-header .section-label::before { display: none; }
.gallery-header .section-title { color: #E8EAED; }

/* ──────────────────────────────────────────────
   TEAM — Material avatar cards
   ────────────────────────────────────────────── */
.team {
  padding: 96px 80px;
  background: var(--md-surface);
}
.team-header {
  text-align: center;
  margin-bottom: 56px;
}
.team-header .section-label { justify-content: center; }
.team-header .section-label::before { display: none; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.team-card {
  background: var(--md-surface);
  border: 1px solid var(--md-outline-v);
  border-radius: var(--r-xl);
  padding: 28px 20px;
  text-align: center;
  cursor: pointer;
  box-shadow: var(--elev-1);
  transition: box-shadow var(--dur) var(--ease),
              transform var(--dur) var(--ease);
}
.team-card:hover {
  box-shadow: var(--elev-3);
  transform: translateY(-4px);
}

.team-photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-bottom: 18px;
  position: relative;
}
.team-photo-fill {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.45s var(--ease);
}
.team-card:hover .team-photo-fill { transform: scale(1.04); }

/* Gradient fallbacks */
.tp-1 { background: linear-gradient(160deg, #E8F0FE, #C5D9FF); }
.tp-2 { background: linear-gradient(160deg, #E8DAEF, #C39BD3); }
.tp-3 { background: linear-gradient(160deg, #E6F4EA, #A8D5B5); }
.tp-4 { background: linear-gradient(160deg, #FEF7E0, #FDD663); }

.team-name {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--md-on-surface);
  margin-bottom: 4px;
}
.team-role {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--md-primary);
  background: var(--md-primary-light);
  display: inline-block;
  padding: 2px 10px;
  border-radius: var(--r-full);
  margin-top: 4px;
}

/* ──────────────────────────────────────────────
   TESTIMONIAL — Material card carousel
   ────────────────────────────────────────────── */
.testimonial {
  padding: 96px 80px;
  background: var(--md-surface-1);
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Background watermark */
.testimonial::before {
  content: '"';
  font-size: 18rem;
  font-weight: 900;
  line-height: 1;
  color: var(--md-primary);
  opacity: 0.04;
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
  user-select: none;
}

.testimonial-inner {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin: 0 auto;
  background: var(--md-surface);
  border-radius: var(--r-xl);
  padding: 56px 64px;
  box-shadow: var(--elev-2);
  border: 1px solid var(--md-outline-v);
}

.testimonial-quote {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 400;
  line-height: 1.7;
  color: var(--md-on-surface);
  margin-bottom: 32px;
  font-style: italic;
}

.testimonial-author {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--md-on-surface-v);
  margin-bottom: 24px;
}
.testimonial-author strong {
  color: var(--md-primary-dark);
  font-weight: 700;
}

.t-dots { display: flex; gap: 8px; justify-content: center; }
.t-dot {
  width: 8px; height: 8px;
  border-radius: var(--r-full);
  background: var(--md-outline);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background var(--dur), width var(--dur) var(--ease), transform var(--dur);
}
.t-dot.active {
  background: var(--md-primary);
  width: 24px;
}
.t-dot:hover { background: var(--md-on-surface-v); }

/* ──────────────────────────────────────────────
   CTA BANNER — Google gradient style
   ────────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--md-primary) 0%, var(--md-secondary) 100%);
  padding: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  right: -80px; top: -80px;
  pointer-events: none;
}
.cta-banner::after {
  content: '';
  position: absolute;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  left: 30%; bottom: -60px;
  pointer-events: none;
}

.cta-text { position: relative; z-index: 1; }
.cta-heading {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--md-on-primary);
  line-height: 1.2;
  margin-bottom: 8px;
}
.cta-subheading {
  font-size: 1rem;
  color: rgba(255,255,255,.75);
}
.cta-actions { position: relative; z-index: 1; }

/* ──────────────────────────────────────────────
   FOOTER — Google dark footer
   ────────────────────────────────────────────── */
footer {
  background: var(--md-surface-dark);
  padding: 64px 80px 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(232,234,237,.1);
  margin-bottom: 32px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.footer-brand-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: #E8EAED;
  letter-spacing: -0.02em;
}

.footer-tagline {
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(232,234,237,.45);
  margin-bottom: 24px;
}

.footer-socials {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.footer-socials a {
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(232,234,237,.45);
  background: rgba(232,234,237,.06);
  padding: 5px 12px;
  border-radius: var(--r-full);
  transition: color var(--dur), background var(--dur);
  border: 1px solid rgba(232,234,237,.1);
}
.footer-socials a:hover {
  color: #8AB4F8;
  background: rgba(138,180,248,.1);
  border-color: rgba(138,180,248,.2);
}

.footer-col-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #E8EAED;
  margin-bottom: 18px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  font-size: 0.875rem;
  color: rgba(232,234,237,.45);
  transition: color var(--dur);
}
.footer-links a:hover { color: #E8EAED; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: rgba(232,234,237,.3);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom a {
  color: rgba(232,234,237,.3);
  transition: color var(--dur);
}
.footer-bottom a:hover { color: rgba(232,234,237,.6); }

/* ──────────────────────────────────────────────
   ANIMATIONS
   ────────────────────────────────────────────── */
@keyframes scrollPulse {
  0%, 100% { transform: scale(0.6); opacity: 0.4; }
  50%       { transform: scale(1.2); opacity: 1;   }
}
@keyframes fadeUp {
  from { transform: translateY(32px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ──────────────────────────────────────────────
   RESPONSIVE
   ────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .hero { grid-template-columns: 1fr; }
  .hero-visual { min-height: 340px; }
  .hero-text { padding: 64px 48px; }
  .stats-strip { padding: 0 48px; }
  .about       { padding: 80px 48px; gap: 48px; }
  .classes     { padding: 80px 48px; }
  .schedule    { padding: 80px 48px; }
  .team        { padding: 80px 48px; }
  .testimonial { padding: 80px 48px; }
  .cta-banner  { padding: 64px 48px; }
  footer       { padding: 56px 48px 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 900px) {
  .about { grid-template-columns: 1fr; }
  .classes-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid    { grid-template-columns: repeat(2, 1fr); }
  .schedule     { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 768px) {
  :root { --nav-h: 56px; }
  .nav  { padding: 0 8px 0 4px; }
  .nav-center { display: none; }
  .nav-toggle { display: flex; }
  .nav-logo-dots { display: none; }

  .hero         { grid-template-columns: 1fr; }
  .hero-text    { padding: 48px 24px; }
  .hero-visual  { min-height: 260px; }
  .hero-scroll  { display: none; }
  .hero::before, .hero::after { display: none; }

  .stats-strip  { grid-template-columns: 1fr; padding: 0 24px; }
  .stats-item   { border-right: none; }

  .about        { padding: 56px 24px; gap: 32px; }
  .classes      { padding: 64px 24px; }
  .classes-grid { grid-template-columns: 1fr; }

  .schedule     { padding: 64px 24px; gap: 40px; }
  .sch-head,
  .sch-row      { grid-template-columns: 90px 1fr; }
  .sch-chip     { display: none; }

  .gallery-header { padding: 48px 24px 24px; }
  .gallery      { grid-template-columns: 1fr 1fr;
                  grid-template-rows: 180px 180px 180px; }
  .g-item:first-child  { grid-column: 1 / 3; grid-row: 1; }
  .g-item:nth-child(2) { grid-column: 1; grid-row: 2; }
  .g-item:nth-child(3) { grid-column: 2; grid-row: 2; }
  .g-item:nth-child(4) { grid-column: 1; grid-row: 3; }
  .g-item:nth-child(5) { grid-column: 2; grid-row: 3; }

  .team         { padding: 64px 24px; }
  .team-grid    { grid-template-columns: 1fr 1fr; }

  .testimonial  { padding: 64px 24px; }
  .testimonial-inner { padding: 36px 24px; }

  .cta-banner   { padding: 56px 24px; flex-direction: column; align-items: flex-start; }
  footer        { padding: 48px 24px 24px; }
  .footer-grid  { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 480px) {
  .hero-title   { font-size: 2.2rem; }
  .team-grid    { grid-template-columns: 1fr 1fr; }
}

/* ──────────────────────────────────────────────
   MATERIAL FORM INPUTS
   ────────────────────────────────────────────── */
.form-group {
  margin-bottom: 18px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--md-on-surface-v);
  margin-bottom: 6px;
}
.form-input,
.form-textarea,
.form-select {
  width: 100%;
  font-family: 'Roboto', sans-serif;
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--md-on-surface);
  background: var(--md-surface);
  border: 1.5px solid var(--md-outline);
  border-radius: var(--r-sm);
  padding: 11px 16px;
  outline: none;
  transition: border-color var(--dur) var(--ease),
              box-shadow  var(--dur) var(--ease);
  -webkit-appearance: none;
  appearance: none;
}
.form-input::placeholder,
.form-textarea::placeholder { color: var(--md-outline); }
.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--md-primary);
  box-shadow: 0 0 0 3px rgba(66,133,244,.15);
}
.form-textarea {
  resize: vertical;
  min-height: 110px;
  line-height: 1.6;
}

/* ──────────────────────────────────────────────
   CONTACT SECTION
   ────────────────────────────────────────────── */
.contact-section {
  padding: 96px 80px;
  background: var(--md-surface-1);
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}

.contact-info { }
.contact-info .section-body { margin-bottom: 40px; max-width: 380px; }

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--md-surface);
  border: 1px solid var(--md-outline-v);
  border-radius: var(--r-lg);
  padding: 18px 20px;
  box-shadow: var(--elev-1);
}
.contact-info-icon {
  width: 40px; height: 40px;
  border-radius: var(--r-sm);
  background: var(--md-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-info-text strong {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--md-on-surface);
  margin-bottom: 2px;
}
.contact-info-text span {
  font-size: 0.875rem;
  color: var(--md-on-surface-v);
}
.contact-info-text a {
  color: var(--md-primary);
  transition: color var(--dur);
}
.contact-info-text a:hover { color: var(--md-primary-dark); }

.contact-form-card {
  background: var(--md-surface);
  border-radius: var(--r-xl);
  padding: 40px;
  box-shadow: var(--elev-2);
  border: 1px solid var(--md-outline-v);
}
.contact-form-title {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--md-on-surface);
  margin-bottom: 28px;
}

/* ──────────────────────────────────────────────
   BOOKING MODAL
   ────────────────────────────────────────────── */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(32,33,36,.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s var(--ease);
}
.modal-backdrop.modal--open {
  opacity: 1;
  pointer-events: all;
}
.modal-backdrop.modal--open .modal-card {
  transform: translateY(0) scale(1);
}

.modal-card {
  background: var(--md-surface);
  border-radius: var(--r-xl);
  box-shadow: var(--elev-4);
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 36px 40px;
  position: relative;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.3s var(--ease);
}

.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--md-surface-2);
  border: none;
  font-size: 1.2rem;
  color: var(--md-on-surface-v);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--dur), color var(--dur);
  line-height: 1;
}
.modal-close:hover {
  background: var(--md-outline-v);
  color: var(--md-on-surface);
}

.modal-header {
  margin-bottom: 28px;
}
.modal-eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--md-primary);
  background: var(--md-primary-light);
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--r-full);
  margin-bottom: 10px;
}
.modal-title {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--md-on-surface);
}
.modal-subtitle {
  font-size: 0.875rem;
  color: var(--md-on-surface-v);
  margin-top: 4px;
}

/* ──────────────────────────────────────────────
   BUTTON SPINNER (loading state)
   ────────────────────────────────────────────── */
.btn-spinner {
  display: inline-block;
  width: 14px; height: 14px;
  border: 2px solid rgba(255,255,255,.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  vertical-align: middle;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ──────────────────────────────────────────────
   TOAST NOTIFICATION
   ────────────────────────────────────────────── */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  z-index: 9999;
  background: var(--md-surface-dark);
  color: #E8EAED;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 14px 24px;
  border-radius: var(--r-full);
  box-shadow: var(--elev-4);
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  max-width: 90vw;
  overflow: hidden;
  text-overflow: ellipsis;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.38s var(--ease), opacity 0.38s var(--ease);
}
.toast--show {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}
.toast--success { background: #1E3A2A; color: #81C995; }
.toast--success::before { content: '✓'; font-weight: 700; color: #34A853; }
.toast--error   { background: #3C1010; color: #F28B82; }
.toast--error::before   { content: '✕'; font-weight: 700; color: #EA4335; }

/* ──────────────────────────────────────────────
   CONTACT + MODAL RESPONSIVE
   ────────────────────────────────────────────── */
@media (max-width: 900px) {
  .contact-section { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 768px) {
  .contact-section { padding: 64px 24px; }
  .contact-form-card { padding: 28px 20px; }
  .modal-card { padding: 28px 24px; }
  .form-row   { grid-template-columns: 1fr; }
}
