/* Reset básico */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Open Sans', sans-serif;
}

body {
    background-color: #f4f4f4;
    color: #333;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #237061;
    color: #fff;
    padding: 10px 20px;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

main {
    margin-top: 70px;
}

header h1 {
    font-size: 1.8em;
}

header h1 a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: bold;
}

header h1 a:hover {
    color: #a6cf91;
}

nav {
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
}

nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 1em;
    position: relative;
    transition: color 0.3s ease;
}

nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 2px;
    background-color: #a6cf91;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

nav a:hover {
    color: #a6cf91;
}

nav a:hover::after {
    transform: scaleX(1);
}

/* ✅ Estilos para móviles */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: center;
        padding: 10px;
    }

    header h1 {
        display: none;
        /* Ocultamos el logo grande */
    }

    nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
        width: 100%;
    }

    nav a {
        font-size: 0.95em;
        padding: 8px 10px;
        border-radius: 5px;
        background-color: rgba(255, 255, 255, 0.1);
    }

    nav a::after {
        display: none;
    }
}


/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

/* Video */
.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

/* Overlay */
.overlay {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 2rem;
    border-radius: 10px;
    color: white;
}

.overlay2 {
    background-color: #237061;
    padding: 2rem;
    color: white;
}

/* Hero Heading */
.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

/* Hero Paragraph */
.hero p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

/* Button */
.btn {
    padding: 0.8rem 1.5rem;
    background-color: #a6cf91;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    display: block;
    margin: 20px auto 0;
    text-align: center;
}

/* Hover Effect for Button */
.btn:hover {
    background-color: #8bbf6b;
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Media Query for Mobile Devices */
@media (max-width: 768px) {

    /* Ajustes para logo */
    .logo {
        width: 250px;
    }

    /* Ajustar tamaño del encabezado */
    .hero h1 {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }

    /* Ajustar tamaño del párrafo */
    .hero p {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    /* Ajustar botón para móvil */
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 1.1rem;
    }

    /* Ajustar contenedor de la overlay en móviles */
    .overlay {
        padding: 1.5rem;
    }
}

/* Media Query for Large Screens (PC) */
@media (min-width: 1200px) {

    /* Para pantallas grandes */
    .logo {
        width: 350px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .btn {
        font-size: 1.2rem;
    }
}

/* Modal Overlay - Estimación */
#estimate-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(6px);
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 999;
}

/* Contenido del modal de estimación */
#estimate-modal-overlay .modal-content {
    background-color: white;
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid #ccc;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    max-width: 500px;
    width: 90%;
    position: relative;
    animation: fadeInScale 0.3s ease;
}

/* Cerrar modal de estimación */
#estimate-modal-overlay .close-btn {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Botón de llamada */
#estimate-modal-overlay .call-btn {
    background-color: #a6cf91;
    color: white;
    padding: 0.8rem 2rem;
    font-size: 1.1rem;
    border-radius: 8px;
    text-decoration: none;
    display: inline-block;
    margin-top: 1rem;
    transition: background-color 0.3s ease;
}

#estimate-modal-overlay .call-btn:hover {
    background-color: #237061;
}

/* Animación del modal */
@keyframes fadeInScale {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}


/* Section styles */
.section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: auto;
}

.section h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #237061;
}

/* Services and testimonials grid */
.services,
.testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.service,
.testimonial {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    
}
@media (max-width: 768px) {
    .service,
    .testimonial {
      font-size: 0.70rem;
      text-align: center;
      
    }
  
    .testimonials {
      display: flex;
      flex-direction: column;
      align-items: center;
    }
  }
  

#videoclip {
    padding: 60px 20px;
    max-width: 1200px;
    margin: auto;
}

.video-container {
    text-align: center;
}

.video-container video {
    border-radius: 10px;
}

#videoclip p {
    font-size: 1rem;
    margin-top: 20px;
    color: #333;
}

#portfolio {
    text-align: center;
    margin: 50px 0;
}

.carousel {
    position: relative;
    width: 80%;
    margin: 0 auto;
    overflow: hidden;
    display: flex;
    justify-content: center;
    /* Centra el carrusel horizontalmente */
}

.carousel-images {
    display: flex;
    transition: transform 1s ease-in-out;
}

.carousel-images img {
    width: 100%;
    height: auto;
    flex-shrink: 0;
    /* Evita que las im�genes se encojan */
    object-fit: cover;
    /* Mantiene la proporci�n de la imagen */
}

.carousel-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
}

.carousel-controls button {
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    font-size: 18px;
    cursor: pointer;
}

.carousel-controls button:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

.carousel {
    max-height: 2000px;
}

/* Sección que actúa como la barra o tira de fondo */
.cards-section {
    width: 100%;
    background-color: #237061;
    /* Color original de la barra */
    padding: 2rem 1rem;
}

/* Contenedor de tarjetas (PC por defecto) */
.card-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* 3 tarjetas por fila */
    gap: 1rem;
    margin: 0 auto;
    max-width: 1200px;
    /* Ancho máximo centrado */
}

/* Tarjeta */
.card {
    width: 100%;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    padding: 0;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: scale(1.05);
    cursor: pointer;
}

/* Imagen dentro de la tarjeta */
.card-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* --- Ajustes para móviles --- */
@media (max-width: 768px) {

    .card-wrapper {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
        padding: 1rem;
    }

    .card {
        flex: 1 1 calc(50% - 1rem);
        max-width: calc(50% - 1rem);
    }

    .card-image {
        width: 100%;
        height: auto;
    }

    .card:active {
        transform: scale(1.03);
        /* Sutil feedback al toque */
    }
}

/* --- Media query para pantallas grandes, por si es necesario afinar más aún --- */
@media (min-width: 1200px) {
    .card-wrapper {
        grid-template-columns: repeat(3, 1fr);
    }
}


/* Viewer de imagen en pantalla completa */
#image-viewer {
    display: none;
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

/* Imagen mostrada en pantalla completa */
#viewer-img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    animation: zoomIn 0.3s ease;
}

/* Flechas de navegaci�n */
.nav-btn {
    position: absolute;
    top: 50%;
    font-size: 2em;
    color: white;
    background: transparent;
    border: none;
    cursor: pointer;
    transform: translateY(-50%);
    padding: 10px;
}

#prev-btn {
    left: 20px;
}

#next-btn {
    right: 20px;
}

/* Bot�n de cierre */
#close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 2em;
    color: white;
    background: transparent;
    border: none;
    cursor: pointer;
}

/* Animaci�n de zoom */
@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.hidden {
    display: none;
}

.card-wrapper {
    background-color: #237061;
    padding: 2rem;
    display: flex;
    justify-content: center;
}

.image-gallery {
    display: flex;
    flex-direction: row;
    gap: 20px;
    /* Asegura un espacio entre las im�genes */
    justify-content: flex-start;
    /* Alinea las im�genes al inicio */
}

.image-gallery img {
    margin: 0;
    /* Elimina cualquier margen que pudiera causar espacio extra */
    padding: 0;
    /* Asegura que no haya padding extra */
    border: none;
    /* Elimina cualquier borde no deseado */
    outline: none;
    /* Asegura que no haya contornos */
    object-fit: cover;
    /* Asegura que las im�genes se ajusten correctamente sin distorsi�n */
    background-color: transparent;
    /* Asegura que no haya fondo blanco alrededor de las im�genes */
}

.card-image.hidden {
    display: none;
    /* Asegura que las im�genes con la clase "hidden" est�n ocultas */
}



.services {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    margin-top: 2rem;
}

.service {
    background-color: #f5f5f5;
    padding: 1.5rem;
    border-radius: 12px;
    max-width: 300px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 20px;
}

.service:hover {
    transform: translateY(-5px);
}

.service-description {
    display: none;
    margin-top: 10px;
    transition: all 0.3s ease;
}

.service-description.show {
    display: block;
}

.service-icon {
    width: 200px;
    height: auto;
}

.toggle-description {
    background-color: #e0f0d9;
    color: #4a4a4a;
    border: none;
    padding: 10px 20px;
    margin-top: 10px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.toggle-description:hover {
    background-color: #a6cf91;
    color: #fff;
}

.toggle-description:active {
    transform: scale(0.98);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.service h3 {
    margin-bottom: 10px;
}

.service p {
    margin-bottom: 15px;
}

/* --- AJUSTES PARA CELULAR --- */
@media (max-width: 768px) {
    .services {
        justify-content: center;
    }

    .service {
        flex: 1 1 calc(50% - 1rem);
        /* Dos servicios por fila */
        max-width: calc(50% - 1rem);
    }

    .service-icon {
        width: 100%;
        /* Ajustamos para mejor respuesta */
        max-width: 150px;
    }

    .service-description p {
        font-size: 0.65rem;
        line-height: 1.3;
    }

    .summary{
        font-size: 0.65rem;
        line-height: 1.3;
    }

}


.toggle-description {
    align-self: center;
    /* Centra el bot�n dentro de su contenedor */
}

footer {
    background-color: #237061;
    color: white;
    text-align: center;
    padding: 40px 20px;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    margin-bottom: 20px;
    text-align: center;
}

.footer-column {
    flex: 1 1 250px;
}

.footer-logo {
    max-width: 120px;
    margin-bottom: 15px;
}

.social-icons a {
    color: white;
    margin: 0 10px;
    font-size: 22px;
    text-decoration: none;
    transition: color 0.3s;
}

.social-icons2 a {
    color: #a6cf91;
    margin: 0 10px;
    font-size: 22px;
    text-decoration: none;
    transition: color 0.3s;
}

.social-icons2 a:hover {
    color: #a6cf91;
}

.social-icons a:hover {
    color: #a6cf91;
}

/* Fondo y título */
.testimonials-page {
    background-color: #237061;
    color: white;
    padding: 50px 0;
    text-align: center;
}

.testimonials-page h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    font-weight: bold;
}

/* Contenedor de testimonios */
.testimonial-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columnas por defecto en desktop */
    gap: 20px;
    margin: 0 auto;
    max-width: 1200px;
}

/* Estilo de cada testimonio (rectángulo grande) */
.testimonial {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Hover sobre el rectángulo del testimonio (se le añade contorno) */
.testimonial:hover {
    transform: translateY(-10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    border: 2px solid #a6cf91;
}

/* Foto del trabajo */
.testimonial .image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 20px;
}

.testimonial .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Rectángulo con estrellas de calificación */
.testimonial .rating {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.testimonial .rating .star {
    color: #ffcc00;
    margin-right: 5px;
    font-size: 1.2rem;
}

.testimonial .quote {
    font-size: 1rem;
    color: #555;
    font-style: italic;
    text-align: center;
    margin-top: 10px;
    line-height: 1.5;
}

/* Responsividad para dispositivos móviles */
@media (max-width: 768px) {
    /* Ajustar las columnas a 1 en pantallas pequeñas */
    .testimonial-container {
        grid-template-columns: 1fr; /* 1 columna */
        gap: 15px;
        padding: 0 15px;
        justify-items: center; /* CENTRAR los testimonios */
    }

    /* Reducir el tamaño de las tarjetas */
    .testimonial {
        padding: 15px; /* Reducir padding */
        max-width: 90%; /* Hacer las tarjetas más pequeñas */
        width: 100%; /* Asegurarse que no se expandan más de lo necesario */
        text-align: center; /* Asegurar que el texto esté centrado */
    }

    /* Reducir tamaño de la imagen */
    .testimonial .image {
        width: 60px; /* Imagen más pequeña */
        height: 60px;
    }

    .testimonial .quote {
        font-size: 0.9rem; /* Reducir tamaño de la cita */
    }

    /* Ajustar el título */
    .testimonials-page h2 {
        font-size: 2rem;
    }

     /* Cambiar el orden de los elementos */
     .leave-review {
        order: 1; /* Asegura que 'leave-review' se muestre primero */
    }

    .location-image {
        order: 2; /* Los elementos de imagen de la ubicación se muestran después */
    }

    /* Si tienes múltiples .location-image, también puedes especificar el orden de cada uno */
    .location-image:nth-child(2) {
        order: 3; /* Asegura que la segunda imagen se muestre después de la primera */
    }
}

/* Página de testimonios */
.testimonials-page {
    display: none;
    /* Ocultar por defecto */
}

/* Mostrar cuando la sección de testimonios tiene la clase 'active' */
.testimonials-page.active {
    display: block;
    /* Mostrar la sección activa de testimonios */
}

/* Sección de reseñas (deja una reseña y google) */
.review-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin: 40px auto;
    max-width: 1000px;
    /* Puedes aumentarlo si quieres más ancho */
    padding: 0 20px;
}

/* Contenedor de reseñas de Google */
.google-reviews-embed {
    flex: 1 1 400px;
    min-width: 300px;
    height: 400px;
}

/* Contenedor para dejar una reseña */
.leave-review {
    flex: 1 1 400px;
    min-width: 300px;
    background-color: #f7f7f7;
    border-radius: 12px;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.leave-review h2 {
    margin-bottom: 10px;
    color: #237061;
}

.leave-review p {
    color: #888;
    margin-bottom: 20px;
}

/* Botón para dejar reseña */
.review-button {
    background-color: #237061;
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.review-button:hover {
    background-color: #1a574e;
}





/* Estilo para la sección de contacto */
.contact-page.active {
    display: block;
}

/* Página de Contacto */
/* Mantén esto para controlar la visibilidad */
.contact-page {
    display: none;
    padding: 40px 20px;
    background-color: #f8f9f9;
    color: #333;
}

.contact-page.active {
    display: block;
}

/* Layout en dos columnas */
.contact-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 1200px;
    margin: auto;
    align-items: flex-start;
    justify-content: space-between;
}

.contact-info,
.contact-form {
    flex: 1 1 48%;
    min-width: 300px;
}

.contact-form {
    width: 100%;
    /* Para que los inputs llenen su columna */
}

.contact-info h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.contact-info p {
    font-size: 1rem;
    margin-bottom: 20px;
}

.contact-info .btn.call-btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: #237061;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    margin-bottom: 20px;
}

.contact-info .social-icons2 {
    display: flex;
    gap: 15px;
}

.contact-info .social-icons2 a {
    color: #237061;
    font-size: 1.5rem;
    transition: transform 0.2s ease;
}

.contact-info .social-icons2 a:hover {
    transform: scale(1.2);
}

/* Formulario de contacto */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.contact-form label {
    font-weight: bold;
    color: #237061;
    /* Verde corporativo */
}

.contact-form input,
.contact-form textarea {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    background-color: #f5f5f5;
    /* tono cálido suave */
    transition: border 0.3s, box-shadow 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #237061;
    box-shadow: 0 0 0 2px rgba(35, 112, 97, 0.15);
    outline: none;
}

.contact-form button {
    padding: 14px;
    background-color: #237061;
    /* Verde corporativo */
    color: #fff;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s;
}

.contact-form button:hover {
    background-color: #1d5b4f;
}

.contact-banner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 40px auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.contact-banner img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Responsividad para dispositivos móviles */
@media (max-width: 768px) {
    /* Centrar los elementos dentro de .contact-info */
    .contact-info {
        text-align: center; /* Centra todo el contenido */
    }

    /* Asegurarse que el botón también se centre */
    .contact-info .btn.call-btn {
        margin: 20px auto; /* Centra el botón y agrega espacio alrededor */
        display: inline-block;
    }

    /* Centrar los iconos de redes sociales */
    .contact-info .social-icons2 {
        justify-content: center; /* Centra los iconos horizontalmente */
    }

    .contact-info .social-icons2 a {
        margin: 0 10px; /* Espaciado entre los iconos */
    }
}


/* ------------------ MODAL ESTILOS ------------------ */

/* Contenedor general del modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    /* Oculto por defecto */
    justify-content: center;
    align-items: center;
    z-index: 999;
}

/* Capa que desenfoca el fondo */
.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(5px);
    /* Aquí ocurre el desenfoque */
    background-color: rgba(0, 0, 0, 0.3);
    /* Oscurece un poco */
    z-index: 1;
}

/* Contenido del modal (rectángulo blanco) */
.modal-content {
    position: relative;
    z-index: 2;
    /* Encima del desenfoque */
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    text-align: center;
    max-width: 400px;
    width: 90%;
    animation: fadeInUp 0.3s ease-out;
}

/* Animación de entrada */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Ícono (palomita o X) */
#modal-icon {
    font-size: 48px;
    margin-bottom: 1rem;
}

#modal-icon.success {
    color: #28a745;
    /* Verde palomita */
}

#modal-icon.error {
    color: #dc3545;
    /* Rojo X */
}

/* Texto del modal */
#modal-text {
    font-size: 18px;
    margin-bottom: 1rem;
}

/* Botón dentro del modal */
.modal-content .call-btn {
    background-color: #237061;
    color: white;
    padding: 10px 20px;
    border-radius: 10px;
    display: inline-block;
    text-decoration: none;
    transition: background-color 0.3s;
}

.modal-content .call-btn:hover {
    background-color: #1a524b;
}

/* Botón de cierre (X en la esquina) */
.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    background: transparent;
    border: none;
    font-size: 28px;
    color: #aaa;
    cursor: pointer;
}

.close-btn:hover {
    color: #333;
}

/* Estilo para el fondo desenfocado */
.modal-open {
    overflow: hidden;
    /* Prevenir el scroll del fondo */
}



/* Eliminar la línea que oculta el #testimonials-section */
#home-content,
#services-complete {
    display: none;
    /* Ocultar Home y Services al acceder a los testimonios */
}

/* Puedes eliminar o comentar esta línea si no deseas ocultar los testimonios en la sección de Contacto */
#testimonials-section {
    display: block;
    /* Asegura que los testimonios sean visibles */
}


footer {
    background: linear-gradient(to right, #237061, #1b594e);
    color: white;
    padding: 30px 20px 15px;
    text-align: center;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
    text-align: left;
}

.footer-column {
    flex: 1;
    min-width: 200px;
}

.footer-logo {
    max-width: 120px;
    margin-bottom: 10px;
    transition: transform 0.3s ease;
}

.footer-logo:hover {
    transform: scale(1.05);
    cursor: pointer;
}

footer p {
    margin: 5px 0;
    font-size: 0.95em;
}

footer a {
    color: #a6cf91;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #ffffff;
}

footer .copyright {
    margin-top: 20px;
    font-size: 0.85em;
    color: #ccc;
}

/* 🌐 Responsive: versión compacta para celulares */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-column {
        margin-bottom: 15px;
    }

    .footer-logo {
        max-width: 90px;
    }

    footer {
        padding: 20px 10px 10px;
    }

    footer p,
    footer .copyright {
        font-size: 0.85em;
    }

}


html {
    scroll-behavior: smooth;
}