/* ============================================
   LAYOUT DOS COLUMNAS (LEFT-RIGHT)
   ============================================ */

.hero-text-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.hero-visual-content {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.logos-img-right {
    height: auto;
    width: 100%;
    max-width: 500px;
    object-fit: contain;
    filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.2));
}

/* Ajustar título para columna izquierda */
.hero-prameg-title {
    text-align: left;  /* ← Change from center to left */
}

/* Ajustar descripción para columna izquierda */
.hero-description {
    align-items: flex-start;  /* ← Change from center to flex-start */
    text-align: left;  /* ← Add this */
}

.hero-main-text {
    text-align: left;  /* ← Add this */
}

.hero-pillars {
    text-align: left;  /* ← Add this */
}

/* CTA en columna izquierda */
.hero-cta {
    justify-content: flex-start;  /* ← Change from center to flex-start */
}

/* ============================================
   RESPONSIVE DOS COLUMNAS
   ============================================ */

@media (max-width: 768px) {
    /* En mobile, vuelve a una columna */
    .hero-prameg-video {
        min-height: auto;
        padding: 2rem 1rem;
        background: #ffffff;
    }

    .hero-video-bg,
    .hero-video,
    .hero-video-overlay {
        display: none;
    }

    .hero-content-wrapper {
        padding: 0;
    }

    .hero-text-content,
    .hero-visual-content {
        width: 100%;
    }

    .hero-text-content {
        margin-bottom: 2rem;
    }

    .hero-prameg-title {
        font-size: 1.8rem;
        text-align: center;
        margin-bottom: 1.5rem;
    }

    .hero-description {
        align-items: center;
        text-align: center;
        width: 100%;
        padding: 0 0.5rem;
    }

    .hero-main-text,
    .hero-pillars,
    .hero-cta {
        width: 100%;
    }

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

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

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

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

    .logo-pill {
        max-width: 100%;
        padding: 0.75rem 1rem;
    }

    .logos-img-right {
        max-width: 280px;
    }
}
/* ============================================
   HERO PRAMEG CON VIDEO DE FONDO
   ============================================ */

:root {
    --prameg-primary: #0052B8;
    --prameg-accent: #FF6B35;
    --prameg-dark: #1a1a1a;
}

/* ============================================
   CONTENEDOR PRINCIPAL
   ============================================ */

.hero-prameg-video {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    overflow: hidden;
    margin-top: 0;  /* ← Or just remove the line completely */
}

/* ============================================
   VIDEO DE FONDO
   ============================================ */

.hero-video-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100vh;
    z-index: 1;
    overflow: hidden;
}

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

/* Overlay semitransparente para mejorar legibilidad */
.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(26, 26, 26, 0.4) 0%,
        rgba(26, 26, 26, 0.5) 50%,
        rgba(26, 26, 26, 0.6) 100%
    );
    z-index: 2;
}

/* ============================================
   CONTENIDO
   ============================================ */
.logo-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.95);
    border: 1px solid #e0e0e0;
    border-radius: 50px;
    padding: 0rem 0rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    width: 100%;  /* ← Add this */
    max-width: 500px;  /* ← Add this */
}

.logos-img-right {
    height: auto;
    width: 100%;
    max-width: 500px;  /* ← Smaller than before */
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
}

.hero-content-wrapper {
    width: 100%;
    z-index: 10;
    padding: 2rem 0;
}

/* Título Principal */
.hero-prameg-title {
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 800;
    line-height: 1.15;
    color: #1a1a1a;
    letter-spacing: -1px;
    margin-bottom: 2rem;
    text-shadow: none;
}

.hero-prameg-title .text-highlight {
    background: linear-gradient(135deg, #0052B8 0%, #FF6B35 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline;
}

/* Logos */
.hero-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 2rem 0;
}

.logos-img {
    height: auto;
    width: 100%;
    max-width: 400px;
    object-fit: contain;
    filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.2));
}

/* Descripción */
.hero-description {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.hero-main-text {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    font-weight: 600;
    line-height: 1.6;
    color: #555;
    max-width: 700px;
    text-align: left;
    text-shadow: none;
}

.hero-main-text strong {
    color: #FF6B35;
    font-weight: 700;
}

.hero-pillars {
    font-size: clamp(0.95rem, 1.8vw, 1.1rem);
    font-weight: 400;
    line-height: 1.6;
    color: #666;
    max-width: 800px;
    text-align: left;
    text-shadow: none;
}

.pillars-list {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.95rem;
    color: #777;
    font-weight: 500;
}

/* ============================================
   CTA BUTTON
   ============================================ */

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 14px 40px;
    font-size: 1rem;
    font-weight: 600;
    color: white;
    background: linear-gradient(135deg, var(--prameg-primary) 0%, #003d8a 100%);
    border: 2px solid transparent;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(0, 82, 184, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-cta-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.btn-cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 82, 184, 0.4);
    background: linear-gradient(135deg, #003d8a 0%, var(--prameg-primary) 100%);
}

.btn-cta-primary:hover::before {
    left: 100%;
}

.btn-cta-primary svg {
    transition: transform 0.3s ease;
}

.btn-cta-primary:hover svg {
    transform: translateX(4px);
}

/* ============================================
   SCROLL INDICATOR
   ============================================ */

.scroll-indicator-video,
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2.5rem;
    color: var(--color-accent);
    animation: bounce 2s infinite;
    
    /* Mejoras de grosor y visibilidad */
    font-weight: 900; 
    -webkit-text-stroke: 1px var(--color-accent);
     
}



@keyframes bounceScroll {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-12px);
    }
}

/* ============================================
   EFECTO DESVANECIMIENTO AL SCROLL
   ============================================ */

.hero-prameg-video.fade-out {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.6s ease-out;
}

.hero-video-bg.hidden {
    opacity: 0;
    transition: opacity 0.8s ease-out;
    pointer-events: none;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
    .hero-prameg-video {
        min-height: 80vh;
        padding: 1.5rem;
        margin-top: 70px;
    }

    .hero-prameg-title {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }

    .hero-main-text {
        font-size: 1rem;
    }

    .hero-pillars {
        font-size: 0.9rem;
    }

    .pillars-list {
        font-size: 0.85rem;
    }

    .logos-img {
        max-width: 300px;
        margin: 1.5rem 0;
    }

    .btn-cta-primary {
        padding: 12px 32px;
        font-size: 0.95rem;
        width: 100%;
    }

    .scroll-indicator-video,
    .scroll-indicator {
        bottom: 25px;
        font-size: 1.5rem;
        color: #FF6B35;
        -webkit-text-stroke: 1px #FF6B35;
    }
}

@media (max-width: 480px) {
    .hero-prameg-video {
        min-height: 75vh;
        margin-top: 60px;
    }

    .hero-prameg-title {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .hero-main-text {
        font-size: 0.95rem;
    }

    .hero-pillars {
        font-size: 0.85rem;
    }

    .logos-img {
        max-width: 250px;
    }
}

/* ============================================
   ACCESIBILIDAD - REDUCIR MOVIMIENTO
   ============================================ */

@media (prefers-reduced-motion: reduce) {
    .scroll-indicator-video {
        animation: none;
    }

    .btn-cta-primary {
        transition: none;
    }
}

/* ============================================
   OPTIMIZACIÓN DE VIDEO
   ============================================ */

/* Para dispositivos de bajo rendimiento */
@media (max-width: 1024px) {
    .hero-video {
        /* El video sigue visible pero optimizado */
        will-change: auto;
    }
}

/* En mobile, el video podría congelarse en el primer frame */
@media (max-width: 768px) {
    .hero-video {
        /* Desactivar animación pesada en mobile */
    }
}
@media (max-width: 768px) {
    .hero-video-bg {
        width: 100%;  /* Full width on mobile */
        right: 0;
        left: 0;
    }
}
