* {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    vertical-align: baseline;
    box-sizing: border-box;
    zoom: 96.5%;
}

@font-face {
    font-family: 'Myriad Pro Regular';
    src: url('./fonts/Myriad Pro Regular.ttf Pro Regular.ttf') format('truetype');
}



html,
body {
    font-family: 'Myriad Pro Regular ', sans-serif;
    line-height: 1.6;
    width: 100%;
    height: 100%;
    text-align: center;
    color: #333;
    background: linear-gradient(to right, red, orange, yellow, green, blue, purple);
}


.lola {
    background: rgb(238, 248, 255);
    height: 20%;
}



/* MODULO 1 */
/* -_- (Logo y barra de navegación) */
.barra {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.95);
    padding: 1.5% 5%;
    position: fixed;
    top: 0;
    width: 100%;
    height: 125px;
    z-index: 1000;
    backdrop-filter: blur(10px);

}

/* Logo */
.logo img {
    padding-top:50px;
    width: 350px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.1);
}

/* Navbar (Escritorio) */
.navbar {
    display: flex;
    gap: 20px;
    align-items: center;
}

.navbar a {
    text-decoration: none;
    color: #333;
    font-size: 18px;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 5px;
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
}

.navbar a:hover {
    color: #007BFF;
}

.navbar a::after {
    content: "";
    display: block;
    width: 0%;
    height: 3px;
    background: #007BFF;
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.navbar a:hover::after {
    width: 100%;
}

/* Icono de menú hamburguesa */
.menu-icon {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1100;
}

.bar {
    width: 30px;
    height: 4px;
    background: #333;
    transition: all 0.3s ease;
}

/* Animación del icono cuando se abre */
.menu-icon.open .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.menu-icon.open .bar:nth-child(2) {
    opacity: 0;
}

.menu-icon.open .bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* Fondo oscuro con desenfoque */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    backdrop-filter: blur(5px);
    z-index: 900;
}

.overlay.active {
    visibility: visible;
    opacity: 1;
}

/* ========================
   RESPONSIVE
======================== */
@media (max-width: 991px) {
    .navbar {
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .menu-icon {
        display: flex;
    }

    .navbar {
        flex-direction: column;
        align-items: center;
        justify-content: start;
        position: fixed;
        top: 0;
        right: -100%;
        width: 250px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.95);
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        padding-top: 80px;
        transition: right 0.3s ease-in-out;
    }

    .navbar.open {
        right: 0;
    }

    .navbar a {
        display: block;
        width: 100%;
        text-align: center;
        font-size: 20px;
        padding: 15px 0;
    }
}

/* Mejoramos experiencia para celulares aún más pequeños */
@media (max-width: 480px) {
    .logo img {
        width: 130px;
    }

    .navbar {
        width: 200px;
        padding-top: 70px;
    }

    .navbar a {
        font-size: 18px;
    }
}



/* -_- Carrusel */
.carrusel {
    background: white;
    position: relative;
    width: 100%;
    margin: auto;
    overflow: hidden;
}

.carrusel-contenido {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carrusel-item {
    min-width: 100%;
    height: 100%;
}

.carrusel-item img {
    width: 100%;
    height: 100%;
    display: block;
}

.carrusel-indicadores {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10%;
}

.indicador {
    width: 10px;
    height: 10px;
    background-color: rgb(89, 91, 109);
    border-radius: 50%;
    cursor: pointer;
}

.indicador.active {
    background-color: rgba(2, 255, 242, 0.9);
}

/* Estilos para los botones de navegación */
.carrusel-prev,
.carrusel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    cursor: pointer;
    padding: 1.0% 1.1%;
    font-size: 20px;
    z-index: 10;
}

.carrusel-prev {
    left: 0.5%;
}

.carrusel-next {
    right: 0.5%;
}

.carrusel-prev:hover,
.carrusel-next:hover {
    background: rgba(0, 0, 0, 0.8);
}

/* ========================
   RESPONSIVE
======================== */
@media (max-width: 480px) {
    .carrusel {
        height: 220px;
    }

    .carrusel-contenido {
        display: flex;
        flex-wrap: nowrap;
        height: 100%;
        transition: transform 0.5s ease-in-out;
    }

    .carrusel-item {
        flex: 0 0 27%;
        max-width: 27%;
        height: 100%;
        overflow: hidden;
    }

    .carrusel-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        transform: scale(1.1);
    }


    .carrusel-contenido:active .carrusel-item img,
    .carrusel-contenido:focus .carrusel-item img {
        transform: scale(1);
    }
}


/* Contenedor de botones */
.floating-buttons {
    position: fixed;
    bottom: 2%;
    right: 0.5%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 1000;
}

/* Estilo general de botones */
.whatsapp-btn {
    background-color: #0051ffa5;
    color: rgb(255, 255, 255);
    border: none;
    padding: 0.75rem;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0px 4px 15px rgba(0, 102, 255, 0.8);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    width: 145px;
    text-align: center;
    font-size: 1rem;
    font-weight: bold;
}

/* Imagen del ícono */
.whatsapp-btn img {
    width: 2.4rem;
    height: 2.4rem;
    margin-top: 5px;
}

.whatsapp-arrow {
    font-size: 1rem;
    color: white;
    margin-top: 4px;
    animation: brillitos 1s infinite alternate;
}

/* Panel de sucursales */
.sucursales {
    position: fixed;
    background: white;
    border-radius: 8px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    padding: 0 1rem; 
    transform: translateY(10px);
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease, max-height 0.4s ease, padding 0.3s ease;
    pointer-events: none;
    z-index: 9999;
    width: 220px;
}

#sucursales1 {
    bottom: 25%;
    right: 10%;
}

#sucursales2 {
    bottom: 15%;
    right: 10%;
}

#sucursales3 {
    bottom: 5%;
    right: 10%;
}

.whatsapp-btn .whatsapp-arrow {
    font-size: 1rem;
    color: white;
    margin-top: 4px;
    transition: transform 0.3s ease;
    animation: brillitos 1s infinite alternate;
}

.whatsapp-btn.active-arrow .whatsapp-arrow {
    transform: rotate(180deg);
}

.sucursales.active {
    opacity: 1;
    transform: translateY(0);
    max-height: 500px; 
    padding: 1rem;
    pointer-events: auto;
}

.sucursales-title {
    font-weight: bold;
    font-size: 1rem;
    color: #004aad;
    margin-bottom: 10px;
    text-align: center;
}

.sucursales a {
    display: block;
    padding: 0.6rem;
    text-decoration: none;
    color: #004aad;
    font-weight: bold;
    background: #f1f1f1;
    border-radius: 5px;
    margin: 6px 0;
    font-size: 0.9rem;
    transition: background 0.2s;
}

.sucursales a:hover {
    background: #99c8f1;
}

/* Brillo flecha */
@keyframes brillitos {
    from {
        opacity: 0.6;
    }

    to {
        opacity: 1;
    }
}

/* ========================
   📱 Responsive para móviles
   ======================== */
 @media screen and (max-width: 768px) {
        .floating-buttons {
            bottom: 0.8%;
            right: 0.5%;
            gap: 6px;
        }

        .whatsapp-btn {
            width: 100px;
            padding: 0.4rem;
            font-size: 0.8rem;
        }

        .whatsapp-btn img {
            width: 1.5rem;
            height: 1.5rem;
        }

        .whatsapp-arrow {
            font-size: 0.9rem;
        }
    }






/* -_- Sección (Productos) */
.categorias {
    background: linear-gradient(135deg, #f4f6fa, #e8edf5);
    padding: 2.5% 0%;
}

.nuestrop {
    color: #0056b3;
    font-size: 3rem;
    font-weight: 800;
    text-transform: uppercase;
    text-align: center;
    letter-spacing: 2px;
    text-shadow: 0 2px 8px rgba(0, 86, 179, 0.3);
    position: relative;
}


.nuestrop::after {
    content: '';
    width: 60px;
    height: 4px;
    background: #007BFF;
    display: block;
    margin: 10px auto 0;
    border-radius: 5px;
}

.box-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5%;
    justify-content: center;
    margin-top: 3%;
}

.producto {
    background: #f8fafc;
    width: auto;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
    margin-top: 1.5%;
    transition: transform 0.3s ease;
}

.producto:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.producto img {
    width: auto;
    height: 240px;
    object-fit: cover;
    border-bottom: 2px solid #f0f0f0;
}

.producto h2 {
    margin: 10px 0;
    font-size: 24px;
    color: #333;
}

.producto a {
    display: inline-block;
    margin-top: 10px;
    color: #000000;
    font-size: 22px;
    text-decoration: none;
    transition: color 0.3s ease;
    cursor: pointer;
}

.producto a:hover {
    color: #1417c5;
}

/* Estilos del modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    inset: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    overflow: hidden;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background-color: transparent;
    width: 90%;
    height: 90%;
    max-width: 1200px;
    max-height: 90%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: slideDown 0.5s ease;
}

.modal-content img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 10px;
}

.close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: rgb(0, 0, 0);
    cursor: pointer;
    z-index: 1100;
}

.close:hover {
    color: #ff0000;
}

@keyframes slideDown {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}


/* ========================
   RESPONSIVE
======================== */
@media (max-width: 768px) {
    .categorias {
        padding: 2% 3%;
        /* Reducimos espacio lateral */
    }

    .box-container {
        gap: 2%;
        justify-content: center;
    }

    .producto {
        width: 45%;
        height: auto;
        margin-top: 3%;
    }

    .producto img {
        height: 180px;
    }
}

@media (max-width: 480px) {
    .categorias {
        padding: 2% 2%;
        /* Aún menos margen */
    }

    .producto {
        width: 100%;
        max-width: 100%;
        height: auto;
        padding: 2%;
        margin: 3% 0;
    }

    .producto img {
        height: 160px;
    }
}

@media (max-width: 480px) {
    .box-container {
        position: relative;
        overflow: hidden;
        flex-wrap: nowrap;
    }

    .producto {
        flex: 0 0 100%;
        max-width: 100%;
        display: none;
    }

    .producto.active {
        display: block;
    }
}



/* -_- Galería General */
.galeriac {
    background: linear-gradient(135deg, #f4f6fa, #e8edf5);
    padding: 5% 3.5%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4%;
}

/* Contenedor principal */
.galeria-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2%;
    width: 100%;
    height: 100%;
    padding-top: 5%;
    position: relative;
    flex-wrap: wrap;
}

/* Carrusel de imágenes (izquierda) */
.gallery-block {
    flex: 3;
    display: flex;
    flex-direction: column;
    gap: 1%;
}

.galeria {
    display: flex;
    height: 330px;
    overflow: hidden;
    border-radius: 15px;

}

.galeria img {
    width: 10px;
    flex-grow: 1;
    object-fit: cover;
    opacity: 0.8;
    transition: all 0.5s ease;
}

.galeria img:hover {
    width: 180px;
    opacity: 1;
    filter: contrast(120%) brightness(1.1);
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3), inset 0 0 10px rgba(255, 255, 255, 0.5);
}

.logo-pequeno {
    height: 90%;
    width: 100%;
    filter: drop-shadow(0 0 15px rgba(0, 26, 101, 0.5));
    transition: transform 0.3s ease, filter 0.3s ease;
    border-radius: 10px;
}

.logo-pequeno:hover {
    transform: scale(1.03);
    filter: drop-shadow(0 0 20px rgba(0, 26, 101, 0.8));
}

/* Pie de foto: bajo ambos */
.pie {
    background: #001a65;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
    width: 100%;
}

/* ========================
   RESPONSIVE
======================== */
@media (max-width: 992px) {
    .galeriac {
        padding: 30px 5%;
    }

    .galeria-container {
        flex-direction: column;
        width: 100%;
    }

    .gallery-block,
    .galeria,
    .texto-container {
        width: 100%;
        height: auto;
    }

    .logo-pequeno {
        height: 200px;
    }

    .pie {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .pie {
        font-size: 14px;
    }
}






/* MODULO 2 */
/* -_- SUCURSALES */
.sucur {
    background: linear-gradient(135deg, #8fe5fd, #696969);
    padding: 2%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Título  */
.titles {
    font-size: 50px;
    font-weight: 700;
    text-transform: uppercase;
    color: #0056b3;
    animation: brillo 1.5s infinite alternate;
    text-align: center;
    margin-bottom: 20px;
}

/* Mapa arriba */
.mapa {
    width: 100%;
    margin-bottom: 30px;
}

.mapa-interactivo {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Sucursales en fila horizontal */
.sucursal-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    width: 100%;
    max-width: 1200px;
}

.sucursal-box {
    flex: 1 1 calc(25% - 20px);
    background-color: #ffffff;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 255, 247, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-transform: uppercase;
}

.sucursal-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.sucursal-box img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 15px;
}

.sucursal-box a {
    display: block;
    font-size: 22px;
    font-weight: bold;
    color: #201752;
    border-bottom: 3px solid #00bfff;
    margin-bottom: 10px;
    text-decoration: none;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.sucursal-box a:hover {
    color: #2600ff;
    border-color: #2600ff;
}

.sucursal-box h3 {
    font-size: 16px;
    color: #2c3e50;
    margin: 6px 0;
}

/* Reseñas */
.reseñas {
    background: #261d58d1;
    padding: 2%;
    text-align: center;
    margin-top: 40px;
}

.boton-reseñas {
    background-color: #00bfff;
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(0, 191, 255, 0.4);
}

.boton-reseñas:hover {
    background-color: #009acd;
}

/* ========================
   RESPONSIVE
======================== */

@media (max-width: 992px) {
    .sucursal-box {
        flex: 1 1 calc(50% - 20px);
    }
}

@media (max-width: 600px) {
    .titles {
        font-size: 30px;
    }

    .sucursal-box {
        flex: 1 1 100%;
    }

    .boton-reseñas {
        font-size: 16px;
        padding: 12px 20px;
    }

    .mapa-interactivo iframe {
        height: 300px;
    }
}


/* -_- Sección de Preguntas Frecuentes */


.preguntas {
    background: linear-gradient(135deg, #f4f6fa, #e8edf5);
    padding: 100px 5% 60px;
    display: flex;
    justify-content: center;
    scroll-margin-top: 120px;
}

.faq-wrapper {
    width: 100%;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.faq-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 800;
    color: #0056b3;
    text-transform: uppercase;
    text-shadow: 0 2px 8px rgba(0, 86, 179, 0.3);
    margin-bottom: 40px;
    position: relative;
    animation: brillos 1.5s infinite alternate;
}

.faq-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #007BFF;
    border-radius: 5px;
}

.faq-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    padding: 40px;
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1), 0 0 20px rgba(0, 123, 255, 0.1);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    transition: box-shadow 0.4s ease;
}

.faq-item {
    border-bottom: 1px solid #ccc;
    margin-bottom: 20px;
    padding-bottom: 10px;
}

.faq-question {
    background: #eef2fb;
    color: #002b5c;
    border: none;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 15px 20px;
    font-weight: 600;
    border-radius: 10px;
    transition: background 0.3s, transform 0.2s;
}

.faq-question:hover {
    background: #007BFF;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.faq-icon {
    transition: transform 0.3s ease;
    font-size: 22px;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out, padding 0.5s;
    background: #f8f9fd;
    padding: 0 20px;
    border-radius: 0 0 10px 10px;
    color: #333;
    font-size: 16px;
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    max-height: 400px;
    padding: 15px 20px;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

/* Responsive */
@media (max-width: 600px) {
    .faq-title {
        font-size: 2rem;
    }

    .faq-container {
        padding: 20px;
    }

    .faq-question {
        font-size: 16px;
        padding: 12px 15px;
    }

    .faq-answer {
        font-size: 14px;
        padding: 0 15px;
    }

    .faq-item.active .faq-answer {
        padding: 12px 15px;
    }
}




/* -_- sección ¿Quiénes somos? */

.somos {
    background: linear-gradient(135deg, #f4f6fa, #e8edf5);
    color: #000;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 5% 5%;
    text-align: center;
}

.title {
    font-size: 3rem;
    font-weight: 800;
    color: #0056b3;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 2px 8px rgba(0, 86, 179, 0.3);
    position: relative;
    animation: brillos 1.5s infinite alternate;
}

.title::after {
    content: '';
    width: 60px;
    height: 4px;
    background: #007BFF;
    display: block;
    margin: 10px auto 0;
    border-radius: 5px;
}

.oculto {
    display: none;
}

.somos-contenido {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 100%;
    margin-top: 20px;
}

.text-content {
    width: 50%;
    padding: 20px;
    color: #333;
    text-align: justify;
    background: #ffffff;
    border-radius: 15px;

}

.text-content .parrafo {
    font-size: 1.2rem;
    margin-bottom: 15px;
    line-height: 1.8;
    font-weight: 500;
    color: #222;
}

.image-content {
    width: 50%;
    height: 100%;
    text-align: center;
    animation: fadeInUp 1.2s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.banner-img {
    width: 50%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.banner-img:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.eslogan {
    margin-top: 30px;
    font-size: 1.4rem;
    font-style: italic;
    color: #007BFF;
    font-weight: 600;
    text-shadow: 1px 1px 6px rgba(0, 123, 255, 0.2);
    transition: all 0.4s ease-in-out;
}

.eslogan:hover {
    color: #003e80;
    text-shadow: 0 0 12px rgba(0, 123, 255, 0.5);
}

/* ========================
   RESPONSIVE
======================== */

@media (max-width: 992px) {

    .text-content,
    .image-content {
        width: 100%;
        margin-bottom: 30px;
    }

    .banner-img {
        max-width: 300px;
    }

    .title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .text-content .parrafo {
        font-size: 1.1rem;
    }

    .eslogan {
        font-size: 1.2rem;
    }

    .banner-img {
        max-width: 250px;
    }

    .title {
        font-size: 2.2rem;
    }
}

@media (max-width: 480px) {
    .text-content {
        padding: 15px;
    }

    .text-content .parrafo {
        font-size: 1rem;
    }

    .eslogan {
        font-size: 1.1rem;
    }

    .title {
        font-size: 2rem;
    }

    .banner-img {
        max-width: 220px;
    }
}




/* -_- pqrs */
.pqrs {
    background: linear-gradient(135deg, #f4f6fa, #e8edf5);
    padding: 15% 10%;
    color: #000000;
    text-align: center;
}

.pqrs-container {
    background: linear-gradient(135deg, #00c8ff77, #3636367d);
    padding: 4%;
    border-radius: 15px;
    box-shadow: 0 0 30px 10px rgba(0, 255, 255, 0.486);
    width: 90%;
    margin: 4% auto;
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    color: rgb(255, 255, 255);
}

.section {
    flex: 1;
    justify-items: center;
}

.section-logo img {
    width: 60%;
    height: 75%;
    transition: transform 0.5s ease-in-out;
}

.section-logo img:hover {
    transform: rotate(15deg) scale(1.1);
    /* Movimiento al pasar el mouse */
}

/* Texto descriptivo */
.section-text p {
    font-size: 25px;
    color: #000000;
    margin: 0;
    text-align: left;
}

/* Botón principal */
.section-button button {
    padding: 14px 25px;
    border: none;
    background: #000000;
    color: #ffffff;
    cursor: pointer;
    border-radius: 30px;
    font-weight: bold;
    font-size: 20px;
    transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
}

.section-button button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px 5px rgba(0, 255, 255, 0.486);
    /* Efecto de brillo */
    background: linear-gradient(45deg, #0000005b, #007bff54);
}

/* Overlay para el modal */
.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.overlay.mostrar {
    display: block;
    opacity: 1;
}

/* Estilos del formulario modal */
.formulario {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    opacity: 0;
    background: #ffffff;
    padding: 25px 30px;
    border-radius: 15px;
    box-shadow: 0 0 15px 5px rgba(0, 255, 255, 0.486);
    /* Brillo por fuera */
    width: 90%;
    max-width: 420px;
    z-index: 1000;
}

.formulario.mostrar {
    display: block;
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* Encabezado del formulario */
.form-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.form-header h2 {
    margin: 0;
    font-size: 20px;
    color: #007bff6d;
}

.close-button {
    font-size: 24px;
    color: #777;
    cursor: pointer;
    transition: color 0.3s;
}

.close-button:hover {
    color: #000;
}

/* Inputs y textarea */
input,
textarea {
    width: 100%;
    padding: 1.2%;
    margin: 1% 0;
    border: 1px solid #ffffff;
    border-radius: 8px;
    font-size: 15px;
    box-shadow: inset 0 2px 8px rgba(0, 255, 255, 0.486);
    transition: border-color 0.3s ease;
}



/* Botón de envío del formulario */
.formulario button[type="submit"] {
    padding: 12px 25px;
    border: none;
    background: linear-gradient(45deg, #007bff77, #00c8ff7b);
    color: white;
    cursor: pointer;
    border-radius: 30px;
    font-weight: bold;
    font-size: 16px;
    width: 100%;
    margin-top: 10px;
}

.formulario button[type="submit"]:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.8);
}

/* ========================
   RESPONSIVE
======================== */

@media (max-width: 992px) {
    .pqrs-container {
        width: 100%;
        flex-direction: column;
        padding: 20px;
    }

    .section {
        width: 100%;
        margin-bottom: 20px;
    }

    .section-logo img {
        width: 150px;
        height: 150px;
    }

    .section-text p {
        font-size: 18px;
    }

    .section-button button {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .pqrs {
        padding: 60px 5%;
    }

    .pqrs-container {
        flex-direction: column;
        padding: 15px;
    }

    .section-logo img {
        width: 130px;
        height: 130px;
    }

    .section-text p {
        font-size: 16px;
    }

    .section-button button {
        font-size: 16px;
        padding: 12px 20px;
    }
}

@media (max-width: 480px) {
    .pqrs {
        padding: 40px 5%;
    }

    .pqrs-container {
        padding: 10px;
        flex-direction: column;
    }

    .section-logo img {
        width: 120px;
        height: 120px;
    }

    .section-text p {
        font-size: 14px;
    }

    .section-button button {
        font-size: 14px;
        padding: 10px 18px;
    }
}




/*MODULO 3*/


/* -_- pie de pagina */
.footer {
    background: linear-gradient(135deg, #8fe5fd, #696969);
    color: #000000;
    padding: 20px 0;
    text-align: center;
    position: relative;
    bottom: 0;
    width: 100%;
    font-size: 18px;
}

.footer-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
}

.footer-section {
    flex: 1;
    padding: 20px;
    text-align: center;
}

.logo-text {
    font-size: 25px;
    color: #fff;
}

.socials {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.socials a {
    margin: 10px;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    font-size: 30px;
    color: #ffffff;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgb(3, 230, 255);
    transition: transform 0.3s, background 0.3s;
}

.socials a.facebook:hover {
    background: #3b5998;
}

.socials a.instagram:hover {
    background: #e4405f;
}

.socials a.tiktok:hover {
    background: #5f5555;
}

.contact span {
    display: block;
    margin: 10px 0;
}

.footer-bottom {
    padding: 10px 0;
    background: #3070b5;
    color: #ffffff;
}

.legal-link {
    color: #000000;
    text-decoration: underline;
    cursor: pointer;
    font-weight: 600;
    font-size: 17px;
    margin: 0 8px;
    transition: color 0.3s ease;
}

.legal-link:hover {
    color: #7a7e02d7;
}

.legal-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    background-color: rgba(0, 0, 0, 0.75);
    padding: 40px 20px;
}

.legal-content {
    background-color: #000000;
    margin: 0 auto;
    padding: 40px;
    border-radius: 16px;
    max-width: 800px;
    font-family: 'Segoe UI', sans-serif;
    color: #333;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    position: relative;
    text-align: left;
}

.legal-content h2 {
    color: #0D47A1;
    font-size: 30px;
    font-weight: bold;
    margin-bottom: 10px;
}

.legal-content h3 {
    color: #1A237E;
    font-size: 20px;
    margin-top: 25px;
}

.legal-content p,
.legal-content li {
    font-size: 16px;
    line-height: 1.8;
}

.legal-content ul {
    padding-left: 20px;
    list-style-type: disc;
}

.legal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 36px;
    font-weight: bold;
    color: #999;
    cursor: pointer;
    transition: color 0.3s ease;
}

.legal-close:hover {
    color: #E53935;
}

.legal-footer {
    font-size: 14px;
    color: #777;
    text-align: left;
    margin-top: 40px;
}

/* ========================
   RESPONSIVE
======================== */

/* Tablets grandes y laptops medianas */
@media (max-width: 992px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
    }

    .footer-section {
        width: 100%;
        padding: 10px;
    }

    .logo-text {
        font-size: 20px;
    }

    .socials a {
        font-size: 24px;
        width: 50px;
        height: 50px;
    }

    .footer-bottom {
        font-size: 16px;
    }
}

/* Tablets pequeñas */
@media (max-width: 768px) {
    .footer {
        padding: 15px 0;
        font-size: 16px;
    }

    .footer-container {
        flex-direction: column;
        align-items: center;
    }

    .footer-section {
        width: 100%;
        padding: 10px;
    }

    .logo-text {
        font-size: 18px;
    }

    .socials a {
        font-size: 22px;
        width: 50px;
        height: 50px;
    }

    .footer-bottom {
        font-size: 14px;
    }
}

/* Celulares */
@media (max-width: 480px) {
    .footer {
        padding: 10px 0;
        font-size: 14px;
    }

    .footer-container {
        flex-direction: column;
        align-items: center;
    }

    .footer-section {
        width: 100%;
        padding: 8px;
    }

    .logo-text {
        font-size: 16px;
    }

    .socials a {
        font-size: 20px;
        width: 45px;
        height: 45px;
    }

    .footer-bottom {
        font-size: 12px;
    }
}