/* Hallmark · job: hire · shape: Narrative Workflow, adapted from the Dusk demo (Hallmark, MIT) to a freelance portfolio · genre: modern-minimal · theme: Dusk (by request) · signature: the live projects listed in smoked glass over a real dusk
 * hero: Stage over a photograph (the head on the fog, the projects in glass on the ridge) · sections: hero, services as a tab list beside one glass pane, projects in bone wells, ideas as a ruled list, about, close on a second dusk photograph · nav: clear over the sky, glass once scrolled · footer: close band · dusk: fog/periwinkle-apricot/glass
 * imagery: two library photographs (fog over a valley at sunset, an estuary at dusk), real captures of the three projects
 * axes: dark/grotesk-sans/chromatic-violet · posture: committed · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · waive 81 · the fourth well is an invitation to write, set as type on bone, not a missing picture */
@import url("./tokens.css");
@import url("./base.css");

:root { --nav-h: 76px; --link-strong: var(--color-accent-deep); }

body { font-size: 1.0625rem; }
h1, h2, h3 { font-weight: var(--display-weight); }
h1 { line-height: 1.02; }
.lead { color: var(--color-ink-2); }
.num { font-variant-numeric: tabular-nums; letter-spacing: 0; }
.c { color: var(--color-muted); }

.skip { position: absolute; left: var(--space-md); top: calc(-1 * var(--space-3xl)); z-index: var(--z-toast); padding: var(--space-xs) var(--space-md); border-radius: var(--radius-pill); background: var(--color-ink); color: var(--color-paper); }
.skip:focus-visible { top: var(--space-md); }

/* the dusk mark: a disc that goes from the last of the sun to the first of the night */
.wordmark { display: inline-flex; align-items: center; gap: var(--space-sm); font: 600 1.125rem/1 var(--font-display); letter-spacing: -0.01em; text-decoration: none; }
.wordmark__dot { width: 14px; height: 14px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, var(--color-accent-2), var(--color-dusk) 55%, var(--color-accent) 100%); box-shadow: 0 0 0 1px color-mix(in oklab, var(--color-light) 18%, transparent) inset; flex: none; }

/* controls: one periwinkle pill, a ghost beside it */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-xs); min-height: 48px; padding: 0 var(--space-lg); border: 0; border-radius: var(--radius-pill); background: var(--color-accent); color: var(--color-accent-ink); font: 600 0.9375rem/1 var(--font-body); white-space: nowrap; text-decoration: none; cursor: pointer; box-shadow: inset 0 1px 0 color-mix(in oklab, var(--color-light) 35%, transparent), 0 1px 2px color-mix(in oklab, var(--color-shade) 30%, transparent); transition: background-color var(--dur-short) var(--ease-out), box-shadow var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.btn:hover { background: var(--color-accent-hi); box-shadow: inset 0 1px 0 color-mix(in oklab, var(--color-light) 40%, transparent), 0 0 0 4px color-mix(in oklab, var(--color-accent) 18%, transparent), 0 8px 24px -8px color-mix(in oklab, var(--color-accent-lo) 60%, transparent); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }
.btn:disabled { background: var(--color-paper-3); color: var(--color-muted); box-shadow: none; cursor: not-allowed; }
.btn--sm { min-height: 38px; padding: 0 var(--space-md); font-size: 0.875rem; }
.btn--ghost { background: color-mix(in oklab, var(--color-light) 4%, transparent); color: var(--color-ink); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--color-light) 16%, transparent); }
.btn--ghost:hover { background: color-mix(in oklab, var(--color-light) 9%, transparent); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--color-light) 24%, transparent); }

/* glass: smoked, blurred, a lit top edge */
.glass { position: relative; background: var(--glass); border-radius: var(--radius-card); -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(1.35); backdrop-filter: blur(var(--glass-blur)) saturate(1.35); box-shadow: var(--glass-hi), var(--shadow-card); }

/* nav: clear over the sky, glass once the page moves */
.nav { position: fixed; inset: 0 0 auto; z-index: var(--z-sticky-nav); height: var(--nav-h); color: var(--color-day-ink); transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out), box-shadow var(--dur-short) var(--ease-out); }
.nav.is-solid { color: var(--color-ink); background: color-mix(in oklab, var(--color-paper) 72%, transparent); -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3); box-shadow: 0 1px 0 color-mix(in oklab, var(--color-light) 7%, transparent); }
.nav__in { height: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: var(--space-lg); }
.nav__links { display: flex; gap: var(--space-xl); }
.nav__links a, .nav__login { font-size: 0.9375rem; font-weight: 500; text-decoration: none; opacity: 0.86; transition: opacity var(--dur-micro); }
.nav__links a:hover, .nav__login:hover { opacity: 1; }
.nav__end { display: flex; align-items: center; justify-content: flex-end; gap: var(--space-lg); }

/* hero: the head on the fog, the run in glass over the ridge */
.hero { position: relative; height: 100svh; min-height: 700px; max-height: 1180px; display: grid; align-items: center; overflow: hidden; isolation: isolate; }
.hero__ground { position: absolute; inset: 0; z-index: -1; }
.hero__photo { width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; transform-origin: 70% 60%; animation: drift 48s var(--ease-in-out) infinite alternate; }
@keyframes drift { to { transform: scale(1.06) translate(-1%, 0.5%); } }
.hero__scrim { position: absolute; inset: 0; background:
  radial-gradient(ellipse 50% 58% at 20% 56%, color-mix(in oklab, var(--color-fog) 78%, transparent), color-mix(in oklab, var(--color-fog) 42%, transparent) 48%, color-mix(in oklab, var(--color-fog) 0%, transparent) 78%),
  linear-gradient(to bottom, color-mix(in oklab, var(--color-paper) 0%, transparent) 72%, var(--color-paper) 99%); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--space-2xl); align-items: center; padding-top: calc(var(--nav-h) - var(--space-xs)); padding-bottom: var(--space-xl); }
.hero__text { color: var(--color-day-ink); }
.hero h1 { max-width: 11ch; }
.hero .lead { margin-top: var(--space-lg); max-width: 27ch; color: var(--color-day-muted); font-size: clamp(1.125rem, 0.4vw + 1rem, 1.3125rem); }
.hero__fine { margin-top: var(--space-md); padding-left: var(--space-lg); font-size: var(--text-sm); font-weight: 500; color: var(--color-day-ink); }

.join { display: flex; align-items: center; gap: var(--space-xs); margin-top: var(--space-xl); max-width: 460px; padding: var(--space-2xs) var(--space-2xs) var(--space-2xs) var(--space-lg); border-radius: var(--radius-pill); background: color-mix(in oklab, var(--color-card) 62%, transparent); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--color-light) 70%, transparent), 0 10px 30px -14px color-mix(in oklab, var(--color-shade) 50%, transparent); }
.join input { flex: 1; min-width: 0; height: 46px; border: 0; background: transparent; color: var(--color-day-ink); font-size: 0.9375rem; outline: none; }
.join input::placeholder { color: var(--color-day-muted); }
.join:focus-within { box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--color-light) 70%, transparent), 0 0 0 3px color-mix(in oklab, var(--color-accent) 55%, transparent); }
.join .btn { min-height: 46px; }
.join--dark { background: color-mix(in oklab, var(--color-light) 6%, transparent); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--color-light) 14%, transparent); max-width: none; }
.join--dark input { color: var(--color-ink); }
.join--dark input::placeholder { color: var(--color-muted); }
.join--dark:focus-within { box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--color-light) 20%, transparent), 0 0 0 3px color-mix(in oklab, var(--color-accent) 45%, transparent); }

.run { justify-self: end; width: min(100%, 600px); padding: var(--space-lg) var(--space-lg) var(--space-lg); }
.run__head { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--space-md); padding-bottom: var(--space-md); }
.run__title { font: 500 1.0625rem/1.3 var(--font-display); }
.run__meta { margin-top: var(--space-3xs); font-size: var(--text-sm); color: var(--color-muted); }
.chip { display: inline-flex; align-items: center; gap: var(--space-xs); height: 30px; padding: 0 var(--space-sm); border-radius: var(--radius-pill); background: color-mix(in oklab, var(--color-light) 7%, transparent); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--color-light) 8%, transparent); font-size: var(--text-xs); color: var(--color-ink-2); white-space: nowrap; }
.chip__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--color-accent); box-shadow: 0 0 0 3px color-mix(in oklab, var(--color-accent) 22%, transparent); }
.accts { list-style: none; margin: 0; padding: 0; }
.acct { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto 128px; align-items: center; gap: var(--space-md); padding: var(--space-sm) 0; border-top: 1px solid color-mix(in oklab, var(--color-light) 7%, transparent); animation: rise var(--dur-long) var(--ease-out) both; animation-delay: calc(200ms + var(--d) * 90ms); }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }
.acct__mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: color-mix(in oklab, var(--color-light) 6%, transparent); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--color-light) 10%, transparent); font: 500 0.8125rem/1 var(--font-display); color: var(--color-ink-2); }
.acct__name { display: flex; flex-direction: column; font-size: 0.9375rem; font-weight: 500; }
.acct__sub { font-size: var(--text-xs); font-weight: 400; color: var(--color-muted); }
.acct__state { display: inline-flex; align-items: center; gap: var(--space-xs); font-size: var(--text-xs); color: var(--color-muted); }
.acct__state::before { content: ""; width: 16px; height: 16px; border-radius: 50%; background: var(--color-accent-2); -webkit-mask: radial-gradient(circle, var(--color-shade) 3px, transparent 3.5px); mask: radial-gradient(circle, var(--color-shade) 3px, transparent 3.5px); }
.acct__state.is-ok::before { background: var(--color-accent); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.acct.is-open .acct__state { color: var(--color-accent-2); }
.acct__bal { text-align: right; font-size: 0.9375rem; }
.run__flag { display: flex; align-items: center; gap: var(--space-sm); margin-top: var(--space-sm); padding: var(--space-sm) var(--space-md); border-radius: var(--radius-inner); background: color-mix(in oklab, var(--color-accent-2) 10%, transparent); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--color-accent-2) 28%, transparent); font-size: var(--text-sm); color: var(--color-ink-2); text-decoration: none; transition: background-color var(--dur-short) var(--ease-out); }
.run__flag:hover { background: color-mix(in oklab, var(--color-accent-2) 16%, transparent); }
.run__flag-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--color-accent-2); box-shadow: 0 0 0 4px color-mix(in oklab, var(--color-accent-2) 20%, transparent); flex: none; animation: pulse 2.4s var(--ease-in-out) infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px color-mix(in oklab, var(--color-accent-2) 5%, transparent); } }
.run__flag-go { margin-left: auto; font-weight: 600; color: var(--color-accent-2); }
.run__flag-go::after { content: " →"; }

/* sections */
.sec { position: relative; padding-block: var(--section-gap) 0; }
.sec__head { display: grid; gap: var(--space-md); max-width: 40rem; }
.sec__head .lead, .tour__text .lead { color: var(--color-muted); }

/* tour: four jobs as a list beside one glass pane */
.tour { padding-top: calc(var(--section-gap) - var(--space-lg)); }
.tour__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-2xl); align-items: start; }
.tour__text { display: grid; gap: var(--space-md); padding-top: var(--space-lg); }
.tabs { display: grid; margin-top: var(--space-xl); }
.tab { position: relative; display: grid; text-align: left; padding: var(--space-md) 0 var(--space-md) var(--space-lg); border: 0; border-top: 1px solid var(--color-rule); background: none; color: var(--color-muted); cursor: pointer; }
.tab:last-child { border-bottom: 1px solid var(--color-rule); }
.tab::before { content: ""; position: absolute; left: 2px; top: 27px; width: 6px; height: 6px; border-radius: 50%; background: var(--color-accent); opacity: 0; transform: scale(0.4); transition: opacity var(--dur-short) var(--ease-out), transform var(--dur-short) var(--ease-out); }
.tab__name { font: 500 1.0625rem/1.4 var(--font-display); transition: color var(--dur-short) var(--ease-out); }
.tab__line > span { min-height: 0; }
.tab__line { display: grid; grid-template-rows: 0fr; font-size: 0.9375rem; color: var(--color-muted); overflow: hidden; max-width: 34ch; transition: grid-template-rows var(--dur-long) var(--ease-out), opacity var(--dur-short); opacity: 0; }
.tab:hover .tab__name { color: var(--color-ink-2); }
.tab[aria-selected="true"] .tab__name { color: var(--color-ink); }
.tab[aria-selected="true"]::before { opacity: 1; transform: none; box-shadow: 0 0 0 4px color-mix(in oklab, var(--color-accent) 20%, transparent); }
.tab[aria-selected="true"] .tab__line { grid-template-rows: 1fr; margin-top: var(--space-2xs); opacity: 1; }
.tab:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; border-radius: 4px; }
.tour__stage { display: grid; }
.pane { grid-area: 1 / 1; padding: var(--space-lg); min-height: 480px; animation: pane-in var(--dur-long) var(--ease-out); }
@keyframes pane-in { from { opacity: 0; transform: translateY(10px) scale(0.99); } }
.pane:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }
.pane__head { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-md); padding-bottom: var(--space-lg); }
.pane__title { font: 500 1.0625rem/1.3 var(--font-display); }
.pane__meta { font-size: var(--text-sm); color: var(--color-muted); }

.pairs { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.pairs th, .pairs td { padding: var(--space-sm) var(--space-sm); text-align: left; border-top: 1px solid color-mix(in oklab, var(--color-light) 7%, transparent); font-weight: 400; }
.pairs thead th { padding-top: 0; border-top: 0; font-size: var(--text-xs); color: var(--color-muted); }
.pairs tbody th { font-weight: 500; }
.pairs td:last-child { color: var(--color-ink-2); }
.pairs .r { text-align: right; }
.pairs .tick, .pairs .gap { width: 40px; position: relative; }
.pairs .tick::before, .pairs .gap::before { content: ""; position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; margin: calc(-1 * var(--space-sm)) 0 0 calc(-1 * var(--space-sm)); border-radius: 50%; }
.pairs .tick::before { background: color-mix(in oklab, var(--color-accent) 16%, transparent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M7 11.5l2.6 2.6L15 8.5' fill='none' stroke='%23a9b1f2' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 22px no-repeat; }
.pairs .gap::before { box-shadow: inset 0 0 0 1.5px var(--color-accent-2); }
.pairs tr.is-open th, .pairs tr.is-open td { background: color-mix(in oklab, var(--color-accent-2) 7%, transparent); color: var(--color-accent-2); }
.pairs tr.is-open td:last-child .num { margin-left: var(--space-xs); opacity: 0.85; }

.sides { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-md); }
.side { display: grid; gap: var(--space-2xs); padding: var(--space-lg); border-radius: 14px; background: color-mix(in oklab, var(--color-light) 4.5%, transparent); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--color-light) 7%, transparent); }
.side__label { font-size: var(--text-xs); color: var(--color-muted); }
.side__name { margin-top: var(--space-xs); font-weight: 500; }
.side__meta { font-size: var(--text-sm); color: var(--color-muted); }
.side__fig { margin-top: var(--space-lg); font: 500 2.25rem/1 var(--font-display); letter-spacing: -0.02em; }
.diff { display: flex; justify-content: space-between; align-items: baseline; margin-top: var(--space-lg); padding-top: var(--space-lg); border-top: 1px solid color-mix(in oklab, var(--color-light) 8%, transparent); color: var(--color-muted); font-size: var(--text-sm); }
.diff__fig { font: 500 2.75rem/1 var(--font-display); letter-spacing: -0.02em; color: var(--color-accent-2); }
.diff__fig .c, .side__fig .c { font-size: 0.6em; }
.pane__acts { display: flex; gap: var(--space-sm); margin-top: var(--space-xl); }

.rules, .close { list-style: none; margin: 0; padding: 0; }
.rules li { display: flex; justify-content: space-between; align-items: center; gap: var(--space-lg); padding: var(--space-lg) var(--space-3xs); border-top: 1px solid color-mix(in oklab, var(--color-light) 7%, transparent); }
.switch { position: relative; width: 40px; height: 24px; border-radius: var(--radius-pill); background: color-mix(in oklab, var(--color-light) 12%, transparent); flex: none; transition: background-color var(--dur-short); }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--color-ink); box-shadow: 0 1px 2px color-mix(in oklab, var(--color-shade) 40%, transparent); transition: transform var(--dur-short) var(--ease-out); }
.switch.is-on { background: var(--color-accent); }
.switch.is-on::after { transform: translateX(16px); background: var(--color-card); }
.close li { display: grid; grid-template-columns: 9rem minmax(0, 1fr) 4rem; align-items: center; gap: var(--space-lg); padding: var(--space-lg) var(--space-3xs); border-top: 1px solid color-mix(in oklab, var(--color-light) 7%, transparent); font-size: 0.9375rem; }
.close li .num { text-align: right; color: var(--color-muted); }
.close li.is-open .bar::before { background: linear-gradient(90deg, var(--color-accent-2-lo), var(--color-accent-2)); }
.close li.is-open .num { color: var(--color-accent-2); }

/* bone wells: light surfaces holding the product the way a desk holds paper */
.wells { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-lg); margin-top: var(--space-2xl); }
.well { margin: 0; }
.well__stage { display: grid; place-items: center; aspect-ratio: 5 / 4; padding: var(--space-xl); border-radius: var(--radius-card); background: radial-gradient(120% 90% at 30% 0%, var(--color-well), var(--color-well-2)); overflow: hidden; }
.well figcaption { margin-top: var(--space-md); font-size: 0.9375rem; color: var(--color-muted); }
.well__title { display: block; font-weight: 500; color: var(--color-ink); }
.note, .hand { width: min(100%, 420px); padding: var(--space-lg); border-radius: 16px; background: var(--color-card) !important; color: var(--color-well-ink); box-shadow: 0 1px 0 var(--color-light) inset, 0 0 0 1px color-mix(in oklab, var(--color-shade) 6%, transparent), 0 24px 48px -20px color-mix(in oklab, var(--color-shade) 35%, transparent); }
.note__head { display: flex; justify-content: space-between; align-items: center; font-size: var(--text-sm); }
.note__from { display: inline-flex; align-items: center; gap: var(--space-xs); font-weight: 600; }
.note__time { color: var(--color-well-muted); }
.note__title { margin-top: var(--space-lg); font: 500 1.1875rem/1.3 var(--font-display); }
.note__body { margin-top: var(--space-xs); font-size: 0.9375rem; color: var(--color-well-muted); }
.note__body .c, .hand .c { color: inherit; opacity: 0.7; }
.note__link { margin-top: var(--space-lg); padding-top: var(--space-md); border-top: 1px solid var(--color-well-rule); font-size: var(--text-sm); font-weight: 600; color: var(--link-strong); }
.note__link::after { content: " →"; }
.hand__title { font: 500 1.1875rem/1.3 var(--font-display); display: flex; justify-content: space-between; gap: var(--space-md); }
.hand__row { display: flex; align-items: center; gap: var(--space-sm); margin-top: var(--space-lg); font-size: 0.9375rem; }
.hand__row b { display: block; font-weight: 500; }
.hand__meta { display: block; font-size: var(--text-sm); color: var(--color-well-muted); }
.who { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--color-accent-soft); color: var(--color-accent-deep); font: 600 0.8125rem/1 var(--font-display); flex: none; }
.hand__msg { margin-top: var(--space-md); padding: var(--space-sm) var(--space-md); border-radius: 12px; background: var(--color-well-2); font-size: 0.9375rem; color: var(--color-well-ink); }
.hand__acts { display: flex; gap: var(--space-xs); margin-top: var(--space-lg); }
.pill { display: inline-flex; align-items: center; height: 30px; padding: 0 var(--space-sm); border-radius: var(--radius-pill); box-shadow: inset 0 0 0 1px var(--color-well-rule); font-size: var(--text-xs); font-weight: 500; color: var(--color-well-muted); }
.pill--on { background: var(--color-accent-soft); box-shadow: none; color: var(--color-accent-deep); }

/* October: a strip of nights, each bar the lines matched */
.month__stage { position: relative; margin-top: var(--space-2xl); }
.strip { display: grid; grid-template-columns: repeat(31, minmax(0, 1fr)); gap: var(--space-sm); height: 320px; padding: var(--space-xl) 32px var(--space-lg); }
.night { position: relative; display: flex; flex-direction: column; justify-content: flex-end; align-items: stretch; min-width: 0; }
.night i { display: block; height: calc(var(--h) - 26px); min-height: 8px; width: 62%; margin-inline: auto; border-radius: 999px 999px 4px 4px; background: linear-gradient(to top, color-mix(in oklab, var(--color-accent-lo) 35%, transparent), color-mix(in oklab, var(--color-accent-hi) 95%, transparent)); transform-origin: bottom; transition: transform var(--dur-long) var(--ease-out), filter var(--dur-short); }
.night b { margin-top: var(--space-sm); font-size: 0.6875rem; font-weight: 500; text-align: center; color: var(--color-muted); }
.night.is-flag::after { content: ""; position: absolute; left: 50%; bottom: calc(var(--h) + 6px); width: 7px; height: 7px; margin-left: -3.5px; border-radius: 50%; background: var(--color-accent-2); box-shadow: 0 0 0 3px color-mix(in oklab, var(--color-accent-2) 20%, transparent); }
.night.is-open i { background: linear-gradient(to top, color-mix(in oklab, var(--color-accent-2-lo) 60%, transparent), var(--color-accent-2)); }
.night.is-last b { color: var(--color-ink); }
.night.is-last i { box-shadow: 0 0 0 1px color-mix(in oklab, var(--color-light) 50%, transparent), 0 0 22px -2px color-mix(in oklab, var(--color-accent) 70%, transparent); }
.night.is-next i { height: 38%; background: none; box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--color-light) 18%, transparent); background-image: repeating-linear-gradient(135deg, color-mix(in oklab, var(--color-light) 6%, transparent) 0 4px, transparent 4px 8px); }
.night:hover i { filter: brightness(1.18); }
.night[data-tip]:hover::before { content: attr(data-tip); position: absolute; bottom: calc(var(--h) + 20px); left: 50%; z-index: var(--z-tooltip); transform: translateX(-50%); padding: var(--space-xs) var(--space-sm); border-radius: 8px; background: var(--color-ink); color: var(--color-well-ink); font-size: var(--text-xs); font-weight: 500; white-space: nowrap; box-shadow: 0 10px 24px -10px color-mix(in oklab, var(--color-shade) 80%, transparent); pointer-events: none; }
.night.is-next[data-tip]:hover::before { bottom: calc(38% + 30px); }
.night:nth-child(n+25)[data-tip]:hover::before { left: auto; right: -6px; transform: none; }
.strip.is-waiting .night i { transform: scaleY(0); }
.strip.is-waiting .night.is-flag::after { opacity: 0; }
.night.is-flag::after { transition: opacity var(--dur-short) 600ms; }
.tally { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: var(--space-lg) 0 0; }
.tally > div { padding: var(--space-lg) 0 0; border-top: 1px solid var(--color-rule); }
.tally > div + div { padding-left: var(--space-lg); }
.tally dt { font-size: var(--text-sm); color: var(--color-muted); }
.tally dd { margin: var(--space-xs) 0 0; font: 500 clamp(1.75rem, 1.2vw + 1.2rem, 2.375rem)/1.1 var(--font-display); letter-spacing: -0.02em; }
.tally dd.is-open { color: var(--color-accent-2); }
.tally dd .c { font-size: 0.6em; }

/* close: a second dusk, the form in glass on its calm side */
.foot { margin-top: var(--section-gap); }
.close-band { position: relative; isolation: isolate; display: grid; align-items: center; min-height: 680px; overflow: hidden; }
.close-band__photo { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.close-band__scrim { position: absolute; inset: 0; z-index: -1; background: linear-gradient(to bottom, var(--color-paper) 0%, color-mix(in oklab, var(--color-paper) 0%, transparent) 28%, color-mix(in oklab, var(--color-paper) 0%, transparent) 70%, var(--color-paper) 100%), linear-gradient(to right, color-mix(in oklab, var(--color-paper) 55%, transparent), color-mix(in oklab, var(--color-paper) 0%, transparent) 60%); }
.close-band__in { padding-block: var(--space-4xl); }
.book { display: grid; gap: var(--space-md); max-width: 520px; padding: var(--space-xl); background: color-mix(in oklab, var(--color-paper) 62%, transparent); }
.book .lead { color: var(--color-ink-2); }
.book .join { margin-top: var(--space-md); }
.foot__base { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: var(--space-lg) var(--space-2xl); padding-block: var(--space-2xl) var(--space-xl); }
.foot__links { display: flex; flex-wrap: wrap; gap: var(--space-lg); justify-content: center; }
.foot__links a { font-size: var(--text-sm); color: var(--color-muted); text-decoration: none; }
.foot__links a:hover { color: var(--color-ink); }
.foot__legal { font-size: var(--text-sm); color: var(--color-muted); }
.foot__credits { grid-column: 1 / -1; padding-top: var(--space-lg); border-top: 1px solid var(--color-rule); font-size: var(--text-xs); color: var(--color-muted); max-width: none; }

@media (max-width: 60rem) {
  .nav__links { display: none; }
  .nav__in { grid-template-columns: 1fr auto; }
  .hero { height: auto; max-height: none; padding-block: calc(var(--nav-h) + 48px) 72px; }
  .hero__grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-2xl); padding-top: 0; }
  .hero__scrim { background: linear-gradient(to bottom, color-mix(in oklab, var(--color-fog) 55%, transparent), color-mix(in oklab, var(--color-fog) 20%, transparent) 40%, color-mix(in oklab, var(--color-paper) 0%, transparent) 60%, var(--color-paper) 99%); }
  .run { justify-self: stretch; width: 100%; }
  .tour__grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); }
  .wells { grid-template-columns: minmax(0, 1fr); }
  .strip { gap: var(--space-2xs); padding: var(--space-lg) var(--space-md) var(--space-md); height: 240px; }
  .night b { font-size: 0.5625rem; }
  .tally { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .tally > div:nth-child(3) { padding-left: 0; }
  .foot__base { grid-template-columns: minmax(0, 1fr); }
  .foot__links { justify-content: flex-start; }
}
@media (max-width: 40rem) {
  .nav__login { display: none; }
  .acct { grid-template-columns: 30px minmax(0, 1fr) auto; }
  .acct__mark { width: 30px; height: 30px; }
  .acct__state { display: none; }
  .run { padding: var(--space-md); }
  .chip { display: none; }
  .join { flex-wrap: wrap; border-radius: 24px; padding: var(--space-xs); }
  .join input { padding-inline: var(--space-md); flex-basis: 100%; }
  .join .btn { flex: 1; }
  .pane { padding: var(--space-md); min-height: 0; }
  .pairs th, .pairs td { padding: var(--space-sm) var(--space-2xs); font-size: 0.875rem; }
  .pairs thead th:last-child, .pairs td:last-child { display: none; }
  .sides { grid-template-columns: minmax(0, 1fr); }
  .pane__acts { flex-wrap: wrap; }
  .well__stage { aspect-ratio: auto; padding: var(--space-lg) var(--space-md); }
  .night b { visibility: hidden; }
  .night:nth-child(7n+1) b { visibility: visible; }
  .book { padding: var(--space-lg); }
  .close-band { min-height: 560px; }
}
@media (prefers-reduced-motion: reduce) { .hero__photo { animation: none; } }

/* portfolio: piezas propias sobre la base del tema */
.hero__acts { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-top: var(--space-xl); }
.btn--day { background: color-mix(in oklab, var(--color-card) 55%, transparent); color: var(--color-day-ink); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--color-light) 70%, transparent); }
.btn--day:hover { background: color-mix(in oklab, var(--color-card) 75%, transparent); box-shadow: inset 0 0 0 1px var(--color-light); }
.acct { grid-template-columns: 34px minmax(0, 1fr) auto auto; }
.acct__bal { font-size: var(--text-sm); color: var(--color-ink-2); text-decoration: none; min-width: 8.5rem; }
a.acct__bal:hover { color: var(--color-ink); text-decoration: underline; text-underline-offset: 3px; }
a.acct__bal:focus-visible, .well:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; border-radius: 6px; }

.pane__shot { margin: 0; border-radius: var(--radius-inner); overflow: hidden; box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--color-light) 8%, transparent); }
.pane__shot img { display: block; width: 100%; height: auto; }
.steps { list-style: none; margin: 0; padding: 0; }
.steps li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: var(--space-md); align-items: start; padding: var(--space-lg) 0; border-top: 1px solid color-mix(in oklab, var(--color-light) 7%, transparent); color: var(--color-muted); font-size: 0.9375rem; }
.steps b { display: block; font: 500 1.0625rem/1.4 var(--font-display); color: var(--color-ink); }
.steps__n { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: color-mix(in oklab, var(--color-accent) 16%, transparent); color: var(--color-accent-hi); font: 500 0.875rem/1 var(--font-display); }

.well { display: block; text-decoration: none; color: inherit; }
.well__stage { padding: var(--space-xl) var(--space-xl) 0; align-items: end; }
.shot { margin: 0; width: 100%; border-radius: 12px 12px 0 0; overflow: hidden; background: var(--color-card); box-shadow: 0 0 0 1px color-mix(in oklab, var(--color-shade) 6%, transparent), 0 24px 48px -20px color-mix(in oklab, var(--color-shade) 40%, transparent); transition: transform var(--dur-long) var(--ease-out); }
.shot img { display: block; width: 100%; height: auto; }
.well:hover .shot { transform: translateY(-6px); }
.well__cap { display: block; margin-top: var(--space-md); font-size: 0.9375rem; color: var(--color-muted); }
.well--next .well__stage { place-items: center; padding: var(--space-xl); }
.next { font: 500 clamp(1.5rem, 1vw + 1.1rem, 2rem)/1.15 var(--font-display); letter-spacing: -0.02em; color: var(--color-well-ink); text-align: center; }
.next::after { content: ""; display: block; width: 10px; height: 10px; margin: var(--space-lg) auto 0; border-radius: 50%; background: var(--color-accent-2); box-shadow: 0 0 0 5px color-mix(in oklab, var(--color-accent-2) 22%, transparent); animation: pulse 2.4s var(--ease-in-out) infinite; }

.ideas__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-2xl); align-items: start; }
.ideas { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--color-rule); }
.ideas li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: var(--space-xl); align-items: baseline; padding: var(--space-lg) 0; border-top: 1px solid var(--color-rule); }
.ideas__name { font: 500 clamp(1.25rem, 0.8vw + 1rem, 1.625rem)/1.2 var(--font-display); letter-spacing: -0.015em; }
.ideas__kind { font-size: var(--text-sm); color: var(--color-muted); }
.ideas__state { font-size: var(--text-sm); font-weight: 500; color: var(--color-accent-2); }

.about { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: var(--space-2xl); align-items: center; }
.portrait { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 5; border-radius: var(--radius-card); background: radial-gradient(120% 90% at 30% 0%, var(--color-well), var(--color-well-2)); color: var(--color-well-muted); font-size: var(--text-sm); overflow: hidden; }
.portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.about__text { display: grid; gap: var(--space-md); }
.about .lead { font-size: var(--text-lead); max-width: 30ch; }

@media (max-width: 60rem) {
  .ideas__grid, .about { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); }
  .portrait { max-width: 420px; }
}
@media (max-width: 40rem) {
  .acct { grid-template-columns: 30px minmax(0, 1fr) auto; }
  .acct__bal { display: none; }
  .ideas li { grid-template-columns: 1fr auto; gap: var(--space-sm); }
  .ideas__kind { grid-row: 2; }
  .well__stage { padding: var(--space-lg) var(--space-lg) 0; aspect-ratio: 5 / 4; }
  .hero__acts .btn { flex: 1; }
}
@media (prefers-reduced-motion: reduce) { .next::after { animation: none; } .shot { transition: none; } }

/* v2: panel de portada sin encabezado, servicios como cards, más fluido al scrollear */
.acct { grid-template-columns: minmax(0, 1fr) auto auto; }

.tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-md); }
.tab { padding: var(--space-lg); border: 0; border-radius: var(--radius-card); background: color-mix(in oklab, var(--color-light) 4%, transparent); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--color-light) 8%, transparent); align-content: start; gap: var(--space-xs); transition: background-color var(--dur-short) var(--ease-out), box-shadow var(--dur-short) var(--ease-out), transform var(--dur-short) var(--ease-out); }
.tab:last-child { border-bottom: 0; }
.tab:hover { background: color-mix(in oklab, var(--color-light) 8%, transparent); transform: translateY(-2px); }
.tab::before { left: auto; right: var(--space-lg); top: var(--space-lg); }
.tab__name { font-size: 1.25rem; }
.tab__line { grid-template-rows: 1fr; opacity: 1; max-width: none; margin-top: 0; }
.tab[aria-selected="true"] { background: color-mix(in oklab, var(--color-accent) 10%, transparent); box-shadow: inset 0 0 0 1.5px var(--color-accent); }
.tab[aria-selected="true"] .tab__line { margin-top: 0; }
.tab:focus-visible { border-radius: var(--radius-card); outline-offset: 3px; }
.rules li { justify-content: flex-start; }

/* fluidez: sin desenfoques grandes sobre contenido que se mueve, sin animaciones eternas pesadas */
:root { --glass-blur: 12px; }
.hero__photo { animation: none; }
.nav.is-solid { background: color-mix(in oklab, var(--color-paper) 94%, transparent); -webkit-backdrop-filter: none; backdrop-filter: none; }
.pane { background: var(--color-paper-2); -webkit-backdrop-filter: none; backdrop-filter: none; }
.btn--day { -webkit-backdrop-filter: none; backdrop-filter: none; background: color-mix(in oklab, var(--color-card) 72%, transparent); }
@keyframes pulse { 50% { opacity: 0.4; } }
.run__flag-dot, .next::after { box-shadow: none; }
.hero { contain: paint; }

@media (max-width: 60rem) { .tabs { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 40rem) { .acct { grid-template-columns: minmax(0, 1fr) auto; } }

/* v3: servicios alineados arriba y abajo, presentación */
.tour { padding-top: var(--section-gap); }
.tour__grid { align-items: stretch; margin-top: var(--space-2xl); }
.tour__text { padding-top: 0; align-content: stretch; }
.tabs { margin-top: 0; height: 100%; grid-template-rows: repeat(2, minmax(0, 1fr)); }
.tour__stage { align-items: stretch; }
.pane { min-height: 0; height: 100%; display: flex; flex-direction: column; }
.pane__shot { flex: 1 1 auto; min-height: 0; }
.pane__shot img { height: 100%; object-fit: cover; object-position: top; }
.about__text .lead { max-width: 42ch; }
.about__more { margin: var(--space-md) 0 0; max-width: 42ch; color: var(--color-muted); }
.book h2 { max-width: 16ch; }
@media (max-width: 60rem) { .tour__grid { margin-top: var(--space-xl); } .tabs { height: auto; } .pane { height: auto; } .pane__shot img { height: auto; } }

/* v4: el panel de servicios mantiene siempre el mismo tamaño; la lista de la portada sin estados */
.acct { grid-template-columns: minmax(0, 1fr) auto; }
.tour__stage { height: clamp(26rem, 38vw, 32rem); }
.pane { overflow: hidden; }
.pane__shot { overflow: hidden; }
.steps, .rules { flex: 1 1 auto; }
@media (max-width: 60rem) { .tour__stage { height: 30rem; } .pane { height: 100%; } .pane__shot img { height: 100%; } }

/* v6: botones, cards premium, mantenimiento y tres demos animadas (web, gestión, app en celu y compu) */
.btn { transition: background-color var(--dur-short) var(--ease-out), box-shadow var(--dur-short) var(--ease-out), transform var(--dur-short) var(--ease-out); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.97); }
.btn--day:hover { background: color-mix(in oklab, var(--color-card) 90%, transparent); box-shadow: inset 0 0 0 1px var(--color-light), 0 0 0 4px color-mix(in oklab, var(--color-card) 30%, transparent), 0 8px 24px -8px color-mix(in oklab, var(--color-shade) 45%, transparent); }
.btn--day:active { transform: translateY(0) scale(0.97); }

.tab { gap: var(--space-sm); padding: var(--space-lg); background: linear-gradient(to bottom, color-mix(in oklab, var(--color-light) 7%, transparent), color-mix(in oklab, var(--color-light) 2%, transparent)); box-shadow: inset 0 1px 0 color-mix(in oklab, var(--color-light) 12%, transparent), inset 0 0 0 1px color-mix(in oklab, var(--color-light) 7%, transparent), 0 18px 36px -24px color-mix(in oklab, var(--color-shade) 90%, transparent); }
.tab::before { display: none; }
.tab__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: color-mix(in oklab, var(--color-accent) 14%, transparent); color: var(--color-accent-hi); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--color-accent) 22%, transparent); transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
.tab__icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.tab__name { margin-top: var(--space-xs); }
.tab__go { position: absolute; right: var(--space-lg); top: var(--space-lg); width: 30px; height: 30px; border-radius: 50%; box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--color-light) 14%, transparent); transition: opacity var(--dur-short) var(--ease-out), transform var(--dur-short) var(--ease-out); }
.tab__go::after { content: ""; position: absolute; left: 10px; top: 11px; width: 7px; height: 7px; border-top: 1.5px solid var(--color-ink); border-right: 1.5px solid var(--color-ink); transform: rotate(45deg); }
.js .tab__go { opacity: 0; transform: translateX(-6px); }
.js .tab:hover .tab__go, .js .tab[aria-selected="true"] .tab__go { opacity: 1; transform: none; }
.tab:hover { box-shadow: inset 0 1px 0 color-mix(in oklab, var(--color-light) 18%, transparent), inset 0 0 0 1px color-mix(in oklab, var(--color-light) 14%, transparent), 0 24px 40px -24px color-mix(in oklab, var(--color-shade) 90%, transparent); }
.tab[aria-selected="true"] { background: linear-gradient(to bottom, color-mix(in oklab, var(--color-accent) 18%, transparent), color-mix(in oklab, var(--color-accent) 5%, transparent)); box-shadow: inset 0 1px 0 color-mix(in oklab, var(--color-light) 20%, transparent), inset 0 0 0 1.5px var(--color-accent), 0 0 0 5px color-mix(in oklab, var(--color-accent) 10%, transparent), 0 24px 40px -24px color-mix(in oklab, var(--color-shade) 90%, transparent); }
.tab[aria-selected="true"] .tab__icon { background: var(--color-accent); color: var(--color-accent-ink); box-shadow: none; }

.care { flex: 1 1 auto; min-height: 0; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-md); }
.care li { display: grid; align-content: start; gap: var(--space-xs); padding: var(--space-lg); border-radius: 16px; background: color-mix(in oklab, var(--color-light) 4%, transparent); box-shadow: inset 0 1px 0 color-mix(in oklab, var(--color-light) 10%, transparent), inset 0 0 0 1px color-mix(in oklab, var(--color-light) 7%, transparent); color: var(--color-muted); font-size: 0.9375rem; }
.care b { font: 500 1.0625rem/1.3 var(--font-display); color: var(--color-ink); }
.care__icon { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: var(--space-xs); border-radius: 12px; background: color-mix(in oklab, var(--color-accent-2) 14%, transparent); color: var(--color-accent-2); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--color-accent-2) 25%, transparent); }
.care__icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* demos animadas: todo en em, escala con el ancho del panel; solo se reproducen cuando el panel está a la vista */
:root {
  --ios-white: oklch(98% 0.005 90); --ios-black: oklch(18% 0.01 270); --ios-gray: oklch(70% 0.01 260); --ios-gray-dark: oklch(40% 0.01 260);
  --ios-red: oklch(62% 0.22 25); --ios-orange: oklch(76% 0.17 60); --ios-yellow: oklch(88% 0.17 95); --ios-green: oklch(72% 0.2 150); --ios-green-soft: oklch(88% 0.08 150);
  --ios-teal: oklch(76% 0.12 200); --ios-blue: oklch(62% 0.2 255); --ios-purple: oklch(60% 0.22 305); --ios-pink: oklch(66% 0.22 12);
}
@property --n { syntax: "<integer>"; inherits: true; initial-value: 0; }
@property --p { syntax: "<number>"; inherits: true; initial-value: 0; }
@property --q { syntax: "<number>"; inherits: true; initial-value: 0; }

.pane { container-type: inline-size; }
.pane--demo { padding: var(--space-md); }
.mock { position: relative; flex: 1 1 auto; min-height: 0; width: 100%; font-size: 2.05cqw; line-height: 1.3; }
.mock[data-slot] { background: none; overflow: visible; outline: 0; }
.mock i { font-style: normal; }
:where(.mock) :where(p, ul) { margin: 0; padding: 0; list-style: none; }
.mock svg { display: block; }
.wcursor { position: absolute; left: 0; top: 0; z-index: 9; width: 1.3em; height: 1.5em; background: var(--color-accent-2); clip-path: polygon(0 0, 0 100%, 28% 76%, 48% 100%, 62% 92%, 42% 68%, 80% 68%); transform: translate(40em, 30em); filter: drop-shadow(0 0 0.06em var(--color-shade)) drop-shadow(0 0.15em 0.2em color-mix(in oklab, var(--color-shade) 60%, transparent)); }
.wcursor::after { content: ""; position: absolute; left: -0.6em; top: -0.6em; width: 1.9em; height: 1.9em; border-radius: 50%; background: var(--color-accent-2); opacity: 0; clip-path: none; }
.wmouse { position: absolute; left: 0; top: 0; z-index: 9; transform: translate(41em, 31em); pointer-events: none; }
.wmouse .wcursor { position: relative; display: block; background: var(--color-well-ink); transform: none; animation: none; filter: drop-shadow(0 0 0.07em var(--color-light)) drop-shadow(0 0 0.07em var(--color-light)) drop-shadow(0 0.15em 0.2em color-mix(in oklab, var(--color-shade) 50%, transparent)); }
.wmouse .wcursor::after { display: none; }
.wmouse::after { content: ""; position: absolute; left: -0.8em; top: -0.8em; width: 2.4em; height: 2.4em; border-radius: 50%; box-shadow: 0 0 0 0.14em var(--color-accent-deep); opacity: 0; }

.wscreen { position: absolute; inset: 0; overflow: hidden; border-radius: 1em; background: var(--color-well); color: var(--color-well-ink); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--color-light) 10%, transparent); animation: wfade 14s linear infinite; }
@keyframes wfade { 0% { opacity: 0; } 3% { opacity: 1; } 94% { opacity: 1; } 100% { opacity: 0; } }

/* 1. Lumen: una página que se enciende con el mouse */
.lx { position: absolute; inset: 0 0 auto; animation: lxscroll 14s var(--ease-in-out) infinite; }
.lxbar { display: flex; align-items: center; gap: 1.8em; box-sizing: border-box; height: 3.2em; padding: 0 2.4em; box-shadow: inset 0 -1px 0 color-mix(in oklab, var(--color-well-ink) 10%, transparent); }
.lxbar b { margin-right: auto; font: 600 1.15em/1 var(--font-display); letter-spacing: -0.03em; }
.lxbar span { font-size: 0.8em; color: var(--color-well-muted); }
.lxbar i { padding: 0.55em 1.2em; border-radius: var(--radius-pill); background: var(--color-well-ink); color: var(--color-well); font-size: 0.75em; font-weight: 600; }
.lxhero { position: relative; height: 27em; overflow: hidden; padding: 2.6em 2.4em 0; }
.lxhero::before { content: ""; position: absolute; inset: 0 2.4em; pointer-events: none; background: repeating-linear-gradient(90deg, color-mix(in oklab, var(--color-well-ink) 7%, transparent) 0 1px, transparent 1px calc(100% / 6)); }
.lxglow { position: absolute; inset: 0; background: radial-gradient(45% 65% at 78% 52%, color-mix(in oklab, var(--color-accent-2) 42%, transparent), transparent 75%); opacity: 0; }
.lxtag { position: relative; display: inline-flex; align-items: center; gap: 0.55em; padding: 0.4em 1em; border-radius: var(--radius-pill); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--color-well-ink) 22%, transparent); font-size: 0.75em; }
.lxtag::before { content: ""; width: 0.55em; height: 0.55em; border-radius: 50%; background: var(--color-accent-deep); }
.lxh { position: relative; z-index: 2; margin: 1em 0 0; font: 500 4.6em/0.92 var(--font-display); letter-spacing: -0.045em; }
.lxh > span { display: block; overflow: hidden; padding-bottom: 0.06em; }
.lxh i { display: block; }
.lxp { position: relative; max-width: 22ch; margin-top: 1.1em; font-size: 0.9em; color: var(--color-well-muted); }
.lxbtns { position: relative; display: flex; gap: 0.7em; margin-top: 1.3em; }
.lxpill { padding: 0.8em 1.4em; border-radius: var(--radius-pill); background: var(--color-well-ink); color: var(--color-well); font: 600 0.8em/1 var(--font-body); }
.lxpill--o { background: transparent; color: var(--color-well-ink); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--color-well-ink) 30%, transparent); }
.lxpill--l { background: var(--color-well); color: var(--color-well-ink); }
.lamp { position: absolute; left: 33em; top: 0; width: 9em; height: 24em; transform-origin: 50% 0; }
.lamp__cord { position: absolute; left: 50%; top: 0; width: 0.12em; height: 9em; background: var(--color-well-ink); }
.lamp__shade { position: absolute; left: 50%; top: 9em; width: 7em; height: 3.6em; margin-left: -3.5em; border-radius: 3.5em 3.5em 0.5em 0.5em; background: linear-gradient(96deg, color-mix(in oklab, var(--color-well-ink) 78%, var(--color-light)) 0, color-mix(in oklab, var(--color-well-ink) 50%, var(--color-light)) 22%, var(--color-well-ink) 48%, color-mix(in oklab, var(--color-well-ink) 86%, var(--color-light)) 100%); box-shadow: inset 0 0.5em 0.8em color-mix(in oklab, var(--color-light) 20%, transparent); }
.lamp__bulb { position: absolute; left: 50%; top: 12.6em; width: 2.4em; height: 1.2em; margin-left: -1.2em; border-radius: 0 0 1.2em 1.2em; background: var(--color-well-muted); }
.lamp__beam { position: absolute; left: 50%; top: 13.8em; width: 18em; height: 13em; margin-left: -9em; clip-path: polygon(38% 0, 62% 0, 100% 100%, 0 100%); background: linear-gradient(to bottom, color-mix(in oklab, var(--color-accent-2) 70%, transparent), transparent); opacity: 0; }
.lxmq { position: relative; display: flex; align-items: center; height: 3em; overflow: hidden; background: var(--color-well-ink); color: var(--color-well); font: 500 1.05em/1 var(--font-display); letter-spacing: -0.01em; }
.lxmq div { display: flex; flex: none; align-items: center; gap: 1.8em; padding-left: 1.8em; white-space: nowrap; }
.lxmq i { width: 0.45em; height: 0.45em; border-radius: 50%; background: var(--color-accent-2); }
.lxcol { padding: 2.4em 2.4em 1.2em; }
.lxcol__head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 1em; }
.lxcol__head p { font: 500 2.1em/1 var(--font-display); letter-spacing: -0.035em; }
.lxcol__head small { font-size: 0.8em; color: var(--color-well-muted); }
.lxcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4em; }
.lxcard { display: grid; gap: 0.2em; }
.lxcard b { margin-top: 0.7em; font: 500 1.1em/1.1 var(--font-display); }
.lxcard small { font-size: 0.8em; color: var(--color-well-muted); }
.lxband { display: flex; align-items: center; justify-content: space-between; margin: 1.2em 2.4em 2.4em; padding: 2em; border-radius: 1.4em; background: var(--color-well-ink); color: var(--color-well); font: 500 1.7em/1.05 var(--font-display); letter-spacing: -0.03em; }
.lxband .lxpill { font-size: 0.5em; }
.lxchip { position: absolute; left: 1.4em; top: 1em; padding: 0.55em 1.1em; border-radius: var(--radius-pill); background: var(--color-well-ink); color: var(--color-well); font: 600 0.8em/1 var(--font-body); white-space: nowrap; opacity: 0; box-shadow: 0 0 0 0.12em var(--color-light); }

/* las tres piezas, con luz, vidrio y metal */
.lxpic { position: relative; height: 10.5em; overflow: hidden; border-radius: 1em; background: radial-gradient(90% 80% at 50% 28%, color-mix(in oklab, var(--color-well-ink) 84%, var(--color-accent-2)), var(--color-well-ink) 78%); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--color-light) 8%, transparent), inset 0 -1.6em 2em -1em color-mix(in oklab, var(--color-shade) 80%, transparent); }
.lxpic i { position: absolute; display: block; }
.lxpic .h, .lxpic .l { opacity: 0; }
.lxpic--a .o { left: 50%; top: 0; width: 0.1em; height: 3.7em; margin-left: -0.05em; background: linear-gradient(to bottom, color-mix(in oklab, var(--color-light) 30%, var(--color-well-ink)), color-mix(in oklab, var(--color-light) 62%, var(--color-well-ink))); }
.lxpic--a .o::before { content: ""; position: absolute; left: 50%; top: 3.2em; width: 1.2em; height: 0.8em; margin-left: -0.6em; border-radius: 0.3em; background: linear-gradient(90deg, color-mix(in oklab, var(--color-accent-2) 40%, var(--color-well-ink)), color-mix(in oklab, var(--color-accent-2) 90%, var(--color-light)) 40%, color-mix(in oklab, var(--color-accent-2) 40%, var(--color-well-ink))); }
.lxpic--a .o::after { content: ""; position: absolute; left: 50%; top: 3.9em; width: 5.4em; height: 5.4em; margin-left: -2.7em; border-radius: 50%; background: radial-gradient(circle at 33% 27%, color-mix(in oklab, var(--color-light) 70%, transparent) 0 5%, transparent 20%), radial-gradient(circle at 50% 54%, color-mix(in oklab, var(--color-light) 20%, var(--color-well-ink)) 0, color-mix(in oklab, var(--color-light) 8%, var(--color-well-ink)) 70%, color-mix(in oklab, var(--color-light) 26%, var(--color-well-ink)) 100%); box-shadow: inset -0.5em -0.7em 1.1em color-mix(in oklab, var(--color-shade) 65%, transparent), inset 0.3em 0.4em 0.7em color-mix(in oklab, var(--color-light) 14%, transparent); }
.lxpic--a .l { left: 50%; top: 3.9em; width: 5.4em; height: 5.4em; margin-left: -2.7em; border-radius: 50%; background: radial-gradient(circle at 36% 30%, color-mix(in oklab, var(--color-light) 92%, var(--color-accent-2)) 0 9%, transparent 34%), radial-gradient(circle at 50% 54%, color-mix(in oklab, var(--color-accent-2) 70%, var(--color-light)) 0, var(--color-accent-2) 52%, color-mix(in oklab, var(--color-accent-2) 60%, var(--color-well-ink)) 100%); box-shadow: 0 0 1.6em 0.3em color-mix(in oklab, var(--color-accent-2) 65%, transparent); }
.lxpic--a .h { inset: 0; background: radial-gradient(circle at 50% 62%, color-mix(in oklab, var(--color-accent-2) 46%, transparent) 0, color-mix(in oklab, var(--color-accent-2) 16%, transparent) 38%, transparent 70%); }
.lxpic--b { background: linear-gradient(to bottom, color-mix(in oklab, var(--color-well-ink) 88%, var(--color-light)), var(--color-well-ink)); }
.lxpic--b .o { left: 50%; top: 3.2em; width: 6.4em; height: 3.4em; margin-left: -3.2em; border-radius: 3.2em 3.2em 0.35em 0.35em; background: linear-gradient(95deg, color-mix(in oklab, var(--color-well-ink) 66%, var(--color-light)) 0, color-mix(in oklab, var(--color-light) 62%, var(--color-well-ink)) 24%, color-mix(in oklab, var(--color-light) 22%, var(--color-well-ink)) 52%, color-mix(in oklab, var(--color-well-ink) 82%, var(--color-light)) 100%); box-shadow: inset 0 0.25em 0.45em color-mix(in oklab, var(--color-light) 32%, transparent), 0 1em 1.4em -0.6em color-mix(in oklab, var(--color-shade) 80%, transparent); }
.lxpic--b .o::after { content: ""; position: absolute; left: 6%; bottom: 0; width: 88%; height: 0.35em; background: color-mix(in oklab, var(--color-light) 28%, var(--color-well-ink)); }
.lxpic--b .l { left: 50%; top: 6.5em; width: 5.2em; height: 0.8em; margin-left: -2.6em; border-radius: 0 0 50% 50%; background: color-mix(in oklab, var(--color-accent-2) 55%, var(--color-light)); box-shadow: 0 0.3em 1.3em 0.4em color-mix(in oklab, var(--color-accent-2) 70%, transparent); }
.lxpic--b .h { inset: 0; background: radial-gradient(ellipse 58% 52% at 50% 76%, color-mix(in oklab, var(--color-accent-2) 46%, transparent), transparent 72%), radial-gradient(ellipse 40% 30% at 50% 26%, color-mix(in oklab, var(--color-accent-2) 28%, transparent), transparent 75%); }
.lxpic--c::before { content: ""; position: absolute; left: 50%; bottom: 0.7em; width: 4.4em; height: 0.8em; margin-left: -2.2em; border-radius: 50%; background: radial-gradient(ellipse at 50% 30%, color-mix(in oklab, var(--color-light) 46%, var(--color-well-ink)), color-mix(in oklab, var(--color-light) 10%, var(--color-well-ink))); box-shadow: 0 0.3em 0.6em color-mix(in oklab, var(--color-shade) 70%, transparent); }
.lxpic--c .o { left: 50%; top: 1em; width: 2.8em; height: 8.4em; margin-left: -1.4em; }
.lxpic--c .o::before { content: ""; position: absolute; left: 50%; top: 2.2em; width: 0.4em; height: 6em; margin-left: -0.2em; background: linear-gradient(90deg, color-mix(in oklab, var(--color-well-ink) 60%, var(--color-light)), color-mix(in oklab, var(--color-light) 62%, var(--color-well-ink)) 45%, color-mix(in oklab, var(--color-well-ink) 70%, var(--color-light))); }
.lxpic--c .o::after { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 2.5em; border-radius: 0.6em 0.6em 1em 1em; background: linear-gradient(95deg, color-mix(in oklab, var(--color-well-ink) 66%, var(--color-light)) 0, color-mix(in oklab, var(--color-light) 56%, var(--color-well-ink)) 26%, color-mix(in oklab, var(--color-light) 18%, var(--color-well-ink)) 55%, color-mix(in oklab, var(--color-well-ink) 84%, var(--color-light)) 100%); box-shadow: inset 0 0.2em 0.4em color-mix(in oklab, var(--color-light) 30%, transparent); }
.lxpic--c .l { left: 50%; top: 3em; width: 2.1em; height: 0.55em; margin-left: -1.05em; border-radius: 0 0 50% 50%; background: color-mix(in oklab, var(--color-accent-2) 50%, var(--color-light)); box-shadow: 0 0.3em 1.2em 0.4em color-mix(in oklab, var(--color-accent-2) 72%, transparent); }
.lxpic--c .h { inset: 0; background: radial-gradient(circle at 50% 36%, color-mix(in oklab, var(--color-accent-2) 42%, transparent) 0, color-mix(in oklab, var(--color-accent-2) 14%, transparent) 36%, transparent 66%), radial-gradient(ellipse 46% 13% at 50% 91%, color-mix(in oklab, var(--color-accent-2) 40%, transparent), transparent 80%); }

.lx { animation: lxscroll 14s var(--ease-in-out) infinite; }
.lxh .l1 { animation: lxl1 14s var(--ease-out) infinite; }
.lxh .l2 { animation: lxl2 14s var(--ease-out) infinite; }
.lamp { animation: lxsway 7s var(--ease-in-out) infinite alternate; }
.lamp__beam, .lxglow { animation: lxon 14s var(--ease-out) infinite; }
.lamp__bulb { animation: lxbulb 14s var(--ease-out) infinite; }
.lxmq div { animation: lxmq 10s linear infinite; }
.lxmouse { animation: lxmouse 14s var(--ease-in-out) infinite; }
.lxmouse::after { animation: lxring 14s var(--ease-out) infinite; }
.lxchip--a { animation: lxchipa 14s var(--ease-out) infinite; }
.lxchip--b { animation: lxchipb 14s var(--ease-out) infinite; }
.lxcard--a .h, .lxcard--a .l { animation: lxpa 14s var(--ease-in-out) infinite; }
.lxcard--b .h, .lxcard--b .l { animation: lxpb 14s var(--ease-in-out) infinite; }
.lxcard--c .h, .lxcard--c .l { animation: lxpc 14s var(--ease-in-out) infinite; }
.lxcard--a { animation: lxlifta 14s var(--ease-out) infinite; }
.lxcard--b { animation: lxliftb 14s var(--ease-out) infinite; }
.lxcard--c { animation: lxliftc 14s var(--ease-out) infinite; }
@keyframes lxscroll { 0%, 30% { transform: none; } 48%, 76% { transform: translateY(-24em); } 90%, 100% { transform: none; } }
@keyframes lxl1 { 0% { transform: translateY(105%); } 8%, 100% { transform: none; } }
@keyframes lxl2 { 0%, 2% { transform: translateY(105%); } 10%, 100% { transform: none; } }
@keyframes lxsway { from { transform: rotate(-2.4deg); } to { transform: rotate(2.4deg); } }
@keyframes lxon { 0%, 24% { opacity: 0; } 30%, 84% { opacity: 1; } 91%, 100% { opacity: 0; } }
@keyframes lxbulb { 0%, 18% { background-color: var(--color-well-muted); } 22% { background-color: color-mix(in oklab, var(--color-accent-2) 35%, var(--color-well-muted)); } 28%, 84% { background-color: var(--color-accent-2); } 91%, 100% { background-color: var(--color-well-muted); } }
@keyframes lxmq { to { transform: translateX(-50%); } }
@keyframes lxmouse { 0%, 8% { transform: translate(41em, 31em); } 20%, 30% { transform: translate(37.2em, 16.2em); } 47%, 52% { transform: translate(9.4em, 19.5em); } 56%, 60% { transform: translate(24.2em, 19.5em); } 64%, 70% { transform: translate(39.2em, 19.5em); } 86%, 100% { transform: translate(41em, 31em); } }
@keyframes lxring { 0%, 24% { opacity: 0; transform: scale(0.3); } 26% { opacity: 0.9; transform: scale(0.5); } 32%, 100% { opacity: 0; transform: scale(2); } }
@keyframes lxchipa { 0%, 15% { opacity: 0; transform: translateY(0.4em) scale(0.85); } 19%, 29% { opacity: 1; transform: none; } 32%, 100% { opacity: 0; transform: scale(0.9); } }
@keyframes lxchipb { 0%, 48% { opacity: 0; transform: translateY(0.4em) scale(0.85); } 52%, 69% { opacity: 1; transform: none; } 72%, 100% { opacity: 0; transform: scale(0.9); } }
@keyframes lxpa { 0%, 49% { opacity: 0; } 55%, 66% { opacity: 1; } 76%, 100% { opacity: 0; } }
@keyframes lxpb { 0%, 55% { opacity: 0; } 61%, 70% { opacity: 1; } 80%, 100% { opacity: 0; } }
@keyframes lxpc { 0%, 61% { opacity: 0; } 67%, 74% { opacity: 1; } 84%, 100% { opacity: 0; } }
@keyframes lxlifta { 0%, 49% { transform: none; } 54%, 68% { transform: translateY(-0.4em); } 76%, 100% { transform: none; } }
@keyframes lxliftb { 0%, 55% { transform: none; } 60%, 72% { transform: translateY(-0.4em); } 80%, 100% { transform: none; } }
@keyframes lxliftc { 0%, 61% { transform: none; } 66%, 74% { transform: translateY(-0.4em); } 84%, 100% { transform: none; } }

/* 2. Nodo: sistema de gestión, tres pantallas */
.sscreen { position: absolute; inset: 0; display: grid; grid-template-columns: 4.6em minmax(0, 1fr); overflow: hidden; border-radius: 1em; background: radial-gradient(70% 60% at 85% 0%, color-mix(in oklab, var(--color-accent) 14%, transparent), transparent 70%), var(--color-paper); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--color-light) 10%, transparent); animation: wfade 18s linear infinite; }
.rail { position: relative; display: grid; justify-items: center; align-content: start; padding: 1.1em 0; background: color-mix(in oklab, var(--color-paper-2) 80%, transparent); box-shadow: inset -1px 0 0 color-mix(in oklab, var(--color-light) 8%, transparent); }
.rail__logo { width: 2em; height: 2em; margin-bottom: 1.5em; border-radius: 0.7em; background: var(--color-accent); box-shadow: inset 0 0 0 0.45em var(--color-accent), inset 0 0 0 0.62em var(--color-accent-ink); }
.rail__nav { position: relative; display: grid; gap: 0.4em; }
.rail__nav i { position: relative; z-index: 1; display: grid; place-items: center; width: 3.2em; height: 3.2em; color: var(--color-muted); }
.rail__nav svg, .ssearch svg, .sbell svg { width: 1.45em; height: 1.45em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.rail__hl { position: absolute; left: 0; top: 0; z-index: 0; width: 3.2em; height: 3.2em; border-radius: 1em; background: color-mix(in oklab, var(--color-accent) 22%, transparent); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--color-accent) 50%, transparent), 0 0.6em 1.2em -0.5em color-mix(in oklab, var(--color-accent) 60%, transparent); }
.rail__av { position: absolute; bottom: 1.1em; display: grid; place-items: center; width: 2.2em; height: 2.2em; border-radius: 50%; background: var(--color-accent-2); color: var(--color-accent-ink); font: 600 0.85em/1 var(--font-body); }
.smain { position: relative; min-width: 0; }
.stop { display: flex; align-items: center; gap: 0.8em; padding: 1.1em 1.6em 0; }
.shi { margin-right: auto; }
.shi p { font: 500 1.5em/1.1 var(--font-display); letter-spacing: -0.025em; }
.shi small { font-size: 0.8em; color: var(--color-muted); }
.ssearch { display: inline-flex; align-items: center; gap: 0.5em; padding: 0.6em 1.1em 0.6em 0.8em; border-radius: var(--radius-pill); background: color-mix(in oklab, var(--color-light) 6%, transparent); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--color-light) 9%, transparent); font-size: 0.8em; color: var(--color-muted); }
.ssearch svg { width: 1.2em; height: 1.2em; }
.sbell { position: relative; display: grid; place-items: center; width: 2.3em; height: 2.3em; border-radius: 50%; box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--color-light) 14%, transparent); color: var(--color-ink-2); }
.sbell svg { width: 1.2em; height: 1.2em; }
.sbell i { position: absolute; right: 0.35em; top: 0.35em; width: 0.55em; height: 0.55em; border-radius: 50%; background: var(--color-accent-2); }
.sviews { position: absolute; inset: 5.2em 1.6em 1.2em; }
.sview { position: absolute; inset: 0; display: grid; align-content: start; gap: 1em; }
.sview--a { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); grid-template-rows: auto auto auto; }
.rev { grid-row: 1 / 3; position: relative; display: grid; align-content: start; gap: 0.3em; overflow: hidden; padding: 1.2em 1.3em; border-radius: 1.2em; background: linear-gradient(150deg, color-mix(in oklab, var(--color-accent-deep) 80%, transparent), color-mix(in oklab, var(--color-accent) 32%, var(--color-paper-2))); box-shadow: inset 0 1px 0 color-mix(in oklab, var(--color-light) 25%, transparent), inset 0 0 0 1px color-mix(in oklab, var(--color-light) 12%, transparent), 0 1.6em 2.4em -1.4em color-mix(in oklab, var(--color-shade) 90%, transparent); }
.rev__top { display: flex; align-items: center; justify-content: space-between; }
.rev small { font-size: 0.8em; color: color-mix(in oklab, var(--color-light) 78%, transparent); }
.delta { padding: 0.25em 0.8em; border-radius: var(--radius-pill); background: color-mix(in oklab, var(--color-light) 18%, transparent); font-size: 0.75em; font-weight: 600; }
.rev b { font: 500 3.3em/1 var(--font-display); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.rev__chart { width: 100%; height: 6.2em; margin-top: 0.4em; overflow: visible; }
.rev__area { fill: color-mix(in oklab, var(--color-light) 14%, transparent); }
.rev__line { fill: none; stroke: var(--color-light); stroke-width: 2.2; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 0; }
.kc { position: relative; display: grid; align-content: start; gap: 0.3em; padding: 1em 1.1em; border-radius: 1.1em; background: linear-gradient(to bottom, color-mix(in oklab, var(--color-light) 7%, transparent), color-mix(in oklab, var(--color-light) 3%, transparent)); box-shadow: inset 0 1px 0 color-mix(in oklab, var(--color-light) 12%, transparent), inset 0 0 0 1px color-mix(in oklab, var(--color-light) 7%, transparent); }
.kc small { font-size: 0.78em; color: var(--color-muted); }
.kc b { font: 500 2.1em/1 var(--font-display); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.cnt::before { counter-reset: v var(--n); content: counter(v); }
.cnt--c::before { content: "$ " counter(v) " mil"; }
.spark { position: absolute; right: 1em; bottom: 1em; display: flex; align-items: flex-end; gap: 0.22em; height: 2em; }
.spark i { width: 0.32em; height: var(--h); border-radius: 0.2em; background: color-mix(in oklab, var(--color-accent) 75%, transparent); transform-origin: bottom; }
.stack { position: absolute; right: 1em; bottom: 1em; display: flex; }
.stack i { display: grid; place-items: center; width: 1.9em; height: 1.9em; margin-left: -0.5em; border-radius: 50%; background: var(--c); color: var(--color-accent-ink); font: 600 0.72em/1 var(--font-body); box-shadow: 0 0 0 0.16em var(--color-paper); }
.nxt { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.8em; }
.nxt li { display: grid; grid-template-columns: 2.4em minmax(0, 1fr) auto; align-items: center; gap: 0.7em; padding: 0.8em 0.9em; border-radius: 1em; background: color-mix(in oklab, var(--color-light) 5%, transparent); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--color-light) 7%, transparent); font-size: 0.9em; }
.nxt b { display: block; font-weight: 600; }
.nxt small { color: var(--color-muted); font-size: 0.85em; }
.tm { padding: 0.3em 0.7em; border-radius: var(--radius-pill); background: color-mix(in oklab, var(--color-accent) 18%, transparent); color: var(--color-accent-hi); font-size: 0.8em; font-variant-numeric: tabular-nums; }
.tm--w { background: color-mix(in oklab, var(--color-accent-2) 18%, transparent); color: var(--color-accent-2); }
.av { display: grid; place-items: center; width: 2.4em; height: 2.4em; border-radius: 50%; background: var(--c); color: var(--color-accent-ink); font: 600 0.85em/1 var(--font-body); }
.av--l { width: 3.6em; height: 3.6em; font-size: 1.2em; margin-bottom: 0.4em; }
.shead { display: flex; align-items: center; justify-content: space-between; }
.shead p { font: 500 1.4em/1.1 var(--font-display); letter-spacing: -0.02em; }
.shead small { font-size: 0.8em; color: var(--color-muted); }
.pills { display: flex; gap: 0.4em; }
.pills i { padding: 0.35em 0.9em; border-radius: var(--radius-pill); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--color-light) 14%, transparent); font-size: 0.78em; color: var(--color-muted); }
.pills i.is-on { background: var(--color-ink); color: var(--color-paper); box-shadow: none; font-weight: 600; }
.cgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.8em; }
.ccard { display: grid; justify-items: start; gap: 0.15em; padding: 1.1em; border-radius: 1.1em; background: linear-gradient(to bottom, color-mix(in oklab, var(--color-light) 7%, transparent), color-mix(in oklab, var(--color-light) 3%, transparent)); box-shadow: inset 0 1px 0 color-mix(in oklab, var(--color-light) 12%, transparent), inset 0 0 0 1px color-mix(in oklab, var(--color-light) 7%, transparent); }
.ccard b { margin-top: 0.5em; font-size: 0.95em; }
.ccard small { color: var(--color-muted); font-size: 0.8em; }
.ccard .chip { margin-top: 0.6em; }
.chip { padding: 0.25em 0.8em; border-radius: var(--radius-pill); background: color-mix(in oklab, var(--color-accent-2) 18%, transparent); color: var(--color-accent-2); font-size: 0.75em; font-weight: 600; }
.chip.is-ok { background: color-mix(in oklab, var(--color-accent) 18%, transparent); color: var(--color-accent-hi); }
.sdetail { position: absolute; right: 0; top: 3.4em; z-index: 3; width: 14.5em; display: grid; gap: 0.15em; padding: 1.2em; border-radius: 1.2em; background: var(--color-paper-3); box-shadow: inset 0 1px 0 color-mix(in oklab, var(--color-light) 14%, transparent), inset 0 0 0 1px color-mix(in oklab, var(--color-light) 9%, transparent), 0 2em 3em -1.4em color-mix(in oklab, var(--color-shade) 95%, transparent); font-size: 0.9em; }
.sdetail small, .sdetail p { color: var(--color-muted); font-size: 0.85em; }
.sdetail p { margin-top: 0.7em; }
.schip { margin-top: 1em; padding: 0.75em 1em; border-radius: var(--radius-pill); background: var(--color-accent); color: var(--color-accent-ink); font: 600 0.8em/1 var(--font-body); text-align: center; }
.fin { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 1em; }
.chart { position: relative; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); align-items: end; gap: 0.6em; height: 11em; padding: 1em; border-radius: 1.1em; background: linear-gradient(to bottom, color-mix(in oklab, var(--color-light) 6%, transparent), color-mix(in oklab, var(--color-light) 2%, transparent)); box-shadow: inset 0 1px 0 color-mix(in oklab, var(--color-light) 10%, transparent), inset 0 0 0 1px color-mix(in oklab, var(--color-light) 6%, transparent); }
.bar { height: var(--h); border-radius: 0.5em 0.5em 0.2em 0.2em; background: color-mix(in oklab, var(--color-accent) 55%, transparent); transform-origin: bottom; }
.bar--hi { background: var(--color-accent-hi); box-shadow: 0 0 1.2em color-mix(in oklab, var(--color-accent-hi) 50%, transparent); }
.stip { position: absolute; left: 50%; top: 0.7em; padding: 0.4em 0.8em; border-radius: 0.6em; background: var(--color-ink); color: var(--color-day-ink); font: 600 0.8em/1 var(--font-body); }
.panel { display: grid; justify-items: center; align-content: center; gap: 0.8em; padding: 0.9em; border-radius: 1.1em; background: color-mix(in oklab, var(--color-light) 4%, transparent); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--color-light) 6%, transparent); }
.donut { width: 6.2em; aspect-ratio: 1; border-radius: 50%; background: conic-gradient(var(--color-accent) calc(var(--p) * 1%), var(--color-accent-2) 0 calc((var(--p) + var(--q)) * 1%), color-mix(in oklab, var(--color-light) 10%, transparent) 0); -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 0.95em), var(--color-ink) calc(100% - 0.95em + 1px)); mask: radial-gradient(farthest-side, transparent calc(100% - 0.95em), var(--color-ink) calc(100% - 0.95em + 1px)); }
.legend { display: grid; gap: 0.25em; font-size: 0.78em; color: var(--color-ink-2); }
.legend li { display: flex; align-items: center; gap: 0.5em; }
.legend i { width: 0.6em; height: 0.6em; border-radius: 50%; background: var(--color-accent); }
.legend li:nth-child(2) i { background: var(--color-accent-2); }
.legend li:nth-child(3) i { background: color-mix(in oklab, var(--color-light) 30%, transparent); }
.srows li { display: grid; grid-template-columns: minmax(0, 1fr) auto 7.4em; align-items: center; gap: 0.8em; padding: 0.7em 0; border-top: 1px solid color-mix(in oklab, var(--color-light) 7%, transparent); font-size: 0.9em; }
.srows li small { color: var(--color-muted); }
.srows li span { text-align: right; color: var(--color-ink-2); font-variant-numeric: tabular-nums; }
.srows li span.is-in { color: var(--color-accent-hi); }
.stoast { position: absolute; right: 1.6em; top: 4.6em; z-index: 6; display: flex; align-items: center; gap: 0.7em; padding: 0.75em 1.1em; border-radius: 1em; background: var(--color-paper-3); box-shadow: inset 0 1px 0 color-mix(in oklab, var(--color-light) 14%, transparent), inset 0 0 0 1px color-mix(in oklab, var(--color-light) 10%, transparent), 0 1.6em 2.4em -1em color-mix(in oklab, var(--color-shade) 95%, transparent); font-size: 0.8em; color: var(--color-muted); opacity: 0; }
.stoast i { width: 1.3em; height: 1.3em; border-radius: 50%; background: var(--color-accent); }
.stoast b { display: block; color: var(--color-ink); font-weight: 600; }

.rail__hl { animation: shl 18s var(--ease-out) infinite; }
.sview--a { animation: sva 18s var(--ease-out) infinite; }
.sview--b { animation: svb 18s var(--ease-out) infinite; }
.sview--c { animation: svc 18s var(--ease-out) infinite; }
.cnt--a { animation: sc1 18s var(--ease-out) infinite; }
.cnt--b { animation: sc2 18s var(--ease-out) infinite; }
.cnt--c { animation: sc3 18s var(--ease-out) infinite; }
.rev__line { animation: sline 18s var(--ease-in-out) infinite; }
.rev__area { animation: sarea 18s var(--ease-out) infinite; }
.spark i { animation: sspark 18s var(--ease-out) infinite; }
.nxt li { animation: srowa 18s var(--ease-out) infinite; }
.nxt li:nth-child(2) { animation-delay: 120ms; }
.nxt li:nth-child(3) { animation-delay: 240ms; }
.ccard { animation: srowb 18s var(--ease-out) infinite; }
.ccard:nth-child(2) { animation-name: srowb, spick; animation-delay: 70ms; }
.ccard:nth-child(3) { animation-delay: 140ms; }
.ccard:nth-child(4) { animation-delay: 210ms; }
.ccard:nth-child(5) { animation-delay: 280ms; }
.ccard:nth-child(6) { animation-delay: 350ms; }
.sdetail { animation: sdet 18s var(--ease-out) infinite; }
.bar { animation: sbar 18s var(--ease-out) infinite; animation-delay: calc(var(--i) * 40ms); }
.donut { animation: sd 18s var(--ease-out) infinite; }
.stip { animation: stip 18s var(--ease-out) infinite; }
.stoast { animation: stoast 18s var(--ease-out) infinite; }
.sbell i { animation: pulse 2.4s var(--ease-in-out) infinite; }
.scursor { animation: scur 18s var(--ease-in-out) infinite; }
.scursor::after { animation: sripple 18s var(--ease-out) infinite; }
@keyframes shl { 0%, 26% { transform: none; } 30%, 58% { transform: translateY(7.2em); } 62%, 90% { transform: translateY(10.8em); } 94%, 100% { transform: none; } }
@keyframes sva { 0%, 27% { opacity: 1; transform: none; } 31%, 90% { opacity: 0; transform: translateY(0.6em); } 94%, 100% { opacity: 1; transform: none; } }
@keyframes svb { 0%, 29% { opacity: 0; transform: translateY(0.6em); } 33%, 56% { opacity: 1; transform: none; } 60%, 100% { opacity: 0; transform: translateY(0.6em); } }
@keyframes svc { 0%, 61% { opacity: 0; transform: translateY(0.6em); } 65%, 88% { opacity: 1; transform: none; } 92%, 100% { opacity: 0; transform: translateY(0.6em); } }
@keyframes sc1 { 0%, 3% { --n: 0; } 12%, 93% { --n: 12; } 94% { --n: 0; } 100% { --n: 6; } }
@keyframes sc2 { 0%, 3% { --n: 0; } 12%, 93% { --n: 4; } 94% { --n: 0; } 100% { --n: 2; } }
@keyframes sc3 { 0%, 3% { --n: 0; } 15%, 93% { --n: 428; } 94% { --n: 0; } 100% { --n: 180; } }
@keyframes sline { 0%, 4% { stroke-dashoffset: 1; } 18%, 93% { stroke-dashoffset: 0; } 94%, 100% { stroke-dashoffset: 1; } }
@keyframes sarea { 0%, 8% { opacity: 0; } 20%, 93% { opacity: 1; } 94%, 100% { opacity: 0; } }
@keyframes sspark { 0%, 4% { transform: scaleY(0); } 12%, 93% { transform: scaleY(1); } 94%, 100% { transform: scaleY(0); } }
@keyframes srowa { 0%, 8% { opacity: 0; transform: translateY(0.6em); } 16%, 93% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; } }
@keyframes srowb { 0%, 32% { opacity: 0; transform: translateY(0.6em); } 38%, 56% { opacity: 1; transform: none; } 60%, 100% { opacity: 0; } }
@keyframes spick { 0%, 40% { background-color: transparent; } 44%, 56% { background-color: color-mix(in oklab, var(--color-accent) 16%, transparent); } 60%, 100% { background-color: transparent; } }
@keyframes sdet { 0%, 42% { opacity: 0; transform: translateX(2em); } 48%, 55% { opacity: 1; transform: none; } 59%, 100% { opacity: 0; transform: translateX(2em); } }
@keyframes sbar { 0%, 64% { transform: scaleY(0); } 72%, 88% { transform: scaleY(1); } 90%, 100% { transform: scaleY(0); } }
@keyframes sd { 0%, 64% { --p: 0; --q: 0; } 76%, 90% { --p: 46; --q: 32; } 92%, 100% { --p: 0; --q: 0; } }
@keyframes stip { 0%, 74% { opacity: 0; transform: translateY(0.4em); } 78%, 86% { opacity: 1; transform: none; } 89%, 100% { opacity: 0; } }
@keyframes stoast { 0%, 12% { opacity: 0; transform: translateY(-0.8em); } 16%, 22% { opacity: 1; transform: none; } 26%, 100% { opacity: 0; transform: translateY(-0.8em); } }
@keyframes scur { 0%, 5% { transform: translate(40em, 32em); } 23%, 28% { transform: translate(2.4em, 13.8em); } 40%, 50% { transform: translate(26.5em, 12.6em); } 59%, 61% { transform: translate(2.4em, 17.4em); } 72%, 82% { transform: translate(21.4em, 11.6em); } 90%, 92% { transform: translate(2.4em, 6.6em); } 98%, 100% { transform: translate(40em, 32em); } }
@keyframes sripple { 0%, 25% { opacity: 0; transform: scale(0.3); } 27% { opacity: 0.55; transform: scale(0.4); } 31% { opacity: 0; transform: scale(2.2); } 58% { opacity: 0; } 60% { opacity: 0.55; transform: scale(0.4); } 64% { opacity: 0; transform: scale(2.2); } 90% { opacity: 0; } 92% { opacity: 0.55; transform: scale(0.4); } 96%, 100% { opacity: 0; transform: scale(2.2); } }

/* 3. App: iPhone y compu, se abre desde el ícono */
.devices { display: flex; align-items: center; justify-content: space-between; padding-inline: 1.4em; font-size: 2cqw; }
.iphone { position: relative; flex: none; width: 15em; height: 31em; border-radius: 2.6em; background: var(--color-shade); box-shadow: 0 0 0 0.25em color-mix(in oklab, var(--color-light) 22%, var(--color-shade)), 0 2.4em 3em -1.6em color-mix(in oklab, var(--color-shade) 95%, transparent); }
.iphone__island { position: absolute; left: 50%; top: 0.85em; z-index: 8; width: 4.4em; height: 1.25em; margin-left: -2.2em; border-radius: var(--radius-pill); background: var(--color-shade); }
.iphone__bar { position: absolute; left: 50%; bottom: 0.9em; z-index: 8; width: 5em; height: 0.28em; margin-left: -2.5em; border-radius: var(--radius-pill); background: var(--color-light); opacity: 0.8; }
.iphone__screen { position: absolute; inset: 0.45em; overflow: hidden; border-radius: 2.2em; background: radial-gradient(60% 40% at 25% 18%, color-mix(in oklab, var(--color-accent) 40%, transparent), transparent), radial-gradient(60% 40% at 80% 85%, color-mix(in oklab, var(--color-dusk) 34%, transparent), transparent), var(--color-paper-2); }
.ios__status { display: flex; align-items: center; justify-content: space-between; padding: 0.95em 1.7em 0; font: 600 0.7em/1 var(--font-body); color: var(--color-ink); }
.ios__batt { width: 1.8em; height: 0.8em; border-radius: 0.25em; background: var(--color-ink); }
.ios__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.9em 0.7em; padding: 1.8em 0.9em 0; }
.ios__grid li { display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; justify-items: center; gap: 0.3em; }
.ios__grid li small { font-size: 0.5em; color: var(--color-ink-2); white-space: nowrap; }
.ios__grid li > svg, .ios__dock li > svg, .dock li > svg { width: 100%; aspect-ratio: 1; border-radius: 26%; box-shadow: 0 0.2em 0.4em -0.2em color-mix(in oklab, var(--color-shade) 70%, transparent); }
.ios__dock { position: absolute; left: 0.8em; right: 0.8em; bottom: 1.8em; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.9em; padding: 0.7em 0.9em; border-radius: 1.7em; background: color-mix(in oklab, var(--color-light) 14%, transparent); }
.ios__tap { position: absolute; left: 38.5%; top: 29.4%; z-index: 4; width: 3em; height: 3em; margin: -1.5em 0 0 -1.5em; border-radius: 50%; background: color-mix(in oklab, var(--color-light) 55%, transparent); opacity: 0; pointer-events: none; }
.papp { position: absolute; inset: 0; z-index: 5; display: grid; grid-template-rows: auto 1fr; background: var(--color-paper-3); color: var(--color-ink); }
.papp__body { display: grid; align-content: start; gap: 0.85em; padding: 1em 1em 0; }
.papp__hdr { display: grid; grid-template-columns: 2.3em minmax(0, 1fr) 2.3em; align-items: center; gap: 0.7em; }
.papp__av { display: grid; place-items: center; width: 2.3em; height: 2.3em; border-radius: 50%; background: var(--color-accent-2); color: var(--color-accent-ink); font: 600 0.85em/1 var(--font-body); }
.papp__hdr small, .wapp__hdr small { font-size: 0.65em; color: var(--color-muted); }
.papp__hdr p, .wapp__hdr p { font: 500 1.3em/1.1 var(--font-display); letter-spacing: -0.02em; }
.papp__bell { display: grid; place-items: center; width: 2.3em; height: 2.3em; border-radius: 50%; box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--color-light) 14%, transparent); }
.papp__bell svg, .papp__chips svg, .papp__tabs svg, .wapp__side svg { width: 1.2em; height: 1.2em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.papp__hero { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 3.6em; align-items: center; gap: 0.6em; padding: 1.05em; border-radius: 1.3em; background: linear-gradient(145deg, var(--color-accent-deep), color-mix(in oklab, var(--color-accent) 70%, var(--color-dusk))); color: var(--color-light); box-shadow: inset 0 1px 0 color-mix(in oklab, var(--color-light) 30%, transparent), 0 1.4em 2em -1em color-mix(in oklab, var(--color-accent-deep) 80%, transparent); }
.papp__hero small { display: block; font-size: 0.65em; opacity: 0.85; }
.papp__hero b { display: block; margin: 0.15em 0; font: 500 1.3em/1.1 var(--font-display); letter-spacing: -0.02em; }
.papp__hero span { font-size: 0.7em; opacity: 0.85; }
.papp__ring { width: 3.6em; height: 3.6em; transform: rotate(-90deg); }
.papp__ring circle { fill: none; stroke-width: 3.6; }
.papp__ring .r0 { stroke: color-mix(in oklab, var(--color-light) 25%, transparent); }
.papp__ring .r1 { stroke: var(--color-light); stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0.35; }
.papp__btn { grid-column: 1 / -1; justify-self: start; margin-top: 0.4em; padding: 0.55em 1.2em; border-radius: var(--radius-pill); background: var(--color-light); color: var(--color-accent-deep); font: 600 0.7em/1 var(--font-body); }
.papp__chips { display: flex; gap: 0.5em; }
.papp__chips span { display: inline-flex; align-items: center; gap: 0.4em; padding: 0.55em 0.9em; border-radius: var(--radius-pill); background: color-mix(in oklab, var(--color-light) 7%, transparent); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--color-light) 10%, transparent); font-size: 0.7em; color: var(--color-ink-2); }
.papp__chips svg { width: 1.3em; height: 1.3em; color: var(--color-accent-hi); }
.papp__list { display: grid; gap: 0.5em; }
.papp__list li { display: grid; grid-template-columns: 0.7em minmax(0, 1fr); align-items: center; gap: 0.8em; padding: 0.75em 0.9em; border-radius: 1em; background: color-mix(in oklab, var(--color-light) 5%, transparent); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--color-light) 8%, transparent); }
.papp__list b { display: block; font-size: 0.78em; font-weight: 600; }
.papp__list small { color: var(--color-muted); font-size: 0.65em; }
.papp__list .dot { width: 0.7em; height: 0.7em; border-radius: 50%; background: var(--color-accent); box-shadow: 0 0 0 0.25em color-mix(in oklab, var(--color-accent) 22%, transparent); }
.papp__list .dot--w { background: var(--color-accent-2); box-shadow: 0 0 0 0.25em color-mix(in oklab, var(--color-accent-2) 22%, transparent); }
.papp__tabs { position: absolute; left: 0.9em; right: 0.9em; bottom: 1.5em; display: flex; align-items: center; justify-content: space-around; height: 3.4em; border-radius: 1.8em; background: color-mix(in oklab, var(--color-paper-2) 88%, transparent); box-shadow: inset 0 1px 0 color-mix(in oklab, var(--color-light) 16%, transparent), inset 0 0 0 1px color-mix(in oklab, var(--color-light) 10%, transparent), 0 1em 1.6em -0.8em color-mix(in oklab, var(--color-shade) 90%, transparent); }
.papp__tabs span { display: grid; place-items: center; width: 2.6em; height: 2.6em; border-radius: 50%; color: var(--color-muted); }
.papp__tabs span.is-on { background: color-mix(in oklab, var(--color-accent) 22%, transparent); color: var(--color-accent-hi); }

.monitor { flex: none; width: 29em; display: grid; justify-items: center; }
.monitor__screen { position: relative; width: 100%; aspect-ratio: 16 / 10; overflow: hidden; border: 0.45em solid var(--color-shade); border-radius: 1em; background: radial-gradient(60% 50% at 20% 20%, color-mix(in oklab, var(--color-accent) 34%, transparent), transparent), radial-gradient(60% 50% at 85% 85%, color-mix(in oklab, var(--color-accent-2) 24%, transparent), transparent), var(--color-paper-2); box-shadow: 0 0 0 1px color-mix(in oklab, var(--color-light) 22%, var(--color-shade)); }
.monitor__neck { width: 2.4em; height: 1.8em; background: var(--color-paper-3); }
.monitor__base { width: 9em; height: 0.55em; border-radius: var(--radius-pill); background: var(--color-paper-3); box-shadow: 0 0 0 1px color-mix(in oklab, var(--color-light) 10%, transparent); }
.dock { position: absolute; left: 50%; bottom: 0.6em; z-index: 2; display: flex; gap: 0.6em; width: 11em; margin-left: -5.5em; padding: 0.6em; border-radius: 1.1em; background: color-mix(in oklab, var(--color-light) 14%, transparent); }
.dock li { flex: 1; }
.wapp { position: absolute; inset: 1em 1.2em 4.4em; z-index: 4; display: grid; grid-template-columns: 3.6em minmax(0, 1fr); overflow: hidden; border-radius: 0.8em; background: var(--color-paper-3); color: var(--color-ink); box-shadow: inset 0 1px 0 color-mix(in oklab, var(--color-light) 16%, transparent), inset 0 0 0 1px color-mix(in oklab, var(--color-light) 10%, transparent), 0 1.4em 2.2em -1em color-mix(in oklab, var(--color-shade) 90%, transparent); }
.wapp__side { display: grid; justify-items: center; align-content: start; gap: 0.3em; padding: 0.8em 0; background: color-mix(in oklab, var(--color-paper-2) 70%, transparent); box-shadow: inset -1px 0 0 color-mix(in oklab, var(--color-light) 8%, transparent); }
.wapp__side span { display: grid; place-items: center; width: 2.2em; height: 2.2em; border-radius: 0.7em; color: var(--color-muted); }
.wapp__side span.is-on { background: color-mix(in oklab, var(--color-accent) 22%, transparent); color: var(--color-accent-hi); }
.wapp__side svg { width: 1.1em; height: 1.1em; }
.wapp__logo { margin: 0.2em 0 0.7em; }
.wapp__logo i { display: block; width: 1.5em; height: 1.5em; border-radius: 0.5em; background: var(--color-accent); box-shadow: inset 0 0 0 0.32em var(--color-accent), inset 0 0 0 0.45em var(--color-accent-ink); }
.wapp__main { display: grid; align-content: start; gap: 0.7em; padding: 0.9em 1em; min-width: 0; }
.wapp__hdr { display: flex; align-items: center; justify-content: space-between; }
.wapp__hdr .papp__av { width: 2em; height: 2em; font-size: 0.75em; }
.wapp__cards { display: grid; grid-template-columns: 1.5fr 1fr; gap: 0.7em; }
.wapp .papp__hero { grid-template-columns: minmax(0, 1fr) 2.6em; padding: 0.8em; }
.wapp .papp__ring { width: 2.6em; height: 2.6em; }
.wapp .papp__hero b { font-size: 1.1em; }
.wapp__tile { display: grid; align-content: center; gap: 0.6em; padding: 0.8em; border-radius: 1.1em; background: color-mix(in oklab, var(--color-light) 5%, transparent); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--color-light) 8%, transparent); }
.wapp__tile small { font-size: 0.65em; color: var(--color-muted); }
.wapp__tags { display: flex; flex-wrap: wrap; gap: 0.3em; }
.wapp__tags i { padding: 0.3em 0.7em; border-radius: var(--radius-pill); background: color-mix(in oklab, var(--color-accent) 18%, transparent); color: var(--color-accent-hi); font-size: 0.65em; }
.wapp .papp__list { grid-template-columns: 1fr 1fr; }

.papp { animation: papp 12s cubic-bezier(0.22, 1, 0.36, 1) infinite; }
.wapp { animation: wappw 12s cubic-bezier(0.22, 1, 0.36, 1) infinite; }
.ios__grid, .ios__dock { animation: ioshome 12s cubic-bezier(0.22, 1, 0.36, 1) infinite; transform-origin: 38.5% 29.4%; }
.ios__tap { animation: itap 12s var(--ease-out) infinite; }
.is-lumo > svg { animation: lpress 12s var(--ease-out) infinite; }
.mcursor { animation: mcur 12s var(--ease-in-out) infinite; }
.mcursor::after { animation: mripple 12s var(--ease-out) infinite; }
.papp__i--1 { animation: pr1 12s var(--ease-out) infinite; }
.papp__i--2 { animation: pr2 12s var(--ease-out) infinite; }
.papp__i--3 { animation: pr3 12s var(--ease-out) infinite; }
.papp__i--4 { animation: pr4 12s var(--ease-out) infinite; }
.papp__i--5 { animation: pr5 12s var(--ease-out) infinite; }
.papp__ring .r1 { animation: ring 12s var(--ease-out) infinite; }
@keyframes papp {
  0%, 22% { opacity: 0; clip-path: inset(var(--it) var(--ir) var(--ib) var(--il) round 0.6em); background-color: var(--color-accent); }
  24% { opacity: 1; clip-path: inset(var(--it) var(--ir) var(--ib) var(--il) round 0.6em); background-color: var(--color-accent); }
  36%, 80% { opacity: 1; clip-path: inset(0 0 0 0 round 2.2em); background-color: var(--color-paper-3); }
  90% { opacity: 1; clip-path: inset(var(--it) var(--ir) var(--ib) var(--il) round 0.6em); background-color: var(--color-accent); }
  91%, 100% { opacity: 0; clip-path: inset(var(--it) var(--ir) var(--ib) var(--il) round 0.6em); background-color: var(--color-accent); }
}
@keyframes ioshome { 0%, 22% { transform: none; opacity: 1; } 36%, 80% { transform: scale(0.9); opacity: 0.55; } 90%, 100% { transform: none; opacity: 1; } }
@keyframes wappw {
  0%, 31% { opacity: 0; clip-path: inset(94% 40% 0 40% round 1em); transform: translateY(1.2em) scale(0.82); }
  33% { opacity: 1; clip-path: inset(94% 40% 0 40% round 1em); }
  44%, 82% { opacity: 1; clip-path: inset(0 0 0 0 round 0.8em); transform: none; }
  91% { opacity: 1; clip-path: inset(94% 40% 0 40% round 1em); transform: translateY(1.2em) scale(0.82); }
  92%, 100% { opacity: 0; clip-path: inset(94% 40% 0 40% round 1em); transform: translateY(1.2em) scale(0.82); }
}
@keyframes itap { 0%, 18% { opacity: 0; transform: scale(1.5); } 21% { opacity: 1; transform: scale(1); } 26%, 100% { opacity: 0; transform: scale(0.7); } }
@keyframes lpress { 0%, 19% { transform: none; } 22% { transform: scale(0.86); } 27%, 100% { transform: none; } }
@keyframes mcur { 0%, 6% { transform: translate(24em, 5em); } 26%, 36% { transform: translate(12.75em, 15em); } 56%, 84% { transform: translate(18em, 9em); } 94%, 100% { transform: translate(24em, 5em); } }
@keyframes mripple { 0%, 29% { opacity: 0; transform: scale(0.3); } 31% { opacity: 0.55; transform: scale(0.4); } 37%, 100% { opacity: 0; transform: scale(2.2); } }
@keyframes ring { 0%, 36% { stroke-dashoffset: 1; } 52%, 80% { stroke-dashoffset: 0.35; } 90%, 100% { stroke-dashoffset: 1; } }
@keyframes pr1 { 0%, 36% { opacity: 0; transform: translateY(0.8em); } 41%, 80% { opacity: 1; transform: none; } 88%, 100% { opacity: 0; } }
@keyframes pr2 { 0%, 39% { opacity: 0; transform: translateY(0.8em) scale(0.96); } 45%, 80% { opacity: 1; transform: none; } 88%, 100% { opacity: 0; } }
@keyframes pr3 { 0%, 42% { opacity: 0; transform: translateY(0.8em); } 47%, 80% { opacity: 1; transform: none; } 88%, 100% { opacity: 0; } }
@keyframes pr4 { 0%, 45% { opacity: 0; transform: translateY(0.8em); } 50%, 80% { opacity: 1; transform: none; } 88%, 100% { opacity: 0; } }
@keyframes pr5 { 0%, 48% { opacity: 0; transform: translateY(1.2em); } 54%, 80% { opacity: 1; transform: none; } 88%, 100% { opacity: 0; } }
.mcursor { transform: translate(24em, 5em); }

@media (max-width: 60rem) { .tour__stage { height: 34rem; } }
@media (max-width: 40rem) {
  .tour__stage { height: 36rem; }
  .care { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .wscreen, .sscreen, .lx, .lxh i, .lamp, .lamp__beam, .lxglow, .lamp__bulb, .lxmq div, .lxmouse, .lxmouse::after, .lxchip, .lxcard, .lxpic .h, .lxpic .l, .rail__hl, .sview, .cnt, .rev__line, .rev__area, .spark i, .nxt li, .ccard, .sdetail, .bar, .donut, .stip, .stoast, .scursor, .papp, .wapp, .ios__grid, .ios__dock, .ios__tap, .is-lumo > svg, .mcursor, .papp__i, .papp__ring .r1 { animation: none !important; }
  .papp, .wapp { opacity: 1; clip-path: none; }
  .sview--b, .sview--c, .stip, .stoast, .sdetail, .ios__tap, .wcursor, .wmouse { opacity: 0; }
}

.iphone__screen { --it: 25.1%; --ir: 52.5%; --ib: 66.4%; --il: 29.4%; }

.papp__body { grid-template-columns: minmax(0, 1fr); }
.iphone .papp__list li:nth-child(2) { display: none; }
.wapp .papp__list { display: none; }
.wapp .papp__btn { display: none; }
.wapp .papp__hero { grid-template-columns: minmax(0, 1fr) 2.6em; }
.wapp__main { gap: 0.9em; }
.wapp__side span:nth-of-type(n+4) { display: none; }
.papp__chips { gap: 0.4em; }
.papp__chips span { gap: 0.3em; padding: 0.5em 0.65em; }
.papp__chips svg { width: 1.1em; height: 1.1em; }

/* v9: la página se integra (bordes difuminados), cursores visibles, clientes en dos columnas, íconos reales */
.glass.pane.pane--demo { padding: 0; background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.wscreen, .sscreen { border-radius: 0; box-shadow: none; -webkit-mask-image: linear-gradient(to right, transparent 0, var(--color-ink) 4%, var(--color-ink) 96%, transparent 100%), linear-gradient(to bottom, transparent 0, var(--color-ink) 7%, var(--color-ink) 93%, transparent 100%); -webkit-mask-composite: source-in; mask-image: linear-gradient(to right, transparent 0, var(--color-ink) 4%, var(--color-ink) 96%, transparent 100%), linear-gradient(to bottom, transparent 0, var(--color-ink) 7%, var(--color-ink) 93%, transparent 100%); mask-composite: intersect; }
.wmouse .wcursor { background: var(--color-accent-deep); filter: drop-shadow(0 0 0.06em var(--color-light)) drop-shadow(0 0 0.06em var(--color-light)) drop-shadow(0 0.15em 0.25em color-mix(in oklab, var(--color-shade) 50%, transparent)); }
.mcursor { background: var(--ios-green); }
.mcursor::after, .ios__tap { display: none; }

.cwrap { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 1em; align-items: start; }
.clist { display: grid; gap: 0.55em; }
.clist li { display: grid; grid-template-columns: 2.4em minmax(0, 1fr) auto; align-items: center; gap: 0.8em; padding: 0.7em 0.9em; border-radius: 1em; background: color-mix(in oklab, var(--color-light) 5%, transparent); box-shadow: inset 0 1px 0 color-mix(in oklab, var(--color-light) 10%, transparent), inset 0 0 0 1px color-mix(in oklab, var(--color-light) 7%, transparent); font-size: 0.92em; animation: srowb 18s var(--ease-out) infinite; }
.clist li:nth-child(2) { animation-delay: 70ms; }
.clist li:nth-child(3) { animation-name: srowb, spick; animation-delay: 140ms; }
.clist li:nth-child(4) { animation-delay: 210ms; }
.clist li:nth-child(5) { animation-delay: 280ms; }
.clist b { display: block; font-weight: 600; }
.clist small { color: var(--color-muted); font-size: 0.82em; }
.cdet { position: relative; align-self: stretch; min-height: 17em; border-radius: 1.2em; background: linear-gradient(to bottom, color-mix(in oklab, var(--color-light) 8%, transparent), color-mix(in oklab, var(--color-light) 3%, transparent)); box-shadow: inset 0 1px 0 color-mix(in oklab, var(--color-light) 14%, transparent), inset 0 0 0 1px color-mix(in oklab, var(--color-light) 8%, transparent); }
.cdet__empty { position: absolute; inset: 0; display: grid; place-items: center; font-size: 0.85em; color: var(--color-muted); animation: cempty 18s var(--ease-out) infinite; }
.cdet__body { position: absolute; inset: 0; display: grid; align-content: center; justify-items: start; gap: 0.15em; padding: 1.3em; opacity: 0; animation: cbody 18s var(--ease-out) infinite; }
.cdet__name { font: 500 1.3em/1.1 var(--font-display); letter-spacing: -0.02em; }
.cdet small { color: var(--color-muted); font-size: 0.82em; }
.cdet dl { display: grid; gap: 0.7em; width: 100%; margin: 1em 0 0; padding-top: 0.9em; border-top: 1px solid color-mix(in oklab, var(--color-light) 9%, transparent); }
.cdet dt { font-size: 0.75em; color: var(--color-muted); }
.cdet dd { margin: 0.1em 0 0; font-weight: 600; }
.cdet .schip { margin-top: 1.1em; }
@keyframes cempty { 0%, 41% { opacity: 1; } 46%, 56% { opacity: 0; } 60%, 100% { opacity: 1; } }
@keyframes cbody { 0%, 42% { opacity: 0; transform: translateY(0.8em); } 48%, 55% { opacity: 1; transform: none; } 59%, 100% { opacity: 0; transform: translateY(0.8em); } }
@keyframes scur2 { 0%, 5% { transform: translate(40em, 32em); } 23%, 28% { transform: translate(2.4em, 13.8em); } 40%, 50% { transform: translate(17em, 17.8em); } 59%, 61% { transform: translate(2.4em, 17.4em); } 72%, 82% { transform: translate(21.4em, 11.6em); } 90%, 92% { transform: translate(2.4em, 6.6em); } 98%, 100% { transform: translate(40em, 32em); } }
.scursor { animation-name: scur2; }
.ic { display: block; width: 100%; aspect-ratio: 1; overflow: hidden; border-radius: 22.4%; box-shadow: 0 0.2em 0.4em -0.2em color-mix(in oklab, var(--color-shade) 70%, transparent); }
.ic img { display: block; width: 100%; height: 100%; object-fit: cover; transform: scale(1.16); }
.sheen { fill: var(--ios-white); opacity: 0.13; }
.is-lumo > svg .sheen { display: none; }
.papp__list li { grid-template-columns: minmax(0, 1fr); box-shadow: inset 3px 0 0 var(--color-accent), inset 0 0 0 1px color-mix(in oklab, var(--color-light) 8%, transparent); }
.papp__list li:nth-child(2) { box-shadow: inset 3px 0 0 var(--color-accent-2), inset 0 0 0 1px color-mix(in oklab, var(--color-light) 8%, transparent); }

/* v10: encabezado que se funde, panel de la portada integrado, colores de marca, la app de fitness y el halo de color de las demos */
:root {
  --brand-wa: oklch(66% 0.2 150); --brand-wa-hi: oklch(78% 0.2 150); --brand-sp: oklch(74% 0.22 150);
  --brand-ig-a: oklch(72% 0.2 70); --brand-ig-b: oklch(62% 0.24 355); --brand-ig-c: oklch(48% 0.22 295);
}
.nav { --hp: 0; --nt: 0; --na: var(--color-accent-2); --nb: var(--color-accent); --tint: color-mix(in oklab, var(--na) calc((1 - var(--nt)) * 100%), var(--nb)); color: color-mix(in oklab, var(--color-day-ink) calc((1 - var(--hp)) * 100%), var(--color-ink)); background: none; box-shadow: none; transition: none; }
.nav::before { content: ""; position: absolute; inset: 0 0 -3.2rem; z-index: -1; pointer-events: none; opacity: var(--hp); background: linear-gradient(to bottom, color-mix(in oklab, var(--tint) 16%, var(--color-paper)) 0, color-mix(in oklab, var(--tint) 16%, var(--color-paper)) 60%, color-mix(in oklab, var(--tint) 16%, transparent) 100%); }
.nav::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; pointer-events: none; opacity: calc(var(--hp) * 0.85); background: linear-gradient(90deg, transparent, var(--tint) 25%, var(--tint) 75%, transparent); }
.nav.is-solid { background: none; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; }

.hero .run { background: color-mix(in oklab, var(--color-paper-2) 34%, transparent); box-shadow: 0 2em 3em -2em color-mix(in oklab, var(--color-shade) 55%, transparent); -webkit-mask-image: linear-gradient(to right, transparent 0, var(--color-ink) 5%, var(--color-ink) 95%, transparent 100%), linear-gradient(to bottom, transparent 0, var(--color-ink) 9%, var(--color-ink) 91%, transparent 100%); -webkit-mask-composite: source-in; mask-image: linear-gradient(to right, transparent 0, var(--color-ink) 5%, var(--color-ink) 95%, transparent 100%), linear-gradient(to bottom, transparent 0, var(--color-ink) 9%, var(--color-ink) 91%, transparent 100%); mask-composite: intersect; }
.hero .accts .acct:first-child { border-top: 0; }

.glass.pane.pane--demo { overflow: visible; }
.mock[data-halo]::before { content: ""; position: absolute; inset: -1.3em; z-index: 0; border-radius: 2.4em; pointer-events: none; filter: blur(1.8em); }
.mock[data-halo="cream"]::before { background: var(--color-well); opacity: 0.9; }
.mock[data-halo="night"]::before { background: color-mix(in oklab, var(--color-accent) 26%, var(--color-paper-2)); opacity: 0.85; }
.wscreen, .sscreen { z-index: 1; }

/* app de fitness: anillos de actividad */
.papp__hero { grid-template-columns: 5.8em minmax(0, 1fr); gap: 1em; padding: 1em; background: linear-gradient(to bottom, color-mix(in oklab, var(--color-light) 9%, transparent), color-mix(in oklab, var(--color-light) 3%, transparent)); color: var(--color-ink); box-shadow: inset 0 1px 0 color-mix(in oklab, var(--color-light) 16%, transparent), inset 0 0 0 1px color-mix(in oklab, var(--color-light) 9%, transparent); }
.rings { width: 5.8em; height: 5.8em; transform: rotate(-90deg); }
.rings circle { fill: none; stroke-width: 6; }
.rings .t { stroke: color-mix(in oklab, var(--color-light) 10%, transparent); }
.rings .g { stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.rings .g1 { stroke: var(--color-accent-2); animation: rg1 12s var(--ease-out) infinite; }
.rings .g2 { stroke: var(--color-accent-hi); animation: rg2 12s var(--ease-out) infinite; }
.rings .g3 { stroke: var(--color-dusk); animation: rg3 12s var(--ease-out) infinite; }
@keyframes rg1 { 0%, 38% { stroke-dashoffset: 1; } 58%, 80% { stroke-dashoffset: 0.27; } 90%, 100% { stroke-dashoffset: 1; } }
@keyframes rg2 { 0%, 41% { stroke-dashoffset: 1; } 60%, 80% { stroke-dashoffset: 0.4; } 90%, 100% { stroke-dashoffset: 1; } }
@keyframes rg3 { 0%, 44% { stroke-dashoffset: 1; } 62%, 80% { stroke-dashoffset: 0.55; } 90%, 100% { stroke-dashoffset: 1; } }
.rstats { display: grid; gap: 0.55em; align-content: center; }
.rstats div { padding-left: 0.7em; box-shadow: inset 2px 0 0 var(--c); }
.rstats .s1 { --c: var(--color-accent-2); } .rstats .s2 { --c: var(--color-accent-hi); } .rstats .s3 { --c: var(--color-dusk); }
.rstats small { display: block; font-size: 0.62em; color: var(--color-muted); opacity: 1; }
.rstats b { display: block; font: 500 1em/1.1 var(--font-display); letter-spacing: -0.01em; }
.papp__chips span { padding: 0.55em 0.95em; }
.papp__list .meter { display: block; height: 0.32em; margin-top: 0.55em; border-radius: var(--radius-pill); background: color-mix(in oklab, var(--color-light) 10%, transparent); overflow: hidden; }
.papp__list .meter i { display: block; width: 62%; height: 100%; border-radius: inherit; background: var(--color-accent-hi); transform-origin: left; animation: meter 12s var(--ease-out) infinite; }
@keyframes meter { 0%, 46% { transform: scaleX(0); } 62%, 80% { transform: scaleX(1); } 90%, 100% { transform: scaleX(0); } }
.wapp .papp__hero { grid-template-columns: 4.4em minmax(0, 1fr); gap: 0.8em; padding: 0.8em; }
.wapp .rings { width: 4.4em; height: 4.4em; }
.wapp .rstats b { font-size: 0.85em; }
.wapp .rstats small { font-size: 0.58em; }
.wapp__cards { grid-template-columns: 1.6fr 1fr; }
.wbars { display: flex; align-items: flex-end; gap: 0.35em; height: 4.4em; }
.wbars i { flex: 1; height: var(--h); border-radius: 0.25em 0.25em 0.1em 0.1em; background: color-mix(in oklab, var(--color-accent) 75%, transparent); transform-origin: bottom; animation: wbar 12s var(--ease-out) infinite; }
.wbars i:nth-child(4) { background: var(--color-accent-hi); }
@keyframes wbar { 0%, 44% { transform: scaleY(0); } 60%, 82% { transform: scaleY(1); } 90%, 100% { transform: scaleY(0); } }
.wapp__tile { align-content: end; }
.iphone .papp__chips { display: none; }
.papp__hero { grid-template-columns: 5em minmax(0, 1fr); gap: 0.9em; }
.rings { width: 5em; height: 5em; }
.rstats b { font-size: 0.92em; }
.rstats small { font-size: 0.58em; }
.wapp .rstats .s3 { display: none; }
.wapp .papp__hero { grid-template-columns: 4.4em minmax(0, 1fr); }
.nav { color: color-mix(in oklab, var(--color-day-ink) calc((1 - clamp(0, calc((var(--hp) - 0.22) * 5), 1)) * 100%), var(--color-ink)); }
.nav::before { opacity: min(1, calc(var(--hp) * 2.4)); }
.mock[data-halo]::before { filter: blur(2.2em); }
.mock[data-halo="cream"]::before { opacity: 0.72; }
.mock[data-halo="night"]::before { opacity: 0.7; }

/* v11: encabezado sin línea, panel de la portada limpio y demos que se absorben poco a poco en la página */
.nav { --navbg: color-mix(in oklab, var(--tint) 11%, var(--color-paper)); }
.nav::after { display: none; }
.nav::before { background: linear-gradient(to bottom, var(--navbg) 0, var(--navbg) 40%, color-mix(in oklab, var(--navbg) 62%, transparent) 62%, color-mix(in oklab, var(--navbg) 24%, transparent) 82%, transparent 100%); }

.hero .run { background: none; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; -webkit-mask-image: none; mask-image: none; isolation: isolate; }
.hero .run::before { content: ""; position: absolute; inset: -1.6rem; z-index: -1; border-radius: 2.6rem; pointer-events: none; background: color-mix(in oklab, var(--color-paper-2) 66%, transparent); filter: blur(1.4rem); }

.wscreen, .sscreen { -webkit-mask-image: linear-gradient(to right, transparent 0, var(--color-ink) 7%, var(--color-ink) 93%, transparent 100%), linear-gradient(to bottom, transparent 0, var(--color-ink) 10%, var(--color-ink) 90%, transparent 100%); mask-image: linear-gradient(to right, transparent 0, var(--color-ink) 7%, var(--color-ink) 93%, transparent 100%), linear-gradient(to bottom, transparent 0, var(--color-ink) 10%, var(--color-ink) 90%, transparent 100%); }
.mock[data-halo]::before { inset: -5em -4em; border-radius: 0; filter: none; opacity: 1; }
.mock[data-halo="cream"]::before { background: radial-gradient(closest-side, color-mix(in oklab, var(--color-well) 46%, transparent) 52%, color-mix(in oklab, var(--color-well) 16%, transparent) 78%, transparent 100%); }
.mock[data-halo="night"]::before { background: radial-gradient(closest-side, color-mix(in oklab, var(--color-accent) 20%, var(--color-paper-2)) 52%, color-mix(in oklab, var(--color-accent) 7%, transparent) 80%, transparent 100%); }
.wscreen, .sscreen { -webkit-mask-image: linear-gradient(to right, transparent 0, color-mix(in oklab, var(--color-ink) 35%, transparent) 4%, var(--color-ink) 11%, var(--color-ink) 89%, color-mix(in oklab, var(--color-ink) 35%, transparent) 96%, transparent 100%), linear-gradient(to bottom, transparent 0, color-mix(in oklab, var(--color-ink) 35%, transparent) 5%, var(--color-ink) 14%, var(--color-ink) 86%, color-mix(in oklab, var(--color-ink) 35%, transparent) 95%, transparent 100%); mask-image: linear-gradient(to right, transparent 0, color-mix(in oklab, var(--color-ink) 35%, transparent) 4%, var(--color-ink) 11%, var(--color-ink) 89%, color-mix(in oklab, var(--color-ink) 35%, transparent) 96%, transparent 100%), linear-gradient(to bottom, transparent 0, color-mix(in oklab, var(--color-ink) 35%, transparent) 5%, var(--color-ink) 14%, var(--color-ink) 86%, color-mix(in oklab, var(--color-ink) 35%, transparent) 95%, transparent 100%); }
.mock[data-halo="cream"]::before { background: radial-gradient(closest-side, color-mix(in oklab, var(--color-well) 30%, transparent) 50%, color-mix(in oklab, var(--color-well) 10%, transparent) 78%, transparent 100%); }

/* v12: como antes (cuadradito), pero solo el borde se absorbe un poco; sin halo, sin flechas */
:root { --tone-care: oklch(79% 0.1 190); }
.hero .run { background: var(--glass); -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(1.35); backdrop-filter: blur(var(--glass-blur)) saturate(1.35); box-shadow: var(--shadow-card); -webkit-mask-image: linear-gradient(to right, transparent 0, var(--color-ink) 1.2rem, var(--color-ink) calc(100% - 1.2rem), transparent 100%), linear-gradient(to bottom, transparent 0, var(--color-ink) 1.2rem, var(--color-ink) calc(100% - 1.2rem), transparent 100%); -webkit-mask-composite: source-in; mask-image: linear-gradient(to right, transparent 0, var(--color-ink) 1.2rem, var(--color-ink) calc(100% - 1.2rem), transparent 100%), linear-gradient(to bottom, transparent 0, var(--color-ink) 1.2rem, var(--color-ink) calc(100% - 1.2rem), transparent 100%); mask-composite: intersect; }
.hero .run::before { content: none; }
.mock[data-halo]::before { content: none; }
.wscreen, .sscreen { border-radius: 1em; -webkit-mask-image: linear-gradient(to right, transparent 0, var(--color-ink) 1.5em, var(--color-ink) calc(100% - 1.5em), transparent 100%), linear-gradient(to bottom, transparent 0, var(--color-ink) 1.5em, var(--color-ink) calc(100% - 1.5em), transparent 100%); -webkit-mask-composite: source-in; mask-image: linear-gradient(to right, transparent 0, var(--color-ink) 1.5em, var(--color-ink) calc(100% - 1.5em), transparent 100%), linear-gradient(to bottom, transparent 0, var(--color-ink) 1.5em, var(--color-ink) calc(100% - 1.5em), transparent 100%); mask-composite: intersect; }
.tab__go { display: none; }
.mcursor { background: var(--color-accent-hi); }
.care__icon { background: color-mix(in oklab, var(--tone-care) 16%, transparent); color: var(--tone-care); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--tone-care) 30%, transparent); }

/* v13: la mezcla con el fondo empieza afuera del borde; el interior queda nítido. Sin hora ni batería en el celular. */
.hero .run { -webkit-mask-image: none; mask-image: none; box-shadow: var(--glass-hi), var(--shadow-card), 0 0 1.1rem 0 color-mix(in oklab, var(--color-paper-2) 38%, transparent), 0 0 2.8rem 0.3rem color-mix(in oklab, var(--color-paper-2) 22%, transparent); }
.wscreen, .sscreen { -webkit-mask-image: none; mask-image: none; border-radius: 1em; }
.wscreen { box-shadow: 0 0 0.9em 0 color-mix(in oklab, var(--color-well) 34%, transparent), 0 0 2.6em 0.2em color-mix(in oklab, var(--color-well) 13%, transparent); }
.sscreen { box-shadow: 0 0 0.9em 0 color-mix(in oklab, var(--color-accent) 16%, var(--color-paper-2)), 0 0 2.6em 0.2em color-mix(in oklab, var(--color-accent) 8%, transparent); }
.ios__grid { padding-top: 3.9em; }
.papp__body { padding-top: 3.3em; }
@keyframes wappw {
  0%, 31% { opacity: 0; clip-path: inset(94% 40% 0 40% round 1em); transform: translateY(1.2em) scale(0.82); }
  33% { opacity: 1; clip-path: inset(94% 40% 0 40% round 1em); }
  44%, 82% { opacity: 1; clip-path: inset(0 0 0 0 round 0.8em); transform: none; }
  90%, 100% { opacity: 0; clip-path: inset(0 0 0 0 round 0.8em); transform: scale(0.97); }
}
.iphone__screen { --it: 27.6%; --ir: 52.5%; --ib: 64%; --il: 29.4%; }
.ios__grid, .ios__dock { transform-origin: 38.5% 31.8%; }
.nav::before { inset: 0 0 -4.4rem; background: linear-gradient(to bottom, color-mix(in oklab, var(--navbg) 96%, transparent) 0, color-mix(in oklab, var(--navbg) 93%, transparent) 12%, color-mix(in oklab, var(--navbg) 84%, transparent) 26%, color-mix(in oklab, var(--navbg) 68%, transparent) 40%, color-mix(in oklab, var(--navbg) 48%, transparent) 54%, color-mix(in oklab, var(--navbg) 29%, transparent) 68%, color-mix(in oklab, var(--navbg) 13%, transparent) 82%, color-mix(in oklab, var(--navbg) 4%, transparent) 93%, transparent 100%); }
.sscreen { box-shadow: 0 0 2em 0 color-mix(in oklab, var(--color-paper) 60%, transparent); }
@keyframes papp {
  0%, 22% { opacity: 0; clip-path: inset(var(--it) var(--ir) var(--ib) var(--il) round 0.6em); background-color: var(--color-accent-deep); }
  24% { opacity: 1; clip-path: inset(var(--it) var(--ir) var(--ib) var(--il) round 0.6em); background-color: var(--color-accent-deep); }
  36%, 80% { opacity: 1; clip-path: inset(0 0 0 0 round 2.2em); background-color: var(--color-paper-3); }
  88% { opacity: 1; clip-path: inset(var(--it) var(--ir) var(--ib) var(--il) round 0.6em); background-color: var(--color-accent-deep); }
  90%, 100% { opacity: 0; clip-path: inset(var(--it) var(--ir) var(--ib) var(--il) round 0.6em); background-color: var(--color-accent-deep); }
}

/* barra de scroll con los colores de la página */
html { scrollbar-width: thin; scrollbar-color: color-mix(in oklab, var(--color-accent) 62%, var(--color-paper-3)) var(--color-paper); }
.nav::before { background: linear-gradient(to bottom, color-mix(in oklab, var(--navbg) 98%, transparent) 0, color-mix(in oklab, var(--navbg) 97%, transparent) 20%, color-mix(in oklab, var(--navbg) 94%, transparent) 34%, color-mix(in oklab, var(--navbg) 82%, transparent) 48%, color-mix(in oklab, var(--navbg) 62%, transparent) 60%, color-mix(in oklab, var(--navbg) 40%, transparent) 72%, color-mix(in oklab, var(--navbg) 20%, transparent) 84%, color-mix(in oklab, var(--navbg) 6%, transparent) 94%, transparent 100%); }
.nav::before { inset: 0 0 -5rem; background: linear-gradient(to bottom, color-mix(in oklab, var(--navbg) 99%, transparent) 0, color-mix(in oklab, var(--navbg) 98%, transparent) 38%, color-mix(in oklab, var(--navbg) 88%, transparent) 50%, color-mix(in oklab, var(--navbg) 68%, transparent) 62%, color-mix(in oklab, var(--navbg) 44%, transparent) 74%, color-mix(in oklab, var(--navbg) 22%, transparent) 85%, color-mix(in oklab, var(--navbg) 7%, transparent) 94%, transparent 100%); }

/* v14: botones que se levantan despacio, punto celeste, footer alineado con el encabezado, Mantenimiento nuevo */
.btn { transition: transform 620ms var(--ease-out), box-shadow 620ms var(--ease-out), background-color 420ms var(--ease-out); }
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(-1px) scale(0.985); transition-duration: 240ms; }
.btn--day:hover { transform: translateY(-3px); }
.btn--day:active { transform: translateY(-1px) scale(0.985); }
.wordmark__dot { background: radial-gradient(circle at 35% 30%, color-mix(in oklab, var(--color-accent-hi) 55%, white), var(--color-accent) 58%, var(--color-accent-deep) 100%); }

.foot__base { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
.foot__links { justify-content: center; gap: var(--space-xl); }
.foot__links a { font-size: 0.9375rem; font-weight: 500; color: var(--color-ink); opacity: 0.86; transition: opacity var(--dur-short) var(--ease-out); }
.foot__links a:hover { opacity: 1; color: var(--color-ink); }
.foot__legal { justify-self: end; text-align: right; }
@media (max-width: 60rem) { .foot__base { grid-template-columns: minmax(0, 1fr); } .foot__links { justify-content: flex-start; } .foot__legal { justify-self: start; text-align: left; } }

.glass.pane--mt { padding: var(--space-xl); justify-content: center; }
.mt { display: grid; gap: var(--space-lg); }
.mt__lead { margin: 0; max-width: 18ch; font: 500 clamp(1.75rem, 1.4vw + 1.3rem, 2.5rem)/1.05 var(--font-display); letter-spacing: -0.03em; color: var(--color-ink); }
.mt__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--color-rule); }
.mt__list li { display: grid; grid-template-columns: 2.75rem minmax(0, 1fr) auto; align-items: center; gap: var(--space-lg); padding: var(--space-md) 0; border-bottom: 1px solid var(--color-rule); animation: mtin 700ms var(--ease-out) both; animation-delay: calc(var(--i) * 90ms + 120ms); }
.mt__ic { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: color-mix(in oklab, var(--color-accent) 16%, transparent); color: var(--color-accent-hi); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--color-accent) 30%, transparent); }
.mt__ic svg { width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.mt__tx b { display: block; font: 500 1.125rem/1.25 var(--font-display); color: var(--color-ink); }
.mt__tx small { display: block; margin-top: 0.15rem; font-size: 0.9375rem; color: var(--color-muted); }
.mt__n { font: 400 0.875rem/1 var(--font-display); color: var(--color-muted); font-variant-numeric: tabular-nums; }
@keyframes mtin { from { opacity: 0; transform: translateY(0.9rem); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .mt__list li { animation: none; } }

/* v15: la card elegida con un contorno apenas marcado, sin el resplandor celeste */
.tab[aria-selected="true"] { background: linear-gradient(to bottom, color-mix(in oklab, var(--color-accent) 11%, transparent), color-mix(in oklab, var(--color-accent) 3%, transparent)); box-shadow: inset 0 1px 0 color-mix(in oklab, var(--color-light) 16%, transparent), inset 0 0 0 1px color-mix(in oklab, var(--color-accent) 34%, transparent), 0 24px 40px -24px color-mix(in oklab, var(--color-shade) 90%, transparent); }

/* v16: Mantenimiento como las otras demos: cuatro etapas que avanzan solas (revisión, cambios, respaldo, mejoras) */
@property --on { syntax: "<number>"; inherits: true; initial-value: 0; }
@property --ck { syntax: "<number>"; inherits: true; initial-value: 0; }
.mnt { }
.mnt__screen { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 1.5em; padding: 2em 2.2em; overflow: hidden; border-radius: 1em; z-index: 1; background: radial-gradient(70% 60% at 85% 0%, color-mix(in oklab, var(--color-accent) 14%, transparent), transparent 70%), var(--color-paper); box-shadow: 0 0 2em 0 color-mix(in oklab, var(--color-paper) 60%, transparent); color: var(--color-ink); }
.mnt__head { display: flex; align-items: center; gap: 0.8em; font-size: 1.15em; }
.mnt__head b { font: 500 1em/1 var(--font-display); letter-spacing: -0.01em; }
.mnt__logo { width: 1.5em; height: 1.5em; border-radius: 0.5em; background: linear-gradient(135deg, var(--color-accent-hi), var(--color-accent-deep)); }
.mnt__chip { margin-left: auto; display: inline-flex; align-items: center; gap: 0.5em; padding: 0.45em 0.9em; border-radius: 999px; font-size: 0.8em; color: var(--color-accent-hi); background: color-mix(in oklab, var(--color-accent) 16%, transparent); }
.mnt__chip i { width: 0.55em; height: 0.55em; border-radius: 50%; background: var(--color-accent-hi); animation: mpulse 2.6s ease-in-out infinite; }
@keyframes mpulse { 50% { opacity: 0.35; transform: scale(0.75); } }

.mnt__track { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); padding-top: 0.2em; }
.mnt__line { position: absolute; left: 12.5%; right: 12.5%; top: 1.2em; height: 0.22em; border-radius: 99px; background: color-mix(in oklab, var(--color-light) 12%, transparent); overflow: hidden; }
.mnt__line i { display: block; height: 100%; transform-origin: left; background: linear-gradient(90deg, var(--color-accent), var(--color-accent-2)); animation: mfill 16s linear infinite; }
@keyframes mfill { 0% { transform: scaleX(0); opacity: 1; } 75%, 94% { transform: scaleX(1); opacity: 1; } 99%, 100% { transform: scaleX(1); opacity: 0; } }
.mnt__node { position: relative; display: grid; justify-items: center; gap: 0.7em; }
.mnt__node i { display: grid; place-items: center; width: 2.4em; height: 2.4em; border-radius: 50%; font: 500 0.9em/1 var(--font-display); font-style: normal; color: color-mix(in oklab, var(--color-muted) calc((1 - var(--on)) * 100%), var(--color-accent-ink)); background: color-mix(in oklab, var(--color-paper-2) calc((1 - var(--on)) * 100%), var(--color-accent)); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--color-light) calc((1 - var(--on)) * 14%), transparent); transform: scale(calc(1 + var(--on) * 0.08)); }
.mnt__node em { font-style: normal; font-size: 0.85em; color: color-mix(in oklab, var(--color-muted) calc((1 - var(--on)) * 100%), var(--color-ink)); }
.mnt__node.s0 { animation: mn0 16s linear infinite; }
.mnt__node.s1 { animation: mn1 16s linear infinite; }
.mnt__node.s2 { animation: mn2 16s linear infinite; }
.mnt__node.s3 { animation: mn3 16s linear infinite; }

.mnt__body { position: relative; flex: 1 1 auto; min-height: 0; }
.mnt__body::before, .mnt__body::after { content: ""; position: absolute; left: 1.4em; right: 1.4em; top: 0; bottom: 0; border-radius: 1em; background: color-mix(in oklab, var(--color-paper-2) 70%, transparent); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--color-light) 6%, transparent); transform: translateY(0.9em); }
.mnt__body::after { left: 0.7em; right: 0.7em; background: color-mix(in oklab, var(--color-paper-2) 88%, var(--color-light)); transform: translateY(0.45em); }
.mnt__card { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; justify-content: center; gap: 0.2em; padding: 1.2em 1.6em; border-radius: 1em; background: linear-gradient(to bottom, color-mix(in oklab, var(--color-paper-2) 92%, var(--color-light)), var(--color-paper-2)); box-shadow: inset 0 1px 0 color-mix(in oklab, var(--color-light) 14%, transparent), inset 0 0 0 1px color-mix(in oklab, var(--color-light) 9%, transparent); opacity: 0; }
.mnt__card.c0 { animation: mc0 16s var(--ease-out) infinite; }
.mnt__card.c1 { animation: mc1 16s var(--ease-out) infinite; }
.mnt__card.c2 { animation: mc2 16s var(--ease-out) infinite; }
.mnt__card.c3 { animation: mc3 16s var(--ease-out) infinite; }
.mnt__t { margin: 0 0 0.5em; font: 500 1.3em/1.1 var(--font-display); letter-spacing: -0.02em; }
.mnt__t small { display: block; margin-bottom: 0.35em; font: 500 0.6em/1 var(--font-body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-accent-2); }
.mnt__row { display: grid; grid-template-columns: 1.5em 1fr auto; align-items: center; gap: 0.9em; padding: 0.6em 0; border-top: 1px solid var(--color-rule); font-size: 0.95em; }
.mnt__row em { font-style: normal; font-size: 0.85em; color: var(--color-accent-hi); opacity: var(--ck); transform: translateX(calc((1 - var(--ck)) * 0.6em)); }
.mnt__ck { position: relative; width: 1.5em; height: 1.5em; border-radius: 50%; background: color-mix(in oklab, var(--color-accent) calc(var(--ck) * 100%), color-mix(in oklab, var(--color-light) 10%, transparent)); transform: scale(calc(0.9 + var(--ck) * 0.1)); }
.mnt__ck::after { content: ""; position: absolute; left: 0.52em; top: 0.3em; width: 0.32em; height: 0.62em; border: solid var(--color-accent-ink); border-width: 0 0.14em 0.14em 0; transform: rotate(45deg); opacity: var(--ck); }
.mnt__row.r00 { animation: mr00 16s linear infinite; }
.mnt__row.r01 { animation: mr01 16s linear infinite; }
.mnt__row.r02 { animation: mr02 16s linear infinite; }
.mnt__row.r10 { animation: mr10 16s linear infinite; }
.mnt__row.r11 { animation: mr11 16s linear infinite; }
.mnt__row.r12 { animation: mr12 16s linear infinite; }
.mnt__row.r20 { animation: mr20 16s linear infinite; }
.mnt__row.r21 { animation: mr21 16s linear infinite; }
.mnt__row.r22 { animation: mr22 16s linear infinite; }
.mnt__row.r30 { animation: mr30 16s linear infinite; }
.mnt__row.r31 { animation: mr31 16s linear infinite; }
.mnt__row.r32 { animation: mr32 16s linear infinite; }
@keyframes mn0 { 0% { --on: 0; } 2.0%, 96% { --on: 1; } 100% { --on: 0; } }
@keyframes mc0 { 0% { opacity: 0; transform: translateY(1.1em) scale(0.97); } 3.0%, 22.0% { opacity: 1; transform: none; } 25.0%, 100% { opacity: 0; transform: translateY(-0.7em) scale(0.985); } }
@keyframes mr00 { 0%, 4.0% { --ck: 0; } 6.5%, 24.0% { --ck: 1; } 25.0%, 100% { --ck: 0; } }
@keyframes mr01 { 0%, 9.0% { --ck: 0; } 11.5%, 24.0% { --ck: 1; } 25.0%, 100% { --ck: 0; } }
@keyframes mr02 { 0%, 14.0% { --ck: 0; } 16.5%, 24.0% { --ck: 1; } 25.0%, 100% { --ck: 0; } }
@keyframes mn1 { 0%, 24.9% { --on: 0; } 27.0%, 96% { --on: 1; } 100% { --on: 0; } }
@keyframes mc1 { 0%, 25.0% { opacity: 0; transform: translateY(1.1em) scale(0.97); } 28.0%, 47.0% { opacity: 1; transform: none; } 50.0%, 100% { opacity: 0; transform: translateY(-0.7em) scale(0.985); } }
@keyframes mr10 { 0%, 29.0% { --ck: 0; } 31.5%, 49.0% { --ck: 1; } 50.0%, 100% { --ck: 0; } }
@keyframes mr11 { 0%, 34.0% { --ck: 0; } 36.5%, 49.0% { --ck: 1; } 50.0%, 100% { --ck: 0; } }
@keyframes mr12 { 0%, 39.0% { --ck: 0; } 41.5%, 49.0% { --ck: 1; } 50.0%, 100% { --ck: 0; } }
@keyframes mn2 { 0%, 49.9% { --on: 0; } 52.0%, 96% { --on: 1; } 100% { --on: 0; } }
@keyframes mc2 { 0%, 50.0% { opacity: 0; transform: translateY(1.1em) scale(0.97); } 53.0%, 72.0% { opacity: 1; transform: none; } 75.0%, 100% { opacity: 0; transform: translateY(-0.7em) scale(0.985); } }
@keyframes mr20 { 0%, 54.0% { --ck: 0; } 56.5%, 74.0% { --ck: 1; } 75.0%, 100% { --ck: 0; } }
@keyframes mr21 { 0%, 59.0% { --ck: 0; } 61.5%, 74.0% { --ck: 1; } 75.0%, 100% { --ck: 0; } }
@keyframes mr22 { 0%, 64.0% { --ck: 0; } 66.5%, 74.0% { --ck: 1; } 75.0%, 100% { --ck: 0; } }
@keyframes mn3 { 0%, 74.9% { --on: 0; } 77.0%, 96% { --on: 1; } 100% { --on: 0; } }
@keyframes mc3 { 0%, 75.0% { opacity: 0; transform: translateY(1.1em) scale(0.97); } 78.0%, 97.0% { opacity: 1; transform: none; } 100.0%, 100% { opacity: 0; transform: translateY(-0.7em) scale(0.985); } }
@keyframes mr30 { 0%, 79.0% { --ck: 0; } 81.5%, 99.0% { --ck: 1; } 100.0%, 100% { --ck: 0; } }
@keyframes mr31 { 0%, 84.0% { --ck: 0; } 86.5%, 99.0% { --ck: 1; } 100.0%, 100% { --ck: 0; } }
@keyframes mr32 { 0%, 89.0% { --ck: 0; } 91.5%, 99.0% { --ck: 1; } 100.0%, 100% { --ck: 0; } }

@media (prefers-reduced-motion: reduce) {
  .mnt__node, .mnt__row, .mnt__line i, .mnt__chip i { animation: none; --on: 1; --ck: 1; }
  .mnt__card { animation: none; opacity: 0; }
  .mnt__card.c3 { opacity: 1; }
}
.mock.mnt { --color-paper: var(--p-bg); --color-paper-2: var(--p-surf); --color-ink: var(--p-text); --color-muted: color-mix(in oklab, var(--p-text) 60%, var(--p-bg)); --color-rule: color-mix(in oklab, var(--p-text) 14%, var(--p-bg)); --color-accent: var(--p-prim); --color-accent-ink: var(--p-on); --color-accent-2: var(--p-acc); --color-accent-hi: color-mix(in oklab, var(--p-prim) 100%, white); --color-accent-deep: color-mix(in oklab, var(--p-prim) 82%, var(--p-text)); }
/* v16b: más legible */
.mnt__head { font-size: 1.4em; }
.mnt__node em { font-size: 1em; }
.mnt__node i { font-size: 1.05em; }
.mnt__t { font-size: 1.75em; margin-bottom: 0.7em; }
.mnt__row { font-size: 1.2em; padding: 0.8em 0; }
.mnt__card { padding: 1.4em 1.9em; }
@media (max-width: 60rem) { .mock.mnt { font-size: 3.1cqw; } .mnt__screen { padding: 1.6em 1.4em; gap: 1.2em; } .mnt__t { font-size: 1.55em; } .mnt__row { font-size: 1.05em; } }

/* v17: celular. Portada chica y sin la lista de proyectos; servicios en 2x2 con la demo justo abajo */
@media (max-width: 60rem) {
  .hero { min-height: 520px; height: 88svh; }
  .hero .run { display: none; }
  .hero__grid { align-content: center; padding-bottom: var(--space-2xl); }
  .hero h1 { font-size: clamp(2rem, 9vw, 2.6rem); line-height: 1.04; max-width: 12ch; }
  .hero .lead { margin-top: var(--space-md); font-size: 1rem; max-width: 26ch; }
  .hero__acts { margin-top: var(--space-lg); gap: var(--space-xs); justify-content: flex-start; }
  .hero__acts .btn { width: auto; flex: 0 0 auto; min-height: 40px; padding: 0 var(--space-md); font-size: 0.875rem; }

  #servicios.sec { padding-top: var(--space-2xl); padding-bottom: var(--space-2xl); }
  #servicios .sec__head h2 { font-size: clamp(1.6rem, 7vw, 2.1rem); line-height: 1.08; }
  .tour__grid { margin-top: var(--space-md); gap: var(--space-md); }
  .tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-xs); }
  .tab { padding: var(--space-sm) var(--space-md); gap: 0; }
  .tab__icon { width: 34px; height: 34px; border-radius: 11px; }
  .tab__icon svg { width: 18px; height: 18px; }
  .tab__name { margin-top: var(--space-xs); font-size: 0.9375rem; line-height: 1.25; }
  .tab__line { display: none; }
  .tour__stage { height: 25rem; }
}
@media (max-width: 60rem) {
  .hero { height: 78svh; min-height: 540px; }
  .hero__grid { align-content: start; padding-top: 5.75rem; }
}
@media (max-width: 60rem) { .hero { align-items: start; } .hero__grid { padding-top: 5.5rem; } }
@media (max-width: 60rem) { .hero__grid { padding-top: 0; } }

/* v18: Páginas ya entregadas = ventana de Mac con la página real + iPhone con su versión responsive */
.dv { position: relative; aspect-ratio: 1100 / 619; margin-top: var(--space-xl); }
.dv__ds { position: absolute; left: 0; top: 0; width: 1100px; height: 619px; transform-origin: 0 0; }
.dvm { position: absolute; left: 24px; top: 34px; width: 680px; height: 551px; border-radius: 12px; background: #1f232b; overflow: hidden; box-shadow: 0 0 0 1px rgba(255,255,255,0.15), 0 40px 70px -28px rgba(0,0,0,0.85); }
.dvm__tb { position: absolute; left: 0; right: 0; top: 0; height: 36px; display: flex; align-items: flex-end; gap: 14px; padding: 0 12px; background: #2a2f39; }
.dvm__lights { display: flex; gap: 7px; align-self: center; }
.dvm__lights i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.dvm__lights i:nth-child(2) { background: #febc2e; } .dvm__lights i:nth-child(3) { background: #28c840; }
.dvm__tabs { display: flex; gap: 3px; flex: 1; height: 28px; min-width: 0; }
.dvtab { flex: 1; max-width: 180px; min-width: 0; display: flex; gap: 7px; align-items: center; padding: 0 11px; border: 0; border-radius: 9px 9px 0 0; background: none; color: #9aa4b5; font: 500 12px/1 var(--font-body); cursor: pointer; white-space: nowrap; overflow: hidden; transition: color var(--dur-short) var(--ease-out), background-color var(--dur-short) var(--ease-out); }
.dvtab em { flex: none; width: 10px; height: 10px; border-radius: 3px; }
.dvtab:hover { color: #fff; } .dvtab[aria-selected="true"] { background: #343a46; color: #fff; }
.dvm__nb { position: absolute; left: 0; right: 0; top: 36px; height: 34px; display: flex; align-items: center; gap: 8px; padding: 0 14px; background: #343a46; color: #8d97a8; font-size: 15px; }
.dvm__url { flex: 1; height: 22px; display: flex; align-items: center; justify-content: center; padding: 0 10px; border-radius: 7px; background: #232831; color: #d6e3ff; font-size: 12px; white-space: nowrap; }
.dvm__vp { position: absolute; left: 0; right: 0; top: 70px; bottom: 0; overflow: hidden; background: #fff; }
.dvp { position: absolute; left: 771px; top: 36px; width: 262px; height: 548px; border-radius: 46px; background: #0b0c0f; box-shadow: 0 0 0 3px #2e323a, 0 0 0 4.5px rgba(255,255,255,0.14), 0 40px 60px -22px rgba(0,0,0,0.9); animation: dvfl 7s ease-in-out infinite; }
.dvp::before, .dvp::after { content: ""; position: absolute; width: 3px; border-radius: 2px; background: #2e323a; }
.dvp::before { left: -6px; top: 116px; height: 38px; } .dvp::after { right: -6px; top: 158px; height: 66px; }
.dvp__vp { position: absolute; left: 10px; top: 10px; width: 242px; height: 528px; border-radius: 37px; overflow: hidden; background: #fff; }
.dvp__isl { position: absolute; left: 50%; top: 20px; width: 74px; height: 21px; margin-left: -37px; border-radius: 99px; background: #000; z-index: 7; pointer-events: none; }
@keyframes dvfl { 50% { transform: translateY(-6px); } }
.dvm__vp iframe, .dvp__vp iframe { position: absolute; left: 0; top: 0; border: 0; background: #fff; transform-origin: 0 0; opacity: 0; pointer-events: none; transition: opacity 500ms var(--ease-out); }
.dvm__vp iframe.on, .dvp__vp iframe.on { opacity: 1; }
.dvgc { position: absolute; left: 0; top: 0; z-index: 30; width: 24px; height: 24px; pointer-events: none; opacity: 0; transition: transform 750ms cubic-bezier(0.4, 0.1, 0.2, 1), opacity 400ms; filter: drop-shadow(0 2px 3px rgba(0,0,0,0.7)); }
.dvgc::before { content: ""; position: absolute; inset: 0; background: #fff; clip-path: polygon(0 0, 0 100%, 30% 75%, 50% 100%, 65% 92%, 45% 68%, 85% 65%); }
.dvgc.tap::after { content: ""; position: absolute; left: -10px; top: -10px; width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--color-accent); animation: dvtap 500ms ease-out; }
@keyframes dvtap { from { transform: scale(0.3); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.dvchip { position: absolute; left: 24px; bottom: 0; z-index: 40; display: flex; gap: 8px; align-items: center; padding: 6px 12px; border: 0; border-radius: 99px; background: color-mix(in oklab, var(--color-paper-2) 85%, transparent); color: var(--color-ink-2); font: 400 12px/1 var(--font-body); cursor: pointer; box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--color-light) 14%, transparent); }
.dvchip b { color: var(--color-ink); font-weight: 600; } .dvchip:hover { background: var(--color-paper-3); }
.dv__pills { display: none; }
@media (max-width: 47.5rem) {
  .dv { aspect-ratio: 330 / 600; margin-top: var(--space-lg); }
  .dv__ds { width: 330px; height: 600px; }
  .dvm { display: none; }
  .dvp { left: 34px; top: 20px; }
  .dvchip { left: 50%; transform: translateX(-50%); bottom: -4px; }
  .dv__pills { display: flex; gap: var(--space-xs); justify-content: center; margin-top: var(--space-md); }
  .dv__pill { padding: 8px 14px; border: 0; border-radius: 99px; background: color-mix(in oklab, var(--color-light) 6%, transparent); color: var(--color-muted); font: 500 0.875rem/1 var(--font-body); cursor: pointer; }
  .dv__pill.on { background: color-mix(in oklab, var(--color-accent) 18%, transparent); color: var(--color-ink); }
}
@media (prefers-reduced-motion: reduce) { .dvp { animation: none; } }

/* v19: ventana más grande (se sale del ancho del texto para que las páginas se vean bien) */
.dv { aspect-ratio: 1240 / 700; width: min(1420px, calc(100vw - 2 * var(--space-lg))); left: 50%; transform: translateX(-50%); }
.dv__ds { width: 1240px; height: 700px; }
.dvm { left: 10px; top: 24px; width: 860px; height: 652px; }
.dvp { left: 920px; top: 47px; width: 290px; height: 606px; border-radius: 50px; }
.dvp::before { top: 126px; height: 42px; } .dvp::after { top: 176px; height: 74px; }
.dvp__vp { width: 270px; height: 586px; border-radius: 41px; }
.dvp__isl { width: 82px; height: 23px; margin-left: -41px; top: 22px; }
.dvchip { left: 10px; }
@media (max-width: 47.5rem) {
  .dv { width: 100%; left: 0; transform: none; aspect-ratio: 330 / 600; }
  .dv__ds { width: 330px; height: 600px; }
  .dvp { left: 34px; top: 20px; width: 262px; height: 548px; border-radius: 46px; }
  .dvp::before { top: 116px; height: 38px; } .dvp::after { top: 158px; height: 66px; }
  .dvp__vp { width: 242px; height: 528px; border-radius: 37px; }
  .dvp__isl { width: 74px; height: 21px; margin-left: -37px; top: 20px; }
  .dvchip { left: 50%; }
}
.dvchip { white-space: nowrap; }

/* v20: sin cartel de modo manual; el iPhone con el color de cada página arriba */
.dvchip{display:none}
.dvp__vp{background:#f5f1ea}
.dvp__vp iframe{background:transparent}

/* v21: sin el borde blanco finito alrededor de la ventana de Mac */
.dvm { box-shadow: 0 40px 70px -28px rgba(0,0,0,0.85); }
.dvp { box-shadow: 0 0 0 3px #2e323a, 0 40px 60px -22px rgba(0,0,0,0.9); }

/* v22: se puede deslizar y usar las páginas de adentro */
.dvm__vp iframe.on, .dvp__vp iframe.on { pointer-events: auto; }

/* Sobre mí: tarjeta "Cómo trabajamos" (reemplaza el retrato) */
.how { padding: var(--space-xl); border-radius: var(--radius-card); }
.how__title { margin: 0 0 var(--space-sm); font: 500 1.25rem/1.3 var(--font-display); color: var(--color-ink); }
.how .steps li { grid-template-columns: 36px minmax(0, 1fr); padding: var(--space-md) 0; }
.how .steps li:first-child { border-top: 0; }
.how__n { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; font: 600 0.875rem/1 var(--font-display); color: var(--color-ink); background: color-mix(in oklab, var(--color-light) 10%, transparent); }

/* Paquetes */
.pk__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-lg); margin-top: var(--space-xl); align-items: stretch; }
.pk { display: flex; flex-direction: column; gap: var(--space-xs); padding: var(--space-xl) var(--space-lg); }
.pk--feat { box-shadow: var(--glass-hi), var(--shadow-card), 0 0 0 1px color-mix(in oklab, var(--color-accent) 55%, transparent); }
.pk__tag { align-self: flex-start; padding: 4px 10px; border-radius: var(--radius-pill); background: color-mix(in oklab, var(--color-accent) 18%, transparent); color: var(--color-accent); font: 600 var(--text-xs)/1.4 var(--font-body); }
.pk__name { margin: 0; font: 500 var(--text-xl)/1.2 var(--font-display); color: var(--color-ink); }
.pk__sub { margin: 0; color: var(--color-muted); }
.pk__price { margin: var(--space-md) 0 0; font: 500 var(--text-2xl)/1.1 var(--font-display); color: var(--color-ink); }
.pk__note { margin: 0; color: var(--color-muted); font-size: var(--text-sm); }
.pk__list { list-style: none; margin: var(--space-md) 0 var(--space-lg); padding: 0; display: grid; gap: var(--space-xs); color: var(--color-ink-2); font-size: 0.9375rem; }
.pk__list li { position: relative; padding-left: 22px; }
.pk__list li::before { content: ""; position: absolute; left: 2px; top: 0.45em; width: 10px; height: 6px; border-left: 2px solid var(--color-accent); border-bottom: 2px solid var(--color-accent); transform: rotate(-45deg); }
.pk__btn { margin-top: auto; }
@media (max-width: 900px) { .pk__grid { grid-template-columns: minmax(0, 1fr); max-width: 460px; } }

/* Preguntas frecuentes */
.faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: var(--space-2xl); align-items: start; }
.faq__list { display: grid; gap: var(--space-sm); }
.faq__it { border-radius: var(--radius-inner); padding: 0; }
.faq__it summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: var(--space-md); align-items: center; padding: var(--space-md) var(--space-lg); font: 500 1.0625rem/1.4 var(--font-display); color: var(--color-ink); }
.faq__it summary::-webkit-details-marker { display: none; }
.faq__it summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: color-mix(in oklab, var(--color-light) 8%, transparent); color: var(--color-ink-2); font-weight: 400; transition: transform var(--dur-short) var(--ease-out); }
.faq__it[open] summary::after { transform: rotate(45deg); }
.faq__it p { margin: 0; padding: 0 var(--space-lg) var(--space-lg); color: var(--color-muted); max-width: 60ch; }
.faq__it summary:focus-visible { outline: 2px solid var(--color-focus); outline-offset: -2px; border-radius: var(--radius-inner); }
@media (max-width: 900px) { .faq { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); } }
#preguntas { padding-bottom: var(--section-gap); }

/* Botón flotante de WhatsApp */
.wa-fab { position: fixed; right: 20px; bottom: 20px; z-index: 90; display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 20px 0 16px; border-radius: var(--radius-pill); background: #25d366; color: #0b2e17; font: 600 0.9375rem/1 var(--font-body); text-decoration: none; box-shadow: 0 10px 30px -8px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.35); transition: transform .25s ease, box-shadow .25s ease; }
.wa-fab svg { width: 26px; height: 26px; fill: currentColor; }
.wa-fab:hover { transform: translateY(-3px); box-shadow: 0 16px 36px -10px rgba(0,0,0,.6), 0 0 0 6px rgba(37,211,102,.18); }
.wa-fab:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
@media (max-width: 640px) { .wa-fab { right: 16px; bottom: 16px; width: 56px; padding: 0; justify-content: center; } .wa-fab span { display: none; } }
@media (prefers-reduced-motion: no-preference) { .wa-fab { animation: wa-in .6s .8s both cubic-bezier(.2,.7,.2,1); } @keyframes wa-in { from { opacity: 0; transform: translateY(16px) scale(.9); } } }

/* Tarjetas sólidas (sin blur) + animaciones de paquetes y preguntas */
.pk, .faq__it, .how { background: color-mix(in oklab, var(--color-paper-2) 92%, var(--color-light) 3%); box-shadow: inset 0 1px 0 color-mix(in oklab, var(--color-light) 8%, transparent), inset 0 0 0 1px color-mix(in oklab, var(--color-light) 7%, transparent), 0 20px 40px -24px rgba(0,0,0,.6); border-radius: var(--radius-card); }
.faq__it { border-radius: var(--radius-inner); overflow: hidden; }
.pk--feat { box-shadow: inset 0 1px 0 color-mix(in oklab, var(--color-light) 10%, transparent), 0 0 0 1px color-mix(in oklab, var(--color-accent) 55%, transparent), 0 24px 50px -24px color-mix(in oklab, var(--color-accent) 35%, transparent); }
.pk { transition: transform .45s cubic-bezier(.2,.7,.2,1), box-shadow .45s ease; }
.pk:hover { transform: translateY(-6px); }
@media (prefers-reduced-motion: no-preference) {
  .js-anim .pk { opacity: 0; transform: translateY(36px) scale(.97); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1), box-shadow .45s ease; }
  .js-anim .pk.in { opacity: 1; transform: none; }
  .js-anim .pk.in:hover { transform: translateY(-6px); transition-delay: 0s !important; }
  .js-anim .pk:nth-child(2) { transition-delay: .15s; } .js-anim .pk:nth-child(3) { transition-delay: .3s; }
  .pk--feat .pk__tag { animation: pk-pulse 2.6s ease-in-out infinite; }
  @keyframes pk-pulse { 50% { box-shadow: 0 0 0 6px color-mix(in oklab, var(--color-accent) 14%, transparent); } }
  .js-anim .faq__it { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
  .js-anim .faq__it.in { opacity: 1; transform: none; }
}
.faq__it summary { transition: color .25s ease; }
.faq__it[open] summary { color: var(--color-accent); }
.faq__it p { transform-origin: top; }

/* ===== v3: selector de proyectos, paquetes en carrusel (celular) y preguntas nuevas ===== */
/* selector debajo del celular */
.dv__pills { display: none; }
@media (max-width: 760px) {
  .dvp { animation: none; }
  .dv__pills { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; gap: 10px; max-width: 360px; margin: var(--space-md) auto 0; }
  .dvc__nav { width: 44px; height: 44px; border: 0; border-radius: 50%; display: grid; place-items: center; background: color-mix(in oklab, var(--color-light) 7%, transparent); color: var(--color-ink); cursor: pointer; transition: background .25s, transform .2s; }
  .dvc__nav:active { transform: scale(.92); background: color-mix(in oklab, var(--color-accent) 22%, transparent); }
  .dvc__nav svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  .dvc__info { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 8px 14px; border-radius: 16px; background: color-mix(in oklab, var(--color-light) 4%, transparent); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--color-light) 8%, transparent); }
  .dvc__info.in > span { animation: dvc-in .45s cubic-bezier(.2,.7,.2,1); }
  @keyframes dvc-in { from { opacity: 0; transform: translateY(6px); } }
  .dvc__dot { flex: none; width: 10px; height: 10px; border-radius: 50%; box-shadow: 0 0 0 4px color-mix(in oklab, var(--color-light) 6%, transparent); transition: background .3s; }
  .dvc__info > span { display: grid; min-width: 0; line-height: 1.25; }
  .dvc__info strong { font: 600 0.9375rem/1.25 var(--font-display); color: var(--color-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .dvc__info small { font-size: 0.75rem; color: var(--color-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .dvc__num { margin-left: auto; font: 500 0.75rem/1 var(--font-body); font-style: normal; color: var(--color-muted); }
  .dvc__bar { grid-column: 1 / -1; display: flex; justify-content: center; gap: 6px; }
  .dvc__seg { width: 18px; height: 4px; padding: 0; border: 0; border-radius: 4px; background: color-mix(in oklab, var(--color-light) 14%, transparent); cursor: pointer; transition: width .35s cubic-bezier(.2,.7,.2,1), background .3s; }
  .dvc__seg.on { width: 34px; background: var(--color-accent); }
}

/* paquetes: carrusel deslizable en el celular */
.pk__dots { display: none; }
@media (max-width: 900px) {
  .pk__grid { display: flex; max-width: none; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain; margin-inline: calc(50% - 50vw); padding: 6px max(20px, calc(50vw - 50%)) 14px; scroll-padding-inline: max(20px, calc(50vw - 50%)); scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .pk__grid::-webkit-scrollbar { display: none; }
  .pk { flex: 0 0 min(82vw, 340px); scroll-snap-align: center; padding: var(--space-lg); gap: 6px; }
  .pk__price { margin-top: var(--space-xs); font-size: var(--text-xl); }
  .pk__list { margin: var(--space-sm) 0 var(--space-md); gap: 6px; font-size: 0.875rem; }
  .pk:hover, .js-anim .pk.in:hover { transform: none; }
  .pk__dots { display: flex; justify-content: center; gap: 6px; margin-top: var(--space-sm); }
  .pk__dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 8px; background: color-mix(in oklab, var(--color-light) 18%, transparent); cursor: pointer; transition: width .35s cubic-bezier(.2,.7,.2,1), background .3s; }
  .pk__dots button.on { width: 26px; background: var(--color-accent); }
  .js-anim .pk { transform: translateX(40px); }
  .js-anim .pk.in { transform: none; }
}

/* preguntas frecuentes: lista limpia numerada */
.faq__list { counter-reset: q; gap: 0; border-top: 1px solid color-mix(in oklab, var(--color-light) 10%, transparent); }
.faq__it { background: none; box-shadow: none; border-radius: 0; border-bottom: 1px solid color-mix(in oklab, var(--color-light) 10%, transparent); }
.faq__it summary { padding: var(--space-lg) 0; gap: var(--space-md); justify-content: flex-start; font-size: 1.0625rem; }
.faq__it summary::before { counter-increment: q; content: counter(q, decimal-leading-zero); flex: none; min-width: 2ch; font: 500 0.8125rem/1 var(--font-body); color: var(--color-muted); transition: color .25s; }
.faq__it summary::after { content: ""; margin-left: auto; width: 34px; height: 34px; border-radius: 50%; background: color-mix(in oklab, var(--color-light) 6%, transparent) center / 14px 14px no-repeat; background-image: linear-gradient(currentColor, currentColor), linear-gradient(currentColor, currentColor); background-size: 14px 2px, 2px 14px; color: var(--color-ink-2); transition: transform .4s cubic-bezier(.2,.7,.2,1), background-color .3s, color .3s; }
.faq__it[open] summary::after { transform: rotate(135deg); background-color: var(--color-accent); color: var(--color-accent-ink); }
.faq__it[open] summary, .faq__it[open] summary::before { color: var(--color-ink); }
.faq__it[open] summary::before { color: var(--color-accent); }
.faq__it summary:hover::after { background-color: color-mix(in oklab, var(--color-light) 12%, transparent); }
.faq__it[open] summary:hover::after { background-color: var(--color-accent-hi); }
.faq__it p { padding: 0 48px var(--space-lg) calc(2ch + var(--space-md)); color: var(--color-ink-2); }
.faq__cta { display: inline-flex; gap: 6px; margin-top: var(--space-lg); color: var(--color-muted); text-decoration: none; font-size: 0.9375rem; }
.faq__cta b { color: var(--color-accent); font-weight: 600; }
.faq__cta:hover b { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 640px) { .faq__it summary { padding: 18px 0; font-size: 1rem; } .faq__it p { padding-right: 0; } }

/* ===== Hero: chat de WhatsApp animado (reemplaza la lista de proyectos) ===== */
.chat { justify-self: end; width: min(100%, 420px); border-radius: 26px; overflow: hidden; background: #efe7dd; box-shadow: 0 40px 80px -30px rgba(10,14,30,.55), 0 0 0 1px rgba(255,255,255,.5); font-family: var(--font-body); }
.chat__head { display: flex; align-items: center; gap: 12px; padding: 14px 18px; background: #075e54; color: #fff; }
.chat__av { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--color-accent); color: var(--color-accent-ink); font: 700 1rem/1 var(--font-display); }
.chat__who { display: grid; line-height: 1.25; } .chat__who b { font-weight: 600; font-size: .9875rem; } .chat__who small { font-size: .78rem; opacity: .8; }
.chat__body { display: flex; flex-direction: column; gap: 8px; height: 400px; padding: 18px 16px; overflow: hidden; justify-content: flex-end;
  background-color: #efe7dd; background-image: radial-gradient(rgba(0,0,0,.035) 1px, transparent 1px); background-size: 14px 14px; }
.msg { position: relative; max-width: 82%; margin: 0; padding: 9px 12px; border-radius: 12px; font-size: .9rem; line-height: 1.4; color: #111b21; box-shadow: 0 1px 1px rgba(0,0,0,.08); }
.msg--in { align-self: flex-start; background: #fff; border-top-left-radius: 4px; }
.msg--out { align-self: flex-end; background: #d9fdd3; border-top-right-radius: 4px; }
.msg--out::after { content: "✓✓"; margin-left: 8px; font-size: .7rem; letter-spacing: -2px; color: #53bdeb; }
.msg--card { padding: 6px; } .msg--card::after { position: absolute; right: 10px; bottom: 4px; }
.mini { width: 220px; border-radius: 9px; overflow: hidden; background: #fff; }
.mini__bar { display: flex; align-items: center; gap: 6px; padding: 6px 8px; background: #f1f1f1; font-size: .68rem; color: #667; } .mini__bar i { width: 7px; height: 7px; border-radius: 50%; background: #25d366; }
.mini__in { display: grid; gap: 4px; padding: 12px 10px 20px; background: linear-gradient(160deg, #2b2340, #6b4f7a); color: #fff; }
.mini__in b { font: 600 1rem/1.2 var(--font-display); } .mini__in span { font-size: .7rem; opacity: .8; }
.mini__slots { display: flex; gap: 5px; margin-top: 6px; } .mini__slots em { font-style: normal; font-size: .68rem; padding: 4px 7px; border-radius: 6px; background: rgba(255,255,255,.16); } .mini__slots em.on { background: #fff; color: #2b2340; font-weight: 600; }
.typing { display: flex; gap: 4px; padding: 12px 14px; } .typing i { width: 7px; height: 7px; border-radius: 50%; background: #9aa5ab; animation: typ 1.1s infinite ease-in-out; } .typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typ { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }
/* aparición de mensajes (solo con JS; sin JS se ven todos) */
.js-chat .chat__body .msg { display: none; }
.js-chat .chat__body .msg.show { display: block; animation: msg-in .45s cubic-bezier(.2,.7,.2,1) both; }
.js-chat .chat__body .typing.show { display: flex; }
.js-chat .chat__body.fade .msg { opacity: 0; transition: opacity .5s; }
@keyframes msg-in { from { opacity: 0; transform: translateY(10px) scale(.96); } }
@media (max-width: 900px) { .chat { justify-self: center; width: min(100%, 380px); } .chat__body { height: 340px; } .msg { font-size: .85rem; } }
@media (prefers-reduced-motion: reduce) { .typing i { animation: none; } }
@media (max-width: 900px) { .hero { height: auto; min-height: 0; max-height: none; padding-bottom: 56px; } .chat__body { height: 310px; } }

/* ===== Hero: opciones para comparar (1 se arma sola · 2 antes/después · chat) ===== */
.hv { justify-self: end; width: min(100%, 440px); }
.hv > .hb, .hv > .ba, .hv > .chat { display: none; }
.hv[data-hv="build"] > .hb, .hv[data-hv="ba"] > .ba, .hv[data-hv="chat"] > .chat { display: block; }
.hv > .chat { width: 100%; }
@media (max-width: 900px) { .hv { justify-self: center; width: min(100%, 400px); } }
.hv-pick { position: fixed; left: 16px; bottom: 16px; z-index: 95; display: flex; align-items: center; gap: 4px; padding: 5px; border-radius: 99px; background: rgba(12,16,30,.88); box-shadow: 0 10px 30px -10px #000, inset 0 0 0 1px rgba(255,255,255,.12); font: 500 .8rem/1 var(--font-body); color: #cfd6e6; }
.hv-pick span { padding: 0 8px 0 10px; opacity: .7; }
.hv-pick button { border: 0; padding: 9px 12px; border-radius: 99px; background: none; color: inherit; font: inherit; cursor: pointer; }
.hv-pick button.on { background: var(--color-accent); color: var(--color-accent-ink); }
@media (max-width: 640px) { .hv-pick { left: 8px; right: 84px; bottom: 18px; overflow-x: auto; } .hv-pick span { display: none; } .hv-pick button { white-space: nowrap; padding: 9px 10px; } }

/* página premium de ejemplo (Lumi), usada en "se arma sola" y en "después" */
.pw { position: relative; height: 100%; overflow: hidden; background: #120f0d; color: #f3ece4; font-family: var(--font-body); }
.pw__nav { position: relative; z-index: 2; display: flex; align-items: center; gap: 14px; padding: 14px 18px; }
.pw__logo { font: 500 .95rem/1 ui-serif, Georgia, "Times New Roman", serif; letter-spacing: .38em; }
.pw__links { display: flex; gap: 12px; margin-left: auto; font-size: .64rem; letter-spacing: .08em; color: #b7ab9e; } .pw__links i { font-style: normal; }
.pw__navbtn { font-style: normal; font-size: .62rem; font-weight: 600; padding: 6px 11px; border-radius: 99px; box-shadow: inset 0 0 0 1px rgba(212,175,122,.6); color: #e8cfa4; }
.pw__hero { position: relative; height: 222px; margin: 0 12px; border-radius: 16px; overflow: hidden; }
.pw__bg { position: absolute; inset: 0; background: radial-gradient(60% 80% at 78% 30%, #c79a6b 0%, rgba(199,154,107,0) 60%), radial-gradient(70% 90% at 90% 100%, #6e4a5e, transparent 70%), linear-gradient(120deg, #1d1714 30%, #3a2a24); }
.pw__bg i { position: absolute; right: 10%; bottom: -14px; width: 120px; height: 170px; border-radius: 60px 60px 8px 8px; background: linear-gradient(180deg, rgba(255,240,225,.32), rgba(255,240,225,.06)); }
.pw__bg i::before { content: ""; position: absolute; left: 50%; top: -48px; width: 66px; height: 66px; margin-left: -33px; border-radius: 50%; background: radial-gradient(circle at 40% 35%, rgba(255,245,235,.6), rgba(255,240,225,.18)); }
.pw__txt { position: relative; z-index: 1; display: grid; gap: 8px; max-width: 62%; padding: 22px 18px; }
.pw__txt small { font-size: .58rem; letter-spacing: .22em; text-transform: uppercase; color: #e8cfa4; }
.pw__txt h4 { margin: 0; font: 400 1.75rem/1 ui-serif, Georgia, "Times New Roman", serif; letter-spacing: -.02em; }
.pw__txt h4 em { font-style: italic; color: #e8cfa4; }
.pw__btns { display: flex; gap: 6px; margin-top: 6px; } .pw__btns em { font-style: normal; font-size: .62rem; font-weight: 600; padding: 8px 12px; border-radius: 99px; }
.pw__b1 { background: #e8cfa4; color: #1a120c; transition: transform .15s; } .pw__b2 { box-shadow: inset 0 0 0 1px rgba(243,236,228,.35); }
.pw__book { position: absolute; right: 12px; bottom: 12px; z-index: 1; display: grid; gap: 6px; padding: 10px 12px; border-radius: 12px; background: rgba(18,15,13,.55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.pw__book b { font-size: .66rem; font-weight: 600; } .pw__book small { font-size: .56rem; color: #b7ab9e; }
.pw__slots { display: flex; gap: 4px; } .pw__slots i { font-style: normal; font-size: .58rem; padding: 4px 6px; border-radius: 6px; background: rgba(255,255,255,.1); transition: background .3s, color .3s; }
.ba__after .pw__pick, .hb.s8 .pw__pick { background: #e8cfa4; color: #1a120c; font-weight: 700; }
.pw__strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 12px; }
.pw__strip span { display: grid; gap: 2px; padding: 10px 12px; border-radius: 12px; background: #1c1815; font-size: .64rem; color: #b7ab9e; box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); } .pw__strip b { font: 400 .9rem/1.2 ui-serif, Georgia, serif; color: #f3ece4; }

/* 1 · la página se arma sola */
.hb { border-radius: 18px; overflow: hidden; background: #120f0d; box-shadow: 0 40px 80px -30px rgba(10,14,30,.6), 0 0 0 1px rgba(255,255,255,.18); font-family: var(--font-body); }
.hb__top { display: flex; align-items: center; gap: 12px; padding: 10px 12px; background: #221d1a; }
.hb__dots { display: flex; gap: 6px; } .hb__dots i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; } .hb__dots i:nth-child(2) { background: #febc2e; } .hb__dots i:nth-child(3) { background: #28c840; }
.hb__url { flex: 1; display: flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 7px; background: #120f0d; font-size: .75rem; color: #b7ab9e; } .hb__url b { font-size: .65rem; }
.hb__url u { width: 1px; height: 12px; background: #e8cfa4; animation: blink 1s steps(1) infinite; } @keyframes blink { 50% { opacity: 0; } }
.hb__page { position: relative; height: 340px; }
.hb__wa { position: absolute; right: 14px; bottom: 14px; z-index: 3; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #25d366; color: #fff; box-shadow: 0 8px 18px -6px rgba(0,0,0,.5); }
.hb__wa svg { width: 21px; height: 21px; fill: currentColor; }
.hb__cursor { position: absolute; left: 75%; top: 92%; width: 22px; height: 22px; z-index: 4; transition: left 1s cubic-bezier(.4,0,.2,1), top 1s cubic-bezier(.4,0,.2,1), transform .15s, opacity .4s; }
.hb__cursor svg { width: 100%; height: 100%; fill: #fff; stroke: #111; stroke-width: 1.5; }
.hb__toast { position: absolute; left: 50%; top: 12px; z-index: 5; transform: translate(-50%, -70px); padding: 9px 14px; border-radius: 10px; background: #e8cfa4; color: #1a120c; font-size: .72rem; font-weight: 700; white-space: nowrap; box-shadow: 0 10px 24px -10px rgba(0,0,0,.6); transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.hb__status { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: #1a1613; font-size: .72rem; font-weight: 600; color: #e8cfa4; }
.hb__prog { flex: 1; height: 4px; border-radius: 4px; background: #3a322c; overflow: hidden; } .hb__prog b { display: block; height: 100%; width: 0; background: #e8cfa4; transition: width .6s ease; }
.js-hb .pw__nav, .js-hb .pw__bg, .js-hb .pw__txt small, .js-hb .pw__txt h4, .js-hb .pw__btns, .js-hb .pw__book, .js-hb .pw__strip span, .js-hb .hb__wa, .js-hb .hb__cursor { opacity: 0; transform: translateY(12px); transition: opacity .6s cubic-bezier(.2,.7,.2,1), transform .6s cubic-bezier(.2,.7,.2,1), left 1s cubic-bezier(.4,0,.2,1), top 1s cubic-bezier(.4,0,.2,1); }
.js-hb .pw__bg { transform: scale(1.08); transition-duration: 1.1s; } .js-hb .hb__wa { transform: scale(.4); }
.hb.s1 .pw__nav, .hb.s2 .pw__bg, .hb.s3 .pw__txt small, .hb.s3 .pw__txt h4, .hb.s4 .pw__btns, .hb.s5 .pw__book, .hb.s5 .pw__strip span, .hb.s6 .hb__wa { opacity: 1; transform: none; }
.hb.s3 .pw__txt h4 { transition-delay: .12s; }
.hb.s5 .pw__strip span:nth-child(2) { transition-delay: .12s; } .hb.s5 .pw__strip span:nth-child(3) { transition-delay: .24s; }
.hb.s6 .hb__wa { transition-timing-function: cubic-bezier(.3,1.6,.5,1); }
.hb.s7 .hb__cursor { opacity: 1; transform: none; }
.hb.s8 .hb__cursor { transform: scale(.82); } .hb.s8 .pw__b1 { transform: scale(.94); }
.hb.s8 .hb__toast { transform: translate(-50%, 0); }
.hb.out .hb__page { opacity: 0; transition: opacity .4s; }

/* 2 · antes (página vieja) / después (página premium) */
.ba { --x: 50%; position: relative; height: 470px; border-radius: 18px; overflow: hidden; background: #fff; box-shadow: 0 40px 80px -30px rgba(10,14,30,.6), 0 0 0 1px rgba(255,255,255,.4); touch-action: pan-y; cursor: ew-resize; user-select: none; }
.ba__side { position: absolute; inset: 0; display: flex; flex-direction: column; }
.ba__side > .pw, .ba__side > .ow { flex: 1; height: auto; }
.ba__after { clip-path: inset(0 0 0 var(--x)); }
.bw__bar { display: flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; background: #221d1a; font: .72rem/1 var(--font-body); color: #b7ab9e; }
.bw__bar i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; } .bw__bar i:nth-child(2) { background: #febc2e; } .bw__bar i:nth-child(3) { background: #28c840; } .bw__bar span { margin-left: 8px; }
.bw__bar--old { background: linear-gradient(#ece9d8, #d6d2c2); color: #000; font: 11px/1 Tahoma, Verdana, sans-serif; border-bottom: 1px solid #919b9c; } .bw__bar--old span { margin: 0; padding: 4px 6px; background: #fff; border: 1px solid #7f9db9; width: 100%; white-space: nowrap; overflow: hidden; }
.ow { padding: 10px 12px; background: #fff8c4 repeating-linear-gradient(45deg, rgba(0,0,0,.025) 0 6px, transparent 6px 12px); font: 13px/1.35 "Times New Roman", Times, serif; color: #000; }
.ow__ban { padding: 8px 0; background: #0000cc; color: #ffff00; font: bold 17px/1.1 "Comic Sans MS", "Comic Sans", cursive; text-align: center; border: 3px outset #6666ff; }
.ow__ban marquee { display: block; }
.ow__links { margin: 8px 0; text-align: center; color: #0000ee; } .ow__links u { cursor: pointer; }
.ow hr { border: 0; border-top: 2px groove #999; margin: 6px 0 10px; }
.ow__tbl { width: 100%; border: 3px outset #aaa; border-collapse: separate; background: #fff; } .ow__tbl td { border: 1px inset #aaa; padding: 6px; vertical-align: top; font-size: 12px; }
.ow__img { width: 80px; height: 80px; background: #ddd; color: #888; font: 10px Arial, sans-serif; text-align: center; vertical-align: middle !important; }
.ow__wip { margin: 12px 0; padding: 6px; text-align: center; font: bold 12px Arial, sans-serif; color: #000; background: repeating-linear-gradient(-45deg, #ffcc00 0 10px, #222 10px 20px); }
.ow__wip { text-shadow: 0 0 2px #ffcc00, 0 0 2px #ffcc00, 0 0 2px #ffcc00; }
.ow__foot { margin: 8px 0 0; text-align: center; font-size: 11px; color: #555; } .ow__cnt { padding: 0 4px; background: #000; color: #0f0; font: 12px "Courier New", monospace; letter-spacing: 2px; }
.ba__tag { position: absolute; left: 12px; top: 50px; z-index: 2; padding: 6px 10px; border-radius: 99px; background: rgba(32,33,36,.85); color: #fff; font: 700 .66rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; }
.ba__tag--r { left: auto; right: 12px; background: #e8cfa4; color: #1a120c; }
.ba__line { position: absolute; top: 0; bottom: 0; left: var(--x); width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 14px rgba(0,0,0,.35); pointer-events: none; }
.ba__knob { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 42px; height: 42px; margin: -21px 0 0 -21px; border-radius: 50%; background: #fff; box-shadow: 0 6px 18px -4px rgba(0,0,0,.4); color: #1a120c; }
.ba__knob svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.ba .pw__hero { height: 250px; }
@media (max-width: 900px) { .ba { height: 440px; } .hb__page { height: 320px; } .pw__txt h4 { font-size: 1.45rem; } .pw__txt { max-width: 70%; } .pw__book { display: none; } .pw__hero { height: 200px; } .ba .pw__hero { height: 220px; } }
.ow__guest { margin: 4px 0 10px; text-align: center; font: bold 12px "Comic Sans MS", cursive; color: #cc0000; } .ow__guest u { color: #0000ee; }
.ow__prices td { font: 12px "Courier New", monospace; } .ow__prices td:first-child { width: 70px; background: #ffcc99; text-align: center; vertical-align: middle; font-family: Arial, sans-serif; }
.ba__tag { top: auto; bottom: 12px; }
@media (max-width: 900px) { .ba { height: 420px; } }

/* ===== v4: Lumi más grande y a la izquierda; antes/después con ropa deportiva ===== */
@media (min-width: 901px) {
  .hero__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-xl); }
  .hv { justify-self: start; width: min(100%, 600px); margin-left: -12px; }
  .hb__page { height: 430px; }
  .hb .pw__nav { padding: 18px 22px; } .hb .pw__logo { font-size: 1.1rem; } .hb .pw__links { font-size: .74rem; gap: 16px; } .hb .pw__navbtn { font-size: .72rem; padding: 7px 13px; }
  .hb .pw__hero { height: 286px; margin: 0 16px; border-radius: 18px; }
  .hb .pw__txt { padding: 30px 24px; gap: 10px; } .hb .pw__txt small { font-size: .66rem; } .hb .pw__txt h4 { font-size: 2.35rem; }
  .hb .pw__btns em { font-size: .72rem; padding: 10px 15px; }
  .hb .pw__book { right: 16px; bottom: 16px; padding: 12px 14px; gap: 8px; } .hb .pw__book b { font-size: .76rem; } .hb .pw__slots i { font-size: .68rem; padding: 5px 8px; } .hb .pw__book small { font-size: .64rem; }
  .hb .pw__bg i { width: 150px; height: 210px; border-radius: 75px 75px 10px 10px; } .hb .pw__bg i::before { width: 80px; height: 80px; margin-left: -40px; top: -58px; }
  .hb .pw__strip { padding: 16px; gap: 10px; } .hb .pw__strip span { font-size: .72rem; padding: 12px 14px; } .hb .pw__strip b { font-size: 1.05rem; }
  .hb__url { font-size: .82rem; height: 30px; } .hb__status { font-size: .78rem; padding: 12px 16px; }
  .hb__wa { width: 44px; height: 44px; right: 18px; bottom: 18px; } .hb__toast { font-size: .8rem; padding: 10px 16px; }
  .ba { height: 520px; }
}
.ba__before { background: #fff; }
.bw__bar--plain { background: #e9e9ec; color: #555; }
/* antes: página común */
.nw { flex: 1; padding: 0; background: #fff; color: #333; font: 13px/1.4 Arial, Helvetica, sans-serif; overflow: hidden; }
.nw__nav { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; border-bottom: 1px solid #ddd; } .nw__nav b { color: #1e5bb8; font-size: 15px; } .nw__nav span { font-size: 11px; color: #1e5bb8; }
.nw__ban { display: flex; gap: 10px; margin: 12px 14px; padding: 8px; background: #eef3fb; border: 1px solid #c9d8ef; }
.nw__ban img { width: 120px; height: 84px; object-fit: cover; background: #ccc; }
.nw__ban div { display: grid; gap: 4px; align-content: start; } .nw__ban b { font-size: 15px; color: #222; } .nw__ban span { font-size: 12px; color: #555; } .nw__ban em { justify-self: start; font-style: normal; font-size: 11px; padding: 4px 10px; background: #1e5bb8; color: #fff; border-radius: 3px; }
.nw__h { margin: 4px 14px 8px; font-weight: bold; font-size: 14px; border-bottom: 2px solid #1e5bb8; padding-bottom: 4px; }
.nw__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 0 14px; }
.nw__grid div { display: grid; gap: 3px; padding: 6px; border: 1px solid #ddd; text-align: center; } .nw__grid img { width: 100%; height: 80px; object-fit: cover; background: #ccc; }
.nw__grid span { font-size: 11px; } .nw__grid b { font-size: 12px; color: #c00; } .nw__grid em { font-style: normal; font-size: 11px; padding: 3px 0; background: #e6e6e6; border: 1px solid #bbb; border-radius: 2px; }
.nw__foot { margin: 12px 14px; padding-top: 8px; border-top: 1px solid #ddd; font-size: 10px; color: #888; text-align: center; }
/* después: landing premium */
.sx { flex: 1; display: flex; flex-direction: column; background: #0b0b0c; color: #f4f4f2; font-family: var(--font-body); overflow: hidden; }
.sx__hero { position: relative; height: 62%; min-height: 230px; overflow: hidden; background: linear-gradient(135deg, #1b1d22, #0b0b0c); }
.sx__hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: contrast(1.1) saturate(.9); }
.sx__hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,11,12,.92) 0%, rgba(11,11,12,.55) 50%, rgba(11,11,12,.1) 100%), linear-gradient(0deg, rgba(11,11,12,.9), transparent 45%); }
.sx__nav { position: absolute; z-index: 2; inset: 0 0 auto; display: flex; align-items: center; gap: 14px; padding: 14px 18px; font-size: .68rem; } .sx__nav b { font: 800 1rem/1 var(--font-display); letter-spacing: .18em; font-style: italic; } .sx__nav span { margin-left: auto; color: #c9c9c4; } .sx__nav em { font-style: normal; padding: 5px 9px; border-radius: 99px; background: #d4ff3a; color: #0b0b0c; font-weight: 700; }
.sx__txt { position: absolute; z-index: 2; left: 18px; bottom: 18px; display: grid; gap: 8px; }
.sx__txt small { font-size: .62rem; letter-spacing: .24em; text-transform: uppercase; color: #d4ff3a; font-weight: 700; }
.sx__txt h4 { margin: 0; font: 900 2.6rem/.88 var(--font-display); letter-spacing: -.03em; font-style: italic; text-transform: uppercase; } .sx__txt h4 i { color: #d4ff3a; }
.sx__btns { display: flex; gap: 6px; margin-top: 6px; } .sx__btns em { font-style: normal; font-size: .66rem; font-weight: 800; padding: 9px 13px; border-radius: 99px; text-transform: uppercase; letter-spacing: .04em; }
.sx__b1 { background: #d4ff3a; color: #0b0b0c; } .sx__b2 { box-shadow: inset 0 0 0 1px rgba(255,255,255,.4); }
.sx__mq { overflow: hidden; padding: 7px 0; background: #d4ff3a; color: #0b0b0c; font: 800 .62rem/1 var(--font-display); letter-spacing: .14em; white-space: nowrap; }
.sx__mq span { display: inline-block; animation: sxmq 14s linear infinite; } @keyframes sxmq { to { transform: translateX(-50%); } }
.sx__grid { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 10px; }
.sx__grid div { position: relative; border-radius: 12px; overflow: hidden; background: #1b1d22; min-height: 80px; }
.sx__grid img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sx__grid span { position: absolute; left: 8px; right: 8px; bottom: 8px; display: flex; justify-content: space-between; align-items: center; padding: 6px 8px; border-radius: 8px; background: rgba(11,11,12,.7); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); font-size: .62rem; font-weight: 700; } .sx__grid b { color: #d4ff3a; }
@media (max-width: 900px) { .sx__txt h4 { font-size: 2.1rem; } .sx__nav span { display: none; } .nw__ban img { width: 90px; height: 70px; } }

/* ===== v5: "se arma sola" = landing premium de ropa deportiva (Pulso) que se construye y se recorre ===== */
.hb, .hb__top, .hb__url, .hb__status { background-color: #0a0a0b; } .hb__top { background: #141416; } .hb__url { background: #0a0a0b; color: #a9a9a3; } .hb__url u { background: #d4ff3a; }
.hb__status { background: #111113; color: #d4ff3a; } .hb__prog { background: #26262a; } .hb__prog b { background: #d4ff3a; }
.hb__toast { background: #d4ff3a; color: #0a0a0b; }
.hb__page { overflow: hidden; background: #0a0a0b; }
.px { position: absolute; inset: 0 0 auto; color: #f4f4f2; font-family: var(--font-body); transition: transform 1.3s cubic-bezier(.65,0,.25,1); will-change: transform; }
.px img { display: block; width: 100%; height: 100%; object-fit: cover; }
.px__nav { position: absolute; z-index: 3; inset: 0 0 auto; display: flex; align-items: center; gap: 14px; padding: 14px 18px; font-size: .66rem; }
.px__nav b { font: 900 1.05rem/1 var(--font-display); letter-spacing: .2em; font-style: italic; } .px__nav span { margin-left: auto; color: #cfcfca; letter-spacing: .04em; }
.px__nav em { font-style: normal; padding: 5px 10px; border-radius: 99px; background: #d4ff3a; color: #0a0a0b; font-weight: 800; }
.px__hero { position: relative; height: 330px; overflow: hidden; }
.px__photo { position: absolute; inset: 0; background: radial-gradient(70% 90% at 75% 40%, #3a3f2a, #0a0a0b 70%); }
.px__photo img { filter: contrast(1.12) saturate(.85); }
.px__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,10,11,.95) 0%, rgba(10,10,11,.6) 48%, rgba(10,10,11,.05) 100%), linear-gradient(0deg, #0a0a0b 0%, transparent 40%); }
.px__txt { position: absolute; z-index: 2; left: 20px; bottom: 26px; display: grid; gap: 8px; max-width: 64%; }
.px__txt small { font-size: .6rem; font-weight: 800; letter-spacing: .26em; text-transform: uppercase; color: #d4ff3a; }
.px__txt h4 { display: grid; margin: 0; font: 900 3.1rem/.86 var(--font-display); letter-spacing: -.04em; font-style: italic; text-transform: uppercase; } .px__txt h4 i { color: #d4ff3a; }
.px__txt p { margin: 2px 0 0; font-size: .72rem; color: #bdbdb7; line-height: 1.45; }
.px__btns { display: flex; gap: 6px; margin-top: 8px; } .px__btns em { font-style: normal; font-size: .64rem; font-weight: 800; padding: 10px 14px; border-radius: 99px; text-transform: uppercase; letter-spacing: .05em; }
.px__b1 { background: #d4ff3a; color: #0a0a0b; } .px__b2 { box-shadow: inset 0 0 0 1px rgba(255,255,255,.4); }
.px__chip { position: absolute; z-index: 2; right: 16px; bottom: 26px; display: flex; align-items: center; gap: 10px; padding: 7px 12px 7px 7px; border-radius: 14px; background: rgba(20,20,22,.6); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); }
.px__chip img { width: 40px; height: 40px; border-radius: 9px; } .px__chip span { display: grid; } .px__chip b { font-size: .7rem; } .px__chip small { font-size: .6rem; color: #d4ff3a; }
.px__mq { overflow: hidden; padding: 8px 0; background: #d4ff3a; color: #0a0a0b; font: 900 .64rem/1 var(--font-display); letter-spacing: .14em; white-space: nowrap; }
.px__mq span { display: inline-block; animation: sxmq 16s linear infinite; }
.px__sec { padding: 22px 16px 18px; }
.px__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; } .px__head h5, .px__club h5, .px__look h5 { margin: 0; font: 900 1.35rem/1 var(--font-display); letter-spacing: -.02em; text-transform: uppercase; font-style: italic; } .px__head u { font-size: .64rem; color: #d4ff3a; text-decoration: none; font-weight: 700; }
.px__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.px__card { display: grid; gap: 4px; } .px__card > div { position: relative; height: 150px; border-radius: 14px; overflow: hidden; background: #1a1b1e; }
.px__card i { position: absolute; left: 8px; top: 8px; font-style: normal; font-size: .58rem; font-weight: 800; padding: 4px 7px; border-radius: 99px; background: #d4ff3a; color: #0a0a0b; }
.px__card span { margin-top: 4px; font-size: .7rem; font-weight: 600; } .px__card b { font-size: .72rem; color: #d4ff3a; }
.px__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 4px 16px 18px; padding: 18px 14px; border-radius: 16px; background: linear-gradient(135deg, #17181b, #101012); box-shadow: inset 0 0 0 1px rgba(255,255,255,.07); }
.px__stats div { display: grid; gap: 4px; text-align: center; } .px__stats b { font: 900 1.5rem/1 var(--font-display); font-style: italic; color: #d4ff3a; } .px__stats span { font-size: .6rem; color: #a9a9a3; }
.px__look { position: relative; height: 220px; margin: 0 16px; border-radius: 18px; overflow: hidden; background: #1a1b1e; }
.px__look::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,10,11,.85), transparent 60%); }
.px__look > div { position: absolute; z-index: 1; left: 18px; bottom: 16px; display: grid; gap: 6px; } .px__look small { font-size: .58rem; letter-spacing: .24em; text-transform: uppercase; color: #d4ff3a; font-weight: 800; } .px__look h5 i { color: #d4ff3a; }
.px__club { padding: 26px 16px 18px; text-align: center; } .px__club h5 i { color: #d4ff3a; } .px__club p { margin: 8px auto 14px; max-width: 80%; font-size: .7rem; color: #a9a9a3; }
.px__form { display: flex; gap: 6px; max-width: 360px; margin: 0 auto; padding: 5px; border-radius: 99px; background: #17181b; box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); }
.px__form span { flex: 1; padding: 9px 12px; text-align: left; font-size: .66rem; color: #77776f; } .px__join { font-style: normal; font-size: .64rem; font-weight: 800; padding: 9px 16px; border-radius: 99px; background: #d4ff3a; color: #0a0a0b; text-transform: uppercase; transition: transform .15s; }
.px__foot { display: flex; justify-content: space-between; margin-top: 22px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.08); font-size: .6rem; color: #77776f; } .px__foot b { font: 900 .8rem/1 var(--font-display); letter-spacing: .2em; font-style: italic; color: #f4f4f2; }
/* pasos */
.js-hb .px__nav, .js-hb .px__photo, .js-hb .px__txt small, .js-hb .px__txt h4 span, .js-hb .px__txt p, .js-hb .px__btns, .js-hb .px__chip, .js-hb .px__mq, .js-hb .px__head, .js-hb .px__card, .js-hb .px__stats, .js-hb .px__look, .js-hb .px__club > *, .js-hb .hb__wa, .js-hb .hb__cursor { opacity: 0; transform: translateY(16px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1), left 1s cubic-bezier(.4,0,.2,1), top 1s cubic-bezier(.4,0,.2,1); }
.js-hb .px__photo { transform: scale(1.12); transition-duration: 1.4s; } .js-hb .px__txt h4 span { transform: translateY(40px); } .js-hb .px__chip { transform: translateX(30px); } .js-hb .hb__wa { transform: scale(.4); } .js-hb .px__look { transform: scale(.96); }
.hb.s1 .px__nav, .hb.s2 .px__photo, .hb.s3 .px__txt small, .hb.s3 .px__txt h4 span, .hb.s4 .px__txt p, .hb.s4 .px__btns, .hb.s4 .px__chip, .hb.s5 .px__mq, .hb.s6 .px__head, .hb.s6 .px__card, .hb.s7 .px__stats, .hb.s8 .px__look, .hb.s9 .px__club > *, .hb.s9 .hb__wa { opacity: 1; transform: none; }
.hb.s3 .px__txt h4 span:nth-child(2) { transition-delay: .15s; } .hb.s4 .px__chip { transition-delay: .25s; }
.hb.s6 .px__card:nth-child(2) { transition-delay: .12s; } .hb.s6 .px__card:nth-child(3) { transition-delay: .24s; }
.hb.s9 .px__club > *:nth-child(2) { transition-delay: .1s; } .hb.s9 .px__club > *:nth-child(3) { transition-delay: .2s; } .hb.s9 .px__club > *:nth-child(4) { transition-delay: .3s; }
.hb.s9 .hb__wa { transition-timing-function: cubic-bezier(.3,1.6,.5,1); transition-delay: .4s; }
.hb:not(.c1) .hb__cursor { opacity: 0 !important; } .hb:not(.c2) .hb__toast { transform: translate(-50%, -70px) !important; }
.hb.c1 .hb__cursor { opacity: 1; transform: none; }
.hb.c2 .hb__cursor { transform: scale(.82); } .hb.c2 .px__join { transform: scale(.94); }
.hb.c2 .hb__toast { transform: translate(-50%, 0); }
@media (min-width: 901px) { .hb__page { height: 440px; } .px__hero { height: 360px; } .px__txt h4 { font-size: 3.6rem; } .px__card > div { height: 170px; } .px__look { height: 250px; } }
@media (max-width: 900px) { .hb__page { height: 360px; } .px__hero { height: 300px; } .px__txt h4 { font-size: 2.4rem; } .px__txt { max-width: 80%; } .px__chip { display: none; } .px__nav span { display: none; } .px__card > div { height: 110px; } }
