/* ===========================================================
   Pedro III — FLAGSHIP "Luz / Óptica"
   Obsidiana + aurora de luz refractada + marfil.
   Solo afecta a index-show.html.
   =========================================================== */

:root {
    --bg: #06070e;
    --bg-2: #0a0c16;
    --bg-3: #0f1122;
    --line: rgba(255, 255, 255, .09);
    --line-2: rgba(255, 255, 255, .16);

    --ivory: #f4f0e9;
    --muted: #a3a1b4;
    --muted-2: #6d6c80;

    /* Aurora / luz refractada */
    --a-violet: #7b5cff;
    --a-blue: #3f78ff;
    --a-teal: #21d4c6;
    --a-rose: #ff5d9e;
    --a-gold: #ffd9a0;
    --accent: #8b6cff;

    --font-display: "Bricolage Grotesque", "Archivo", sans-serif;
    --font-body: "Inter", system-ui, sans-serif;

    --maxw: 1280px;
    --gutter: clamp(20px, 5vw, 70px);
    --ease: cubic-bezier(.16, .84, .44, 1);
    --ease-out: cubic-bezier(.22, 1, .36, 1);
}

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

[hidden] { display: none !important; }

html {
    -webkit-text-size-adjust: 100%;
}

html.has-js {
    scroll-behavior: auto;
}

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.7;
    color: var(--ivory);
    background: var(--bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

::selection {
    background: var(--accent);
    color: #fff;
}

.container {
    width: 100%;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

section {
    padding: clamp(60px, 8vw, 110px) 0;
    position: relative;
    z-index: 1;
}

/* ===========================================================
   AURORA (fondo de luz refractada, fijo)
   =========================================================== */
.aurora {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.aurora i {
    position: absolute;
    display: block;
    border-radius: 50%;
    filter: blur(80px);
    opacity: .55;
    mix-blend-mode: screen;
    will-change: transform;
}

.aurora i:nth-child(1) {
    width: 60vw;
    height: 60vw;
    left: -10vw;
    top: -18vw;
    background: radial-gradient(circle at 50% 50%, var(--a-violet), transparent 65%);
    animation: drift1 26s var(--ease) infinite alternate;
}

.aurora i:nth-child(2) {
    width: 55vw;
    height: 55vw;
    right: -12vw;
    top: -10vw;
    background: radial-gradient(circle at 50% 50%, var(--a-blue), transparent 65%);
    animation: drift2 32s var(--ease) infinite alternate;
}

.aurora i:nth-child(3) {
    width: 50vw;
    height: 50vw;
    left: 20vw;
    bottom: -22vw;
    background: radial-gradient(circle at 50% 50%, var(--a-teal), transparent 64%);
    opacity: .4;
    animation: drift3 28s var(--ease) infinite alternate;
}

.aurora i:nth-child(4) {
    width: 42vw;
    height: 42vw;
    right: 6vw;
    bottom: -16vw;
    background: radial-gradient(circle at 50% 50%, var(--a-rose), transparent 66%);
    opacity: .38;
    animation: drift4 34s var(--ease) infinite alternate;
}

@keyframes drift1 {
    to {
        transform: translate3d(14vw, 10vh, 0) scale(1.15);
    }
}

@keyframes drift2 {
    to {
        transform: translate3d(-12vw, 14vh, 0) scale(1.1);
    }
}

@keyframes drift3 {
    to {
        transform: translate3d(10vw, -12vh, 0) scale(1.2);
    }
}

@keyframes drift4 {
    to {
        transform: translate3d(-8vw, -10vh, 0) scale(1.12);
    }
}

/* Oscurecedor + grano por encima de la aurora para legibilidad */
.aurora::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(120% 80% at 50% 0%, transparent 40%, rgba(6, 7, 14, .75) 100%),
        linear-gradient(180deg, rgba(6, 7, 14, .35), rgba(6, 7, 14, .7));
}

.grain {
    position: fixed;
    inset: 0;
    z-index: 60;
    pointer-events: none;
    opacity: .045;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Lienzo de chispas (lo crea show.js) */
#spark-canvas {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

/* ===========================================================
   INTRO REVEAL
   =========================================================== */
.intro-curtain {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 1s var(--ease) .1s, visibility 1s .1s;
}

body.intro-done .intro-curtain {
    opacity: 0;
    visibility: hidden;
}

/* Contenedor centrado */
.intro-burst {
    position: relative;
    width: 260px;
    height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Logo */
.intro-logo {
    position: relative;
    z-index: 3;
    width: clamp(140px, 18vw, 200px);
    height: auto;
    opacity: 0;
    animation: introLogoIn 0.6s var(--ease-out) 0.2s forwards;
    filter: drop-shadow(0 0 20px rgba(255,255,255,.8)) drop-shadow(0 0 8px rgba(255,255,255,.4));
}

@keyframes introLogoIn {
    0%   { opacity: 0; transform: scale(0.82); }
    60%  { opacity: 1; transform: scale(1.04); }
    100% { opacity: 1; transform: scale(1); }
}

/* Rayos radiales giratorios */
.intro-rays {
    position: absolute;
    inset: -20px;
    border-radius: 50%;
    background: conic-gradient(
        from 0deg,
        transparent 0deg,
        rgba(255,255,255,.20) 8deg,
        transparent 16deg,
        rgba(255,255,255,.10) 28deg,
        transparent 36deg,
        rgba(255,255,255,.18) 50deg,
        transparent 58deg,
        rgba(255,255,255,.12) 72deg,
        transparent 80deg,
        rgba(255,255,255,.22) 96deg,
        transparent 104deg,
        rgba(255,255,255,.10) 118deg,
        transparent 126deg,
        rgba(255,255,255,.16) 140deg,
        transparent 148deg,
        rgba(255,255,255,.08) 162deg,
        transparent 170deg,
        rgba(255,255,255,.20) 188deg,
        transparent 196deg,
        rgba(255,255,255,.14) 210deg,
        transparent 218deg,
        rgba(255,255,255,.18) 232deg,
        transparent 240deg,
        rgba(255,255,255,.10) 254deg,
        transparent 262deg,
        rgba(255,255,255,.22) 278deg,
        transparent 286deg,
        rgba(255,255,255,.12) 300deg,
        transparent 308deg,
        rgba(255,255,255,.16) 322deg,
        transparent 330deg,
        rgba(255,255,255,.08) 346deg,
        transparent 354deg,
        transparent 360deg
    );
    opacity: 0;
    animation: introRays 1.4s var(--ease-out) 0.3s forwards;
    z-index: 1;
}

@keyframes introRays {
    0%   { opacity: 0;   transform: scale(0.4) rotate(-15deg); }
    30%  { opacity: 1;   transform: scale(1.6) rotate(8deg); }
    65%  { opacity: .8;  transform: scale(2.8) rotate(20deg); }
    100% { opacity: 0;   transform: scale(4.5) rotate(35deg); }
}

/* Destello central de luz */
.intro-flare {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: radial-gradient(circle,
        rgba(255,255,255,1) 0%,
        rgba(255,255,255,.7) 18%,
        rgba(255,255,255,.3) 40%,
        transparent 70%
    );
    opacity: 0;
    animation: introFlare 1.2s var(--ease-out) 0.7s forwards;
    z-index: 2;
}

@keyframes introFlare {
    0%   { opacity: 0;    transform: scale(0.2); }
    20%  { opacity: .95;  transform: scale(0.9); }
    50%  { opacity: .6;   transform: scale(1.5); }
    100% { opacity: 0;    transform: scale(3.2); }
}

/* ===========================================================
   HEADER
   =========================================================== */
#header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 100;
    padding: 15px 0;
    transition: padding .4s var(--ease), background .4s var(--ease), border-color .4s var(--ease);
    border-bottom: 1px solid transparent;
}

#header.scrolled {
    background: rgba(6, 7, 14, .72);
    backdrop-filter: blur(16px) saturate(1.2);
    -webkit-backdrop-filter: blur(16px) saturate(1.2);
    border-bottom-color: var(--line);
    padding: 10px 0;
}

#header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

#logo {
    flex: 0 0 auto;
    line-height: 0;
}

#logo img {
    height: 44px;
    width: auto;
    max-width: none;
    flex: none;
}

.nav-menu {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 22px;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    color: var(--muted);
    font-size: .76rem;
    font-weight: 500;
    letter-spacing: .12em;
    text-transform: uppercase;
    position: relative;
    padding: 4px 0;
    transition: color .25s var(--ease);
}

.nav-menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0;
    height: 1.5px;
    background: linear-gradient(90deg, var(--a-violet), var(--a-rose));
    transition: width .3s var(--ease);
}

.nav-menu a:hover,
.nav-menu li.active a {
    color: var(--ivory);
}

.nav-menu a:hover::after,
.nav-menu li.active a::after {
    width: 100%;
}

.nav-menu .nav-cta a {
    color: #fff;
    padding: 10px 20px;
    border-radius: 999px;
    background: linear-gradient(120deg, var(--a-violet), var(--a-rose));
    letter-spacing: .1em;
    white-space: nowrap;
    box-shadow: 0 8px 26px -10px rgba(139, 108, 255, .7);
}

.nav-menu .nav-cta a::after {
    display: none;
}

.nav-menu .nav-cta a:hover {
    color: #fff;
}

.nav-toggle {
    display: none;
    background: none;
    border: 0;
    color: var(--ivory);
    cursor: pointer;
    padding: 6px;
}

.nav-toggle svg {
    width: 30px;
    height: 30px;
}

/* ===========================================================
   HERO
   =========================================================== */
#intro {
    min-height: 100svh;
    display: flex;
    align-items: center;
    padding: 140px 0 90px;
    overflow: hidden;
}

.hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

.hero-portrait {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 52%;
    z-index: -1;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 38%, #000 100%);
    mask-image: linear-gradient(90deg, transparent, #000 38%, #000 100%);
}

.hero-portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 18%;
    filter: contrast(1.05) saturate(.95) brightness(.85);
    opacity: .55;
    transform: scale(1.05);
}

.hero-overline {
    font-size: clamp(.78rem, 1.3vw, .98rem);
    font-weight: 600;
    letter-spacing: .42em;
    text-transform: uppercase;
    color: var(--muted);
    margin: 0 0 4px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.hero-overline::before {
    content: "";
    width: clamp(30px, 6vw, 70px);
    height: 1.5px;
    background: linear-gradient(90deg, var(--a-violet), transparent);
}

.hero-name {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(4.2rem, 17vw, 15rem);
    line-height: .84;
    letter-spacing: -.02em;
    margin: 0;
    background: linear-gradient(110deg, var(--ivory) 0%, var(--a-violet) 30%, var(--a-teal) 50%, var(--a-rose) 68%, var(--ivory) 100%);
    background-size: 250% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: nameLight 9s ease-in-out infinite;
    filter: drop-shadow(0 6px 50px rgba(123, 92, 255, .35));
}

@keyframes nameLight {

    0%,
    100% {
        background-position: 0% 0;
    }

    50% {
        background-position: 100% 0;
    }
}

.hero-lockup {
    width: max-content;
    max-width: 100%;
}

.hero-epithet {
    margin: 12px 0 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
}

.hero-epithet span {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(1.1rem, 2vw, 1.6rem);
    letter-spacing: .04em;
    background: linear-gradient(110deg,
        var(--a-violet) 0%,
        var(--a-rose) 30%,
        rgba(255,255,255,.92) 48%,
        rgba(255,255,255,.98) 50%,
        rgba(255,255,255,.92) 52%,
        var(--a-teal) 70%,
        var(--a-violet) 100%
    );
    background-size: 250% auto;
    background-position: 200% center;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: epithetShimmer 12s var(--ease-out) 3.5s infinite;
}

@keyframes epithetShimmer {
    0%   { background-position: 200% center; }
    100% { background-position: -100% center; }
}

.hero-epithet::after {
    content: "";
    flex: 0 0 auto;
    width: clamp(30px, 6vw, 70px);
    height: 1.5px;
    background: linear-gradient(90deg, transparent, var(--a-violet));
}

.hero-quote {
    font-size: clamp(1rem, 1.5vw, 1.18rem);
    font-style: italic;
    line-height: 1.6;
    color: #d8d5e2;
    max-width: 560px;
    margin: 26px 0 0;
    padding-left: 22px;
    border-left: 1px solid;
    border-image: linear-gradient(180deg, var(--a-violet), var(--a-rose)) 1;
}

.hero-quote sub {
    display: block;
    margin-top: 12px;
    font-style: normal;
    font-size: .76rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--muted);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px;
    margin-top: 38px;
}

/* Botones */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 15px 32px;
    border-radius: 999px;
    font-weight: 600;
    font-size: .82rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    cursor: pointer;
    border: 1px solid transparent;
    transition: transform .3s var(--ease-out), box-shadow .3s var(--ease), background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}

.btn-grad {
    background: linear-gradient(120deg, var(--a-violet), var(--a-rose));
    color: #fff;
    box-shadow: 0 12px 34px -12px rgba(139, 108, 255, .8);
}

.btn-grad:hover {
    box-shadow: 0 18px 44px -12px rgba(255, 93, 158, .8);
}

.btn-line {
    border-color: var(--line-2);
    color: var(--ivory);
    background: rgba(255, 255, 255, .02);
}

.btn-line:hover {
    border-color: var(--ivory);
    background: rgba(255, 255, 255, .06);
}

/* Botón play unificado "Ver el Teaser" */
.btn-play {
    border-color: rgba(123, 92, 255, .45);
    color: var(--ivory);
    background: rgba(123, 92, 255, .08);
}

.btn-play:hover {
    border-color: var(--a-violet);
    background: rgba(123, 92, 255, .18);
    box-shadow: 0 12px 34px -12px rgba(123, 92, 255, .5);
}

.btn-play-ico {
    display: inline-block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 5px 0 5px 9px;
    border-color: transparent transparent transparent currentColor;
    flex: 0 0 auto;
}

.play-btn {
    position: relative;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line-2);
    cursor: pointer;
    flex: 0 0 auto;
    background: rgba(255, 255, 255, .03);
    transition: transform .3s var(--ease-out), background .3s var(--ease), border-color .3s var(--ease);
}

.play-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px solid var(--a-violet);
    animation: pulse 2.6s var(--ease) infinite;
}

.play-btn::after {
    content: "";
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 9px 0 9px 15px;
    border-color: transparent transparent transparent var(--ivory);
    margin-left: 4px;
}

.play-btn:hover {
    transform: scale(1.08);
    border-color: var(--a-violet);
    background: rgba(139, 108, 255, .18);
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: .7;
    }

    100% {
        transform: scale(1.7);
        opacity: 0;
    }
}

.scroll-cue {
    position: absolute;
    left: var(--gutter);
    bottom: 32px;
    z-index: 2;
    font-size: .68rem;
    letter-spacing: .26em;
    text-transform: uppercase;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 14px;
}

.scroll-cue span {
    width: 46px;
    height: 1px;
    background: linear-gradient(90deg, var(--a-violet), transparent);
    animation: cue 2.2s var(--ease) infinite;
}

.scroll-cue::after {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-right: 1.5px solid var(--a-violet);
    border-bottom: 1.5px solid var(--a-violet);
    transform: rotate(45deg) translate(-1px, -1px);
    animation: arrow-bob 1.6s ease-in-out infinite;
}

@keyframes cue {
    0%, 100% {
        opacity: .3;
        transform: scaleX(.6);
        transform-origin: left;
    }
    50% {
        opacity: 1;
        transform: scaleX(1);
        transform-origin: left;
    }
}

@keyframes arrow-bob {
    0%, 100% { opacity: .3; transform: rotate(45deg) translate(-1px, -1px); }
    50% { opacity: 1; transform: rotate(45deg) translate(1px, 1px); }
}

/* ===========================================================
   MARQUESINA (espectáculos en cartel)
   =========================================================== */
.marquee {
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    overflow: hidden;
    padding: 24px 0;
    background: rgba(255, 255, 255, .015);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
    display: flex;
    width: max-content;
    align-items: center;
    will-change: transform;
}

.marquee-track a {
    flex: 0 0 auto;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.4rem, 2.4vw, 2.1rem);
    letter-spacing: -.01em;
    color: var(--muted);
    padding: 0 30px;
    display: inline-flex;
    align-items: center;
    gap: 30px;
    transition: color .3s var(--ease);
}

.marquee-track a::after {
    content: "✦";
    font-size: .62em;
    background: linear-gradient(120deg, var(--a-violet), var(--a-rose));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.marquee-track a:hover {
    color: var(--ivory);
}

/* Logos TV en el hero */
.hero-tv {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    gap: 12px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, .08);
    width: 100%;
}

.tv-logo {
    height: 26px;
    width: auto;
    flex-shrink: 0;
    opacity: .8;
    transition: opacity .25s;
}

.tv-logo:hover {
    opacity: 1;
}

.tv-logo[alt="Cuatro"] { height: 18px; }
.tv-logo[alt="Telecinco"] { height: 40px; }
.tv-logo[alt="Antena 3"] { height: 40px; }

@keyframes marquee {
    to {
        transform: translateX(-50%);
    }
}

/* ===========================================================
   SECTION HEADERS
   =========================================================== */
.scene-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    border-bottom: 1px solid var(--line);
    padding-bottom: 24px;
    margin-bottom: 60px;
}

.scene-head .scene-index {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: .95rem;
    background: linear-gradient(120deg, var(--a-violet), var(--a-rose));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: .1em;
}

.scene-head h2 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(2.2rem, 6vw, 5rem);
    line-height: .95;
    margin: 10px 0 0;
    letter-spacing: -.02em;
}

.scene-head .scene-sub {
    font-size: .8rem;
    font-weight: 500;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--muted);
    text-align: right;
    max-width: 300px;
    flex: 0 0 auto;
    padding-bottom: 6px;
}

.tw-ch {
    opacity: 0;
}

.tw-ch.tw-vis {
    opacity: 1;
}

.scene-sub.tw-active::after {
    content: '|';
    display: inline-block;
    margin-left: 1px;
    animation: twCursor .6s step-end infinite;
    color: var(--a-violet);
}

@keyframes twCursor {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0; }
}

/* ===========================================================
   PRESENTACIÓN
   =========================================================== */
#presentacion .about-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: clamp(36px, 6vw, 80px);
    align-items: start;
}

#presentacion .about-photo {
    position: sticky;
    top: 110px;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--line);
}

#presentacion .about-photo img {
    width: 100%;
    filter: saturate(.95) contrast(1.03);
    transition: transform .8s var(--ease-out);
}

#presentacion .about-photo:hover img {
    transform: scale(1.04);
}

#presentacion .about-photo .tag {
    position: absolute;
    left: 18px;
    bottom: 16px;
    font-size: .7rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--ivory);
    display: flex;
    align-items: center;
    gap: 10px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .8);
}

#presentacion .about-photo .tag::before {
    content: "";
    width: 22px;
    height: 1px;
    background: var(--a-rose);
}

#presentacion .about-text p {
    color: #cbc9d6;
    margin: 0 0 20px;
    max-width: 62ch;
}

#presentacion .about-text p:first-child {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(1.25rem, 2.4vw, 1.9rem);
    line-height: 1.35;
    color: var(--ivory);
    letter-spacing: -.01em;
}

#presentacion .about-text .mark {
    font-weight: 700;
    margin-right: 8px;
    background: linear-gradient(120deg, var(--a-violet), var(--a-teal));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ===========================================================
   ESPECTÁCULOS (flex centrado — sin huérfanos)
   =========================================================== */
.shows-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 22px;
}

.show-card {
    position: relative;
    display: block;
    flex: 1 1 280px;
    max-width: 360px;
    min-width: 240px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--bg-2);
    transition: transform .5s var(--ease-out), border-color .5s var(--ease), box-shadow .5s var(--ease);
}

.show-card:hover {
    transform: translateY(-8px);
    border-color: rgba(139, 108, 255, .5);
    box-shadow: 0 30px 60px -30px rgba(123, 92, 255, .55);
}

.show-card .card-img {
    aspect-ratio: 3 / 4;
    overflow: hidden;
}

.show-card .card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(.55) brightness(.7) contrast(1.05);
    transform: scale(1.06);
    transition: filter .6s var(--ease), transform .9s var(--ease-out);
}

.show-card:hover .card-img img {
    filter: saturate(1.05) brightness(1) contrast(1);
    transform: scale(1.08);
}

.show-card .card-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px 22px;
    background: linear-gradient(180deg, transparent 80%, rgba(72, 22, 168, .2) 84%, rgba(72, 22, 168, .55) 100%);
}

.show-card .card-index {
    position: absolute;
    top: 16px;
    left: 20px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1rem;
    color: var(--ivory);
    opacity: .5;
}

.show-card:hover .card-index {
    opacity: 1;
    background: linear-gradient(120deg, var(--a-violet), var(--a-rose));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.show-card .card-tag {
    font-size: .64rem;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    margin-bottom: 6px;
    background: linear-gradient(120deg, var(--a-violet), var(--a-rose));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    opacity: 0;
    transform: translateY(8px);
    transition: all .45s var(--ease-out);
}

.show-card:hover .card-tag {
    opacity: 1;
    transform: none;
}

.show-card h3 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.18rem;
    line-height: 1.15;
    margin: 0;
    color: var(--ivory);
    position: relative;
    padding-top: 14px;
}

.show-card h3::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, .35);
    transition: background .45s var(--ease);
}

.show-card:hover h3::before {
    background: linear-gradient(90deg, var(--a-violet), var(--a-rose));
}

.show-card .card-go {
    margin-top: 14px;
    font-size: .7rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--ivory);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all .45s var(--ease-out);
}

.show-card:hover .card-go {
    max-height: 28px;
    opacity: 1;
}

/* ===========================================================
   SCHEDULE
   =========================================================== */
#schedule .schedule-empty {
    font-style: italic;
    color: var(--muted-2);
    text-align: center;
    font-size: 1.05rem;
}

/* ===========================================================
   VÍDEOS
   =========================================================== */
.video-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.video-card {
    cursor: pointer;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--bg-2);
    transition: transform .4s var(--ease-out), border-color .4s var(--ease), box-shadow .4s var(--ease);
}

.video-card:hover {
    transform: translateY(-6px);
    border-color: rgba(139, 108, 255, .45);
    box-shadow: 0 24px 50px -28px rgba(123, 92, 255, .6);
}

.video-thumb {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(.6) brightness(.72);
    transition: filter .5s var(--ease), transform .6s var(--ease-out);
}

.video-card:hover .video-thumb img {
    filter: saturate(1.05) brightness(1);
    transform: scale(1.06);
}

.video-thumb .play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 52px;
    height: 52px;
}

.video-meta {
    padding: 16px 18px 20px;
}

.video-meta h3 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1rem;
    margin: 0;
    color: var(--ivory);
}

.video-meta p {
    margin: 4px 0 0;
    font-size: .72rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--muted);
}

/* ===========================================================
   FOTOS (filmstrip doble)
   =========================================================== */
.gallery-wrap {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.gallery-track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-behavior: auto;
    padding: 0 var(--gutter) 20px;
    scrollbar-width: thin;
    scrollbar-color: rgba(139, 108, 255, .4) transparent;
}

.gallery-track::-webkit-scrollbar {
    height: 6px;
}

.gallery-track::-webkit-scrollbar-thumb {
    background: rgba(139, 108, 255, .4);
    border-radius: 6px;
}

.gallery-track img {
    height: clamp(240px, 42vh, 420px);
    width: auto;
    min-width: 200px;
    object-fit: cover;
    flex: 0 0 auto;
    scroll-snap-align: center;
    cursor: zoom-in;
    border-radius: 12px;
    border: 1px solid var(--line);
    filter: saturate(.7) brightness(.85);
    transition: filter .5s var(--ease), transform .5s var(--ease-out);
}

.gallery-track img:hover {
    filter: saturate(1.05) brightness(1);
    transform: scale(1.02);
}

/* ===========================================================
   CLIENTES (scroll marquee — 2 filas)
   =========================================================== */
.supporters-wrap {
    display: flex;
    flex-direction: column;
    gap: 16px;
    overflow: hidden;
}

.supporters-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: default;
    user-select: none;
    -webkit-user-select: none;
}

.supporters-track::-webkit-scrollbar { display: none; }

.supporter-logo {
    flex: 0 0 auto;
    width: 240px;
    aspect-ratio: 5 / 2;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 22px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .015);
    transition: border-color .35s var(--ease), box-shadow .35s var(--ease);
}

.supporter-logo:hover {
    border-color: rgba(255, 255, 255, .35);
    box-shadow: 0 0 18px rgba(255, 255, 255, .18), 0 0 6px rgba(255, 255, 255, .10);
}

.supporter-logo img {
    max-height: 70px;
    width: auto;
    object-fit: contain;
    transition: filter .35s var(--ease);
}

.supporter-logo:hover img {
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, .55));
}

/* Google badge — hero */
.google-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    width: fit-content;
    margin-left: auto;
}

.google-badge__stars {
    color: #fbbc05;
    font-size: 1.15rem;
    letter-spacing: 2px;
    line-height: 1;
}

.google-badge__text {
    font-size: .85rem;
    color: rgba(255,255,255,.75);
    letter-spacing: .02em;
}

.google-badge__text strong {
    color: #fff;
    font-weight: 700;
}

.google-badge__logo {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    opacity: .9;
}

/* Google reviews bar — testimonios */
.google-reviews-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 0;
    margin-bottom: 32px;
    padding: 20px 28px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 12px;
    background: rgba(255,255,255,.03);
}

.google-reviews-bar__stars {
    color: #fbbc05;
    font-size: 1.3rem;
    letter-spacing: 3px;
    flex-shrink: 0;
}

.google-reviews-bar p {
    font-size: .88rem;
    color: var(--muted);
    margin: 0;
    line-height: 1.5;
}

.google-reviews-bar p strong {
    color: var(--ivory);
}

.google-reviews-bar .google-badge__logo {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    opacity: .9;
}

@media (max-width: 600px) {
    .google-reviews-bar {
        flex-wrap: wrap;
        gap: 10px;
    }
    .google-reviews-bar .google-badge__logo {
        margin-left: 0;
    }
}

/* Cifras dentro del hero */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 36px;
    padding-top: 28px;
    padding-bottom: 28px;
    border-top: 1px solid rgba(255, 255, 255, .12);
    border-bottom: 1px solid rgba(255, 255, 255, .12);
    width: 100%;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 5px;
}

.hero-stat__num {
    font-family: var(--font-display);
    font-size: clamp(1.9rem, 3vw, 2.6rem);
    font-weight: 800;
    line-height: 1;
    color: var(--a-gold);
    letter-spacing: -.02em;
}

.hero-stat__label {
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    background: linear-gradient(120deg, var(--a-violet), var(--a-rose));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

@media (max-width: 540px) {
    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px 12px;
    }
    .hero-tv {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px 3%;
    }
    .tv-logo {
        flex: 0 0 22%;
        height: 18px;
        object-fit: contain;
    }
    .tv-logo[alt="Cuatro"] { height: 12px; }
    .tv-logo[alt="Telecinco"] { height: 28px; }
    .tv-logo[alt="Antena 3"] { height: 28px; }
}

.supporters-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 48px var(--gutter) 0;
    text-align: center;
}

.supporters-cta p {
    font-size: 1.15rem;
    color: var(--muted);
    letter-spacing: .02em;
}

/* ===========================================================
   TESTIMONIOS
   =========================================================== */
.testimonials {
    columns: 2;
    column-gap: 24px;
}

.testimonial {
    break-inside: avoid;
    margin: 0 0 24px;
    padding: 30px 28px;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, .005));
    position: relative;
    transition: transform .4s var(--ease-out), border-color .4s var(--ease);
}

.testimonial:hover {
    transform: translateY(-5px);
    border-color: rgba(139, 108, 255, .4);
}

.testimonial::before {
    content: "\201C";
    position: absolute;
    top: 8px;
    left: 20px;
    font-family: var(--font-display);
    font-size: 4.5rem;
    line-height: 1;
    background: linear-gradient(120deg, var(--a-violet), var(--a-rose));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    opacity: .5;
}

.testimonial q {
    display: block;
    font-size: 1.08rem;
    line-height: 1.55;
    color: #e7e5ef;
    quotes: none;
    padding-top: 12px;
}

.testimonial q::before,
.testimonial q::after {
    content: "";
}

.testimonial cite {
    display: block;
    margin-top: 16px;
    font-style: normal;
    font-size: .76rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    background: linear-gradient(120deg, var(--a-violet), var(--a-rose));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.testimonials-extra {
    margin-top: 24px;
}

.testimonials-extra .testimonial {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}

.testimonials-extra.in .testimonial {
    opacity: 1;
    transform: none;
}

.testimonials-cta {
    text-align: center;
    margin-top: 46px;
}

/* ===========================================================
   CONTACTO
   =========================================================== */
.contact-poster {
    display: flex;
    align-items: stretch;
    gap: 0;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .015);
}

.contact-photo {
    flex: 1 1 0;
    position: relative;
    min-width: 280px;
    overflow: hidden;
}

.contact-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(.85) contrast(1.05) brightness(.78);
    transition: filter .6s var(--ease), transform .9s var(--ease-out);
}

.contact-poster:hover .contact-photo img {
    filter: saturate(1) brightness(.92);
    transform: scale(1.04);
}

.contact-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, transparent 40%, rgba(6, 7, 14, .85) 96%);
    pointer-events: none;
}

.contact-quote {
    position: absolute;
    z-index: 2;
    font-family: var(--font-display);
    font-style: italic;
    font-size: clamp(.88rem, 1.35vw, 1.05rem);
    line-height: 1.6;
    color: var(--ivory);
    margin: 0;
    pointer-events: none;
}
.contact-quote--top {
    top: 28px;
    left: 0;
    padding: 12px 48px 12px 22px;
    background: linear-gradient(90deg, rgba(25, 8, 55, .72) 0%, rgba(25, 8, 55, .5) 55%, transparent 100%);
}
.contact-quote--bottom {
    bottom: 28px;
    right: 0;
    padding: 12px 22px 12px 48px;
    text-align: right;
    background: linear-gradient(270deg, rgba(25, 8, 55, .72) 0%, rgba(25, 8, 55, .5) 55%, transparent 100%);
}
.contact-quote--bottom p {
    margin: 0;
    color: var(--ivory);
    font-style: italic;
    font-family: var(--font-display);
    font-size: clamp(.88rem, 1.35vw, 1.05rem);
    line-height: 1.6;
}
.contact-quote--bottom cite {
    display: block;
    margin-top: 7px;
    font-size: .62rem;
    font-style: normal;
    letter-spacing: .18em;
    color: var(--a-violet);
}

.cq-c { display: inline; }
@keyframes cq-glow {
    0%, 100% { color: var(--ivory); text-shadow: none; }
    35%, 65% {
        color: #fff;
        text-shadow:
            0 0 4px #fff,
            0 0 12px var(--a-violet),
            0 0 24px var(--a-violet),
            0 0 44px rgba(123, 92, 255, .5);
    }
}
.cq-c.cq-lit {
    animation: cq-glow 1s ease-in-out;
}

.contact-channels {
    flex: 0 0 clamp(360px, 42%, 520px);
    padding: clamp(28px, 4vw, 52px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
    background: rgba(10, 12, 22, .55);
}

.ct-channel {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 16px 20px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .02);
    transition: border-color .35s var(--ease), background .35s var(--ease), transform .35s var(--ease-out);
}

.ct-channel:hover {
    border-color: rgba(139, 108, 255, .5);
    background: rgba(139, 108, 255, .08);
    transform: translateX(5px);
}

.ct-icon {
    width: 50px;
    height: 50px;
    flex: 0 0 auto;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(120deg, rgba(123, 92, 255, .28), rgba(255, 93, 158, .22));
    border: 1px solid var(--line-2);
    color: var(--ivory);
}

.ct-icon svg {
    width: 24px;
    height: 24px;
}

.ct-lbl {
    font-size: .66rem;
    font-weight: 600;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 4px;
}

.ct-val {
    font-family: var(--font-display);
    font-size: 1.08rem;
    font-weight: 600;
    color: var(--ivory);
    word-break: break-word;
}

/* ===========================================================
   FOOTER
   =========================================================== */
#footer {
    background: var(--bg-2);
    border-top: 1px solid var(--line);
    padding: 0;
    position: relative;
    z-index: 1;
}

#footer::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 12%;
    right: 12%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--a-violet), var(--a-rose), transparent);
    opacity: .6;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 22px;
    padding: 70px var(--gutter) 40px;
}

.footer-logo {
    display: inline-block;
    animation: footerFloat 4s ease-in-out infinite;
    filter: drop-shadow(0 0 0px rgba(255,255,255,0));
}

.footer-logo img {
    height: 64px;
    width: auto;
    display: block;
}

@keyframes footerFloat {
    0%   { transform: translateY(0);    filter: drop-shadow(0 0  6px rgba(180,140,255,.25)); }
    50%  { transform: translateY(-8px); filter: drop-shadow(0 0 18px rgba(180,140,255,.55)) drop-shadow(0 0 32px rgba(180,140,255,.20)); }
    100% { transform: translateY(0);    filter: drop-shadow(0 0  6px rgba(180,140,255,.25)); }
}

.footer-tagline {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    background: linear-gradient(110deg, var(--ivory), var(--a-violet), var(--a-rose), var(--ivory));
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.footer-epithet {
    margin: -14px 0 0;
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 500;
    font-size: 1.05rem;
    letter-spacing: .03em;
}

.footer-epithet span {
    background: linear-gradient(110deg, var(--a-violet) 0%, var(--a-rose) 30%, rgba(255,255,255,.92) 48%, rgba(255,255,255,.98) 50%, rgba(255,255,255,.92) 52%, var(--a-teal) 70%, var(--a-violet) 100%);
    background-size: 250% auto;
    background-position: 200% center;
    -webkit-background-clip: text; background-clip: text; color: transparent;
    animation: epithetShimmer 12s var(--ease-out) 1s infinite;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 26px;
    max-width: 760px;
}

.footer-nav a {
    color: var(--muted);
    font-size: .78rem;
    font-weight: 500;
    letter-spacing: .08em;
    text-transform: uppercase;
    transition: color .25s var(--ease);
}

.footer-nav a:hover {
    color: var(--ivory);
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    transition: all .3s var(--ease-out);
}

.social-links a svg {
    width: 18px;
    height: 18px;
}

.social-links a:hover {
    color: #fff;
    background: linear-gradient(120deg, var(--a-violet), var(--a-rose));
    border-color: transparent;
    transform: translateY(-3px);
}

.footer-copy {
    border-top: 1px solid var(--line);
    width: 100%;
    max-width: 920px;
    margin-top: 6px;
    padding-top: 26px;
    color: var(--muted-2);
    font-size: .82rem;
    letter-spacing: .04em;
}

.footer-legal {
    margin-top: 10px;
    font-size: .78rem;
}

.footer-legal a {
    color: var(--muted-2);
    text-decoration: none;
    letter-spacing: .04em;
    transition: color .3s var(--ease);
}

.footer-legal a:hover {
    color: var(--ivory);
}

/* ===========================================================
   WHATSAPP FLOTANTE
   =========================================================== */
.whatsapp-float {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #25d366;
    color: #fff;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: all .35s var(--ease-out);
    z-index: 90;
    box-shadow: 0 8px 24px -6px rgba(37, 211, 102, .6);
}

.whatsapp-float svg {
    width: 28px;
    height: 28px;
}

.whatsapp-float:hover {
    background: #20ba5a;
    transform: scale(1.08);
    box-shadow: 0 12px 30px -6px rgba(37, 211, 102, .7);
}

.whatsapp-float.show {
    opacity: 1;
    visibility: visible;
    transform: none;
}

/* ===========================================================
   LIGHTBOX
   =========================================================== */
.lightbox {
    border: 0;
    padding: 0;
    margin: auto;
    background: transparent;
    max-width: 94vw;
    max-height: 94vh;
    overflow: visible;
}

.lightbox::backdrop {
    background: rgba(4, 5, 10, .92);
    backdrop-filter: blur(6px);
}

.lightbox .lb-inner {
    position: relative;
}

.lightbox iframe,
.lightbox img {
    display: block;
    border-radius: 12px;
    border: 1px solid var(--line-2);
}

.lightbox iframe {
    width: min(92vw, 1000px);
    height: min(51.75vw, 562px);
    background: #000;
}

.lightbox img {
    max-width: 94vw;
    max-height: 88vh;
    width: auto;
    height: auto;
}

.lb-close {
    position: absolute;
    top: -46px;
    right: 0;
    background: none;
    border: 0;
    color: #fff;
    cursor: pointer;
    padding: 6px;
}

.lb-close svg {
    width: 30px;
    height: 30px;
}

.lb-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, .08);
    border: 1px solid var(--line);
    color: #fff;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .25s var(--ease);
}

.lb-nav:hover {
    background: linear-gradient(120deg, var(--a-violet), var(--a-rose));
    border-color: transparent;
}

.lb-nav svg {
    width: 26px;
    height: 26px;
}

.lb-prev {
    left: -64px;
}

.lb-next {
    right: -64px;
}

/* ===========================================================
   COOKIES
   =========================================================== */
#div-cookies {
    position: fixed;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: min(660px, calc(100% - 32px));
    background: rgba(10, 12, 22, .92);
    backdrop-filter: blur(14px);
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .9);
    padding: 18px 22px;
    text-align: center;
    z-index: 120;
    font-size: .88rem;
    color: var(--muted);
}

#div-cookies a {
    color: var(--ivory);
    text-decoration: underline;
}

#div-cookies .btn {
    margin-top: 12px;
    padding: 10px 24px;
    font-size: .74rem;
}

/* ===========================================================
   CURSOR
   =========================================================== */
.cursor-dot,
.cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
}

.cursor-dot {
    width: 6px;
    height: 6px;
    background: var(--ivory);
}

.cursor-ring {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, .5);
    transition: width .25s var(--ease), height .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease);
}

body.cursor-hover .cursor-ring {
    width: 64px;
    height: 64px;
    border-color: var(--a-violet);
    background: rgba(139, 108, 255, .14);
}

/* ===========================================================
   REVEAL
   =========================================================== */
.has-js .reveal {
    opacity: 0;
    transform: translateY(42px);
    transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
    will-change: opacity, transform;
}

.has-js .reveal.in {
    opacity: 1;
    transform: none;
}

.has-js .reveal-mask {
    overflow: hidden;
}

.has-js .reveal-mask>* {
    display: inline-block;
    transform: translateY(110%);
    transition: transform 1s var(--ease-out);
}

.has-js .reveal-mask.in>* {
    transform: none;
}

/* ===========================================================
   AGENDA
   =========================================================== */
#agenda-list {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.agenda-item {
    display: flex;
    align-items: stretch;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--bg-2);
    overflow: hidden;
    opacity: 0;
    transform: translateY(22px);
    animation: agendaIn 0.6s var(--ease-out) forwards;
    transition: transform .4s var(--ease-out), border-color .4s var(--ease), box-shadow .4s var(--ease);
}

.agenda-item:hover {
    transform: translateY(-4px);
    border-color: rgba(123, 92, 255, .5);
    box-shadow: 0 20px 40px -20px rgba(123, 92, 255, .45);
}

@keyframes agendaIn {
    to { opacity: 1; transform: none; }
}

.agenda-item:nth-child(1) { animation-delay: .05s; }
.agenda-item:nth-child(2) { animation-delay: .15s; }
.agenda-item:nth-child(3) { animation-delay: .25s; }
.agenda-item:nth-child(4) { animation-delay: .35s; }
.agenda-item:nth-child(5) { animation-delay: .45s; }
.agenda-item:nth-child(6) { animation-delay: .55s; }

.agenda-thumb-wrap {
    flex: 0 0 150px;
    aspect-ratio: 2 / 3;
    align-self: flex-start;
    overflow: hidden;
}

.agenda-thumb {
    width: 150px;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: saturate(.6) brightness(.75) contrast(1.05);
    transform: scale(1.04);
    transition: filter .45s var(--ease), transform .45s var(--ease);
}

.agenda-item:hover .agenda-thumb {
    filter: saturate(1) brightness(.88) contrast(1.05);
    transform: scale(1.08);
}

.agenda-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 20px 24px;
    justify-content: center;
}

.agenda-fecha {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    background: linear-gradient(120deg, var(--a-violet), var(--a-rose));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.agenda-lugar {
    font-size: .9rem;
    color: var(--ivory);
    font-weight: 500;
}

.agenda-horario {
    font-size: .72rem;
    letter-spacing: .1em;
    color: var(--muted);
    text-transform: uppercase;
}

.agenda-btn {
    align-self: flex-start;
    margin-top: 10px;
    padding: 9px 20px;
    font-size: .7rem;
}

@media (max-width: 560px) {
    .agenda-thumb-wrap { flex: 0 0 100px; }
    .agenda-thumb { width: 100px; }
    .agenda-fecha { font-size: .88rem; }
    .agenda-info { padding: 16px 18px; }
}

@media (prefers-reduced-motion: reduce) {

    .aurora i,
    .hero-name,
    .play-btn::before,
    .scroll-cue span {
        animation: none !important;
    }

    #spark-canvas {
        display: none;
    }

    .has-js .reveal,
    .has-js .reveal-mask>* {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* ===========================================================
   MOBILE
   =========================================================== */
@media (max-width: 1200px) {
    .nav-toggle {
        display: inline-flex;
    }

    .cursor-dot,
    .cursor-ring {
        display: none;
    }

    #nav-menu-container {
        position: fixed;
        inset: 0 0 0 auto;
        width: min(330px, 86vw);
        background: rgba(8, 9, 18, .98);
        backdrop-filter: blur(16px);
        border-left: 1px solid var(--line);
        transform: translateX(100%);
        transition: transform .4s var(--ease-out);
        padding: 100px 32px 32px;
        overflow-y: auto;
        z-index: 95;
    }

    body.nav-open #nav-menu-container {
        transform: translateX(0);
    }

    .nav-menu {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

    .nav-menu a {
        font-size: .92rem;
    }
}

@media (max-width: 992px) {
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 860px) {
    .hero-portrait {
        width: 100%;
        opacity: .4;
        -webkit-mask-image: linear-gradient(180deg, transparent, #000 60%);
        mask-image: linear-gradient(180deg, transparent, #000 60%);
    }

    .scene-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .scene-head .scene-sub {
        text-align: left;
    }

    #presentacion .about-grid {
        grid-template-columns: 1fr;
    }

    #presentacion .about-photo {
        position: static;
        max-width: 440px;
    }

    .testimonials {
        columns: 1;
    }

    .contact-poster {
        flex-direction: column;
    }

    .contact-photo {
        min-height: 280px;
    }

    .contact-photo::after {
        background: linear-gradient(180deg, transparent 45%, rgba(6, 7, 14, .85) 96%);
    }

    .contact-channels {
        flex: none;
    }

    .lb-prev {
        left: 6px;
    }

    .lb-next {
        right: 6px;
    }

    .lb-close {
        top: -42px;
    }
}

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

    /* Galería: imágenes más bajas en móvil para no verse estiradas */
    .gallery-track img {
        height: clamp(160px, 28vh, 260px);
        min-width: 140px;
    }

    /* Aviso Legal: tamaño coherente con el copyright */
    .footer-legal {
        font-size: .75rem;
    }

    /* WhatsApp flotante: siempre visible en móvil sin esperar scroll */
    .whatsapp-float {
        opacity: 1;
        visibility: visible;
        transform: none;
        right: 16px;
        bottom: 16px;
        width: 48px;
        height: 48px;
    }
}
