/* styles.css */

/* General */
body {
    font-family: 'Montserrat', sans-serif;
    background-color: #f4f4f4;
    color: #333;
    scroll-behavior: smooth;
}
a {
    text-decoration: none;
    color: inherit;
}
ul {
    list-style: none;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #004d99;
    color: #fff;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.logo img {
    width: 150px;
    height: auto;
    border-radius: 15px;
    transition: transform 0.3s;
}
.logo img:hover {
    transform: scale(1.05);
}
nav ul {
    display: flex;
    gap: 20px;
}
nav ul li a {
    color: #fff;
    font-weight: 500;
    transition: color 0.3s;
}
nav ul li a:hover {
    color: #ffdd00;
}
.social-icons a {
    margin-left: 10px;
    color: #fff;
    font-size: 1.2em;
    transition: color 0.3s;
}
.social-icons a:hover {
    color: #ffdd00;
}
.menu-toggle {
    display: none;
    font-size: 1.5em;
    cursor: pointer;
}

/* Slider Principal */
.hero {
    position: relative;
    height: 100vh;
    margin-top: 60px; /* Altura del header */
}
.hero .swiper-container {
    width: 100%;
    height: 100%;
}
.hero .swiper-slide {
    position: relative;
}
.hero .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero .hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    text-align: center;
    z-index: 2;
    background: rgba(0, 0, 0, 0.5);
    padding: 20px 30px;
    border-radius: 10px;
}
.hero .hero-text h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
    animation: fadeInDown 1s ease-out;
}
.hero .hero-text p {
    font-size: 1.2em;
    animation: fadeInUp 1s ease-out;
}

/* Animaciones */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translate(-50%, -60%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate(-50%, -40%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

/* Bot贸n WhatsApp */
.whatsapp-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5em;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
    cursor: pointer;
    z-index: 1000;
    transition: background-color 0.3s, transform 0.3s;
}
.whatsapp-btn:hover {
    background-color: #128C7E;
    transform: scale(1.1);
}

/* Secciones */
section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: auto;
}
.section-title {
    text-align: center;
    margin-bottom: 40px;
}
.section-title h2 {
    font-size: 2em;
    color: #004d99;
    position: relative;
    display: inline-block;
}
.section-title h2::after {
    content: '';
    width: 50px;
    height: 4px;
    background-color: #ffdd00;
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
}
.section-title p {
    font-size: 1.1em;
    color: #555;
    margin-top: 10px;
}

/* Nosotros */
.nosotros {
    background-color: #fff;
    padding: 60px 20px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    animation: fadeIn 1s ease-out;
}
.nosotros h3 {
    font-size: 1.8em;
    margin-bottom: 20px;
    color: #004d99;
}
.nosotros p {
    font-size: 1em;
    line-height: 1.6;
    color: #555;
    text-align: left;
}

/* Servicios */
.servicios .servicio-item {
    text-align: center;
    padding: 20px;
    border-radius: 10px;
    background-color: #fff;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}
.servicios .servicio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}
.servicios .servicio-item img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 20px;
}
.servicios .servicio-item h4 {
    font-size: 1.2em;
    margin-bottom: 10px;
    color: #004d99;
}
.servicios .servicio-item p {
    font-size: 0.95em;
    color: #555;
    margin-bottom: 15px;
}
.servicios .servicio-item a {
    display: inline-block;
    padding: 10px 20px;
    background-color: #004d99;
    color: #fff;
    border-radius: 5px;
    transition: background-color 0.3s;
}
.servicios .servicio-item a:hover {
    background-color: #003366;
}

/* Testimonios */
.testimonios .swiper-container {
    padding: 20px 0;
}
.testimonios .testimonial {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    animation: fadeIn 1s ease-out;
}
.testimonios .testimonial p {
    font-style: italic;
    color: #555;
    margin-bottom: 15px;
    flex-grow: 1;
}
.testimonios .testimonial h5 {
    font-weight: 500;
    color: #004d99;
}

/* Nuestros Aliados */
.aliados .swiper-container {
    padding: 20px 0;
}
.aliados .aliado-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    transition: transform 0.3s;
}
.aliados .aliado-logo img {
    max-width: 150px;
    height: auto;
}
.aliados .aliado-logo:hover {
    transform: scale(1.1);
}

/* FAQ */
.faq .faq-item {
    background-color: #fff;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    overflow: hidden;
    animation: fadeIn 1s ease-out;
}
.faq .faq-item button {
    width: 100%;
    padding: 15px;
    text-align: left;
    background: #004d99;
    color: #fff;
    border: none;
    border-radius: 0;
    font-size: 1em;
    cursor: pointer;
    outline: none;
    transition: background-color 0.3s;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq .faq-item button:hover {
    background-color: #003366;
}
.faq .faq-item .faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 15px;
    background-color: #f9f9f9;
}
.faq .faq-item .faq-content p {
    padding: 15px 0;
    color: #555;
}
.faq .faq-item button .arrow {
    transition: transform 0.3s;
}
.faq .faq-item button.active .arrow {
    transform: rotate(180deg);
}

/* Galer铆a */
.galeria .gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}
.galeria .gallery-grid img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s;
    cursor: pointer;
}
.galeria .gallery-grid img:hover {
    transform: scale(1.05);
}

/* Contacto */
.contacto form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    animation: fadeIn 1s ease-out;
}
.contacto form input, .contacto form textarea {
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1em;
    width: 100%;
}
.contacto form button {
    padding: 12px;
    background-color: #004d99;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1.1em;
    cursor: pointer;
    transition: background-color 0.3s;
}
.contacto form button:hover {
    background-color: #003366;
}
.contacto .map-container {
    margin-top: 30px;
    width: 100%;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    animation: fadeIn 1s ease-out;
}

/* Footer */
footer {
    background-color: #004d99;
    color: #fff;
    padding: 20px;
    text-align: center;
}
footer .footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}
footer .footer-links a {
    color: #fff;
    transition: color 0.3s;
}
footer .footer-links a:hover {
    color: #ffdd00;
}
footer p {
    font-size: 0.9em;
}
.swiper-button-prev:empty,
.swiper-button-next:empty { display:none; }
/* Media Queries */
@media (max-width: 992px) {
    nav ul {
        display: none;
        flex-direction: column;
        background-color: #004d99;
        position: absolute;
        top: 60px;
        right: 0;
        width: 200px;
        padding: 10px 0;
        border-radius: 0 0 10px 10px;
    }
    nav ul.active {
        display: flex;
    }
    .menu-toggle {
        display: block;
        color: #fff;
    }
}
#google-reviews {
  max-width: 1200px;
  margin: 4rem auto;
  padding: 0 1rem;
}
#google-reviews h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #004d99;
}

/* Grid responsivo */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

/* Tarjeta individual */
.review-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform .2s, box-shadow .2s;
}
.review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Encabezado: estrellas + fecha */
.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: #666;
}
.stars {
  color: #FFD700; /* dorado */
  font-size: 1.2rem;
  letter-spacing: .1rem;
}

/* Cuerpo de la reseña */
.review-body {
  font-style: italic;
  color: #333;
  line-height: 1.4;
  margin-bottom: 1rem;
  position: relative;
  padding-left: 1rem;
}
.review-body::before {
  content: "“";
  position: absolute;
  left: 0;
  top: -0.2rem;
  font-size: 2rem;
  color: #004d99;
}

/* Autor */
.review-author {
  font-weight: 500;
  color: #004d99;
  text-align: right;
  font-size: 0.95rem;
}

