/* =========================================================
   Dance Connection — hoja de estilos compartida
   Paleta: guinda/plata (inspirada en material de campañas DC,
   ref. cartel "Horizonte"). Tipografía: Gotham (si se agrega el
   archivo con licencia) con Montserrat como sustituto libre.
   Nota: las variables --gold/--gold-light se conservan por
   compatibilidad, pero ahora son un acento plateado/metálico,
   no dorado.
   ========================================================= */

:root{
  --burgundy: #7a1636;
  --burgundy-dark: #4f0f23;
  --burgundy-light: #a13a58;
  --pink-accent: #d81b6a;
  --gold: #adb0b6;
  --gold-light: #dcdde1;
  --ink: #2c2622;
  --ink-soft: #5c534c;
  --cream: #faf6ef;
  --cream-deep: #f2ead9;
  --white: #ffffff;
  --line: #e7ddc9;

  --font-display: 'Gotham', 'Montserrat', 'Century Gothic', Arial, sans-serif;
  --font-body: 'Montserrat', 'Century Gothic', Arial, sans-serif;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px rgba(74, 20, 40, 0.12);
  --shadow-sm: 0 4px 14px rgba(74, 20, 40, 0.08);
  --container: 1180px;
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
h1,h2,h3,h4{
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 .5em;
  color: var(--burgundy-dark);
}
h1{ font-size: clamp(2.1rem, 4vw, 3.4rem); }
h2{ font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3{ font-size: 1.25rem; }
p{ margin: 0 0 1em; }
.eyebrow{
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: .78rem;
  color: var(--gold);
  background: var(--burgundy-dark);
  padding: .4em .9em;
  border-radius: 999px;
  margin-bottom: 1em;
}

.container{
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
section{ padding: 72px 0; }
.section-alt{ background: var(--white); }
.section-deep{ background: var(--burgundy-dark); color: var(--cream); }
.section-deep h2, .section-deep h3{ color: var(--white); }

.center{ text-align: center; }
.lede{
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 640px;
}
.center .lede{ margin-left: auto; margin-right: auto; }

/* ---------- Botones ---------- */
.btn{
  display: inline-flex;
  align-items: center;
  gap: .5em;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .02em;
  padding: .95em 1.8em;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
}
.btn:hover{ transform: translateY(-2px); }
.btn-primary{
  background: var(--gold);
  color: var(--burgundy-dark);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover{ background: var(--gold-light); }
.btn-outline{
  background: transparent;
  border-color: var(--white);
  color: var(--white);
}
.btn-outline:hover{ background: rgba(255,255,255,.12); }
.btn-outline-dark{
  background: transparent;
  border-color: var(--burgundy);
  color: var(--burgundy);
}
.btn-outline-dark:hover{ background: var(--burgundy); color: var(--white); }
.btn-sm{ padding: .6em 1.3em; font-size: .82rem; }

/* ---------- Header ---------- */
.site-header{
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 246, 239, .92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .container{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
  gap: 24px;
}
.brand{ display: flex; align-items: center; gap: .6em; }
.brand img{ height: 46px; width: auto; }
.brand span{ display:none; }

.nav-links{
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0; padding: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .92rem;
}
.nav-links a{
  color: var(--ink);
  padding: .3em 0;
  border-bottom: 2px solid transparent;
  transition: color .15s ease, border-color .15s ease;
}
.nav-links a:hover, .nav-links a[aria-current="page"]{
  color: var(--burgundy);
  border-color: var(--gold);
}
.nav-links .btn-primary{ display: none; }
.header-actions{ display: flex; align-items: center; gap: 14px; }
.nav-toggle{
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span{
  display: block;
  width: 26px;
  height: 2px;
  background: var(--burgundy-dark);
  margin: 5px 0;
  transition: transform .2s ease, opacity .2s ease;
}

@media (max-width: 900px){
  .nav-links{
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    height: calc(100vh - 70px);
    background: var(--cream);
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 24px;
    gap: 18px;
    font-size: 1.05rem;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .18s ease, transform .18s ease;
    border-bottom: 1px solid var(--line);
    overflow-y: auto;
  }
  .nav-links.open{
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .nav-toggle{ display: block; }
  .header-actions .btn-primary{ display: none; }
  .nav-links .btn-primary{
    display: inline-flex;
    margin-top: 10px;
  }
}

/* ---------- Hero ---------- */
.hero{
  position: relative;
  background: linear-gradient(160deg, var(--burgundy-dark), var(--burgundy) 70%);
  color: var(--white);
  overflow: hidden;
}
.hero .container{
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: 48px;
  padding-top: 64px;
  padding-bottom: 64px;
}
.hero h1{ color: var(--white); }
.hero .lede{ color: rgba(255,255,255,.85); }
.hero-actions{ display: flex; gap: 14px; flex-wrap: wrap; margin-top: 1.6em; }
.hero-media{
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,.35);
}
.hero-media img{ width: 100%; height: 100%; object-fit: cover; }
.hero-media::after{
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(122,22,54,0) 55%, rgba(45,10,22,.55));
}

@media (max-width: 860px){
  .hero .container{ grid-template-columns: 1fr; padding-top: 40px; }
  .hero-media{ order: -1; max-height: 380px; }
}

/* ---------- Hero grande de foto completa (Inicio) ---------- */
.hero-full{
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center 20%;
  color: var(--white);
  overflow: hidden;
}
.hero-full::before{
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(45,10,22,.25) 0%, rgba(45,10,22,.45) 45%, rgba(45,10,22,.92) 100%);
}
.hero-full .container{ position: relative; z-index: 1; padding-top: 64px; padding-bottom: 56px; max-width: 760px; }
.hero-full h1{ color: var(--white); }
.hero-full .lede{ color: rgba(255,255,255,.88); }
@media (max-width: 700px){
  .hero-full{ min-height: 520px; background-position: center 15%; }
}

/* ---------- Page hero (páginas internas) ---------- */
.page-hero{
  background: linear-gradient(160deg, var(--burgundy-dark), var(--burgundy) 70%);
  color: var(--white);
  padding: 56px 0 64px;
  text-align: center;
}
.page-hero h1{ color: var(--white); margin-bottom: .3em; }
.page-hero .lede{ color: rgba(255,255,255,.85); }

/* ---------- Grid utilidades ---------- */
.grid{ display: grid; gap: 28px; }
.grid-2{ grid-template-columns: repeat(2, 1fr); }
.grid-3{ grid-template-columns: repeat(3, 1fr); }
.grid-4{ grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px){
  .grid-3, .grid-4{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px){
  .grid-2, .grid-3, .grid-4{ grid-template-columns: 1fr; }
}

/* ---------- Cards ---------- */
.card{
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.card-body{ padding: 22px 24px 26px; }
.card .media{
  aspect-ratio: 4/3;
  background: var(--cream-deep);
  overflow: hidden;
  position: relative;
}
.card .media img, .card .media video{
  width: 100%; height: 100%; object-fit: cover;
}
.tag{
  display: inline-block;
  font-family: var(--font-display);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--burgundy);
  background: var(--cream-deep);
  padding: .3em .7em;
  border-radius: 999px;
  margin-bottom: .6em;
}

/* Disciplinas */
.discipline-card .media{ position: relative; }
.discipline-card .media .play-badge{
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(45,10,22,.15);
  opacity: 0;
  transition: opacity .15s ease;
}
.discipline-card:hover .play-badge{ opacity: 1; }
.play-badge span{
  width: 54px; height: 54px;
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  display: flex; align-items: center; justify-content: center;
  color: var(--burgundy);
  font-size: 1.1rem;
}
.discipline-meta{
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-top: .8em;
  font-size: .8rem;
  color: var(--ink-soft);
}
.discipline-meta span{
  background: var(--cream-deep);
  padding: .25em .7em;
  border-radius: 999px;
}
.faculty-card .media{ aspect-ratio: 3/4; }
.faculty-card .media img{ object-position: top center; }

.video-placeholder{
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 8px;
  color: var(--ink-soft);
  background: repeating-linear-gradient(135deg, var(--cream-deep), var(--cream-deep) 10px, #ece1c8 10px, #ece1c8 20px);
  font-size: .78rem;
  text-align: center;
  padding: 10px;
}

/* ---------- Beneficios / iconos ---------- */
.benefit{ text-align: center; padding: 8px; }
.benefit .icon{
  width: 62px; height: 62px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--cream-deep);
  color: var(--burgundy);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
}

/* ---------- Stats ---------- */
.stats{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 24px;
  text-align: center;
}
.stat-num{
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.3rem, 2.6vw, 2.2rem);
  color: var(--gold);
  line-height: 1.2;
}
.stat-label{ font-size: .85rem; color: rgba(255,255,255,.8); }
.section-alt .stat-label{ color: var(--ink-soft); }
@media (max-width: 700px){ .stats{ grid-template-columns: repeat(2,1fr); } }

/* ---------- Insignia de logro (Studio of the Year) ---------- */
.award-badge{
  text-align: center;
  padding: 8px 0;
}
.award-badge .rule{
  width: 64px; height: 2px;
  background: var(--gold);
  margin: 0 auto 18px;
}
.award-badge .headline{
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: .03em;
  font-size: clamp(1.9rem, 4.5vw, 3.2rem);
  color: var(--gold);
  margin: 0 0 .25em;
}
.award-badge .subline{
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: .04em;
  color: rgba(255,255,255,.85);
}
.section-alt .award-badge .subline{ color: var(--ink-soft); }

/* ---------- Galería ---------- */
.gallery{
  columns: 3 260px;
  column-gap: 18px;
}
.gallery figure{
  margin: 0 0 18px;
  break-inside: avoid;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.gallery img{ width: 100%; display: block; }

/* ---------- Tablas / horarios ---------- */
.filters{
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-bottom: 28px;
}
.filters select, .filters input{
  font-family: var(--font-body);
  padding: .7em 1em;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: var(--white);
  font-size: .9rem;
  color: var(--ink);
}
.day-tabs{ display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.day-tabs button{
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .82rem;
  padding: .55em 1.2em;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: var(--white);
  color: var(--ink-soft);
  cursor: pointer;
  transition: all .15s ease;
}
.day-tabs button.active{
  background: var(--burgundy);
  border-color: var(--burgundy);
  color: var(--white);
}
.schedule-list{ display: flex; flex-direction: column; gap: 12px; }
.schedule-row{
  display: grid;
  grid-template-columns: 90px 1.4fr 1fr 1fr;
  gap: 14px;
  align-items: center;
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  box-shadow: var(--shadow-sm);
  font-size: .92rem;
}
.schedule-row .time{
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--burgundy);
}
.schedule-row .disc{ font-weight: 700; }
.schedule-row .muted{ color: var(--ink-soft); font-size: .85rem; }
@media (max-width: 700px){
  .schedule-row{ grid-template-columns: 1fr; gap: 4px; }
  .schedule-row .time{ font-size: 1rem; }
}
.schedule-empty, .schedule-loading{
  text-align: center;
  color: var(--ink-soft);
  padding: 40px 20px;
}

/* ---------- Instructores ---------- */
.instructor-card .media{ aspect-ratio: 1/1; background: var(--cream-deep); }
.instructor-card .placeholder-avatar{
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--burgundy-light);
  background: var(--cream-deep);
}

/* ---------- FAQ ---------- */
.faq-item{
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.faq-item summary{
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--burgundy-dark);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq-item summary::-webkit-details-marker{ display: none; }
.faq-item summary::after{
  content: "+";
  font-size: 1.4rem;
  color: var(--gold);
  flex-shrink: 0;
}
.faq-item[open] summary::after{ content: "\2212"; }
.faq-item p{ margin-top: .8em; color: var(--ink-soft); }

/* ---------- CTA banda ---------- */
.cta-band{
  background: linear-gradient(120deg, var(--gold), var(--gold-light));
  color: var(--burgundy-dark);
  text-align: center;
}
.cta-band h2{ color: var(--burgundy-dark); }
.cta-band .btn-primary{
  background: var(--burgundy-dark);
  color: var(--white);
}
.cta-band .btn-primary:hover{ background: var(--burgundy); }

/* ---------- Contacto ---------- */
.contact-card{
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 26px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.contact-card .icon{
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--cream-deep);
  color: var(--burgundy);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.map-embed{
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 0;
  width: 100%;
  height: 340px;
}

/* ---------- Footer ---------- */
.site-footer{
  background: var(--burgundy-dark);
  color: rgba(255,255,255,.82);
  padding: 56px 0 28px;
}
.footer-grid{
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,.14);
}
.footer-grid h4{
  color: var(--white);
  font-size: .82rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 1em;
}
.footer-brand img{ height: 42px; margin-bottom: 14px; filter: brightness(0) invert(1); }
.footer-links{ list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: .9rem; }
.footer-links a:hover{ color: var(--gold-light); }
.footer-bottom{
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 10px;
  padding-top: 22px;
  font-size: .8rem;
  color: rgba(255,255,255,.55);
}
.social-row{ display: flex; gap: 12px; }
.social-row a{
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  transition: background .15s ease;
}
.social-row a:hover{ background: var(--gold); color: var(--burgundy-dark); }

@media (max-width: 900px){
  .footer-grid{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px){
  .footer-grid{ grid-template-columns: 1fr; }
}

/* ---------- WhatsApp flotante ---------- */
.wa-float{
  position: fixed;
  bottom: 22px; right: 22px;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 20px rgba(0,0,0,.25);
  z-index: 90;
  font-size: 1.5rem;
  transition: transform .15s ease;
}
.wa-float:hover{ transform: scale(1.08); }

/* ---------- Nota editorial (placeholders para el cliente) ---------- */
.editor-note{
  background: #fff7e0;
  border: 1px dashed var(--gold);
  color: #7a5b00;
  font-size: .8rem;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  margin-top: 10px;
}
