/* Explain: Premium styling for homepage sections, including hero, identity, life, and current events. */
/* Explains: portada y secciones premium de la página de inicio — titular limpio con dos botones sobre el cartel ilustrado del coro, bloques de identidad, vida, actualidad, especiales y redes, con tarjetas, sombras discretas y animaciones ligeras. Solo afecta a la página de inicio. */

/* ---------- Portada principal ---------- */
.hero-premium {
    position: relative;
    padding: clamp(6rem, 16vw, 8rem) clamp(1.25rem, 5vw, 2rem) clamp(2.5rem, 6vw, 4rem);
    background:
        radial-gradient(circle at 16% 8%, rgba(243, 201, 105, 0.28), transparent 32rem),
        radial-gradient(circle at 86% 4%, rgba(88, 129, 87, 0.18), transparent 34rem),
        linear-gradient(180deg, var(--surface-color) 0%, var(--background-color) 62%);
}

.hero-premium-orb {
    position: absolute;
    z-index: -1;
    border-radius: 999px;
    filter: blur(30px);
    opacity: 0.5;
    pointer-events: none;
}

.hero-premium-orb--gold {
    top: -4rem;
    left: -3rem;
    width: 20rem;
    height: 20rem;
    background: var(--poster-gold-soft);
}

.hero-premium-orb--sage {
    right: -4rem;
    top: 6rem;
    width: 24rem;
    height: 24rem;
    background: rgba(88, 129, 87, 0.22);
}

.hero-premium-inner {
    max-width: 56rem;
    margin-inline: auto;
    text-align: center;
}

.hero-premium-title {
    margin: 1.25rem 0 0;
    color: var(--text-color);
    font-family: var(--font-heading);
    font-size: clamp(2.35rem, 8.5vw, 4.6rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.03em;
}

.hero-premium-title span {
    display: block;
}

.hero-premium-title-accent {
    background-image: linear-gradient(100deg, var(--accent-color) 0%, var(--primary-color) 46%, #7C9A6A 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.hero-premium-lead {
    max-width: 40rem;
    margin: 1.5rem auto 0;
    color: var(--text-muted);
    font-size: clamp(1rem, 2.6vw, 1.2rem);
    font-weight: 500;
    line-height: 1.75;
}

.hero-premium-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.85rem;
    margin-top: 2.25rem;
}

.hero-btn {
    display: inline-flex;
    min-height: 3.25rem;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    border-radius: 999px;
    padding: 0.9rem 1.9rem;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.15;
    text-align: center;
    text-decoration: none;
    transition: transform 260ms ease, box-shadow 260ms ease, background-color 260ms ease, color 260ms ease, border-color 260ms ease, filter 260ms ease;
}

.hero-btn--primary {
    background: var(--primary-color);
    color: var(--poster-cream);
    box-shadow: var(--shadow-button);
}

.hero-btn--primary:hover,
.hero-btn--primary:focus-visible {
    outline: none;
    background: var(--accent-color);
    filter: brightness(1.05);
    transform: translateY(-2px);
    box-shadow: 0 20px 46px rgba(74, 107, 83, 0.34);
}

.hero-btn--ghost {
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    color: var(--text-color);
    backdrop-filter: blur(12px);
}

.hero-btn--ghost:hover,
.hero-btn--ghost:focus-visible {
    outline: none;
    border-color: var(--accent-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(31, 46, 35, 0.12);
}

@media (max-width: 480px) {
    .hero-premium-actions {
        flex-direction: column;
    }

    .hero-btn {
        width: 100%;
    }
}

.hero-premium-stage {
    position: relative;
    max-width: 60rem;
    margin: clamp(2.25rem, 5vw, 3.25rem) auto 0;
}

.hero-poster {
    position: relative;
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(243, 201, 105, 0.5);
    border-radius: clamp(1.4rem, 4vw, 2.25rem);
    background: var(--surface-color);
    box-shadow: 0 30px 80px rgba(31, 46, 35, 0.18), 0 8px 24px rgba(88, 129, 87, 0.1);
}

.hero-poster-img {
    display: block;
    width: 100%;
    height: auto;
}

/* Ordenador: la ilustración se apoya en un halo cálido que la separa del fondo y recibe un filete
   dorado interior, con una sombra más profunda, para un acabado editorial y armonioso. */
@media (min-width: 1024px) and (orientation: landscape), (min-width: 1280px) {
    .layout-desktop-only.hero-premium-stage::before {
        position: absolute;
        inset: -4.5rem -3.5rem -3rem;
        z-index: -1;
        border-radius: 3rem;
        background: radial-gradient(62% 58% at 50% 44%, rgba(243, 201, 105, 0.3), rgba(88, 129, 87, 0.13) 54%, transparent 78%);
        content: "";
        pointer-events: none;
    }

    .hero-poster--desktop {
        border-color: rgba(243, 201, 105, 0.6);
        border-radius: clamp(1.75rem, 3vw, 2.5rem);
        box-shadow: 0 40px 100px rgba(31, 46, 35, 0.24), 0 12px 34px rgba(88, 129, 87, 0.14);
    }

    .hero-poster--desktop::after {
        position: absolute;
        inset: clamp(0.5rem, 1.2vw, 0.85rem);
        z-index: 3;
        border: 1px solid rgba(251, 243, 224, 0.3);
        border-radius: inherit;
        content: "";
        pointer-events: none;
    }
}

.hero-premium-scroll {
    display: flex;
    width: max-content;
    align-items: center;
    gap: 0.5rem;
    margin: clamp(1.5rem, 4vw, 2.5rem) auto 0;
    padding: 0.55rem 1.15rem;
    border: 1px solid var(--glass-border);
    border-radius: 999px;
    background: var(--glass-bg);
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    transition: border-color 260ms ease, color 260ms ease, transform 260ms ease;
}

.hero-premium-scroll:hover,
.hero-premium-scroll:focus-visible {
    outline: none;
    border-color: var(--accent-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* ---------- Identidad: «Mucho más que un coro» ---------- */
.home-rasgos {
    list-style: none;
    margin: 0;
    padding: 0;
}

.home-rasgo {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    border: 1px solid var(--glass-border);
    border-radius: 1.35rem;
    background: linear-gradient(145deg, rgba(250, 249, 246, 0.82), rgba(255, 255, 255, 0.5));
    padding: 0.85rem 1rem;
    box-shadow: var(--shadow-soft);
    transition: transform 260ms ease, border-color 260ms ease, box-shadow 260ms ease;
}

.home-rasgo:hover {
    border-color: rgba(88, 129, 87, 0.5);
    box-shadow: 0 20px 50px rgba(31, 46, 35, 0.1);
    transform: translateY(-3px);
}

.home-rasgo-copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.home-rasgo-titulo {
    display: block;
    color: var(--text-color);
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.3;
}

.home-rasgo-texto {
    display: block;
    margin-top: 0.15rem;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 500;
    line-height: 1.5;
}

.home-cta {
    margin-top: 2rem;
}

.home-portrait {
    position: relative;
    margin: 0;
}

.home-portrait-img {
    display: block;
    width: 100%;
    border: 1px solid var(--glass-border);
    border-radius: 2.25rem;
    box-shadow: 0 30px 80px rgba(31, 46, 35, 0.16);
}

.home-portrait-badge {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    width: clamp(4.5rem, 14vw, 6rem);
    height: auto;
    padding: 0.4rem;
    border-radius: 999px;
    background: var(--background-color);
    object-fit: contain;
    box-shadow: 0 14px 34px rgba(31, 46, 35, 0.2);
}

/* ---------- Tarjetas con imagen ---------- */
.home-card {
    overflow: hidden;
    border: 1px solid var(--glass-border);
    border-radius: 1.75rem;
    background: linear-gradient(145deg, rgba(250, 249, 246, 0.86), rgba(255, 255, 255, 0.55));
    box-shadow: var(--shadow-soft);
    transition: transform 300ms ease, box-shadow 300ms ease, border-color 300ms ease;
}

.home-card:hover,
.home-card:focus-within {
    border-color: rgba(88, 129, 87, 0.5);
    box-shadow: 0 26px 70px rgba(31, 46, 35, 0.14);
    transform: translateY(-6px);
}

.home-card-media {
    position: relative;
    overflow: hidden;
    background: var(--surface-color);
}

.home-card-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 600ms ease;
}

.home-card:hover .home-card-media img,
.home-card:focus-within .home-card-media img {
    transform: scale(1.05);
}

.home-card-badge {
    position: absolute;
    left: 0.9rem;
    bottom: 0.9rem;
    display: inline-flex;
    height: 2.6rem;
    width: 2.6rem;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--poster-gold);
    color: var(--poster-navy);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}

.home-card-body {
    padding: 1.1rem 1.25rem 1.35rem;
}

.home-card-body p {
    margin-top: 0.5rem;
    color: var(--text-muted);
    font-size: 0.92rem;
    font-weight: 500;
    line-height: 1.65;
}

/* ---------- Accesos de actualidad ---------- */
.home-tile {
    display: flex;
    height: 100%;
    flex-direction: column;
    gap: 0.5rem;
    border: 1px solid var(--glass-border);
    border-radius: 1.75rem;
    padding: 1.35rem 1.35rem 1.5rem;
    text-decoration: none;
    box-shadow: var(--shadow-soft);
    transition: transform 300ms ease, box-shadow 300ms ease, border-color 300ms ease;
}

.home-tile:hover,
.home-tile:focus-visible {
    outline: none;
    border-color: rgba(88, 129, 87, 0.5);
    box-shadow: 0 26px 70px rgba(31, 46, 35, 0.14);
    transform: translateY(-6px);
}

.home-tile-icono {
    display: inline-flex;
    height: 3rem;
    width: 3rem;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-size: 1.25rem;
}

.home-tile-titulo {
    color: var(--text-color);
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.3;
}

.home-tile-texto {
    flex: 1;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.6;
}

.home-tile-mas {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: 0.35rem;
    color: var(--accent-color);
    font-size: 0.85rem;
    font-weight: 700;
}

.home-tile--rojo {
    background: linear-gradient(160deg, rgba(238, 95, 114, 0.12), rgba(255, 255, 255, 0.55));
}

.home-tile--rojo .home-tile-icono {
    background: rgba(200, 30, 58, 0.14);
    color: #C81E3A;
}

.home-tile--teal {
    background: linear-gradient(160deg, rgba(62, 201, 182, 0.14), rgba(255, 255, 255, 0.55));
}

.home-tile--teal .home-tile-icono {
    background: rgba(14, 156, 138, 0.16);
    color: #0E9C8A;
}

.home-tile--azul {
    background: linear-gradient(160deg, rgba(79, 151, 230, 0.14), rgba(255, 255, 255, 0.55));
}

.home-tile--azul .home-tile-icono {
    background: rgba(31, 95, 200, 0.14);
    color: #1F5FC8;
}

.home-tile--naranja {
    background: linear-gradient(160deg, rgba(248, 189, 70, 0.16), rgba(255, 255, 255, 0.55));
}

.home-tile--naranja .home-tile-icono {
    background: rgba(232, 134, 28, 0.16);
    color: #E8861C;
}

/* ---------- Especiales ---------- */
.home-special {
    position: relative;
    display: flex;
    min-height: 16rem;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    border-radius: 1.85rem;
    text-decoration: none;
    box-shadow: 0 22px 60px rgba(31, 46, 35, 0.14);
    transition: transform 300ms ease, box-shadow 300ms ease;
}

.home-special:hover,
.home-special:focus-visible {
    outline: none;
    box-shadow: 0 30px 80px rgba(31, 46, 35, 0.2);
    transform: translateY(-6px);
}

.home-special img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 700ms ease;
}

.home-special:hover img,
.home-special:focus-visible img {
    transform: scale(1.06);
}

.home-special::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(30, 58, 86, 0) 20%, rgba(30, 58, 86, 0.55) 58%, rgba(18, 35, 58, 0.9) 100%);
    content: "";
}

.home-special-body {
    position: relative;
    z-index: 1;
    padding: 1.25rem 1.4rem 1.5rem;
    color: var(--poster-cream);
}

.home-special-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--poster-gold);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.home-special-titulo {
    display: block;
    margin-top: 0.4rem;
    font-family: var(--font-heading);
    font-size: clamp(1.2rem, 3vw, 1.6rem);
    font-weight: 700;
    line-height: 1.2;
}

.home-special-texto {
    display: block;
    margin-top: 0.4rem;
    color: rgba(251, 243, 224, 0.9);
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.55;
}

/* ---------- Redes ---------- */
.home-redes-lista {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    max-width: 40rem;
    margin-inline: auto;
}

@media (min-width: 640px) {
    .home-redes-lista {
        grid-template-columns: repeat(2, 1fr);
    }
}

.home-red {
    display: inline-flex;
    min-height: 3.25rem;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    border-radius: 1.15rem;
    padding: 0.75rem 1.25rem;
    color: #FFFFFF;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 14px 34px rgba(31, 46, 35, 0.16);
    transition: transform 240ms ease, filter 240ms ease, box-shadow 240ms ease;
}

.home-red i {
    font-size: 1.3rem;
    line-height: 1;
}

.home-red:hover,
.home-red:focus-visible {
    outline: none;
    filter: brightness(1.07);
    transform: translateY(-3px);
    box-shadow: 0 20px 46px rgba(31, 46, 35, 0.24);
}

.home-red--tiktok {
    background: linear-gradient(135deg, #25F4EE 0%, #010101 50%, #FE2C55 100%);
}

.home-red--youtube {
    background: linear-gradient(135deg, #FF4E45, #C81E3A);
}

.home-red--whatsapp {
    background: linear-gradient(135deg, #4ED17A, #1F9E52);
}

.home-red--email {
    background: linear-gradient(135deg, #F8D57A, #DFA63A);
    color: var(--poster-navy);
}

/* ---------- Ajustes de escritorio (solo inicio) ---------- */
@media (min-width: 1024px) and (orientation: landscape), (min-width: 1280px) {
    .hero-premium {
        padding-top: clamp(3rem, 6vw, 4.5rem);
    }

    /* La portada deja de ocupar la pantalla completa para que el titular y el cartel
       respiren como una portada editorial, no como una pantalla centrada. */
    body:not(.prueba-pagina) #inicio {
        display: block;
        min-height: 0;
    }

    /* Devolvemos su espacio propio a las secciones de actualidad y de cierre para que no
       queden pegadas a los bloques anteriores en ordenador. */
    #actualidad.section-pad,
    #une.section-pad {
        padding-top: clamp(5rem, 9vw, 8rem);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-btn,
    .hero-premium-scroll,
    .home-rasgo,
    .home-card,
    .home-card-media img,
    .home-tile,
    .home-special,
    .home-special img,
    .home-red {
        transition: none;
    }

    .hero-btn:hover,
    .home-rasgo:hover,
    .home-card:hover,
    .home-tile:hover,
    .home-special:hover,
    .home-red:hover,
    .home-card:hover .home-card-media img,
    .home-special:hover img {
        transform: none;
    }
}

/* ---------- Portada de bienvenida: la ilustración como protagonista (solo Inicio) ---------- */
.hero-welcome {
    position: relative;
    display: block;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background:
        radial-gradient(circle at 16% 6%, rgba(243, 201, 105, 0.32), transparent 30rem),
        radial-gradient(circle at 50% 100%, rgba(88, 129, 87, 0.16), transparent 40rem),
        linear-gradient(180deg, var(--surface-color) 0%, var(--background-color) 100%);
}

.hero-welcome-stage {
    position: relative;
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
}

/* La ilustración va sin marcos, sin tarjetas y sin bordes: solo la imagen. */
.hero-welcome-figure {
    position: relative;
    margin: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    overflow: hidden;
}

/* La ilustración del ordenador es ahora un enlace que lleva al contenido que sigue debajo. */
.hero-welcome-link {
    display: block;
    width: 100%;
    height: 100%;
    cursor: pointer;
    text-decoration: none;
}

.hero-welcome-link:focus-visible {
    outline: 3px solid var(--poster-gold);
    outline-offset: 4px;
}

/* Móvil y tablet: la ilustración animada llena la pantalla, de borde a borde. */
.hero-welcome-figure--mobile {
    width: 100%;
    height: 100dvh;
    min-height: 34rem;
    max-height: 58rem;
    background-color: var(--surface-color);
    background-image: url('https://files.cdn-files-a.com/uploads/12477344/normal_6b074cc2b47e2.png?ratio=9:16&format=avif');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.hero-welcome-media {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Titular, subtítulo y botón sobre el cielo del cartel. */
.hero-welcome-copy {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0.8rem;
    padding: clamp(4.25rem, 12vw, 5.5rem) clamp(1.25rem, 5vw, 2rem) 1.5rem;
    text-align: center;
    pointer-events: none;
}

.hero-welcome-copy > * {
    pointer-events: auto;
}

/* Velo suave que oscurece solo la franja del cielo: sin recuadros ni marcos visibles. */
.hero-welcome-copy::before {
    position: absolute;
    top: -4rem;
    right: -3rem;
    left: -3rem;
    height: clamp(17rem, 54vh, 30rem);
    z-index: -1;
    background: linear-gradient(180deg, rgba(15, 30, 50, 0.8) 0%, rgba(15, 30, 50, 0.55) 46%, rgba(15, 30, 50, 0) 100%);
    content: "";
    pointer-events: none;
}

.hero-welcome-kicker {
    margin: 0;
    color: var(--poster-gold);
    font-family: var(--font-body);
    font-size: clamp(0.66rem, 2.2vw, 0.8rem);
    font-weight: 700;
    letter-spacing: 0.24em;
    line-height: 1.3;
    text-transform: uppercase;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-welcome-title {
    margin: 0;
    color: var(--poster-cream);
    font-family: var(--font-heading);
    font-size: clamp(2.1rem, 6.6vw, 3.75rem);
    font-weight: 700;
    line-height: 1.04;
    letter-spacing: -0.03em;
    text-shadow: 0 6px 26px rgba(0, 0, 0, 0.45), 0 2px 6px rgba(0, 0, 0, 0.35);
}

.hero-welcome-title span {
    display: block;
}

.hero-welcome-accent {
    background-image: linear-gradient(100deg, #F3C969 0%, #FBE7B4 48%, #E0B453 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.45));
}

.hero-welcome-lead {
    max-width: 33rem;
    margin: 0;
    color: rgba(251, 243, 224, 0.95);
    font-family: var(--font-body);
    font-size: clamp(0.92rem, 2.8vw, 1.08rem);
    font-weight: 500;
    line-height: 1.6;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
}

.hero-welcome-btn {
    display: inline-flex;
    min-height: 3.4rem;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    margin-top: 0.35rem;
    border-radius: 999px;
    background-image: linear-gradient(180deg, #F8D57A, #DFA63A);
    padding: 0.95rem 2.1rem;
    color: var(--poster-navy);
    font-family: var(--font-body);
    font-size: clamp(0.9rem, 2.7vw, 1.05rem);
    font-weight: 800;
    letter-spacing: 0.06em;
    line-height: 1.2;
    text-align: center;
    text-transform: uppercase;
    text-decoration: none;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.32), inset 0 0 0 2px rgba(255, 255, 255, 0.4);
    transition: transform 240ms ease, box-shadow 240ms ease, filter 240ms ease;
}

.hero-welcome-btn:hover,
.hero-welcome-btn:focus-visible {
    outline: none;
    filter: brightness(1.07);
    transform: translateY(-3px);
    box-shadow: 0 22px 52px rgba(0, 0, 0, 0.38), inset 0 0 0 2px rgba(255, 255, 255, 0.5), 0 0 0 0.4rem rgba(243, 201, 105, 0.28);
}

.hero-welcome-btn:active {
    transform: translateY(0) scale(0.98);
    transition-duration: 90ms;
}

/* Botón redondo de la canción, en la esquina inferior derecha (móvil y tablet). */
.hero-welcome-music {
    position: absolute;
    right: clamp(0.85rem, 3vw, 1.5rem);
    bottom: calc(clamp(0.85rem, 3vw, 1.5rem) + env(safe-area-inset-bottom));
    z-index: 4;
    display: inline-flex;
    height: 2.9rem;
    width: 2.9rem;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(251, 243, 224, 0.7);
    border-radius: 999px;
    background: rgba(15, 30, 50, 0.55);
    color: var(--poster-cream);
    font-size: 0.95rem;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(8px);
    transition: transform 220ms ease, background-color 220ms ease, color 220ms ease;
}

.hero-welcome-music:hover,
.hero-welcome-music:focus-visible {
    outline: none;
    background: var(--poster-gold);
    color: var(--poster-navy);
    transform: translateY(-2px);
}

/* Ordenador: el cartel apaisado se ve entero, sin recortes, y ocupa todo el alto disponible. */
@media (min-width: 1024px) and (orientation: landscape), (min-width: 1280px) {
    body:not(.prueba-pagina) #inicio.hero-welcome {
        display: block;
        height: calc(100dvh - var(--frame-top, 3.5rem));
        min-height: 30rem;
        margin: 0;
        padding: 0;
    }

    .hero-welcome-stage {
        height: 100%;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    /* Portada de ordenador: la ilustración llena todo el ancho y todo el alto disponible, sin
       desplazamiento, y el acceso a la actualidad se apoya dentro de la propia imagen, abajo. */
    .hero-welcome-desktop {
        position: relative;
        display: flex;
        width: 100%;
        max-width: 100%;
        height: 100%;
        flex: 1 1 auto;
        min-height: 0;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    /* Portada de ordenador: la ilustración llena todo el hueco disponible, desde la franja
       superior hasta el botón de «Actualidad», de modo que se ve entera nada más abrir la web
       y no hay que bajar. La imagen se estira a lo ancho y a lo alto de ese hueco, sin recortar
       nada por los lados (el portal de Belén queda completo). */
    .hero-welcome-figure--desktop {
        position: relative;
        width: 100%;
        height: 100%;
        flex: 1 1 auto;
        min-height: 0;
        margin: 0 auto;
        overflow: hidden;
    }

    .hero-welcome-figure--desktop .hero-welcome-media {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: fill;
        object-position: center;
    }

    /* Botón «Actualidad»: se apoya dentro de la ilustración, en su borde inferior, y baja hasta
       las últimas noticias al pulsarlo. */
    .hero-welcome-actualidad {
        position: absolute;
        left: 50%;
        bottom: clamp(0.85rem, 2.4vh, 1.75rem);
        z-index: 4;
        display: inline-flex;
        min-height: 2.75rem;
        align-items: center;
        justify-content: center;
        gap: 0.6rem;
        border: 1px solid rgba(243, 201, 105, 0.6);
        border-radius: 999px;
        background: linear-gradient(180deg, rgba(38, 68, 100, 0.95), rgba(18, 35, 58, 0.95));
        padding: 0.55rem 1.5rem;
        color: var(--poster-cream);
        font-family: var(--font-body);
        font-size: clamp(0.76rem, 0.95vw, 0.9rem);
        font-weight: 800;
        letter-spacing: 0.14em;
        line-height: 1.2;
        text-transform: uppercase;
        text-decoration: none;
        box-shadow: 0 12px 30px rgba(31, 46, 35, 0.34);
        transform: translateX(-50%);
        transition: transform 240ms ease, background-color 240ms ease, color 240ms ease, box-shadow 240ms ease, filter 240ms ease;
    }

    .hero-welcome-actualidad i {
        color: var(--poster-gold);
        font-size: 0.9em;
        transition: color 240ms ease, transform 240ms ease;
    }

    .hero-welcome-actualidad:hover,
    .hero-welcome-actualidad:focus-visible {
        outline: none;
        background: linear-gradient(180deg, #F8D57A, #DFA63A);
        color: var(--poster-navy);
        filter: brightness(1.03);
        transform: translateX(-50%) translateY(-2px);
        box-shadow: 0 16px 38px rgba(31, 46, 35, 0.28);
    }

    .hero-welcome-actualidad:hover i,
    .hero-welcome-actualidad:focus-visible i {
        color: var(--poster-navy);
    }

    .hero-welcome-actualidad:hover .fa-arrow-down,
    .hero-welcome-actualidad:focus-visible .fa-arrow-down {
        transform: translateY(0.15rem);
    }

    .hero-welcome-copy {
        display: none;
    }

    .hero-welcome-copy::before {
        height: clamp(13rem, 44vh, 24rem);
    }

    .hero-welcome-music {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-welcome-btn,
    .hero-welcome-music {
        transition: none;
    }

    .hero-welcome-btn:hover,
    .hero-welcome-btn:focus-visible,
    .hero-welcome-music:hover,
    .hero-welcome-music:focus-visible {
        transform: none;
    }
}

/* ---------- Página El Coro: menos hueco en blanco entre secciones ---------- */
#coro.section-pad,
#mucho-mas.section-pad,
#nuestra-vida.section-pad {
    padding-top: clamp(1.5rem, 3vw, 2.5rem);
    padding-bottom: clamp(1.5rem, 3vw, 2.5rem);
}