
/* =========================================================
RESET
========================================================= */
.laeca-contact-other,
.laeca-contact-other *,
.laeca-contact-other *::before,
.laeca-contact-other *::after {
  box-sizing: border-box;
}

.laeca-contact-other h2 {
  margin: 0;
}

/* =========================================================
SECCIÓN ORIGINAL
w-full bg-[var(--laeca-contact-bg, #0A1628)] flex flex-col md:flex-row
========================================================= */
.laeca-contact-other {
  width: 100%;
  display: flex;
  flex-direction: row;
  background: var(--laeca-contact-bg, #0A1628);
  font-family: "Inter", Arial, sans-serif;
  overflow: hidden;
}

/* =========================================================
COLUMNAS
w-full md:w-1/2 p-12 md:p-24
========================================================= */
.laeca-contact-other__left,
.laeca-contact-other__right {
  width: 50%;
  padding: 96px;
}

.laeca-contact-other__left {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.laeca-contact-other__right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
}

/* =========================================================
TÍTULO ORIGINAL
text-5xl md:text-6xl
========================================================= */
.laeca-contact-other__title {
  margin-bottom: 40px !important;

  color: #ffffff;

  font-family: "Barlow Condensed", "Inter", sans-serif;
  font-size: 60px;
  line-height: 1.25;
  font-weight: 800;

  text-transform: uppercase;
  white-space: normal;
}

.laeca-contact-other__title span {
  display: block;
}

/* =========================================================
BOTONES
========================================================= */
.laeca-contact-other__buttons {
  width: 100%;
  max-width: 448px;

  display: flex;
  flex-direction: column;
  gap: 20px;
}

.laeca-contact-other__button {
  width: 100%;
  min-height: 68px;

  padding: 20px 32px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  border-radius: 6px;

  background: var(--laeca-contact-accent, #1A40FF);
  color: #ffffff !important;

  font-family: "Inter", Arial, sans-serif;
  text-decoration: none !important;

  box-shadow:
    0 4px 6px -1px rgba(0,0,0,.10),
    0 2px 4px -2px rgba(0,0,0,.10);

  transition:
    background-color .3s ease,
    transform .3s ease;

  cursor: pointer;
}

.laeca-contact-other__button--second {
  margin-top: 8px;
}

.laeca-contact-other__button:hover {
  background: var(--laeca-contact-accent-hover, #0f30d9);
  transform: translateX(6px);
  color: #ffffff !important;
}

.laeca-contact-other__button-main {
  display: flex;
  align-items: center;
  gap: 16px;

  min-width: 0;

  font-size: 18px;
  line-height: 28px;
  font-weight: 600;
}

.laeca-contact-other__button-main span {
  overflow-wrap: anywhere;
}

.laeca-contact-other__button svg,
.laeca-contact-other__button i {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;

  color: currentColor;
  stroke: currentColor;
}

.laeca-contact-other__arrow {
  transition: transform .3s ease;
}

.laeca-contact-other__button:hover .laeca-contact-other__arrow {
  transform: translateX(6px);
}


.laeca-contact-other__phone-number {
  display: inline-block !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  opacity: 1 !important;
  visibility: visible !important;
  font-size: inherit;
  font-weight: 600;
  white-space: nowrap;
}

/* =========================================================
MAPAS ORIGINALES
h-[250px] rounded-2xl
========================================================= */
.laeca-contact-map {
  position: relative;
  z-index: 1;

  width: 100%;
  height: 250px;

  border-radius: 16px;

  overflow: hidden;
  background: #e5e7eb;
}

.laeca-contact-map__label {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;

  padding: 8px 16px;

  border-radius: 6px;

  background: rgba(10,22,40,.90);
  color: #ffffff;

  font-family: "Inter", Arial, sans-serif;
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
}

.laeca-contact-map iframe {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  display: block;

  border: 0;
}

/* =========================================================
REVEAL
========================================================= */
.laeca-contact-reveal-left,
.laeca-contact-reveal-right {
  opacity: 0;
  transition:
    opacity .8s ease,
    transform .8s ease;
}

.laeca-contact-reveal-left {
  transform: translateX(-35px);
}

.laeca-contact-reveal-right {
  transform: translateX(35px);
}

.laeca-contact-reveal-left.is-visible,
.laeca-contact-reveal-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}


/* =========================================================
TABLET · 768px a 1023px
========================================================= */
@media (min-width: 768px) and (max-width: 1023px) {
  .laeca-contact-other {
    flex-direction: column;
  }

  .laeca-contact-other__left,
  .laeca-contact-other__right {
    width: 100%;
    padding-left: 48px;
    padding-right: 48px;
  }

  .laeca-contact-other__left {
    padding-top: 72px;
    padding-bottom: 56px;
  }

  .laeca-contact-other__right {
    padding-top: 0;
    padding-bottom: 72px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .laeca-contact-other__title {
    margin-bottom: 32px !important;
    font-size: 46px;
    line-height: 1.08;
    white-space: nowrap;
  }

  .laeca-contact-other__title span {
    display: inline;
  }

  .laeca-contact-other__title span + span::before {
    content: " ";
  }

  .laeca-contact-other__buttons {
    max-width: 100%;
    flex-direction: row;
    gap: 18px;
  }

  .laeca-contact-other__button {
    flex: 1 1 0;
    min-width: 0;
    min-height: 66px;
    padding: 18px 22px;
  }

  .laeca-contact-other__button--second {
    margin-top: 0;
  }

  .laeca-contact-other__button-main {
    gap: 12px;
    font-size: 16px;
    line-height: 22px;
  }

  .laeca-contact-other__button-main span,
  .laeca-contact-other__phone-number {
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .laeca-contact-map {
    height: 260px;
  }

  .laeca-contact-map__label {
    right: 12px;
    max-width: calc(100% - 24px);
  }
}

/* =========================================================
TABLET / MÓVIL
Original: flex-col antes de md
========================================================= */
@media (max-width: 767px) {
  .laeca-contact-other {
    flex-direction: column;
  }

  .laeca-contact-other__left,
  .laeca-contact-other__right {
    width: 100%;
    padding: 48px;
  }

  .laeca-contact-other__title {
    font-size: 48px;
    line-height: 1.25;
    margin-bottom: 40px !important;
  }

  .laeca-contact-other__button-main {
    font-size: 16px;
    line-height: 24px;
  }

  .laeca-contact-map {
    height: 250px;
  }
}

@media (max-width: 480px) {
  .laeca-contact-other__left,
  .laeca-contact-other__right {
    padding: 40px 24px;
  }

  .laeca-contact-other__title {
    font-size: 44px;
    line-height: 1.15;
  }

  .laeca-contact-other__button {
    padding: 18px 20px;
  }

  .laeca-contact-map__label {
    right: 12px;
    width: fit-content;
    max-width: calc(100% - 24px);
    font-size: 13px;
  }
}
