/* ==========================================================================
   MXA · components/hero.css — Sección Hero (video + overlays + contenido)
   ========================================================================== */
.hero {
  position: relative; height: 100vh; width: 100%;
  height: 100svh;              /* móvil: viewport visible al cargar (barra del navegador incluida) */
  min-height: 600px;
  overflow: hidden; background: var(--ink);
  /* El póster se pinta también como fondo (mismo archivo que el atributo
     poster): garantiza que la imagen se vea bien aunque el navegador no
     aplique object-fit al poster o el vídeo no llegue a reproducirse. */
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}
.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: sepia(0.25) saturate(1.2) hue-rotate(-5deg) contrast(1.05);
}
.hero-overlay-1 { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,0.7) 0%, rgba(139,100,32,0.4) 50%, rgba(0,0,0,0.85) 100%); }
.hero-overlay-2 { position: absolute; inset: 0; background: linear-gradient(to top, var(--ink) 0%, transparent 50%, transparent 100%); }
.hero-overlay-gold { position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(211,155,72,0.15) 0%, transparent 60%); pointer-events: none; }
.hero-border-top { position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent 0%, var(--gold) 50%, transparent 100%); z-index: 11; }

.hero-content {
  position: relative; z-index: 10; height: 100%;
  display: flex; flex-direction: column; align-items: center;  margin-top:100px;
  text-align: center; padding: 24px;
}
.hero-eyebrow {
  font-family: 'Oswald', sans-serif; text-transform: uppercase; color: var(--gold-light);
  font-size: 12px; letter-spacing: 0.25em; margin-bottom: 24px;
  animation: fadeUp 1s ease-out forwards;
  padding: 8px 24px; border: 1px solid var(--gold); background: rgba(15,15,15,0.4); backdrop-filter: blur(4px);
  display: inline-block;
}
@media (min-width: 640px) { .hero-eyebrow { font-size: 14px; } }
.hero-title {
  font-family: 'Oswald', sans-serif; text-transform: uppercase; font-weight: 700;
  color: var(--cream); font-size: 40px; line-height: 0.95; letter-spacing: -0.02em;
  max-width: 900px;
  animation: fadeUpDelay1 1s ease-out 0.3s forwards; opacity: 0;
}
@media (min-width: 640px) { .hero-title { font-size: 60px; } }
@media (min-width: 1024px) { .hero-title { font-size: 72px; } }
@media (min-width: 1280px) { .hero-title { font-size: 80px; } }
.hero-title .accent {
  color: var(--gold);
  text-shadow: 2px 2px 20px  #492c01;
  /*text-shadow: 0 0 40px rgba(211,155,72,0.6), 0 0 80px rgba(211,155,72,0.3);*/
  /*background: linear-gradient(135deg, var(--gold-lighter) 0%, var(--gold) 50%, var(--gold-dark) 100%);*/
  /*background:    var(--gold) ;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 20px rgba(255,255,255,0.4));*/
}
.hero-subtitle {
  font-family: 'Playfair Display', serif; font-style: italic;
  color: rgba(247,244,239,0.85); font-size: 17px; margin-top: 32px; max-width: 90%;
  animation: fadeUpDelay2 1s ease-out 0.6s forwards; opacity: 0;
  text-shadow: 2px 2px 10px  #492c01;
}
@media (min-width: 640px) { .hero-subtitle { font-size: 20px; max-width: 640px; } }
@media (min-width: 1024px) { .hero-subtitle { font-size: 24px; } }

.hero-ctas {
  display: flex; flex-direction: column; gap: 16px; margin-top: 40px;
  animation: fadeUpDelay3 1s ease-out 0.9s forwards; opacity: 0;
}
@media (min-width: 640px) { .hero-ctas { flex-direction: row; } }

/* Indicadores del hero */
.scroll-indicator {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  z-index: 10; display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.scroll-indicator span {
  font-family: 'Oswald', sans-serif; text-transform: uppercase;
  color: rgba(247,244,239,0.6); font-size: 10px; letter-spacing: 0.2em;
}
.scroll-indicator svg { width: 16px; height: 16px; color: rgba(247,244,239,0.6); animation: scrollBounce 2s ease-in-out infinite; }

.hero-side-label {
  display: none; position: absolute; right: 32px; top: 50%; transform: translateY(-50%) rotate(-90deg);
  transform-origin: right center; z-index: 10;
}
@media (min-width: 1280px) { .hero-side-label { display: block; } }
.hero-side-label span {
  font-family: 'Oswald', sans-serif; text-transform: uppercase;
  color: rgba(247,244,239,0.4); font-size: 10px; letter-spacing: 0.2em;
}

/* --- WEB 2027: el hero arranca a pantalla completa -----------------------
   .hero es el primer bloque de <main> y el header (sticky, --header-h) sí
   ocupa espacio en el flujo: con el margen negativo el vídeo empieza en el
   borde superior de la ventana y ocupa los 100vh completos. El padding
   simétrico evita que el header tape el contenido sin descentrarlo
   (el centro del bloque queda en el centro real del viewport).
   Solo afecta al home: en el resto de páginas el header sigue en el flujo. */
.page-home .hero {
  margin-top: calc(-1 * var(--header-h));
  padding-top: var(--header-h);
  padding-bottom: var(--header-h);
}

/* --- WEB 2027: el titular de la home es más largo → tipografía contenida -- */
.hero-title { max-width: 1100px; }
@media (min-width: 640px) { .hero-title { font-size: 42px; } }
@media (min-width: 1024px) { .hero-title { font-size: 54px; } }
@media (min-width: 1280px) { .hero-title { font-size: 62px; } }
.hero-subtitle { max-width: 90%; }
@media (min-width: 640px) { .hero-subtitle { max-width: 720px; } }
