/* ==========================================
   SECCIÓN MANIFIESTO - DISEÑO Y ANIMACIÓN
   ========================================== */
.sec-manifiesto {
    position: relative;
    width: 100%;
    background-color: #ffffff;
    padding: 100px 0;
    overflow: visible !important;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* --- Elemento Decorativo Rojo Izquierdo --- */
.manifiesto-deco-left {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 75%;
    z-index: 1;
    pointer-events: none;
    display: flex;
    align-items: center;
}

.manifiesto-deco-left img {
    height: 100%;
    max-height: 400px;
    width: auto;
    object-fit: contain;
    display: block;
}

/* --- Contenedor Principal Centrado --- */
.manifiesto-wrapper {
    max-width: 1500px;
    width: 100%;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

/* ==========================================
   VIDEO PLAYER (16:9 ESTRICTO)
   ========================================== */
.manifiesto-video-container {
    width: 100%;
    max-width: 720px;
    flex-shrink: 0;
}

.video-box {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9 !important;
    border-radius: 16px;
    overflow: hidden;
    background-color: #000000;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

/* Poster de Fondo e Interfaz Inicial */
.video-poster-overlay {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.video-poster-overlay::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
}

/* Texto Overlay en la Mitad Superior */
.poster-content {
    position: absolute;
    top: 28%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    padding: 0 20px;
}

/* Imagen del Texto Overlay */
.poster-text-img {
    max-width: 440px;
    width: 80%;
    height: auto;
    object-fit: contain;
    animation: fadeInOverlaySlow 2.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeInOverlaySlow {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- BOTÓN DE PLAY (CENTRADO MATEMÁTICO ABSOLUTO EN EL VÍDEO) --- */
.video-circular-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Centrado exacto horizontal y vertical */
    z-index: 5;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    cursor: pointer;
    width: 110px; /* Tamaño mucho más grande e imponente */
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    outline: none !important;
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.3s ease;
    filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.35));
}

.play-outline-svg {
    width: 100%;
    height: 100%;
    display: block;
}

.video-circular-play-btn:hover {
    transform: translate(-50%, -50%) scale(1.12); /* Mantiene el centro al hacer hover */
    opacity: 0.92;
}

/* Reproductor Activo */
.video-media-wrap {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
}

.video-media-wrap iframe,
.video-media-wrap video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: none;
}

/* Ocultar Poster al Dar Play */
.video-box.is-playing .video-poster-overlay {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* ==========================================
   COLUMNA DERECHA (TEXTO MANIFIESTO)
   ========================================== */
.manifiesto-info-col {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    width: 200px;
    display: flex;
    align-items: stretch;
    gap: 16px;
    z-index: 3;
}

.manifiesto-line {
    width: 1.5px;
    background-color: #000000;
    opacity: 0.9;
    flex-shrink: 0;
}

.manifiesto-text-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.manifiesto-title {
    font-family: 'Acumin', sans-serif;
    font-size: 3.6rem;
    font-weight: 800;
    font-style: italic;
    color: #000000;
    margin: 0 0 10px 0;
    line-height: 0.95;
    
}

.manifiesto-desc {
    font-family: 'Acumin', sans-serif;
    font-size: 1.3rem;
    font-style: italic;
    font-weight: 400;
    color: #000000;
    line-height: 1.35;
    margin: 0;
    text-align:justify;
}

/* ==========================================
   RESPONSIVE MÓVIL Y TABLET
   ========================================== */
@media (max-width: 1200px) {
    .sec-manifiesto {
        padding: 60px 0;
        overflow: hidden !important;
    }

    .manifiesto-wrapper {
        flex-direction: column;
        gap: 30px;
        padding: 0 20px;
    }

    .manifiesto-video-container {
        max-width: 100%;
    }

    .poster-text-img {
        max-width: 300px;
    }

    .video-circular-play-btn {
        width: 80px;
        height: 80px;
    }

    .manifiesto-info-col {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }

    .manifiesto-title {
        font-size: 2.8rem;
    }

    .manifiesto-desc {
        font-size: 1.05rem;
 0   }

    .manifiesto-deco-left {
        display: none;
    }
}