body {
    background: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
    padding: 0;
    height: 100%;
}

.container {
    max-width: 100%;
    padding: 0;         /* elimina padding horizontal */
}
.row {
    margin: 0;          /* elimina espacios laterales */
}
.col-4, 
.col-8 {
    padding: 0;         /* elimina espacios entre columnas */
}

.cardimg img {
    width: 100%;
    height: 100%;
    height: 100vh;  
    object-fit: cover;
    
}
.col-8 .card {
    background: #e60000;
    color: #fff;
    height: 100vh;              /* ocupa pantalla completa */
    border-radius: 25px 25px 0px 0px;
    padding: 60px 40px;
    text-align: center;
    display: flex;
    flex-direction: column;
}
.col-8 .card img{
    width: 120%;
    height: 120%;
}
.col-8 .card h2 {
    font-size: 1.8rem;
    font-weight: 300;
}

.col-8 .card h2 span {
    font-weight: 700;
}
.icono {
    width: 90px;
    height: 90px;
    background: url('img/logo-cenhies.png') center/contain no-repeat;
    margin: 20px auto;
}
.col-8 .card p {
    font-size: 1rem;
    margin-top: 10px;
    line-height: 1.4;
}
.btn-campus {
    background: #ffffff;
    color: #e60000;
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
     max-width: 250px;           /* evita que se estire */
    margin: 20px auto 0 auto;   /* centra */
    white-space: nowrap;  
}

.btn-campus:hover {
    transform: scale(1.05);
}

.social i {
    width: 36px;
    height: 36px;
    display: inline-block;
    margin: 0 8px;
    background-size: contain;
    background-repeat: no-repeat;
}

@media (max-width: 768px) {

    .col-8 .card {
        margin-top: 20px;
        border-radius: 25px;
        padding: 30px 20px;
    }

    .icono {
        width: 70px;
        height: 70px;
    }

    .social i {
        width: 28px;
        height: 28px;
    }

@media (max-width: 992px) {

    .card img {
        height: 70vh;   /* reduce altura */
    }

    .col-8 .card {
        height: 70vh;
        padding: 40px 25px;
        border-radius: 40px;
    }

    .icono {
        width: 70px;
        height: 70px;
    }

    .social i {
        width: 28px;
        height: 28px;
        filter: brightness(0) invert(1);   /* convierte el PNG a blanco */
    }
}
@media (max-width: 768px) {

    .row {
        display: block;
    }

    .col-4, 
    .col-8 {
        width: 100%;
    }

    .card img {
        height: 40vh;        /* más compacto */
        border-radius: 0 0 25px 25px;
    }

    .col-8 .card {
        height: auto;
        border-radius: 15px 15px 0 0;
        padding: 30px 20px;
        margin-top: 10px;
    }
}
.social i img {
    width: 28px;
    height: 28px;
    filter: brightness(0) invert(1);   /* convierte el PNG a blanco */
}
