/* ============================================================
   El violín de Melanie · Sistema visual
   Paleta aprobada por la clienta: Paleta 2 «Cálida y Cercana»
     blanco hueso #FFFBF5 · café oscuro #3A2E2A
     rosa suave #E8A0BC · dorado #D4A24C
   Rosa y dorado se alternan en botones, íconos y separadores.
   Nota de accesibilidad: rosa suave (2.0:1) y dorado (2.3:1) no
   pasan contraste sobre el blanco hueso, así que nunca van como
   texto ni íconos sobre fondo claro. Ahí se usan sus versiones
   profundas (--rose-deep, --gold-deep, ambas > 4.5:1). Los botones
   rosa y dorado llevan texto café (6.4:1 y 5.7:1).
   ============================================================ */

:root {
  color-scheme: light;

  /* Marca */
  --ink:        #3A2E2A;   /* café oscuro, textos */
  --cream:      #FFFBF5;   /* blanco hueso, fondo principal */
  --cream-2:    #F7EFE3;   /* hueso profundo, alternancia */
  --rose:       #E8A0BC;   /* rosa suave */
  --rose-deep:  #A8456F;   /* rosa profundo, para texto y enlaces */
  --gold:       #D4A24C;   /* dorado */
  --gold-deep:  #86621F;   /* dorado profundo, para íconos sobre claro */
  --taupe:      #BFAE9F;   /* detalle */
  --control-line: #8C7D72; /* borde de campos: 3.9:1, pasa contraste de controles */

  /* Semánticos */
  --bg:         var(--cream);
  --bg-2:       var(--cream-2);
  --fg:         var(--ink);
  --fg-soft:    #6B5A52;
  --line:       rgba(58, 46, 42, .13);
  --line-soft:  rgba(58, 46, 42, .07);
  --invert-bg:  var(--cream-2);  /* bandas de acento claras: hueso profundo */
  --invert-fg:  var(--ink);
  --invert-soft:var(--fg-soft);
  --rose-tint:  #FAE7E8;        /* rosa suave al 22 % sobre hueso: textos café 11:1 */
  --surface:    #FFFFFF;
  --shadow:     0 1px 2px rgba(58,46,42,.04), 0 12px 32px -12px rgba(58,46,42,.16);
  --shadow-lg:  0 2px 4px rgba(58,46,42,.05), 0 28px 60px -20px rgba(58,46,42,.22);

  /* Tipografía */
  --f-display: 'Cabinet Grotesk', 'Inter Tight', system-ui, sans-serif;
  --f-body:    'Inter Tight', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Forma. Regla: botones y chips en píldora, todo lo demás 16px */
  --r:     16px;
  --r-sm:  16px;
  --r-pill: 999px;

  /* Ritmo */
  --pad:   clamp(1.25rem, 5vw, 2.5rem);
  --sec:   clamp(4.5rem, 11vw, 9rem);
  --max:   1240px;

  --ease:  cubic-bezier(.16, 1, .3, 1);
}

/* Sin modo oscuro a propósito: la clienta pidió la web clara siempre (2026-09-20),
   y con el celular en modo oscuro se veía toda café. */

/* ── Base ────────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; }

/* El atributo hidden debe ganarle a cualquier display de componente */
[hidden] { display: none !important; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--f-body);
  font-size: clamp(1rem, .97rem + .18vw, 1.0625rem);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, iframe { max-width: 100%; display: block; }
img { height: auto; }

h1, h2, h3 {
  font-family: var(--f-display);
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.08;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0 0 1rem; max-width: 62ch; }
p:last-child { margin-bottom: 0; }

a { color: inherit; }

::selection { background: var(--rose); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--rose-deep);
  outline-offset: 3px;
  border-radius: 4px;
}


.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--pad); }

.skip {
  position: absolute; left: 50%; top: -100px; transform: translateX(-50%);
  background: var(--ink); color: var(--cream); padding: .75rem 1.25rem;
  border-radius: var(--r-pill); z-index: 200; text-decoration: none;
}
.skip:focus { top: .75rem; }

/* ── Tipografía de sección ───────────────────────────────── */

.sec-title {
  font-size: clamp(1.85rem, 1.2rem + 2.6vw, 3.1rem);
  margin-bottom: 1rem;
}

.sec-lead {
  font-size: clamp(1.02rem, .98rem + .3vw, 1.18rem);
  color: var(--fg-soft);
  max-width: 52ch;
}

/* ── Botones ─────────────────────────────────────────────── */

.btn {
  --btn-bg: transparent;
  --btn-fg: var(--fg);
  --btn-bd: var(--line);
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5rem; white-space: nowrap;
  padding: .72rem 1.35rem;
  font-family: var(--f-body); font-size: .95rem; font-weight: 600;
  line-height: 1; letter-spacing: -.005em;
  text-decoration: none; cursor: pointer;
  background: var(--btn-bg); color: var(--btn-fg);
  border: 1px solid var(--btn-bd);
  border-radius: var(--r-pill);
  transition: transform .18s var(--ease), background-color .18s var(--ease),
              border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.btn i { font-size: 1.1em; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(1px) scale(.985); }

.btn--rose {
  --btn-bg: var(--rose);
  --btn-fg: var(--ink);            /* café sobre rosa: 6.4:1, pasa AA */
  --btn-bd: var(--rose);
  box-shadow: 0 8px 20px -10px rgba(168, 69, 111, .55);
}
.btn--rose:hover { --btn-bg: #F0B6CC; --btn-bd: #F0B6CC; }

.btn--ghost { --btn-bg: transparent; --btn-bd: var(--line); }
.btn--ghost:hover { --btn-bd: var(--fg); background: var(--line-soft); }

.btn--lg { padding: .92rem 1.7rem; font-size: 1rem; }

.btn[disabled] { opacity: .45; pointer-events: none; }

/* ── Navegación ──────────────────────────────────────────── */

.nav {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), background-color .25s var(--ease);
}
.nav[data-scrolled="true"] { border-bottom-color: var(--line); }

.nav__inner {
  max-width: var(--max); margin-inline: auto;
  padding: 0 var(--pad);
  height: 68px;
  display: flex; align-items: center; gap: 1.5rem;
}

.nav__brand {
  display: inline-flex; align-items: center; gap: .6rem;
  text-decoration: none; margin-right: auto;
}
.nav__mark {
  display: grid; place-items: center;
  width: 34px; height: 34px; flex: 0 0 34px;
  border-radius: var(--r-pill);
  background: var(--rose); color: var(--ink);
}
.nav__mark svg { width: 19px; height: 19px; }
.nav__name {
  font-family: var(--f-display); font-weight: 700;
  font-size: 1.08rem; letter-spacing: -.02em;
}

.nav__links { display: flex; gap: 1.6rem; }
.nav__links a {
  position: relative; text-decoration: none;
  font-size: .93rem; font-weight: 500; color: var(--fg-soft);
  transition: color .18s var(--ease);
}
.nav__links a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -5px;
  height: 1.5px; background: var(--gold-deep);
  transform: scaleX(0); transform-origin: left;
  transition: transform .28s var(--ease);
}
.nav__links a:hover { color: var(--fg); }
.nav__links a:hover::after { transform: scaleX(1); }

.nav__burger {
  display: none; align-items: center; justify-content: center;
  width: 42px; height: 42px; padding: 0;
  background: transparent; color: var(--fg);
  border: 1px solid var(--line); border-radius: var(--r-pill);
  cursor: pointer; font-size: 1.3rem;
}

.nav__mobile {
  border-top: 1px solid var(--line);
  padding: 1rem var(--pad) 1.5rem;
  display: grid; gap: .25rem;
}
.nav__mobile a {
  text-decoration: none; padding: .7rem 0;
  font-size: 1.05rem; font-weight: 500;
  border-bottom: 1px solid var(--line-soft);
}
.nav__mobile .btn { margin-top: .9rem; border-bottom: 0; justify-self: start; }

@media (max-width: 860px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: inline-flex; }
}

/* ── Hero ────────────────────────────────────────────────── */

.hero { padding: clamp(2.5rem, 6vw, 5rem) 0 var(--sec); }

.hero__inner {
  max-width: var(--max); margin-inline: auto; padding-inline: var(--pad);
  display: grid; gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: 1.2fr .8fr;
  align-items: center;
}

.hero__title {
  font-size: clamp(2.1rem, .55rem + 3.4vw, 3.4rem);
  font-weight: 800;
  line-height: 1.04;
  margin-bottom: 1.35rem;
}
.hero__title em {
  font-style: italic;
  font-weight: 800;
  color: var(--rose-deep);
  line-height: 1.1;          /* descendientes en itálica */
  padding-bottom: .06em;
  margin-right: .1em;        /* la inclinación se come el espacio siguiente */
  display: inline-block;
}

.hero__sub {
  font-size: clamp(1.05rem, 1rem + .38vw, 1.22rem);
  color: var(--fg-soft);
  max-width: 40ch;
  margin-bottom: 2rem;
}

.hero__cta { display: flex; flex-wrap: wrap; gap: .75rem; }

.hero__art {
  margin: 0; position: relative;
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5;
}
.hero__art img { width: 100%; height: 100%; object-fit: cover; object-position: center 12%; }
.hero__art::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(232,160,188,.20), transparent 55%);
  mix-blend-mode: multiply;
  pointer-events: none;
}

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__art { aspect-ratio: 4 / 3; order: -1; }
  .hero__sub { max-width: 100%; }
}

/* ── Dos caminos ─────────────────────────────────────────── */

.paths { padding-bottom: var(--sec); }
.paths .sec-title { margin-bottom: 2.25rem; }

.paths__grid {
  display: grid; gap: clamp(1rem, 2.5vw, 1.75rem);
  grid-template-columns: 1.15fr .85fr;
}

.path {
  display: block; text-decoration: none;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease),
              border-color .3s var(--ease);
}
.path:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--rose);
}
.path__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-2); }
.path__media img { width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s var(--ease); }
.path:hover .path__media img { transform: scale(1.04); }

.path__body { padding: clamp(1.4rem, 3vw, 2.1rem); }
.path__body h3 { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.75rem); margin-bottom: .6rem; }
.path__body p { color: var(--fg-soft); font-size: .98rem; margin-bottom: 1rem; }

.path__meta {
  display: inline-flex; align-items: center;
  font-size: .85rem; font-weight: 600; letter-spacing: .01em;
  color: var(--rose-deep);
  padding: .4rem .85rem;
  border: 1px solid color-mix(in srgb, var(--rose-deep) 32%, transparent);
  border-radius: var(--r-pill);
}

@media (max-width: 820px) { .paths__grid { grid-template-columns: 1fr; } }

/* ── Tipos de evento (rail horizontal) ───────────────────── */

.events { background: var(--bg-2); padding: var(--sec) 0; }
.events__head { margin-bottom: 2.5rem; }

.events__rail {
  /* alinea el primer bloque con el título aunque el rail sea a todo ancho */
  --rail-pad: max(var(--pad), calc((100% - var(--max)) / 2 + var(--pad)));
  display: flex; gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline-start: var(--rail-pad);
  padding: .5rem var(--rail-pad) 1.5rem;
  scrollbar-width: thin;
  scrollbar-color: var(--taupe) transparent;
}
.events__rail::-webkit-scrollbar { height: 6px; }
.events__rail::-webkit-scrollbar-thumb { background: var(--taupe); border-radius: var(--r-pill); }

.ev {
  scroll-snap-align: start;
  flex: 0 0 clamp(15rem, 62vw, 18.5rem);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 1.6rem 1.5rem 1.7rem;
  transition: border-color .25s var(--ease), transform .25s var(--ease);
}
.ev:hover { border-color: var(--gold); transform: translateY(-3px); }
.ev i { font-size: 1.6rem; color: var(--gold-deep); display: block; margin-bottom: .9rem; }
.ev h3 { font-size: 1.12rem; margin-bottom: .45rem; }
.ev p { font-size: .92rem; color: var(--fg-soft); margin: 0; }

/* ── Historia ────────────────────────────────────────────── */

.story { padding: var(--sec) 0; }

.story__grid {
  display: grid; gap: clamp(2rem, 5vw, 4.5rem);
  grid-template-columns: .8fr 1.2fr;
  align-items: start;
}

.story__art {
  margin: 0; position: sticky; top: 100px;
  border-radius: var(--r); overflow: hidden;
  aspect-ratio: 3 / 4;
  box-shadow: var(--shadow);
}
.story__art img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.story__art figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 2.5rem 1.1rem .9rem;
  background: linear-gradient(to top, rgba(26,21,19,.82), transparent);
  color: #FFFBF5; font-size: .85rem; line-height: 1.45;
}

.story__copy p { color: var(--fg-soft); margin-bottom: 1.15rem; }

.quote {
  margin: 2.25rem 0 0;
  padding: 1.5rem 0 1.5rem 1.75rem;
  border-left: 2px solid var(--gold);
}
.quote p {
  font-family: var(--f-display);
  font-size: clamp(1.15rem, 1rem + .8vw, 1.5rem);
  font-weight: 500; line-height: 1.38;
  letter-spacing: -.015em;
  color: var(--fg);
  margin: 0; max-width: 34ch;
}

@media (max-width: 880px) {
  .story__grid { grid-template-columns: 1fr; }
  .story__art { position: relative; top: auto; aspect-ratio: 4 / 3; }
}

/* Fotos de archivo: dos piezas con su pie, bajo la historia */
.archive { margin-top: clamp(3rem, 7vw, 5rem); }
.archive__label {
  font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold-deep); margin-bottom: 1.1rem;
}
.archive__row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 3vw, 2rem); }
.archive__item { margin: 0; }
.archive__item img {
  width: 100%; aspect-ratio: 3 / 2; object-fit: cover;
  border-radius: var(--r-sm); box-shadow: var(--shadow);
}
.archive__item figcaption { margin-top: .8rem; font-size: .92rem; color: var(--fg-soft); max-width: 48ch; }
.archive__item figcaption span {
  display: block; font-family: var(--f-display); font-weight: 700;
  color: var(--fg); font-size: 1rem; margin-bottom: .15rem;
}
@media (max-width: 640px) { .archive__row { grid-template-columns: 1fr; } }

/* ── Bento: repertorio y equipo ──────────────────────────── */

.kit { background: var(--bg-2); padding: var(--sec) 0; }
.kit .sec-title { margin-bottom: 2.25rem; }

.bento {
  display: grid; gap: clamp(.85rem, 2vw, 1.25rem);
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(0, auto);
}

.cell {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: clamp(1.4rem, 3vw, 2rem);
}
.cell h3 { font-size: 1.3rem; margin-bottom: .8rem; }
.cell p { color: var(--fg-soft); font-size: .96rem; }
.cell__note {
  font-size: .87rem;
  padding-top: .9rem; margin-top: .9rem;
  border-top: 1px solid var(--line-soft);
}

.cell--rep { grid-column: span 2; }

.cell--photo {
  grid-column: span 2; grid-row: span 2;
  padding: 0; overflow: hidden; min-height: 260px;
  background: var(--rose);
}
.cell--photo img { width: 100%; height: 100%; object-fit: cover; }

.cell--gear { grid-column: span 2; }

.gear { list-style: none; margin: 0 0 0; padding: 0; display: grid; gap: .7rem; }
.gear li {
  display: flex; align-items: flex-start; gap: .7rem;
  font-size: .95rem; color: var(--fg-soft);
}
.gear i { font-size: 1.15rem; color: var(--gold-deep); flex: 0 0 auto; margin-top: .1rem; }

.cell--video {
  grid-column: 1 / -1;          /* a todo el ancho: sin celdas vacías */
  padding: 0; overflow: hidden;
  background: var(--rose-tint); color: var(--fg);
  min-height: 260px;
}

/* Video vertical a la izquierda, texto a la derecha; apilado en móvil */
.reel {
  display: grid; grid-template-columns: minmax(0, 320px) 1fr;
  align-items: center; gap: clamp(1.5rem, 4vw, 3.5rem);
  padding: clamp(1.25rem, 3vw, 2rem);
}
.reel__frame {
  position: relative; aspect-ratio: 9 / 16;
  border-radius: var(--r-sm); overflow: hidden;
  background: #000;
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--gold) 45%, transparent);
}
.reel__video { width: 100%; height: 100%; object-fit: cover; display: block; }
.reel__controls {
  position: absolute; left: .75rem; right: .75rem; bottom: .75rem;
  display: flex; justify-content: space-between; align-items: center; gap: .5rem;
}
.reel__toggle {
  width: 40px; height: 40px; border-radius: var(--r-pill); border: 0;
  display: grid; place-items: center; cursor: pointer;
  background: rgba(26,21,19,.7); color: #FFFBF5; font-size: 1.1rem;
}
.reel__toggle:hover { background: rgba(26,21,19,.9); }
.reel__toggle:focus-visible { outline: 2px solid var(--cream); outline-offset: 2px; box-shadow: 0 0 0 6px var(--ink); }
.reel__sound {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .55rem .95rem; border: 0; border-radius: var(--r-pill);
  background: var(--rose); color: var(--ink);
  font: 600 .88rem var(--f-body); cursor: pointer;
  box-shadow: 0 6px 18px -6px rgba(0,0,0,.5);
  transition: transform .2s var(--ease), background-color .2s var(--ease);
}
.reel__sound:hover { background: #F0B6CC; }
.reel__sound:active { transform: scale(.96); }
.reel__sound:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.reel__sound i { font-size: 1.1rem; }
.reel__copy h3 { color: var(--fg); font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.2rem); margin-bottom: .8rem; }
.reel__copy p { color: var(--fg-soft); }
.cell--video .reel__eyebrow {
  color: var(--gold-deep); font-size: .8rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; margin-bottom: .6rem;
}
@media (max-width: 640px) {
  .reel { grid-template-columns: 1fr; }
  .reel__frame { max-width: 340px; width: 100%; margin-inline: auto; }
  .reel__copy { text-align: center; }
  .reel__copy p { margin-inline: auto; }
}

@media (max-width: 880px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cell--rep, .cell--gear, .cell--video { grid-column: span 2; }
  .cell--photo { grid-column: span 2; grid-row: auto; aspect-ratio: 1 / 1; min-height: 0; }
}
@media (max-width: 560px) {
  .bento { grid-template-columns: minmax(0, 1fr); }
  .cell--rep, .cell--gear, .cell--video, .cell--photo { grid-column: span 1; }
}

/* ── Videos ──────────────────────────────────────────────── */

.videos { padding: var(--sec) 0; }
.videos__head { margin-bottom: 2.25rem; }

/* Fachada de YouTube: imagen local + botón; el reproductor se carga al hacer clic */
.yt {
  position: relative; aspect-ratio: 16 / 9;
  border-radius: var(--r); overflow: hidden;
  background: #000; box-shadow: var(--shadow);
}
.yt img, .yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.yt--feature { box-shadow: var(--shadow-lg); }
.yt--feature::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(26,21,19,.7), transparent 45%);
}
.yt.is-playing::after { display: none; }
.yt__play {
  position: absolute; left: 50%; top: 50%; z-index: 2;
  transform: translate(-50%, -50%);
  width: 64px; height: 64px; border-radius: var(--r-pill); border: 0;
  display: grid; place-items: center; cursor: pointer;
  background: var(--rose); color: var(--ink); font-size: 1.6rem;
  box-shadow: 0 10px 30px -8px rgba(0,0,0,.6);
  transition: transform .22s var(--ease), background-color .22s var(--ease);
}
.yt--feature .yt__play { width: 84px; height: 84px; font-size: 2.1rem; }
.yt__play:hover { transform: translate(-50%, -50%) scale(1.07); background: #F0B6CC; }
.yt__play:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
.yt__title {
  position: absolute; left: clamp(1rem, 3vw, 1.75rem); bottom: clamp(.9rem, 2.5vw, 1.5rem); z-index: 1;
  margin: 0; color: #FFFBF5; font-family: var(--f-display); font-weight: 700;
  font-size: clamp(1.2rem, 1rem + 1vw, 1.8rem); letter-spacing: -.02em;
}

.videos__row {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2.5vw, 1.75rem); margin-top: clamp(1.25rem, 3vw, 2rem);
}
.vcard { margin: 0; }
.vcard .yt { border-radius: var(--r-sm); }
.vcard .yt__play { width: 52px; height: 52px; font-size: 1.3rem; }
.vcard__video {
  display: block; width: 100%; height: auto; aspect-ratio: 16 / 9;
  background: #000; border-radius: var(--r-sm); box-shadow: var(--shadow);
}
.vcard figcaption { margin-top: .75rem; font-size: .92rem; color: var(--fg-soft); }
.vcard figcaption strong { display: block; color: var(--fg); font-family: var(--f-display); font-size: 1.02rem; }

.videos__more { margin: 2rem 0 0; }
.videos__more a {
  display: inline-flex; align-items: center; gap: .5rem;
  color: var(--rose-deep); font-weight: 600; text-decoration: none;
}
.videos__more a:hover { text-decoration: underline; }
.videos__more i { font-size: 1.3rem; }

@media (max-width: 880px) { .videos__row { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .videos__row { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .yt--feature .yt__play { width: 60px; height: 60px; font-size: 1.5rem; }
  .yt--feature .yt__title { font-size: 1.05rem; }
}

/* ── Clases (banda rosa clara) ───────────────────────────────── */

.classes {
  background: var(--rose-tint); color: var(--invert-fg);
  padding: var(--sec) 0;
}
.classes__grid {
  display: grid; gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
}
.classes__copy p { color: var(--invert-soft); margin-bottom: 1.1rem; }
.classes__copy .btn { margin-top: 1.25rem; }

.classes__facts { margin: 0; display: grid; gap: 0; }
.classes__facts > div {
  padding: 1.1rem 0;
  border-top: 1px solid color-mix(in srgb, var(--invert-fg) 15%, transparent);
  display: grid; gap: .2rem;
}
.classes__facts > div:last-child { border-bottom: 1px solid color-mix(in srgb, var(--invert-fg) 15%, transparent); }
.classes__facts dt {
  font-size: .78rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .12em;
  color: var(--invert-soft);
}
.classes__facts dd {
  margin: 0; font-family: var(--f-display); font-weight: 500;
  font-size: 1.12rem; letter-spacing: -.015em;
}
.classes__facts strong { color: var(--gold-deep); font-weight: 700; }

@media (max-width: 880px) { .classes__grid { grid-template-columns: 1fr; } }

/* ── Reserva ─────────────────────────────────────────────── */

.reserve { padding: var(--sec) 0; }
.reserve__head { text-align: center; margin-bottom: 2.5rem; }
.reserve__head .sec-lead { margin-inline: auto; }

.booker {
  max-width: 760px; margin-inline: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.booker__bar { height: 3px; background: var(--line); }
.booker__bar span {
  display: block; height: 100%; width: 25%;
  background: linear-gradient(90deg, var(--rose), var(--gold));
  transition: width .45s var(--ease);
}

.booker__step {
  margin: 0; padding: 1.1rem clamp(1.25rem, 4vw, 2.25rem) 0;
  font-size: .78rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .12em;
  color: var(--fg-soft);
}

.step {
  border: 0; margin: 0;
  padding: .9rem clamp(1.25rem, 4vw, 2.25rem) 0;
  display: grid; gap: 1.5rem;
}
.step__title {
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(1.25rem, 1.1rem + .7vw, 1.6rem);
  letter-spacing: -.02em;
  padding: 0; margin-bottom: .25rem;
}

.field { display: grid; gap: .5rem; }

.label {
  font-size: .88rem; font-weight: 600; color: var(--fg);
}
.label .opt { font-weight: 400; color: var(--fg-soft); }

.hint { font-size: .83rem; color: var(--fg-soft); margin: 0; }

.input {
  width: 100%;
  font-family: var(--f-body); font-size: 1rem; color: var(--fg);
  background: var(--bg);
  padding: .75rem .9rem;
  border: 1px solid var(--control-line);
  border-radius: var(--r-sm);
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.input::placeholder { color: var(--fg-soft); }
.input:focus {
  outline: 0;
  border-color: var(--rose-deep);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--rose) 32%, transparent);
}
textarea.input { resize: vertical; min-height: 88px; line-height: 1.55; }
select.input { appearance: none; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--fg-soft) 50%),
                    linear-gradient(135deg, var(--fg-soft) 50%, transparent 50%);
  background-position: calc(100% - 19px) calc(50% + 1px), calc(100% - 14px) calc(50% + 1px);
  background-size: 5px 5px, 5px 5px; background-repeat: no-repeat;
  padding-right: 2.5rem; }

.row { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; }
@media (max-width: 540px) { .row { grid-template-columns: 1fr; } }

/* Chips (radios en píldora) */
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip input { position: absolute; opacity: 0; width: 0; height: 0; }
.chip span {
  display: inline-flex; align-items: center;
  padding: .55rem 1rem;
  font-size: .9rem; font-weight: 500;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  cursor: pointer;
  transition: all .18s var(--ease);
}
.chip span:hover { border-color: var(--rose); }
.chip input:checked + span {
  background: var(--rose); color: var(--ink);
  border-color: var(--rose); font-weight: 600;
}
.chip input:focus-visible + span { outline: 2px solid var(--rose-deep); outline-offset: 2px; }

/* Tarjetas de elección */
.choices { display: grid; gap: .75rem; }
.choices--2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 600px) { .choices--2 { grid-template-columns: 1fr; } }

.choice input { position: absolute; opacity: 0; width: 0; height: 0; }
.choice__box {
  display: grid; gap: .3rem; height: 100%;
  padding: 1.1rem 1.15rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: all .2s var(--ease);
}
.choice__box i { font-size: 1.5rem; color: var(--rose-deep); margin-bottom: .3rem; }
.choice__box strong { font-family: var(--f-display); font-size: 1.05rem; letter-spacing: -.015em; }
.choice__box small { font-size: .85rem; color: var(--fg-soft); line-height: 1.45; }
.choice__box:hover { border-color: var(--rose); transform: translateY(-2px); }
.choice input:checked + .choice__box {
  border-color: var(--rose-deep);
  box-shadow: inset 0 0 0 1px var(--rose-deep);
  background: color-mix(in srgb, var(--rose) 10%, var(--bg));
}
.choice input:focus-visible + .choice__box { outline: 2px solid var(--rose-deep); outline-offset: 2px; }
.choice--big .choice__box { padding: 1.5rem 1.35rem; }

/* Avisos y errores */
.note {
  display: flex; gap: .6rem; align-items: flex-start;
  font-size: .88rem; line-height: 1.55;
  padding: .85rem 1rem; margin: 0;
  border-radius: var(--r-sm);
  background: color-mix(in srgb, var(--rose) 14%, var(--bg));
  border: 1px solid color-mix(in srgb, var(--rose) 40%, transparent);
  color: var(--fg);
}
.note i { font-size: 1.1rem; color: var(--rose-deep); flex: 0 0 auto; margin-top: .1rem; }
.note--soft { background: var(--bg); border-color: var(--line); color: var(--fg-soft); }
.note--warn { margin-top: .4rem; }

.err {
  margin: 0; font-size: .85rem; font-weight: 500;
  color: #B02B2B;
  display: flex; align-items: center; gap: .35rem;
}
.err::before { content: '\26A0'; font-size: .95em; }

/* Resumen */
.summary { margin: 0; display: grid; gap: 0; }
.summary > div {
  display: grid; grid-template-columns: 10.5rem 1fr; gap: 1rem;
  padding: .7rem 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: .94rem;
}
.summary > div:last-child { border-bottom: 0; }
.summary dt { color: var(--fg-soft); }
.summary dd { margin: 0; font-weight: 500; }
@media (max-width: 540px) {
  .summary > div { grid-template-columns: 1fr; gap: .1rem; }
  .summary dt { font-size: .82rem; }
}

.booker__actions {
  display: flex; flex-wrap: wrap; gap: .75rem; align-items: center;
  padding: 1.75rem clamp(1.25rem, 4vw, 2.25rem) clamp(1.5rem, 4vw, 2.25rem);
}
.booker__actions #btnNext, .booker__actions #btnSend { margin-left: auto; }
@media (max-width: 420px) {
  .booker__actions .btn { flex: 1 1 100%; margin-left: 0; white-space: normal; }
  .booker__actions #btnNext, .booker__actions #btnSend { order: -1; }
}

.booker__done {
  padding: clamp(2.25rem, 6vw, 3.5rem) clamp(1.25rem, 4vw, 2.25rem);
  text-align: center; display: grid; justify-items: center; gap: .6rem;
}
.booker__done > i { font-size: 3rem; color: var(--rose-deep); }
.booker__done h3 { font-size: 1.5rem; }
.booker__done p { color: var(--fg-soft); }
.booker__done a:not(.btn) { color: var(--rose-deep); font-weight: 600; }
.booker__done .btn { margin-top: .75rem; }

/* ── Preguntas ───────────────────────────────────────────── */

.faq { background: var(--bg-2); padding: var(--sec) 0; }
.faq__wrap { max-width: 860px; }
.faq .sec-title { margin-bottom: 2rem; }

.faq__list { border-top: 1px solid var(--line); }

.qa { border-bottom: 1px solid var(--line); }
.qa summary {
  list-style: none; cursor: pointer;
  padding: 1.25rem 2.5rem 1.25rem 0;
  position: relative;
  font-family: var(--f-display); font-weight: 500;
  font-size: clamp(1.02rem, .98rem + .35vw, 1.18rem);
  letter-spacing: -.015em;
  transition: color .18s var(--ease);
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--rose-deep); }
.qa summary::after {
  content: ''; position: absolute; right: .35rem; top: 50%;
  width: 11px; height: 11px; margin-top: -6px;
  border-right: 2px solid var(--gold-deep);
  border-bottom: 2px solid var(--gold-deep);
  transform: rotate(45deg);
  transition: transform .3s var(--ease);
}
.qa[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.qa p { padding: 0 2.5rem 1.5rem 0; color: var(--fg-soft); font-size: .96rem; margin: 0; }

/* ── Cierre ──────────────────────────────────────────────── */

.closing { padding: var(--sec) 0; }
.closing__inner {
  text-align: center;
  display: grid; justify-items: center; gap: .75rem;
}
.closing h2 { font-size: clamp(2rem, 1.3rem + 3vw, 3.4rem); }
.closing p { color: var(--fg-soft); font-size: 1.1rem; }
.closing .btn { margin-top: 1rem; }

/* ── Pie ─────────────────────────────────────────────────── */

.foot {
  background: var(--invert-bg); color: var(--invert-fg);
  border-top: 1px solid var(--line);
  padding: clamp(3rem, 7vw, 4.5rem) 0 1.75rem;
}
.foot__grid {
  display: grid; gap: clamp(2rem, 5vw, 3rem);
  grid-template-columns: 1.1fr 1.35fr 1fr .7fr;
}
.foot__brand .nav__mark { margin-bottom: 1rem; }
.foot__tag {
  font-family: var(--f-display); font-weight: 500;
  font-size: 1.05rem; line-height: 1.4; letter-spacing: -.015em;
  color: var(--invert-fg); margin: 0;
}

.foot__col { display: grid; align-content: start; gap: .6rem; }
.foot__col h3 {
  font-family: var(--f-body);
  font-size: .78rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .12em;
  color: var(--invert-soft); margin-bottom: .3rem;
}
.foot__col a {
  display: inline-flex; align-items: center; gap: .55rem;
  text-decoration: none; font-size: .95rem;
  color: var(--invert-fg);
  transition: color .18s var(--ease);
  overflow-wrap: break-word;
}
.foot__col a[href^="mailto"] { font-size: .88rem; }
.foot__col a:hover { color: var(--rose-deep); }
.foot__col i { font-size: 1.15rem; color: var(--gold-deep); flex: 0 0 auto; }

.foot__legal {
  margin-top: clamp(2.5rem, 6vw, 3.5rem);
  padding-top: 1.5rem;
  border-top: 1px solid color-mix(in srgb, var(--invert-fg) 14%, transparent);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem;
}
.foot__legal p { font-size: .85rem; color: var(--invert-soft); margin: 0; }

@media (max-width: 880px) { .foot__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot__grid { grid-template-columns: 1fr; } }

/* ── Botón flotante de WhatsApp ──────────────────────────── */

.wa {
  position: fixed; right: 1.15rem; bottom: 1.15rem; z-index: 90;
  width: 54px; height: 54px;
  display: grid; place-items: center;
  background: var(--rose); color: var(--ink);
  border-radius: var(--r-pill);
  box-shadow: 0 6px 24px -6px rgba(168, 69, 111, .6);
  font-size: 1.65rem; text-decoration: none;
  transition: transform .22s var(--ease), background-color .22s var(--ease);
}
.wa:hover { transform: scale(1.07); background: #F0B6CC; }
.wa:active { transform: scale(.96); }

/* ── Reveal al hacer scroll ──────────────────────────────── */

.reveal {
  transition: opacity .75s var(--ease), transform .75s var(--ease);
  transition-delay: calc(var(--d, 0) * 90ms);
}
[data-js] .reveal { opacity: 0; transform: translateY(18px); }
[data-js] .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal, [data-js] .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .btn:hover, .path:hover, .ev:hover, .wa:hover, .choice__box:hover { transform: none; }
}

@media (prefers-reduced-transparency: reduce) {
  .nav { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--bg); }
}

/* Botón dorado: la alternativa al rosa en llamadas secundarias */
.btn--gold {
  --btn-bg: var(--gold);
  --btn-fg: var(--ink);            /* café sobre dorado: 5.7:1, pasa AA */
  --btn-bd: var(--gold);
  box-shadow: 0 8px 20px -10px rgba(134, 98, 31, .55);
}
.btn--gold:hover { --btn-bg: #DDB46A; --btn-bd: #DDB46A; }

/* Pulido editorial: ritmo, alineación y estados de interacción */
.hero { padding-top: clamp(2rem, 4.5vw, 4rem); }
.hero__inner { gap: clamp(2rem, 6vw, 5rem); }
.hero__title {
  max-width: none;
  font-size: clamp(2.15rem, .75rem + 2.8vw, 2.8rem);
  text-wrap: balance;
}
.hero__art { box-shadow: 0 18px 48px -24px rgba(58,46,42,.34); }

/* La portada presenta primero la consulta; el retrato conserva su formato vertical. */
@media (max-width: 900px) {
  .hero { padding-bottom: clamp(4rem, 10vw, 6rem); }
  .hero__inner { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; }
  .hero__copy, .hero__sub, .hero__cta { min-width: 0; max-width: 100%; }
  .hero__copy { order: 0; }
  .hero__art { order: 1; aspect-ratio: 4 / 5; }
  .hero__title { max-width: 100%; }
}

.paths { padding-bottom: clamp(3rem, 7vw, 5rem); }
.paths__grid { align-items: stretch; }
.path { display: flex; flex-direction: column; box-shadow: var(--shadow); }
.path__media { aspect-ratio: 4 / 3; }
.path__media img { object-position: center 30%; }
.path__body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; }
.path__body p { max-width: 46ch; }
.path__meta { margin-top: auto; }
.path:hover { border-color: var(--rose-deep); }

.events { background: var(--cream-2); }
.events__head { margin-bottom: clamp(1.75rem, 4vw, 2.75rem); }
.events__rail { padding-bottom: 1.75rem; }
.ev { box-shadow: 0 5px 18px -14px rgba(58,46,42,.38); }
.ev:hover { border-color: var(--gold-deep); box-shadow: var(--shadow); }

.story__art { box-shadow: var(--shadow-lg); }
.story__art figcaption { padding: 3.25rem 1.25rem 1.1rem; }
.quote { border-left-color: var(--gold-deep); }
.archive__row { align-items: start; }
.archive__item img { border-radius: var(--r); }

.kit { background: var(--cream-2); }
.cell { box-shadow: 0 5px 20px -16px rgba(58,46,42,.4); }
.cell--photo img { object-position: center; }
.cell--video { box-shadow: var(--shadow); }
.reel { grid-template-columns: minmax(0, 280px) minmax(0, 1fr); }
.reel__frame { border-radius: var(--r); box-shadow: 0 8px 24px -12px rgba(58,46,42,.5); }
.reel__sound { box-shadow: 0 6px 18px -10px rgba(58,46,42,.55); }

.videos__head { margin-bottom: clamp(1.75rem, 4vw, 2.75rem); }
.yt { border-radius: var(--r); }
.yt--feature { width: min(100%, 1040px); margin-inline: auto; }
.yt__play { box-shadow: 0 8px 24px -12px rgba(58,46,42,.7); }
.yt__play:focus-visible { outline-color: var(--rose-deep); }
.vcard__video, .vcard .yt { border-radius: var(--r); }
.vcard__video { box-shadow: var(--shadow); }
.vcard figcaption { max-width: 38ch; }

.classes { background: var(--rose-tint); }
.classes__grid { gap: clamp(2.5rem, 7vw, 5.5rem); }
.classes__facts > div { padding-block: 1.2rem; }

.reserve__head { margin-bottom: clamp(1.75rem, 4vw, 2.75rem); }
.booker { box-shadow: var(--shadow-lg); }
.booker__bar { height: 4px; }
.step { gap: 1.65rem; }
.chip span { min-height: 44px; justify-content: center; }
.chip span:hover { border-color: var(--rose-deep); }
.choice__box { border-radius: var(--r); }
.choice__box:hover { border-color: var(--rose-deep); }
.note { border-radius: var(--r); }

.faq { background: var(--cream-2); }
.qa summary:hover { color: var(--rose-deep); }
.closing { padding-block: clamp(3.5rem, 7vw, 6rem); }
.foot { background: var(--cream-2); }
.foot__grid { gap: clamp(1.75rem, 4vw, 3.25rem); }
.foot__col a:hover { color: var(--rose-deep); }
.wa { box-shadow: 0 8px 24px -12px rgba(58,46,42,.55); }

@media (max-width: 640px) {
  .hero__title { font-size: clamp(2rem, 8.1vw, 2.25rem); }
  .hero__cta { display: grid; grid-template-columns: minmax(0, 1fr); }
  .hero__cta .btn { width: 100%; min-width: 0; white-space: normal; }
  .path--event .path__media { aspect-ratio: 5 / 6; }
  .path--event .path__media img { object-position: center; }
  .reel { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 420px) {
  .nav__inner { gap: .75rem; }
  .nav__name { font-size: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  .path, .path__media img, .ev, .btn, .wa, .choice__box, .yt__play { transition: none; }
}

/* Clases: franja sobre rosa tenue con el precio como protagonista y su foto a la derecha
   (espejo de la de eventos, que lleva la foto a la izquierda). */
.path--text { background: var(--rose-tint); border-color: color-mix(in srgb, var(--rose) 45%, transparent); }
.path--text .path__body { padding-block: clamp(2rem, 5vw, 3.25rem); }
.path--text h3 { font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.2rem); }
.path--text .path__meta { display: block; margin: 1rem 0 0; padding: 0; border: 0; border-radius: 0; background: none; font-size: 1rem; font-weight: 500; color: var(--fg-soft); }
.path--text .path__meta b {
  display: block; font-family: var(--f-display); font-weight: 800; color: var(--gold-deep);
  font-size: clamp(3rem, 2rem + 3.5vw, 4.75rem); line-height: 1; letter-spacing: -.04em;
}

/* Desde tableta: dos franjas. La de eventos lleva la foto vertical COMPLETA a la izquierda (5:6,
   sin cortar la silla ni los zapatos); la de clases, texto y precio. */
@media (min-width: 641px) {
  .paths__grid { grid-template-columns: minmax(0, 1fr); gap: clamp(1.25rem, 2.5vw, 2rem); }
  .path--event { flex-direction: row; }
  .path--event .path__media { flex: 0 0 min(38%, 440px); aspect-ratio: 5 / 6; }
  .path--event .path__media img { object-position: center; }
  .path--event .path__body { justify-content: center; padding: clamp(1.5rem, 4vw, 3.5rem); }
  .path--event .path__meta { margin-top: 1.25rem; }
  .path--text { flex-direction: row; }
  .path--text .path__media { flex: 0 0 min(38%, 440px); aspect-ratio: 5 / 6; order: 2; }
  .path--text .path__media img { object-position: center; }
  .path--text .path__body { flex: 1; justify-content: center; padding: clamp(1.5rem, 4vw, 3.5rem); }
}
@media (max-width: 640px) {
  .path--event .path__media,
  .path--text .path__media { width: 100%; max-width: 420px; align-self: center; aspect-ratio: 5 / 6; }
  .path--text .path__media { order: -1; }
  .path--text .path__media img { object-position: center; }
}

/* Cierre con foto: ella tocando junto a la llamada final */
.closing__inner--foto {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(2rem, 6vw, 5rem); align-items: center; text-align: left; justify-items: stretch;
}
.closing__art {
  margin: 0; width: 100%; max-width: 460px; justify-self: center;
  aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-lg);
}
.closing__art img { width: 100%; height: 100%; object-fit: cover; }
.closing__copy { display: grid; gap: .75rem; justify-items: start; }
@media (max-width: 760px) {
  .closing__inner--foto { grid-template-columns: minmax(0, 1fr); text-align: center; }
  .closing__copy { justify-items: center; }
  /* En celular la página ya es larga: la foto del cierre se queda fuera y el botón queda a la vista. */
  .closing__art { display: none; }
}
