/* ── Hero de contacto: fondo + texto + retrato ── */
.contact-hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  padding: 4rem var(--pad-page);
  background:
    linear-gradient(100deg,
      rgba(0, 50, 58, 0.94) 0%,
      rgba(0, 50, 58, 0.8) 45%,
      rgba(0, 50, 58, 0.35) 100%
    ),
    url('/assets/contacto-bg.jpg');
  background-size: cover;
  background-position: center;
}

.contact-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
  max-width: 1300px;
  width: 100%;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Texto */
.contact-text {
  max-width: 600px;
}
.contact-eyebrow {
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
}
.contact-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-style: italic;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 1.25;
  color: var(--white);
  margin-bottom: 2rem;
}
.contact-title em {
  font-style: italic;
  color: #93AFB9;
}
.contact-bio p {
  font-family: 'Noto Sans', sans-serif;
  font-weight: 500;
  font-size: 0.92rem;
  line-height: 1.8;
  color: var(--white-50);
  margin-bottom: 1.2rem;
}

/* Retrato circular con halo */
.contact-portrait {
  position: relative;
  width: 320px;
  height: 320px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.portrait-photo {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 25%;
  position: relative;
  z-index: 2;
  box-shadow:
    0 0 0 2px var(--gold-dim),
    0 0 45px 10px rgba(230, 200, 140, 0.35);
}

/* Aro de luz difuminado detrás de la foto */
.portrait-glow {
  position: absolute;
  inset: -35px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(230, 200, 140, 0.35) 0%, rgba(230, 200, 140, 0) 70%);
  filter: blur(10px);
  z-index: 1;
  animation: pulse-glow 4s ease-in-out infinite;
}
@keyframes pulse-glow {
  0%, 100% { transform: scale(1); opacity: 0.75; }
  50%      { transform: scale(1.08); opacity: 1; }
}

/* Chispitas doradas (reusa tu estrella.png) */
.spark {
  position: absolute;
  width: 22px;
  height: 22px;
  z-index: 3;
  animation: twinkle 2.6s ease-in-out infinite;
}
.spark--1 { top: 0%;   left: 4%;   animation-delay: 0s; }
.spark--2 { top: 68%;  right: -2%; animation-delay: 0.9s; width: 16px; height: 16px; }
.spark--3 { bottom: 4%; left: 38%; animation-delay: 1.7s; width: 14px; height: 14px; }

@keyframes twinkle {
  0%, 100% { opacity: 0;   transform: scale(0.5) rotate(0deg); }
  50%      { opacity: 1;   transform: scale(1.15) rotate(20deg); }
}

/* Sección de redes (contenedor para separar del hero) */
.doors-section {
  padding: 5rem var(--pad-page);
}

/* ── Responsive ── */
@media (max-width: 800px) {
  .contact-hero {
    min-height: auto;
    padding: 3rem var(--pad-mobile);
  }
  .contact-content {
    flex-direction: column-reverse; /* foto primero, texto después, se ve mejor en móvil */
    text-align: center;
    gap: 2.5rem;
  }
  .contact-title, .contact-bio { text-align: left; } /* el bio se lee mejor alineado a la izquierda aunque el bloque esté centrado */
  .contact-portrait {
    width: 220px;
    height: 220px;
  }
}

/* ── Sección de redes (Instagram / WhatsApp / TikTok) ── */
.doors-section {
  padding: 5rem var(--pad-page);
}

.doors {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

.door {
  display: flex;
  flex-direction: column;
  flex: 1 1 320px;
  max-width: 380px;
  gap: 1rem;
  padding: 0 0 2rem;
  background: var(--teal-deep);
  border: 1px solid var(--white-08);
  transition: background var(--transition), border-color var(--transition);
  cursor: pointer;
  overflow: hidden;
}
.door:hover {
  background: var(--teal-mid);
  border-color: var(--white-20);
}

.door-icon {
  padding: 2.5rem 2.5rem 0;
}
.door-icon svg {
  width: 40px;
  height: 40px;
  color: var(--white-50);
  transition: color var(--transition);
}
.door:hover .door-icon svg {
  color: var(--gold);
}

.door-content {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  flex: 1;
  padding: 0 2.5rem 0;
}
.door-label {
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-dim);
}
.door-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-style: italic;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.1;
  color: var(--white);
}
.door-desc {
  font-size: 0.8rem;
  line-height: 1.8;
  color: var(--white-50);
}
.door-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white-50);
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--white-08);
  transition: color var(--transition);
}
.door:hover .door-cta { color: var(--white); }
.cta-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-dim);
  flex-shrink: 0;
  transition: background var(--transition), transform var(--transition);
}
.door:hover .cta-dot {
  background: var(--gold);
  transform: scale(1.4);
}

@media (max-width: 700px) {
  .doors-section { padding: 3rem var(--pad-mobile); }
}