 :root {
            --verde-uc: #607116;
            --dorado-up: #B9975B;
            --oscuro: #035B4E;
            --gris-claro: #f5f5f5;
            --blanco: #ffffff;
        }

        body {
            margin: 0;
            font-family: 'Nunito', sans-serif;
            color: #333;
            background-color: var(--gris-claro);
        }

        /* --- HEADER --- */
        .main-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0px 5%;
            background: var(--blanco);
            position: sticky;
            top: 0;
            z-index: 1000;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
        }

        .logo-container img { height: 75px; }

        .mobile-contact-btn {
            padding: 10px 22px;
            background-color: var(--oscuro);
            color: var(--blanco);
            text-decoration: none;
            border-radius: 50px;
            font-weight: 700;
            font-size: 14px;
        }

        .nav-menu {
            display: flex;
            list-style: none;
            margin: 0;
            padding: 0 20px;
            border: 1px solid #ddd;
            border-radius: 50px;
        }

        .nav-link {
            display: block;
            padding: 12px 18px;
            text-decoration: none;
            color: var(--verde-uc);
            font-weight: 600;
            font-size: 14px;
        }

        /* --- SECCIÓN PROGRAMAS --- */
        .programs-section {
            padding: 45px 5% 80px;
            text-align: center;
        }

        .programs-section h2 {
            font-family: 'Libre Caslon Text', serif;
            color: var(--oscuro);
            font-size: 32px;
            margin-bottom: 40px;
        }
        .programs-section h1{
            text-align: left;
            margin-bottom: 1rem;
            margin-left: 5rem;
            color: var(--oscuro);
            font-family: 'Libre Caslon Text', serif;
        }

        /* DISEÑO GRID PARA DESKTOP (Por defecto) */
        .programs-container {
            display: grid;
            grid-template-columns: repeat(3, 1fr); /* 3 columnas */
            gap: 70px;
            max-width: 1200px;
            margin: 0 auto;
        }
        .program-card {
            background: var(--blanco);
            border-radius: 8px;
                height: 57vh;
            overflow: hidden;
            text-decoration: none;
            display: flex;
            flex-direction: column;
            box-shadow: 0 4px 12px rgba(0,0,0,0.08);
            transition: transform 0.3s ease;
            text-align: left; /* Alineación a la izquierda como la imagen */
        }
        .card-image-container {
            position: relative;
            width: 100%;
            height: 200px; /* Ajustar según necesidad */
            overflow: hidden;
        }
        .image-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 50%;
            height: 100%;
            background-color: rgba(3, 91, 78, 0.7); /* Verde institucional con opacidad */
            clip-path: polygon(0 0, 100% 0, 40% 100%, 0% 100%);
        }
        .card-image-container img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        .program-card:hover { transform: translateY(-10px); }
        .program-card img { width: 100%; height: auto; display: block; }

        .program-info {
            padding: 20px;
            display: flex;
            flex-direction: column;
            gap: 8px;
        }
        .estudia-tag {
            color: var(--verde-uc);
            font-size: 14px;
            font-weight: 400;
        }

        .detail-item {
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .detail-txt{
            display: flex;
            flex-direction: column;
        }
        .btn-ver-mas {
            align-self: flex-start;
            background-color: var(--dorado-up);
            color: var(--blanco);
            padding: 8px 25px;
            border-radius: 5px;
            font-size: 14px;
            font-weight: 600;
            transition: background 0.3s;
        }

        .btn-ver-mas:hover {
            background-color: var(--verde-uc);
        }
        .detail-item .icon {
            width: 35px !important;
            height: 35px;
        }

        .detail-item span {
            font-size: 14px;
            color: #035B4E; /* Azul/Verde oscuro de la imagen */
            font-weight: 600;
        }
        .program-details {
            display: flex;
            flex-direction: column;
            gap: 5px;
            margin-bottom: 15px;
        }
        .program-info h3 { 
            font-family: 'Libre Caslon Text', serif;
            color: var(--dorado-up);
            font-size: 20px;
            margin: 0 0 10px 0;
            line-height: 1.2;
        }

        /* --- FOOTER --- */
        .main-footer {
            background: var(--oscuro);
            color: var(--blanco);
            padding: 30px 5% 25px;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 40px;    justify-content: start;
    justify-items: start;
        }

        .footer-col p {font-weight: bold; font-size: 15px; font-family: 'Libre Caslon Text', serif; border-bottom: 1px solid var(--dorado-up); padding-bottom: 10px; margin-bottom: 20px; }
        .footer-col a { color: #fff; text-decoration: none; font-size: 14px; display: block; margin-bottom: 12px; }

        /* --- AJUSTES PARA MÓVIL --- */
        @media (max-width: 1024px) {
            .mobile-contact-btn { display: block; }

            /* Desactivamos el Grid para que Owl Carousel tome el control */
            .programs-container {
                display: block; 
                margin: 0;
            }

            .program-card { margin: 10px; } /* Espacio entre cards en el carrusel */
            
            .programs-section h2 { font-size: 26px; }
            .programs-section h1 { margin-left: 0; text-align: center; }
        }

 .BtonFlotante2 {
            width: 80px;
            height: 90px;
            position: absolute;
            right: 0px;
            bottom: -53rem;
        }
        .botonF2 {
            width: 60px;
            height: 60px;
            border-radius: 100%;
            background: #0DC143;
            right: -1rem;
            bottom: 10rem;
            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: 7%;
            font-size: 25px;
            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%;
        }
        .BtonFlotante2 .btnWhatsapp {
            display: flex;
            height: 15%;
            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: 50%;
            padding: 5px;
        }
        .menuWhatsapp .txtWtp {
            display: flex;
            flex-direction: row;
            background: #025A4F;
            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: 3rem;
            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;
            }
        }