/* =========================================================
   ESTRALIA · CONTACTO
   Estilos específicos de /contacto/.
   Complementa main.css y conversion-contacto.css.
   ========================================================= */

.contact-main {
  padding-top: var(--nav-h);
  background: #ffffff;
}

.contact-hero {
  min-height: calc(100vh - var(--nav-h));
  min-height: calc(100dvh - var(--nav-h));
  padding: 0 20px;
  background: #ffffff;
}

.contact-hero__inner {
  width: min(100%, var(--container-lg));
  min-height: inherit;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(34px, 5vw, 74px);
  align-items: stretch;
}

.contact-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(16px, 3vw, 38px) 0;
}

.contact-eyebrow {
  margin: 0 0 12px;
  color: var(--estralia-blue);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.contact-hero h1 {
  max-width: 680px;
  margin: 0 0 20px;
  color: var(--estralia-black);
  font-size: clamp(2.35rem, 5vw, 4.6rem);
  line-height: 1.03;
  letter-spacing: -0.055em;
}

.contact-hero__lead {
  max-width: 640px;
  margin: 0;
  color: #4d4d4d;
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.75;
}

.contact-panel {
  position: relative;
  height: calc(100vh - var(--nav-h));
  height: calc(100dvh - var(--nav-h));
  min-height: 560px;
  overflow: hidden;
  isolation: isolate;
  background: transparent;
  box-shadow: none;
}

.contact-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(0, 0, 0, 0.22);
  pointer-events: none;
}

.contact-panel__media {
  display: block;
  height: 100%;
  width: auto;
  max-width: none;
  object-fit: contain;
  object-position: center;
}

.contact-panel__overlay {
  display: none;
}

.contact-panel__content {
  position: absolute;
  inset: 0;
  z-index: 1;
  padding: clamp(30px, 4vw, 54px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 26px;
  color: #ffffff;
}

.contact-detail {
  min-width: 0;
}

.contact-detail__label {
  margin: 0 0 7px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.contact-detail__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-width: 0;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
}

.contact-detail__row a {
  min-width: 0;
  color: #ffffff;
  font-size: clamp(1rem, 1.45vw, 1.22rem);
  font-weight: 600;
  overflow-wrap: anywhere;
  text-decoration: none;
  text-underline-offset: 4px;
}

.contact-detail__row a:hover {
  text-decoration: underline;
}

.contact-copy {
  flex: 0 0 auto;
  min-height: 36px;
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.18);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.contact-copy:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.85);
}

.contact-copy:active {
  transform: translateY(1px);
}

.contact-copy:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.72);
  outline-offset: 3px;
}

.contact-panel__meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contact-panel__meta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.94rem;
  line-height: 1.55;
}

.contact-panel__meta strong {
  color: #ffffff;
}

.contact-copy-status {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

@media (max-width: 980px) {
  .contact-main {
    padding-top: var(--nav-h-mobile);
  }

  .contact-hero {
    min-height: 0;
    padding: 34px 18px 50px;
  }

  .contact-hero__inner {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .contact-hero__copy {
    padding: 12px 0 0;
  }

  .contact-panel {
    display: grid;
    width: 100%;
    height: auto;
    min-height: 0;
  }

  .contact-panel__media,
  .contact-panel__content {
    grid-area: 1 / 1;
  }

  .contact-panel__media {
    width: 100%;
    height: auto;
    max-width: 100%;
  }

  .contact-panel__content {
    position: relative;
    inset: auto;
    min-height: 520px;
    padding: clamp(28px, 7vw, 46px);
  }
}

@media (max-width: 620px) {
  .contact-hero h1 {
    font-size: clamp(2.15rem, 12vw, 3.1rem);
  }

  .contact-panel__content {
    min-height: 0;
    padding: 30px 22px;
    gap: 23px;
  }

  .contact-panel__meta {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .contact-detail__row {
    align-items: flex-start;
  }

  .contact-copy {
    min-width: 72px;
  }
}

