/* ======================= */
/* BODY Y TIPOGRAFÍA       */
/* ======================= */
body {
    margin: 0;
    font-family: 'DM Sans', sans-serif;
    color: white;
    overflow-x: hidden;  /* solo horizontal oculto */
    overflow-y: auto;    /* permitir scroll vertical */
}

/* ======================= */
/* VIDEO DE FONDO          */
/* ======================= */
.bg-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -3;
}

@media(max-width: 991px){

    /* VIDEO BLOQUE INFERIOR */
    .bg-video,
    .video-overlay {
        position: fixed;   /* siempre pegado a la pantalla */
        bottom: 0;         /* alineado al fondo */
        left: 0;
        width: 100%;
        height: 200px;     /* altura deseada */
        object-fit: cover;
        z-index: -3;       /* video detrás del contenido */
    }

    /* Ajuste del contenedor para que no tape el video */
    .content {
        padding-bottom: 220px; /* deja espacio para el video */
        height: auto;           /* que crezca según el contenido */
    }

    /* PANEL DIAGONAL: ocultar */
    .overlay-left {
        display: none;
    }

    /* ICONOS SOCIALES HORIZONTAL */
    .social-icons {
        position: static;
        transform: none;
        display: flex;
        justify-content: center;
        margin-top: 20px;
    }
    .social-icons a {
        margin: 0 10px;
    }

    /* LISTAS Y TARJETAS */
    .list-responsive {
        max-height: 400px;
        overflow-y: auto;
    }

    .card-body {
        padding: 20px;
        font-size: 0.95rem;
    }
}


/* ======================= */
/* PANEL IZQUIERDO DIAGONAL*/
/* ======================= */
.overlay-left {
    position: absolute;
    top: 0;
    left: 0;
    width: 65%;
    height: 100%;
    background: rgba(0, 0, 0, 0.827);
    clip-path: polygon(0 0, 85% 0, 70% 100%, 0% 100%);
    z-index: -1;
}

/* ======================= */
/* CONTENIDO PRINCIPAL     */
/* ======================= */
.content {
    position: relative;
    height: 100vh;  /* desktop: altura completa */
    display: flex;
    align-items: center;
    z-index: 1;
}

.content-inner {
    max-width: 600px;
    margin-left: 8%;
}

/* TITULOS */
h1 {
    font-family: 'Tinos', serif;
    font-style: italic;
    font-size: 3rem;
    margin-bottom: 25px;
}

/* PARÁGRAFOS Y LISTAS JUSTIFICADAS */
p,
.justificado,
.list-responsive li {
    text-align: justify;
    line-height: 1.6;
}

/* INPUT */
.form-control {
    height: 55px;
    border-radius: 8px;
    border: none;
    padding-left: 20px;
}

/* BOTÓN */
.btn-custom {
    background: #1E40AF;
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    letter-spacing: 1px;
    transition: 0.3s;
    color: white;
}

.btn-custom:hover {
    background: #5871d7;
}

/* ======================= */
/* ICONOS SOCIALES         */
/* ======================= */
.social-icons {
    position: absolute;
    z-index: 10;       /* encima del video */
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    margin: 15px 0;
    border-radius: 50%;
    background: rgba(9, 55, 208, 0.859);
    color: white;
    font-size: 18px;
    transition: 0.3s;
    text-decoration: none;
    pointer-events: auto; /* enlace clicable */
}

.social-icons a:hover {
    background: #151515;
}

/* ======================= */
/* RESPONSIVE              */
/* ======================= */
@media(max-width: 991px){
    /* CONTENIDO */
    .content {
        height: auto;       /* permite que crezca según el contenido */
        display: block;     
        padding: 20px;
    }

    /* PANEL DIAGONAL: ocultar */
    .overlay-left {
        display: none;
    }

    /* VIDEO BLOQUE INFERIOR */
    .bg-video,
    .video-overlay {
        position: relative;
        width: 100%;
        height: 200px;
        object-fit: cover;
        z-index: 0;
    }

    /* ICONOS SOCIALES HORIZONTAL */
    .social-icons {
        position: static;
        transform: none;
        display: flex;
        justify-content: center;
        margin-top: 20px;
    }
    .social-icons a {
        margin: 0 10px;
    }

    /* LISTAS Y TARJETAS */
    .list-responsive {
        max-height: 400px;
        overflow-y: auto;
    }

    .card-body {
        padding: 20px;
        font-size: 0.95rem;
    }
}


body {
    margin: 0;
    font-family: 'DM Sans', sans-serif;
    color: white;           /* texto blanco */
    background-color: #000; /* fondo negro */
    overflow-x: hidden;
    overflow-y: auto;
}

