

:root {
            --primary-color: #9568c6;
            --secondary-color: #004eaa;
            --accent-color: #FFFFFF;
            --text-dark: #333;
            --white: #ffffff;

        }
.titulo-seccion {
    margin-top: 4rem;
    margin-bottom: 3rem;
    text-align: center;
}

.titulo-seccion h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: #1E3A8A; /* Azul institucional */
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

/* La línea decorativa debajo del texto */
.titulo-seccion h1::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: #1976D2; /* Azul más claro o el color de tu marca */
    border-radius: 2px;
}
        body {

            line-height: 1.6;
            color: var(--text-dark);
            margin: 0;
            padding: 20px;
            background-color: #f9f9f9;
        }

        .container {
            max-width: 1000px;
            margin: 0 auto;
        }

        /* Estilo para el recuadro destacado (CAVIM) */
        .hero-box {
            background: linear-gradient(135deg, #004EAA, #9568C6);
            border-bottom: 5px solid #9568C6;
            color: white;
            padding: 2rem;
            border-radius: 15px;
            text-align: center;
            box-shadow: 0 10px 30px rgba(0,0,0,0.2);
            margin-top:3rem;
            margin-bottom: 50px;
            transform: translateY(-5px);



        }

        .hero-box h2 { margin-top: 0; font-size: 2.5em; }

        /* Secciones de contenido */
        .section-content {
            background: white;
            padding: 30px;
            border-radius: 10px;
            margin-bottom: 30px;
            box-shadow: 0 4px 6px rgba(0,0,0,0.05);
            border: 2px solid var(--primary-color);
        }

        .grid-services {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 20px;
            margin: 30px 0;
        }

        .service-card {
            background: #ffffff;
            padding: 20px;
            border-radius: 8px;
            border-left: 5px solid var(--primary-color);
        }

        .service-card h4 { color: var(--primary-color); margin-top: 0; }

        /* Botones y Enlaces */
        .btn-link {
            display: inline-block;
            background-color: var(--primary-color);
            color: white;
            padding: 12px 25px;
            text-decoration: none;
            border-radius: 5px;
            font-weight: bold;
            transition: background 0.3s;
        }

        .btn-link:hover { background-color: var(--secondary-color); }

        /* Banners de Gratuidad (Imágenes Simuladas) */
        .banner-gratis {
            background-color: var(--accent-color);
            color: var(--primary-color);
            text-align: center;
            padding: 40px 20px;
            font-size: 2em;
            font-weight: 900;
            border-radius: 10px;
            margin: 40px 0;
            text-transform: uppercase;
            letter-spacing: 2px;
            border: 4px dashed var(--primary-color);
        }

        .location-list {
            column-count: 2;
            column-gap: 40px;
            background: #eee;
            padding: 2rem;
            border-radius: 8px;
            margin-top:.5rem;
            margin-bottom:.5rem;
            text-decoration:none;
            list-style-type:none;

        }
        .tarjeta-juntas{
            transition: transform ease-in-out .2s;
            max-width: 450px;
            margin-top:1rem;
            margin-bottom:1rem;
        }
        .tarjeta-juntas:hover{
            transform:scale(1.05)
        }
        /* --- Estilos Base --- */
:root {
    --nav-bg: #9568c6;
    --nav-hover: #004eaa;
    --nav-text: #ffffff;
}

html {
    scroll-behavior: smooth;
}

.adaptive-nav {
    position: fixed;
    display: flex;
    z-index: 10000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    transition: all 0.3s ease-in-out;
    border: 2px solid var(--primary-color);
    background:#fff;
}

.nav-btn {
    text-decoration: none;
    color: var(--nav-text);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    align-self:center
}

.nav-header {
    display: none; /* Solo visible en escritorio */
    font-weight: 900;
    letter-spacing: 1px;
    color: #000;
    font-size: 0.7rem;
    padding: 20px;

    border-bottom: 5px solid #9568C6;

}

/* --- DISEÑO MOBILE (Abajo como Tab Bar) --- */
@media (max-width: 1319px) {
    .adaptive-nav {
        bottom: 0;
        left: 0;
        width: 100%;
        height: 65px;
        flex-direction: row;
        justify-content: space-around;
        padding-bottom: env(safe-area-inset-bottom); /* Ajuste para iPhones nuevos */
        background:#ffffff
    }

    .nav-btn {
        flex-direction: column;
        flex: 1;
        font-size: 0.65rem;
    }
    .nav-btn .label {
        display: none; /* Escondemos texto para un look más limpio */

    }
    .nav-btn .icon {
        font-size: 2rem;
        margin-bottom: 2px;
    }
    body{
        padding-bottom:3rem !important;
    }
    .section-content {
            padding: .5rem .5rem;
            width: 85%;
            justify-self:center;
    }
    .tarjeta-juntas{
            transition: transform ease-in-out .2s;
            max-width: 250px;
            margin-top:.5rem;
            margin-bottom:.5rem;
        }
    *{
        text-align:center;
    }
    .hero-box h2{
        font-size:1.5rem
    }
}

/* --- DISEÑO ESCRITORIO (Menú Lateral Limpio) --- */
@media (min-width: 1320px) {
    .adaptive-nav {
        top: 50%;
        left: 1.5rem;
        transform: translateY(-50%);
        width: 8.5rem;
        height: auto;
        flex-direction: column;
        border-radius: 40px; /* Bordes muy redondeados para estilo moderno */
        padding: 10px 0;
    }

    .nav-header {
        display: block;
        text-align: center;
        font-size:1rem;
    }

    .nav-btn {
        flex-direction: column;
        padding: 15px 0;
        margin: 5px 10px;
        border-radius: 50%;
        width: 60px;
        height: 60px;
    }

    .nav-btn:hover {
        background-color: var(--nav-hover);
    }

    .nav-btn .label {
        display: none; /* Escondemos texto para un look más limpio */

    }

    /* Tooltip: Al pasar el mouse en PC, sale el nombre */
    .nav-btn:hover .label {
        display: block;
        position: absolute;
        left: 70px;
        background: var(--nav-hover);
        padding: 5px 12px;
        border-radius: 5px;
        font-size: 1.2rem;
        white-space: nowrap;
        box-shadow: 0 10px 30px rgba(0,0,0,0.2);
        transform: translateX(1.5rem)
    }
    .nav-btn:hover .icon{
        transform: scale(1.2)
    }
    .nav-btn .icon {
        font-size: 2rem;
        transition:transform .2s ease-in-out;

    }
    .nav-btn .icon:hover{

    }
}

@media (max-width: 600px) {
            .location-list { column-count: 1; }
            .hero-box h1 { font-size: 1.8em; }
}