/* =========================================================
CONTACTO
========================================================= */

.contacto-hero {
  position: relative;
  min-height: 320px;

  display: flex;
  align-items: center;

  background:
    linear-gradient(90deg, rgba(6, 55, 35, 0.92), rgba(6, 55, 35, 0.55)),
    url("../img/general/fondo.jpg");

  background-size: cover;
  background-position: center;

  overflow: hidden;
}

.contacto-hero-content {
  max-width: 700px;
  color: #fff;
}

.contacto-hero h1 {
  margin: 12px 0 15px;

  font-size: clamp(42px, 5vw, 68px);
  line-height: 1.05;
  font-weight: 800;
}

.contacto-hero p {
  margin: 0;

  max-width: 620px;

  font-size: 18px;
  line-height: 1.7;

  color: rgba(255, 255, 255, 0.9);
}

/* =========================================================
SECCIÓN PRINCIPAL
========================================================= */

.contacto-section {
  padding: 90px 0;
  background: #fff;
}

.contacto-grid {
  display: grid;

  grid-template-columns: 0.9fr 1.1fr;

  gap: 70px;

  align-items: center;
}

/* =========================================================
INFORMACIÓN
========================================================= */

.contacto-info h2 {
  margin: 12px 0 18px;

  color: #124d36;

  font-size: clamp(36px, 4vw, 52px);
  line-height: 1.1;
  font-weight: 800;
}

.contacto-intro {
  margin-bottom: 38px;

  max-width: 570px;

  color: #68756f;

  font-size: 16px;
  line-height: 1.8;
}

/* =========================================================
DATOS DE CONTACTO
========================================================= */

.contacto-item {
  display: flex;

  align-items: flex-start;

  gap: 18px;

  margin-bottom: 25px;
}

.contacto-icon {
  width: 54px;
  height: 54px;

  flex-shrink: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 16px;

  background: #e8f5ed;

  color: #16804c;

  font-size: 21px;
}

.whatsapp-icon {
  background: #e3f7eb;
  color: #20b965;
}

.contacto-item-content {
  display: flex;
  flex-direction: column;

  padding-top: 2px;
}

.contacto-item-content > span {
  margin-bottom: 5px;

  color: #174d38;

  font-size: 14px;
  font-weight: 700;
}

.contacto-item-content a,
.contacto-item-content p {
  margin: 0;

  color: #53645d;

  font-size: 16px;
  line-height: 1.6;
}

.contacto-item-content a {
  text-decoration: none;

  transition: color 0.2s ease;
}

.contacto-item-content a:hover {
  color: #16804c;
}

.contacto-item-content a + a {
  margin-top: 2px;
}

/* =========================================================
MAPA
========================================================= */

.contacto-mapa {
  width: 100%;
}

.mapa-header {
  margin-bottom: 20px;
}

.mapa-header h3 {
  margin: 8px 0 0;

  color: #124d36;

  font-size: 30px;
  font-weight: 800;
}

.mapa-container {
  width: 100%;

  overflow: hidden;

  border-radius: 24px;

  background: #f2f6f3;

  box-shadow: 0 20px 50px rgba(18, 77, 54, 0.12);
}

.mapa-container iframe {
  display: block;

  width: 100%;
  height: 450px;

  border: 0;
}

/* =========================================================
CTA
========================================================= */

.contacto-cta {
  padding: 70px 0;

  background: linear-gradient(110deg, #0d593b, #218453);

  color: #fff;
}

.contacto-cta-content {
  display: flex;

  align-items: center;
  justify-content: space-between;

  gap: 40px;
}

.contacto-cta h2 {
  margin: 10px 0;

  color: #fff;

  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.1;
  font-weight: 800;
}

.contacto-cta p {
  margin: 0;

  color: rgba(255, 255, 255, 0.85);

  font-size: 16px;
}

.contacto-cta .section-label {
  color: #f5ca32;
}

.contacto-cta .btn {
  flex-shrink: 0;
}

/* =========================================================
RESPONSIVE
========================================================= */

@media (max-width: 992px) {
  .contacto-grid {
    grid-template-columns: 1fr;

    gap: 55px;
  }

  .contacto-info {
    max-width: 750px;
  }

  .contacto-mapa {
    max-width: 850px;
  }

  .contacto-cta-content {
    align-items: flex-start;

    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .contacto-hero {
    min-height: 280px;
  }

  .contacto-section {
    padding: 65px 0;
  }

  .contacto-hero p {
    font-size: 16px;
  }

  .contacto-item {
    gap: 14px;
  }

  .contacto-icon {
    width: 48px;
    height: 48px;

    border-radius: 14px;

    font-size: 18px;
  }

  .mapa-container {
    border-radius: 18px;
  }

  .mapa-container iframe {
    height: 380px;
  }

  .contacto-cta {
    padding: 55px 0;
  }
}

@media (max-width: 480px) {
  .contacto-hero {
    min-height: 250px;
  }

  .contacto-section {
    padding: 50px 0;
  }

  .contacto-info h2 {
    font-size: 34px;
  }

  .contacto-item-content a,
  .contacto-item-content p {
    font-size: 15px;
  }

  .mapa-container iframe {
    height: 320px;
  }

  .contacto-cta h2 {
    font-size: 32px;
  }
}
