/**
 * Experiencia Satisfaction · landing de reserva
 * @version 1.0.0
 * @author  Aris Mota <soy@aris.do>
 */

@font-face { font-family: 'SEAT BCN'; src: url('../fonts/SEATBCN-Light.woff') format('woff'); font-weight: 300; font-display: swap; }
@font-face { font-family: 'SEAT BCN'; src: url('../fonts/SEATBCN-Book.woff') format('woff'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'SEAT BCN'; src: url('../fonts/SEATBCN-Regular.woff') format('woff'); font-weight: 450; font-display: swap; }
@font-face { font-family: 'SEAT BCN'; src: url('../fonts/SEATBCN-Medium.woff') format('woff'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'SEAT BCN'; src: url('../fonts/SEATBCN-Bold.woff') format('woff'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'SEAT BCN'; src: url('../fonts/SEATBCN-Black.woff') format('woff'); font-weight: 900; font-display: swap; }
@font-face { font-family: 'SEAT BCN Condensed'; src: url('../fonts/SEATBCN-CondensedBold.woff') format('woff'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'SEAT BCN Condensed'; src: url('../fonts/SEATBCN-CondensedBlack.woff') format('woff'); font-weight: 900; font-display: swap; }

@property --angle { syntax: '<angle>'; inherits: false; initial-value: 0deg; }

:root {
    --bg: #2c2a29;
    --ink: #ffffff;
    --ink-soft: rgba(255, 255, 255, .74);
    --ink-mute: rgba(255, 255, 255, .5);
    --line: rgba(255, 255, 255, .16);
    --glass: rgba(255, 255, 255, .045);
    --glass-hi: rgba(255, 255, 255, .09);
    --magenta: #c8f446;
    --violet: #dcff7a;
    --blue: #c8f446;
    --lime: #c8f446;
    --amber: #f0a03c;
    --danger: #ff6b81;
    --grad: linear-gradient(110deg, var(--magenta), var(--violet) 50%, var(--blue));
    --ease: cubic-bezier(.2, .8, .2, 1);
    --ease-out: cubic-bezier(.16, 1, .3, 1);
    --gutter: clamp(20px, 5vw, 40px);
    color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html { background: var(--bg); -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    background: var(--bg);
    color: var(--ink);
    font-family: 'SEAT BCN', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 300;
    font-size: 17px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

strong { font-weight: 700; }
a { color: inherit; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }

/* ---------- Fondo: color plano de Satisfaction (#2c2a29) ---------- */
html, body { background-color: var(--bg); }
.bg { display: none; }


/* ---------- Barra superior ---------- */
.topbar {
    position: sticky; top: 0; z-index: 10;
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: calc(14px + env(safe-area-inset-top)) var(--gutter) 14px;
    background: linear-gradient(to bottom, rgba(44, 42, 41, .92), rgba(44, 42, 41, 0));
}
.topbar__logo {
    height: 40px; width: auto; display: block;
    opacity: 0; transform: translateY(-8px);
    transition: opacity 1s var(--ease) .2s, transform 1s var(--ease) .2s;
}
body:not(.is-loading) .topbar__logo { opacity: 1; transform: none; }

.steps { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.steps li {
    position: relative; width: 44px; height: 3px; background: var(--line); overflow: hidden;
    transition: width .5s var(--ease), opacity .3s;
}
.steps li span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.steps li::after {
    content: ''; position: absolute; inset: 0; background: var(--grad);
    transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease-out);
}
.steps li.is-done::after, .steps li.is-current::after { transform: scaleX(1); }
.steps li.is-current { width: 64px; }
.steps li.is-skipped { width: 0; opacity: 0; margin-left: -6px; }

/* ---------- Escenario y pantallas ---------- */
.stage {
    flex: 1;
    width: 100%; max-width: 720px; margin: 0 auto;
    padding: 4vh var(--gutter) 40px;
    position: relative;
}
.screen { display: none; }
.screen.is-active { display: block; }
.screen.is-leaving { display: block; animation: leave .38s var(--ease) forwards; pointer-events: none; }
.screen--message .screen__inner { padding-top: 14vh; }

@keyframes leave { to { opacity: 0; transform: translateY(-18px); filter: blur(6px); } }

.reveal { opacity: 0; }
.screen.is-active .reveal {
    animation: rise .9s var(--ease-out) both;
    animation-delay: calc(var(--i, 0) * 70ms + 60ms);
}
.screen.is-back.is-active .reveal { animation-name: rise-back; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes rise-back { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: none; } }

/* ---------- Tipografía ---------- */
.kicker {
    margin: 0 0 14px; font-size: 12px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase;
    color: var(--ink-mute);
}
.kicker::before { content: ''; display: inline-block; width: 28px; height: 1px; background: var(--grad); vertical-align: middle; margin-right: 12px; }

.display {
    margin: 0 0 28px;
    font-family: 'SEAT BCN Condensed', 'SEAT BCN', sans-serif; font-weight: 900;
    font-size: clamp(52px, 15vw, 116px); line-height: .9; letter-spacing: -.01em;
    text-transform: uppercase;
}
.display .line { display: block; overflow: hidden; padding-bottom: .06em; }
.screen.is-active .display .line .reveal { display: inline-block; animation: mask-up 1.1s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 90ms + 80ms); }
@keyframes mask-up { from { opacity: 0; transform: translateY(105%) skewY(6deg); } to { opacity: 1; transform: none; } }

.accent { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; background-size: 200% 100%; animation-name: mask-up, shimmer !important; animation-duration: 1.1s, 8s !important; animation-iteration-count: 1, infinite !important; animation-timing-function: var(--ease-out), ease-in-out !important; }
@keyframes shimmer { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

.title { margin: 0 0 18px; font-size: clamp(32px, 7.5vw, 48px); font-weight: 700; line-height: 1.05; letter-spacing: -.01em; }
.hello { margin: 0 0 18px; font-size: 22px; font-weight: 300; }
.lead { margin: 0 0 14px; font-size: 18px; color: var(--ink-soft); max-width: 34em; }
.lead--soft { font-size: 16px; color: var(--ink-mute); }
.closing { margin: 22px 0 0; font-size: 14px; color: var(--ink-mute); }

/* ---------- Botones ---------- */
.actions { display: flex; gap: 12px; margin-top: 34px; }
.actions--split { justify-content: space-between; }

.btn {
    position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
    min-height: 58px; padding: 0 28px; border: 1px solid transparent; border-radius: 0;
    font-size: 16px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
    cursor: pointer; overflow: hidden; isolation: isolate;
    transition: transform .25s var(--ease), background-color .3s, color .3s, opacity .3s, border-color .3s;
    -webkit-tap-highlight-color: transparent;
}
.btn:active:not(:disabled) { transform: scale(.97); }
.btn:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }
.btn--primary { background: var(--ink); color: #0a0810; flex: 1; max-width: 360px; }
.btn--primary::before {
    content: ''; position: absolute; inset: 0; z-index: -1; background: var(--grad);
    transform: translateX(-101%); transition: transform .5s var(--ease-out);
}
.btn--primary:hover:not(:disabled) { color: #0a0810; }
.btn--primary:hover:not(:disabled)::before { transform: none; }
.btn--primary:disabled { opacity: .3; cursor: not-allowed; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); background: var(--glass); }
.btn__arrow { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .35s var(--ease); }
.btn:hover:not(:disabled) .btn__arrow { transform: translateX(5px); }

.spinner { display: none; width: 20px; height: 20px; border: 2px solid rgba(0, 0, 0, .2); border-top-color: currentColor; border-radius: 50%; animation: spin .7s linear infinite; }
.btn.is-busy .spinner { display: inline-block; }
.btn.is-busy [data-label] { opacity: .6; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Tarjetas de actividad ---------- */
.choices { display: grid; gap: 14px; margin-top: 26px; }

.choice {
    position: relative; display: grid; grid-template-columns: 64px 1fr 32px; align-items: center; gap: 18px;
    width: 100%; padding: 24px 22px; text-align: left;
    background: var(--glass); border: 1px solid var(--line); border-radius: 0;
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    cursor: pointer; -webkit-tap-highlight-color: transparent;
    transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
    transition: transform .3s var(--ease), background-color .3s, border-color .3s, opacity .3s;
}
.choice:hover { background: var(--glass-hi); }
.choice:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }
.choice__border {
    position: absolute; inset: -1px; pointer-events: none; opacity: 0; transition: opacity .4s;
    padding: 1px;
    background: conic-gradient(from var(--angle), var(--magenta), var(--violet), var(--blue), var(--lime), var(--magenta));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude;
    animation: rotate 4s linear infinite;
}
@keyframes rotate { to { --angle: 360deg; } }
.choice[aria-checked='true'] { background: rgba(255, 255, 255, .1); border-color: transparent; }
.choice[aria-checked='true'] .choice__border { opacity: 1; }
.choice__icon {
    width: 64px; height: 64px; display: grid; place-items: center;
    border: 1px solid var(--line); background: rgba(0, 0, 0, .25);
}
.choice__icon svg { width: 40px; height: 40px; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.choice__icon .steam { animation: steam 2.6s ease-in-out infinite; }
@keyframes steam { 0%, 100% { opacity: .35; transform: translateY(1px); } 50% { opacity: 1; transform: translateY(-2px); } }
.choice__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.choice__title { font-size: 21px; font-weight: 700; line-height: 1.15; }
.choice__sub { font-size: 15px; color: var(--ink-soft); }
.choice__meta { margin-top: 6px; font-size: 13px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--lime); }
.choice__meta.is-low { color: #ffb36b; }
.choice__meta.is-full { color: var(--danger); }
.choice__check {
    width: 32px; height: 32px; display: grid; place-items: center;
    border: 1px solid var(--line); border-radius: 50%; transition: background-color .3s, border-color .3s, transform .4s var(--ease-out);
}
.choice__check svg { width: 18px; height: 18px; fill: none; stroke: #0a0810; stroke-width: 2.6; stroke-dasharray: 24; stroke-dashoffset: 24; transition: stroke-dashoffset .4s var(--ease) .1s; }
.choice[aria-checked='true'] .choice__check { background: var(--lime); border-color: var(--lime); transform: scale(1.08); }
.choice[aria-checked='true'] .choice__check svg { stroke-dashoffset: 0; }
.choice[aria-disabled='true'] { opacity: .45; cursor: not-allowed; }

/* ---------- Turnos ---------- */
.slots { display: grid; gap: 12px; margin-top: 24px; }
@media (min-width: 760px) { .slots { grid-template-columns: repeat(3, 1fr); } }

.slot {
    container-type: inline-size; min-width: 0;
    position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
    padding: 22px 20px 20px; text-align: left; overflow: hidden;
    background: var(--glass); border: 1px solid var(--line); border-radius: 0;
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    cursor: pointer; -webkit-tap-highlight-color: transparent;
    transition: transform .3s var(--ease), background-color .3s, border-color .3s, opacity .3s;
}
.slot:hover:not([aria-disabled='true']) { background: var(--glass-hi); transform: translateY(-3px); }
.slot:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }
.slot .choice__border { inset: -1px; }
.slot[aria-checked='true'] { background: rgba(255, 255, 255, .1); border-color: transparent; }
.slot[aria-checked='true'] .choice__border { opacity: 1; }
.slot__time {
    font-family: 'SEAT BCN Condensed', 'SEAT BCN', sans-serif; font-weight: 900; line-height: 1; letter-spacing: -.01em;
    white-space: nowrap; max-width: 100%;
    font-size: 44px;                         /* respaldo sin container queries */
    font-size: clamp(30px, 26cqi, 56px);     /* se adapta al ancho real de la tarjeta */
}
.slot__time small { font-family: 'SEAT BCN', sans-serif; font-size: .32em; margin-left: .2em; color: var(--ink-mute); }
.slot__status { display: flex; align-items: center; gap: 8px; max-width: 100%; white-space: nowrap; font-size: 13px; font-size: clamp(11px, 7.4cqi, 13px); font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); }
.slot__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 0 rgba(200, 244, 70, .6); animation: pulse 2s infinite; }
.slot.is-low .slot__dot { background: #ffb36b; animation-name: pulse-warn; }
.slot__bar { width: 100%; height: 3px; background: var(--line); overflow: hidden; }
.slot__bar i { display: block; height: 100%; width: var(--fill, 0%); background: var(--grad); transition: width 1s var(--ease-out); }
.slot__count { transition: opacity .2s; }
.slot__count.is-bump { animation: bump .5s var(--ease-out); }
@keyframes bump { 40% { transform: scale(1.25); color: var(--lime); } }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(200, 244, 70, 0); } 100% { box-shadow: 0 0 0 0 rgba(200, 244, 70, 0); } }
@keyframes pulse-warn { 0% { box-shadow: 0 0 0 0 rgba(255, 179, 107, .6); } 70% { box-shadow: 0 0 0 8px rgba(255, 179, 107, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 179, 107, 0); } }

.slot[aria-disabled='true'] { cursor: not-allowed; opacity: .55; }
.slot[aria-disabled='true'] .slot__time { text-decoration: line-through; text-decoration-thickness: 2px; color: var(--ink-mute); }
.slot[aria-disabled='true'] .slot__dot { background: var(--danger); animation: none; }
.slot[aria-disabled='true'] .slot__status { color: var(--danger); }
.slot.is-shake { animation: shake .5s; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }

/* ---------- Kit SPA ---------- */
.kit { margin-top: 26px; padding: 20px; border: 1px dashed var(--line); background: rgba(0, 0, 0, .2); }
.kit__title { margin: 0 0 14px; font-size: 15px; color: var(--ink-soft); }
.kit__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; list-style: none; margin: 0; padding: 0; }
.kit__list li { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 12px; text-align: center; color: var(--ink-soft); }
.kit__list svg { width: 34px; height: 34px; fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.screen.is-active .kit__list li { animation: pop .6s var(--ease-out) both; }
.screen.is-active .kit__list li:nth-child(1) { animation-delay: .55s; }
.screen.is-active .kit__list li:nth-child(2) { animation-delay: .63s; }
.screen.is-active .kit__list li:nth-child(3) { animation-delay: .71s; }
.screen.is-active .kit__list li:nth-child(4) { animation-delay: .79s; }
@keyframes pop { from { opacity: 0; transform: scale(.6) translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- Ticket resumen ---------- */
.ticket {
    position: relative; margin-top: 22px;
    background: rgba(255, 255, 255, .07); border: 1px solid var(--line);
    -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
    -webkit-mask: radial-gradient(circle 12px at 0 62%, transparent 98%, #000) left / 51% 100% no-repeat,
                  radial-gradient(circle 12px at 100% 62%, transparent 98%, #000) right / 51% 100% no-repeat;
    mask: radial-gradient(circle 12px at 0 62%, transparent 98%, #000) left / 51% 100% no-repeat,
          radial-gradient(circle 12px at 100% 62%, transparent 98%, #000) right / 51% 100% no-repeat;
}
.ticket::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--grad); }
.ticket__top { padding: 26px 24px 20px; }
.ticket__date { font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-mute); }
.ticket__act { margin: 8px 0 0; font-size: 28px; font-weight: 700; line-height: 1.1; }
.ticket__desc { margin: 6px 0 0; font-size: 15px; color: var(--ink-soft); }
.ticket__bottom {
    display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
    padding: 20px 24px 24px; border-top: 1px dashed var(--line);
}
.ticket__label { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-mute); }
.ticket__time { font-family: 'SEAT BCN Condensed', 'SEAT BCN', sans-serif; font-weight: 900; font-size: clamp(32px, 10vw, 44px); line-height: 1; white-space: nowrap; }
.ticket__time small { font-family: 'SEAT BCN', sans-serif; font-size: 16px; margin-left: 4px; color: var(--ink-mute); }

/* ---------- Consentimiento ---------- */
.consent { display: flex; gap: 14px; align-items: flex-start; margin-top: 24px; cursor: pointer; font-size: 14px; color: var(--ink-soft); }
.consent input { position: absolute; opacity: 0; pointer-events: none; }
.consent__box { flex: 0 0 24px; height: 24px; display: grid; place-items: center; border: 1px solid var(--ink-mute); transition: background-color .25s, border-color .25s; margin-top: 1px; }
.consent__box svg { width: 16px; height: 16px; fill: none; stroke: #0a0810; stroke-width: 3; stroke-dasharray: 24; stroke-dashoffset: 24; transition: stroke-dashoffset .3s var(--ease); }
.consent input:checked + .consent__box { background: var(--lime); border-color: var(--lime); }
.consent input:checked + .consent__box svg { stroke-dashoffset: 0; }
.consent input:focus-visible + .consent__box { outline: 2px solid var(--lime); outline-offset: 3px; }
.consent a { color: var(--ink); text-underline-offset: 3px; }
.consent.is-error .consent__box { border-color: var(--danger); animation: shake .5s; }
.form-error { margin: 16px 0 0; padding: 12px 16px; border-left: 3px solid var(--danger); background: rgba(255, 107, 129, .1); font-size: 14px; }

/* ---------- Confirmación ---------- */
.seal { width: 112px; height: 112px; margin: 2vh 0 22px; }
.seal svg { width: 100%; height: 100%; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.seal__ring { stroke: var(--lime); stroke-width: 3; stroke-dasharray: 340; stroke-dashoffset: 340; transform: rotate(-90deg); transform-origin: center; }
.seal__tick { stroke: var(--ink); stroke-width: 6; stroke-dasharray: 80; stroke-dashoffset: 80; }
.screen.is-active .seal__ring { animation: draw 1s var(--ease-out) .25s forwards; }
.screen.is-active .seal__tick { animation: draw .6s var(--ease-out) .95s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.ticket--done { margin-bottom: 22px; }
.kit-reminder { margin: 0 0 14px; padding: 14px 16px; border-left: 3px solid var(--lime); background: rgba(200, 244, 70, .08); font-size: 15px; color: var(--ink-soft); }

/* ---------- Toast / confeti / pie ---------- */
.toast {
    position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 50;
    max-width: calc(100vw - 32px); padding: 14px 20px;
    background: #fff; color: #0a0810; font-size: 15px; font-weight: 500;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .45);
    transform: translate(-50%, 140%); opacity: 0;
    transition: transform .5s var(--ease-out), opacity .3s;
}
.toast.is-on { transform: translate(-50%, 0); opacity: 1; }
.toast.is-error { border-left: 4px solid var(--danger); }

.confetti { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 40; }

.foot {
    display: flex; justify-content: space-between; gap: 16px;
    width: 100%; max-width: 680px; margin: 0 auto;
    padding: 18px var(--gutter) calc(18px + env(safe-area-inset-bottom));
    font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-mute);
}
.foot a { text-decoration: none; }
.foot a:hover { color: var(--ink); }

@media (max-width: 420px) {
    .choice { grid-template-columns: 52px 1fr 28px; gap: 14px; padding: 20px 16px; }
    .choice__icon { width: 52px; height: 52px; }
    .choice__icon svg { width: 32px; height: 32px; }
    .choice__title { font-size: 19px; }
    .actions--split .btn--ghost { padding: 0 18px; }
    .btn { padding: 0 20px; font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .reveal { opacity: 1; }
}

.slot[aria-disabled='true'] .slot__time small { opacity: .6; }
.slot__time small, .ticket__time small { display: inline-block; text-decoration: none; }

/* ---------- Bienvenida: logo protagonista ---------- */
.hero-logo { display: block; width: min(440px, 84%); height: auto; margin: 3vh 0 36px; }
.screen.is-active .hero-logo.reveal { animation-name: logo-in; animation-duration: 1.2s; }
@keyframes logo-in { from { opacity: 0; transform: scale(.94) translateY(14px); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }
.date-chip {
    display: inline-flex; align-items: center; gap: 10px; margin: 0 0 26px; padding: 8px 14px;
    border: 1px solid rgba(200, 244, 70, .5); color: var(--lime);
    font-size: 13px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
}
.date-chip::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); }
.hello { margin-bottom: 6px; color: var(--ink-soft); }
.hello strong { color: var(--ink); }
.topbar__logo { transition: opacity .5s var(--ease), transform .5s var(--ease), visibility .5s; }
body.is-intro .topbar__logo { opacity: 0 !important; visibility: hidden; transform: translateY(-8px); }
.screen--message .screen__inner { padding-top: 6vh; }

/* Titulares que reciben foco por código: sin contorno visible */
.title[tabindex='-1']:focus, h1[tabindex='-1']:focus, h2[tabindex='-1']:focus { outline: none; }

/* ---------- Modal de cancelación ---------- */
.modal { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none !important; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(20, 19, 18, .72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: fade-in .25s ease both; }
.modal__panel {
    position: relative; width: 100%; max-width: 460px; padding: 30px 26px 26px;
    background: #363433; border: 1px solid var(--line); border-top: 3px solid var(--danger);
    box-shadow: 0 30px 80px rgba(0, 0, 0, .5); animation: modal-in .45s var(--ease-out) both;
}
.modal__title { margin: 0 0 12px; font-size: 24px; font-weight: 700; line-height: 1.15; }
.modal__text { margin: 0 0 6px; color: var(--ink-soft); font-size: 16px; }
.modal__actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; margin-top: 24px; }
.modal__actions .btn { flex: 1 1 160px; min-height: 52px; }
.btn--danger { background: var(--danger); color: #1b0d10; }
.btn--danger:hover:not(:disabled) { background: #ff8597; }
.btn--danger:disabled { opacity: .5; }
body.has-modal { overflow: hidden; }
@keyframes fade-in { from { opacity: 0; } }
@keyframes modal-in { from { opacity: 0; transform: translateY(16px) scale(.98); } }

.session-note { margin: 18px 0 0; padding: 14px 16px; border-left: 3px solid var(--ink-mute); background: rgba(255, 255, 255, .05); font-size: 15px; color: var(--ink-soft); }
