/* SIMA evento · Home, segunda mitad: expo, B2B, perfiles, boletos, sede, FAQ, cierre. Ver 02-diseno.md §4.1.7–4.1.13 */

.hb-expo .h2, .hb-b2b .h2, .hb-perfiles .h2, .hb-boletos .h2, .hb-sede .h2, .hb-faq .h2 { margin-top: 20px; }
.hb-expo .lead, .hb-b2b .lead, .hb-perfiles .lead, .hb-boletos .lead, .hb-sede .lead { margin-top: 20px; }
.s--noche .lead, .s--violeta .lead { line-height: 1.5; }

/* 7 · Expo */
.hb-expo__grid { display: grid; gap: 48px; }
.hb-expo__copy { display: grid; justify-items: start; align-content: start; }
.hb-cats { display: grid; margin-block: 32px 36px; width: 100%; }
.hb-cats li { display: grid; gap: 2px; padding: 14px 0 14px 22px; border-top: 1px solid rgb(255 255 255 / .14); position: relative; }
.hb-cats li::before { content: ""; position: absolute; left: 0; top: 22px; width: 8px; height: 8px; border-radius: 50%; background: var(--ambar); }
.hb-cats strong { font-weight: 600; }
.hb-cats span { color: var(--durazno); font-size: var(--fs-small); }
.hb-sala-wrap { display: grid; gap: 16px; align-content: start; }
.hb-sala { position: relative; overflow: hidden; display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; padding: 16px; border-radius: var(--r-md); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .12); }
.stand { position: relative; aspect-ratio: 1.3; border-radius: var(--r-xs); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .18); grid-row: var(--mr); grid-column: var(--mc); }
.stand__luz { position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(circle at 35% 30%, var(--ambar), var(--naranja) 75%); }
.motion .stand__luz { opacity: 0; }
.hb-sala__spot { position: absolute; left: 0; top: 0; width: 420px; height: 420px; margin: -210px 0 0 -210px; border-radius: 50%; background: radial-gradient(circle, rgb(255 138 0 / .22), transparent 60%); opacity: 0; pointer-events: none; transition: opacity 200ms var(--ease-out); }
.hb-sala.is-spot .hb-sala__spot { opacity: 1; }
.hb-sala__leyenda { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
@media (min-width: 1024px) {
  .hb-expo__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); align-items: start; }
  .hb-expo__copy { grid-column: 1 / 6; }
  .hb-sala-wrap { grid-column: 7 / 13; position: sticky; top: calc(var(--header-h) + 6vh); }
  .hb-sala { grid-template-columns: repeat(4, 1fr) .55fr repeat(5, 1fr); gap: 10px; padding: 24px; }
  .stand { grid-row: var(--r); grid-column: var(--c); }
}

/* 8 · B2B */
.hb-b2b__grid { display: grid; gap: 40px; }
.hb-b2b__head { display: grid; justify-items: start; }
.hb-ticket-wrap { position: sticky; top: calc(var(--header-h) + 8px); z-index: 2; }
.hb-ticket { position: relative; background: var(--calido); color: var(--noche); border-radius: var(--r-md); padding: 22px 22px 26px; box-shadow: var(--shadow-objeto);
  -webkit-mask: radial-gradient(circle at 7px 0, transparent 3px, #000 3.5px) 0 0 / 14px 100% repeat-x, radial-gradient(circle at 7px 100%, transparent 3px, #000 3.5px) 0 100% / 14px 100% repeat-x;
  -webkit-mask-composite: source-in; mask: radial-gradient(circle at 7px 0, transparent 3px, #000 3.5px) 0 0 / 14px 100% repeat-x intersect, radial-gradient(circle at 7px 100%, transparent 3px, #000 3.5px) 0 100% / 14px 100% repeat-x; }
.hb-ticket__win { overflow: hidden; padding-bottom: 12px; border-bottom: 1.5px dashed rgb(6 25 69 / .3); }
.hb-ticket__head { font-size: var(--fs-small); font-weight: 600; }
.hb-ticket__head b { font-family: var(--font-display); font-weight: 400; }
.hb-ticket__rondas { display: grid; overflow: hidden; }
.hb-ticket__rondas li { overflow: hidden; border-bottom: 1px solid rgb(6 25 69 / .12); }
.hb-ticket__r { display: grid; grid-template-columns: 12px auto 1fr; gap: 6px 12px; align-items: baseline; padding: 12px 0; font-size: var(--fs-small); }
.hb-ticket__r b { font-weight: 700; }
.hb-ticket__r > span { color: var(--muted-claro); font-size: var(--fs-micro); }
.hb-ticket__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--violeta); align-self: center; position: relative; }
.hb-ticket__dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--naranja); opacity: 0; }
.hb-ticket.is-done .hb-ticket__dot::after { opacity: 1; }
.hb-ticket__sello { position: absolute; right: 18px; bottom: 18px; padding: 6px 14px; border: 2px solid var(--noche); border-radius: var(--r-xs); font-family: var(--font-display); text-transform: uppercase; font-size: 1rem; transform: rotate(-8deg); }
.hb-pasos { display: grid; gap: 16px; }
.hb-paso { display: grid; gap: 10px; align-content: start; padding: 24px; border-radius: var(--r-md); background: rgb(6 25 69 / .28); }
.hb-paso__n { font-family: var(--font-display); font-size: var(--fs-h2); line-height: .9; color: var(--ambar); }
.hb-paso .pending { box-shadow: inset 0 0 0 1px var(--durazno); background: none; color: var(--durazno); }
.hb-b2b__meta { display: grid; gap: 28px; justify-items: start; }
.hb-meta { display: grid; gap: 6px; }
.hb-meta__k { font-size: var(--fs-small); font-weight: 600; }
.hb-meta__n { font-family: var(--font-display); font-size: var(--fs-cuenta); line-height: .9; color: transparent; -webkit-text-stroke: 1.5px #fff; }
.hb-meta--noche .hb-meta__n { -webkit-text-stroke-color: var(--noche); font-size: var(--fs-h2); }
.hb-meta__t { font-weight: 600; max-width: 40ch; }
@media (max-width: 1023px) {
  .hb-b2b__head { order: 1; } .hb-ticket-wrap { order: 2; } .hb-pasos { order: 3; } .hb-b2b__meta { order: 4; }
  .hb-ticket { padding: 16px 18px 18px; }
  .hb-ticket__r { padding: 7px 0; }
  .hb-ticket__sello { bottom: 10px; font-size: .875rem; }
}
@media (min-width: 1024px) {
  .hb-b2b__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 var(--gap); }
  .hb-b2b__head { grid-column: 1 / 7; grid-row: 1; }
  .hb-pasos { grid-column: 1 / 7; grid-row: 2; gap: 0; margin-top: 24px; }
  .hb-paso { min-height: 60vh; align-content: center; background: none; padding: 0; transition: opacity 300ms var(--ease-out); }
  .motion .hb-paso { opacity: .55; }
  .motion .hb-paso.is-on { opacity: 1; }
  .hb-ticket-wrap { grid-column: 8 / 13; grid-row: 1 / 4; align-self: start; top: calc(var(--header-h) + 8vh); margin-top: 40vh; }
  .hb-b2b__meta { grid-column: 1 / 7; grid-row: 3; }
}

/* 9 · Perfiles */
.hb-perfiles__head { display: grid; justify-items: start; max-width: 760px; }
.hb-perfiles .lead { font-size: 1.125rem; }
.hb-riel-wrap { position: relative; margin-top: 48px; }
.hb-riel { display: block; height: 2px; background: var(--noche); transform-origin: 0 50%; }
.hb-colgados { display: grid; grid-auto-flow: column; grid-auto-columns: 64vw; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--gutter) 12px; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
.hb-colgados::-webkit-scrollbar { display: none; }
.hb-colgado { scroll-snap-align: start; display: grid; justify-items: center; align-content: start; gap: 12px; position: relative; }
.hb-mini { width: 100%; transform-origin: 50% 0; }
.hb-mini__cinta { display: block; width: 18%; height: calc(28px + var(--cinta)); margin: 0 auto; background: var(--violeta); border-inline: 1.5px dashed rgb(255 255 255 / .35); }
.hb-mini__card { background: #fff; border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-objeto); container-type: inline-size; color: var(--noche); }
.hb-mini__franja { position: relative; height: 64px; background: url(/assets/img/grad-sunset.webp) 40% 40% / cover, var(--grad-dusk-css); }
.hb-mini__ranura { position: absolute; top: 10px; left: 38%; width: 24%; height: 6px; border-radius: var(--r-pill); background: var(--coral); }
.hb-mini__word { font-family: var(--font-display); text-transform: uppercase; line-height: 1; padding: 16px 16px 6px; font-size: min(var(--fs-gafete), calc(86cqi / var(--chars) / .61)); }
.hb-mini__t { padding: 0 16px 18px; font-size: var(--fs-small); line-height: 1.45; }
.hb-mini__t strong { display: block; font-weight: 700; margin-bottom: 2px; }
.hb-tuperfil { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: var(--r-pill); background: var(--noche); color: #fff; font-size: var(--fs-micro); font-weight: 600; opacity: 0; transform: scale(.9); transition: opacity var(--d-ui) var(--ease-out), transform var(--d-ui) var(--ease-out); }
.hb-tuperfil::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--naranja); }
.hb-colgado.is-mine .hb-tuperfil { opacity: 1; transform: none; }
.hb-soyyo { color: var(--noche); }
.hb-soyyo[aria-pressed="true"] { background: var(--noche); color: #fff; box-shadow: none; }
.hb-colgados__count { text-align: center; margin-top: 8px; font-weight: 600; }
.hb-perfiles__foot { display: grid; gap: 24px; justify-items: start; margin-top: 56px; }
.hb-perfiles .tlink { color: var(--noche); }
@media (min-width: 1024px) {
  .hb-colgados { grid-auto-flow: row; grid-template-columns: repeat(5, 1fr); gap: var(--gap); overflow: visible; max-width: calc(var(--maxw) + 2 * var(--gutter)); margin-inline: auto; padding: 0 var(--gutter); }
  .hb-colgados__count { display: none; }
  .hb-perfiles__foot { grid-template-columns: 1fr auto; align-items: end; }
}

/* 10 · Boletos */
.hb-boletos { overflow: hidden; }
.hb-boletos__grid { display: grid; gap: 48px; }
.hb-boletos__gafete { display: grid; justify-items: center; padding-top: 40px; }
.hb-gafete-wrap { position: relative; width: min(72vw, 340px); display: grid; gap: 16px; justify-items: center; }
.hb-gafete-wrap .gafete { width: 100%; }
.hb-boletos__cinta { position: absolute; left: 50%; bottom: calc(100% - 4px); width: 16%; height: 100vh; margin-left: -8%; background: var(--violeta); border-inline: 1.5px dashed rgb(255 255 255 / .35); transform-origin: 50% 0; }
.hb-gafete-wrap .gafete__ranura { background: var(--noche); }
.hb-gafete-wrap .gafete__info { container-type: inline-size; }
.hb-gafete-wrap .gafete__palabra { font-size: min(var(--fs-gafete), calc(96cqi / var(--chars, 9) / .66)); }
.hb-gafete-wrap .gafete .pending { background: var(--calido); color: var(--noche); font-size: 11px; padding: 3px 8px; }
.hb-flip { color: #fff; }
.hb-boletos__info { display: grid; justify-items: start; align-content: start; }
.hb-talones { display: grid; gap: 12px; width: 100%; margin-top: 32px; }
.hb-talones .talon { grid-template-columns: 1fr; }
.hb-talones .talon__tag { grid-column: 1 / -1; }
.hb-talones .talon__fecha { grid-column: 1 / -1; opacity: .9; }
.hb-talones .talon--actual .pending { background: rgb(6 25 69 / .14); }
.hb-boletos .small { margin-top: 14px; }
.hb-boletos__extras { display: grid; gap: 12px; width: 100%; margin-top: 24px; }
.hb-extra { display: grid; gap: 6px; padding: 18px 20px; border-radius: var(--r-md); text-decoration: none; font-size: var(--fs-small); }
.hb-extra strong { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: 1.125rem; line-height: 1.1; }
.hb-boletos a.hb-extra--violeta { background: var(--violeta); color: #fff; }
.hb-boletos a.hb-extra--ambar { background: var(--ambar); color: var(--noche); }
.hb-extra--ambar .pending { background: rgb(1 8 28 / .12); color: var(--noche); }
.hb-boletos__cta { display: grid; gap: 4px; width: 100%; margin-top: 28px; }
.hb-boletos__cta .btn { width: 100%; }
@media (min-width: 640px) { .hb-boletos__extras { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) {
  .hb-boletos__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); align-items: start; }
  .hb-boletos__gafete { grid-column: 1 / 6; padding-top: 18vh; }
  .hb-gafete-wrap { width: min(30vw, 400px); }
  .hb-boletos__info { grid-column: 7 / 13; }
  .hb-talones { grid-template-columns: 1fr 1fr; }
  .hb-talones .talon { grid-template-columns: 1fr; }
.hb-boletos.is-pinned { padding-block: calc(var(--header-h) + 12px) 24px; min-height: 100vh; }
  .hb-boletos.is-pinned .h2 { font-size: clamp(2.25rem, 1rem + 2.6vw, 3.5rem); margin-top: 14px; }
  .hb-boletos.is-pinned .lead { margin-top: 12px; font-size: 1.0625rem; }
  .hb-boletos.is-pinned .hb-talones { grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 22px; }
  .hb-boletos.is-pinned .talon { padding: 14px 12px 14px 24px; gap: 4px; align-content: start; }
  .hb-boletos.is-pinned .talon__nombre { font-size: 1.125rem; }
  .hb-boletos.is-pinned .talon__precio { font-size: var(--fs-micro); }
  .hb-boletos.is-pinned .talon .pending { font-size: 11px; padding: 3px 8px; }
  .hb-boletos.is-pinned .small { margin-top: 10px; }
  .hb-boletos.is-pinned .hb-boletos__extras { margin-top: 14px; }
  .hb-boletos.is-pinned .hb-extra { padding: 12px 16px; gap: 4px; }
  .hb-boletos.is-pinned .hb-boletos__cta { margin-top: 16px; }
  .hb-boletos.is-pinned .hb-flip { display: none; }
  .hb-boletos.is-pinned .hb-boletos__gafete { padding-top: 12vh; }
}
@media (hover: hover) and (pointer: fine) { .talon--actual > * { transition: transform 180ms var(--ease-out); } .talon--actual:hover > * { transform: translateX(4px); } }
@media (prefers-reduced-motion: reduce) {
  .hb-gafete-wrap { width: min(92vw, 640px); }
  .hb-gafete-wrap .gafete { aspect-ratio: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .hb-gafete-wrap .gafete__cuerpo { position: relative; display: contents; }
  .hb-gafete-wrap .gafete__cara { position: relative; aspect-ratio: 5 / 7; transform: none; }
  .hb-flip { display: none; }
}

/* 11 · Sede */
.hb-sede__grid { display: grid; gap: 40px; }
.hb-sede__copy { display: grid; justify-items: start; align-content: start; }
.hb-mapa { display: grid; gap: 12px; }
.hb-mapa__svg { width: 100%; height: auto; border-radius: var(--r-md); box-shadow: inset 0 0 0 1px rgb(6 25 69 / .25); background: rgb(255 255 255 / .12); }
.hb-mapa__calles path { stroke: rgb(6 25 69 / .22); stroke-width: 3; }
.hb-mapa__hmo circle { fill: none; stroke: var(--noche); stroke-width: 2; }
.hb-mapa__punto circle { fill: var(--noche); }
.hb-mapa__punto .hb-mapa__anillo { fill: none; stroke: var(--noche); stroke-width: 1.5; opacity: .5; }
.hb-mapa text { fill: var(--noche); font-family: var(--font-body); font-weight: 700; font-size: 18px; }
.hb-mapa__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.hb-sede__bloques { display: grid; gap: 24px; margin-top: 56px; }
.hb-sede__bloques li { padding-top: 16px; border-top: 1px solid rgb(6 25 69 / .25); display: grid; gap: 8px; }
.hb-sede__bloques h3 { font-family: var(--font-display); text-transform: uppercase; font-weight: 400; font-size: 1.25rem; line-height: 1.1; }
.hb-sede__hora { display: flex; gap: 10px; align-items: center; margin-top: 40px; font-weight: 600; }
.hb-sede__hora svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.75; flex: none; }
@media (min-width: 700px) { .hb-sede__bloques { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .hb-sede__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); align-items: center; }
  .hb-sede__copy { grid-column: 1 / 7; }
  .hb-mapa { grid-column: 7 / 13; }
  .hb-sede__bloques { grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
}

/* 12 · FAQ */
.hb-faq__grid { display: grid; gap: 40px; }
.hb-faq__head { display: grid; justify-items: start; align-content: start; gap: 4px; }
.hb-faq__head .small { margin-top: 20px; max-width: 32ch; }
.hb-faq__list { border-top: 1px solid rgb(6 25 69 / .16); }
.hb-q { border-bottom: 1px solid rgb(6 25 69 / .16); interpolate-size: allow-keywords; }
.hb-q summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; cursor: pointer; font-weight: 600; font-size: var(--fs-lead); line-height: 1.3; }
.hb-q summary::-webkit-details-marker { display: none; }
.hb-q summary svg { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; transition: transform var(--d-ui) var(--ease-out); }
.hb-q[open] summary svg { transform: rotate(45deg); }
.hb-q__a { padding-bottom: 24px; max-width: 64ch; }
.hb-q[open] .hb-q__a { animation: hbQ 160ms var(--ease-out) both; }
@keyframes hbQ { from { opacity: 0; } }
@supports (interpolate-size: allow-keywords) {
  .hb-q::details-content { height: 0; overflow: clip; transition: height 240ms var(--ease-out), content-visibility 240ms allow-discrete; }
  .hb-q[open]::details-content { height: auto; }
}
@media (min-width: 1024px) {
  .hb-faq__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); }
  .hb-faq__head { grid-column: 1 / 5; position: sticky; top: calc(var(--header-h) + 24px); align-self: start; }
  .hb-faq__list { grid-column: 5 / 13; }
}

/* 13 · Cierre */
.hb-cierre { min-height: 100svh; overflow: hidden; display: grid; align-items: center; }
.hb-cierre__bg { position: absolute; inset: 0; background: linear-gradient(var(--naranja) 0 52%, transparent 70%), url(/assets/img/grad-ember.webp) center / cover, var(--grad-ember-css); }
.hb-cierre__bg::after { content: ""; position: absolute; inset: 0; background: url(/assets/img/grain.webp) repeat; opacity: .05; }
.hb-cierre__grid { position: relative; display: grid; gap: 32px; }
.hb-cierre__copy { display: grid; justify-items: start; gap: 20px; }
.hb-cierre__copy .display { max-width: 11ch; }
.hb-cierre__accion { display: grid; gap: 24px; justify-items: start; }
.hb-cierre__iso { width: 140px; justify-self: center; }
.hb-cierre .iso__clip--sun { clip-path: inset(0 0 37.15% 0); }
@media (max-width: 1023px) {
  .hb-cierre { --s-fg: var(--noche); color: var(--noche); }
  .hb-cierre .ev-chip--blanco { --chip-bg: var(--noche); --chip-fg: #fff; }
  .hb-cierre__iso { margin-top: 24px; }
}
@media (min-width: 1024px) {
  .hb-cierre__bg { background: url(/assets/img/grad-ember.webp) center / cover, var(--grad-ember-css); transform: scaleX(-1); }
  .hb-cierre__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); align-items: center; }
  .hb-cierre__copy { grid-column: 1 / 7; color: #fff; }
  .hb-cierre__copy .lead { max-width: 36ch; }
  .hb-cierre__accion { grid-column: 8 / 13; color: var(--noche); justify-items: end; }
  .hb-cierre__cuenta { justify-content: flex-end; }
  .hb-cierre__iso { grid-column: 1 / -1; width: 180px; margin-top: 24px; }
}
