/* Web de Ritmos Barcelona. Copia del diseño que había en Wix (2026-10-10). */

@font-face { font-family: "Poppins"; font-weight: 200; font-display: swap; src: url("../fuentes/poppins-latin-200-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 400; font-display: swap; src: url("../fuentes/poppins-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 600; font-display: swap; src: url("../fuentes/poppins-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Nunito Sans"; font-weight: 300; font-display: swap; src: url("../fuentes/nunito-sans-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Nunito Sans"; font-weight: 700; font-display: swap; src: url("../fuentes/nunito-sans-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Wix Madefor Text"; font-weight: 400; font-display: swap; src: url("../fuentes/wix-madefor-text-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Wix Madefor Text"; font-weight: 700; font-display: swap; src: url("../fuentes/wix-madefor-text-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Playfair Display"; font-weight: 700; font-style: italic; font-display: swap; src: url("../fuentes/playfair-display-latin-700-italic.woff2") format("woff2"); }
@font-face { font-family: "Lobster"; font-weight: 400; font-display: swap; src: url("../fuentes/lobster-latin-400-normal.woff2") format("woff2"); }

:root {
  --negro: #000;
  --blanco: #fff;
  --morado: #8f27d9;
  --morado-boton: #8244e3;
  --gris: #eee;
  --gris-legal: #4d4c46;
  --azul-panel: #d3dce0;
  --verde-escuela: #dadfd7;
  --azul-tarjeta: #dfe5eb;
  --azul-temporada: #6e83c8;
  --rojo-destacado: #e21c21;
  --titulos: "Poppins", system-ui, sans-serif;
  --texto: "Nunito Sans", system-ui, sans-serif;
  --texto-wix: "Wix Madefor Text", system-ui, sans-serif;
  --ancho: 1280px;
  --margen: clamp(16px, 3vw, 38px);
  --alto-cabecera: 142px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--alto-cabecera) + 12px); }
body { margin: 0; background: var(--blanco); color: var(--negro); font-family: var(--texto); font-weight: 300; font-size: 18px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, video, iframe { display: block; max-width: 100%; }
a { color: inherit; }
strong { font-weight: 700; }
h1, h2, h3 { margin: 0; font-family: var(--titulos); line-height: 1.4; }
p { margin: 0 0 1.6em; }
p:last-child { margin-bottom: 0; }
.oculto { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.saltar { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--blanco); padding: 8px 16px; }
.saltar:focus { left: 8px; top: 8px; }

/* ---------- Tipografía común ---------- */
.titulo { font-weight: 200; font-size: clamp(38px, 5vw, 64px); }
.titulo--blanco { color: var(--blanco); }
.subtitulo { font-weight: 400; font-size: clamp(19px, 2vw, 25px); line-height: 1.4; }
.texto { font-family: var(--texto); font-weight: 300; font-size: 18px; line-height: 1.6; text-align: justify; hyphens: auto; }
.texto--wix { font-family: var(--texto-wix); font-weight: 400; }
.texto--grande { font-size: 20px; }
.centro { text-align: center; }
.derecha { text-align: right; }
.contenedor { max-width: var(--ancho); margin: 0 auto; padding: 0 var(--margen); }
.seccion { padding: 40px 0; }

/* ---------- Botones ---------- */
.boton { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 6px 18px; border-radius: 12px; background: var(--negro); color: var(--blanco); font-family: var(--texto); font-weight: 300; font-size: clamp(20px, 2vw, 24px); line-height: 1.4; text-decoration: none; transition: opacity .2s; }
.boton:hover { opacity: .85; }
.boton--morado { background: var(--morado); }
.boton--degradado { background: linear-gradient(90deg, #8f27d9, #7a55e8); border-radius: 4px; font-family: var(--titulos); font-weight: 400; min-width: min(568px, 100%); }
.boton--cuadrado { border-radius: 0; }
.boton--pildora { border-radius: 30px; }
.boton--grande { font-size: clamp(22px, 2.4vw, 30px); min-width: min(294px, 100%); }
.botones { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; margin-top: 40px; }

/* ---------- Cabecera ---------- */
.cabecera { position: sticky; top: 0; z-index: 50; background: var(--negro); }
.cabecera__dentro { display: flex; align-items: center; justify-content: space-between; gap: 24px; max-width: var(--ancho); margin: 0 auto; padding: 14px var(--margen) 15px; border-bottom: 1px solid #fff; }
.cabecera__logo img { width: 206px; height: auto; }
.cabecera__boton { display: none; }
.menu > ul { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.menu li { position: relative; list-style: none; }
.menu a { display: block; padding: 8px 12px; color: var(--blanco); font-family: var(--titulos); font-weight: 200; font-size: 22px; line-height: 1.4; text-transform: uppercase; text-decoration: none; white-space: nowrap; }
.menu > ul > li > a:hover { color: #c8a2f0; }
.menu__contacto a { margin-left: 8px; padding: 2px 8px; border: 1px solid var(--blanco); border-radius: 10px; color: var(--morado); font-weight: 400; }
.menu__contacto a:hover { color: var(--blanco); background: var(--morado); }
.menu__grupo ul { position: absolute; top: 100%; left: 0; min-width: 100%; margin: 0; padding: 6px 0; background: var(--negro); display: none; }
.menu__grupo:hover ul, .menu__grupo:focus-within ul { display: block; }
.menu__grupo ul a { font-size: 18px; text-transform: none; }
.menu__grupo ul a:hover { color: #c8a2f0; }

.aviso { display: flex; align-items: center; justify-content: center; gap: 20px; min-height: 36px; padding: 2px var(--margen); background: var(--morado); color: var(--blanco); font-family: var(--titulos); font-weight: 400; font-size: clamp(14px, 1.9vw, 23.4px); line-height: 1.4; text-align: center; }
.aviso img { width: 28px; height: 28px; flex: none; }
.aviso span { text-decoration: underline; }

@media (max-width: 1180px) {
  .menu a { font-size: 18px; padding: 8px 8px; }
}
@media (max-width: 980px) {
  :root { --alto-cabecera: 120px; }
  .cabecera__dentro { padding-top: 10px; padding-bottom: 10px; }
  .cabecera__logo img { width: 150px; }
  .cabecera__boton { display: block; width: 44px; height: 44px; padding: 0; border: 0; background: none; color: var(--blanco); cursor: pointer; }
  .cabecera__hamburguesa, .cabecera__hamburguesa::before, .cabecera__hamburguesa::after { display: block; width: 28px; height: 2px; margin: 0 auto; background: currentColor; transition: transform .2s; }
  .cabecera__hamburguesa { position: relative; }
  .cabecera__hamburguesa::before, .cabecera__hamburguesa::after { content: ""; position: absolute; left: 0; }
  .cabecera__hamburguesa::before { top: -9px; }
  .cabecera__hamburguesa::after { top: 9px; }
  .menu-abierto .cabecera__hamburguesa { background: transparent; }
  .menu-abierto .cabecera__hamburguesa::before { transform: translateY(9px) rotate(45deg); }
  .menu-abierto .cabecera__hamburguesa::after { transform: translateY(-9px) rotate(-45deg); }
  .menu { display: none; position: fixed; inset: 0; top: var(--alto-menu, 70px); overflow-y: auto; background: var(--negro); padding: 16px var(--margen) 40px; }
  .menu-abierto .menu { display: block; }
  .menu > ul { flex-direction: column; align-items: center; gap: 0; }
  .menu a { font-size: 24px; text-align: center; }
  .menu__grupo ul { position: static; display: block; padding: 0 0 8px; }
  .menu__grupo ul a { font-size: 18px; padding: 4px; color: #bbb; }
  .menu__contacto a { margin: 12px 0 0; }
}

/* ---------- Pie ---------- */
.pie { margin-top: 0; }
.pie__dentro { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 289px)) 1fr; gap: 24px; max-width: calc(var(--ancho) - 38px); margin: 0 auto; padding: 40px 64px 40px; background: var(--gris); font-size: 15px; line-height: 1.6; }
.pie__titulo { margin: 0 0 18px; font-family: var(--titulos); font-weight: 400; font-size: 20px; }
.pie a { text-decoration: none; }
.pie a:hover { text-decoration: underline; }
.pie__copyright { margin-top: 32px; font-size: 14px; }
.redes { display: flex; gap: 14px; margin: 0; padding: 0; list-style: none; }
.redes a { display: block; color: var(--negro); }
.redes svg { display: block; }
.pie__arriba { justify-self: end; align-self: start; display: grid; place-items: center; width: 80px; height: 80px; border: 1px solid var(--negro); border-radius: 50%; color: var(--negro); }
.pie__arriba:hover { background: var(--negro); color: var(--blanco); text-decoration: none !important; }
.legal { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 8px 24px; padding: 10px var(--margen); background: var(--gris-legal); }
.legal a { color: var(--blanco); text-decoration: underline; font-family: var(--titulos); font-weight: 200; font-size: 16px; }
@media (max-width: 800px) {
  .pie__dentro { grid-template-columns: 1fr 1fr; padding: 32px var(--margen); }
  .pie__arriba { position: absolute; right: var(--margen); bottom: 24px; width: 56px; height: 56px; }
  .legal a { font-size: 13px; }
}

/* ---------- Vídeos e imágenes ---------- */
.medio { width: 100%; height: 100%; object-fit: cover; }
.redondeado { border-radius: 30px; overflow: hidden; }

/* ---------- Inicio ---------- */
.portada { background: var(--negro); color: var(--blanco); padding: 18px 0 38px; }
.portada h1 { font-weight: 200; font-size: clamp(30px, 4vw, 51px); text-align: center; }
.portada h2 { margin-top: 10px; font-weight: 400; font-size: clamp(18px, 2vw, 25px); text-align: center; }
.portada__rejilla { display: grid; grid-template-columns: 487fr 706fr; grid-template-rows: auto 211px; gap: 0 10px; margin-top: 33px; }
.portada__video { grid-row: 1 / span 2; min-height: 420px; }
.proyecto { position: relative; min-height: 487px; background: var(--azul-panel); color: var(--negro); overflow: hidden; }
.proyecto__texto { position: relative; z-index: 1; padding: 37px 24px 30px; }
.proyecto__texto h2 { margin: 0 0 52px; font-weight: 400; font-size: clamp(22px, 2.8vw, 35.6px); text-align: left; }
.proyecto__texto p { font-family: var(--titulos); font-weight: 400; font-size: clamp(17px, 2vw, 25px); line-height: 1.4; text-align: justify; max-width: 365px; margin-bottom: 67px; }
.proyecto__texto .boton { font-size: 23.4px; margin-left: 47px; }
.proyecto__foto { position: absolute; right: 0; bottom: 0; }
.proyecto__foto img { width: 284px; height: 410px; object-fit: cover; }
.portada__recepcion { display: block; }
.portada__recepcion img { width: 100%; height: 211px; object-fit: cover; object-position: 50% 73%; }
@media (max-width: 800px) {
  .portada__rejilla { grid-template-columns: 1fr 1.45fr; grid-template-rows: auto 100px; gap: 0 4px; }
  .portada__video { min-height: 0; }
  .proyecto { min-height: 0; }
  .proyecto__texto { padding: 12px 8px; position: relative; z-index: 1; max-width: 62%; }
  .proyecto__texto h2 { font-size: 15px; margin-bottom: 10px; }
  .proyecto__texto p { font-size: 11px; margin-bottom: 10px; }
  .proyecto__texto .boton { font-size: 11px; margin: 0; padding: 4px 8px; border-radius: 6px; }
  .proyecto__foto { width: 40%; }
  .proyecto__foto img { width: 100%; height: auto; }
  .portada__recepcion img { height: 100px; }
}

.clases-inicio { padding: 8px 0 56px; }
.clases-inicio h2:not(.titulo) { font-weight: 400; font-size: clamp(19px, 2vw, 25px); text-align: justify; margin-top: 8px; }
.galeria-videos { display: grid; grid-template-columns: 338fr 289fr 482fr; gap: 15px 35px; margin: 20px calc(var(--margen) * -.5) 0; padding: 26px 32px; background: var(--gris); }
.galeria-videos__col { display: grid; gap: 15px; align-content: start; }
.galeria-videos video { width: 100%; object-fit: cover; }
.galeria-videos__col:nth-child(1) video:nth-child(1) { aspect-ratio: 338 / 470; }
.galeria-videos__col:nth-child(1) video:nth-child(2) { aspect-ratio: 336 / 317; }
.galeria-videos__col:nth-child(2) video:nth-child(1) { aspect-ratio: 289 / 349; }
.galeria-videos__col:nth-child(2) video:nth-child(2) { aspect-ratio: 289 / 434; }
.galeria-videos__col:nth-child(3) video:nth-child(1) { aspect-ratio: 480 / 459; }
.galeria-videos__col:nth-child(3) video:nth-child(2) { aspect-ratio: 482 / 322; }
@media (max-width: 700px) {
  .clases-inicio h2:not(.titulo) { text-align: left; }
  .galeria-videos { gap: 6px 10px; padding: 8px 10px; margin-left: 0; margin-right: 0; }
  .galeria-videos__col { gap: 6px; }
}

.franja-horarios { position: relative; display: grid; place-items: center; min-height: 173px; padding: 20px var(--margen); background: #111 url("../img/fondo-horarios.webp") center / cover no-repeat; text-align: center; }
.franja-horarios h2 { color: var(--blanco); font-family: "Playfair Display", Georgia, serif; font-style: italic; font-weight: 700; font-size: clamp(36px, 4.4vw, 56px); line-height: 1.4; }
.franja-horarios .boton { margin-top: 4px; padding: 2px 30px; border-radius: 4px; background: var(--morado); font-family: var(--titulos); font-weight: 400; font-size: 20px; }

.profes-inicio { display: grid; grid-template-columns: 549px 1fr; gap: 94px; align-items: start; padding: 23px 0 40px var(--margen); max-width: var(--ancho); margin: 0 auto; overflow: hidden; }
.profes-inicio__texto { padding-left: 10px; }
.profes-inicio__texto h2.titulo { font-weight: 200; }
.profes-inicio__texto .subtitulo { margin: 14px 0 30px; }
.carrusel { position: relative; min-width: 0; }
.carrusel__pista { display: flex; gap: 32px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.carrusel__pista::-webkit-scrollbar { display: none; }
.carrusel__ficha { position: relative; flex: 0 0 318px; height: 424px; border-radius: 12px; overflow: hidden; scroll-snap-align: start; }
.carrusel__ficha img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) brightness(.92); transition: filter .3s; }
.carrusel__ficha:hover img { filter: none; }
.carrusel__ficha::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .2); pointer-events: none; transition: opacity .3s; }
.carrusel__ficha:hover::after { opacity: 0; }
.carrusel__ficha span { position: absolute; z-index: 1; top: 30px; left: 30px; right: 20px; color: var(--blanco); font-family: var(--titulos); font-weight: 200; font-size: 22px; line-height: 1.4; }
.carrusel__boton { position: absolute; top: 50%; z-index: 2; width: 56px; height: 56px; margin-top: -28px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .9); color: var(--negro); cursor: pointer; display: grid; place-items: center; }
.carrusel__boton--siguiente { right: 24px; }
.carrusel__boton--anterior { left: 24px; }
.carrusel__boton[hidden] { display: none; }
@media (max-width: 1100px) {
  .profes-inicio { grid-template-columns: 1fr; gap: 32px; padding-right: var(--margen); }
  .carrusel__ficha { flex-basis: 210px; height: 280px; }
}

/* ---------- La escuela ---------- */
.escuela-portada img { width: 100%; height: clamp(240px, 40vw, 515px); object-fit: cover; border-radius: 30px; }
.proyecto-ritmos { display: grid; grid-template-columns: 519px 1fr; gap: 41px; margin-top: 39px; }
.proyecto-ritmos h1 { font-weight: 400; font-size: clamp(36px, 4.4vw, 56px); }
.socios { display: grid; grid-template-columns: 319px 1fr 319px; gap: 44px; align-items: start; padding: 40px 24px; max-width: var(--ancho); margin: 0 auto; }
.socios img { width: 100%; height: 421px; object-fit: cover; border-radius: 30px; }
.socios .texto { padding-top: 23px; }
.escuela-instalaciones { background: linear-gradient(var(--verde-escuela) 0, var(--verde-escuela) calc(100% - 300px), var(--blanco) calc(100% - 300px)); padding: 37px 0 18px; }
.escuela-instalaciones h2.titulo { font-weight: 400; text-align: center; }
.escuela-instalaciones .subtitulo { margin: 14px 0 16px; text-align: center; }
.instalaciones-fotos { display: grid; grid-template-columns: 290px 300px 290px; justify-content: center; gap: 25px; margin-top: 27px; }
.instalaciones-fotos img { width: 100%; height: 378px; object-fit: cover; border-radius: 30px; }
.instalaciones-fotos img:nth-child(2) { margin-top: 126px; height: 391px; }
@media (max-width: 900px) {
  .proyecto-ritmos, .socios { grid-template-columns: 1fr; }
  .socios img { height: auto; aspect-ratio: 319 / 421; max-width: 360px; margin: 0 auto; }
  .instalaciones-fotos { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .instalaciones-fotos img, .instalaciones-fotos img:nth-child(2) { height: auto; aspect-ratio: 3 / 4; margin-top: 0; border-radius: 16px; }
  .escuela-instalaciones { background: var(--verde-escuela); }
}

/* ---------- Profesorado ---------- */
.profesorado-cabecera { padding: 28px 0 32px; text-align: center; }
.profesorado-cabecera h1 { font-weight: 200; }
.fila-profes { display: grid; grid-template-columns: 1fr 1fr; padding: 15px 0 17px; }
.fila-profes--gris { background: var(--gris); max-width: calc(var(--ancho) - 20px); margin: 0 auto; }
.fila-profes > .profe:first-child { border-right: 3px solid var(--negro); }
.profe { display: grid; grid-template-columns: 280px 1fr; grid-template-rows: auto 1fr; gap: 15px 22px; padding: 0 22px 0 var(--margen); }
.profe h2 { grid-column: 1 / -1; font-weight: 400; font-size: clamp(34px, 3.9vw, 50px); }
.profe img { width: 280px; height: 375px; object-fit: cover; border-radius: 30px; }
.profe__texto h3 { font-weight: 400; font-size: clamp(20px, 2vw, 25px); text-align: center; margin-bottom: 16px; }
.profe__texto p { font-size: 18.4px; text-align: justify; margin-bottom: 0; }
/* Columna derecha y filas alternas: la foto cambia de lado, como en Wix */
.profe--derecha { grid-template-columns: 1fr 280px; padding: 0 var(--margen) 0 16px; }
.profe--derecha h2 { text-align: right; }
.profe--derecha img { order: 2; }
.profe--derecha .profe__texto { order: 1; }
.fila-profes--gris .profe:first-child h2 { text-align: right; }
.fila-profes--gris .profe:last-child h2 { text-align: left; }
@media (max-width: 900px) {
  .fila-profes { grid-template-columns: 1fr; gap: 32px; }
  .fila-profes > .profe:first-child { border-right: 0; }
  .profe, .profe--derecha { grid-template-columns: minmax(0, 1fr); padding: 0 var(--margen); }
  .profe h2, .profe--derecha h2, .fila-profes--gris .profe h2 { text-align: center !important; }
  .profe img { order: 0 !important; width: 100%; max-width: 320px; height: auto; aspect-ratio: 280 / 375; margin: 0 auto; }
  .profe .profe__texto { order: 1 !important; }
}

/* ---------- Clases ---------- */
.cursos-cabecera { padding: 39px 0 0; text-align: center; }
.cursos-cabecera h1 { font-weight: 200; }
.cursos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 50px 30px; padding: 54px 0 60px; }
.curso a { text-decoration: none; }
.curso img { width: 100%; aspect-ratio: 381 / 277; object-fit: cover; transition: opacity .2s; }
.curso a:hover img { opacity: .85; }
.curso h2 { margin: 20px 0 10px; font-weight: 400; font-size: 22px; }
.curso p { font-size: 18px; }
@media (max-width: 900px) { .cursos { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .cursos { grid-template-columns: 1fr; } }

.horarios { display: grid; grid-template-columns: 1fr 1fr; gap: 0; padding: 35px 0 30px; }
.horarios__texto { padding-right: 34px; border-right: 3px solid var(--negro); }
.horarios__texto h2 { margin: 0 0 12px; font-weight: 400; font-size: clamp(34px, 3.8vw, 48px); text-align: center; }
.horarios__texto .destacado { color: var(--rojo-destacado); font-weight: 700; }
.horarios__imagen { padding-left: 22px; }
.horarios__imagen h2 { color: var(--azul-temporada); font-family: "Lobster", cursive; font-weight: 400; font-size: clamp(30px, 3.8vw, 48px); text-align: center; line-height: 1.25; margin-bottom: 18px; transform: rotate(-1.5deg); }
.horarios__imagen img { width: 100%; height: auto; }
@media (max-width: 900px) {
  .horarios { grid-template-columns: 1fr; gap: 32px; }
  .horarios__texto { padding-right: 0; border-right: 0; }
  .horarios__imagen { padding-left: 0; }
}

/* ---------- Páginas de cada curso ---------- */
.curso-pagina { padding-top: 39px; text-align: center; }
.curso-pagina h1 { font-weight: 200; }
.curso-pagina h2 { max-width: 1075px; margin: 12px auto 0; font-weight: 400; font-size: clamp(19px, 2vw, 25px); }
.curso-pagina__foto { width: 100%; height: clamp(240px, 37vw, 472px); margin-top: 39px; object-fit: cover; }
.curso-pagina__texto { max-width: 1024px; margin: 0 auto; padding: 100px var(--margen) 100px; font-size: 22px; line-height: 1.4; text-align: left; }
.curso-navegacion { display: flex; align-items: center; justify-content: space-between; padding: 15px 64px; background: var(--negro); }
.curso-navegacion a { color: var(--blanco); font-family: var(--texto-wix); font-size: 25px; text-decoration: none; }
.curso-navegacion a.inactivo { color: #8d8d8d; pointer-events: none; }
.curso-navegacion__todos { display: grid; grid-template-columns: repeat(3, 5px); gap: 3px; }
.curso-navegacion__todos span { width: 5px; height: 5px; background: var(--blanco); }
@media (max-width: 600px) {
  .curso-pagina__texto { padding: 48px var(--margen); font-size: 18px; }
  .curso-navegacion { padding: 12px var(--margen); }
  .curso-navegacion a { font-size: 18px; }
}

/* ---------- Reservar sala y servicios ---------- */
.reservas { display: grid; grid-template-columns: 666px 1fr; gap: 34px; padding: 39px 0 0; }
.reservas h1 { padding-left: 20px; font-weight: 200; }
.reservas .subtitulo { padding-left: 20px; margin: 4px 0 16px; }
.reservas .texto { padding-right: 0; }
.galeria-sala { position: relative; align-self: start; margin-top: 71px; margin-right: calc(var(--margen) * -1); min-width: 0; }
.galeria-sala .carrusel__pista { gap: 32px; }
.galeria-sala__ficha { flex: 0 0 308px; height: 410px; border-radius: 16px; overflow: hidden; scroll-snap-align: start; background: #111; }
.galeria-sala__ficha img, .galeria-sala__ficha video { width: 100%; height: 100%; object-fit: cover; }
.servicios { padding: 39px 0 40px; text-align: center; }
.servicios h2.titulo { font-weight: 200; }
.servicios .subtitulo { margin-top: 4px; }
.servicios__rejilla { display: grid; grid-template-columns: repeat(3, 294px); justify-content: center; gap: 40px; margin-top: 43px; text-align: left; }
.servicio img { width: 100%; height: 384px; object-fit: cover; border-radius: 12px; }
.servicio h3 { margin: 24px 0 16px; font-weight: 400; font-size: 25px; text-align: center; }
.servicio .texto { padding: 0 5px; font-size: 22px; line-height: 1.4; }
@media (max-width: 1100px) {
  .reservas { grid-template-columns: 1fr; }
  .galeria-sala { margin: 0; }
}
@media (max-width: 980px) {
  .servicios__rejilla { grid-template-columns: minmax(0, 360px); }
  .servicio img { height: auto; aspect-ratio: 294 / 384; }
}

/* ---------- Eventos ---------- */
.workshops { padding: 47px 0 74px; text-align: center; }
.workshops h1 { font-weight: 200; }
.workshops .subtitulo { margin: 24px 0 32px; }
.workshops__rejilla { display: grid; grid-template-columns: 537px 1fr; gap: 67px; text-align: left; }
.workshops__rejilla img { width: 100%; max-width: 572px; height: auto; }
.workshops .boton { margin-top: 50px; }
.noches { position: relative; min-height: 800px; background: #111 url("../img/fondo-noches-practicas.webp") center / cover no-repeat; color: var(--blanco); }
.noches__texto { margin-left: auto; width: min(697px, 100%); padding: 129px var(--margen) 60px 0; }
.noches__texto h2 { font-weight: 200; font-size: clamp(40px, 5vw, 64px); text-align: center; }
.noches__pregunta { margin: 40px 0 108px; font-family: var(--titulos); font-weight: 400; font-size: 15px; }
.noches .texto { font-size: 20px; }
.festivales { display: grid; grid-template-columns: 1fr 419px; gap: 61px; max-width: var(--ancho); margin: 0 auto; padding: 19px 90px 0 68px; }
.festivales h2.titulo { font-weight: 200; text-align: center; }
.festivales .subtitulo { margin: 12px 0 33px; }
.festivales .texto { font-size: 20px; }
.festivales video { width: 419px; height: 498px; object-fit: cover; }
.logos-festivales { display: grid; grid-template-columns: repeat(4, auto); justify-content: space-around; align-items: center; gap: 20px; max-width: var(--ancho); margin: 0 auto; padding: 0 var(--margen) 4px; border-bottom: 2px solid var(--negro); }
.logos-festivales img { height: 105px; width: auto; }
.actividades { display: grid; grid-template-columns: 453px 1fr; gap: 79px; max-width: var(--ancho); margin: 0 auto; padding: 5px 43px 24px 0; }
.actividades video { width: 453px; height: 702px; object-fit: cover; margin-top: 35px; }
.actividades h2.titulo { font-weight: 200; text-align: right; }
.actividades .subtitulo { margin: 12px 0 30px; text-align: right; }
.actividades .carrusel { margin: 40px 0 0; }
.actividades .carrusel__pista { gap: 0; }
.actividades .carrusel__ficha { flex: 0 0 100%; height: 308px; border-radius: 0; display: grid; place-items: center; }
.actividades .carrusel__ficha img { width: auto; max-width: 100%; height: 308px; object-fit: contain; filter: none; }
.actividades .carrusel__ficha::after { display: none; }
.actividades .carrusel__boton { background: none; }
@media (max-width: 1000px) {
  .workshops__rejilla, .festivales, .actividades { grid-template-columns: 1fr; gap: 32px; padding-left: var(--margen); padding-right: var(--margen); }
  .festivales video, .actividades video { width: 100%; max-width: 420px; height: auto; aspect-ratio: 9 / 16; margin: 0 auto; }
  .actividades video { order: 2; }
  .actividades h2.titulo, .actividades .subtitulo { text-align: center; }
  .noches__texto { padding: 60px var(--margen); background: rgba(0, 0, 0, .45); width: 100%; }
  .noches__pregunta { margin: 20px 0 40px; }
  .logos-festivales { grid-template-columns: repeat(2, auto); }
  .logos-festivales img { height: 80px; }
}

/* ---------- Contacto ---------- */
.mapa iframe { width: 100%; height: 507px; border: 0; }
.contacto { display: grid; grid-template-columns: 1fr 1fr; border-top: 6px solid var(--negro); }
.contacto__info { padding: 41px 33px 50px; border-right: 6px solid var(--negro); text-align: center; }
.contacto__info h1 { color: var(--morado); font-weight: 400; font-size: clamp(34px, 4vw, 51px); line-height: 1.4; }
.contacto__direccion { margin: 50px 0 0; font-family: var(--texto); font-size: clamp(20px, 2.4vw, 30px); line-height: 1.6; }
.contacto__direccion a { text-decoration: none; }
.contacto__info .redes { justify-content: center; margin-top: 160px; }
.contacto__info .redes svg { width: 42px; height: 42px; }
.contacto__tarjeta { align-self: start; margin: 41px auto 40px; width: min(424px, calc(100% - 2 * var(--margen))); padding: 24px 24px 32px; border-radius: 16px; background: var(--azul-tarjeta); }
.contacto__tarjeta h2 { font-weight: 600; font-size: 30px; line-height: 1.5; }
.contacto__tarjeta p { margin: 16px 0 24px; font-size: 18px; }
.contacto__botones { display: grid; gap: 14px; }
.contacto__botones .boton { justify-content: center; border-radius: 30px; font-size: 20px; padding: 10px 18px; }
.contacto__botones .boton svg { width: 24px; height: 24px; flex: none; }
.boton--whatsapp { background: #1fa855; }
@media (max-width: 800px) {
  .contacto { grid-template-columns: 1fr; }
  .contacto__info { border-right: 0; border-bottom: 6px solid var(--negro); }
  .contacto__info .redes { margin-top: 40px; }
  .mapa iframe { height: 320px; }
}

/* ---------- Textos legales ---------- */
.legal-pagina { padding: 32px var(--margen) 60px; max-width: var(--ancho); margin: 0 auto; }
.legal-pagina h1 { padding-left: 0; font-weight: 200; }
.legal-pagina .texto { margin-top: 28px; font-size: clamp(18px, 1.9vw, 23.9px); line-height: 1.4; }
.legal-pagina .texto p { margin-bottom: 1.4em; }
.legal-pagina ul { margin: 0 0 1.4em; padding-left: 1.4em; }
.legal-pagina li p { margin: 0; }

/* ---------- Página no encontrada ---------- */
.no-encontrada { padding: 80px var(--margen); text-align: center; }
.no-encontrada p { margin: 24px 0 32px; }
