/*
Theme Name: Corporan Landing Premium
Theme URI: https://corporansigue.com
Author: MiniMax Agent
Author URI: https://minimax.ai
Description: Tema personalizado para honrar el legado de Rafael Corporán de los Santos.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: corporan
Tags: custom-background, custom-logo, custom-menu, featured-images, translation-ready
*/
        /* ========================================
           VARIABLES CSS - Paleta de Colores
           ======================================== */
        :root {
            --color-fondo-principal: #FFF8F0;
            --color-fondo-alternativo: #FDEBD0;
            --color-azul-dominicano: #1E3A8A;
            --color-dorado-alegría: #F4C542;
            --color-naranja-emocional: #FF6B00;
            --color-rojo-dominicano: #C62828;
            --color-texto-oscuro: #2D2D2D;
            --color-texto-claro: #FFFFFF;
            --color-gris-claro: #F5F5F5;
            --color-gris-medio: #888888;
            --espaciado-pequeño: 10px;
            --espaciado-medio: 20px;
            --espaciado-grande: 40px;
            --espaciado-xgrande: 80px;
            --transicion-rápida: 0.3s ease;
            --transicion-media: 0.5s ease;
            --transicion-lenta: 0.8s ease;
            --sombra-suave: 0 4px 15px rgba(0, 0, 0, 0.08);
            --sombra-media: 0 8px 30px rgba(0, 0, 0, 0.12);
            --sombra-fuerte: 0 15px 50px rgba(0, 0, 0, 0.15);
        }

        /* ========================================
           RESET Y ESTILOS BASE
           ======================================== */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        html {
            scroll-behavior: smooth;
            font-size: 16px;
        }

        body {
            font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
            background-color: var(--color-fondo-principal);
            color: var(--color-texto-oscuro);
            line-height: 1.7;
            overflow-x: hidden;
            cursor: default;
        }

        body::before {
            content: '';
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image:
                radial-gradient(circle at 20% 80%, rgba(244, 197, 66, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(30, 58, 138, 0.03) 0%, transparent 50%);
            pointer-events: none;
            z-index: -1;
        }

        /* ========================================
           TIPOGRAFÍA
           ======================================== */
        h1, h2, h3, h4 {
            font-family: 'Playfair Display', Georgia, serif;
            color: var(--color-azul-dominicano);
            font-weight: 700;
            line-height: 1.3;
            margin-bottom: var(--espaciado-medio);
        }

        h1 { font-size: 3.5rem; }
        h2 { font-size: 2.8rem; }
        h3 { font-size: 2rem; }
        h4 { font-size: 1.5rem; }

        p {
            margin-bottom: var(--espaciado-medio);
            color: var(--color-texto-oscuro);
        }

        a {
            text-decoration: none;
            color: inherit;
            transition: var(--transicion-rápida);
        }

        /* ========================================
           HEADER
           ======================================== */
        .header {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            background: linear-gradient(135deg, #14337f 0%, #1e3a8a 55%, #2448a6 100%);
            backdrop-filter: blur(12px);
            z-index: 1000;
            box-shadow: 0 8px 30px rgba(10, 24, 62, 0.32);
            padding: 6px 0;
            transform: translateY(0);
            transition: transform 0.3s ease;
            will-change: transform;
        }

        .header.header-hidden {
            transform: translateY(-110%);
        }

        .header-contenedor {
            max-width: 1280px;
            margin: 0 auto;
            padding: 0 24px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 18px;
        }

        .logo {
            display: flex;
            align-items: center;
            flex-shrink: 0;
        }

        .logo-imagen {
            height: 148px;
            width: auto;
            max-width: min(68vw, 860px);
            display: block;
            object-fit: contain;
            filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.2));
        }

        .logo-texto {
            display: none;
        }

        .menu-navegacion {
            display: flex;
            gap: 30px;
            list-style: none;
        }

        .menu-navegacion a {
            color: #ffffff;
            font-weight: 700;
            font-size: 0.88rem;
            letter-spacing: 0.03em;
            text-transform: uppercase;
            position: relative;
            padding: 5px 0;
        }

        .menu-navegacion a::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 2px;
            background: #ffffff;
            transition: var(--transicion-rápida);
        }

        .menu-navegacion a:hover::after {
            width: 100%;
        }

        .btn-whatsapp {
            display: flex;
            align-items: center;
            gap: 8px;
            background: linear-gradient(135deg, #25D366, #128C7E);
            color: white;
            padding: 11px 18px;
            border-radius: 50px;
            font-weight: 700;
            box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
            transition: transform 0.2s ease, box-shadow 0.2s ease;
        }

        @keyframes pulso-whatsapp {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.05); }
        }

        .btn-whatsapp:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
        }

        .header-subtitulo {
            border-top: 0;
            background: transparent;
            padding: 0;
        }

        .header-subtitulo-contenedor {
            max-width: 780px;
            margin: 0 auto;
            padding: 12px 24px 16px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 14px;
            text-align: center;
            border: 1px solid rgba(255, 255, 255, 0.45);
            border-radius: 16px;
            background: linear-gradient(160deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.45));
            box-shadow: 0 10px 24px rgba(20, 35, 64, 0.16);
            backdrop-filter: blur(8px);
        }

        .header-subtitulo-titulo {
            color: #142038;
            font-size: clamp(1.6rem, 3vw, 2.5rem);
            margin: 0;
            line-height: 1.15;
            font-weight: 700;
            text-shadow: 0 1px 0 rgba(255, 255, 255, 0.45);
        }

        .btn-firmar-header {
            position: relative;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            white-space: nowrap;
            background: linear-gradient(135deg, #ff6b00 0%, #ff8a00 100%);
            color: #ffffff;
            border: 1px solid #ffffff;
            border-radius: 999px;
            font-weight: 700;
            letter-spacing: 0.2px;
            padding: 12px 28px;
            box-shadow: 0 10px 24px rgba(224, 108, 32, 0.35);
            overflow: hidden;
            transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
            animation: boton-firma-pulso 2.6s ease-in-out infinite;
        }

        .btn-firmar-header::before {
            content: "";
            position: absolute;
            top: 0;
            left: -130%;
            width: 120%;
            height: 100%;
            background: linear-gradient(100deg, transparent 10%, rgba(255, 255, 255, 0.45) 50%, transparent 90%);
            transition: left 0.5s ease;
        }

        .btn-firmar-header:hover::before,
        .btn-firmar-header:focus-visible::before {
            left: 120%;
        }

        .btn-firmar-header:hover,
        .btn-firmar-header:focus-visible {
            filter: brightness(1.08);
            outline: none;
            animation-play-state: paused;
            transform: translateY(-2px);
            box-shadow: 0 14px 30px rgba(224, 108, 32, 0.4);
        }

        @keyframes boton-firma-pulso {
            0%, 100% { transform: translateY(0) scale(1); }
            50% { transform: translateY(-1px) scale(1.015); }
        }

        /* ========================================
           HERO SECTION
           ======================================== */
        .hero {
            min-height: auto;
            display: flex;
            align-items: flex-start;
            justify-content: center;
            padding: 158px 0 42px;
            background: linear-gradient(135deg, var(--color-fondo-principal) 0%, var(--color-fondo-alternativo) 100%);
            position: relative;
            overflow: hidden;
            width: 100%;
        }

        .hero::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -20%;
            width: 600px;
            height: 600px;
            background: radial-gradient(circle, rgba(244, 197, 66, 0.15) 0%, transparent 70%);
            animation: flotar 8s ease-in-out infinite;
        }

        .hero::after {
            content: '';
            position: absolute;
            bottom: -30%;
            left: -10%;
            width: 500px;
            height: 500px;
            background: radial-gradient(circle, rgba(30, 58, 138, 0.1) 0%, transparent 70%);
            animation: flotar 10s ease-in-out infinite reverse;
        }

        @keyframes flotar {
            0%, 100% { transform: translateY(0) rotate(0deg); }
            50% { transform: translateY(-30px) rotate(5deg); }
        }

        .hero-contenido {
            width: 100%;
            max-width: 100%;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            position: relative;
            z-index: 1;
            padding: 0 0 40px;
        }

        .hero-imagen-principal {
            width: 100%;
            height: clamp(300px, 42vw, 620px);
            margin-bottom: 16px;
            overflow: hidden;
            line-height: 0;
            animation: entrada-arriba 1s ease-out;
        }

        @keyframes entrada-arriba {
            from {
                opacity: 0;
                transform: translateY(-50px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .hero-imagen-principal img {
            width: 100%;
            max-width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center top;
            transform: translateY(-140px);
            display: block;
            box-shadow: 0 22px 50px rgba(24, 48, 112, 0.22);
        }

        .hero-texto {
            text-align: center;
        }

        .hero-titulo {
            font-size: 3rem;
            color: var(--color-azul-dominicano);
            margin-bottom: 35px;
            animation: entrada-abajo 1s ease-out 0.3s backwards;
        }

        @keyframes entrada-abajo {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .hero-botones {
            display: flex;
            gap: 14px;
            flex-wrap: wrap;
            justify-content: center;
            margin-top: 8px;
            animation: entrada-abajo 1s ease-out 0.5s backwards;
        }

        .btn-primario {
            background: linear-gradient(135deg, var(--color-naranja-emocional), #e55a00);
            color: white;
            padding: 18px 35px;
            border-radius: 50px;
            font-weight: 700;
            font-size: 1rem;
            box-shadow: 0 8px 25px rgba(255, 107, 0, 0.35);
            transition: var(--transicion-media);
        }

        .btn-primario:hover {
            transform: translateY(-4px);
            box-shadow: 0 12px 35px rgba(255, 107, 0, 0.45);
        }

        .btn-secundario {
            background: linear-gradient(135deg, #1e3a8a, #274fb6);
            color: white;
            padding: 14px 26px;
            border-radius: 999px;
            font-weight: 700;
            font-size: 0.92rem;
            border: 1px solid rgba(255, 255, 255, 0.55);
            box-shadow: 0 10px 22px rgba(25, 57, 136, 0.28);
            transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
        }

        .btn-secundario:hover {
            filter: brightness(1.08);
            transform: translateY(-2px);
            box-shadow: 0 12px 26px rgba(25, 57, 136, 0.35);
        }

        .btn-terciario {
            background: rgba(255, 255, 255, 0.76);
            color: #1b2d54;
            padding: 14px 26px;
            border-radius: 999px;
            font-weight: 700;
            font-size: 0.92rem;
            border: 1px solid rgba(27, 45, 84, 0.22);
            box-shadow: 0 8px 18px rgba(25, 40, 70, 0.14);
            transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
        }

        .btn-terciario:hover {
            background: rgba(255, 255, 255, 0.94);
            transform: translateY(-2px);
            box-shadow: 0 10px 22px rgba(25, 40, 70, 0.2);
        }

        /* ========================================
           SECCIONES GENERALES
           ======================================== */
        .seccion {
            padding: var(--espaciado-xgrande) 0;
        }

        .contenedor {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        .encabezado-seccion {
            text-align: center;
            margin-bottom: 60px;
        }

        .titulo-seccion {
            font-size: 2.8rem;
            color: var(--color-azul-dominicano);
            margin-bottom: 15px;
        }

        .subtitulo-seccion {
            font-size: 1.2rem;
            color: var(--color-gris-medio);
            max-width: 600px;
            margin: 0 auto;
        }

        /* ========================================
           SECCIÓN: HISTORIA
           ======================================== */
        .seccion-historia {
            background: var(--color-fondo-alternativo);
        }

        .historia-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 80px;
            align-items: center;
        }

        .historia-imagen img {
            width: 100%;
            border-radius: 30px;
            box-shadow: var(--sombra-fuerte);
        }

        .historia-texto h3 {
            color: var(--color-naranja-emocional);
            font-size: 1.2rem;
            text-transform: uppercase;
            letter-spacing: 2px;
            margin-bottom: 10px;
        }

        .historia-texto h2 {
            font-size: 2.5rem;
            margin-bottom: 25px;
        }

        .historia-texto p {
            color: var(--color-gris-medio);
            line-height: 1.9;
        }

        /* ========================================
           SECCIÓN: LÍNEA DE TIEMPO
           ======================================== */
        .seccion-timeline {
            background: var(--color-fondo-principal);
        }

        .seccion-timeline {
            background: linear-gradient(180deg, rgba(255, 255, 255, 0.3), rgba(253, 235, 208, 0.7));
        }

        .timeline {
            position: relative;
            max-width: 1100px;
            margin: 0 auto;
            padding: 40px 0 10px;
        }

        .timeline::before {
            content: '';
            position: absolute;
            left: 0;
            top: 0;
            width: 100%;
            height: 4px;
            border-radius: 999px;
            background: linear-gradient(90deg, var(--color-dorado-alegría), var(--color-naranja-emocional), var(--color-azul-dominicano));
            filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.15));
        }

        .timeline-list {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 28px;
            position: relative;
            margin-top: 40px;
        }

        .timeline-item {
            position: relative;
            padding-top: 20px;
        }

        .timeline-item::before {
            content: '';
            position: absolute;
            top: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: var(--color-naranja-emocional);
            box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.6);
        }

        .timeline-contenido {
            background: rgba(255, 255, 255, 0.92);
            padding: 28px;
            border-radius: 28px;
            min-height: 190px;
            box-shadow: 0 30px 50px rgba(20, 34, 76, 0.15);
            border: 1px solid rgba(30, 58, 138, 0.08);
        }

        .timeline-año {
            font-size: 0.95rem;
            letter-spacing: 0.2em;
            text-transform: uppercase;
            color: var(--color-azul-dominicano);
            margin-bottom: 12px;
            display: inline-block;
        }

        .timeline-contenido h4 {
            margin-bottom: 14px;
            font-size: 1.4rem;
            color: var(--color-rojo-dominicano);
        }

        .timeline-contenido p {
            color: var(--color-texto-oscuro);
            line-height: 1.8;
            margin: 0;
        }

        .timeline-highlight {
            position: absolute;
            inset: 18px;
            border-radius: 26px;
            border: 1px dashed rgba(255, 183, 77, 0.6);
            pointer-events: none;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .timeline-item:hover .timeline-highlight {
            opacity: 1;
        }

        /* ========================================
           SECCIÓN: FORMULARIO SUBIR VIDEO
           ======================================== */
        .seccion-subir {
            background: linear-gradient(135deg, var(--color-azul-dominicano) 0%, #15296a 100%);
            padding: var(--espaciado-xgrande) 0;
        }

        .seccion-subir .titulo-seccion {
            color: white;
        }

        .seccion-subir .subtitulo-seccion {
            color: rgba(255, 255, 255, 0.8);
        }

        /* ========================================
           SECCIÓN: FIRMAR EL LIBRO
           ======================================== */
        .seccion-firmar {
            background: var(--color-fondo-alternativo);
            padding: var(--espaciado-xgrande) 0;
        }

        .seccion-firmar .titulo-seccion {
            position: relative;
            display: inline-block;
            padding: 12px 22px;
            border-radius: 12px;
            color: #ffffff;
            text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
            background: rgba(255, 255, 255, 0.65);
            box-shadow: 0 8px 22px rgba(30, 58, 138, 0.12);
            z-index: 0;
        }

        .seccion-firmar .titulo-seccion::before {
            content: '';
            position: absolute;
            inset: -3px;
            border-radius: 14px;
            background: linear-gradient(90deg, var(--color-rojo-dominicano), var(--color-azul-dominicano));
            z-index: -1;
        }

        .formulario-container {
            background: white;
            border-radius: 30px;
            padding: 50px;
            max-width: 700px;
            margin: 0 auto;
            box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
        }

        .form-grupo {
            margin-bottom: 25px;
        }

        .form-grupo label {
            display: block;
            color: var(--color-azul-dominicano);
            font-weight: 700;
            margin-bottom: 10px;
        }

        .form-grupo input,
        .form-grupo textarea,
        .form-grupo select {
            width: 100%;
            padding: 15px 20px;
            border: 2px solid var(--color-fondo-alternativo);
            border-radius: 15px;
            font-size: 1rem;
            transition: var(--transicion-rápida);
            font-family: inherit;
        }

        .form-grupo input:focus,
        .form-grupo textarea:focus,
        .form-grupo select:focus {
            outline: none;
            border-color: var(--color-naranja-emocional);
            box-shadow: 0 0 0 4px rgba(255, 107, 0, 0.1);
        }

        .zona-subida {
            border: 3px dashed var(--color-dorado-alegría);
            border-radius: 20px;
            padding: 50px;
            text-align: center;
            cursor: pointer;
            transition: var(--transicion-media);
            background: var(--color-fondo-principal);
        }

        .zona-subida:hover {
            background: var(--color-fondo-alternativo);
            border-color: var(--color-naranja-emocional);
        }

        .zona-subida-icono {
            font-size: 4rem;
            margin-bottom: 15px;
        }

        .zona-subida-texto {
            color: var(--color-gris-medio);
            font-size: 1.1rem;
        }

        .btn-enviar {
            width: 100%;
            background: linear-gradient(135deg, var(--color-naranja-emocional), #e55a00);
            color: white;
            padding: 20px;
            border: none;
            border-radius: 15px;
            font-size: 1.2rem;
            font-weight: 700;
            cursor: pointer;
            transition: var(--transicion-media);
            margin-top: 20px;
        }

        .btn-enviar:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 30px rgba(255, 107, 0, 0.4);
        }

        /* ========================================
           SECCIÓN: GALERÍA DE TRIBUTOS - ESTILO YOUTUBE
           ======================================== */
        .seccion-tributos {
            background: var(--color-fondo-alternativo);
        }

        .galeria-videos-youtube {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 24px;
        }

        .video-card-youtube {
            background: white;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
            transition: all 0.3s ease;
            cursor: pointer;
        }

        .video-card-youtube:hover {
            transform: translateY(-5px);
            box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
        }

        .video-thumbnail-youtube {
            position: relative;
            aspect-ratio: 16/9;
            overflow: hidden;
        }

        .thumbnail-container {
            width: 100%;
            height: 100%;
            position: relative;
        }

        .thumbnail-container img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.3s ease;
        }

        .video-card-youtube:hover .thumbnail-container img {
            transform: scale(1.05);
        }

        .play-button-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.3);
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .video-card-youtube:hover .play-button-overlay {
            opacity: 1;
        }

        .play-button {
            width: 60px;
            height: 60px;
            background: rgba(255, 0, 0, 0.9);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 24px;
            box-shadow: 0 4px 15px rgba(255, 0, 0, 0.4);
            transition: transform 0.3s ease;
        }

        .video-card-youtube:hover .play-button {
            transform: scale(1.1);
        }

        .video-duration {
            position: absolute;
            bottom: 8px;
            right: 8px;
            background: rgba(0, 0, 0, 0.8);
            color: white;
            padding: 3px 6px;
            border-radius: 4px;
            font-size: 0.75rem;
            font-weight: 600;
        }

        .audio-thumbnail {
            background: linear-gradient(135deg, var(--color-azul-dominicano), #2d4a9a);
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .audio-icon {
            font-size: 4rem;
            color: white;
        }

        .audio-duration {
            position: absolute;
            bottom: 8px;
            right: 8px;
            background: rgba(0, 0, 0, 0.8);
            color: white;
            padding: 3px 6px;
            border-radius: 4px;
            font-size: 0.75rem;
            font-weight: 600;
        }

        .video-info-youtube {
            padding: 16px;
        }

        .video-title {
            font-size: 1rem;
            font-weight: 600;
            color: var(--color-texto-oscuro);
            margin-bottom: 8px;
            line-height: 1.4;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .video-meta {
            display: flex;
            align-items: center;
            gap: 6px;
            font-size: 0.85rem;
            color: var(--color-gris-medio);
            margin-bottom: 6px;
        }

        .video-author {
            font-weight: 500;
        }

        .video-city {
            font-size: 0.8rem;
            color: var(--color-gris-medio);
        }

        .grid-tributos {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
            gap: 30px;
        }

        .item-tributo {
            background: white;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: var(--sombra-media);
            transition: var(--transicion-media);
        }

        .item-tributo:hover {
            transform: translateY(-10px);
            box-shadow: var(--sombra-fuerte);
        }

        .video-container {
            background: #000;
            aspect-ratio: 16/9;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .video-placeholder {
            color: white;
            font-size: 3rem;
        }

        .info-tributo {
            padding: 20px;
        }

        .info-tributo h4 {
            color: var(--color-azul-dominicano);
            font-size: 1.1rem;
            margin-bottom: 5px;
        }

        .info-tributo p {
            color: var(--color-gris-medio);
            font-size: 0.9rem;
            margin-bottom: 0;
        }

        .mensaje-vacio {
            text-align: center;
            padding: 60px 20px;
            color: var(--color-gris-medio);
        }

        .mensaje-vacio-icono {
            font-size: 4rem;
            margin-bottom: 20px;
        }

        /* ========================================
           GALERÍA HISTÓRICA
           ======================================== */
        .seccion-galeria-historica {
            background: var(--color-fondo-principal);
            padding: var(--espaciado-xgrande) 0;
        }

        .galeria-eyebrow {
            display: block;
            color: var(--color-rojo-dominicano);
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 3px;
            font-size: 0.9rem;
            margin-bottom: var(--espaciado-pequeño);
        }

        .separador-galeria {
            width: 80px;
            height: 4px;
            background: linear-gradient(90deg, var(--color-dorado-alegría), var(--color-naranja-emocional));
            margin: 20px auto 0;
            border-radius: 2px;
        }

        .galeria-corporan {
            margin-top: 50px;
        }

        .grid-galeria-historica {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 25px;
        }

        .item-galeria-historial {
            position: relative;
            border-radius: 24px;
            overflow: hidden;
            aspect-ratio: 1/1;
            border: 3px solid var(--color-fondo-alternativo);
            box-shadow: 0 10px 30px rgba(30, 58, 138, 0.12);
            cursor: pointer;
            transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            filter: sepia(25%);
            animation: tossOnTable 0.8s forwards;
            opacity: 0;
        }

        .item-galeria-historial:nth-child(1) { animation-delay: 0.1s; }
        .item-galeria-historial:nth-child(2) { animation-delay: 0.15s; }
        .item-galeria-historial:nth-child(3) { animation-delay: 0.2s; }
        .item-galeria-historial:nth-child(4) { animation-delay: 0.25s; }
        .item-galeria-historial:nth-child(5) { animation-delay: 0.3s; }
        .item-galeria-historial:nth-child(6) { animation-delay: 0.35s; }
        .item-galeria-historial:nth-child(7) { animation-delay: 0.4s; }
        .item-galeria-historial:nth-child(8) { animation-delay: 0.45s; }
        .item-galeria-historial:nth-child(9) { animation-delay: 0.5s; }
        .item-galeria-historial:nth-child(10) { animation-delay: 0.55s; }
        .item-galeria-historial:nth-child(11) { animation-delay: 0.6s; }
        .item-galeria-historial:nth-child(12) { animation-delay: 0.65s; }
        .item-galeria-historial:nth-child(13) { animation-delay: 0.7s; }
        .item-galeria-historial:nth-child(14) { animation-delay: 0.75s; }
        .item-galeria-historial:nth-child(15) { animation-delay: 0.8s; }
        .item-galeria-historial:nth-child(16) { animation-delay: 0.85s; }
        .item-galeria-historial:nth-child(17) { animation-delay: 0.9s; }
        .item-galeria-historial:nth-child(18) { animation-delay: 0.95s; }
        .item-galeria-historial:nth-child(19) { animation-delay: 1.0s; }
        .item-galeria-historial:nth-child(20) { animation-delay: 1.05s; }
        .item-galeria-historial:nth-child(21) { animation-delay: 1.1s; }
        .item-galeria-historial:nth-child(22) { animation-delay: 1.15s; }

        @keyframes tossOnTable {
            0% {
                opacity: 0;
                transform: translateY(80px) rotate(8deg) scale(0.85);
            }
            60% {
                transform: translateY(-10px) rotate(-2deg) scale(1.02);
            }
            100% {
                opacity: 1;
                transform: translateY(0) rotate(0deg) scale(1);
            }
        }

        .item-galeria-historial img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: all 0.5s ease;
        }

        .item-galeria-historial:hover {
            transform: translateY(-12px) scale(1.03);
            box-shadow: 0 25px 50px rgba(30, 58, 138, 0.25);
            border-color: var(--color-dorado-alegría);
            filter: sepia(0%);
        }

        .item-galeria-historial:hover img {
            transform: scale(1.15);
        }

        .overlay-galeria {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(30, 58, 138, 0);
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.4s ease;
            opacity: 0;
        }

        .item-galeria-historial:hover .overlay-galeria {
            background: rgba(30, 58, 138, 0.7);
            opacity: 1;
        }

        .icono-expandir {
            font-size: 2.5rem;
            transform: scale(0);
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }

        .item-galeria-historial:hover .icono-expandir {
            transform: scale(1);
        }

        /* ========================================
           MENSAJES DEL PUEBLO
           ======================================== */
        .seccion-mensajes {
            background: var(--color-fondo-alternativo);
            overflow: hidden;
        }

        .seccion-frases-corporan {
            background: #ffffff;
            padding-bottom: 40px;
        }

        .seccion-frases-corporan .titulo-seccion {
            color: var(--color-azul-dominicano);
        }

        .frases-corporan-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
            gap: 22px;
        }

        .frase-corporan-card {
            background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.65));
            border: 1px solid rgba(30, 58, 138, 0.1);
            border-radius: 24px;
            padding: 24px;
            min-height: 200px;
            box-shadow: var(--sombra-suave);
            position: relative;
        }

        .frase-corporan-card::before,
        .frase-corporan-card::after {
            content: '"';
            font-size: 3rem;
            color: rgba(30, 58, 138, 0.2);
            position: absolute;
            z-index: 0;
        }

        .frase-corporan-card::before {
            top: 18px;
            left: 18px;
        }

        .frase-corporan-card::after {
            bottom: 18px;
            right: 18px;
        }

        .frase-corporan-titulo {
            font-size: 1.25rem;
            margin-bottom: 12px;
            color: var(--color-rojo-dominicano);
            position: relative;
            z-index: 1;
        }

        .frase-corporan-texto {
            font-size: 1rem;
            line-height: 1.8;
            color: var(--color-texto-oscuro);
            margin: 0;
            position: relative;
            z-index: 1;
        }

        .frases-corporan-vacio {
            text-align: center;
            padding: 40px 0;
            background: var(--color-fondo-alternativo);
            border-radius: 20px;
            box-shadow: var(--sombra-suave);
            border: 1px dashed rgba(30, 58, 138, 0.25);
        }

        .corporan-frases-block-editor {
            border: 2px dashed rgba(30, 58, 138, 0.5);
            border-radius: 18px;
            padding: 24px;
            background: rgba(255, 255, 255, 0.9);
            color: var(--color-azul-dominicano);
            font-style: italic;
            text-align: center;
        }

        .seccion-youtube-videos {
            background:
                radial-gradient(circle at 85% 12%, rgba(242, 122, 20, 0.16), transparent 32%),
                radial-gradient(circle at 10% 88%, rgba(29, 53, 87, 0.12), transparent 38%),
                linear-gradient(165deg, #fffaf2 0%, #fff2de 52%, #f7efe1 100%);
            padding: 48px 0 78px;
            position: relative;
            overflow: hidden;
        }

        .seccion-youtube-videos .contenedor {
            position: relative;
            z-index: 1;
        }

        .seccion-youtube-videos .encabezado-seccion {
            margin-bottom: 22px;
            text-align: center;
        }

        .youtube-kicker {
            display: inline-block;
            margin-bottom: 12px;
            padding: 7px 14px;
            border-radius: 999px;
            background: rgba(200, 16, 46, 0.1);
            border: 1px solid rgba(200, 16, 46, 0.18);
            color: #871325;
            font-size: 0.72rem;
            font-weight: 800;
            letter-spacing: 0.12em;
            text-transform: uppercase;
        }

        .seccion-youtube-videos .subtitulo-seccion {
            max-width: 760px;
            margin-left: auto;
            margin-right: auto;
            color: #3d4a5f;
        }

        .youtube-carousel {
            display: grid;
            grid-template-columns: 52px minmax(0, 1fr) 52px;
            gap: 14px;
            align-items: center;
            margin-top: 34px;
        }

        .youtube-carousel-prev,
        .youtube-carousel-next {
            width: 52px;
            height: 52px;
            border-radius: 50%;
            border: 1px solid rgba(29, 53, 87, 0.2);
            background: rgba(255, 255, 255, 0.95);
            color: #1d3557;
            font-size: 1.45rem;
            font-weight: 800;
            line-height: 1;
            cursor: pointer;
            box-shadow: 0 8px 24px rgba(26, 38, 56, 0.14);
            transition: transform 0.24s ease, box-shadow 0.24s ease, background 0.24s ease, color 0.24s ease;
        }

        .youtube-carousel-prev:disabled,
        .youtube-carousel-next:disabled {
            opacity: 0.42;
            cursor: not-allowed;
            box-shadow: none;
        }

        .youtube-carousel-prev:not(:disabled):hover,
        .youtube-carousel-next:not(:disabled):hover {
            transform: translateY(-2px);
            background: #1d3557;
            color: #ffffff;
            box-shadow: 0 12px 28px rgba(26, 38, 56, 0.2);
        }

        .youtube-carousel-track {
            display: flex;
            gap: 20px;
            overflow-x: auto;
            scroll-snap-type: x mandatory;
            padding: 8px 2px 14px;
            scrollbar-width: thin;
            scrollbar-color: rgba(29, 53, 87, 0.45) transparent;
        }

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

        .youtube-carousel-track::-webkit-scrollbar-thumb {
            background: rgba(29, 53, 87, 0.4);
            border-radius: 999px;
        }

        .youtube-video-card {
            flex: 0 0 clamp(260px, 31vw, 360px);
            background: #ffffff;
            border-radius: 24px;
            border: 1px solid rgba(29, 53, 87, 0.12);
            box-shadow: 0 16px 40px rgba(13, 27, 42, 0.12);
            overflow: hidden;
            scroll-snap-align: start;
            scroll-snap-stop: always;
            transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
        }

        .youtube-video-link {
            color: inherit;
            text-decoration: none;
            display: flex;
            flex-direction: column;
            height: 100%;
        }

        .youtube-video-thumb {
            position: relative;
            aspect-ratio: 16 / 9;
            overflow: hidden;
            background: #eceff3;
        }

        .youtube-video-thumb::after {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(to top, rgba(11, 23, 36, 0.32) 0%, rgba(11, 23, 36, 0.03) 70%);
            pointer-events: none;
        }

        .youtube-video-thumb img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.45s ease;
        }

        .youtube-video-card:hover .youtube-video-thumb img {
            transform: scale(1.06);
        }

        .youtube-video-chip {
            position: absolute;
            left: 14px;
            top: 14px;
            z-index: 2;
            background: rgba(255, 255, 255, 0.92);
            color: #b0182f;
            border: 1px solid rgba(176, 24, 47, 0.2);
            border-radius: 999px;
            padding: 5px 10px;
            font-size: 0.7rem;
            font-weight: 700;
            letter-spacing: 0.04em;
            text-transform: uppercase;
        }

        .youtube-play-icon {
            position: absolute;
            right: 14px;
            bottom: 14px;
            z-index: 2;
            width: 44px;
            height: 44px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            background: #ffffff;
            color: #c8102e;
            font-size: 1rem;
            font-weight: 800;
            box-shadow: 0 10px 24px rgba(10, 20, 33, 0.22);
        }

        .youtube-video-meta {
            padding: 18px 18px 20px;
            display: flex;
            flex-direction: column;
            flex: 1;
            gap: 10px;
        }

        .youtube-video-meta h3 {
            margin: 0;
            color: #152238;
            font-size: 1.08rem;
            line-height: 1.35;
            letter-spacing: -0.01em;
        }

        .youtube-video-meta p {
            margin: 0;
            color: #4e5a6d;
            font-size: 0.92rem;
            line-height: 1.55;
            flex: 1;
        }

        .youtube-video-cta {
            display: inline-flex;
            align-items: center;
            width: fit-content;
            margin-top: 2px;
            padding: 8px 12px;
            border-radius: 10px;
            background: #f2f6fb;
            color: #173a66;
            border: 1px solid rgba(23, 58, 102, 0.15);
            font-weight: 700;
            font-size: 0.83rem;
        }

        .youtube-video-card:hover {
            transform: translateY(-5px);
            border-color: rgba(23, 58, 102, 0.28);
            box-shadow: 0 24px 46px rgba(13, 27, 42, 0.18);
        }

        .youtube-video-card:hover .youtube-video-cta {
            background: #173a66;
            color: #ffffff;
            border-color: #173a66;
        }

        .youtube-video-placeholder {
            margin-top: 20px;
            text-align: center;
            border-radius: 22px;
            padding: 42px 24px;
            border: 1px dashed rgba(29, 53, 87, 0.28);
            background: rgba(255, 255, 255, 0.68);
            color: #1d3557;
            font-weight: 600;
        }

        .corporan-youtube-block-editor {
            border: 2px dashed rgba(30, 58, 138, 0.35);
            border-radius: 18px;
            padding: 24px;
            background: rgba(255, 255, 255, 0.9);
            margin-bottom: 20px;
            box-shadow: inset 0 0 25px rgba(30, 58, 138, 0.08);
        }

        .seccion-youtube-videos.layout-masonry .youtube-video-grid {
            grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        }

        @media (max-width: 900px) {
            .youtube-carousel {
                grid-template-columns: 1fr;
                gap: 10px;
            }

            .youtube-carousel-prev,
            .youtube-carousel-next {
                display: none;
            }

            .youtube-carousel-track {
                padding-bottom: 10px;
                gap: 16px;
            }

            .youtube-video-card {
                flex-basis: min(82vw, 320px);
            }
        }

        @media (max-width: 640px) {
            .seccion-youtube-videos {
                padding: 40px 0 64px;
            }

            .youtube-kicker {
                margin-bottom: 10px;
            }

            .youtube-video-meta h3 {
                font-size: 1rem;
            }

            .youtube-video-meta p {
                font-size: 0.88rem;
            }
        }

        .carrusel-mensajes {
            display: flex;
            gap: 30px;
            animation: desplazamiento 30s linear infinite;
            width: max-content;
        }

        @keyframes desplazamiento {
            0% { transform: translateX(0); }
            100% { transform: translateX(-50%); }
        }

        .tarjeta-mensaje {
            background: white;
            padding: 30px;
            border-radius: 20px;
            min-width: 400px;
            box-shadow: var(--sombra-suave);
            border-left: 4px solid var(--color-rojo-dominicano);
        }

        .mensaje-texto {
            font-style: italic;
            font-size: 1.1rem;
            line-height: 1.8;
            margin-bottom: 15px;
            color: var(--color-texto-oscuro);
        }

        .mensaje-autor {
            font-weight: 700;
            color: var(--color-azul-dominicano);
            margin-bottom: 5px;
        }

        .mensaje-lugar {
            color: var(--color-gris-medio);
            font-size: 0.9rem;
            margin-bottom: 0;
        }

        /* ========================================
           FOOTER
           ======================================== */
        .footer {
            background: var(--color-azul-dominicano);
            color: white;
            padding: 60px 0 30px;
        }

        .footer-contenido {
            display: grid;
            grid-template-columns: 2fr 1fr;
            gap: 60px;
            margin-bottom: 40px;
        }

        .footer-texto h3 {
            color: white;
            font-size: 2rem;
            margin-bottom: 15px;
        }

        .footer-texto p {
            color: rgba(255, 255, 255, 0.8);
        }

        .redes-sociales {
            display: flex;
            gap: 15px;
            justify-content: flex-end;
        }

        .social-icon {
            width: 55px;
            height: 55px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.1);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.4rem;
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            border: 2px solid transparent;
        }

        .social-icon:hover {
            transform: translateY(-8px) scale(1.1);
            border-color: var(--color-dorado-alegría);
        }

        .social-icon[href*="x.com"]:hover,
        .social-icon[href*="twitter"]:hover {
            background: #000000;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
        }

        .social-icon[href*="facebook"]:hover {
            background: #1877F2;
            box-shadow: 0 10px 30px rgba(24, 119, 242, 0.4);
        }

        .social-icon[href*="instagram"]:hover {
            background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
            box-shadow: 0 10px 30px rgba(225, 48, 108, 0.4);
        }

        .social-icon[href*="youtube"]:hover {
            background: #FF0000;
            box-shadow: 0 10px 30px rgba(255, 0, 0, 0.4);
        }

        .footer-inferior {
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            padding-top: 30px;
            text-align: center;
            color: rgba(255, 255, 255, 0.6);
        }

        /* ========================================
           RESPONSIVE
           ======================================== */
        @media (max-width: 1024px) {
            .hero-contenido {
                grid-template-columns: 1fr;
                text-align: center;
            }

            .hero-texto {
                text-align: center;
            }

            .hero-botones {
                justify-content: center;
            }

            .historia-grid {
                grid-template-columns: 1fr;
                gap: 40px;
            }

            .timeline::before {
                left: 20px;
            }

            .timeline-item,
            .timeline-item:nth-child(even) {
                padding-left: 60px;
                padding-right: 0;
                justify-content: flex-start;
            }

            .timeline-item::after,
            .timeline-item:nth-child(even)::after {
                left: 20px;
            }

            .timeline-contenido {
                max-width: 100%;
            }

            .grid-galeria-historica {
                grid-template-columns: repeat(3, 1fr);
            }

            .footer-contenido {
                grid-template-columns: 1fr;
                text-align: center;
            }

            .redes-sociales {
                justify-content: center;
            }
        }

        @media (max-width: 768px) {
            h1 { font-size: 2.5rem; }
            h2 { font-size: 2rem; }

            .header-contenedor {
                gap: 10px;
                padding: 0 12px;
            }

            .logo-imagen {
                height: 108px;
                max-width: 80vw;
            }

            .menu-navegacion {
                display: none;
            }

            .btn-whatsapp {
                padding: 10px 12px;
            }

            .btn-whatsapp span:last-child {
                display: none;
            }

            .hero-titulo {
                font-size: 2.2rem;
            }

            .header-subtitulo-titulo {
                font-size: 1.55rem;
            }

            .hero {
                padding-top: 116px;
            }

            .hero-imagen-principal img {
                transform: translateY(-92px);
            }

            .grid-galeria-historica {
                grid-template-columns: repeat(2, 1fr);
            }

            .formulario-container {
                padding: 30px;
            }

            .tarjeta-mensaje {
                min-width: 300px;
            }
        }

        @media (max-width: 480px) {
            .grid-galeria-historica {
                grid-template-columns: 1fr;
            }

            .hero {
                padding-top: 104px;
            }

            .hero-imagen-principal img {
                transform: translateY(-72px);
            }

            .hero-botones {
                flex-direction: column;
            }

            .btn-primario,
            .btn-secundario {
                width: 100%;
                text-align: center;
            }
        }

/* WordPress/AJAX extras */
.mensaje-success,
.mensaje-error {
    margin-top: 16px;
    padding: 14px 16px;
    border-radius: 12px;
    font-weight: 600;
}

.mensaje-success {
    background: #e8f8ee;
    color: #18794e;
    border: 1px solid #b8e5cb;
}

.mensaje-error {
    background: #fdecec;
    color: #b42318;
    border: 1px solid #f7b8b5;
}

.barra-progreso {
    width: 100%;
    height: 8px;
    border-radius: 999px;
    background: rgba(30, 58, 138, 0.12);
    margin: 16px 0;
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.barra-progreso.barra-progreso-visible {
    opacity: 1;
}

.progreso-relleno {
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--color-naranja-emocional), var(--color-dorado-alegría));
    transition: width 0.2s linear;
}

.shortcode-signature-list .firma-item {
    background: var(--color-fondo-principal);
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 15px;
}

.firma-nombre {
    font-weight: 700;
    color: var(--color-azul-dominicano);
    margin-bottom: 6px;
}

.firma-ciudad,
.firma-mensaje {
    color: var(--color-gris-medio);
    font-size: 0.95rem;
}

.nueva-firma {
    outline: 2px solid var(--color-dorado-alegría);
    animation: pulse-new 1s ease;
}

@keyframes pulse-new {
    0% { transform: scale(0.98); }
    50% { transform: scale(1.01); }
    100% { transform: scale(1); }
}

/* Accesibilidad */
.screen-reader-text {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.skip-link {
    position: absolute;
    left: 16px;
    top: -48px;
    z-index: 2000;
    background: #111;
    color: #fff;
    padding: 10px 14px;
    border-radius: 10px;
    text-decoration: none;
}

.skip-link:focus {
    top: 12px;
    width: auto;
    height: auto;
    left: 12px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 3px solid var(--color-dorado-alegría);
    outline-offset: 2px;
}

.campo-oculto {
    position: absolute !important;
    left: -9999px !important;
    top: auto !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.consent-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.5;
    font-size: 0.95rem;
    color: var(--color-texto-oscuro);
}

.consent-label input[type="checkbox"] {
    margin-top: 3px;
}

.corporan-turnstile {
    margin: 16px 0;
}

/* Lightbox Galeria Historica */
body.lightbox-open {
    overflow: hidden;
}

.galeria-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(10, 16, 35, 0.88);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 5000;
    padding: 24px;
}

.galeria-lightbox.active {
    display: flex;
}

.galeria-lightbox-img {
    max-width: min(92vw, 1200px);
    max-height: 78vh;
    border-radius: 14px;
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.45);
    object-fit: contain;
}

.galeria-lightbox-cerrar,
.galeria-lightbox-prev,
.galeria-lightbox-next {
    position: absolute;
    border: 0;
    border-radius: 999px;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
}

.galeria-lightbox-cerrar {
    top: 18px;
    right: 18px;
}

.galeria-lightbox-prev {
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
}

.galeria-lightbox-next {
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
}

.galeria-lightbox-caption {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    background: rgba(0, 0, 0, 0.45);
    padding: 8px 14px;
    border-radius: 10px;
    font-size: 0.95rem;
}

/* Radio flotante */
.radio-flotante {
    position: fixed;
    left: 16px;
    bottom: 16px;
    z-index: 4500;
    width: min(290px, calc(100vw - 32px));
    background:
        radial-gradient(circle at 100% 0%, rgba(244, 197, 66, 0.32), transparent 35%),
        linear-gradient(145deg, rgba(16, 28, 70, 0.95), rgba(30, 58, 138, 0.95));
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 16px;
    padding: 12px 12px 10px;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(6px);
}

.radio-flotante-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
}

.radio-flotante-titulo {
    margin: 0;
    font-size: 0.92rem;
    font-weight: 800;
    color: #fff;
}

.radio-flotante-status {
    margin: 0;
    font-size: 0.74rem;
    color: rgba(255, 255, 255, 0.85);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.radio-eq {
    height: 20px;
    display: flex;
    align-items: flex-end;
    gap: 5px;
    margin: 2px 0 9px;
}

.radio-eq span {
    width: 5px;
    height: 7px;
    border-radius: 4px;
    background: linear-gradient(180deg, #f4c542, #ff6b00);
    transform-origin: bottom center;
    animation: radio-eq-idle 1s ease-in-out infinite;
    opacity: 0.35;
}

.radio-eq span:nth-child(2) { animation-delay: 0.16s; }
.radio-eq span:nth-child(3) { animation-delay: 0.28s; }
.radio-eq span:nth-child(4) { animation-delay: 0.4s; }

.radio-flotante.is-playing .radio-eq span {
    animation-name: radio-eq-play;
    opacity: 1;
}

@keyframes radio-eq-idle {
    0%, 100% { transform: scaleY(0.7); }
    50% { transform: scaleY(0.9); }
}

@keyframes radio-eq-play {
    0%, 100% { transform: scaleY(0.45); }
    35% { transform: scaleY(1.8); }
    70% { transform: scaleY(1.2); }
}

.radio-flotante-play {
    width: 100%;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, #f4c542, #ff6b00);
    color: #1f2937;
    font-weight: 800;
    font-size: 0.95rem;
    letter-spacing: 0.2px;
    padding: 11px 14px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.radio-flotante-play:hover,
.radio-flotante-play:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.24);
}

.radio-play-icon {
    font-size: 0.95rem;
    line-height: 1;
}

.radio-flotante-fallback {
    display: inline-block;
    margin: 8px 2px 0;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: underline;
}

.radio-yt-player {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

@media (max-width: 640px) {
    .radio-flotante {
        left: 12px;
        right: 12px;
        bottom: 12px;
        width: auto;
    }
}
