/* ===========================
   Carrusel
=========================== */
.carousel {
  width: 90%;
  max-width: 1100px;
  margin: 20px auto;
  height: 560px;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 6px 22px rgba(0,0,0,0.25);
  position: relative;
}

.carousel-images {
  display: flex;
  height: 100%;
  transition: transform 0.6s ease-in-out;
}

.carousel-images img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  flex-shrink: 0;
}

/* ===========================
   Introducción
=========================== */
.intro-section {
  text-align: center;
  margin-top: 20px;
  margin-bottom: 25px;
  padding: 0 15px;
}

.intro-section h2 {
  font-size: clamp(2.8rem, 4vw, 3.4rem);
  font-weight: 900;
  color: #004080;
  margin-bottom: 26px;
  letter-spacing: 1.4px;
  line-height: 1.15;
  text-shadow:
    1px 2px 6px rgba(0,0,0,0.18),
    0 0 12px rgba(0,114,255,0.18);
}

.intro-section p {
  font-size: 1.3rem;
  color: #1f1f1f;
  line-height: 1.9;
  max-width: 880px;
  margin: 0 auto;
  font-weight: 500;
  opacity: 0.95;
}

/* ===========================
   Contactos
=========================== */
.contactos-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 50px;
  margin: 65px auto;
  padding: 0 10px;
}

.contact-card {
  /* === CAMBIO AÑADIDO: Recubrimiento traslúcido === */
  background: rgba(255, 255, 255, 0.33); /* Blanco traslúcido */
  backdrop-filter: blur(12px);           /* EFECTO GLASS */
  -webkit-backdrop-filter: blur(12px);

  color: #004080;
  border-radius: 15px;
  padding: 25px;
  width: 230px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.30);
}

.contact-card i {
  font-size: 2.5rem;
  margin-bottom: 10px;
  color: #25D366;
}

.contact-card h3 {
  margin-bottom: 10px;
  font-size: 1.3rem;
}

.contact-card p {
  margin-bottom: 15px;
  font-size: 1rem;
}

.whatsapp-btn {
  display: inline-block;
  background-color: #25D366;
  color: #fff;
  padding: 10px 20px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.whatsapp-btn:hover {
  background-color: #1ebe57;
  transform: scale(1.05);
}

.contact-card a {
  color: #004080;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-card a:hover {
  color: #25D366;
}

.contact-card a:visited {
  color: #004080;
}

/* ===========================
   Sección Formulario de Contacto
=========================== */
.contact-form-section {
  background-color: #f5f8ff;
  padding: 60px 20px;
  margin: 50px 0;
  border-radius: 20px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
  text-align: center;
}

.contact-form-section h2 {
  font-size: 2rem;
  color: #004080;
  margin-bottom: 15px;
}

.contact-form-section p {
  font-size: 1.1rem;
  color: #333;
  margin-bottom: 30px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 600px;
  margin: 0 auto;
}

.contact-form input,
.contact-form textarea {
  padding: 12px 15px;
  border-radius: 12px;
  border: 1px solid #ccc;
  font-size: 1rem;
  transition: border 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #004080;
  outline: none;
}

.contact-form button {
  background-color: #004080;
  color: #fff;
  padding: 12px 20px;
  font-size: 1.1rem;
  font-weight: 600;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

.contact-form button:hover {
  background-color: #0252a0;
  transform: scale(1.05);
}

/* ===========================
   Responsive
=========================== */
@media (max-width: 1024px) {
  .contactos-container {
    gap: 25px;
    padding: 15px;
  }

  .contact-card {
    width: 200px;
    padding: 20px;
  }

  .contact-form {
    max-width: 90%;
  }
}

@media (max-width: 768px) {
  .contactos-container {
    flex-direction: column;
    align-items: center;
  }

  .contact-card {
    width: 90%;
  }

  .contact-form-section {
    padding: 40px 15px;
  }

  .carousel {
    height: 280px;
  }
}
