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

.contact-section {
  overflow: hidden;
  background: #f8fafb;
}


/* =========================================================
   ENCABEZADO
========================================================= */

.contact-heading {
  max-width: 780px;
  margin-bottom: 42px;
}

.contact-heading h2 {
  margin: 0;

  color: var(--ink);

  font-family: "Manrope", sans-serif;
  font-size: clamp(2.3rem, 4vw, 3.7rem);
  font-weight: 700;
  line-height: 1.07;

  letter-spacing: -.045em;
}

.contact-heading h2 strong {
  color: var(--blue);
}


/* =========================================================
   LAYOUT
========================================================= */

.contact-layout {
  display: grid;

  grid-template-columns:
    minmax(360px, .82fr)
    minmax(0, 1.18fr);

  min-height: 590px;

  overflow: hidden;

  background: var(--white);

  box-shadow: var(--shadow-soft);
}


/* =========================================================
   INFORMACIÓN
========================================================= */

.contact-info {
  position: relative;

  padding:
    clamp(35px, 5vw, 58px)
    clamp(28px, 4vw, 48px);

  color: var(--blue-deep);

  background: #fff;

  overflow: hidden;
}


/* detalle decorativo */

.contact-info::after {
  position: absolute;

  right: -100px;
  bottom: -110px;

  width: 280px;
  height: 280px;

  border:
    48px solid
    rgba(213,151,46,.07);

  border-radius: 50%;

  content: "";
}


/* =========================================================
   HEADER
========================================================= */

.contact-info__header {
  position: relative;
  z-index: 2;

  display: flex;

  align-items: center;

  gap: 14px;

  margin-bottom: 24px;
}

.contact-info__header
> .material-symbols-outlined {
  display: grid;

  width: 52px;
  height: 52px;

  place-items: center;

  color: var(--ink);

  background: var(--gold);

  border-radius: 50%;

  font-size: 27px;
}

.contact-info__header span:not(.material-symbols-outlined) {
  color: rgba(255,255,255,.58);

  font-size: 10px;
  font-weight: 800;

  letter-spacing: .12em;

  text-transform: uppercase;
}

.contact-info__header h3 {
  margin: 1px 0 0;

  font-family: "Manrope", sans-serif;

  font-size: 25px;
  font-weight: 700;
}


/* =========================================================
   INTRO
========================================================= */

.contact-info__intro {
  position: relative;
  z-index: 2;

  max-width: 430px;

  margin: 0 0 34px;

  color: rgba(255,255,255,.72);

  font-size: 14px;
  line-height: 1.7;
}


/* =========================================================
   ITEMS
========================================================= */

.contact-info__list {
  position: relative;
  z-index: 2;

  display: grid;

  gap: 0;

  border-top:
    1px solid rgba(255,255,255,.12);
}

.contact-info__item {
  display: grid;

  grid-template-columns: 46px 1fr;

  align-items: center;

  gap: 14px;

  padding: 20px 0;

  border-bottom:
    1px solid rgba(255,255,255,.12);
}


/* icono */

.contact-info__icon {
  display: grid;

  width: 42px;
  height: 42px;

  place-items: center;

  color: var(--gold);

  background: rgba(255,255,255,.07);

  border-radius: 50%;
}

.contact-info__icon
.material-symbols-outlined {
  font-size: 21px;
}


/* label */

.contact-info__label {
  display: block;

  margin-bottom: 2px;

  color: var(--blue-deep);

  font-size: 9px;
  font-weight: 800;

  letter-spacing: .1em;

  text-transform: uppercase;
}


/* datos */

.contact-info__item p,
.contact-info__item a {
  margin: 0;

  color: var(--blue-deep);

  font-size: 14px;
  font-weight: 600;

  line-height: 1.5;
}

.contact-info__item a {
  transition: color .2s ease;
}

.contact-info__item a:hover {
  color: var(--gold);
}


/* =========================================================
   BOTONES
========================================================= */

.contact-info__actions {
  position: relative;
  z-index: 2;

  display: flex;

  align-items: center;

  gap: 22px;

  margin-top: 34px;
}


/*
 * Dentro del fondo oscuro usamos el botón dorado
 * para hacerlo más visible.
 */

.contact-info__actions
.button--primary {
  color: var(--ink);
  background: var(--gold);
}

.contact-info__actions
.button--primary:hover {
  background: #e2a43a;
}


/* teléfono */

.contact-phone-link {
  display: inline-flex;

  align-items: center;

  gap: 7px;

  color: var(--white);

  font-size: 13px;
  font-weight: 700;

  border-bottom:
    1px solid rgba(255,255,255,.3);

  transition:
    color .2s ease,
    border-color .2s ease;
}

.contact-phone-link:hover {
  color: var(--gold);

  border-color: var(--gold);
}

.contact-phone-link
.material-symbols-outlined {
  font-size: 18px;
}


/* =========================================================
   MAPA
========================================================= */

.contact-map {
  position: relative;

  min-width: 0;
  min-height: 590px;

  overflow: hidden;

  background: #e8edef;
}

.contact-map iframe {
  display: block;

  width: 100%;
  height: 100%;

  min-height: 590px;

  filter:
    saturate(.8)
    contrast(.95);
}


/* =========================================================
   BADGE SOBRE MAPA
========================================================= */

.contact-map__badge {
  position: absolute;

  z-index: 3;

  left: 28px;
  bottom: 28px;

  display: flex;

  align-items: center;

  gap: 12px;

  min-width: 235px;

  padding: 16px 18px;

  color: var(--white);

  background:
    rgba(23,54,70,.94);

  box-shadow:
    0 14px 34px
    rgba(23,54,70,.18);

  backdrop-filter: blur(9px);
}

.contact-map__badge
> .material-symbols-outlined {
  color: var(--gold);

  font-size: 29px;
}

.contact-map__badge strong,
.contact-map__badge span {
  display: block;
}

.contact-map__badge strong {
  font-family: "Manrope", sans-serif;

  font-size: 14px;
}

.contact-map__badge span {
  margin-top: 1px;

  color: rgba(255,255,255,.62);

  font-size: 11px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-info {
    padding: 42px 36px;
  }

  .contact-map,
  .contact-map iframe {
    min-height: 470px;
  }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 580px) {

  .contact-heading {
    margin-bottom: 30px;
  }

  .contact-heading h2 {
    font-size: 2.25rem;
  }


  /* información */

  .contact-info {
    padding: 32px 22px;
  }

  .contact-info__header
  > .material-symbols-outlined {
    width: 46px;
    height: 46px;

    font-size: 24px;
  }

  .contact-info__header h3 {
    font-size: 21px;
  }


  /* acciones */

  .contact-info__actions {
    align-items: flex-start;

    flex-direction: column;

    gap: 17px;
  }

  .contact-info__actions
  .button {
    width: 100%;
  }


  /* mapa */

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

  .contact-map__badge {
    right: 14px;
    bottom: 14px;
    left: 14px;

    min-width: 0;
  }

}