/* ── Variables ─────────────────────────────────────────────── */
:root {
  --brand:   #9b2c8e;
  --pink:    #ec4899;
  --gold:    #f59e0b;
  --teal:    #0ea5e9;
  --dark:    #1a0a2e;
  --dark2:   #0f0520;
  --surface: #ffffff;
  --bg:      #f8f4ff;
  --border:  #e9d5ff;
  --text:    #1e1b2e;
  --muted:   #6b6b8d;
  --success: #16a34a;
  --danger:  #dc2626;
  --radius:  12px;
  --shadow:  0 4px 20px rgba(155,44,142,.15);
  --shadow-lg: 0 20px 60px rgba(26,10,46,.4);
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
       background: var(--bg); color: var(--text); line-height: 1.6; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; }
button { cursor: pointer; font: inherit; border: none; background: none; }
input, textarea, select { font: inherit; }

/* ── Nav ───────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--dark);
  border-bottom: 1px solid rgba(155,44,142,.3);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  height: 66px;
}
.nav-minimal { position: static; }
.nav-brand { display: flex; align-items: center; gap: 10px; }
.nav-logo { height: 40px; width: 40px; object-fit: contain; border-radius: 50%; }
.nav-brand-text { color: white; font-weight: 700; font-size: 1rem; }
.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-links a { color: rgba(255,255,255,.75); padding: 6px 12px; border-radius: 7px; font-size: .88rem; transition: color .15s; }
.nav-links a:hover { color: white; background: rgba(255,255,255,.08); }
.nav-cta { background: var(--brand) !important; color: white !important; font-weight: 600; }
.nav-cta:hover { background: #7c1f72 !important; }
.nav-hamburger { display: none; color: white; font-size: 1.4rem; padding: 8px; }

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--dark2) 0%, #2d0a4e 50%, #1a0a2e 100%);
}
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 60% 50%, rgba(155,44,142,.25) 0%, transparent 70%),
              radial-gradient(ellipse at 20% 80%, rgba(236,72,153,.15) 0%, transparent 50%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 40px 24px;
  max-width: 760px;
}
.hero-logo { width: 140px; height: 140px; object-fit: contain; margin-bottom: 24px; filter: drop-shadow(0 8px 32px rgba(155,44,142,.6)); }
.hero-title { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; color: white; line-height: 1.15; margin-bottom: 16px; }
.hero-accent { color: var(--pink); }
.hero-sub { font-size: clamp(.95rem, 2vw, 1.15rem); color: rgba(255,255,255,.75); margin-bottom: 36px; max-width: 580px; margin-left: auto; margin-right: auto; }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 32px; }
.hero-contact { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; color: rgba(255,255,255,.55); font-size: .88rem; }
.hero-contact span { display: flex; align-items: center; gap: 5px; }

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 22px; border-radius: 8px; font-size: .9rem; font-weight: 600;
  transition: all .18s; white-space: nowrap;
}
.btn-primary { background: var(--brand); color: white; }
.btn-primary:hover { background: #7c1f72; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(155,44,142,.4); }
.btn-outline { background: transparent; color: white; border: 2px solid rgba(255,255,255,.5); }
.btn-outline:hover { background: rgba(255,255,255,.1); border-color: white; }
.btn-secondary { background: white; color: var(--text); border: 1px solid var(--border); }
.btn-secondary:hover { background: var(--bg); }
.btn-lg { padding: 13px 30px; font-size: 1rem; }
.btn-sm { padding: 6px 14px; font-size: .8rem; }

/* ── Sections ──────────────────────────────────────────────── */
.section { padding: 80px 24px; }
.section-dark { background: var(--dark); color: white; }
.container { max-width: 1100px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 52px; }
.section-title { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 800; margin-bottom: 12px; }
.section-dark .section-title { color: white; }
.section-sub { color: var(--muted); font-size: 1rem; max-width: 580px; margin: 0 auto; }
.section-dark .section-sub { color: rgba(255,255,255,.6); }
.accent { color: var(--pink); }

/* ── About Grid ────────────────────────────────────────────── */
.about-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin-bottom: 52px; }
.about-card { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); padding: 28px 22px; text-align: center; transition: transform .2s; }
.about-card:hover { transform: translateY(-4px); }
.about-icon { font-size: 2.2rem; margin-bottom: 12px; }
.about-card h3 { font-size: 1rem; font-weight: 700; color: white; margin-bottom: 8px; }
.about-card p { font-size: .88rem; color: rgba(255,255,255,.6); }

.team-section { text-align: center; }
.team-title { font-size: 1.3rem; font-weight: 700; color: white; margin-bottom: 24px; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; max-width: 600px; margin: 0 auto; }
.team-card { background: rgba(155,44,142,.15); border: 1px solid rgba(155,44,142,.3); border-radius: var(--radius); padding: 28px 22px; text-align: center; }
.team-avatar { font-size: 3rem; margin-bottom: 10px; }
.team-name { font-weight: 700; color: white; font-size: 1.05rem; }
.team-role { color: var(--pink); font-size: .82rem; margin: 4px 0 10px; font-weight: 600; }
.team-desc { font-size: .85rem; color: rgba(255,255,255,.6); margin-bottom: 12px; }
.team-contact { color: var(--gold); font-size: .88rem; font-weight: 600; }

/* ── Classes ───────────────────────────────────────────────── */
.class-filters { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 32px; }
.filter-pill { padding: 7px 16px; border-radius: 30px; font-size: .82rem; font-weight: 600; border: 2px solid var(--border); color: var(--muted); transition: all .15s; background: white; }
.filter-pill:hover { border-color: var(--brand); color: var(--brand); }
.filter-pill.active { background: var(--brand); color: white; border-color: var(--brand); }

.classes-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.class-card {
  background: white; border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,.07); transition: transform .2s, box-shadow .2s;
  cursor: pointer; border: 1px solid var(--border);
}
.class-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.class-card-top { height: 8px; }
.class-card-body { padding: 20px; }
.class-card-tag { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 6px; }
.class-card-title { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.class-card-time { font-size: .82rem; color: var(--muted); margin-bottom: 8px; }
.class-card-desc { font-size: .84rem; color: var(--muted); margin-bottom: 14px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.class-card-footer { display: flex; justify-content: space-between; align-items: center; }
.class-card-age { font-size: .78rem; background: var(--bg); border: 1px solid var(--border); border-radius: 20px; padding: 3px 10px; color: var(--muted); }
.class-card-cta { font-size: .8rem; color: var(--brand); font-weight: 600; }

/* ── Schedule ──────────────────────────────────────────────── */
.schedule-tabs { display: flex; gap: 4px; flex-wrap: wrap; justify-content: center; margin-bottom: 28px; }
.sched-tab { padding: 8px 18px; border-radius: 8px; font-size: .85rem; font-weight: 600; color: rgba(255,255,255,.6); border: 1px solid rgba(255,255,255,.15); transition: all .15s; }
.sched-tab:hover { border-color: var(--pink); color: var(--pink); }
.sched-tab.active { background: var(--pink); color: white; border-color: var(--pink); }

.schedule-view { min-height: 160px; }
.sched-list { display: flex; flex-direction: column; gap: 10px; max-width: 700px; margin: 0 auto; }
.sched-item {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  border-left: 4px solid var(--pink); border-radius: 8px; padding: 14px 18px;
  display: flex; align-items: center; gap: 16px; cursor: pointer;
  transition: background .15s, transform .15s;
}
.sched-item:hover { background: rgba(255,255,255,.1); transform: translateX(4px); }
.sched-time { font-size: .88rem; font-weight: 700; color: var(--gold); white-space: nowrap; min-width: 110px; }
.sched-info { flex: 1; }
.sched-title { font-weight: 600; color: white; font-size: .95rem; }
.sched-meta { font-size: .78rem; color: rgba(255,255,255,.5); margin-top: 2px; }
.sched-book { color: var(--pink); font-size: .8rem; font-weight: 600; white-space: nowrap; }
.sched-empty { text-align: center; color: rgba(255,255,255,.4); padding: 40px; font-size: .9rem; }

.schedule-note {
  margin-top: 24px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px; padding: 14px 18px; font-size: .82rem; color: rgba(255,255,255,.6);
  display: flex; flex-direction: column; gap: 4px;
}
.schedule-note strong { color: white; }

/* ── Fees ──────────────────────────────────────────────────── */
.fees-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; margin-bottom: 24px; }
.fee-card { background: white; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.fee-type { font-size: 1.1rem; font-weight: 800; color: var(--brand); margin-bottom: 4px; }
.fee-styles { font-size: .78rem; color: var(--muted); margin-bottom: 10px; }
.fee-badge { display: inline-block; background: var(--bg); border: 1px solid var(--border); border-radius: 20px; padding: 2px 10px; font-size: .72rem; font-weight: 600; color: var(--brand); margin-bottom: 14px; }
.fee-items { display: flex; flex-direction: column; gap: 8px; }
.fee-row { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-size: .84rem; padding-bottom: 8px; border-bottom: 1px solid var(--bg); }
.fee-row:last-child { border-bottom: none; }
.fee-price { font-weight: 700; color: var(--text); text-align: right; white-space: nowrap; }
.fee-price em { font-weight: 400; color: var(--muted); font-style: normal; font-size: .78rem; }
.fee-note { background: #fefce8; border: 1px solid #fde68a; border-radius: 8px; padding: 14px 18px; font-size: .88rem; line-height: 1.7; }

/* ── Booking Form ──────────────────────────────────────────── */
.booking-wrap { max-width: 760px; margin: 0 auto; }
.booking-form { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); padding: 32px; }
.form-step { margin-bottom: 28px; }
.step-title { font-size: 1rem; font-weight: 700; color: white; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,.1); }
.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: .8rem; font-weight: 600; color: rgba(255,255,255,.7); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 5px; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 9px 13px; border: 1px solid rgba(255,255,255,.2);
  border-radius: 7px; background: rgba(255,255,255,.08); color: white;
  font-size: .9rem; transition: border-color .15s;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: rgba(255,255,255,.3); }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--pink); box-shadow: 0 0 0 3px rgba(236,72,153,.2); }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-actions { text-align: center; margin-top: 24px; }
.form-error { background: rgba(220,38,38,.15); border: 1px solid rgba(220,38,38,.4); border-radius: 7px; padding: 10px 14px; color: #fca5a5; font-size: .88rem; margin-bottom: 16px; }

.booking-class-list { display: flex; flex-direction: column; gap: 8px; }
.booking-class-item {
  display: flex; align-items: center; gap: 12px; padding: 12px 16px;
  border: 2px solid rgba(255,255,255,.15); border-radius: 8px; cursor: pointer;
  transition: border-color .15s, background .15s;
}
.booking-class-item:hover { border-color: var(--pink); background: rgba(236,72,153,.08); }
.booking-class-item.selected { border-color: var(--pink); background: rgba(236,72,153,.15); }
.booking-class-item input[type="radio"] { accent-color: var(--pink); }
.bci-dot { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; }
.bci-info { flex: 1; }
.bci-title { font-weight: 600; color: white; font-size: .9rem; }
.bci-meta { font-size: .78rem; color: rgba(255,255,255,.5); margin-top: 2px; }
.bci-price { font-weight: 700; color: var(--gold); font-size: .9rem; white-space: nowrap; }

/* Booking success */
.booking-success { text-align: center; background: rgba(22,163,74,.12); border: 1px solid rgba(22,163,74,.3); border-radius: var(--radius); padding: 40px 32px; max-width: 600px; margin: 0 auto; }
.success-icon { font-size: 3rem; margin-bottom: 12px; }
.booking-success h3 { color: white; font-size: 1.4rem; margin-bottom: 12px; }
.booking-success p { color: rgba(255,255,255,.75); margin-bottom: 12px; font-size: .95rem; }
.success-steps { text-align: left; margin: 16px auto; max-width: 440px; padding-left: 20px; color: rgba(255,255,255,.8); font-size: .9rem; line-height: 1.9; }
.success-steps a { color: var(--pink); font-weight: 600; }
.success-note { font-size: .82rem; color: rgba(255,255,255,.5); font-style: italic; }

/* ── Modal ─────────────────────────────────────────────────── */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.7); z-index: 200; display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal { background: white; border-radius: var(--radius); max-width: 580px; width: 100%; max-height: 85vh; overflow-y: auto; padding: 32px; position: relative; box-shadow: var(--shadow-lg); }
.modal-close { position: absolute; top: 16px; right: 16px; color: var(--muted); font-size: 1.1rem; padding: 6px; border-radius: 6px; }
.modal-close:hover { background: var(--bg); color: var(--text); }
.modal-color-bar { height: 6px; border-radius: 6px 6px 0 0; margin: -32px -32px 24px; }
.modal-style { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 6px; }
.modal-title { font-size: 1.3rem; font-weight: 800; margin-bottom: 4px; }
.modal-time { color: var(--muted); font-size: .88rem; margin-bottom: 16px; }
.modal-detail { font-size: .9rem; color: var(--text); line-height: 1.7; margin-bottom: 16px; }
.modal-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.modal-tag { background: var(--bg); border: 1px solid var(--border); border-radius: 20px; padding: 3px 12px; font-size: .78rem; color: var(--muted); }
.modal-price { font-size: 1.1rem; font-weight: 700; color: var(--brand); margin-bottom: 20px; }

/* ── Contact ───────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.contact-card { background: white; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; text-align: center; box-shadow: 0 2px 8px rgba(0,0,0,.05); }
.contact-icon { font-size: 2rem; margin-bottom: 8px; }
.contact-label { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 6px; }
.contact-value { font-size: .9rem; font-weight: 600; color: var(--brand); line-height: 1.6; }
a.contact-value:hover { text-decoration: underline; }

/* ── Footer ────────────────────────────────────────────────── */
.footer { background: var(--dark2); padding: 32px 24px; border-top: 1px solid rgba(155,44,142,.2); }
.footer .container { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-logo { height: 44px; object-fit: contain; }
.footer-name { color: white; font-weight: 700; font-size: .95rem; }
.footer-tagline { color: rgba(255,255,255,.4); font-size: .78rem; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; }
.footer-links a { color: rgba(255,255,255,.5); font-size: .83rem; transition: color .15s; }
.footer-links a:hover { color: var(--pink); }
.footer-copy { color: rgba(255,255,255,.3); font-size: .78rem; }

/* ── Toast ─────────────────────────────────────────────────── */
#toasts { position: fixed; bottom: 20px; right: 20px; z-index: 300; display: flex; flex-direction: column; gap: 8px; pointer-events: none; }
.toast { background: var(--dark); color: white; padding: 12px 18px; border-radius: 8px; font-size: .875rem; box-shadow: var(--shadow-lg); pointer-events: all; animation: slideUp .25s ease; max-width: 300px; }
.toast-success { background: var(--success); }
.toast-error { background: var(--danger); }
@keyframes slideUp { from { transform: translateY(16px); opacity: 0; } }

/* ── Loading ───────────────────────────────────────────────── */
.loading-spinner { text-align: center; padding: 40px; color: var(--muted); font-size: .9rem; }
.hidden { display: none !important; }

/* ── Indemnity Form ────────────────────────────────────────── */
.indemnity-page { background: var(--bg); }
.indemnity-container { max-width: 780px; margin: 0 auto; padding: 32px 20px 60px; }
.indemnity-header { text-align: center; margin-bottom: 36px; }
.indemnity-header h1 { font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 800; color: var(--text); margin-bottom: 10px; }
.indemnity-header p { color: var(--muted); font-size: .9rem; }

.indemnity-form { display: flex; flex-direction: column; gap: 0; }
.form-section { background: white; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px 28px; margin-bottom: 16px; }
.form-section-title { font-size: 1rem; font-weight: 800; color: var(--brand); margin-bottom: 18px; padding-bottom: 10px; border-bottom: 2px solid var(--border); text-transform: uppercase; letter-spacing: .05em; }
.form-section-note { font-size: .83rem; color: var(--muted); margin-bottom: 14px; font-style: italic; }
.form-section .form-group label { color: var(--muted); }
.form-section .form-group input,
.form-section .form-group textarea,
.form-section .form-group select {
  border: 1px solid var(--border); background: var(--bg); color: var(--text); border-radius: 7px; padding: 9px 13px; width: 100%;
}
.form-section .form-group input:focus,
.form-section .form-group textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(155,44,142,.1); }

.style-checkboxes { display: flex; flex-wrap: wrap; gap: 10px; }
.style-check { display: flex; align-items: center; gap: 6px; background: var(--bg); border: 1px solid var(--border); border-radius: 8px; padding: 7px 14px; cursor: pointer; font-size: .88rem; transition: border-color .15s; }
.style-check:hover { border-color: var(--brand); }
.style-check input { accent-color: var(--brand); }

.form-section-terms { background: white; }
.terms-box { background: var(--bg); border-radius: 8px; padding: 20px; font-size: .87rem; line-height: 1.75; }
.terms-box h4 { font-size: .9rem; font-weight: 700; color: var(--text); margin: 14px 0 8px; }
.terms-intro { color: var(--muted); margin-bottom: 12px; font-style: italic; }
.terms-list { padding-left: 20px; }
.terms-list li { margin-bottom: 8px; color: var(--text); }
.terms-list ul { margin-top: 6px; padding-left: 18px; }
.terms-list ul li { margin-bottom: 4px; color: var(--muted); }

.dress-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.dress-item h4 { font-size: .85rem; font-weight: 700; color: var(--brand); margin-bottom: 8px; }
.dress-item ul { padding-left: 16px; font-size: .83rem; }
.dress-item li { margin-bottom: 5px; }

.form-section-agreements { background: #fefce8; border-color: #fde68a; }
.agreement-list { display: flex; flex-direction: column; gap: 14px; margin: 16px 0; }
.agreement-item { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; font-size: .88rem; line-height: 1.6; }
.agreement-item input[type="checkbox"] { accent-color: var(--brand); width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; }
.declaration-block { background: white; border: 1px solid #fcd34d; border-radius: 7px; padding: 14px 16px; margin-top: 16px; font-size: .85rem; color: var(--text); line-height: 1.6; }
#submit-indemnity { display: block; width: 100%; margin-top: 20px; }

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav { padding: 0 16px; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: 66px; left: 0; right: 0; background: var(--dark); padding: 16px; gap: 4px; border-bottom: 1px solid rgba(155,44,142,.3); }
  .nav-links.open { display: flex; }
  .nav-hamburger { display: block; }
  .hero { min-height: 80vh; }
  .hero-logo { width: 100px; height: 100px; }
  .section { padding: 56px 16px; }
  .form-row-2 { grid-template-columns: 1fr; }
  .booking-form { padding: 20px 16px; }
  .fees-grid { grid-template-columns: 1fr; }
  .modal { padding: 24px 18px; margin: 16px; }
  .indemnity-container { padding: 20px 14px 40px; }
  .form-section { padding: 18px 16px; }
  .dress-grid { grid-template-columns: 1fr; }
  .sched-item { flex-wrap: wrap; gap: 8px; }
  .sched-time { min-width: unset; }
}
