.contact-page {
  background: #f3f5f2;
  padding-bottom: 90px;
}

/* HERO */
.contact-hero {
  position: relative;
  background:
    linear-gradient(rgba(8, 18, 35, 0.50), rgba(8, 18, 35, 0.50)),
    url("../assets/img/hero-contacto.jpg") center 71%/cover no-repeat;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 38px 0 44px;
}

.contact-hero__content {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  text-align: center;
  color: #fff;
}

.contact-hero__title {
  margin: 0;
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.contact-hero__title::after {
  content: "";
  display: block;
  width: 110px;
  height: 5px;
  margin: 16px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #c98917 0%, #dd971a 50%, #f0b847 100%);
}

.contact-hero__subtitle {
  max-width: 760px;
  margin: 18px auto 0;
  font-size: 1.08rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.92);
}

.contact-breadcrumb {
  position: absolute;
  left: 40px;
  bottom: 28px;
  width: fit-content;
  background: #ffffff;
  border-radius: 18px;
  padding: 16px 26px;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1.05rem;
  font-weight: 700;
  color: #6b7280;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.10);
}

.contact-breadcrumb a {
  color: #6b7280;
  text-decoration: none;
}

.contact-breadcrumb strong {
  color: #2f6f44;
}

/* TITULOS */
.contact-section-title {
  margin: 0 0 16px;
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  line-height: 1.05;
  font-weight: 800;
  color: #111a2f;
  letter-spacing: -0.02em;
}

.contact-section-title::after {
  content: "";
  display: block;
  width: 88px;
  height: 5px;
  margin-top: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, #c98917 0%, #dd971a 50%, #f0b847 100%);
}

.contact-section-title--small {
  font-size: 1.55rem;
}

/* BLOQUES */
.contact-intro,
.contact-content {
  width: min(1320px, calc(100% - 40px));
  margin-left: auto;
  margin-right: auto;
}

.contact-intro {
  margin-top: 44px;
  margin-bottom: 28px;
}

.contact-intro__card,
.contact-card,
.contact-map-card {
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 14px 34px rgba(17, 26, 47, 0.07);
}

.contact-intro__card {
  padding: 30px 34px;
}

.contact-intro__card p {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.8;
  color: #344054;
}

/* GRID */
.contact-content__grid {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 24px;
  align-items: stretch;
}

.contact-card,
.contact-map-card {
  padding: 30px;
}

.contact-map-card {
  min-height: 100%;
}

.contact-map-card__subtitle {
  margin: 0 0 18px;
  font-size: 0.98rem;
  line-height: 1.7;
  color: #667085;
}

/* DATOS */
.contact-info-list {
  display: grid;
  gap: 18px;
}

.contact-info-item {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 16px;
  align-items: start;
  padding: 18px;
  border-radius: 18px;
  background: #f8faf8;
  border: 1px solid rgba(17, 26, 47, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.contact-info-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(17, 26, 47, 0.06);
}

.contact-info-item__icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(47,111,68,0.14), rgba(211,155,47,0.18));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color:#00723F;
}



.contact-info-item__label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.92rem;
  font-weight: 800;
  color: #c98917;
}

.contact-info-item__text {
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
  color: #111a2f;
  font-weight: 600;
}

.contact-info-item__text a {
  color: #111a2f;
  text-decoration: none;
}

.contact-info-item__text a:hover {
  color: #2f6f44;
}

/* MAPA */
.contact-map-wrap {
  overflow: hidden;
  border-radius: 22px;
  background: #eef2ee;
  border: 1px solid rgba(17, 26, 47, 0.06);
  width: 100%;
  max-width: 100%;
  position: relative;
}

.contact-map {
  width: 100%;
  height: 520px;
  border: 0;
  display: block;
}

/* ANIMACIONES */
.contact-reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.contact-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVO */
@media (max-width: 1050px) {
  .contact-content__grid {
    grid-template-columns: 1fr;
  }

  .contact-map {
    min-height: 420px;
  }
}

@media (max-width: 768px) {
  .contact-hero {
    min-height: 270px;
    padding: 24px 0 28px;
  }

  .contact-breadcrumb {
    position: static;
    width: calc(100% - 24px);
    margin: 18px auto 0;
    padding: 14px 18px;
    gap: 12px;
    font-size: 0.95rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .contact-hero__content,
  .contact-intro,
  .contact-content {
    width: calc(100% - 24px);
  }

  .contact-intro__card,
  .contact-card,
  .contact-map-card {
    border-radius: 18px;
    padding: 22px 18px;
  }

  .contact-info-item {
    grid-template-columns: 48px 1fr;
    gap: 14px;
    padding: 16px;
    border-radius: 16px;
  }

  .contact-info-item__icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    font-size: 1.15rem;
  }

  .contact-map-wrap {
    border-radius: 18px;
  }

  .contact-map {
    min-height: 360px;
  }
}
