/*
 * mav-hero.css — Sección hero
 * Versión:    1.1.0
 * Generado:   2026-06-06
 * Efectos:    Módulo independiente. Layout dos columnas, foto derecha.
 */

.mav-hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  background: var(--navy);
  padding-top: 72px; /* altura del nav */
  position: relative;
  overflow: hidden;
}

/* Línea decorativa gold lateral */
.mav-hero::before {
  content: '';
  position: absolute;
  left: 0; top: 15%; bottom: 15%;
  width: 3px;
  background: linear-gradient(to bottom, transparent, var(--gold) 30%, var(--gold) 70%, transparent);
  opacity: 0.5;
}

.mav-hero__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4rem;
  align-items: center;
  padding-block: 5rem;
}

/* ── Texto ───────────────────────────────────────────────────────────────── */
.mav-hero__texto {
  max-width: 560px;
}

.mav-hero__nombre {
  font-size: clamp(3rem, 7vw, 5.5rem);
  color: var(--off-white);
  margin-bottom: 1.5rem;
}

.mav-hero__divisor {
  width: 56px;
  height: 3px;
  background: var(--gold);
  margin-bottom: 1.5rem;
  border-radius: 2px;
}

.mav-hero__titulo-ponencia {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.1rem, 2.2vw, 1.45rem);
  color: var(--platinum-light);
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

.mav-hero__descripcion {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1rem;
  color: var(--platinum);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 440px;
}

/* ── Foto ────────────────────────────────────────────────────────────────── */
.mav-hero__foto {
  position: relative;
  flex-shrink: 0;
}

.mav-hero__foto img {
  width: clamp(280px, 35vw, 460px);
  height: auto;
  object-fit: cover;
  object-position: center top;
  /* El fondo negro de la foto casa directamente con --navy */
  display: block;
}

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .mav-hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }

  .mav-hero__foto {
    order: -1;
  }

  .mav-hero__foto img {
    width: clamp(200px, 55vw, 320px);
  }

  .mav-hero__divisor {
    margin-inline: auto;
  }

  .mav-hero__descripcion {
    margin-inline: auto;
  }
}
