:root{
  --burgundy:#83001f;
  --burgundy-dark:#650018;
  --burgundy-deep:#4d0718;
  --gold:#f5a126;
  --gold-light:#ffc84a;
  --cream:#fff8ea;
  --cream-2:#f4e7ce;
  --ink:#3f272d;
  --white:#ffffff;
  --green:#198754;
  --shadow:0 24px 60px rgba(77,0,24,.14);
  --nav-h:86px;
  --container:1180px;
}

*{box-sizing:border-box}
html{
  scroll-behavior:smooth;
  scroll-padding-top:calc(var(--nav-h) + 18px);
}
body{
  margin:0;
  font-family:"Montserrat",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color:var(--ink);
  background:var(--cream);
  overflow-x:hidden;
  text-rendering:optimizeLegibility;
}
img{max-width:100%;height:auto}
a{color:inherit;text-decoration:none}
button{font:inherit}
.container{
  width:min(var(--container),calc(100% - 40px));
  margin-inline:auto;
}
.section{position:relative;overflow:hidden}
.progress{
  position:fixed;
  inset:0 auto auto 0;
  z-index:9999;
  width:0;
  height:4px;
  background:linear-gradient(90deg,var(--gold),#ef4e3f,var(--green));
}

/* =========================================================
   PORTADA
   ========================================================= */
.hero{
  position:relative;
  min-height:100vh;
  min-height:100svh;
  overflow:hidden;
  color:var(--gold);
  /* Fondos eliminados para mostrar el hero-bg */
}

/* --- CLASES NUEVAS PARA MANEJAR LA IMAGEN RESPONSIVE --- */
.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0; 
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover; 
  object-position: center; 
}
/* -------------------------------------------------------- */

.hero-pattern{
  position:absolute;
  inset:0 0 auto;
  z-index:4;
  height:clamp(54px,6vw,78px);
  background:url("images/img_arriba.webp") center top / auto 100% repeat-x;
}
.hero-poster{
  position:relative;
  z-index:2;
  min-height:100vh;
  min-height:100svh;
  display:grid;
  grid-template-columns:minmax(250px,.78fr) minmax(560px,1.65fr);
  align-items:center;
  gap:clamp(26px,4vw,64px);
  padding-top:clamp(92px,9vw,126px);
  padding-bottom:clamp(118px,11vw,155px);
}
.hero-logo-wrap{
  display:flex;
  justify-content:center;
  align-items:center;
}
.hero-logo{
  width:min(100%,390px);
  max-height:560px;
  object-fit:contain;
  filter:drop-shadow(0 12px 24px rgba(43,0,12,.15));
}
.hero-poster-copy{
  min-width:0;
  align-self:center;
}
.hero-event-title{
  margin:0;
  display:flex;
  flex-direction:column;
  color:var(--gold);
  font-size:clamp(42px,4.2vw,67px);
  font-weight:900;
  line-height:.94;
  letter-spacing:-.035em;
}
.hero-audience{
  margin:18px 0 5px;
  color:var(--gold);
  font-size:clamp(13px,1.35vw,21px);
  font-weight:800;
  line-height:1.1;
}
.hero-poster h1{
  margin:0;
  color:var(--gold);
  font-size:clamp(58px,6.3vw,100px);
  font-weight:900;
  line-height:.9;
  letter-spacing:-.045em;
  white-space:nowrap;
}
.hero-gold-rule{
  height:6px;
  width:100%;
  margin:18px 0 22px;
  background:var(--gold);
}
.hero-theme{
  margin:0;
  color:var(--gold);
  text-align:center;
  font-size:clamp(23px,2.25vw,36px);
  font-weight:800;
  line-height:1.18;
}
.hero-dispute{
  margin:10px 0 0;
  color:var(--gold);
  text-align:center;
  font-size:clamp(17px,1.7vw,27px);
  font-weight:700;
  line-height:1.15;
}
.hero-date-area{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:13px;
  margin-top:clamp(36px,4.2vw,58px);
}
.hero-date-card{
  width:min(620px,88%);
  padding:16px 26px 18px;
  border-radius:6px;
  background:var(--gold);
  color:var(--burgundy);
  text-align:center;
  box-shadow:0 15px 34px rgba(52,0,14,.13);
}
.hero-date-card strong,
.hero-date-card span{display:block}
.hero-date-card strong{
  font-size:clamp(21px,2.15vw,34px);
  line-height:1.06;
  font-weight:800;
}
.hero-date-card span{
  margin-top:7px;
  font-size:clamp(31px,3.25vw,51px);
  line-height:1;
  font-weight:800;
}
.hero-free{
  width:min(555px,77%);
  padding:9px 20px;
  border-radius:4px;
  background:var(--gold);
  color:var(--burgundy);
  text-align:center;
  font-size:clamp(18px,1.95vw,30px);
  line-height:1;
  letter-spacing:.22em;
  font-weight:500;
}
.hero-corner-pattern{
  position:absolute;
  right:-58px;
  bottom:12px;
  z-index:1;
  width:290px;
  height:270px;
  opacity:.95;
  background:
    radial-gradient(circle at 88% 20%,#ef4e3f 0 36px,transparent 37px),
    radial-gradient(circle at 78% 45%,#198754 0 34px,transparent 35px),
    radial-gradient(circle at 91% 72%,#f6bf22 0 42px,transparent 43px);
  pointer-events:none;
}

/* Flecha/indicador */
.scroll-down{
  position:absolute;
  z-index:5; /* Aumentado en la versión final a 20, asegurando visibilidad */
  left:50%;
  bottom:22px;
  transform:translateX(-50%);
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:8px;
  color:#fff;
  text-align:center;
  opacity:.95;
  transition:opacity .25s ease,transform .25s ease;
}
.scroll-down:hover{
  opacity:1;
  transform:translateX(-50%) translateY(3px);
}
.scroll-down__mouse{
  position:relative;
  display:block;
  width:30px;
  height:46px;
  border:2px solid rgba(255,255,255,.92);
  border-radius:18px;
  box-shadow:0 4px 18px rgba(0,0,0,.14);
}
.scroll-down__mouse i{
  position:absolute;
  top:8px;
  left:50%;
  width:5px;
  height:9px;
  border-radius:5px;
  background:#fff;
  transform:translateX(-50%);
  animation:scrollDot 1.55s ease-in-out infinite;
}
.scroll-down__label{
  font-size:10px;
  font-weight:800;
  letter-spacing:.13em;
  text-transform:uppercase;
}
.scroll-down__chevron{
  width:11px;
  height:11px;
  border-right:2px solid #fff;
  border-bottom:2px solid #fff;
  transform:rotate(45deg);
  animation:chevronDown 1.55s ease-in-out infinite;
}
@keyframes scrollDot{
  0%{opacity:0;transform:translate(-50%,0)}
  25%{opacity:1}
  75%{opacity:1}
  100%{opacity:0;transform:translate(-50%,18px)}
}
@keyframes chevronDown{
  0%,100%{opacity:.35;transform:translateY(0) rotate(45deg)}
  50%{opacity:1;transform:translateY(5px) rotate(45deg)}
}

/* =========================================================
   MENÚ: DEBAJO DE LA PORTADA + STICKY ARRIBA
   ========================================================= */
.navbar{
  position:sticky;
  top:0;
  z-index:1500;
  width:100%;
  height:var(--nav-h);
  background:rgba(255,250,240,.97);
  color:var(--ink);
  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);
  box-shadow:0 4px 22px rgba(50,0,14,.10);
  transition:height .25s ease,box-shadow .25s ease,background .25s ease;
}
.navbar.scrolled{
  box-shadow:0 10px 32px rgba(50,0,14,.16);
  background:rgba(255,250,240,.985);
}
.navbar-inner{
  height:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
}
.brand{
  display:flex;
  align-items:center;
  gap:10px;
  color:var(--burgundy);
  flex:0 0 auto;
}
.brand-number{
  font-size:34px;
  font-weight:900;
  line-height:1;
}
.brand-copy{
  display:flex;
  flex-direction:column;
  line-height:.92;
}
.brand-copy strong{font-size:19px}
.brand-copy small{
  margin-top:5px;
  font-size:12px;
  font-weight:900;
}
.nav-links{
  display:flex;
  align-items:center;
  gap:clamp(16px,2vw,28px);
}
.nav-links a{
  position:relative;
  display:flex;
  align-items:center;
  height:var(--nav-h);
  text-transform:uppercase;
  font-size:12px;
  font-weight:800;
  white-space:nowrap;
}
.nav-links a::after{
  content:"";
  position:absolute;
  left:50%;
  bottom:18px;
  width:0;
  height:3px;
  border-radius:3px;
  background:var(--gold);
  transform:translateX(-50%);
  transition:width .24s ease;
}
.nav-links a:hover,
.nav-links a.active{color:var(--burgundy)}
.nav-links a:hover::after,
.nav-links a.active::after{width:100%}
.menu-toggle{
  display:none;
  width:46px;
  height:46px;
  padding:9px;
  border:0;
  background:transparent;
  cursor:pointer;
}
.menu-toggle span{
  display:block;
  height:3px;
  margin:5px 0;
  border-radius:4px;
  background:var(--burgundy);
  transition:transform .25s ease,opacity .25s ease;
}
.menu-toggle.open span:nth-child(1){transform:translateY(8px) rotate(45deg)}
.menu-toggle.open span:nth-child(2){opacity:0}
.menu-toggle.open span:nth-child(3){transform:translateY(-8px) rotate(-45deg)}

/* =========================================================
   TIPOGRAFÍA / SECCIONES COMUNES
   ========================================================= */
.eyebrow{
  display:inline-block;
  margin-bottom:14px;
  color:var(--burgundy);
  font-size:13px;
  font-weight:900;
  letter-spacing:.15em;
  text-transform:uppercase;
}
.eyebrow.light{color:#ffd063}
.section-head{
  max-width:800px;
  margin:0 auto 48px;
  text-align:center;
}
.section-head h2,
.intro-title h2,
.papers-copy h2,
.location-copy h2{
  margin:0;
  color:var(--burgundy);
  font-size:clamp(37px,4.8vw,61px);
  line-height:1.03;
  letter-spacing:-.035em;
}
.section-head p{
  font-size:17px;
  line-height:1.65;
}

/* INTRO */
.intro{
  padding:clamp(78px,8vw,112px) 0;
  background:linear-gradient(180deg,#fffaf0,#fff);
}
.intro-grid{
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:clamp(42px,6vw,72px);
  align-items:start;
}
.intro-title{position:sticky;top:calc(var(--nav-h) + 26px)}
.intro-text p{
  margin:0 0 20px;
  font-size:18px;
  line-height:1.75;
}
.pill-row{
  display:flex;
  flex-wrap:wrap;
  gap:9px;
  margin-top:28px;
}
.pill-row span,
.location-facts span{
  padding:9px 13px;
  border-radius:999px;
  background:var(--cream-2);
  color:var(--burgundy);
  font-size:12px;
  font-weight:900;
  text-transform:uppercase;
}

/* EJES */
.axes{
  padding:clamp(78px,8vw,108px) 0;
  color:#fff;
  background:linear-gradient(135deg,#690018,#99052d 52%,#5d0017);
}
.axes .section-head h2{color:#ffd063}
.axes .section-head p{color:#f5dfe5}
.axes-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
}
.axis-card{
  padding:30px;
  border:1px solid rgba(255,255,255,.13);
  border-radius:22px;
  background:rgba(255,255,255,.08);
  backdrop-filter:blur(5px);
}
.axis-card:last-child{grid-column:1/-1}
.axis-card b{
  display:block;
  margin-bottom:18px;
  color:#ffd063;
  font-size:13px;
  letter-spacing:.2em;
}
.axis-card h3{
  margin:0 0 11px;
  color:#fff;
  font-size:22px;
  line-height:1.18;
}
.axis-card p{
  margin:0;
  color:#f5dfe5;
  font-size:15px;
  line-height:1.62;
}

/* TRABAJOS */
.papers{
  padding:clamp(78px,8vw,112px) 0;
  background:#fff;
}
.papers-grid{
  display:grid;
  grid-template-columns:.8fr 1.2fr;
  gap:clamp(42px,6vw,72px);
  align-items:start;
}
.papers-copy{position:sticky;top:calc(var(--nav-h) + 26px)}
.papers-copy p{
  font-size:16px;
  line-height:1.7;
}
.requirements{
  display:grid;
  gap:12px;
}
.requirements>div{
  display:grid;
  grid-template-columns:58px 1fr;
  gap:18px;
  align-items:start;
  padding:20px 22px;
  border:1px solid #edd8b4;
  border-radius:17px;
  background:var(--cream);
}
.requirements span{
  width:46px;
  height:46px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:var(--burgundy);
  color:#fff;
  font-weight:900;
}
.requirements p{
  margin:4px 0 0;
  line-height:1.55;
}

/* FECHAS */
.dates{
  padding:clamp(78px,8vw,108px) 0;
  background:linear-gradient(180deg,#f4e6ca,#fff8ea);
}
.date-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:20px;
}
.date-box{
  padding:34px;
  border-top:6px solid var(--gold);
  border-radius:24px;
  background:#fff;
  box-shadow:var(--shadow);
}
.date-box span{
  display:block;
  color:var(--burgundy);
  font-size:13px;
  font-weight:900;
  letter-spacing:.12em;
  text-transform:uppercase;
}
.date-box strong{
  display:block;
  margin:11px 0 13px;
  color:var(--burgundy);
  font-size:clamp(28px,3vw,40px);
  line-height:1;
}
.date-box p{
  margin:0;
  line-height:1.6;
}
.certificate{
  margin-top:20px;
  padding:25px 30px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:25px;
  border-radius:22px;
  background:var(--burgundy);
  color:#fff;
}
.certificate strong{
  color:#ffd063;
  font-size:22px;
}
.certificate p{margin:5px 0 0}
.certificate a{
  border-bottom:2px solid var(--gold);
  font-weight:900;
  white-space:nowrap;
}

/* UBICACIÓN */
.location{
  padding:clamp(78px,8vw,108px) 0;
  background:#fff;
}
.location-grid{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:clamp(42px,5vw,64px);
  align-items:center;
}
.location-map{
  position:relative;
  min-height:440px;
  overflow:hidden;
  border-radius:28px;
  background:
    radial-gradient(circle at 48% 48%,rgba(244,173,46,.38),transparent 23%),
    linear-gradient(135deg,#e7eadf,#f6e7c7);
  box-shadow:var(--shadow);
}
.location-map::before{
  content:"";
  position:absolute;
  inset:-15%;
  background:
    repeating-linear-gradient(15deg,transparent 0 48px,rgba(125,0,30,.08) 49px 52px),
    repeating-linear-gradient(105deg,transparent 0 65px,rgba(125,0,30,.07) 66px 69px);
  transform:rotate(-3deg);
}
.map-dot{
  position:absolute;
  left:50%;
  top:45%;
  width:46px;
  height:46px;
  border:10px solid rgba(244,173,46,.95);
  border-radius:50% 50% 50% 0;
  background:var(--burgundy);
  transform:translate(-50%,-50%) rotate(-45deg);
  box-shadow:0 15px 30px rgba(77,0,24,.25);
}
.location-map>span{
  position:absolute;
  left:50%;
  top:58%;
  transform:translateX(-50%);
  color:var(--burgundy);
  font-size:clamp(44px,6vw,80px);
  font-weight:900;
  letter-spacing:-.05em;
}
.location-copy p{
  font-size:17px;
  line-height:1.7;
}
.location-facts{
  display:flex;
  flex-wrap:wrap;
  gap:9px;
  margin-top:22px;
}

/* FOOTER */
.site-footer{
  position:relative;
  overflow:hidden;
  padding:0 0 24px;
  color:#850921;
  background-color: #FDF7E9;
}
.footer-pattern{
  width:100%;
  height:78px;
  background:url("images/img_arriba.webp") center top / auto 100% repeat-x;
}
.footer-content{padding-top:28px}
.footer-logos{
  min-height:120px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.footer-logos img{
  display:block;
  width:min(100%,1020px);
  object-fit:contain;
}
.footer-rule{
  height:1px;
  margin:2px 0 18px;
  background:rgba(235,167,54,.72);
}
.footer-bottom-row{
  min-height:48px;
  display:grid;
  grid-template-columns:1fr auto 1fr;
  align-items:center;
  gap:28px;
}
.footer-email{
  justify-self:start;
  color:#850921;
  font-size:clamp(15px,1.4vw,21px);
  font-weight:500;
}
.footer-social{
  display:flex;
  justify-content:center;
  gap:10px;
}
.footer-social a{
  width:30px;
  height:30px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:#fff;
  color:var(--burgundy);
  transition:transform .25s ease,background .25s ease;
}
.footer-social a:hover{
  transform:translateY(-3px);
  background:#ffd063;
}
.footer-social svg{
  width:15px;
  height:15px;
  fill:currentColor;
}
.footer-links{
  justify-self:end;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  flex-wrap:wrap;
  gap:7px;
  color:#850921;
  font-size:clamp(14px,1.3vw,19px);
}
.footer-links a{color:#fff}
.footer-email:hover,
.footer-links a:hover{color:#ffd063}

/* UTILIDADES */
.back-top{
  position:fixed;
  right:22px;
  bottom:22px;
  z-index:1600;
  width:48px;
  height:48px;
  border:0;
  border-radius:50%;
  background:var(--gold);
  color:var(--burgundy);
  font-size:24px;
  font-weight:900;
  box-shadow:0 10px 28px rgba(0,0,0,.22);
  opacity:0;
  transform:translateY(16px);
  pointer-events:none;
  cursor:pointer;
  transition:.25s;
}
.back-top.show{
  opacity:1;
  transform:none;
  pointer-events:auto;
}
.reveal,.reveal-left,.reveal-right{
  opacity:0;
  transition:
    opacity .72s ease,
    transform .72s cubic-bezier(.2,.65,.25,1);
}
.reveal{transform:translateY(34px)}
.reveal-left{transform:translateX(-42px)}
.reveal-right{transform:translateX(42px)}
.revealed{
  opacity:1;
  transform:none;
}

/* =========================================================
   TABLET
   ========================================================= */
@media (max-width:1080px){
  .hero-poster{
    grid-template-columns:minmax(220px,.7fr) minmax(0,1.55fr);
    gap:28px;
  }
  .hero-logo{width:min(100%,330px)}
  .hero-poster h1{font-size:clamp(52px,6.8vw,78px)}
}

@media (max-width:960px){
  :root{--nav-h:76px}

  .menu-toggle{display:block}
  .nav-links{
    position:absolute;
    top:100%;
    left:0;
    right:0;
    display:flex;
    flex-direction:column;
    align-items:stretch;
    gap:0;
    padding:10px 22px 18px;
    background:#fffaf0;
    box-shadow:0 18px 30px rgba(77,0,24,.15);
    transform:scaleY(0);
    transform-origin:top;
    opacity:0;
    pointer-events:none;
    transition:.25s ease;
  }
  .nav-links.open{
    transform:scaleY(1);
    opacity:1;
    pointer-events:auto;
  }
  .nav-links a{
    height:auto;
    padding:13px 0;
  }
  .nav-links a::after{
    left:0;
    bottom:5px;
    transform:none;
  }

  .hero-poster{
    grid-template-columns:30% 70%;
    gap:20px;
  }
  .hero-logo{width:min(100%,280px)}
  .hero-poster h1{font-size:clamp(48px,7.2vw,70px)}

  .intro-grid,
  .papers-grid,
  .location-grid{
    grid-template-columns:1fr;
    gap:38px;
  }
  .intro-title,
  .papers-copy{position:static}
  .axes-grid{grid-template-columns:1fr}
  .axis-card:last-child{grid-column:auto}
  .date-grid{grid-template-columns:1fr}
  .certificate{
    flex-direction:column;
    align-items:flex-start;
  }
  .location-map{min-height:350px}
}

/* =========================================================
   MOBILE
   ========================================================= */
@media (max-width:720px){
  .container{width:min(var(--container),calc(100% - 28px))}

  .hero-pattern{
    height:50px;
  }
  .hero-poster{
    min-height:100svh;
    grid-template-columns:1fr;
    align-content:start;
    gap:5px;
    padding-top:72px;
    padding-bottom:130px;
    text-align:center;
  }
  .hero-logo-wrap{
    justify-content:center;
  }
  .hero-logo{
    width:min(42vw,185px);
    max-height:230px;
  }
  .hero-event-title{
    align-items:center;
    font-size:clamp(28px,9.4vw,42px);
    line-height:.97;
  }
  .hero-audience{
    margin:10px auto 5px;
    max-width:540px;
    font-size:clamp(10px,3vw,14px);
    line-height:1.2;
  }
  .hero-poster h1{
    white-space:normal;
    font-size:clamp(42px,12.3vw,62px);
    line-height:.95;
  }
  .hero-gold-rule{
    width:92%;
    height:4px;
    margin:12px auto 14px;
  }
  .hero-theme{
    font-size:clamp(18px,5.3vw,25px);
    line-height:1.16;
  }
  .hero-theme br{display:none}
  .hero-dispute{
    font-size:clamp(13px,3.8vw,18px);
    line-height:1.2;
  }
  .hero-date-area{
    margin-top:24px;
    gap:9px;
  }
  .hero-date-card{
    width:min(92%,500px);
    padding:12px 14px 14px;
  }
  .hero-date-card strong{
    font-size:clamp(17px,4.8vw,23px);
  }
  .hero-date-card span{
    margin-top:5px;
    font-size:clamp(25px,7vw,34px);
  }
  .hero-free{
    width:min(82%,450px);
    padding:8px 10px;
    font-size:clamp(15px,4.4vw,21px);
    letter-spacing:.16em;
  }
  .hero-corner-pattern{
    width:135px;
    height:150px;
    right:-45px;
    bottom:12px;
    opacity:.75;
  }
  .scroll-down{
    bottom:13px;
    gap:6px;
  }
  .scroll-down__label{
    display:none;
  }
  .scroll-down__mouse{
    width:27px;
    height:41px;
  }

  .intro,.axes,.papers,.dates,.location{
    padding:76px 0;
  }
  .intro-text p{font-size:16px}
  .axis-card,.date-box{padding:24px 20px}
  .requirements>div{
    grid-template-columns:48px 1fr;
    padding:17px 16px;
  }
  .requirements span{
    width:40px;
    height:40px;
  }
  .certificate{padding:22px 20px}
  .location-map{
    min-height:300px;
    border-radius:20px;
  }

  .footer-pattern{
    height:54px;
  }
  .footer-content{padding-top:20px}
  .footer-logos{
    min-height:auto;
    padding:8px 0 18px;
  }
  .footer-bottom-row{
    grid-template-columns:1fr;
    justify-items:center;
    gap:14px;
    padding-top:4px;
  }
  .footer-email,
  .footer-links{
    justify-self:center;
    text-align:center;
  }
  .footer-links{justify-content:center}
}

@media (max-width:430px){
  .hero-poster{
    padding-top:64px;
    padding-bottom:115px;
  }
  .hero-logo{
    width:min(38vw,155px);
  }
  .hero-event-title{
    font-size:clamp(26px,8.8vw,35px);
  }
  .hero-poster h1{
    font-size:clamp(39px,11.8vw,50px);
  }
  .hero-theme{
    font-size:clamp(17px,5vw,21px);
  }
  .hero-date-area{margin-top:19px}
  .hero-free{letter-spacing:.12em}
  .footer-pattern{height:46px}
  .footer-links{font-size:13px}
}

/* Pantallas bajas: evita que la portada se desborde */
@media (min-width:721px) and (max-height:760px){
  .hero-poster{
    padding-top:88px;
    padding-bottom:90px;
  }
  .hero-logo{max-height:380px;width:min(100%,290px)}
  .hero-event-title{font-size:clamp(34px,3.8vw,54px)}
  .hero-poster h1{font-size:clamp(50px,5.6vw,82px)}
  .hero-date-area{margin-top:28px}
  .hero-date-card{padding:12px 20px 14px}
  .hero-date-card strong{font-size:clamp(18px,1.8vw,28px)}
  .hero-date-card span{font-size:clamp(27px,2.8vw,42px)}
  .hero-free{font-size:clamp(16px,1.7vw,25px)}
}

/* Accesibilidad */
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .reveal,.reveal-left,.reveal-right{
    opacity:1;
    transform:none;
    transition:none;
  }
  .scroll-down__mouse i,
  .scroll-down__chevron{
    animation:none;
  }
}

/* =========================================================
   PORTADA FINAL CSS
   Composición basada estrictamente en el afiche de referencia.
   Guarda superior separada + portada + menú visibles en 1 pantalla.
   ========================================================= */

:root{
  --top-strip-h:70px;
  --nav-h:86px;
  --hero-h:calc(100svh - var(--top-strip-h) - var(--nav-h));
}

/* Guarda completamente separada del afiche */
.top-pattern{
  width:100%;
  height:var(--top-strip-h);
  background-image:url("images/img_arriba.webp");
  background-repeat:repeat-x;
  background-position:center center;
  background-size:auto 100%;
  background-color:#8e001f;
}

/* La portada ocupa SOLO el espacio restante antes del menú */
.hero{
  position:relative;
  width:100%;
  height:var(--hero-h);
  min-height:560px;
  overflow:hidden;
  padding:0;
  /* Fondo eliminado para mostrar el hero-bg */
  color:#f5a126;
}

/* Canvas proporcional al afiche 1061 × 780 */
.hero-design{
  position:relative;
  width:min(100%, calc(var(--hero-h) * 1.36025));
  height:100%;
  margin:0 auto;
  overflow:hidden;
  container-type:size;
  /* Fondo eliminado para mostrar hero-bg */
  z-index: 2; /* Añadido para asegurar que está por encima de hero-bg */
}

/* Marca VI + mapa/mano: mismas proporciones y ubicación que referencia */
.hero-mark{
  position:absolute;
  left:2.2cqw;
  top:5.2cqh;
  width:28.3cqw;
  height:auto;
  max-height:54cqh;
  object-fit:contain;
  object-position:left top;
}

/* Bloque principal derecho */
.hero-copy{
  position:absolute;
  left:26.0cqw;
  top:5.8cqh;
  width:68.0cqw;
  color:#f5a126;
}

.hero-event{
  display:flex;
  flex-direction:column;
  gap:.5cqh;
  font-size:5.1cqw;
  line-height:.89;
  font-weight:900;
  letter-spacing:-.045em;
  white-space:nowrap;
}

.hero-audience{
  margin-top:1.7cqh;
  font-size:1.92cqw;
  line-height:1;
  font-weight:900;
  letter-spacing:-.025em;
  white-space:nowrap;
}

.hero-copy h1{
  margin:.7cqh 0 0;
  color:#f5a126;
  font-size:7.05cqw;
  line-height:.9;
  font-weight:900;
  letter-spacing:-.05em;
  white-space:nowrap;
}

.hero-line{
  width:73%;
  height:.72cqh;
  margin:2.0cqh 0 2.4cqh auto;
  background:#f5a126;
}

.hero-theme{
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  font-size:3.22cqw;
  line-height:1.08;
  font-weight:800;
  letter-spacing:-.03em;
  text-align:right;
}

.hero-subtheme{
  margin-top:1.0cqh;
  font-size:2.55cqw;
  line-height:1.08;
  font-weight:700;
  text-align:right;
  white-space:nowrap;
}

/* Fecha: centrada y abajo como en la referencia */
.hero-date{
  position:absolute;
  left:24.2cqw;
  top:68.2cqh;
  width:50.0cqw;
  padding:2.1cqh 2.1cqw 2.4cqh;
  border-radius:.55cqw;
  background:#f5a126;
  color:#7d001e;
  text-align:center;
  box-shadow:none;
}

.hero-date strong,
.hero-date span{
  display:block;
}

.hero-date strong{
  font-size:3.0cqw;
  line-height:1.03;
  font-weight:800;
}

.hero-date span{
  margin-top:.8cqh;
  font-size:4.55cqw;
  line-height:.92;
  font-weight:700;
  letter-spacing:-.035em;
}

.hero-free{
  position:absolute;
  left:24.4cqw;
  top:88.7cqh;
  width:49.3cqw;
  padding:1.0cqh 1.1cqw 1.2cqh;
  border-radius:.45cqw;
  background:#f5a126;
  color:#7d001e;
  text-align:center;
  font-size:2.65cqw;
  line-height:1;
  font-weight:500;
  letter-spacing:.24em;
}

/* Decoración inferior derecha, sin invadir la fecha */
.hero-decoration{
  position:absolute;
  right:-1.5cqw;
  bottom:-2cqh;
  width:21cqw;
  height:24cqh;
  overflow:hidden;
}

.dec{
  position:absolute;
  display:block;
}

.d1{
  right:0;
  top:0;
  width:8cqw;
  height:8cqw;
  border-radius:100% 0 0 0;
  background:#ef4e3f;
}
.d2{
  right:0;
  top:8cqw;
  width:7.2cqw;
  height:7.2cqw;
  border-radius:50%;
  background:#237d49;
}
.d3{
  right:0;
  bottom:0;
  width:10cqw;
  height:10cqw;
  border-radius:0;
  background:#f4ad2e;
}
.d4{
  left:1.3cqw;
  bottom:.2cqw;
  width:8.5cqw;
  height:8.5cqw;
  border-radius:100% 0;
  background:#ef4e3f;
  transform:rotate(45deg);
}
.d5{
  left:5.5cqw;
  bottom:2cqw;
  width:6.7cqw;
  height:6.7cqw;
  border-radius:100% 0;
  background:#237d49;
  transform:rotate(-15deg);
}

/* Flecha muy sutil y por encima del menú */
.scroll-down{
  position:absolute;
  z-index:20; /* Mantenido alto para asegurar visibilidad sobre hero-bg */
  left:50%;
  bottom:1.3cqh;
  transform:translateX(-50%);
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:4px;
  color:#fff;
  opacity:.95;
}

.scroll-down__mouse{
  position:relative;
  display:block;
  width:2.3cqw;
  min-width:24px;
  max-width:30px;
  height:4.5cqh;
  min-height:36px;
  max-height:46px;
  border:2px solid rgba(255,255,255,.95);
  border-radius:18px;
}

.scroll-down__mouse i{
  position:absolute;
  left:50%;
  top:7px;
  width:5px;
  height:8px;
  border-radius:5px;
  background:#fff;
  transform:translateX(-50%);
  animation:scrollDotFinal 1.5s ease-in-out infinite;
}

.scroll-down__chevron{
  width:10px;
  height:10px;
  border-right:2px solid #fff;
  border-bottom:2px solid #fff;
  transform:rotate(45deg);
  animation:scrollChevronFinal 1.5s ease-in-out infinite;
}

@keyframes scrollDotFinal{
  0%{opacity:0;transform:translate(-50%,0)}
  25%{opacity:1}
  75%{opacity:1}
  100%{opacity:0;transform:translate(-50%,15px)}
}

@keyframes scrollChevronFinal{
  0%,100%{opacity:.35;transform:translateY(0) rotate(45deg)}
  50%{opacity:1;transform:translateY(4px) rotate(45deg)}
}

/* El menú queda inmediatamente debajo, y por eso ya se ve al cargar */
.navbar{
  position:sticky;
  top:0;
  z-index:1500;
  height:var(--nav-h);
  margin:0;
}

/* =========================================================
   NOTEBOOKS / PANTALLAS BAJAS
   ========================================================= */
@media (min-width:721px) and (max-height:820px){
  :root{
    --top-strip-h:54px;
    --nav-h:72px;
  }

  .hero{
    min-height:0;
  }

  .hero-design{
    width:min(100%,calc(var(--hero-h) * 1.36025));
  }
}

/* =========================================================
   TABLET
   Mantiene la composición del afiche pero reduce proporciones.
   ========================================================= */
@media (max-width:960px){
  :root{
    --top-strip-h:54px;
    --nav-h:76px;
  }

  .hero{
    min-height:500px;
  }

  .hero-design{
    width:100%;
  }

  .hero-mark{
    left:3cqw;
    top:6cqh;
    width:27cqw;
  }

  .hero-copy{
    left:27cqw;
    top:7cqh;
    width:69cqw;
  }

  .hero-event{
    font-size:5.4cqw;
  }

  .hero-audience{
    font-size:1.95cqw;
  }

  .hero-copy h1{
    font-size:7.2cqw;
  }

  .hero-theme{
    font-size:3.25cqw;
  }

  .hero-subtheme{
    font-size:2.55cqw;
  }
}

/* =========================================================
   CELULAR
   Se conserva el orden visual del afiche, sin sacar elementos
   fuera de pantalla. La portada entra completa antes del menú.
   ========================================================= */
@media (max-width:720px){
  :root{
    --top-strip-h:44px;
    --nav-h:70px;
  }

  .hero{
    height:calc(100svh - var(--top-strip-h) - var(--nav-h));
    min-height:460px;
  }

  .hero-design{
    width:100%;
    height:99%;
    container-type:size;
  }

  .hero-mark{
    left:4cqw;
    top:4cqh;
    width:30cqw;
    max-height:44cqh;
  }

  .hero-copy{
    left:30.5cqw;
    top:5.0cqh;
    width:66cqw;
  }

  .hero-event{
    font-size:5.4cqw;
    line-height:.94;
  }

  .hero-audience{
    margin-top:1.1cqh;
    font-size:1.95cqw;
    line-height:1.15;
    white-space:normal;
  }

  .hero-copy h1{
    margin-top:.5cqh;
    font-size:7.0cqw;
  }

  .hero-line{
    width:77%;
    height:.5cqh;
    margin:1.4cqh 0 1.5cqh auto;
  }

  .hero-theme{
    font-size:3.05cqw;
  }

  .hero-subtheme{
    margin-top: 0px;
    font-size:2.35cqw;
    white-space:normal;
  }

  .hero-date{
    left:18cqw;
    top:230px;
    width:64cqw;
    padding:1.7cqh 2cqw 1.9cqh;
  }

  .hero-date strong{
    font-size:3.75cqw;
  }

  .hero-date span{
    font-size:5.35cqw;
  }

  .hero-free{
    left:21cqw;
    top: 310px;
    width:58cqw;
    font-size:3.1cqw;
    letter-spacing:.19em;
  }

  .hero-decoration{
    width:20cqw;
    height:20cqh;
  }

  .scroll-down{
    bottom:.6cqh;
  }

  .scroll-down__mouse{
    min-width:22px;
    max-width:24px;
    min-height:31px;
    max-height:34px;
  }
}

/* Celulares muy angostos */
@media (max-width:420px){
  :root{
    --top-strip-h:40px;
    --nav-h:66px;
  }

  .hero{
    min-height:480px;
  }

  .hero-date{
    top:250px;
  }

  .hero-free{
    top:310px;
  }
}

/* No animar si el usuario pide reducción de movimiento */
@media (prefers-reduced-motion:reduce){
  .scroll-down__mouse i,
  .scroll-down__chevron{
    animation:none;
  }
}