/* =====================
   RESET BÁSICO
===================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  font-family: 'Poppins', sans-serif;
  background-color: #f9f9f9;
  color: #333;
  overflow-x: hidden;
}

/* =====================
   HERO CONTACTO
===================== */
.hero-contact {
  position: relative;
  text-align: center;
  color: #fff;
  padding: 200px 80px;
  overflow: hidden;
  border-radius: 0 0 60px 60px;
  /* Fondo con degradado + imagen desde internet */
  background: 
  linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)),
  url('https://media.istockphoto.com/id/1421187500/es/foto/un-campo-de-ma%C3%ADz-al-atardecer.jpg?s=612x612&w=0&k=20&c=wJKzvbAgc_F7UMsAVmJj9s2O1vwB8XU6YKO6CjH-LXI=') center/cover no-repeat;

}



.hero-contact h1 {
  font-size: 4rem;
  font-weight: 900;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 3px;
  text-shadow: 3px 3px 8px rgba(0,0,0,0.5);
  animation: fadeInUp 1s ease forwards;
}

.hero-contact p {
  font-size: 1.3rem;
  max-width: 650px;
  margin: 0 auto 40px auto;
  line-height: 1.6;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.4);
  animation: fadeInUp 1.2s ease forwards;
}


.scroll-down {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  cursor: pointer;
}

.scroll-down svg {
  width: 40px;
  height: 60px;
  animation: float 2s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-10px); }
}


/* Animaciones */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}


/* =====================
   CONTACT PAGE
===================== */
.contact-page {
  padding: 60px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-page h1 {
  font-size: 2.5rem;
  color: #1b5e20;
  margin-bottom: 15px;
  font-weight: 600;
}

.contact-page p.subtitle {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 50px;
  text-align: center;
}

/* =====================
   CONTENEDOR CONTACTO + MAPA
===================== */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  width: 100%;
  max-width: 1200px;
}

/* =====================
   TARJETAS INFO-CARDS
===================== */
.info-cards {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.card {
  background-color: #fff;
  padding: 25px;
  border-radius: 20px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #1b5e20;
  margin-bottom: 8px;
}

.card p {
  font-size: 1rem;
  color: #555;
  margin-bottom: 8px;
}

.card a {
  color: #1b5e20;
  font-weight: 500;
  text-decoration: none;
}

.card a:hover {
  text-decoration: underline;
}

/* =====================
   MAPA
===================== */
.map {
  width: 100%;
  height: 350px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  background-color: #eaeaea;
}

/* =====================
   SECCIÓN ASESORES
===================== */
.asesores {
  margin-top: 60px;
  width: 100%;
  max-width: 1200px;
}

.asesores h2 {
  text-align: center;
  font-size: 2rem;
  color: #1b5e20;
  margin-bottom: 35px;
  font-weight: 600;
}

.search-input {
  width: 100%;
  max-width: 400px;
  margin: 0 auto 40px;
  padding: 12px 15px;
  border-radius: 12px;
  border: 1px solid #ccc;
  font-size: 1rem;
  display: block;
  transition: border 0.3s ease, box-shadow 0.3s ease;
}

.search-input:focus {
  border-color: #1b5e20;
  box-shadow: 0 0 8px rgba(27,94,32,0.2);
  outline: none;
}

.asesores-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
}

.asesores .card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 5px;
}

.asesores .card .zona {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 10px;
}

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

/* =====================
   CTA FINAL
===================== */
.cta-final {
  text-align: center;
  margin-top: 60px;
}

.btn-cta {
  display: inline-block;
  margin: 10px;
  padding: 12px 30px;
  border-radius: 25px;
  background-color: #1b5e20;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.2s ease;
}

.btn-cta:hover {
  background-color: #2e7d32;
  transform: translateY(-2px);
}

.btn-cta.whatsapp {
  background-color: #25D366;
}

.btn-cta.whatsapp:hover {
  background-color: #1ebe5d;
}

/* =====================
   RESPONSIVE
===================== */
@media(max-width: 900px) {
  .contact-container {
    grid-template-columns: 1fr;
  }
  .hero-contact {
    padding: 80px 15px;
  }
}

@media(max-width: 500px) {
  .hero-contact h1 {
    font-size: 2.2rem;
  }
  .hero-contact p {
    font-size: 1rem;
  }
  .contact-page h1 {
    font-size: 2rem;
  }
}
