/* ===== CONTACTO ===== */
#content-contacto {
  height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.contacto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 100%;
  overflow: hidden;
}

/* ── LEFT: CTA + form ── */
.contacto-left {
  padding: 40px 36px 2px 9px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: 100%;
  overflow: hidden;
}

.contacto-cta-text {
  font-family: var(--font-h);
  font-size: clamp(20px, 2vw, 34px);
  line-height: 1.08;
  color: var(--cream);
  text-align: right;
  font-weight: 700;
  letter-spacing: 0.01em;
  flex-shrink: 0;
  max-width: 75%;
  align-self: flex-end;
  margin-right: 85px;
}
.contacto-cta-text span {
  color: var(--yellow);
}

.contacto-form-wrap {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
}
.contacto-form-wrap > div {
  height: 100% !important;
}

/* ── RIGHT: bio + foto + QUIÉNES SOMOS? ── */
.contacto-right {
  padding: 28px 100px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
  overflow: hidden;
  border-left: 1px solid rgba(247,241,228,0.15);
}

.contacto-bio {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  scrollbar-gutter: stable;
  display: flex;
  flex-direction: column;
  gap: 18px;
  justify-content: center;
  padding-top: 12px;
  padding-bottom: 12px;
}
.contacto-bio p {
  font-family: var(--font-b);
  font-size: clamp(13px, 1.1vw, 17px);
  line-height: 1.55;
  color: var(--cream);
  text-align: right;
}

.contacto-bottom {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-start;
  align-items: stretch;
  gap: 8px;
  flex-shrink: 0;
  height: 52%;
}

.contacto-foto {
  height: 100%;
  width: auto;
  object-fit: cover;
  object-position: top;
  filter: grayscale(100%);
  flex-shrink: 0;
  display: block;
  align-self: flex-end;
}

.contacto-quienes {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-end;
  gap: 4px;
  padding-bottom: 8px;
  padding-top: 4px;
  margin-left: 0;
}

.contacto-nosotros-label {
  font-family: var(--font-b);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--cream);
  text-transform: uppercase;
  opacity: 0.7;
  text-align: right;
}

.contacto-quienes-h {
  font-family: var(--font-h);
  font-size: clamp(41px, 4.56vw, 74px);
  line-height: 0.88;
  color: var(--cream);
  letter-spacing: 0.01em;
  text-align: right;
}
.contacto-quienes-h span {
  color: var(--yellow);
}

/* ── Redes sociales ──────────────────────────────────── */
.contacto-social {
  display: flex;
  flex-direction: row;
  gap: 14px;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
}
.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 69px;
  height: 69px;
  border-radius: 50%;
  background: rgba(247,241,228,0.15);
  color: var(--cream);
  flex-shrink: 0;
  transition: background 0.2s, transform 0.2s;
  text-decoration: none;
}
.social-icon:hover {
  background: rgba(247,241,228,0.28);
  transform: translateY(-2px);
}
.social-icon img {
  width: 33px;
  height: 33px;
  display: block;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

/* ── Desktop: form scroll fix (ENVIAR visible) ── */
@media (min-width: 769px) {
  .contacto-form-wrap {
    overflow-y: auto;
  }
  .contacto-form-wrap > div {
    min-height: 680px;
  }
  .contacto-form-wrap iframe {
    min-height: 680px;
  }
}
