/* SIMA evento · /boletos (variante B). Ver 02-diseno.md §4.2 */

/* 1 · Encabezado: noche con grad-dusk en el 45% derecho */
.bo-head { overflow: hidden; padding: calc(var(--header-h) + clamp(40px, 6vw, 88px)) 0 clamp(56px, 7vw, 104px); isolation: isolate; }
.bo-head__bg { position: absolute; inset: 0 0 0 auto; width: 100%; z-index: -1; background: url(/assets/img/grad-dusk.webp) right center / cover, var(--grad-dusk-css);
  -webkit-mask: linear-gradient(to bottom, transparent 0%, #000 55%); mask: linear-gradient(to bottom, transparent 0%, #000 55%); opacity: .9; }
@media (min-width: 1024px) {
  .bo-head__bg { width: 52%; -webkit-mask: linear-gradient(to right, transparent 0%, #000 40%); mask: linear-gradient(to right, transparent 0%, #000 40%); }
}
.bo-head__grid { display: grid; gap: 48px; }
.bo-head__copy { display: grid; gap: 24px; align-content: start; }
.bo-head__sub { color: var(--durazno); max-width: 46ch; }
.bo-head__estado { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 16px 28px; }
.bo-head .ev-chip--line { color: #fff; }
.bo-cuenta .ev-cuenta__n { font-size: var(--fs-h2); line-height: .9; }
.bo-cuenta .ev-cuenta__l { color: var(--durazno); }
.bo-head__gafete { display: grid; justify-items: center; }
.bo-gafete { width: min(64vw, 300px); display: grid; gap: 20px; justify-items: center; }
.bo-gafete .gafete { width: 100%; }
.bo-gafete .gafete__ranura { background: var(--noche); }
.bo-flip { color: #fff; }
@media (min-width: 1024px) {
  .bo-head { min-height: min(100svh, 860px); display: flex; align-items: center; }
  .bo-head__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); align-items: center; width: 100%; }
  .bo-head__copy { grid-column: 1 / 7; }
  .bo-head__gafete { grid-column: 8 / 13; }
  .bo-gafete { width: min(26vw, 340px); }
}
@media (hover: hover) and (pointer: fine) and (min-width: 1024px) { .bo-flip { display: none; } }

/* 2 · Fases */
.bo-fases .sec-head { gap: 20px; }
.bo-fases .sec-head .lead { color: var(--muted-claro); }
.bo-talones { display: grid; gap: 14px; }
.bo-talones .talon { align-content: start; }
.bo-talones .talon .btn { justify-self: start; margin-top: 10px; }
.bo-talones .talon--actual .pending { background: rgb(1 8 28 / .12); }
.bo-talones .talon__precio { font-size: var(--fs-small); }
@media (min-width: 900px) { .bo-talones { grid-template-columns: repeat(4, 1fr); gap: var(--gap); } }
@media (hover: hover) and (pointer: fine) {
  .bo-talones .talon--actual { transition: transform var(--d-micro) var(--ease-out); }
  .bo-talones .talon--actual:hover { transform: translateX(4px); }
}
.bo-fases .legend { color: var(--muted-claro); }

/* 3 · Qué incluye */
.bo-incluye { display: grid; gap: 28px; margin-top: clamp(72px, 9vw, 140px); padding-top: clamp(40px, 5vw, 64px); border-top: 1px solid rgb(6 25 69 / .16); }
.bo-incluye > div:first-child { display: grid; gap: 20px; align-content: start; }
.bo-incluye__body { display: grid; gap: 20px; align-content: start; }
.bo-incluye__list { display: grid; gap: 14px; }
.bo-incluye__list li { display: flex; gap: 14px; align-items: baseline; font-size: var(--fs-lead); font-weight: 500; line-height: 1.35; }
.bo-incluye__list li::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--dot); flex: none; transform: translateY(-2px); }
@media (min-width: 1024px) { .bo-incluye { grid-template-columns: 5fr 7fr; gap: var(--gap); } }

/* 4 · Empresa y aliados */
.bo-extras { display: grid; gap: 16px; margin-top: clamp(56px, 7vw, 104px); }
.bo-panel { border-radius: var(--r-md); padding: clamp(24px, 3vw, 40px); display: grid; gap: 16px; align-content: start; scroll-margin-top: calc(var(--header-h) + 16px); }
.bo-panel__h { font-family: var(--font-display); text-transform: uppercase; }
.bo-panel__list { display: grid; gap: 10px; font-size: var(--fs-small); }
.bo-panel__list li { display: flex; flex-wrap: wrap; gap: 6px; align-items: baseline; }
.bo-panel__list li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex: none; transform: translateY(-2px); }
.bo-panel .btn { justify-self: start; margin-top: 8px; }
.s--violeta.bo-panel .pending { background: rgb(255 255 255 / .16); color: #fff; }
@media (min-width: 1024px) { .bo-extras { grid-template-columns: 1fr 1fr; gap: var(--gap); } }

/* 6 · Pre-registro */
.bo-pre__grid { display: grid; gap: 48px; }
.bo-pre__copy { display: grid; gap: 24px; align-content: start; }
.bo-pre__copy .lead { color: var(--durazno); }
.bo-pre__links a { color: var(--durazno); }
.bo-pre__gafete { display: flex; }
.bo-mini { position: relative; width: 220px; aspect-ratio: 5 / 7; border-radius: var(--r-md); background: #fff; color: var(--noche); overflow: visible; box-shadow: var(--shadow-objeto); display: flex; flex-direction: column; }
.bo-mini__franja { position: relative; height: 56%; border-radius: var(--r-md) var(--r-md) 0 0; overflow: hidden; background: url(/assets/img/grad-sunset.webp) 30% 40% / cover, var(--grad-dusk-css); padding: 14% 10%; }
.bo-mini__franja img { position: relative; z-index: 1; width: 50%; }
.bo-mini__franja svg { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 34%; fill: #fff; }
.bo-mini__word { position: relative; flex: 1; display: grid; align-content: center; padding: 0 10%; font-family: var(--font-display); text-transform: uppercase; font-size: 1.6rem; line-height: 1; }
.bo-mini__word span { grid-area: 1 / 1; }
.bo-mini__out { color: transparent; -webkit-text-stroke: 1.2px var(--noche); }
.bo-mini__fill { opacity: 0; }
.bo-mini.is-listo .bo-mini__fill { opacity: 1; transition: opacity 300ms var(--ease-out); }
.bo-sello { position: absolute; right: -18px; bottom: 22%; padding: 8px 12px; border-radius: var(--r-xs); border: 2px solid var(--naranja); background: var(--noche); color: #fff; font-weight: 700; font-size: var(--fs-micro); text-transform: uppercase; letter-spacing: .04em; transform: rotate(-6deg); opacity: 0; visibility: hidden; }
.bo-mini.is-listo .bo-sello { opacity: 1; visibility: visible; }
.bo-form .btn.bo-submit { width: 100%; }
.bo-ok { color: var(--noche); }
.bo-ok .h3 { font-family: var(--font-display); text-transform: uppercase; }
.bo-ok .btn-row { gap: 8px; }
.bo-ok .ev-btn--line { color: var(--noche); }
@media (min-width: 1024px) {
  .bo-pre__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); align-items: start; }
  .bo-pre__copy { grid-column: 1 / 6; position: sticky; top: calc(var(--header-h) + 24px); }
  .bo-form { grid-column: 6 / 13; }
}

/* 7 · Confianza y preguntas */
.bo-confianza { display: grid; gap: 12px; padding-bottom: clamp(48px, 6vw, 80px); margin-bottom: clamp(48px, 6vw, 80px); border-bottom: 1px solid rgb(255 255 255 / .16); font-weight: 500; }
.bo-confianza li { display: flex; gap: 12px; align-items: baseline; flex-wrap: wrap; }
.bo-confianza li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--naranja); flex: none; transform: translateY(-1px); }
.bo-confianza a { color: var(--ambar); }
@media (min-width: 1024px) { .bo-confianza { grid-template-columns: repeat(3, auto); justify-content: space-between; } }
.bo-faq__grid { display: grid; gap: 40px; }
.bo-faq__grid > div:first-child { display: grid; gap: 20px; align-content: start; }
@media (min-width: 1024px) { .bo-faq__grid { grid-template-columns: 4fr 8fr; gap: var(--gap); } }
.bo-qs { border-top: 1px solid rgb(255 255 255 / .16); }
.bo-q { border-bottom: 1px solid rgb(255 255 255 / .16); interpolate-size: allow-keywords; }
.bo-q summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 22px 0; font-weight: 600; font-size: var(--fs-lead); line-height: 1.3; }
.bo-q summary::-webkit-details-marker { display: none; }
.bo-q summary::after { content: ""; width: 18px; height: 18px; flex: none; background: linear-gradient(currentColor, currentColor) center / 100% 1.75px no-repeat, linear-gradient(currentColor, currentColor) center / 1.75px 100% no-repeat; transition: transform var(--d-ui) var(--ease-out); }
.bo-q[open] summary::after { transform: rotate(45deg); }
.bo-q p { padding: 0 0 26px; max-width: 64ch; line-height: 1.62; color: #fff; }
.bo-q[open] p { animation: boQ 160ms var(--ease-out) both; }
@keyframes boQ { from { opacity: 0; } }
@supports (interpolate-size: allow-keywords) {
  .bo-q::details-content { height: 0; overflow: clip; transition: height 240ms var(--ease-out), content-visibility 240ms allow-discrete; }
  .bo-q[open]::details-content { height: auto; }
}

/* enlaces dentro del panel blanco: no heredan el color de la superficie */
.form-panel a:not(.btn) { color: var(--violeta); }

/* viñetas que no se separan del texto al envolver */
.bo-confianza li, .bo-panel__list li { display: block; position: relative; padding-left: 18px; }
.bo-confianza li::before, .bo-panel__list li::before { position: absolute; left: 0; top: .62em; transform: none; }
.bo-panel__list li > * { margin-right: 4px; }
/* el padding inferior del main en móvil toma el color de la última sección */
body[data-page="boletos"] { background: var(--noche); }

/* Compra */
.bo-compra__grid { display: grid; gap: 40px; align-items: center; }
.bo-compra__copy { display: grid; gap: 20px; }
.bo-compra__card { display: grid; gap: 16px; background: #fff; color: var(--noche); border-radius: var(--r-md); padding: 24px; box-shadow: var(--shadow-objeto); }
.bo-compra__precio { font-family: var(--font-display); font-size: var(--fs-h3); line-height: 1.1; }
.bo-compra__btn { width: 100%; }
.bo-compra__card .small { color: var(--muted-claro); }
[data-checkout-main].is-pending { opacity: .55; pointer-events: none; }
@media (min-width: 1024px) { .bo-compra__grid { grid-template-columns: 6fr 5fr; gap: var(--gap); } .bo-compra__card { padding: 32px; } }
