 :root {
            --unis-color: #7b001e; /* Color base solicitado */
            --unis-accent: #CC9865; /* Color dorado del snippet */
            --blanco: #ffffff;
            --gris-fondo: #f9f9f9;
        }

        body {
            margin: 0;
            font-family: 'Nunito', sans-serif;
            background-color: var(--gris-fondo);
        }

        /* --- HEADER --- */
        .main-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px 5%;
            background: var(--blanco);
            position: sticky;
            top: 0;
            z-index: 1000;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
        }

        .logo-unis img { height: 45px; }

        .btn-info-mobile {
            padding: 10px 20px;
            background: var(--unis-color);
            color: white;
            text-decoration: none;
            border-radius: 50px;
            font-weight: 700;
            font-size: 13px;
        }

        /* --- SECCIÓN INTRO --- */
        .oferta-header {
            text-align: center;
            padding: 60px 5% 40px;
        }

        .oferta-header h2 {
            font-family: 'Libre Caslon Text', serif;
            color: var(--unis-color);
            font-size: 32px;
            margin-bottom: 15px;
        }

        .oferta-header p {
            max-width: 800px;
            margin: 0 auto 30px;
            color: #555;
            font-size: 16px;
        }

        /* --- BUSCADOR --- */
        .search-container {
            max-width: 500px;
            margin: 0 auto 50px;
            position: relative;
        }

        .search-container input {
            width: 100%;
            padding: 15px 25px;
            border: 1px solid #ddd;
            border-radius: 50px;
            font-family: 'Nunito', sans-serif;
            outline: none;
            box-sizing: border-box;
        }

        .search-container button {
            position: absolute;
            right: 5px;
            top: 5px;
            background: var(--unis-accent);
            border: none;
            color: white;
            padding: 10px 20px;
            border-radius: 50px;
            cursor: pointer;
        }

        /* --- GRID DE PROGRAMAS --- */
        .programs-grid {
            display: grid !important;
            grid-template-columns: repeat(3, 1fr); /* 3 columnas desktop */
            gap: 30px;
            max-width: 1200px;
            margin: 0 auto 80px;
            padding: 0 20px;
        }

        .program-card {
            background: var(--blanco);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            text-decoration: none;
            display: block;
            width: 85%;
            border-bottom: 4px solid transparent;
        }

        .program-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            border-color: var(--unis-accent);
        }

        .program-card img {
            width: 100%;
            height: auto;
            display: block;
        }

        /* --- FOOTER --- */
        .main-footer {
            background: black;
            color: var(--blanco);
            padding: 40px 5%;
            text-align: center;
        }

        /* --- AJUSTES MÓVIL (OWL CAROUSEL) --- */
        @media (max-width: 1024px) {
            .btn-info-mobile { display: block; }
            .desktop-nav { display: none; }

            .programs-grid {
                display: block !important; /* Desactiva grid para Owl */
                padding: 0;
            }

            .program-card { margin: 10px; }
            
            .oferta-header h2 { font-size: 26px; }
            .BtonFlotante2 > .menuWhatsapp{    transform: translate(50%, -80%);}
        }

        /* Estilo dots carrusel */
        .owl-theme .owl-dots .owl-dot.active span { background: var(--unis-accent) !important; }

 .BtonFlotante2 {
            width: 80px;
            height: 90px;
            position: absolute;
            right: 0px;
            /* bottom: -53rem; */
        }
        .botonF2 {
            width: 60px;
            height: 60px;
            border-radius: 100%;
            background: #0DC143;
            right: -1rem;
            bottom: 45%;
            position: fixed;
            margin-right: 16px;
            margin-bottom: 16px;
            border: none;
            outline: none;
            z-index: 99;
            color: #FFF;
            transition: .3s;
        }
        .botonF2 span {
            transition: .5s;
        }
        .botonF2:hover span {
            transform: rotate(360deg);
        }
        .botonF2:active {
            transform: scale(1.4);
        }
        .BtonFlotante2 .closeMenuWhatsapp {
            position: absolute;
            right: 0.5rem;
            cursor: pointer;
            background: none;
            border: none;
            color: white;
            font-weight: bold;
            width: 10%;
            font-family: cursive;
        }
        .pronto-pago-c {
            top: 13vh !important;
            width: 13%;
            right: 5px !important;
        }
        .BtonFlotante2>.menuWhatsapp {
            display: none;
            position: fixed;
            z-index: 99;
            top: 50%;
            left: 70%;
            width: 24rem;
            padding: 0;
            border-radius: 1rem;
            background: linear-gradient(234deg, #ededed 10%, #ffffff 100%);
            transition: 0.3s;
            height: 60%;
            justify-content: center;
            align-items: center;
            flex-direction: column;
            transform: translate(-50%, -50%);
            box-shadow: 1px 0px 20px #7e7e7e;
        }
        .botonesWpp {
            display: flex;
            flex-direction: column;
            justify-content: space-evenly;
            width: 90%;
            height: 80%;
        }
        .contentbtnwha{
            display: flex;
            flex-direction: column;
            height: 80%;
            justify-content: space-evenly;
        }
        .BtonFlotante2 .btnWhatsapp {
            display: flex;
                height: 19%;
                width: 100%;
                flex-direction: column;
                align-content: center;
                justify-content: center;
                align-items: center;
                flex-wrap: wrap;
        }
        .btnWhatsapp p {
            color: white;
        }
        .BtonFlotante2>.menuWhatsapp a>p {
            margin: 0;
            text-align: center;
        }
        .menuWhatsapp .txtWtp .txtP1 {
            color: rgb(0, 0, 0);
            padding: 0 10px 0 0px;
            font-weight: bold;
        }
        .closeOptions {
            display: flex;
            align-items: center;
        }
        .menuWhatsapp .txtWtp img {
            width: 80%;
            padding: 5px;
        }
        .menuWhatsapp .txtWtp {
            display: flex;
            flex-direction: row;
            border-radius: 1rem 1rem 0rem 0rem;
            width: 100%;
        }
        .BtonFlotante2>.menuWhatsapp p {
            font-size: 17px !important;
        }
        .BtonFlotante2>.menuWhatsapp a {
            display: flex;
            gap: 10px;
            color: #f7f7f7;
            padding: 2px 24px;
            text-decoration: none;
            width: 80%;
            height: 100%;
            border-radius: 50px;
            background-color: #0DC143;
            align-items: center;
            flex-direction: column;
            justify-content: center;
        }
        .BtonFlotante2>.menuWhatsapp a:hover {
            box-shadow: 0px 0px 20px 0px #000000;
        }
        .BtonFlotante2>.menuWhatsapp a span {
            font-size: 20px;
        }
        @media screen and (max-width: 1200px) {
            .BtonFlotante2 .menuWhatsapp {
                left: 50%;
                top: 50%;
                transform: translate(-50%, -50%) !important;
                width: 90%;
                height: 450px;
                z-index: 100;
            }
        }
/* --- FOOTER OPTIMIZADO UNIS --- */
.main-footer {
    background-color: black;
    color: var(--blanco);
    padding: 60px 5% 30px;
    font-family: 'Nunito', sans-serif;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-col img {
    max-width: 180px;
    margin-bottom: 20px;
}

.footer-col h4 {
    text-align: left;
    font-size: 18px;
    margin-bottom: 20px;
    padding-bottom: 10px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.footer-col ul li a {
    color: var(--blanco);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--unis-accent);
}

.footer-col ul li i {
    font-size: 18px;
    margin-right: 12px;
    color: var(--unis-accent);
}

/* Redes Sociales */
.fRedes {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.fRedes li {
    margin: 0 !important;
}

.fRedes a {
    background: rgba(255, 255, 255, 0.1);
    width: 35px;
    height: 35px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
}

.fRedes a:hover {
    background: var(--unis-accent);
    color: var(--unis-color) !important;
}

.footer-bottom {
    text-align: center;
    background-color: var(--unis-color);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 12px;
    padding: 15px;
    color: white;
}

@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-col ul li {
        justify-content: left;
    }
    .fRedes {
        justify-content: center;
    }
}