/* SIMA evento · Inicio, primera mitad: hero, cinta, experiencia, speakers, fase, agenda. Ver 02-diseno.md §4.1.1–4.1.6 */

/* Isotipo en capas (no existe en sima.css de este sitio) */
.iso { position: relative; aspect-ratio: 1366 / 899; width: 100%; }
.iso__clip { position: absolute; inset: 0; }
.iso__clip--top { clip-path: inset(0 0 37.15% 0); }
.iso__clip--bottom { clip-path: inset(69.9% -20% 0 -20%); }
.iso svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: #fff; }
.is-intro .iso__montana { animation: isoUp 650ms var(--ease-horizonte) both; }
.is-intro .iso__ola { animation: isoWave 600ms 150ms var(--ease-horizonte) both; }
.is-intro .iso__punto { animation: isoSun 650ms 450ms var(--ease-horizonte) both; }
.is-intro .hero-ev__cuenta, .is-intro .hero-ev__cta { animation: evFadeUp 300ms 700ms var(--ease-out) both; }
@keyframes isoUp { from { transform: translateY(70%); } }
@keyframes isoWave { from { transform: translateX(-14%); opacity: 0; } }
@keyframes isoSun { from { transform: translateY(12%); opacity: 0; } }
@keyframes evFadeUp { from { transform: translateY(8px); opacity: 0; } }

/* 1 · Hero */
.hero-ev { min-height: 100svh; overflow: hidden; padding: calc(var(--header-h) + 28px) 0 calc(80px + 12vw); }
.hero-ev__ember { display: none; }
.hero-ev__iso { position: absolute; top: calc(var(--header-h) + 8px); right: -18vw; width: 70vw; z-index: 0; pointer-events: none; }
.hero-ev__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.hero-ev__top { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; padding-top: 26vw; }
.hero-ev__h1 { font-size: var(--fs-display); max-width: 9ch; }
.hero-ev__l { display: inline; }
.hero-ev__rule { height: 1.5px; background: var(--noche); }
.hero-ev__sub { font-size: var(--fs-lead); line-height: 1.4; max-width: 46ch; order: 4; }
.hero-ev__datos { font-size: var(--fs-small); max-width: 46ch; order: 5; }
.hero-ev__compra { display: grid; gap: 14px; justify-items: start; order: 3; }
.hero-ev__cuenta { display: flex; align-items: flex-end; gap: 12px; }
.hero-ev__dias { font-size: var(--fs-cuenta); }
.hero-ev__cl { font-size: var(--fs-small); font-weight: 500; padding-bottom: .4em; max-width: 14ch; }
.hero-ev__cl b { font-weight: 700; font-variant-numeric: tabular-nums; display: inline-block; }
.hero-ev__cta { width: 100%; }
.hero-ev__link { display: inline-flex; gap: 8px; align-items: center; font-weight: 600; color: var(--noche); text-decoration: underline; text-underline-offset: 4px; }
.hero-ev__link svg, .exp__cta svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.75; transition: transform var(--d-micro) var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .hero-ev__link:hover svg, .exp__cta:hover svg { transform: translateY(3px); } }
.hero-ev__micro { font-size: var(--fs-small); max-width: 38ch; }
@media (min-width: 1024px) {
  .hero-ev { display: flex; align-items: stretch; padding-bottom: calc(96px + 8vw); }
  .hero-ev__ember { display: block; position: absolute; inset: 0 0 34% 50%; background: url(/assets/img/grad-ember.webp) 85% 50% / cover, var(--grad-ember-css);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 30%), linear-gradient(180deg, #000 70%, transparent);
    -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent, #000 30%), linear-gradient(180deg, #000 70%, transparent); mask-composite: intersect; }
  .hero-ev__iso { top: calc(var(--header-h) + 12px); right: -7vw; width: min(40vw, 52vh); max-width: 640px; }
  .hero-ev__grid { width: 100%; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px var(--gap); align-content: end; }
  .hero-ev__top { grid-column: 1 / 8; padding-top: 0; gap: 28px; }
  .hero-ev__h1 { max-width: none; }
  .hero-ev__l { display: block; }
  .hero-ev__rule { grid-column: 1 / -1; }
  .hero-ev__sub { grid-column: 1 / 6; order: 0; align-self: start; }
  .hero-ev__datos { grid-column: 6 / 9; order: 0; align-self: start; }
  .hero-ev__compra { grid-column: 9 / 13; order: 0; }
  .hero-ev__cta { width: auto; }
}

/* 2 · Cintas */
.cintas { position: relative; z-index: 2; height: calc(var(--fs-cartel) * 2.5); margin-block: calc(var(--fs-cartel) * -1.1) calc(var(--fs-cartel) * -.6); overflow: clip; pointer-events: none; }
.cinta { position: absolute; left: -20vw; width: 140vw; overflow: hidden; color: #fff; }
.cinta--a { top: 18%; background: var(--noche); transform: rotate(-4deg); }
.cinta--b { top: 48%; background: var(--violeta); transform: rotate(3deg); }
.cinta__empuje { width: max-content; }
.cinta__band { font-size: var(--fs-cartel); padding-block: .02em; }
.cinta__band span { gap: .35em; }

/* 3 · Experiencia */
.exp { padding-top: calc(var(--sec-pad) * 1.1); }
.exp__head { margin-bottom: 40px; }
.exp__cards { display: grid; gap: 16px; }
.exp__card { position: relative; border-radius: var(--r-md); outline-offset: 4px; }
.exp__inner { height: 100%; min-height: 58svh; border-radius: var(--r-md); padding: 28px 24px; display: flex; flex-direction: column; gap: 16px; background: var(--cbg); color: var(--cfg); transition: transform var(--d-micro) var(--ease-out), opacity var(--d-micro) var(--ease-out); transform-origin: 50% 0; }
.exp__card--naranja { --cbg: var(--naranja); --cfg: var(--noche); }
.exp__card--coral { --cbg: var(--coral); --cfg: var(--noche); }
.exp__card--ambar { --cbg: var(--ambar); --cfg: var(--noche); }
.exp__card--violeta { --cbg: var(--violeta); --cfg: #fff; }
.exp__card--rosa { --cbg: var(--rosa); --cfg: #fff; }
.exp__glifo { width: 40px; height: 40px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; transition: transform var(--d-micro) var(--ease-out); }
.exp__name { font-family: var(--font-display); text-transform: uppercase; font-weight: 400; font-size: var(--fs-h3); line-height: 1; max-width: 10ch; }
.exp__inner p { font-size: .9375rem; line-height: 1.5; }
.exp__pend { margin-top: auto; background: rgb(255 255 255 / .16); color: #fff; box-shadow: inset 0 0 0 1px #fff; }
.exp__cta { margin-top: 32px; color: var(--violeta); }
@media (max-width: 1023px) {
  .exp__card { position: sticky; top: calc(var(--header-h) + 16px + var(--n, 0) * 10px); }
  .exp__card:nth-child(2) { --n: 1; } .exp__card:nth-child(3) { --n: 2; } .exp__card:nth-child(4) { --n: 3; } .exp__card:nth-child(5) { --n: 4; }
  .exp__inner { box-shadow: var(--shadow-objeto); }
}
@media (min-width: 1024px) {
  .exp__cards { grid-template-columns: repeat(6, 1fr); gap: var(--gap); }
  .exp__card { grid-column: span 2; }
  .exp__card:nth-child(4) { grid-column: 2 / span 2; }
  .exp__inner { min-height: 380px; }
}
@media (min-width: 1200px) {
  .exp__cards { grid-template-columns: repeat(5, 1fr); }
  .exp__card, .exp__card:nth-child(4) { grid-column: auto; }
  .exp { padding-top: calc(var(--header-h) + 36px); }
  .exp__head { margin-bottom: 28px; gap: 16px; }
  .exp__inner { min-height: min(46vh, 420px); padding: 24px 20px; }
  .exp__card:nth-child(1) { z-index: 5; } .exp__card:nth-child(2) { z-index: 4; } .exp__card:nth-child(3) { z-index: 3; } .exp__card:nth-child(4) { z-index: 2; } .exp__card:nth-child(5) { z-index: 1; }
}
@media (min-width: 1024px) and (hover: hover) and (pointer: fine) {
  .exp__cards.is-dealt:hover .exp__inner { opacity: .7; }
  .exp__cards.is-dealt .exp__card:hover .exp__inner, .exp__cards.is-dealt .exp__card:focus-visible .exp__inner { opacity: 1; transform: translateY(-6px); }
  .exp__cards.is-dealt .exp__card:hover .exp__glifo { transform: rotate(-6deg); }
}

/* 4 · Speakers */
.spk .sec-head { max-width: 62ch; }
.spk__h { font-family: var(--font-body); font-weight: 600; font-size: var(--fs-small); color: var(--durazno); margin: 56px 0 20px; padding-bottom: 12px; border-bottom: 1px solid rgb(255 255 255 / .35); }
.spk__carr { overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); margin-inline: calc(-1 * var(--gutter)); scrollbar-width: none; }
.spk__carr::-webkit-scrollbar { display: none; }
.spk__mag { display: grid; grid-auto-flow: column; grid-auto-columns: 78vw; gap: 12px; padding-inline: var(--gutter); width: max-content; }
.retrato { scroll-snap-align: start; display: grid; gap: 8px; justify-items: start; }
.retrato__marco { position: relative; width: 100%; aspect-ratio: 1 / .96; border-bottom: 1px solid rgb(255 255 255 / .35); }
.retrato__sol { position: absolute; left: 6%; right: 6%; top: 4%; aspect-ratio: 1; border-radius: 50%; background: var(--naranja); }
.retrato__ventana { position: absolute; inset: 0; overflow: hidden; }
.retrato__ventana img { position: absolute; left: 0; bottom: 0; width: 100%; height: auto; transition: transform var(--d-ui) var(--ease-out); }
.retrato__nombre { margin-top: 12px; }
.retrato__cargo { color: var(--durazno); }
.spk__count { margin-top: 12px; font-size: var(--fs-micro); color: var(--durazno); }
.spk__paneles { display: grid; }
.panel-ev { display: grid; gap: 20px; padding: 28px 0; border-bottom: 1px solid rgb(255 255 255 / .35); }
.panel-ev:first-child { padding-top: 0; }
.panel-ev__tema { display: grid; gap: 10px; justify-items: start; }
.panel-ev__quien { display: flex; gap: 18px; align-items: flex-start; }
.panel-ev__quien p + p { margin-top: 4px; }
.placa { flex: none; width: 88px; aspect-ratio: 1; border-radius: 50%; background: var(--noche); display: grid; place-items: center; }
.placa svg { width: 60%; height: auto; fill: none; stroke: var(--durazno); stroke-width: 160; }
.spk__leyenda { margin-top: 20px; font-size: var(--fs-small); color: var(--durazno); }
.spk__voces { display: grid; gap: 12px 32px; }
.spk__voces li { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.spk__voces li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ambar); flex: none; transform: translateY(-1px); }
.spk__voces strong { font-weight: 700; }
.spk__cta { margin-top: 48px; }
@media (min-width: 1024px) {
  .spk__carr { overflow: visible; margin: 0; }
  .spk__mag { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); gap: var(--gap); padding: 0; width: auto; }
  .spk__count { display: none; }
  .panel-ev { grid-template-columns: 5fr 7fr; gap: var(--gap); }
  .spk__voces { grid-template-columns: 1fr 1fr; }
}
@media (hover: hover) and (pointer: fine) and (min-width: 1024px) {
  .retrato:hover .retrato__ventana img { transform: translateY(-6px); }
}

/* 5 · Banda de fase */
.fase-ev { min-height: 60vh; display: flex; align-items: center; }
.fase-ev__grid { display: grid; gap: 48px; width: 100%; }
.fase-ev__copy { display: grid; gap: 22px; justify-items: start; }
.escalera-ev { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; align-items: end; height: 180px; }
.escalera-ev li { position: relative; display: flex; flex-direction: column; justify-content: flex-end; height: 100%; gap: 10px; }
.escalera-ev__bar { display: block; height: calc(var(--h) * 140px); border: 1.5px solid var(--noche); border-radius: 2px; transform-origin: 50% 100%; }
.escalera-ev__n { font-size: var(--fs-micro); font-weight: 500; }
.escalera-ev__punto { position: absolute; left: 50%; bottom: calc(var(--h) * 140px + 40px); width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1.5px var(--noche); }
@media (min-width: 1024px) {
  .fase-ev__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); align-items: end; }
  .fase-ev__copy { grid-column: 1 / 7; }
  .escalera-ev { grid-column: 8 / 13; height: 320px; gap: var(--gap); }
  .escalera-ev__bar { height: calc(var(--h) * 260px); }
  .escalera-ev__punto { bottom: calc(var(--h) * 260px + 44px); }
  .escalera-ev__n { font-size: var(--fs-small); }
}

/* 6 · Agenda */
.agenda-ev__bar { position: sticky; top: var(--sticky-top, var(--header-h)); z-index: 5; padding-block: 12px; background: var(--calido); }
html.has-cielo .agenda-ev__bar { background: var(--calido); }
.agenda-ev__tabs { width: 100%; background: #fff; }
.agenda-ev__tab { flex: 1; justify-content: center; text-align: center; padding-inline: 8px; min-height: 52px; }
.agenda-ev__tab > span { display: grid; line-height: 1.15; }
.agenda-ev__tab small { font-size: var(--fs-micro); font-weight: 500; opacity: .85; }
.agenda-ev__tab[aria-selected="true"] { color: #fff; }
.agenda-ev__tab[aria-selected="true"]::before { background: var(--naranja); }
@media (min-width: 600px) { .agenda-ev__tabs { width: auto; } .agenda-ev__tab { flex: none; padding-inline: 20px; } .agenda-ev__tab > span { display: flex; gap: 8px; align-items: baseline; } }
.agenda-ev__panel { position: relative; margin-top: 32px; padding-left: 28px; }
.agenda-ev__dia { font-family: var(--font-body); font-weight: 600; font-size: var(--fs-small); color: var(--muted-claro); margin-bottom: 8px; }
.agenda-ev__linea { position: absolute; left: 11px; top: 40px; bottom: 0; width: 2px; }
.linea__guia, .linea__trazo { position: absolute; inset: 0; }
.linea__guia { background: rgb(6 25 69 / .18); }
.linea__trazo { background: var(--naranja); transform-origin: 50% 0; }
.sesion { position: relative; display: grid; gap: 8px; padding: 18px 0; border-bottom: 1px solid rgb(6 25 69 / .14); }
.sesion__punto { position: absolute; left: -23px; top: 26px; width: 12px; height: 12px; border-radius: 50%; background: var(--naranja); box-shadow: 0 0 0 3px var(--calido); }
.sesion__hora { font-family: var(--font-display); font-size: var(--fs-h3); line-height: 1; font-variant-numeric: tabular-nums; }
.sesion__body { display: grid; gap: 6px; justify-items: start; }
.sesion__titulo { font-weight: 600; font-size: var(--fs-lead); line-height: 1.3; }
.sesion__quien { color: var(--muted-claro); }
.sesion--pend { border-bottom: 1.5px dashed rgb(6 25 69 / .3); }
.sesion--pend .sesion__punto { background: var(--violeta); }
.agenda-ev__leyenda { margin-top: 24px; font-size: var(--fs-small); }
.agenda-ev__ctas { margin-top: 28px; }
.agenda-ev__ctas svg { stroke: currentColor; }
@media (min-width: 1024px) {
  .agenda-ev__panel { margin-left: calc((100% - 11 * var(--gap)) / 12 + var(--gap)); max-width: calc(100% * 10 / 12); padding-left: 40px; }
  .agenda-ev__linea { left: 15px; }
  .sesion { grid-template-columns: 140px 1fr; gap: 24px; align-items: start; padding: 22px 0; }
  .sesion__punto { left: -31px; top: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  .exp__card { position: static !important; }
  .exp__inner { min-height: 0 !important; }
}

/* Hero en pantallas bajas de escritorio: el botón de compra arriba del pliegue */
@media (min-width: 1024px) and (max-height: 820px) {
  .hero-ev { padding-top: calc(var(--header-h) + 12px); }
  .hero-ev__top { gap: 16px; }
  .hero-ev__h1 { font-size: clamp(3rem, 10.5vh, 5.5rem); }
  .hero-ev__dias { font-size: clamp(4.5rem, 15vh, 8rem); }
  .hero-ev__grid { row-gap: 16px; }
  .hero-ev__compra { gap: 10px; }
}

/* Moderadores con el mismo peso que las magistrales */
.spk__mod { margin-top: 8px; }
.retrato__placa { position: absolute; inset: 0; display: grid; place-items: center; }
.retrato__placa svg { width: 58%; height: auto; fill: var(--noche); }
.retrato__panel { display: grid; gap: 4px; margin-top: 6px; max-width: 40ch; }
.retrato__panel strong { font-weight: 700; }
.retrato__panel span { color: var(--durazno); font-size: var(--fs-small); }
@media (min-width: 1024px) { .spk__mod { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 1023px) { .spk__mod { grid-auto-flow: row; grid-auto-columns: auto; width: auto; padding: 0; gap: 48px; } }

/* Hero con foto de expo y velo azul */
.hero-ev { isolation: isolate; color: #fff; }
.hero-ev__foto { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero-ev__foto img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; transform: scale(1.04); }
.hero-ev__velo { position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgb(6 25 69 / .55) 0%, transparent 30%, transparent 65%, rgb(6 25 69 / .85) 100%),
    linear-gradient(100deg, rgb(6 25 69 / .93) 0%, rgb(6 25 69 / .8) 38%, rgb(21 41 214 / .55) 68%, rgb(96 55 180 / .5) 86%, rgb(237 113 21 / .5) 100%); }
@media (max-width: 1023px) { .hero-ev__velo { background: linear-gradient(180deg, rgb(6 25 69 / .7) 0%, rgb(14 46 254 / .45) 40%, rgb(6 25 69 / .9) 75%, rgb(6 25 69 / .96) 100%); } }
.hero-ev__ember { display: none !important; }
.hero-ev__rule { background: rgb(255 255 255 / .45); }
.hero-ev__link { color: #fff; }
.hero-ev__datos, .hero-ev__micro, .hero-ev__cl { color: var(--durazno); }
.hero-ev .ev-chip:not(.ev-chip--line) { --chip-bg: #fff; --chip-fg: var(--noche); }
.escalera-ev__precio { display: block; font-weight: 700; font-size: var(--fs-small); font-variant-numeric: tabular-nums; }

/* Móvil y tablet: el isotipo no se monta sobre la etiqueta ni el titular */
@media (max-width: 1023px) {
  .hero-ev__iso { width: 44vw; max-width: 340px; right: var(--gutter); top: calc(var(--header-h) + 20px); }
  .hero-ev__top { padding-top: calc(min(44vw, 340px) * .658 + 36px); }
}
.retrato__tbc { color: #fff; margin-block: 2px 4px; }
