@font-face { font-family: "Bodoni Moda"; src: url(fonts/bodoni-moda-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Bodoni Moda"; src: url(fonts/bodoni-moda-latin-400-italic.woff2) format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Bodoni Moda"; src: url(fonts/bodoni-moda-latin-500-normal.woff2) format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Work Sans"; src: url(fonts/work-sans-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Work Sans"; src: url(fonts/work-sans-latin-500-normal.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Work Sans"; src: url(fonts/work-sans-latin-600-normal.woff2) format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --ink: #18233A;      /* bleu de travail */
  --ink-2: #26344F;
  --paper: #FFFFFF;
  --mist: #EDF1F6;
  --line: #D5DCE6;
  --red: #A8262F;      /* rouge garance */
  --red-dark: #8A1E26;
  --sky: #8DBBE3;      /* celeste argentino */
  --sky-soft: #DCEAF6;
  --text: #22304A;
  --muted: #5A6880;
  --serif: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --sans: "Work Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--text); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--paper); padding: 8px 12px; }

/* Tipografía */
.h2 { font: 400 clamp(2rem, 4.2vw, 3.25rem)/1.08 var(--serif); color: var(--ink); margin: 0 0 .5em; letter-spacing: -.01em; max-width: 22ch; }
.h2--light { color: var(--paper); }
.h3 { font: 500 1.45rem/1.2 var(--serif); color: var(--ink); margin: 0 0 .4em; }
.lede { font-size: 1.12rem; color: var(--muted); max-width: 62ch; margin: 0 0 2rem; }
em { font-style: italic; }

/* Botones */
.btn { display: inline-block; padding: .85em 1.5em; font: 500 .98rem/1 var(--sans); text-decoration: none; border-radius: 2px; border: 1px solid transparent; transition: background .2s, color .2s, border-color .2s; cursor: pointer; }
.btn--red { background: var(--red); color: var(--paper); }
.btn--red:hover { background: var(--red-dark); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: var(--ink-2); }
.btn--ghost { border-color: rgba(255,255,255,.7); color: var(--paper); }
.btn--ghost:hover { background: var(--paper); color: var(--ink); }
.link { color: var(--red); font-weight: 500; }

/* Barra superior (como Pineapple: Clases / Tienda) */
.utility { background: var(--ink); color: #C9D3E2; font-size: .85rem; }
.utility__row { display: flex; justify-content: space-between; gap: 16px; padding-top: 8px; padding-bottom: 8px; }
.utility a { text-decoration: none; }
.utility a:hover { color: var(--paper); text-decoration: underline; }
.utility__left, .utility__right { display: flex; gap: 20px; }
@media (max-width: 560px) { .utility__right a:last-child { display: none; } }

/* Cabecera */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.header__row { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { font: italic 400 1.6rem/1 var(--serif); color: var(--ink); text-decoration: none; letter-spacing: -.01em; }
.brand--light { color: var(--paper); margin: 0 0 .5rem; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a:not(.btn) { text-decoration: none; font-size: .95rem; color: var(--ink); padding: 6px 0; border-bottom: 1px solid transparent; }
.nav a:not(.btn):hover { border-bottom-color: var(--red); }
.nav__cta { padding: .7em 1.2em; }
.menu-btn { display: none; background: none; border: 1px solid var(--ink); color: var(--ink); font: 500 .95rem var(--sans); padding: 8px 14px; border-radius: 2px; }
@media (max-width: 980px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: var(--paper); flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 20px; border-bottom: 1px solid var(--line); }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav__cta { margin-top: 16px; text-align: center; }
}

/* Hero con video */
.hero { position: relative; min-height: min(88vh, 760px); display: flex; align-items: flex-end; overflow: hidden; background: var(--ink); color: var(--paper); }
.hero__media { position: absolute; inset: 0; }
.hero__layer { position: absolute; inset: 0; overflow: hidden; opacity: 0; transition: opacity 1.2s ease; }
.hero__layer.is-on { opacity: 1; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.35); }
.hero__media iframe { position: absolute; top: 50%; left: 50%; width: 177.78vh; height: 56.25vw; min-width: 100%; min-height: 100%; transform: translate(-50%, -50%) scale(1.15); border: 0; pointer-events: none; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(24,35,58,.25) 0%, rgba(24,35,58,.55) 45%, rgba(24,35,58,.92) 100%); }
.hero__content { position: relative; padding-top: 120px; padding-bottom: clamp(48px, 8vw, 96px); width: 100%; }
.hero__kicker { font: italic 400 1.15rem var(--serif); color: var(--sky); margin: 0 0 .6rem; }
.hero__title { font: 400 clamp(3rem, 9vw, 7.2rem)/.98 var(--serif); margin: 0 0 1.4rem; letter-spacing: -.02em; }
.hero__lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 44ch; margin: 0 0 2rem; color: #E6ECF4; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__toggle { position: absolute; right: var(--gutter); bottom: 20px; background: rgba(24,35,58,.6); color: var(--paper); border: 1px solid rgba(255,255,255,.5); font: 500 .85rem var(--sans); padding: 8px 12px; border-radius: 2px; cursor: pointer; }

/* Bienvenida */
.welcome { padding: clamp(64px, 9vw, 120px) 0 clamp(40px, 6vw, 72px); }
.welcome__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.facts { margin: 0; border-top: 2px solid var(--ink); }
.facts div { display: grid; grid-template-columns: 8.5em 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts dt { font: italic 400 1.05rem var(--serif); color: var(--red); }
.facts dd { margin: 0; }
@media (max-width: 820px) { .welcome__grid { grid-template-columns: 1fr; } }

/* Dos tejas */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2.5vw, 28px); padding-bottom: clamp(64px, 9vw, 120px); }
.tile { position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 10; background: var(--ink); text-decoration: none; color: var(--paper); }
.tile img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.36); transition: transform .6s ease; opacity: .85; }
.tile:hover img { transform: scale(1.42); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(24,35,58,.85)); }
.tile__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: clamp(18px, 3vw, 32px); display: flex; flex-direction: column; gap: 4px; }
.tile__title { font: 400 clamp(1.6rem, 3vw, 2.3rem)/1.1 var(--serif); }
.tile__text { color: #DCE4EF; }
@media (max-width: 700px) { .duo { grid-template-columns: 1fr; } }

/* Reserva */
.booking { background: var(--ink); color: #DCE4EF; padding: clamp(64px, 9vw, 112px) 0; }
.booking__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.booking__list { list-style: none; padding: 0; margin: 1.6rem 0; border-top: 1px solid rgba(255,255,255,.2); }
.booking__list li { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.2); display: flex; justify-content: space-between; gap: 16px; }
.booking__list strong { font-weight: 500; color: var(--paper); }
.booking__alt { font-size: .92rem; }
.booking__alt a { color: var(--sky); }
.booking__form { background: var(--paper); border-radius: 2px; padding: clamp(12px, 2.5vw, 28px); min-height: 700px; }
.booking__form iframe { border: 0; display: block; width: 100%; min-height: 700px; }
@media (max-width: 880px) { .booking__grid { grid-template-columns: 1fr; } }

/* Mapa de Francia */
.atlas { padding: clamp(64px, 9vw, 120px) 0; background: var(--mist); }
.atlas__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.atlas__map svg { width: 100%; height: auto; display: block; overflow: visible; }
.region { fill: #FFFFFF; stroke: var(--line); stroke-width: 1.2; transition: fill .25s; }
.region--has { fill: var(--sky-soft); stroke: #9DBBD8; cursor: pointer; }
.region--has:hover, .region--has:focus { fill: var(--sky); outline: none; }
.region--active, .region--active:hover { fill: var(--red); stroke: var(--red-dark); }
.region-label { font: italic 400 15px var(--serif); fill: var(--ink); pointer-events: none; }
.region-label--active { fill: var(--paper); }
.atlas__panel { background: var(--paper); padding: clamp(22px, 3vw, 36px); border-top: 3px solid var(--red); min-height: 320px; }
.atlas__panel h3 { font: 400 2rem/1.1 var(--serif); color: var(--ink); margin: 0 0 .3rem; }
.atlas__panel .note { color: var(--muted); margin: 0 0 1.2rem; }
.atlas__list { list-style: none; margin: 0; padding: 0; }
.atlas__list li { border-bottom: 1px solid var(--line); }
.atlas__list button { width: 100%; text-align: left; background: none; border: 0; padding: 12px 0; font: 400 1.05rem var(--sans); color: var(--ink); cursor: pointer; display: flex; justify-content: space-between; gap: 12px; }
.atlas__list button:hover { color: var(--red); }
.atlas__list .cat { color: var(--muted); font-size: .85rem; white-space: nowrap; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 1.2rem; }
.chip { background: var(--mist); border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; font: 500 .9rem var(--sans); color: var(--ink); cursor: pointer; }
.chip:hover { border-color: var(--ink); }
@media (max-width: 880px) { .atlas__grid { grid-template-columns: 1fr; } .atlas__map { max-width: 520px; margin: 0 auto; width: 100%; } }

/* Danzas */
.dances { padding: clamp(64px, 9vw, 120px) 0; }
.filters { display: flex; flex-wrap: wrap; gap: 4px 28px; border-bottom: 1px solid var(--line); margin-bottom: 32px; }
.filter { background: none; border: 0; border-bottom: 2px solid transparent; padding: 10px 0; margin-bottom: -1px; font: 500 1rem var(--sans); color: var(--muted); cursor: pointer; }
.filter[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--red); }
.filter small { font-weight: 400; color: var(--muted); }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 28px 22px; }
.card { display: block; width: 100%; background: none; border: 0; padding: 0; text-align: left; cursor: pointer; color: inherit; font: inherit; }
.card__img { display: block; position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--ink); }
.card__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.36); transition: transform .5s ease; }
.card:hover .card__img img { transform: scale(1.42); }
.card__play { position: absolute; left: 12px; bottom: 12px; background: var(--paper); color: var(--ink); font: 500 .8rem var(--sans); padding: 5px 10px; border-radius: 2px; }
.card__name { font: 400 1.22rem/1.25 var(--serif); color: var(--ink); margin: 12px 0 2px; display: block; }
.card__meta { font-size: .88rem; color: var(--muted); }

/* Aprender: bloques alternados */
.learn { padding: clamp(64px, 9vw, 120px) 0; background: var(--mist); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 72px); align-items: center; padding: clamp(28px, 4vw, 48px) 0; border-top: 1px solid var(--line); }
.split:first-of-type { margin-top: 1.5rem; }
.split__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--ink); }
.split__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.36); }
.split__body p { max-width: 52ch; }
.split__price { font: italic 400 1.3rem var(--serif); color: var(--red); }
.split--flip .split__media { order: 2; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } .split--flip .split__media { order: 0; } }

/* Grilla 3x2 */
.meet { padding: clamp(64px, 9vw, 120px) 0; }
.grid6 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--paper); }
.block { min-height: 260px; padding: clamp(22px, 3vw, 34px); text-decoration: none; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; transition: filter .2s; }
.block:hover { filter: brightness(1.08); }
.block__title { font: 400 clamp(1.6rem, 2.6vw, 2.1rem)/1.1 var(--serif); }
.block__text { max-width: 36ch; font-size: .98rem; }
.block--ink { background: var(--ink); color: var(--paper); }
.block--ink .block__text { color: #CAD4E3; }
.block--red { background: var(--red); color: var(--paper); }
.block--red .block__text { color: #F3D9DB; }
.block--sky { background: var(--sky); color: var(--ink); }
.block--mist { background: var(--mist); color: var(--ink); }
@media (max-width: 900px) { .grid6 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .grid6 { grid-template-columns: 1fr; } .block { min-height: 200px; } }

/* Equipo */
.team { padding: clamp(64px, 9vw, 120px) 0; border-top: 1px solid var(--line); }
.team__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 56px); margin-top: 1rem; }
.person__mono { width: 96px; height: 96px; border-radius: 50%; background: var(--ink); color: var(--paper); display: grid; place-items: center; font: italic 400 2rem var(--serif); margin-bottom: 18px; }
.person__mono--sky { background: var(--sky); color: var(--ink); }
.person__mono--red { background: var(--red); }
.person__role { font: italic 400 1.02rem var(--serif); color: var(--red); margin: -.2em 0 .8em; }
@media (max-width: 860px) { .team__grid { grid-template-columns: 1fr; } }

/* Tienda */
.shop { padding: clamp(64px, 9vw, 120px) 0; background: var(--mist); }
.shop__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.product { text-decoration: none; display: flex; flex-direction: column; gap: 4px; }
.product__art { aspect-ratio: 4 / 5; display: grid; place-items: center; text-align: center; padding: 20px; font: italic 400 1.5rem/1.2 var(--serif); margin-bottom: 10px; }
.product__art--ink { background: var(--ink); color: var(--paper); }
.product__art--sky { background: var(--sky); color: var(--ink); }
.product__art--red { background: var(--red); color: var(--paper); }
.product__art--mist { background: var(--paper); color: var(--ink); border: 1px solid var(--line); }
.product__name { font: 400 1.2rem var(--serif); color: var(--ink); }
.product__cta { color: var(--red); font-weight: 500; font-size: .92rem; }
.product:hover .product__cta { text-decoration: underline; }
@media (max-width: 900px) { .shop__grid { grid-template-columns: 1fr 1fr; } }

/* Dónde */
.place { display: grid; grid-template-columns: 1.3fr 1fr; background: var(--ink); color: #DCE4EF; }
.place__map { min-height: 420px; background: var(--ink-2); }
.place__map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; filter: grayscale(.25); }
.place__info { padding: clamp(40px, 6vw, 80px) var(--gutter); align-self: center; }
.place__addr { font: 400 1.35rem/1.35 var(--serif); color: var(--paper); }
.place__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6rem; }
@media (max-width: 880px) { .place { grid-template-columns: 1fr; } .place__map, .place__map iframe { min-height: 320px; } }

/* Pie */
.footer { background: #111A2C; color: #AEB9CB; padding: 56px 0 24px; font-size: .95rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 32px; }
.footer a { display: block; text-decoration: none; padding: 4px 0; }
.footer a:hover { color: var(--paper); text-decoration: underline; }
.footer__head { color: var(--paper); font-weight: 500; margin: 0 0 8px; }
.footer__note { margin: 0; }
.footer__base { border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 20px; font-size: .85rem; }
@media (max-width: 760px) { .footer__grid { grid-template-columns: 1fr 1fr; } }

/* Ventana de video */
.modal { border: 0; padding: 0; width: min(980px, calc(100vw - 24px)); max-height: calc(100vh - 24px); background: var(--paper); color: var(--text); border-radius: 2px; }
.modal::backdrop { background: rgba(17,26,44,.82); }
.modal__inner { padding: clamp(16px, 3vw, 28px); }
.modal__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 14px; }
.modal__head .h3 { font-size: clamp(1.4rem, 3vw, 2rem); margin: 0; }
.modal__close { background: none; border: 1px solid var(--ink); color: var(--ink); font: 500 .9rem var(--sans); padding: 7px 14px; border-radius: 2px; cursor: pointer; flex-shrink: 0; }
.modal__player { aspect-ratio: 16 / 9; background: #000; }
.modal__player iframe { width: 100%; height: 100%; border: 0; display: block; }
.modal__lists { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px 28px; margin-top: 18px; }
.modal__lists h4 { font: italic 400 1.05rem var(--serif); color: var(--red); margin: 0 0 6px; }
.vbtn { display: block; width: 100%; text-align: left; background: none; border: 0; border-bottom: 1px solid var(--line); padding: 9px 0; font: 400 .98rem var(--sans); color: var(--ink); cursor: pointer; }
.vbtn[aria-current="true"] { color: var(--red); font-weight: 500; }
.vbtn:hover { color: var(--red); }
.modal__lists a { display: block; padding: 9px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.modal__lists a:hover { color: var(--red); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Teléfono: fichas de danza en dos columnas */
@media (max-width: 560px) {
  .cards { grid-template-columns: 1fr 1fr; gap: 20px 12px; }
  .card__name { font-size: 1.02rem; margin-top: 8px; }
  .card__meta { font-size: .78rem; }
  .card__play { left: 8px; bottom: 8px; font-size: .72rem; padding: 4px 8px; }
  .filters { gap: 2px 18px; }
}

/* Fotos propias (sin bandas negras de YouTube) */
.tile img.own, .split__media img.own { transform: none; opacity: 1; }
.tile:hover img.own { transform: scale(1.04); }
.team__photo { margin: 0 0 clamp(32px, 5vw, 56px); display: grid; grid-template-columns: minmax(0, 520px) 1fr; gap: 20px; align-items: end; }
.team__photo img { width: 100%; aspect-ratio: 1080 / 1050; object-fit: cover; }
.team__photo figcaption { font: italic 400 1.1rem var(--serif); color: var(--muted); }
@media (max-width: 700px) { .team__photo { grid-template-columns: 1fr; } }

/* Mapa Leaflet */
#danceMap { width: 100%; height: clamp(380px, 62vh, 620px); background: var(--mist); border: 1px solid var(--line); z-index: 0; }
.atlas__legend { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.atlas__legend .chip { display: inline-flex; align-items: center; gap: 6px; }
.atlas__legend .chip i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.atlas__legend .chip.is-on { background: var(--ink); color: #fff; }
.atlas__grid { align-items: start; }
.atlas__panel { max-height: clamp(380px, 62vh, 620px); overflow: auto; }
@media (max-width: 900px) { .atlas__panel { max-height: none; } #danceMap { height: 420px; } }

/* Reservas: título y grupos */
.booking__eyebrow { font: 500 .8rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--sky); margin: 0 0 .9rem; }
.booking__title { font: 400 clamp(2.2rem, 3.6vw, 3.1rem)/1.08 var(--serif); color: var(--paper); margin: 0 0 1.4rem; letter-spacing: -.01em; }
.booking__title em { font-style: italic; color: var(--sky); padding: 0 .08em; }
.booking__group { font: 500 .78rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--sky); margin: 2rem 0 0; }
.booking__group + .booking__list { margin-top: .8rem; }
.booking__list span { text-align: right; }
.booking__note { font-size: .95rem; margin: .6rem 0 0; }
.booking__note a { color: var(--sky); white-space: nowrap; }

/* Debajo del mapa: Renacimiento y danzas adoptadas */
.atlas__more { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 4vw, 48px); max-width: 1100px; margin: 28px auto 0; }
.atlas__more h3 { font: 400 1.5rem/1.2 var(--serif); color: var(--ink); margin: 0 0 .4rem; }
.atlas__more p { color: var(--muted); margin: 0 0 .9rem; }
.atlas__btns { display: flex; flex-wrap: wrap; gap: 8px; }
.atlas__btns button { background: var(--paper); border: 1px solid var(--line); padding: 8px 14px; font: 500 .9rem var(--sans); color: var(--ink); cursor: pointer; }
.atlas__btns button:hover { border-color: var(--ink); }
@media (max-width: 760px) { .atlas__more { grid-template-columns: 1fr; } }

/* Gennetines con foto */
.block--photo { background-size: cover; background-position: center; color: var(--paper); }
.block--photo .block__text { color: #E2E8F1; }
/* Agenda */
.agenda { padding: clamp(64px, 9vw, 120px) 0; background: var(--mist); }
.agenda__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 6vw, 80px); align-items: start; }
.agenda__poster img { display: block; width: 100%; height: auto; box-shadow: 0 18px 40px rgba(24,35,58,.18); }
.agenda__cta { border-left: 3px solid var(--red); padding: 4px 0 4px 16px; margin: 1.6rem 0; font-size: 1.05rem; color: var(--ink); }
.agenda__cta a { color: var(--red); font-weight: 500; }
.agenda__video { display: grid; grid-template-columns: 180px 1fr; gap: 20px; align-items: center; margin-top: 2rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.agenda__video video { width: 100%; aspect-ratio: 9/16; background: #000; display: block; }
@media (max-width: 880px) { .agenda__grid { grid-template-columns: 1fr; } .agenda__poster { max-width: 480px; } }
@media (max-width: 480px) { .agenda__video { grid-template-columns: 130px 1fr; } }

/* Fotos que rotan en "Otras maneras de aprender" */
.split__media.rot { position: relative; }
.split__media.rot img { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; }
.split__media.rot img.is-on { opacity: 1; }
.split__media.rot img.fit { object-fit: contain; background: #fff; }

/* Agenda ampliable */
.agenda__poster { position: relative; display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.agenda__zoom { position: absolute; right: 12px; bottom: 12px; background: rgba(255,255,255,.92); color: var(--ink); font: 500 .85rem var(--sans); padding: 6px 12px; }
.lightbox { padding: 0; border: 0; background: #0b0b0b; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; overflow: auto; }
.lightbox::backdrop { background: rgba(0,0,0,.85); }
.lightbox img { display: block; width: min(100%, 1125px); height: auto; margin: 0 auto; }
.lightbox__close { position: fixed; top: 12px; right: 16px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: var(--ink); font-size: 28px; line-height: 1; cursor: pointer; z-index: 2; }

/* Agenda: lupa por línea y video que crece */
.agenda__poster { overflow: visible; }
.agenda__lens { position: absolute; height: 110px; pointer-events: none; display: none; background-image: url(img/agenda.jpg); background-repeat: no-repeat; border: 2px solid #C9A45C; box-shadow: 0 16px 40px rgba(0,0,0,.45); z-index: 5; }
.agenda__poster.is-lens .agenda__lens { display: block; }
.agenda__poster.is-lens .agenda__zoom { display: none; }
.agenda__video { align-items: start; }
.agenda__vid { position: relative; z-index: 4; }
.agenda__vid video { transition: transform .35s ease, box-shadow .35s ease; transform-origin: left top; }
@media (hover: hover) and (min-width: 900px) { .agenda__vid:hover video { transform: scale(1.9); box-shadow: 0 24px 60px rgba(0,0,0,.35); } }
.agenda__steps ol { margin: .8rem 0 1.4rem; padding-left: 1.3rem; }
.agenda__steps li { margin: 0 0 .7rem; line-height: 1.5; }
.agenda__steps a { color: var(--red); }
.copyrow { display: flex; gap: 8px; align-items: center; margin-top: 6px; flex-wrap: wrap; }
.copyrow code { background: var(--paper); border: 1px solid var(--line); padding: 6px 10px; font: 500 .92rem/1 ui-monospace, monospace; color: var(--ink); }
.copybtn { background: var(--red); color: #fff; border: 0; padding: 7px 14px; font: 500 .9rem var(--sans); cursor: pointer; }
.copybtn.is-ok { background: #2f7d4f; }
.agenda__links { display: flex; flex-wrap: wrap; gap: 10px; }
.btn--line { border-color: var(--ink); color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--paper); }
@media (max-width: 480px) { .agenda__video { grid-template-columns: 1fr; } .agenda__vid { max-width: 220px; } }

/* Agenda en HTML, mismo estilo que el afiche */
.ag { background: #0b0b0c; color: #F3EEE4; padding: clamp(28px, 4vw, 48px) clamp(18px, 3vw, 40px); text-align: center; box-shadow: 0 18px 40px rgba(24,35,58,.18); }
.ag__logo { width: 88px; height: 88px; display: block; margin: 0 auto 14px; }
.ag__title { font: 400 clamp(2.6rem, 5vw, 3.6rem)/1 var(--serif); letter-spacing: .3em; color: #D9B26A; margin: 0 0 6px; padding-left: .3em; text-transform: uppercase; }
.ag__sub { font: 500 .82rem var(--sans); letter-spacing: .32em; text-transform: uppercase; margin: 0 0 10px; }
.ag__months { font: 400 1.3rem var(--serif); color: #D9B26A; margin: 0 0 22px; }
.ag__list { list-style: none; margin: 0; padding: 0; text-align: left; border-top: 1px solid rgba(217,178,106,.45); }
.ag__month { font: 400 1.35rem var(--serif); letter-spacing: .18em; text-transform: uppercase; color: #D9B26A; padding: 20px 6px 6px; }
.ag__row { display: grid; grid-template-columns: 70px 92px 1fr auto; gap: 12px; align-items: start; padding: 12px 6px; border-bottom: 1px solid rgba(255,255,255,.1); transform-origin: center; transition: transform .25s ease, background .25s ease, opacity .25s ease; }
.ag__date b { display: block; font: 400 1.9rem/1 var(--serif); color: #D9B26A; }
.ag__date span { font: 500 .72rem var(--sans); letter-spacing: .08em; color: #c9c3b8; }
.ag__time { font-size: .98rem; padding-top: 4px; }
.ag__ev strong { display: block; font: 500 1.05rem/1.3 var(--sans); color: #fff; }
.ag__ev span { font-size: .92rem; color: #a9a49a; }
.ag__st { font: 500 .85rem var(--sans); white-space: nowrap; padding-top: 4px; }
.ag__st::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: currentColor; margin-right: 6px; vertical-align: 1px; }
.ag__st--ok { color: #7FBF8E; } .ag__st--maybe { color: #E9A84B; } .ag__st--no { color: #E06A5E; }
.ag__legend { display: flex; justify-content: center; flex-wrap: wrap; gap: 18px; margin: 20px 0 0; font-size: .85rem; }
.ag__legend span::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: currentColor; margin-right: 6px; }
/* efecto ola: la línea bajo el mouse crece, las vecinas un poco, las demás se achican */
@media (hover: hover) and (min-width: 900px) {
  .ag__list.is-wave .ag__row { transform: scale(.94); opacity: .55; }
  .ag__list.is-wave .ag__row[data-d="2"] { transform: scale(.99); opacity: .8; }
  .ag__list.is-wave .ag__row[data-d="1"] { transform: scale(1.05); opacity: .95; }
  .ag__list.is-wave .ag__row[data-d="0"] { transform: scale(1.16); opacity: 1; background: #1a1712; position: relative; z-index: 2; box-shadow: 0 10px 30px rgba(0,0,0,.5); }
}
@media (max-width: 560px) {
  .ag__row { grid-template-columns: 54px 1fr; }
  .ag__time { grid-column: 2; padding-top: 0; font-size: .88rem; color: #c9c3b8; order: 3; }
  .ag__ev { grid-column: 2; grid-row: 1; }
  .ag__st { grid-column: 2; }
}
.agenda__video { grid-template-columns: minmax(240px, 340px) 1fr; }
@media (hover: hover) and (min-width: 900px) { .agenda__vid:hover video { transform: scale(1.5); } }

.agenda__grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); }
.ag__ev { min-width: 0; overflow-wrap: anywhere; }
.agenda__video--wide { grid-template-columns: minmax(260px, 380px) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); margin-top: clamp(40px, 6vw, 72px); }
.agenda__video--wide .agenda__steps { max-width: 56ch; padding-top: 8px; }
@media (max-width: 880px) { .agenda__grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .agenda__video--wide { grid-template-columns: 1fr; } .agenda__vid { max-width: 320px; } }
@media (max-width: 560px) {
  .ag { padding-left: 14px; padding-right: 14px; }
  .ag__row { grid-template-columns: 52px minmax(0, 1fr); gap: 4px 12px; }
  .ag__date { grid-row: 1 / span 3; }
  .ag__ev { grid-column: 2; grid-row: 1; }
  .ag__time { grid-column: 2; grid-row: 2; order: 0; padding-top: 2px; }
  .ag__st { grid-column: 2; grid-row: 3; padding-top: 0; }
  .ag__title { letter-spacing: .2em; }
}
.agenda__why { border-left: 3px solid #D9B26A; padding: 4px 0 4px 16px; margin: 0 0 1.4rem; line-height: 1.6; }
.agenda__why a { color: var(--red); }
.split__media.rot video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s ease; }
.split__media.rot video.is-on { opacity: 1; }
/* Agenda v3: fondo claro, texto nítido, ola sin desenfoque */
.ag { background: #FBF8F2; color: var(--ink); border: 1px solid #E6DCC8; box-shadow: 0 18px 40px rgba(24,35,58,.10); }
.ag__title { color: var(--red); }
.ag__sub { color: var(--ink); }
.ag__months { color: #9A7432; }
.ag__list { border-top: 2px solid #D9C49A; }
.ag__month { color: #9A7432; font-weight: 400; }
.ag__row { border-bottom: 1px solid #E9E1D2; transform: none !important; transition: background .2s ease, opacity .2s ease, padding .2s ease; }
.ag__date b { color: var(--red); transition: font-size .2s ease; }
.ag__date span { color: #6b6457; }
.ag__time { color: var(--ink); transition: font-size .2s ease; }
.ag__ev strong { color: var(--ink); font-weight: 600; transition: font-size .2s ease; }
.ag__ev span { color: #5d6675; transition: font-size .2s ease; }
.ag__st--ok { color: #2E7D4F; } .ag__st--maybe { color: #B86E0B; } .ag__st--no { color: #B3342A; }
@media (hover: hover) and (min-width: 900px) {
  .ag__list.is-wave .ag__row { opacity: .72; background: none; box-shadow: none; }
  .ag__list.is-wave .ag__row[data-d="2"] { opacity: .85; }
  .ag__list.is-wave .ag__row[data-d="1"] { opacity: .95; padding-top: 14px; padding-bottom: 14px; }
  .ag__list.is-wave .ag__row[data-d="1"] .ag__ev strong { font-size: 1.12rem; }
  .ag__list.is-wave .ag__row[data-d="0"] { opacity: 1; background: #fff; padding-top: 20px; padding-bottom: 20px; box-shadow: 0 8px 24px rgba(24,35,58,.12); position: relative; z-index: 2; }
  .ag__list.is-wave .ag__row[data-d="0"] .ag__date b { font-size: 2.6rem; }
  .ag__list.is-wave .ag__row[data-d="0"] .ag__time { font-size: 1.12rem; }
  .ag__list.is-wave .ag__row[data-d="0"] .ag__ev strong { font-size: 1.35rem; }
  .ag__list.is-wave .ag__row[data-d="0"] .ag__ev span { font-size: 1.02rem; }
  .ag__list.is-wave .ag__row[data-d="3"] .ag__ev strong { font-size: .98rem; }
}
/* video: crece pero se ve entero */
.agenda__video--wide { grid-template-columns: minmax(240px, 330px) minmax(0, 1fr); }
@media (hover: hover) and (min-width: 900px) { .agenda__vid video { transform-origin: left center; } .agenda__vid:hover video { transform: scale(1.22); } }
/* Agenda: lugares y textos más legibles */
.ag__ev strong { font-size: 1.12rem; letter-spacing: 0; }
.ag__ev span { display: block; margin-top: 3px; font-size: 1rem; font-weight: 500; color: #3A4456; }
.ag__ev span::before { content: "\2192\00a0"; color: var(--red); }
.ag__time { font-size: 1.02rem; font-weight: 500; }
.ag__date span { font-size: .78rem; font-weight: 600; color: #4a4438; }
.ag__st { font-size: .9rem; font-weight: 600; }
.ag, .ag * { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }

/* Agenda en damero */
.dm { --negro:#0d0d0d; --blanco:#f7f3ea; --seguro:#2f5bd3; --incierto:#d83a34; background: var(--negro); color: var(--blanco); padding: clamp(18px, 3vw, 32px); }
.dm__head { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.dm__head img { width: 72px; height: 72px; }
.dm__title { font: 400 clamp(2.4rem, 5vw, 3.4rem)/1 var(--serif); margin: 0; letter-spacing: .02em; }
.dm__sub { font: 600 .95rem var(--sans); letter-spacing: .12em; text-transform: uppercase; margin: 6px 0 0; opacity: .9; }
.dm__legend { display: flex; gap: 10px; flex-wrap: wrap; margin: 6px 0 10px; }
.dm__chip { font: 700 .95rem var(--sans); letter-spacing: .05em; text-transform: uppercase; padding: 7px 14px; border-radius: 999px; color: #fff; }
.dm__chip::before { content: "● "; }
.dm__chip.seguro { background: var(--seguro); } .dm__chip.incierto { background: var(--incierto); }
.dm__hint { font-size: 1rem; opacity: .85; margin: 0 0 14px; }
.dm__wrap { position: relative; }
.damero { display: grid; grid-template-columns: repeat(var(--cols, 4), 1fr); border: 3px solid var(--blanco); }
.casilla { position: relative; aspect-ratio: 1/1; border: 0; cursor: pointer; text-align: left; font: inherit; display: flex; flex-direction: column; justify-content: space-between; padding: clamp(10px, 1.6vw, 16px); padding-top: 22px; transition: transform .18s ease, box-shadow .18s ease; overflow: hidden; }
.casilla.n { background: var(--negro); color: var(--blanco); } .casilla.b { background: var(--blanco); color: var(--negro); }
.casilla::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 12px; background: var(--estado); }
.casilla.seguro { --estado: var(--seguro); } .casilla.incierto { --estado: var(--incierto); }
.casilla:hover, .casilla:focus-visible, .casilla.is-on { transform: scale(1.05); z-index: 2; box-shadow: 0 10px 30px rgba(0,0,0,.55); outline: none; }
.casilla:focus-visible { outline: 4px solid #f2c94c; outline-offset: -4px; }
.casilla .mes { font: 800 clamp(.85rem, 1.4vw, 1rem) var(--sans); letter-spacing: .1em; text-transform: uppercase; }
.casilla .dia { font: 400 clamp(2.2rem, 5vw, 3.6rem)/.9 var(--serif); }
.casilla .dsem { font: 700 clamp(.8rem, 1.2vw, .95rem) var(--sans); text-transform: uppercase; letter-spacing: .06em; opacity: .85; }
.casilla .titulo { font: 800 clamp(.9rem, 1.4vw, 1.05rem)/1.15 var(--sans); }
.casilla .punto { position: absolute; right: 12px; top: 20px; width: 16px; height: 16px; border-radius: 50%; background: var(--estado); }
.casilla.vacia { cursor: default; align-items: center; justify-content: center; text-align: center; }
.casilla.vacia::before { display: none; }
.casilla.vacia:hover { transform: none; box-shadow: none; }
.casilla.vacia span { font: 400 clamp(1.1rem, 2vw, 1.5rem)/1.1 var(--serif); }
/* ventana grande al pasar el mouse o tocar */
.dm__pop { position: absolute; top: 0; width: 50%; min-height: 50%; z-index: 5; background: var(--blanco); color: var(--negro); border-top: 14px solid var(--estado); padding: clamp(18px, 2.4vw, 30px); box-shadow: 0 24px 60px rgba(0,0,0,.6); pointer-events: none; animation: dmIn .16s ease-out; }
.dm__pop.left { left: 0; } .dm__pop.right { right: 0; }
.dm__pop.seguro { --estado: var(--seguro); } .dm__pop.incierto { --estado: var(--incierto); }
@keyframes dmIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.dm__pop .est { display: inline-block; background: var(--estado); color: #fff; font: 800 .9rem var(--sans); text-transform: uppercase; letter-spacing: .06em; padding: 6px 12px; margin-bottom: 12px; }
.dm__pop .fecha { font: 400 clamp(2rem, 3.4vw, 3rem)/.95 var(--serif); }
.dm__pop .fecha small { display: block; font: 700 1rem var(--sans); text-transform: uppercase; letter-spacing: .08em; margin-top: 6px; }
.dm__pop h3 { font: 400 clamp(1.4rem, 2.4vw, 1.9rem)/1.12 var(--serif); margin: 14px 0 12px; }
.dm__pop dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; margin: 0; font-size: 1.12rem; }
.dm__pop dt { font: 800 .8rem var(--sans); text-transform: uppercase; letter-spacing: .08em; padding-top: .3em; opacity: .7; }
.dm__pop dd { margin: 0; font-weight: 700; }
.dm__pop .nota { margin: 12px 0 0; font-size: 1.05rem; font-style: italic; }
@media (max-width: 700px) {
  .dm__pop { position: fixed; left: 12px !important; right: 12px !important; bottom: 12px; top: auto; width: auto; min-height: 0; pointer-events: auto; }
}

/* Segunda marca: Session Trad BA */
.brands { display: flex; align-items: center; gap: 14px; min-width: 0; }
.brand2 { font: 500 .78rem/1.1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--red); text-decoration: none; padding-left: 14px; border-left: 1px solid var(--line); white-space: nowrap; }
.brand2:hover { color: var(--ink); }
@media (max-width: 420px) { .brands { gap: 10px; } .brand2 { font-size: .66rem; letter-spacing: .1em; padding-left: 10px; } }
/* Agenda: logo a la derecha, más grande; leyenda fina y cuadrada */
.dm__head { justify-content: space-between; }
.dm__head img.dm__logo { width: 120px; height: 120px; flex: 0 0 auto; background: #fff; display: block; }
.dm__chip { font: 500 .78rem/1 var(--sans); letter-spacing: .18em; padding: 8px 12px 8px 10px; border-radius: 0; background: transparent !important; color: #f7f3ea; border: 1px solid rgba(247,243,234,.35); display: inline-flex; align-items: center; gap: 10px; }
.dm__chip::before { content: ""; width: 10px; height: 10px; flex: 0 0 auto; }
.dm__chip.seguro::before { background: var(--seguro); } .dm__chip.incierto::before { background: var(--incierto); }
@media (max-width: 560px) { .dm__head img.dm__logo { width: 84px; height: 84px; } }
.casilla .punto { width: 10px; height: 10px; border-radius: 0; top: 24px; }
.dm__pop [class*="punto"], .dm__pop .estado::before { border-radius: 0; }
.brand { white-space: nowrap; }
@media (max-width: 420px) { .brand { font-size: 1.25rem; } }
.booking__people { margin: 1.1rem 0 1.4rem; }
.booking__people .btn { border-color: var(--ink); color: var(--ink); font-weight: 600; }
.booking__people .btn:hover { background: var(--ink); color: var(--paper); }
.booking__people .btn { border: 1px solid var(--paper); color: var(--paper); background: transparent; }
.booking__people .btn:hover { background: var(--red); border-color: var(--red); color: #fff; }
/* "Para músicos": visible pero discreto */
.brand2 { border: 1px solid var(--red); border-left: 1px solid var(--red); padding: 6px 10px; margin-left: 2px; }
.brand2:hover { background: var(--red); color: #fff; }
@media (max-width: 420px) { .brand2 { padding: 5px 7px; } }

/* Móvil: el texto va debajo del video y la página nunca se desplaza de costado */
html, body { overflow-x: clip; max-width: 100%; }
@media (max-width: 640px) {
  .agenda__video--wide { grid-template-columns: 1fr; }
  .agenda__vid { max-width: 320px; margin: 0 auto; }
  .agenda__steps code { word-break: break-all; overflow-wrap: anywhere; }
}

/* Indicación hacia el formulario: flecha a la derecha en compu, abajo en teléfono */
.booking__pick { display: flex; align-items: center; gap: 14px; margin: 1.4rem 0; padding: 14px 18px; border: 1px solid #D9B26A; color: var(--paper); font-size: 1.05rem; line-height: 1.4; }
.booking__pick strong { color: #D9B26A; white-space: nowrap; }
.booking__arrow::before { content: "→"; font-size: 1.9rem; line-height: 1; color: #D9B26A; display: inline-block; animation: pickR 1.4s ease-in-out infinite; }
@keyframes pickR { 50% { transform: translateX(6px); } }
@keyframes pickD { 50% { transform: translateY(6px); } }
@media (max-width: 880px) { .booking__arrow::before { content: "↓"; animation-name: pickD; } }
@media (prefers-reduced-motion: reduce) { .booking__arrow::before { animation: none; } }

/* Hero: segunda fila de botones (Elijo mi sábado · Playlist) */
.hero__actions--more { margin-top: 12px; }
.booking__form { position: relative; }
.booking__anchor { position: absolute; left: 0; top: 520px; width: 1px; height: 1px; }
