/* V13.6 — Contacto: dos columnas con encabezados alineados y altura natural */
.contact-section {
  background: #eaf0eb;
}

.contact-section > .contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(0, .97fr);
  align-items: start;
  gap: clamp(38px, 5.4vw, 82px);
}

.contact-form-column {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-width: 0;
}

.contact-column-heading {
  margin: 0 0 22px;
  min-height: 0;
}

.contact-column-heading h2 {
  margin: 0;
  color: #153b4c;
  font-size: clamp(48px, 4.5vw, 66px);
  line-height: .98;
}

.contact-form-column > .contact-form {
  width: 100%;
  height: auto;
  min-height: 0;
  align-self: start;
  margin: 0;
}

.contact-section .location {
  display: flex;
  flex-direction: column;
  align-self: start;
  min-width: 0;
  height: auto;
  margin: 0;
}

.contact-section .location-copy {
  padding: 0;
  margin: 0;
}

.contact-section .location-heading {
  display: flex;
  align-items: center;
  min-height: 0;
  margin: 0 0 19px;
}

.contact-section .location-heading h3 {
  margin: 0;
  color: #153b4c;
  font-size: clamp(48px, 4.5vw, 66px);
  line-height: .98;
  letter-spacing: -1.8px;
}

.contact-section .location-address {
  margin: 0 0 20px;
}

.contact-section .arrival-card {
  margin: 0 0 22px;
}

.contact-section .map-frame {
  flex: none;
  width: 100%;
  height: clamp(280px, 26vw, 350px);
  margin: 0;
}

/* Evita que el formulario se estire para igualar la altura de la columna del mapa. */
.contact-section .contact-grid > * {
  min-height: 0;
}

/* Tablet: columnas verticales con los dos encabezados todavía claramente jerarquizados. */
@media (max-width: 800px) {
  .contact-section > .contact-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 42px;
  }

  .contact-column-heading {
    margin-bottom: 19px;
  }

  .contact-column-heading h2,
  .contact-section .location-heading h3 {
    font-size: clamp(46px, 7vw, 58px);
  }

  .contact-section .location {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .contact-section .map-frame {
    height: 360px;
  }
}

/* Móvil: formulario completo primero; dirección, recorrido y mapa después. */
@media (max-width: 600px) {
  .contact-section > .contact-grid {
    gap: 39px;
  }

  .contact-column-heading {
    margin-bottom: 17px;
  }

  .contact-column-heading h2,
  .contact-section .location-heading h3 {
    font-size: 49px;
  }

  .contact-form-column > .contact-form {
    padding: 27px 21px;
  }

  .contact-section .location-heading {
    margin-bottom: 15px;
  }

  .contact-section .location-address {
    margin-bottom: 18px;
  }

  .contact-section .arrival-card {
    margin-bottom: 18px;
  }

  .contact-section .map-frame {
    height: 320px;
  }
}

@media (max-width: 360px) {
  .contact-column-heading h2,
  .contact-section .location-heading h3 {
    font-size: 45px;
  }

  .contact-form-column > .contact-form {
    padding: 25px 17px;
  }
}
