/* "The Seasons" es la fuente de títulos del sitio Wix. Es una versión demo sin
   acentos, ñ ni ¿¡: esos caracteres los completa Bodoni Moda. */
@font-face {
    font-family: 'The Seasons';
    src: url('../fonts/the-seasons.woff2') format('woff2');
    font-display: swap;
}

:root {
    --black: #080808;
    --light: #F0EFF4;
    --sage: #A3B4A2;
    --mauve: #9D7B9B;
    --title: 'The Seasons', 'Bodoni Moda', serif;
    --text: 'Montserrat', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--text); font-weight: 300; color: var(--light);
    background: var(--black); overflow-x: hidden;
}
a { color: inherit; }
img { display: block; max-width: 100%; }

/* --- HEADER --- */
header {
    position: sticky; top: 0; z-index: 50; background: var(--black);
    height: 86px; padding: 0 70px 0 85px;
    display: flex; justify-content: space-between; align-items: center;
}
.logo { display: flex; align-items: center; gap: 2px; text-decoration: none; }
.logo span { font-family: var(--title); font-size: 30px; line-height: 1; }
.logo img { width: 52px; height: 52px; }

nav ul { display: flex; list-style: none; gap: 30px; }
nav a {
    text-decoration: none; font-size: 16px; font-weight: 400;
    transition: color .3s;
}
nav a:hover, nav a[aria-current] { color: #7C7C7E; }

.menu-btn {
    display: none; background: none; border: 0; cursor: pointer;
    width: 32px; height: 24px; position: relative;
}
.menu-btn span, .menu-btn::before, .menu-btn::after {
    content: ''; position: absolute; left: 0; right: 0; height: 2px;
    background: var(--light); transition: transform .3s, opacity .3s;
}
.menu-btn::before { top: 2px; }
.menu-btn span { top: 11px; }
.menu-btn::after { bottom: 2px; }

/* --- HERO --- */
.hero {
    position: relative; height: calc(100vh - 86px); height: calc(100svh - 86px); min-height: 560px; overflow: hidden;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-align: center; padding: 0 20px;
}
.hero video {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2;
}
.hero::after {
    content: ''; position: absolute; inset: 0; z-index: -1;
    background: rgba(150, 150, 160, .28);
}
h1 {
    font-family: var(--title); font-weight: 400; font-size: 100px;
    letter-spacing: 20px; line-height: 1.1; margin: 0 0 30px 20px;
}
.hero p { font-size: 18px; font-weight: 400; line-height: 1.25; margin-bottom: 55px; }

.btn {
    display: inline-block; background: var(--sage); color: #000; text-decoration: none;
    font-size: 15px; letter-spacing: .25em; padding: 12px 38px; border-radius: 50px;
    border: 1px solid var(--sage); transition: background .3s, color .3s, border-color .3s;
}
.btn:hover { background: transparent; color: var(--light); border-color: var(--light); }

/* --- ARTISTAS DESTACADOS --- */
.artistas { padding: 30px 0 0; }
/* El título deja ver un video por dentro de las letras, como en Wix */
.video-title { position: relative; width: min(710px, 92vw); margin: 0 auto 22px; overflow: hidden; }
.video-title video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-title h2 {
    position: relative; background: var(--black); color: #fff; mix-blend-mode: darken; white-space: nowrap;
    font-family: 'Playfair Display', serif; font-weight: 800; text-transform: uppercase;
    font-size: clamp(22px, 6.4vw, 58px); line-height: 1.2; text-align: center; letter-spacing: .01em;
}

.slider { position: relative; padding: 0 66px; }
.track {
    display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory;
    scroll-behavior: smooth; scrollbar-width: none;
}
.track::-webkit-scrollbar { display: none; }
.card {
    position: relative; flex: 0 0 auto; height: 400px; aspect-ratio: 4 / 3; max-width: calc(100vw - 132px);
    overflow: hidden; scroll-snap-align: start; background: #111;
}
.card img { transition: transform .6s ease; }
.card:hover img { transform: scale(1.04); }
.card-info {
    position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 30px 24px;
    background: linear-gradient(transparent, rgba(0,0,0,.55)); font-size: 16px; font-weight: 400; line-height: 1.45;
    pointer-events: none;
}
.card-info h3 { font-family: var(--title); font-weight: 400; font-size: 16px; margin-bottom: 12px; text-transform: uppercase; }
.card-info p { white-space: pre-line; }
.card-btn {
    pointer-events: auto; display: inline-block; margin-top: 14px; padding: 6px 18px; border: 1px solid var(--light);
    border-radius: 50px; color: var(--light); text-decoration: none; font-size: 13px; letter-spacing: .12em; transition: background .3s, color .3s;
}
.card-btn:hover { background: var(--light); color: var(--black); }
.card-info { transition: opacity .3s; }
.card.reproduciendo .card-info { opacity: 0; }
.play {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 64px; height: 64px; border-radius: 50%; border: 0; cursor: pointer;
    background: rgba(0,0,0,.6); display: grid; place-items: center; transition: background .3s;
}
.play:hover { background: rgba(0,0,0,.85); }
.play::before {
    content: ''; margin-left: 5px;
    border-left: 20px solid #fff; border-top: 12px solid transparent; border-bottom: 12px solid transparent;
}
.arrow {
    position: absolute; top: 50%; transform: translateY(-50%); background: none; border: 0;
    cursor: pointer; width: 50px; height: 60px; display: grid; place-items: center;
}
.arrow::before {
    content: ''; width: 26px; height: 26px; border-left: 2px solid var(--light); border-bottom: 2px solid var(--light);
}
.arrow.prev { left: 10px; }
.arrow.prev::before { transform: rotate(45deg); margin-left: 12px; }
.arrow.next { right: 10px; }
.arrow.next::before { transform: rotate(-135deg); margin-right: 12px; }

/* --- CONTACTO --- */
.contacto { display: grid; grid-template-columns: 480px 1fr; min-height: 600px; margin-top: 4px; }
.contacto-info { background: var(--sage); padding: 88px 40px 60px 90px; }
.contacto h2 { font-family: var(--title); font-weight: 400; font-size: 40px; line-height: 1.2; }
.contacto-info h2 { margin-bottom: 26px; }
.contacto-info p { color: var(--black); font-size: 15px; font-weight: 400; margin-bottom: 12px; }
.contacto-info a { text-decoration: none; }
.contacto-info a:hover { text-decoration: underline; }
.ig { display: inline-grid; place-items: center; width: 25px; height: 25px; border-radius: 50%; background: var(--black); margin: 8px 0 30px; }
.ig svg { width: 14px; height: 14px; }
.difusion { text-align: center; width: 250px; margin-left: 30px; }
.difusion h3 { font-family: var(--title); font-weight: 400; font-size: 24px; color: #333; margin-bottom: 14px; white-space: nowrap; }
.difusion img { width: 250px; margin: 0 auto; }

.contacto-form { padding: 60px 40px 60px 174px; max-width: 800px; }
.contacto-form h2 { max-width: 560px; margin-bottom: 40px; }
form { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 28px; max-width: 612px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
label { font-size: 14px; }
input, textarea {
    background: var(--black); border: 1px solid var(--light); color: var(--light);
    font: 400 15px var(--text); padding: 8px 10px; height: 37px; border-radius: 0;
}
textarea { height: 86px; resize: vertical; }
input[type="file"] { height: auto; padding: 7px 10px; font-size: 14px; cursor: pointer; }
input[type="file"]::file-selector-button {
    background: var(--light); color: var(--black); border: 0; font: 400 13px var(--text);
    padding: 4px 12px; margin-right: 12px; cursor: pointer;
}
.opcional { color: #9a9a9e; }
input:focus, textarea:focus { outline: 1px solid var(--sage); border-color: var(--sage); }
form button {
    grid-column: 1 / -1; background: var(--mauve); color: var(--black); border: 1px solid var(--mauve);
    font: 400 14px var(--text); height: 36px; cursor: pointer; transition: background .3s, color .3s;
}
form button:hover { background: transparent; color: var(--light); }
form button:disabled { opacity: .6; cursor: wait; }
.form-msg { grid-column: 1 / -1; font-size: 14px; min-height: 1.2em; }
.hp { position: absolute; left: -9999px; }

/* --- FOOTER --- */
footer {
    display: flex; justify-content: center; align-items: flex-start; gap: 140px;
    padding: 40px 30px 36px; flex-wrap: wrap;
}
footer h2 { font-family: var(--title); font-weight: 400; font-size: 30px; margin-bottom: 6px; }
.sponsor img { width: 150px; margin: 0 auto; }
.sponsor { text-align: center; }
.logos { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.logos img { height: 75px; width: auto; object-fit: contain; }
.logos img.adef { height: 90px; }
.copy { text-align: center; font-size: 12px; padding: 0 20px 24px; color: #9a9a9e; }

/* =========================================================
   SUBPÁGINAS
   ========================================================= */

/* Banda con el mismo video del inicio, más oscura */
.band { position: relative; overflow: hidden; isolation: isolate; }
.band > video {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2;
}
.band::after {
    content: ''; position: absolute; inset: 0; z-index: -1; background: rgba(40, 40, 46, .55);
}
.page-title { font-family: var(--title); font-weight: 400; font-size: 60px; line-height: 1.15; letter-spacing: normal; margin: 0; }
.btn-rect {
    display: inline-block; background: var(--mauve); color: var(--black); text-decoration: none;
    font-size: 14px; font-weight: 400; padding: 11px 40px; border: 1px solid var(--mauve);
    transition: background .3s, color .3s;
}
.btn-rect:hover { background: transparent; color: var(--light); }

/* --- CONCIERTOS --- */
.conc-band { text-align: center; padding: 14px 20px; }
.conc-band::after { background: rgba(60, 60, 68, .72); }
.conc-band p { font-size: 15px; font-weight: 400; margin-top: 4px; }
.conc-main {
    background: linear-gradient(rgba(150, 150, 150, .5), rgba(150, 150, 150, .5)), url('../img/fondo-blur.jpg') center / cover no-repeat;
    padding: 32px 18px 32px 32px;
    display: grid; grid-template-columns: minmax(0, 836px) minmax(0, 432px); justify-content: space-between; gap: 32px;
    align-items: start;
}
.calendar, .event-panel { background: rgba(110, 110, 112, .78); border-radius: 16px; }
.calendar { padding: 20px 24px 24px; }
.cal-head { display: flex; justify-content: center; align-items: center; gap: 70px; margin-bottom: 26px; }
.cal-head h2 { font: 400 19px var(--text); min-width: 190px; text-align: center; }
.cal-head button {
    background: none; border: 0; color: var(--light); font-size: 24px; cursor: pointer; line-height: 1; padding: 4px 8px;
}
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal-grid .dow { text-align: center; font-size: 11px; font-weight: 400; letter-spacing: .05em; text-transform: uppercase; padding-bottom: 12px; }
.day {
    position: relative; height: 64px; border-radius: 3px; background: rgba(255, 255, 255, .18);
    display: flex; justify-content: center; padding-top: 12px; font-size: 17px; font-weight: 400;
    border: 0; color: var(--light); font-family: var(--text); overflow: hidden;
}
.day.empty { background: none; }
.day.has-event { cursor: pointer; background-size: cover; background-position: center; }
.day.has-event::before { content: ''; position: absolute; inset: 0; background: rgba(0, 0, 0, .25); }
.day.has-event span { position: relative; }
.day.has-event.active { outline: 2px solid var(--light); }
.day.today:not(.has-event) { background: rgba(255, 255, 255, .32); }

.event-panel { padding: 24px; max-height: 474px; overflow-y: auto; }
.event-panel .panel-media { width: 100%; max-height: 360px; border-radius: 3px; overflow: hidden; margin-bottom: 26px; }
.event-panel .btn-rect { margin-top: 22px; color: var(--black); }
.event-panel .btn-rect:hover { color: var(--light); }
.event-panel .concierto + .concierto { border-top: 1px solid rgba(255, 255, 255, .35); margin-top: 26px; padding-top: 26px; }
.event-panel h3 { font-family: var(--title); font-weight: 400; font-size: 28px; line-height: 1.2; margin-bottom: 18px; }
.event-panel .when { font-size: 15px; font-weight: 400; line-height: 1.75; margin-bottom: 14px; }
.event-panel .desc { font-size: 15px; font-weight: 400; line-height: 1.6; white-space: pre-line; overflow-wrap: anywhere; }
.event-panel .none { font-size: 15px; font-weight: 400; line-height: 1.6; }
.event-panel a { color: var(--light); }

/* --- CURSOS / EVENTOS --- */
.cursos-hero { height: 494px; }
.cursos-hero::after { background: rgba(40, 40, 46, .35); }
.cursos-hero img {
    position: absolute; top: 40px; right: 65px; width: 882px; max-width: 62%; height: 399px; object-fit: cover;
}
.cursos-box {
    position: absolute; left: 80px; bottom: 0; width: 640px; background: #26162A;
    padding: 70px 120px 30px 87px;
}
.cursos-box h1 { margin-bottom: 30px; }
.cursos-box p { font-size: 15px; font-weight: 400; line-height: 1.95; margin-bottom: 26px; }

.eventos { text-align: center; padding: 18px 20px 0; }
.eventos h2 { font-family: var(--title); font-weight: 400; font-size: 40px; margin-bottom: 10px; }
.eventos-lista { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 24px; } /* apiladas se tocan: el borde de arriba de una cierra a la anterior */
.evento-card {
    width: 308px; max-width: 100%; margin: 0; border: 1px solid #1e1e1e; border-bottom: 0;
    padding: 72px 36px 24px;
}
.evento-card h3 { font-family: var(--title); font-weight: 400; font-size: 22px; margin-bottom: 22px; }
.evento-card p { font-size: 13px; font-weight: 400; line-height: 1.75; margin-bottom: 30px; }
.evento-card .evento-fecha { font-size: 14px; letter-spacing: .12em; color: #9a9a9e; margin: -14px 0 22px; }
.evento-card a { font-size: 15px; font-weight: 400; letter-spacing: .12em; text-decoration: none; }
.evento-card a:hover { color: var(--sage); }
.evento-card p:not(.evento-fecha) { white-space: pre-line; overflow-wrap: anywhere; }
.cursos-lista { display: grid; gap: 30px; }
.pill p { white-space: pre-line; overflow-wrap: anywhere; }
.pill .evento-fecha { font-size: 14px; letter-spacing: .12em; color: #c9b9cc; margin: -34px auto 30px; }
.pill-img { display: block; width: 100%; max-height: 320px; object-fit: cover; border-radius: 24px; margin-bottom: 34px; }
.pill .btn-rect { margin-top: 26px; }

.destacados {
    border-top: 1px solid #2a2a2a;
    background: url('../img/escenario.jpg') center / cover no-repeat;
    padding: 30px 20px 110px; text-align: center;
}
.destacados h2 { font-family: var(--title); font-weight: 400; font-size: 96px; line-height: 1.1; margin-bottom: 20px; }
.pill {
    max-width: 820px; margin: 0 auto; background: #26162A; border-radius: 150px;
    padding: 58px 90px 70px;
}
.pill h3 { font-family: var(--title); font-weight: 400; font-size: 30px; margin-bottom: 50px; }
.pill p { font-size: 15px; font-weight: 400; line-height: 1.95; max-width: 420px; margin: 0 auto; }

/* --- ALIADOS CULTURALES --- */
.aliados-hero { padding: 62px 20px 18px 260px; }
.aliados-hero::after { background: rgba(40, 40, 46, .45); }
.aliados-hero p { font-size: 17px; font-weight: 400; margin: 44px 0 16px; }
.beneficios { padding: 52px 20px 70px 260px; max-width: 940px; }
.beneficios h2, .categorias h2 { font-family: var(--title); font-weight: 400; }
.beneficios h2 { font-size: 32px; margin-bottom: 16px; }
.beneficios ul { padding-left: 50px; }
.beneficios li { font-size: 13.5px; font-weight: 400; line-height: 1.75; margin-bottom: 39px; }
.categorias { text-align: center; padding: 0 20px 20px; }
.categorias h2 { font-size: 60px; margin-bottom: 14px; }
.cat-grid { display: grid; grid-template-columns: repeat(3, 230px); justify-content: center; gap: 0 112px; }
.cat-grid h3 { font-family: var(--title); font-weight: 400; font-size: 22px; margin-bottom: 20px; }
.cat-grid p { font-size: 15px; font-weight: 400; line-height: 1.6; }

/* --- MÚSICA --- */
.musica-hero {
    min-height: calc(100vh - 86px - 150px); display: flex; flex-direction: column; justify-content: center;
    align-items: center; text-align: center; padding: 60px 20px;
}
.musica-hero::after { background: rgba(60, 60, 68, .6); }
.musica-hero p { font-size: 15px; font-weight: 400; line-height: 1.95; max-width: 580px; margin-top: 36px; }

/* --- MOBILE --- */
@media (max-width: 1100px) {
    .conc-main { grid-template-columns: 1fr; padding: 24px 16px; }
    .event-panel { max-height: none; }
    .cursos-hero img { right: 30px; }
    .cursos-box { left: 30px; }
    .aliados-hero, .beneficios { padding-left: 60px; }
    .cat-grid { gap: 0 40px; }
    .contacto { grid-template-columns: 1fr 1fr; }
    .contacto-info { padding: 60px 40px; }
    .contacto-form { padding: 60px 40px; }
    footer { gap: 60px; }
}
@media (max-width: 800px) {
    header { padding: 0 20px; height: 70px; }
    .menu-btn { display: block; }
    nav {
        position: fixed; top: 70px; left: 0; right: 0; background: var(--black);
        max-height: 0; overflow: hidden; transition: max-height .35s ease;
    }
    nav ul { flex-direction: column; gap: 0; padding: 0 20px; }
    nav li a { display: block; padding: 14px 0; border-top: 1px solid #222; }
    header.open nav { max-height: 360px; }
    header.open .menu-btn span { opacity: 0; }
    header.open .menu-btn::before { transform: translateY(9px) rotate(45deg); }
    header.open .menu-btn::after { transform: translateY(-9px) rotate(-45deg); }

    .hero { height: calc(100vh - 70px); height: calc(100svh - 70px); min-height: 480px; }
    h1 { font-size: 50px; letter-spacing: 8px; margin-left: 8px; }
    .hero p { font-size: 15px; }
    .hero p br { display: none; }

    .slider { padding: 0 16px; }
    .card { height: auto; width: calc(100vw - 32px); max-width: none; }
    .track { align-items: center; }
    .arrow { display: none; }

    .contacto { grid-template-columns: 1fr; }
    .contacto-info { padding: 50px 24px; }
    .difusion { margin: 0 auto; }
    .contacto-form { padding: 50px 24px; }
    .contacto h2 { font-size: 32px; }
    form { grid-template-columns: 1fr; }

    footer { gap: 36px; text-align: center; }
    .logos { justify-content: center; }
    .logos img { height: 56px; }
    .logos img.adef { height: 66px; }

    .page-title { font-size: 40px; }
    .cal-head { gap: 16px; }
    .cal-grid { gap: 4px; }
    .calendar { padding: 16px 10px; }
    .day { height: 46px; font-size: 14px; padding-top: 8px; }
    .cursos-hero { height: auto; display: flex; flex-direction: column; }
    .cursos-hero img { position: static; width: 100%; max-width: none; height: 220px; }
    .cursos-box { position: static; width: auto; padding: 36px 24px; }
    .destacados h2 { font-size: 48px; }
    .pill { border-radius: 40px; padding: 40px 24px; }
    .pill h3 { margin-bottom: 24px; }
    .aliados-hero, .beneficios { padding-left: 24px; padding-right: 24px; }
    .aliados-hero p { margin-top: 24px; }
    .beneficios ul { padding-left: 20px; }
    .beneficios li { margin-bottom: 20px; }
    .categorias h2 { font-size: 38px; }
    .cat-grid { grid-template-columns: 1fr; gap: 30px; }
}

/* --- CONTENIDO EDITABLE (media.js, contenido.js) --- */
.media { position: relative; width: 100%; height: 100%; background: #000; overflow: hidden; }
.media img, .media video, .media iframe { display: block; width: 100%; height: 100%; object-fit: contain; border: 0; }
.media .yt { position: relative; width: 100%; height: 100%; }
.media .yt img { object-fit: cover; }
.carrusel .slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; }
.carrusel .slide.on { opacity: 1; visibility: visible; }
.c-prev, .c-next {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 36px; height: 36px;
    border: 0; border-radius: 50%; background: rgba(0, 0, 0, .5); color: #fff; font-size: 24px; line-height: 1; cursor: pointer;
}
.c-prev { left: 8px; }
.c-next { right: 8px; }
.c-prev:hover, .c-next:hover { background: rgba(0, 0, 0, .8); }
.c-dots { position: absolute; top: 10px; left: 0; right: 0; z-index: 2; display: flex; justify-content: center; gap: 6px; pointer-events: none; }
.c-dots span { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .45); }
.c-dots span.on { background: #fff; }
.carga-error, .vacio { font-size: 15px; font-weight: 400; line-height: 1.6; padding: 30px 20px; text-align: center; }
