body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
  }
  
  header {
    background-color: #A3D9A5;
    padding: 20px;
    text-align: center;
    color: white;
  }
  
  .service {
    margin: 20px;
    padding: 15px;
    background: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  
  body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
}

/* HEADER */
#hero {
    height: 550px;
    color: white;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-size: cover;
    background-position: center;
    transition: background-image 1s ease-in-out;
    
}
/* Ajusta texto en movimiento del slider */
#hero-text {
    font-size: 3rem; /* Ajusta según prefieras */
    font-weight: 800;
    text-shadow: 
        -1px -1px 0 #000,  
         1px -1px 0 #000,  
        -1px  1px 0 #000,  
         1px  1px 0 #000; /* Borde negro */
}


.btn {
    background: #4CAF50;
    padding: 10px 20px;
    color: white;
    text-decoration: none;
    border-radius: 5px;
}

/* NAVBAR */

.nav-links a.active {
    color: #fff;
    font-weight: bold;
}
.navbar .nav-links a.active::after {
    width: 100%;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;  /* Reducimos el padding lateral */
    background-color: #6AB187;
    position: fixed;
    width: 100%;
    max-width: 100vw; /* Evita que sobrepase el ancho de la pantalla */
    top: 0;
    left: 0;
    z-index: 1000;
    box-sizing: border-box; /* Asegura que los márgenes no sobrepasen el ancho */
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 10px;  /* Reducimos el espacio entre los enlaces */
    flex-wrap: nowrap; /* Evita que los enlaces bajen de línea */
    overflow: hidden; /* Evita que se desborden */
}

.nav-links li a {
    position: relative;
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    padding: 8px 15px;
    display: inline-block;
    transition: color 0.3s ease;
}

/* Efecto de la barra */
.navbar .nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 3px; /* Grosor de la barra */
    background-color: white;
    transition: width 0.3s ease-out;
}

/* Al pasar el cursor */
.navbar .nav-links a:hover::after {
    width: 100%;
}

/* MENU HAMBURGUESA PARA MÓVILES */
.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: white;
}

/* RESPONSIVE: Navbar en móviles */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        background: #6AB187;
        width: 100%;
        position: absolute;
        top: 60px;
        left: 0;
        text-align: center;
        padding: 10px 0;
    }
    .nav-links.active {
        display: flex;
    }
    .menu-toggle {
        display: block;
    }
}
@media (max-width: 1024px) { /* Para tablets y móviles */
    .nav-links {
        display: none; /* Ocultamos los enlaces en móviles */
        flex-direction: column;
        background: #6AB187;
        width: 100%;
        position: absolute;
        top: 60px;
        left: 0;
        text-align: center;
        padding: 10px 0;
    }
    .nav-links.active {
        display: flex;
    }
    .menu-toggle {
        display: block;
        font-size: 24px;
        cursor: pointer;
        color: white;
        padding: 10px;
    }
}

/* SECCIONES */
section {
    padding: 30px 10%;
}
h2 {
    text-align: center;
    color: #333;
}

.blog-cards, .store-categories {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* RESPONSIVE: Poner cada tarjeta en una sola columna */
@media (max-width: 768px) {
    .blog-card, .category-card {
        width: 100%;
        text-align: center;
    }
}

.about-container {
    display: flex;
    gap: 20px;
    align-items: center;
}

.about-images img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

/* RESPONSIVE: Alinear "About Me" en una columna en móviles */
@media (max-width: 768px) {
    .about-container {
        flex-direction: column;
        text-align: center;
    }
}

/* BOTONES ESTILIZADOS PARA TODA LA WEB */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #6AB187; /* Verde principal */
    color: white;
    text-decoration: none;
    padding: 12px 30px; /* Botón más ancho */
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    border: 2px solid white;
    transition: background 0.3s, transform 0.2s;
    position: relative;
}

/* Flecha a la derecha */
.btn::after {
    content: " →";
    font-size: 1.2rem;
    margin-left: 10px;
    transition: margin-left 0.3s;
}

/* Hover: cambio a tono azul */
.btn:hover {
    background-color: #417B9C; /* Azul resalte */
    transform: scale(1.05);
}

/* Animación sutil en la flecha */
.btn:hover::after {
    margin-left: 15px;
}


/* SERVICES Y RESPONSIVE */

#services {
    text-align: center;
    padding: 60px 20px;
    background-color: #f4f4f4;
}

#services h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #333;
}

.service-cards {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.service-card {
    position: relative;
    width: 320px;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    background-color: #6AB187; /* Fondo base en cada tarjeta */
    
}

.service-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.1); /* Capa de transparencia */
    z-index: 1;
}

/* Imágenes de fondo con transparencia */
.service-card:nth-child(1) {
    background: linear-gradient(rgba(106, 177, 135, 0.8), rgba(106, 177, 135, 0.6)), 
                url('../img/services-1.jpg') center/cover no-repeat;
}
.service-card:nth-child(2) {
    background: linear-gradient(rgba(106, 177, 135, 0.8), rgba(106, 177, 135, 0.6)), 
                url('../img/services-2.jpg') center/cover no-repeat;
}
.service-card:nth-child(3) {
    background: linear-gradient(rgba(106, 177, 135, 0.8), rgba(106, 177, 135, 0.6)), 
                url('../img/services-3.jpg') center/cover no-repeat;
}


/* Contenido dentro de la tarjeta */
.service-card h3,
.service-card p,
.service-card .btn {
    position: relative;
    z-index: 2;
}

.service-card h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.service-card p {
    font-size: 1rem;
    padding: 0 15px;
    margin-bottom: 25px;
}


/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
    .service-cards {
        flex-direction: column;
        align-items: center;
    }

    .service-card {
        width: 90%;
        height: 350px;
    }

    .service-card h3 {
        font-size: 1.4rem;
    }

    .service-card p {
        font-size: 0.95rem;
    }

    .service-card .btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .service-card {
        width: 95%;
        height: 320px;
    }

    .service-card h3 {
        font-size: 1.2rem;
    }

    .service-card p {
        font-size: 0.9rem;
    }

    .service-card .btn {
        padding: 7px 14px;
        font-size: 0.85rem;
    }
}

/* STORE */

#store {
    text-align: center;
    padding: 60px 20px;
    background-color: #f4f4f4;
}

#store h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #333;
}

/* Contenedor de categorías */
.store-categories {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Tarjetas de categoría */
.category-card {
    position: relative;
    width: 260px;
    height: 320px;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    background-color: #6AB187; /* Fondo base */
    cursor: pointer;
    transition: transform 0.3s;
}

.category-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3); /* Transparencia */
    z-index: 1;
}

/* Imágenes de fondo */
.category-card:nth-child(1) {
    background: linear-gradient(rgba(106, 177, 135, 0.6), rgba(106, 177, 135, 0.6)), 
                url('../img/dog-food.jpg') center/cover no-repeat;
}
.category-card:nth-child(2) {
    background: linear-gradient(rgba(106, 177, 135, 0.6), rgba(106, 177, 135, 0.6)), 
                url('../img/cat-food.jpg') center/cover no-repeat;
}
.category-card:nth-child(3) {
    background: linear-gradient(rgba(106, 177, 135, 0.6), rgba(106, 177, 135, 0.6)), 
                url('../img/toy.jpg') center/cover no-repeat;
}
.category-card:nth-child(4) {
    background: linear-gradient(rgba(106, 177, 135, 0.6), rgba(106, 177, 135, 0.6)), 
                url('../img/beds.jpg') center/cover no-repeat;
}

/* Efecto al pasar el cursor */
.category-card:hover {
    transform: scale(1.05);
}

/* Botón dentro de cada categoría */
.category-card .btn {
    margin-top: 40px;
    position: relative;
    z-index: 2;
}

/* BOTÓN PARA VER TIENDA COMPLETA */
.store-button {
    margin-top: 40px;
}

/* BLOG */

#blog {
    text-align: center;
    padding: 60px 20px;
    background-color: #f4f4f4;
}

#blog h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #333;
}

/* Contenedor de las tarjetas del blog */
.blog-cards {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Tarjeta individual de blog */
.blog-card {
    background-color: white;
    border-radius: 10px;
    width: 320px;
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Imagen del artículo */
.blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

/* Contenido del blog */
.blog-content {
    padding: 15px;
}

.blog-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    margin-top: 15px;
    white-space: nowrap; /* No permite saltos de línea */
    overflow: hidden; /* Evita desbordamiento */
    text-overflow: ellipsis; /* Añade "..." si el texto es demasiado largo */
}

/* Circulo de acceso al artículo */
.blog-circle {
    width: 50px;
    height: 50px;
    background-color: #6AB187; /* Verde principal */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 15px auto;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    outline: none; /* Elimina borde azul */
    text-decoration: none; /* Por si es un <a> */
    margin-bottom: 30px;
}

.blog-circle:hover {
    background-color: #417B9C; /* Azul resalte */
    transform: scale(1.1);
}

/* Flecha dentro del círculo */
.blog-circle::after {
    content: "→";
    font-size: 1.5rem;
    color: white;
    transform: rotate(-30deg); /* Inclinación hacia arriba */

}

/* Botón para ver más artículos */
.blog-button {
    margin-top: 40px;
}

/* TESTIMONIALS */

#testimonials {
    text-align: center;
    padding: 60px 20px;
    background-color: #f4f4f4;
    position: relative;
}

#testimonials h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #333;
}

/* Contenedor del carrusel */
.testimonial-container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
}

/* Carrusel de reseñas */
.testimonial-slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

/* Tarjeta de testimonio */
.testimonial-card {
    position: absolute;
    width: 100%;
    padding: 20px;
    text-align: left;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 20px;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.testimonial-card.active {
    opacity: 1;
}

.testimonial-card:first-child {
    opacity: 1;
    position: relative;
    z-index: 1;
}

/* Imagen de la mascota */
.testimonial-card img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

/* Contenido del testimonio */
.testimonial-content {
    flex: 1;
}

.testimonial-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #6AB187;
    margin-bottom: 5px;
}

/* Estrellas de calificación */
.stars {
    color: gold;
    margin-bottom: 10px;
}

/* Texto de la reseña */
.testimonial-content p {
    font-size: 1rem;
    color: #333;
    margin-bottom: 10px;
}

/* Nombre del dueño */
.testimonial-content span {
    font-size: 0.9rem;
    font-weight: bold;
    color: #555;
}

/* Botones de navegación */
.testimonial-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.testimonial-buttons button {
    background: #6AB187;
    border: none;
    color: white;
    font-size: 1.5rem;
    padding: 10px 15px;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
}

.testimonial-buttons button:hover {
    background: #417B9C;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .testimonial-card {
        flex-direction: column;
        text-align: center;
    }

    .testimonial-card img {
        width: 70px;
        height: 70px;
    }
}

/* 🔥 ABOUT ME SECTION 🔥 */
#about {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 20px;
    background-color: #f4f4f4;
}

.about-container {
    display: flex;
    align-items: center;
    max-width: 1000px;
    width: 100%;
    gap: 30px;
    flex-wrap: wrap;
}

.about-image {
    flex: 1;
    text-align: center;
}

.about-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.about-text {
    flex: 1;
    text-align: left;
}

.about-text h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 10px;
}

.about-text h3 {
    font-size: 1.5rem;
    margin-top: 20px;
    color: #417B9C;
}

.about-text p {
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
}

.about-text ul {
    list-style: none;
    padding: 0;
}

.about-text ul li {
    font-size: 1rem;
    padding: 8px 0;
}

.about-text blockquote {
    font-style: italic;
    background: #fff;
    padding: 15px;
    border-left: 5px solid #6AB187;
    margin: 10px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.about-text a {
    color: #417B9C;
    font-weight: bold;
    text-decoration: none;
}

.about-text a:hover {
    text-decoration: underline;
}

/* 📱 RESPONSIVE */
@media (max-width: 768px) {
    .about-container {
        flex-direction: column;
        text-align: center;
    }

    .about-text {
        text-align: center;
    }

    .about-text ul {
        text-align: left;
        display: inline-block;
    }

    .about-image img {
        max-width: 80%;
    }
}

/* SECCIÓN GALERÍA */
#gallery {
    padding: 60px 20px;
    text-align: center;
}

#gallery h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 30px;
}

/* Contenedor de la galería */
.gallery-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.gallery-page {
    display: none;
}

.gallery-page.active {
    display: contents; /* Permite que las imágenes usen el grid del contenedor */
}

/* Estilo de cada imagen */
.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.gallery-item img:hover {
    transform: scale(1.05);
}

/* Flechas de navegación */
.gallery-controls {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    gap: 20px;
}

.gallery-controls button {
    background-color: #6AB187;
    border: none;
    padding: 10px 15px;
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

.gallery-controls button:hover {
    background-color: #417B9C;
    transform: scale(1.1);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .gallery-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-item img {
        height: 180px;
    }
}

@media (max-width: 480px) {
    .gallery-container {
        grid-template-columns: 1fr;
    }

    .gallery-item img {
        height: 200px;
    }
}

/* CONTACT */

/* CONTACT */
#contact {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    background-color: #f4f4f4;
    width: 100%;
    box-sizing: border-box;
}

.contact {
    width: 100%;
    max-width: 500px; /* Reducimos el tamaño para que no sea demasiado grande */
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
    box-sizing: border-box;
}

#contact-form {
    width: 100%;
    max-width: 450px; /* Evita que el formulario se extienda demasiado */
    margin: auto;
}

/* Encabezado del formulario */
.form-header h2 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 10px;
}

.form-header p {
    font-size: 1rem;
    color: #333;
    margin-bottom: 25px;
}

/* Estilos de los campos */
#contact-form label {
    display: block;
    text-align: left;
    font-weight: bold;
    margin: 10px 0 5px;
    color: #333;
  
}

#contact-form input,
#contact-form textarea {
    width: 90%; /* Reducimos el ancho para que no ocupen toda la pantalla */
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    transition: border-color 0.3s;
    box-sizing: border-box;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

#contact-form input:focus,
#contact-form textarea:focus {
    border-color: #6AB187;
    outline: none;
}

/* Botón de enviar */
#contact-form button {
    width: 90%;
    padding: 12px;
    font-size: 1.1rem;
    background-color: #6AB187;
    color: white;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s, transform 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-left: auto;
    margin-right: auto;
}

#contact-form button:hover {
    background-color: #417B9C;
    transform: scale(1.05);
}

/* Spinner */
.spinner {
    width: 20px;
    height: 20px;
    border: 3px solid white;
    border-top: 3px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.hidden {
    display: none;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 📱 RESPONSIVE */
@media (max-width: 768px) {
    .contact {
        padding: 20px;
        width: 90%;
    }

    #contact-form label {
        display: block;
        text-align: left;
        font-weight: bold;
        margin: 10px 0 5px;
        color: #333;
      padding-left: 25px;
    }

    .form-header h2 {
        font-size: 1.6rem;
        width: 90%;
    }

    .form-header p {
        font-size: 0.9rem;
        width: 90%;
        padding-left: 25px;
    }

    #contact-form input,
    #contact-form textarea {
        width: 90%; /* En móviles, los campos ocuparán todo el ancho */
        font-size: 0.9rem;
    }

    #contact-form button {
        font-size: 1rem;
    }
}

/* 🔥 ROVER SECTION 🔥 */
#rover {
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(to right, #6AB187, #417B9C);
    color: white;
    padding: 60px 20px;
    text-align: center;
    border-radius: 10px;
    margin: 50px auto;
    max-width: 800px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    gap: 20px;
    flex-wrap: wrap;
}

.rover-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    flex-wrap: wrap;
}

.rover-content {
    flex: 1;
    padding: 20px;
    text-align: left;
}

.rover-content h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.rover-content p {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 20px;
}

.rover-btn {
    display: inline-block;
    padding: 12px 20px;
    font-size: 1.2rem;
    font-weight: bold;
    color: #6AB187;
    background-color: white;
    border-radius: 30px;
    text-decoration: none;
    transition: 0.3s;
}

.rover-btn:hover {
    background-color: #f4f4f4;
    transform: scale(1.05);
}

/* ⭐ Featured Badge ⭐ */
.rover-badge {
    flex: 0.5;
    text-align: center;
    
}

.rover-badge img {
    max-width: 200px;
    animation: float 2s infinite ease-in-out;
    border-radius: 20px;
}

/* 🏆 Subtle Badge Animation */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
    100% { transform: translateY(0px); }
}

/* 📱 RESPONSIVE */
@media (max-width: 768px) {
    #rover {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px;
    }

    .rover-content h2 {
        font-size: 1.8rem;
    }

    .rover-content p {
        font-size: 0.95rem;
    }

    #rover .rover-btn {
        font-size: 1rem;
    }

    .rover-badge img {
        max-width: 120px;
    }
}

/* footer */

footer {
    background-color: #6AB187; /* Color principal de la web */
    padding: 40px 20px;
    color: white;
    font-family: 'Poppins', sans-serif;
    text-align: center;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    max-width: 1300px;
    margin: 0 auto;
    margin-bottom: 25px;
}

/* Secciones del footer */
.footer-section {
    flex: 1;
    min-width: 250px;
}

/* Títulos de cada sección */
.footer-section h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 600;
    color: white;
}

/* Textos de contacto y enlaces */
.footer-section p,
.footer-section a {
    font-size: 1rem;
    color: white;
    text-decoration: none;
    line-height: 1.6;
}

.footer-section a:hover {
    text-decoration: underline;
}

/* Documentos legales en una sola línea pero con dos líneas de texto */
.legal-documents {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px; /* Espacio entre los enlaces */
    padding: 0;
    margin-top: 10px;
    list-style: none;
    text-align: center;
}

.legal-documents li {
    flex: 1 1 auto;
    max-width: 200px; /* Ajustamos el ancho para forzar dos líneas */
    text-align: center;
    word-wrap: break-word;
}

/* Redes sociales */
.social-icons {
    display: flex;
    gap: 20px;
    margin-top: 0;
    justify-content: center;
    margin-bottom: 25px;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 1.5rem;
    transition: background-color 0.3s, transform 0.2s;
}

.social-icons a:hover {
    background-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
    text-decoration: none;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .legal-documents {
        gap: 20px;
        flex-wrap: wrap;
    }

    .legal-documents li {
        max-width: 100px;
    }
}


/* Botón WhatsApp */
.whatsapp-button {
    position: fixed;
    bottom: 90px; /* Para que quede encima del botón de subir */
    right: 20px;
    background-color: #25D366; /* Color oficial WhatsApp */
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    text-decoration: none;
    animation: bounce 1.5s infinite;
    transition: transform 0.3s ease, background-color 0.3s;
}

.whatsapp-button:hover {
    transform: scale(1.1);
    background-color: #1DA851;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}


#scrollTopBtn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #6AB187;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: none; /* Oculto hasta hacer scroll */
    align-items: center;
    justify-content: center;
    z-index: 1000;
    transition: background-color 0.3s, transform 0.2s;
}
#scrollTopBtn:hover {
    background-color: #417B9C;
    transform: scale(1.1);
}

.btn-reserve {
    position: fixed;
    bottom: 90px;
    left: 20px;
    background-color: #6AB187;
    color: white;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 999;
    animation: pulse 1.5s infinite;
    cursor: pointer;
    transition: background 0.3s;
}
.btn-reserve:hover {
    background-color: #417B9C;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}


#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 4px;
    background-color: #6AB187;
    z-index: 1000;
}

/* Rebote suave en imágenes de galería */
.gallery-item img:hover {
    animation: bounce 0.6s;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* Hover en botones */
.btn:hover {
    transform: translateY(-3px) scale(1.05);
}

/* Mascota animada en el footer */
.footer-pet {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 30px;
    animation: wag-tail 1s infinite alternate;
}

@keyframes wag-tail {
    from { transform: rotate(-10deg); }
    to { transform: rotate(10deg); }
}


#faq {
    padding: 60px 20px;
    background-color: #f4f4f4;
    text-align: center;
}

#faq h2 {
    font-size: 2rem;
    color: #6AB187;
    margin-bottom: 30px;
}

.faq-item {
    max-width: 800px;
    margin: 10px auto;
    text-align: left;
    border-bottom: 1px solid #ddd;
    padding: 15px 0;
    cursor: pointer;
}

.faq-item h3 {
    font-size: 1.3rem;
    margin: 0;
    position: relative;
}

.faq-item p {
    display: none;
    margin-top: 10px;
    font-size: 1rem;
    color: #555;
}
