/* =========================
   CONTACTO NALS
   ========================= */

/* HERO */

.contact-hero {
  position: relative;
  min-height: 74vh;
  display: grid;
  place-items: center;
  padding-top: 140px;
  padding-bottom: 90px;
  overflow: hidden;
  background: #fff;
}

.contact-hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(147,207,186,.62)),
              url("../images/stock/bg_hero_contacto.png") center/cover no-repeat;
}

.contact-hero__content {
  position: relative;
  z-index: 2;
  max-width: 1240px;
}

.contact-eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--azul-nals);
  font-family: "Satoshi-Bold", sans-serif;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: .7px;
  text-transform: uppercase;
}

.contact-hero__title {
  max-width: 1120px;
  margin: 0 auto 24px auto;
  color: var(--text-dark);
  font-size: clamp(42px, 5vw, 76px);
  font-weight: 800;
  line-height: .96;
  letter-spacing: -.8px;
}

.contact-hero__text {
  max-width: 880px;
}

.contact-hero__text p {
  color: var(--gris-texto);
  font-size: 19px;
  line-height: 1.75;
  margin-bottom: 16px;
}

.contact-hero__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 30px;
}

/* BOTONES */

.contact-btn,
.final-contact-btn {
  display: inline-block;
  border-radius: 6px;
  background: var(--azul-nals);
  color: #fff;
  text-decoration: none;
  font-family: "Satoshi-Bold", sans-serif;
  font-weight: 800;
  transition: background .25s ease, color .25s ease, transform .25s ease;
}

.contact-btn {
  font-size: 20px;
  padding: 13px 28px;
}

.final-contact-btn {
  font-size: 21px;
  padding: 14px 30px;
}

.contact-btn:hover,
.final-contact-btn:hover {
  background: var(--azul-nals-dark);
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
}

.contact-btn-outline {
  background: transparent;
  color: var(--azul-nals);
  border: 2px solid var(--azul-nals);
}

.contact-btn-outline:hover {
  background: transparent;
  color: var(--azul-nals-dark);
  border-color: var(--azul-nals-dark);
}

/* INTRO */

.contact-section-intro {
  max-width: 850px;
  margin: 18px auto 0 auto;
  color: var(--gris-texto);
  font-size: 18px;
  line-height: 1.75;
}

/* TARJETAS CONTACTO */

.contact-card {
  height: 100%;
  padding: 34px 30px;
  border-radius: 28px;
  background: var(--gris-claro);
  border: 1px solid var(--border-soft);
  box-shadow: 0px 0px 26px 7px rgba(147,207,186,0.30) !important;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.contact-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover) !important;
  border-color: rgba(29,175,150,.28);
}

.contact-icon {
  width: 72px;
  height: 72px;
  margin-bottom: 22px;
  border-radius: 999px;
  background: var(--azul-nals);
  display: grid;
  place-items: center;
  color: var(--azul-cielo);
  font-size: 30px;
}

.contact-card h3 {
  color: var(--text-dark);
  font-size: 28px;
  font-weight: 800;
  line-height: 1.08;
  margin-bottom: 14px;
}

.contact-card p {
  color: var(--gris-texto);
  font-size: 17px;
  line-height: 1.65;
  margin-bottom: 18px;
}

.contact-card a {
  color: var(--azul-nals);
  font-family: "Satoshi-Bold", sans-serif;
  font-weight: 800;
  text-decoration: none;
}

.contact-card a:hover {
  color: var(--azul-nals-dark);
  text-decoration: underline;
}

.contact-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* FORMULARIO */

.contact-pill {
  padding: 42px;
  border-radius: 30px;
  background: #fff;
  border: 1px solid var(--border-soft);
  box-shadow: 0px 0px 26px 7px rgba(147,207,186,0.39) !important;
}

.contact-pill__title {
  margin-bottom: 12px;
  color: var(--text-dark);
  font-size: clamp(34px, 3.8vw, 56px);
  font-weight: 800;
  line-height: 1.02;
  text-align: center;
}

.contact-pill__text {
  max-width: 760px;
  margin: 0 auto 26px auto;
  color: var(--gris-texto);
  font-size: 18px;
  line-height: 1.7;
  text-align: center;
}

.pill-input {
  min-height: 52px;
  border-radius: 6px;
  border: 1px solid var(--border-soft);
  background: var(--gris-claro);
  color: var(--text-dark);
  font-family: "Satoshi-Regular", sans-serif;
  font-size: 16px;
  padding: 12px 16px;
  box-shadow: none !important;
}

.pill-input::placeholder {
  color: rgba(84,109,114,.75);
}

.pill-input:focus {
  border-color: var(--azul-nals);
  background: #fff;
  box-shadow: 0 0 0 .2rem rgba(29,175,150,.12) !important;
}

.btn-pill {
  min-height: 52px;
  border-radius: 6px;
  padding-inline: 24px;
  white-space: nowrap;
}

#contactAlert {
  border-radius: 14px;
  font-family: "Satoshi-Regular", sans-serif;
}

.contact-pill a {
  color: var(--azul-nals);
  font-family: "Satoshi-Bold", sans-serif;
  text-decoration: none;
}

.contact-pill a:hover {
  color: var(--azul-nals-dark);
  text-decoration: underline;
}

/* DÓNDE ESTAMOS */

.contact-text-block {
  max-width: 820px;
}

.contact-text-block p {
  color: var(--gris-texto);
  font-size: 18px;
  line-height: 1.78;
  margin-bottom: 18px;
}

.contact-text-block p:last-of-type {
  margin-bottom: 26px;
}

.contact-map {
  width: 100%;
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid var(--border-soft);
  box-shadow: 0px 0px 26px 7px rgba(147,207,186,0.39) !important;
}

.contact-map iframe {
  width: 100%;
  height: 480px;
  display: block;
  border: 0;
}

/* CTA FINAL */

.final-contact-cta {
  background: var(--gris-claro);
}

.final-contact-card {
  max-width: 980px;
  margin-inline: auto;
  padding: 46px 34px;
  border-radius: 30px;
  background: #fff;
  border: 1px solid var(--border-soft);
  box-shadow: 0px 0px 26px 7px rgba(147,207,186,0.39) !important;
}

.final-contact-card h2 {
  max-width: 820px;
  margin: 0 auto 18px auto;
  color: var(--text-dark);
  font-size: clamp(34px, 3.8vw, 58px);
  font-weight: 800;
  line-height: 1.02;
}

.final-contact-card p {
  max-width: 760px;
  margin: 0 auto 30px auto;
  color: var(--gris-texto);
  font-size: 18px;
  line-height: 1.75;
}

/* RESPONSIVE */

@media (max-width: 992px) {

  .contact-hero {
    min-height: auto;
    padding-top: 130px;
    padding-bottom: 76px;
    text-align: center;
  }

  .contact-text-block {
    text-align: center;
    margin-inline: auto;
  }

  .contact-icon {
    margin-left: auto;
    margin-right: auto;
  }

  .contact-card {
    text-align: center;
  }

  .contact-social-links {
    justify-content: center;
  }

  .contact-map iframe {
    height: 420px;
  }
}

@media (max-width: 575px) {

  .contact-hero {
    padding-top: 120px;
    padding-bottom: 60px;
  }

  .contact-hero__title {
    font-size: clamp(38px, 13vw, 54px);
  }

  .contact-hero__text p {
    font-size: 17px;
    line-height: 1.65;
  }

  .contact-hero__buttons {
    gap: 12px;
  }

  .contact-btn,
  .final-contact-btn {
    width: 100%;
    text-align: center;
    font-size: 18px;
    padding: 13px 20px;
  }

  .contact-card,
  .contact-pill,
  .final-contact-card {
    border-radius: 24px;
    padding: 28px 22px;
  }

  .contact-section-intro {
    font-size: 16px;
    line-height: 1.65;
  }

  .contact-pill__text {
    font-size: 16px;
    line-height: 1.65;
  }

  .btn-pill {
    width: 100%;
  }

  .contact-map {
    border-radius: 24px;
  }

  .contact-map iframe {
    height: 360px;
  }
}

@media (min-width: 992px) and (max-width: 1399.98px) {

  #contactForm {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  #contactForm > .col-12,
  #contactForm > .col-lg,
  #contactForm > .col-lg-auto {
    width: 100%;
    max-width: none;
    flex: none;
    padding-left: 0;
    padding-right: 0;
  }

  #contactForm .pill-input {
    width: 100%;
  }

  #contactForm .col-lg-auto {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
  }

  #contactForm .btn-pill {
    width: auto;
    min-width: 230px;
    padding-inline: 28px;
  }

  #contactAlert,
  #contactForm .small {
    grid-column: 1 / -1;
  }
}