:root {
    --fuente1: "Roboto", sans-serif;
    --fuente3: "Noto Sans", sans-serif;
    --negro: #000;
    --negro2: rgba(0, 0, 0, 0.559);
    --blanco: #fff;
    --azulClaro: #5a5c5f1a;
    --azul: oklch(45% 0.15 240);
    --verde: #25d366;
    --verdeOscuro: #1db856e4;
    --verdeClaro: #25d3652c;
    --colorBordes: #00274d37;
}
/* -------ANIMACIONES------- */
@keyframes saltar {
    0%,
    100% {
        transform: translateY(0);
    }
    20% {
        transform: translateY(-20px);
    }
    40% {
        transform: translateY(0);
    }
    60% {
        transform: translateY(-10px);
    }
    80% {
        transform: translateY(0);
    }
}
/* ----------- ESTILOS GLOBALES PARA LAS ETIQUETAS ----------- */
* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
h1,
h2,
h3 {
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
    text-align: center;
}

h1 {
    font-size: 2rem;
    font-family: var(--fuente1);
}

h2 {
    font-size: 1.7rem;
    font-family: var(--fuente3);
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.2rem;
    font-family: var(--fuente3);
}
h4 {
    font-size: 1.2rem;
    font-family: var(--fuente3);
    margin: 0;
}

p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--negro2);
    font-family: var(--fuente3);
    text-align: center;
}

span {
    color: var(--azul);
    font-weight: 600;
}

a {
    font-family: var(--fuente3);
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 6px; /* un toque de diseño */
}

/* ---------- CLASES GLOBALES - COMPONENTES ----------*/
.container {
    width: min(1200px, 94%);
    margin: 0 auto;
}
.btn-whatsApp {
    display: flex;
    justify-content: center;
    gap: 1rem;
    background-color: var(--verde);
    padding: 0.7rem 1.1rem;
    border: none;
    border-radius: 8px;
    color: var(--blanco);
    font-size: 1rem;
    font-size: 600;
    transition: all 0.3s ease-in-out;
}
.btn-whatsApp:hover {
    background-color: var(--verdeOscuro);
}
.btn-whatsApp:active {
    transform: scale(0.9);
}
.icon-whats {
    width: 20px;
    height: 20px;
}
.btn-clasico {
    display: inline-block;
    text-align: center;
    background-color: var(--blanco);
    padding: 0.7rem 0.9rem;
    color: var(--negro);
    font-family: var(--fuente3);
    font-size: 1rem;
    font-weight: 600;
    border: 1px solid var(--colorBordes);
    border-radius: 8px;
    transition: all 0.3s ease-in;
}
.btn-clasico:hover {
    background-color: var(--azul);
    color: var(--blanco);
}
.btn-clasico:active {
    transform: scale(0.9);
}
.btn-azul {
    display: inline-block;
    width: 100%;
    text-align: center;
    background-color: var(--azul);
    padding: 0.7rem 0.9rem;
    color: var(--blanco);
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    transition: all 0.3s ease-in;
}
.btn-azul:active {
    transform: scale(0.9);
}
.icon-whatsFloat {
    position: fixed;
    bottom: 15px;
    right: 15px;
    display: grid;
    align-content: center;
    padding: 0.6rem;
    background-color: var(--verde);
    color: var(--blanco);
    border-radius: 50%;
    box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.4);
    animation: saltar 3s ease-in-out infinite;
}
.icon-float {
    width: 30px;
    height: 30px;
}
.width-100 {
    width: 100%;
}
.margin-1 {
    margin-bottom: 1.5rem;
}
.sections {
    padding-top: 4rem;
    padding-bottom: 4rem;
}
.section-flex {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.aviso-card {
    background-color: var(--azulClaro);
    border: 1px solid var(--colorBordes);
    padding: 1.5rem;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    p,
    h3 {
        text-align: left;
    }
}
.amarillo {
    background-color: var(--verdeClaro);
    h3 {
        text-align: center;
    }
}
.inicio {
    padding-top: 2rem;
    background-color: #0073e60e;
}
.galeria {
    background-color: #0073e60e;
}
.cobertura {
    background-color: #0073e60e;
}
.contacto {
    background-color: #0073e60e;
}

/* ---------- HEADER ---------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    margin: 0 auto;
    z-index: 2;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid var(--colorBordes);
    background-color: var(--blanco);
}
.header-logo {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}
.header-title {
    font-size: 1.3rem;
    text-align: left;
}
.header-title2 {
    font-size: 0.9rem;
    text-align: left;
}
.header-icon {
    width: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.header-nav {
    display: none;
}
.nav-enlaces {
    color: var(--azul);
}
.nav-enlaces:hover {
    transform: scale(0.9);
    font-weight: 600;
}
.header-menuBtn {
    background-color: transparent;
    border: none;
    padding: 0;
}
/* ----------- MENU DESPLEGABLE ----------------- */
/* Menú lateral oculto por defecto */
.side-menu {
    position: fixed;
    top: 0;
    right: -250px; /* escondido a la derecha */
    width: 200px;
    height: 100%;
    background: #222;
    color: #fff;
    padding: 1rem;
    background-color: var(--azul);
    box-shadow: -2px 0 5px #0073e60e;
    transition: right 0.3s ease;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.sideMenu-span {
    display: flex;
    justify-content: center;
    span {
        color: var(--blanco);
        font-family: var(--fuente3);
        font-size: 1.1rem;
    }
}
/* Mostrar menú */
.side-menu.active {
    right: 0;
}

/* Botón de cerrar */
.close-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    display: block;
    margin-left: auto;
}

/* Estilos de enlaces */
.side-menu ul {
    list-style: none;
    padding: 0;
    margin: 2rem 0 0;
}

.side-menu ul li {
    padding: 1rem 0;
    border-bottom: 1px solid var(--blanco);
}

.side-menu ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
}

/* --- PRIMER SECCION ENCAEZADO--- */
main {
    margin-top: 80px;
}
.section-encabezado {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    h1 {
        text-align: center;
    }
}
.section-actions {
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.section-beneficios {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.beneficios-card {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.beneficios-sub {
    font-size: 1.2rem;
}
.beneficios-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    background-color: var(--azulClaro);
    border-radius: 50%;
    color: var(--azul);
    width: 70px;
    height: 70px;
    margin: 0 auto;
}
/* ----- SERVICIOS ------ */

.servicios-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.servicio-card {
    padding: 1.4rem;
    background-color: var(--blanco);
    border: 1px solid var(--colorBordes);
    border-radius: 12px;
}
.servicio-encabezado {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.servicio-precio {
    text-align: center;
    font-weight: 600;
    font-size: 2rem;
    font-family: var(--fuente3);
}
.servicio-ul {
    li {
        color: var(--negro2);
        font-size: 1rem;
        font-family: var(--fuente3);
        margin-bottom: 0.4rem;
    }
}
.servicios-contacto {
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
    button {
        margin: 0 1.5rem;
    }
}
/* -------- GALERIA DE IMAGENES -------- */
.galeria-relative {
    position: relative;
}
.galeria-cont {
    overflow: hidden;
    width: 100%;
}
.galeria-imgs {
    display: flex;
    gap: 1rem;
    transition: transform 0.4s ease;
}
.galeria-imgs img {
    width: min(100%, 400px);
    border-radius: 10px;
    object-fit: cover;
}
.galeria-btns {
    display: none;
}
.galeria-btn.prev {
    left: 10px;
}
.galeria-btn.next {
    right: 10px;
}
/* Móvil: scroll horizontal manual */
.galeria-cont {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
}
.galeria-imgs {
    flex: 0 0 auto;
}
.galeria-imgs img {
    flex: 0 0 auto;
    scroll-snap-align: center;
}
.flecha {
    text-align: center;
    font-family: var(--fuente3);
}
/* Desktop: carrusel con botones */
@media (min-width: 768px) {
    .flecha {
        display: none;
    }
    .galeria-btn {
        display: none; /* ocultos en móvil */
        background: var(--azulClaro);
        color: var(--negro);
        border: none;
        padding: 0.5rem 1rem;
        cursor: pointer;
        font-size: 1.5rem;
        font-weight: bold;
        border-radius: 5px;
    }
    .galeria-btns {
        display: flex;
        gap: 3rem;
        justify-content: center;
        align-items: center;
    }
    .galeria-btn {
        display: block;
    }
    .galeria-cont::-webkit-scrollbar {
        display: none; /* Chrome, Safari, Edge moderno */
    }
    .galeria-imgs img {
        width: calc(100% / 3); /* 3 imágenes visibles */
    }
}

/* ---- SECCION COBERTURA ------- */
.cobertura-areas {
    h3 {
        text-align: left;
    }
}
.cobertura-lista {
    margin-bottom: 2rem;
    ul {
        list-style: none;
        padding: 0;
    }
    li {
        color: var(--negro);
        font-family: var(--fuente3);
        margin-bottom: 0.7rem;
        padding: 0.9rem;
        border-radius: 8px;
        border: 1px solid var(--negro2);
    }
}
.cobertura-mapa {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}
.mapa {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.2);
}
.cober-enlace {
    text-align: left;
    color: var(--azul);
    font-weight: 600;
}
/* ------ SECCION HORARIOS ------- */

.cards-horarios {
    background-color: var(--blanco);
    border-radius: 12px;
    border: 1px solid var(--colorBordes);
    padding: 1.5rem;
}
.h-encabezado {
    display: flex;
    justify-content: left;
    align-items: center;
    gap: 1rem;
}
.h-icon {
    color: var(--azul);
}
.horarios-lista {
    ul {
        list-style: none;
        padding: 0;
    }
    li {
        border-bottom: 1px solid var(--colorBordes);
        padding: 0.7rem 0;
        p {
            text-align: left;
        }
    }
    li:last-of-type {
        border-bottom: none;
    }
    .dias {
        font-size: 1.2rem;
        font-weight: 600;
        color: var(--negro);
    }
}
.tiempos-body {
    margin-top: 1.5rem;
}
.t-servicios {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.7rem;
    span {
        color: var(--negro2);
        font-family: var(--fuente3);
    }
    .t-hora {
        font-weight: bold;
        color: var(--negro);
    }
}
.atencion-body {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    p {
        text-align: left;
    }
}
.atencion-btn {
    padding: 0 1.2rem;
}

/* -------SECCION CONTACTO -------- */
.contacto-encabezado {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.contacto-detalles p {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    font-weight: bold;
    /* Soluciones para Safari */
    word-break: break-all;
    overflow-wrap: break-word;
    word-wrap: break-word;

    /* Específico para Safari */
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
}
.contacto-botones {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
/* -------- FOOTER ----------- */
.footer {
    background-color: var(--azul);
    padding: 3rem 0;
}
.footer-1 {
    border-bottom: 1px solid var(--blanco);
    padding-bottom: 2rem;
    color: var(--blanco);
    P {
        color: var(--blanco);
        text-align: left;
    }
}
.footer-encabezado {
    display: flex;
    flex-direction: column;
    justify-content: left;
    gap: 1.5rem;
}
.footer-enlaces {
    ul {
        list-style: none;
        padding: 0;
    }
    li {
        margin-bottom: 0.7rem;
        a {
            color: var(--blanco);
        }
    }
}
.footer-contacto {
    ul {
        list-style: none;
        padding: 0;
    }
    li {
        margin-bottom: 0.7rem;
        display: flex;
        align-items: center;
        gap: 0.7rem;
        span {
            color: var(--blanco);
            font-family: var(--fuente3);
        }
        a {
            color: var(--blanco);
        }
    }
}
.footer-2 {
    padding-top: 2rem;
    p {
        color: var(--blanco);
        font-size: 1rem;
    }
}

/* --------- MEDIAS QUERIES --------- */
@media (min-width: 768px) {
    /* --- CLASES GLOBALES Y COMPONENTES ------ */
    .btn-whatsApp {
        font-size: 1.2rem;
        padding: 0.7rem 1.5rem;
    }
    .btn-clasico {
        font-size: 1.2rem;
        padding: 0.7rem 1.7rem;
    }
    h1 {
        font-size: 3rem;
    }
    h2 {
        font-size: 2.5rem;
    }
    h3 {
        font-size: 1.4rem;
    }
    .beneficios-sub {
        font-size: 1.4rem;
    }
    a {
        font-size: 1.2rem;
    }
    /* --------SECCION DEL NAV ------- */
    .header-nav {
        display: block;
        display: flex;
        gap: 1.5rem;
        align-items: center;
    }
    .header-menuBtn {
        display: none;
    }
    /* ------- SECCION DE INICIO --------- */
    .section-actions {
        flex-direction: row;
        justify-content: center;
    }
    .section-beneficios {
        flex-direction: row;
    }
    /* ------ SECCION SERVICIOS ------- */
    .servicios-cards {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
    .servicios-contacto {
        align-items: center;
    }
    /* --------- SECCION COBERTURA ------- */
    .cobertura-1 {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }
    .cobertura-lista {
        margin-bottom: 0;
        ul {
            li {
                margin-bottom: 0;
            }
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 1rem;
        }
    }
    .cobertura-mapa {
        margin-bottom: 0;
    }
    /* ------- SECCION HORARIOS ------ */
    .horario-1 {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    .horario-2 {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }
    /* -------SECCION CONTACTO --------- */
    .contacto-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
    .contacto-botones {
        flex-direction: row;
    }
    .contacto-detalles p {
        font-size: 1rem;
    }
    /* ------ FOOTER ------ */
    .footer-1 {
        flex-direction: row;
        gap: 1rem;
    }
    .footer-encabezado {
        flex: 2;
        p {
            font-size: 1rem;
        }
    }
    .footer-enlaces,
    .footer-contacto {
        flex: 1;
    }
}

@media (min-width: 1024px) {
    /* -------- CLASES GLOBALES Y COMPONENTES ------- */
    h1 {
        font-size: 4rem;
    }
    h2 {
        font-size: 2.8rem;
    }
    h3 {
        font-size: 1.5rem;
    }
    .beneficios-sub {
        font-size: 1.5rem;
    }
    p {
        font-size: 1.3rem;
    }
    .icon-whatsFloat {
        bottom: 25px;
        right: 25px;
        padding: 1rem;
        box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.4);
    }
    .icon-float {
        width: 40px;
        height: 40px;
    }
    /* -------- SECCION INICIO ------- */
    .inicio-span {
        display: block;
    }
    .beneficios-card {
        gap: 1.5rem;
    }
    .beneficios-icon {
        padding: 1.2rem;
        svg {
            width: 90px;
            height: 90px;
        }
    }
    /* -------- SECCION SERVICIOS ------ */
    .servicios-cards {
        grid-template-columns: repeat(3, 1fr);
    }
    .t-servicios {
        span {
            font-size: 1.5rem;
        }
    }
    .servicio-card {
        padding: 2.5rem 1.4rem;
    }
    /* --------- SECCION COBERTURA ---------- */
    .cobertura-1 {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
        gap: 2rem;
    }
    .cobertura-mapa {
        grid-column: 1/2;
        grid-row: 1/3;
    }
    .cobertura-lista {
        ul {
            margin-bottom: 0;
        }
    }
    /* ------SECCION HORARIOS ------- */
    .horarios-lista {
        .dias {
            font-size: 1.5rem;
        }
    }
    /* ------- SECCION CONTACTO --------- */
    .contacto-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
