* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Estilo inicial del nav */
.nav {
    width: 100%;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 50px;
    position: fixed;
    top: 0;
    z-index: 1001;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    background: linear-gradient(to right, rgb(245, 245, 245), rgb(255, 0, 0));
    transition: all 0.5s ease-in-out;
    border-radius:  0 0 10PX 10PX;
}

/* Estilo al hacer scroll */
.nav.scrolled {
    background: rgba(255, 255, 255, 0);
    box-shadow: none;
    height: 80px;
}

.logo {
    height: 60px;
    margin-left: 30px;
    user-select: none
}

.big-logo {
    height: auto;
    width: 150px;
    margin-top: 15px;
    background: white;
    padding: 5px;
    border-radius: 50px;
}

/* Contenedor de enlaces y botón */
.nav-items {
    display: flex;
    align-items: center;
    gap: 30px;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.nav.scrolled {
    background: rgba(255, 255, 255, 0);
    box-shadow: none;
    height: 80px;
}

.nav.scrolled .nav-items {
    opacity: 0;
    transform: translateY(-20px);
    pointer-events: none;
}


/* Estilo de enlaces */
.nav-items .link {
    text-decoration: none;
    color: rgb(255, 255, 255);
    /* gris oscuro para contraste */
    font-weight: 600;
    position: relative;
    transition: color 0.3s, text-shadow 0.3s;
    font-size: 18px;
}

.nav-items .link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: -5px;
    left: 0;
    background-color: #fff;
    transition: width 0.3s;
}


.nav-items .link:hover::after {
    width: 100%;
}

.nav-items .btn-contact {
    padding: 10px 25px;
    text-decoration: none;
    background-color: #ff0000;
    /* rojo vivo */
    color: #fff;
    border-radius: 8px;
    font-weight: 700;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s, transform 0.3s;
}

.nav-items .btn-contact:hover {
    background-color: #cc0000;
    transform: translateY(-2px);
}

.hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    margin-right: 30px;
    transition: all 0.4s ease;
    transform: translateY(-20px);
    position: fixed;
    top: 50px;
    right: 20px;
    z-index: 999;
    right: 20px;
    /* cerrado */

}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #ff0000;
    border-radius: 2px;
}

.hamburger.in-servicios span {
    background-color: #fff;
    /* Color nuevo cuando esté sobre la sección */
}

.nav.scrolled .hamburger {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

/* Mover hamburguesa cuando el sidebar está abierto */
.sidebar.active+.hamburger {
    right: 320px;
    /* abierto */
}

/* Sidebar oculto */
.sidebar {
    position: fixed;
    top: 0;
    right: -300px;
    /* oculto a la derecha */
    width: 300px;
    height: 100vh;
    background: linear-gradient(to bottom left, rgb(245, 245, 245), rgb(255, 0, 0));
    box-shadow: -3px 0 10px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    padding: 50px 40px;
    gap: 20px;
    transition: right 0.4s ease;
    z-index: 200;
    border-radius: 30px 0 0 30px;
}

/* Sidebar visible */
.sidebar.active {
    right: 0;
}

/* Links del sidebar */
.sidebar a {
    color: #fff;
    text-align: center;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    padding: 12px 0;
    border-radius: 6px;
    transition: all 0.3s ease;
    width: 100%;
}

.sidebar a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

/* Botón especial dentro del sidebar */
.sidebar .btn-contact {
    padding: 10px 20px;
    background-color: white;
    color: #ff0000;
    text-align: center;
    font-weight: bold;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.sidebar .btn-contact:hover {
    background-color: #ffcccc;
}

/* Links nav principales */
.nav-items .link:hover::after {
    width: 100%;
}


.panel {
    width: 100%;
    border-radius: 0 0 40px 40px;
    object-fit: cover;
    user-select: none
}

.welcome {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 60px;
    padding: 120px 80px 60px;
    background: radial-gradient(circle at top left, #ffffff, #f5f5f5);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
    border-radius: 30px;
    animation: fadeInUp 1s ease forwards;
    opacity: 0;
}

/* Animación de aparición suave */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.welcome-img {
    max-width: 320px;
    width: 100%;
    height: auto;
    border-radius: 50%;
    object-fit: contain;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease;
    user-select: none
}

.welcome-img:hover {
    transform: scale(1.05);
}

.descripcion {
    max-width: 600px;
    background-color: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.3s ease;
}

.descripcion:hover {
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.08);
}

.descripcion h1 {
    color: #d90000;
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.descripcion p {
    font-size: 1.15rem;
    color: #444;
    line-height: 1.8;
    text-align: justify;
}

.servicios {
    position: relative;
    padding: 100px 50px;
    background-color: #fff;
    text-align: center;
    box-shadow: inset 0 10px 20px rgba(0, 0, 0, 0.05);
    border-radius: 30px;
    overflow: hidden;
    /* Para que el triángulo no sobresalga */
}

.servicios::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 100%;
    background: linear-gradient(to bottom, #ff0000, #d90000);
    clip-path: polygon(100% 0, 0 0, 100% 100%);
}

.titulo-servicios {
    font-size: 2.8rem;
    color: #d90000;
    margin-bottom: 60px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 800;
}

.servicio-contenedor {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.servicio-card {
    background-color: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    width: 350px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.servicio-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);
}


.servicio-card img {
    margin-bottom: 20px;
    user-select: none
}

.servicio-card h3 {
    font-size: 1.5rem;
    color: #d90000;
    margin-bottom: 15px;
}

.servicio-card p {
    font-size: 1rem;
    color: #444;
    line-height: 1.6;
    padding: 10px;
}

.footer {
    background: linear-gradient(to left, #f5f5f5, #d90000);
    /* Rojo a la izquierda */
    color: #fff;
    padding: 60px 30px 20px;
    font-size: 16px;
    font-weight: 400;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    margin: auto;
    gap: 40px;
    flex-direction: row-reverse;
    /* Logo a la derecha */
}

.footer-logo img {
    height: 80px;
    user-select: none
}

.footer-info,
.footer-cert,
.footer-map {
    max-width: 250px;
}

.footer-info h4,
.footer-cert h4,
.footer-map h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.footer-info p,
.footer-cert p,
.footer-map p {
    margin: 5px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
}

.footer-map a {
    color: #fff;
    text-decoration: underline;
    transition: color 0.3s;
}

.footer-map a:hover {
    color: #ffe0e0;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    font-size: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    margin-top: 40px;
    color: #fff;
}


.somos {
    padding: 60px 20px;
    background: #f9f9f9;
    margin-top: 70px;
}

.somos-contenedor {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    max-width: 1100px;
    margin: auto;
    flex-wrap: wrap;
}

.somos-texto {
    flex: 1 1 400px;
}

.somos-texto h2 {
    font-size: 2.5rem;
    color: #d32f2f;
    /* Color de título */
    margin-bottom: 20px;
}

.somos-texto p {
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
    margin-bottom: 15px;
}

.somos-imagen {
    flex: 1 1 400px;
    text-align: center;
}

.somos-imagen img {
    width: 100%;
    max-width: 450px;
    border-radius: 15px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.somos-imagen img:hover {
    transform: scale(1.05);
}


.mision {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
    background: #fff;
    overflow: hidden;
    /* asegura que no sobresalga */
}

.mision::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    /* ahora en la izquierda */
    width: 150px;
    /* ancho del triángulo */
    height: 100%;
    border-radius: 10px;
    background: linear-gradient(to bottom, #ff0000, #d90000);
    clip-path: polygon(0 0, 100% 0, 0 100%);
    /* triángulo rectángulo */
}

.mision .text {
    display: flex;
    flex-direction: column;
    width: 600px;
    text-align: center;
    align-items: center;
}

.mision h3 {
    width: 300px;
}

.mision .img-mision {
    display: flex;
    flex-direction: column;
}

/*Vision*/
.vision {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    background: #fff;
    overflow: hidden;
    /* asegura que no sobresalga */
}

.vision::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    /* ahora en la derecha */
    width: 150px;
    /* ancho del triángulo */
    height: 100%;
    border-radius: 10px;
    background: linear-gradient(to bottom, #ff0000, #d90000);
    clip-path: polygon(100% 0, 0 0, 100% 100%);
    /* triángulo rectángulo a la derecha */
}


.vision .text {
    display: flex;
    flex-direction: column;
    width: 600px;
    text-align: center;
    align-items: center;
}

.vision h3 {
    width: 300px;
}

.vision .img-vision {
    display: flex;
    flex-direction: column;
}

.img-vision-2 {
    display: flex;
    justify-content: end;
}

.politicas {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    background: linear-gradient(to right, #eeeeee, #f8f8f8);
    margin-top: 80px;
    border-radius: 50% 50% 0 0;
    padding: 40px 20px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.05);
}

.item-politica {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 400px;
}

.item-politica h1 {
    font-size: 2rem;
    color: #d90000;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding-bottom: 5px;
}

.item-politica ol {
    list-style: none;
    padding-left: 0;
    font-size: 1.1rem;
    color: #444;
}

.item-politica li {
    margin: 8px 0;
    transition: transform 0.2s, color 0.2s;
    font-weight: 700;
}

.item-politica li:hover {
    color: #d90000;
    transform: translateX(5px);
    cursor: default;
}

.img-politica img {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.parent {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 10px;
    padding: 10px;
}

.div1 {
    grid-column: span 2;
}

.div2 {
    grid-column-start: 2;
    grid-row-start: 2;
}

.div3 {
    grid-column-start: 1;
    grid-row-start: 2;
}

/* Contenedor de imagen */
.image-container {
    position: relative;
    overflow: hidden;
}

.image-container img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

/* Overlay */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    transition: opacity 0.4s ease;
}

.image-container:hover .overlay {
    opacity: 1;
}

.overlay-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    max-width: 90%;
}

.overlay-content h3 {
    margin-bottom: 10px;
    font-size: 36px;
    color: #ff0000;
    font-weight: 700;
    line-height: 1.1;
    text-align: center;
}

.overlay-content p {
    font-size: 26px;
    margin-bottom: 15px;
    max-width: 300px;
    width: 100%;
    color: #fff;
    text-align: center;
}

.overlay-content button {
    padding: 10px 20px;
    background: #d90000;
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 18px;
    border-radius: 5px;
}

/* Modal pantalla completa */
.fullscreen-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    padding: 20px;
}

.fullscreen-modal.active {
    display: flex;
}

.fullscreen-content {
    max-width: 90%;
    max-height: 90%;
    text-align: center;
    color: white;
}

.fullscreen-content img {
    max-width: 100%;
    max-height: 70vh;
}

.overlay-content button:hover {
    background: #b71c1c;
}

/* Hover effect */
.image-container:hover img {
    transform: scale(1.05);
}

.image-container:hover .overlay {
    opacity: 1;
}

.image-container:hover .overlay-content {
    transform: translateY(0);
    opacity: 1;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 999;
    padding: 20px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 900px;
    width: 100%;
    color: white;
    animation: zoomIn 0.4s ease;
}

.modal-content img {
    max-width: 100%;
    border-radius: 8px;
    margin-bottom: 20px;
}

.modal-text {
    text-align: center;
}

.modal-text h2 {
    color: #cc0000;
    margin-bottom: 10px;
}

.close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: white;
    font-size: 40px;
    cursor: pointer;
}

/* Animaciones */
@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        background-color: rgba(0, 0, 0, 0);
    }

    to {
        background-color: rgba(0, 0, 0, 0.9);
    }
}

.contacto {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    gap: 50px;
    padding: 50px;
    border-radius: 15px;
    max-width: 1200px;
    margin: auto;
    flex-wrap: wrap;
}

/* Columna izquierda */
.left {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 400px;
}

.left h1 {
    font-size: 26px;
    color: #d90000;
}

.ubicacion p {
    font-size: 18px;
    color: #444;
}

/* Redes sociales */
.siguenos {
    display: flex;
    gap: 15px;
}

.siguenos button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background-color: #d90000;
    color: white;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, background 0.3s ease;
}

.siguenos button:hover {
    transform: scale(1.1);
    background-color: #a30000;
}

/* Columna derecha */
.rigth {
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 500px;
    width: 100%;
}

.rigth h1 {
    font-size: 26px;
    margin-bottom: 20px;
    color: #d90000;
}

/* Estilos del formulario */
.form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* Floating labels */
.form-group {
    position: relative;
    width: 100%;
}

.form-group input {
    width: 100%;
    padding: 14px 12px;
    font-size: 16px;
    border: 2px solid #ccc;
    border-radius: 8px;
    outline: none;
    background: transparent;
    transition: border 0.3s ease;
}

.form-group input:focus {
    border-color: #d90000;
}

.form-group label {
    position: absolute;
    left: 12px;
    top: 14px;
    color: #777;
    font-size: 16px;
    pointer-events: none;
    transition: 0.3s ease all;
}

/* Cuando el input está enfocado o tiene contenido */
.form-group input:focus+label,
.form-group input:not(:placeholder-shown)+label {
    top: -8px;
    left: 10px;
    font-size: 12px;
    color: #d90000;
    background: #ffffff;
    padding: 0 4px;
}

/* Botón enviar */
.form button {
    padding: 12px;
    background-color: #d90000;
    color: white;
    border: none;
    font-size: 18px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.form button:hover {
    background-color: #a30000;
}



.libro-reclamaciones-container {
    display: flex;
    max-width: 1200px;
    margin: 50px auto;
    gap: 40px;
    padding: 20px;
}

.info-left {
    flex: 1;
    padding: 30px;
    border-radius: 15px;
}

.info-left h2 {
    color: #d90000;
    margin-bottom: 20px;
}

.info-left p {
    font-size: 16px;
    margin-bottom: 15px;
}

.info-left ul {
    padding-left: 20px;
    margin-top: 10px;
}

.libro-reclamaciones {
    flex: 2;
    padding: 30px;
    border-radius: 15px;
}

.libro-reclamaciones h1 {
    text-align: center;
    color: #d90000;
    margin-bottom: 30px;
}

/* Grid de 3 columnas */
.form1 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

/* Floating labels */
.form-group1 {
    position: relative;
    width: 100%;
}

.form-group1 input,
.form-group1 select,
.form-group1 textarea {
    width: 100%;
    padding: 14px 12px;
    font-size: 16px;
    border: 2px solid #ccc;
    border-radius: 8px;
    outline: none;
    background: transparent;
    transition: border 0.3s ease;
    resize: vertical;
}

.form-group1 input:focus,
.form-group1 select:focus,
.form-group1 textarea:focus {
    border-color: #d90000;
}

.form-group1 label {
    position: absolute;
    left: 12px;
    top: 14px;
    color: #777;
    font-size: 16px;
    pointer-events: none;
    transition: 0.3s ease all;
}

.form-group1 input:focus+label,
.form-group1 select:focus+label,
.form-group1 textarea:focus+label,
.form-group1 input:not(:placeholder-shown)+label,
.form-group1 select:not([value=""])+label,
.form-group1 textarea:not(:placeholder-shown)+label {
    top: -8px;
    left: 10px;
    font-size: 12px;
    color: #d90000;
    background: #fff;
    padding: 0 4px;
}

.form-group1 textarea {
    min-height: 100px;
}

/* Radio buttons */
.radio-group1 {
    grid-column: span 3;
    display: flex;
    gap: 20px;
    align-items: center;
    margin-bottom: 10px;
}

.radio-group1 input[type="radio"] {
    margin-right: 8px;
}

/* Botón enviar */
.form1 button {
    grid-column: span 3;
    padding: 14px;
    background-color: #d90000;
    color: white;
    border: none;
    font-size: 18px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.form1 button:hover {
    background-color: #a30000;
}

/* Responsive */
@media (max-width: 1024px) {
    .nav-items {
        display: none;
        /* ocultar solo los enlaces */
    }

    .hamburger {
        display: flex !important;
        padding: 10px;
        border-radius: 10px;
        z-index: 10000;
    }

    .hamburger span {
        background-color: rgb(255, 255, 255);
        /* hamburguesa blanca */
    }

    .servicios::after {
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        width: 150px;
        height: 100%;
        background: transparent;
        clip-path: polygon(100% 0, 0 0, 100% 100%);
    }

    .panel {
        margin-top: 150px;
    }

    .sidebar {
        width: 200px;
        z-index: 1000000;
    }

    .sidebar.active+.hamburger {
        right: 210px;
        /* abierto */
    }

    .footer-container {
        flex-direction: column;
        /* Apilar elementos */
        align-items: center;
        text-align: center;
    }

    .footer-info,
    .footer-cert,
    .footer-map {
        max-width: 100%;
    }

    .mision,
    .vision {
        flex-direction: column;
        padding: 20px;
        align-items: center;
        text-align: center;
    }

    /* Asegurar que el texto vaya primero en mobile */
    .vision .text {
        order: -1;
        /* Esto pone el texto arriba */
    }

    .mision .text,
    .vision .text {
        width: 100%;
        padding: 10px;
    }

    .mision h3,
    .vision h3 {
        width: auto;
        font-size: 1.4rem;
    }

    .mision img,
    .vision img {
        max-width: 90%;
        height: auto;
    }

    .img-mision,
    .img-vision {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .mision::before {
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        /* ahora en la derecha */
        width: 150px;
        /* ancho del triángulo */
        height: 100%;
        border-radius: 10px;
        background: transparent;
        clip-path: polygon(100% 0, 0 0, 100% 100%);
        /* triángulo rectángulo a la derecha */
    }

    .vision::before {
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        /* ahora en la derecha */
        width: 150px;
        /* ancho del triángulo */
        height: 100%;
        border-radius: 10px;
        background: transparent;
        clip-path: polygon(100% 0, 0 0, 100% 100%);
        /* triángulo rectángulo a la derecha */
    }

    .img-vision-2 {
        display: flex;
        width: 100%;
        justify-content: center;
    }

    .parent {
        grid-template-columns: 1fr;
        /* Una columna */
        grid-template-rows: auto;
        margin-top: 120px;
    }

    .div1,
    .div2,
    .div3 {
        grid-column: span 1;
        grid-row: auto;
    }

    .image-container img {
        margin-top: 20px !important;
    }

    .overlay-content h3 {
        font-size: 23px;
    }

    .overlay-content p {
        font-size: 20px;
    }

    .overlay-content button {
        font-size: 16px;
        padding: 6px 12px;
    }

    .libro-reclamaciones-container {
        flex-direction: column;
        gap: 20px;
        padding: 10px;
    }

    .form1 {
        grid-template-columns: 1fr !important;
        display: flex;
        flex-direction: column;
        /* Fuerza una sola columna */
    }

    .radio-group1 {
        grid-column: span 1 !important;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .form1 button {
        grid-column: span 1 !important;
    }
}
@media (max-width: 768px) {
    /* NAV */
    .nav-items {
        display: none;
    }
    .hamburger {
        display: flex !important;
        padding: 10px;
        border-radius: 10px;
    }
    .hamburger span {
        background-color: rgb(255, 255, 255);
    }

    /* SIDEBAR */
    .sidebar {
        width: 200px;
    }
    .sidebar.active + .hamburger {
        right: 210px;
    }

    /* FOOTER */
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .footer-info,
    .footer-cert,
    .footer-map {
        max-width: 100%;
    }

    /* MISION / VISION */
    .mision,
    .vision {
        flex-direction: column;
        padding: 20px;
        align-items: center;
        text-align: center;
    }
    .vision .text {
        order: -1; /* Texto arriba */
    }
    .mision .text,
    .vision .text {
        width: 100%;
        padding: 10px;
    }
    .mision h3,
    .vision h3 {
        width: auto;
        font-size: 1.3rem;
    }
    .mision img,
    .vision img {
        max-width: 90%;
        height: auto;
    }
    .img-mision,
    .img-vision {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .mision::before,
    .vision::before {
        background: transparent;
    }
    .img-vision-2 {
        display: flex;
        width: 100%;
        justify-content: center;
    }

    /* GALERÍA DE SERVICIOS */
    .parent {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        margin-top: 100px;
    }
    .div1, .div2, .div3 {
        grid-column: span 1;
    }
    .image-container img {
        margin-top: 20px !important;
    }

    .overlay-content h3 {
        margin-top: 3px;
        font-size: 18px;
    }
    .overlay-content p {
        font-size: 14px;
    }
    .overlay-content button {
        font-size: 14px;
        padding: 6px 12px;
    }
    .img-servicio{
        height: 150px;
    }

    /* LIBRO DE RECLAMACIONES */
    .libro-reclamaciones-container {
        flex-direction: column;
        gap: 20px;
        padding: 10px;
    }
    .form1 {
        grid-template-columns: 1fr !important; /* Una sola columna */
        gap: 20px;
        display: flex;
        flex-direction: column;
    }
    .radio-group1 {
        grid-column: span 1 !important;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .form1 button {
        grid-column: span 1 !important;
    }
}
