/* Tomás Romero · tienda (v4, 10/10/2026)
   Misma estética que la v3: carbón, tipografía chica y precisa, valores en monoespaciada,
   líneas finas, un solo acento verde que aparece solo en lo activo.
   Nuevo: grilla de plano (real estate) detrás de cada producto, fichas y pedido.
   Radios: contenedores 20/14px (doble bisel), campos 10px, botones y chips redondeados completos. */

:root {
  --bg: #161618;
  --bg-2: #19191c;
  --panel: #1d1d20;
  --panel-2: #222226;
  --line: rgb(255 255 255 / 0.07);
  --line-2: rgb(255 255 255 / 0.12);
  --track: #3a3a40;
  --text: #ededef;
  --muted: #9e9ea6;
  --faint: #8b8b94;
  --accent: #4ade8f;
  --accent-ink: #07140c;
  --accent-soft: rgb(74 222 143 / 0.14);
  --danger: #ff8f80;

  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-io: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  --wrap: 1180px;
  --gutter: 16px;
  --bar-h: 60px;

  /* grilla de plano: líneas finas cada 24px y una más marcada cada 120px */
  --blueprint:
    linear-gradient(rgb(255 255 255 / 0.05) 1px, transparent 1px) 0 0 / 120px 120px,
    linear-gradient(90deg, rgb(255 255 255 / 0.05) 1px, transparent 1px) 0 0 / 120px 120px,
    linear-gradient(rgb(255 255 255 / 0.025) 1px, transparent 1px) 0 0 / 24px 24px,
    linear-gradient(90deg, rgb(255 255 255 / 0.025) 1px, transparent 1px) 0 0 / 24px 24px;
}
@media (max-width: 767px) { :root { --gutter: 20px; } }
@media (min-width: 768px) { :root { --gutter: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; overscroll-behavior-y: none; overflow-x: hidden; overflow-x: clip; }
body {
  margin: 0; background: var(--bg); color: var(--text); overscroll-behavior-y: none;
  font-family: var(--sans); font-size: 15px; line-height: 1.55; letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; overflow-x: clip;
}
img, video, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, figure, blockquote, dl, dd, dt, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
button, input, textarea, output { font: inherit; color: inherit; }
button { -webkit-appearance: none; appearance: none; }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
legend { padding: 0; }
[hidden] { display: none !important; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 1.5px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: 0; font-variant-numeric: tabular-nums; }

.skip {
  position: fixed; top: 12px; left: 12px; z-index: 120; padding: 8px 14px; border-radius: 999px;
  background: var(--text); color: var(--bg); font-weight: 500; transform: translateY(-200%);
  transition: transform 200ms var(--ease-out);
}
.skip:focus { transform: none; }
.grain {
  position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Barra superior ---------- */
.bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40;
  border-bottom: 1px solid transparent;
  transition: background-color 240ms ease, border-color 240ms ease, backdrop-filter 240ms ease;
}
.bar.is-scrolled {
  background: rgb(22 22 24 / 0.72); border-bottom-color: var(--line);
  backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
}
.bar__in { height: var(--bar-h); display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: baseline; font-size: 16.9px; font-weight: 500; letter-spacing: -0.03em; white-space: nowrap; }
.brand i, .foot__mark i { font-style: normal; color: var(--accent); }

.bar__nav { display: none; margin: 0 auto; gap: 4px; }
.bar__nav button {
  height: 32px; padding: 0 12px; border: 0; border-radius: 999px; background: none; cursor: pointer;
  font-family: var(--mono); font-size: 12px; color: var(--muted); transition: color 160ms ease, background-color 160ms ease;
}
@media (hover: hover) and (pointer: fine) { .bar__nav button:hover { color: var(--text); background: rgb(255 255 255 / 0.04); } }
@media (min-width: 820px) { .bar__nav { display: flex; } }
.cart-ico { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.cart-ico circle { fill: currentColor; stroke: none; }
.cartbtn {
  margin-left: auto; display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 6px 0 12px;
  border-radius: 999px; border: 1px solid var(--line-2); background: rgb(255 255 255 / 0.03); cursor: pointer;
  font-size: 13px; color: var(--text); transition: border-color 160ms ease, background-color 160ms ease, transform 160ms var(--ease-out);
}
@media (min-width: 820px) { .cartbtn { margin-left: 0; } }
@media (hover: hover) and (pointer: fine) { .cartbtn:hover { border-color: rgb(255 255 255 / 0.22); } }
.cartbtn:active { transform: scale(0.97); }
.cartbtn__n {
  display: grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px;
  background: rgb(255 255 255 / 0.08); color: var(--muted); font-size: 11px; transition: background-color 200ms ease, color 200ms ease;
}
.cartbtn.has-items .cartbtn__n { background: var(--accent); color: var(--accent-ink); }
.cartbtn.is-bump .cartbtn__n { animation: bump 460ms var(--spring); }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.35); } 100% { transform: scale(1); } }

/* ---------- Entrada ---------- */
.rise { opacity: 0; transform: translateY(12px); filter: blur(6px); }
.is-ready .rise {
  opacity: 1; transform: none; filter: none;
  transition: opacity 900ms var(--ease-out), transform 900ms var(--ease-out), filter 900ms var(--ease-out);
  transition-delay: calc(var(--i, 0) * 90ms + 250ms);
}
.reveal { opacity: 0; transform: translateY(16px); filter: blur(6px); transition: opacity 800ms var(--ease-out), transform 800ms var(--ease-out), filter 800ms var(--ease-out); transition-delay: var(--d, 0ms); }
.reveal.is-in { opacity: 1; transform: none; filter: none; }

.kicker { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; font-size: 11px; }
.pulse { position: relative; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex: none; }
.pulse::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--accent); opacity: 0; animation: ping 2.4s var(--ease-out) infinite; }
@keyframes ping { 0% { transform: scale(0.6); opacity: 0.8; } 100% { transform: scale(2.2); opacity: 0; } }

/* ---------- Portada: el dibujo del rubro y el título, centrados ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden; min-height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: calc(var(--bar-h) + 8px) 0 104px;
}
.scene-wrap { position: relative; width: min(680px, 94vw); height: min(54vh, 540px); margin: 0 auto; pointer-events: none; }
.scene { display: block; width: 100%; height: 100%; overflow: visible; }
.hero__copy { position: relative; z-index: 1; display: grid; justify-items: center; }
.hero .kicker { font-size: 10px; gap: 8px; letter-spacing: 0.15em; }
.hero__title { margin-top: 16px; font-size: clamp(3rem, 1.6rem + 4.8vw, 5.9rem); font-weight: 500; line-height: 0.98; letter-spacing: -0.055em; }
.rot { display: inline-block; white-space: nowrap; }
.hero__scroll {
  position: absolute; left: 50%; bottom: 20px; z-index: 1; display: grid; justify-items: center; gap: 10px; padding: 6px 10px;
  border: 0; background: none; cursor: pointer; color: var(--faint); font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.12em;
  transform: translateX(-50%); transition: color 160ms ease;
}
.hero__scroll.rise { transform: translateX(-50%) translateY(12px); }
.is-ready .hero__scroll.rise { transform: translateX(-50%); }
.hero__scroll-line { display: block; width: 1px; height: 36px; background: linear-gradient(var(--accent), transparent); transform-origin: top; }
@media (prefers-reduced-motion: no-preference) { .hero__scroll-line { animation: cue 2s cubic-bezier(0.65, 0, 0.35, 1) infinite; } }
@keyframes cue { 0% { transform: scaleY(0); opacity: 0; } 35% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1) translateY(14px); opacity: 0; } }
@media (hover: hover) and (pointer: fine) { .hero__scroll:hover { color: var(--text); } }
@media (max-width: 640px) {
  .scene-wrap { width: calc(100% + 2 * var(--gutter)); margin-inline: calc(-1 * var(--gutter)); height: 46svh; }
  .hero__title { font-size: min(2.7rem, 10.2vw); }
}

/* Escenas (escenas.js): un dibujo de líneas por rubro */
.sc { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.sc--b { stroke: rgb(255 255 255 / 0.44); stroke-width: 1.2; }
.sc--hi { stroke: rgb(255 255 255 / 0.66); stroke-width: 1.3; }
.sc--w { stroke: rgb(255 255 255 / 0.2); stroke-width: 1; }
.sc--w2 { stroke: rgb(255 255 255 / 0.13); stroke-width: 0.9; }
.sc--g { stroke: var(--accent); stroke-width: 1.4; }
.sc--fill { fill: rgb(74 222 143 / 0.24); }
.sc--plan { stroke: rgb(255 255 255 / 0.28); stroke-width: 1; }
.sc--net { stroke: rgb(255 255 255 / 0.22); stroke-width: 1; }
.sc-solid { fill: var(--bg); stroke: none; }
.sc-grid { fill: none; stroke: rgb(255 255 255 / 0.055); stroke-width: 0.8; }
.sc-grid--major { stroke: rgb(255 255 255 / 0.1); }
.sc-pulse { fill: none; stroke: var(--accent); stroke-width: 2.2; stroke-linecap: round; }
.sc-text { font-family: var(--mono); font-size: 13px; letter-spacing: 0.05em; fill: var(--muted); }
.sc-text--chip { fill: var(--text); letter-spacing: 0; }
.sc-text--pin { fill: var(--text); }
.sc-pin path { fill: rgb(22 22 24 / 0.92); stroke: rgb(255 255 255 / 0.55); stroke-width: 1.2; }
.sc-pin circle { fill: rgb(255 255 255 / 0.6); }
.sc-pin.is-hot path { stroke: var(--accent); }
.sc-pin.is-hot circle, .sc-pin.is-hot .sc-text { fill: var(--accent); }
.sc-person circle { fill: var(--bg); stroke: rgb(255 255 255 / 0.72); stroke-width: 1.3; }
.sc-person path { fill: var(--bg); stroke: rgb(255 255 255 / 0.72); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.sc-chip rect { fill: rgb(29 29 32 / 0.95); stroke: rgb(255 255 255 / 0.16); }
.sc-chip circle { fill: var(--accent); }
.sc-load { fill: rgb(74 222 143 / 0.25); stroke: var(--accent); stroke-width: 1.2; }

/* ---------- Botones y enlaces ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 40px; padding: 0 6px 0 18px; border-radius: 999px;
  background: var(--text); color: #121214; border: 0; font-size: 14px; font-weight: 500; letter-spacing: -0.01em;
  white-space: nowrap; cursor: pointer; transition: transform 160ms var(--ease-out), background-color 160ms ease, opacity 160ms ease, border-color 160ms ease;
}
.btn:not(:has(.btn__icon)) { padding: 0 18px; }
.btn__icon { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: rgb(0 0 0 / 0.08); transition: transform 240ms var(--ease-out); }
.btn__icon svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: #ffffff; }
  .btn:hover .btn__icon { transform: translateX(2px); }
  .btn--accent:hover { background: #63e6a0; }
  .btn--ghost:hover { background: rgb(255 255 255 / 0.06); border-color: rgb(255 255 255 / 0.24); }
}
.btn:active { transform: scale(0.97); }
.btn--accent { background: var(--accent); color: var(--accent-ink); }
.btn--ghost { background: transparent; color: var(--text); border: 1px solid var(--line-2); }
.btn--lg { height: 48px; font-size: 15px; }
.btn--block { width: 100%; height: 48px; font-size: 15px; }
.btn .wa { width: 18px; height: 18px; fill: currentColor; }
.btn .cart-ico { width: 17px; height: 17px; }
.btn[disabled] { opacity: 0.3; pointer-events: none; }

.link { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 13px; transition: color 160ms ease; }
.link svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .link:hover { color: var(--accent); } .link:hover svg { transform: translate(2px, -2px); } }

/* ---------- Secciones ---------- */
.section { padding: 104px 0; }
.section--line { border-top: 1px solid var(--line); }
.head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 32px; margin-bottom: 36px; }
.h2 { font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.4rem); font-weight: 500; line-height: 1.1; letter-spacing: -0.04em; }
.head__note { color: var(--faint); }
@media (max-width: 640px) { .section { padding: 80px 0; } }

/* ---------- Grilla de productos ---------- */
.grid { display: grid; gap: 32px 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(2, 1fr); } .card--feature { grid-column: span 2; } }
@media (min-width: 640px) and (max-width: 999px) { .card--wide { grid-column: span 2; } .card--wide .stage { aspect-ratio: 16 / 9; } }
@media (min-width: 1000px) { .grid { grid-template-columns: repeat(3, 1fr); gap: 40px 20px; } }

.card { position: relative; display: grid; grid-template-rows: auto 1fr; gap: 16px; }
.card__link { position: absolute; inset: 0; z-index: 2; border-radius: 20px; }
.card__link:focus-visible { outline-offset: 4px; border-radius: 20px; }
.card .frame { transition: transform 300ms var(--ease-out), border-color 200ms ease; }
.card__body { display: grid; grid-template-rows: auto auto auto 1fr auto; gap: 6px; padding: 0 4px; }
.card__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card__tipo { color: var(--faint); text-transform: uppercase; letter-spacing: 0.08em; font-size: 11px; }
.tag { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 9px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); font-family: var(--mono); font-size: 11px; white-space: nowrap; }
.tag--accent { color: var(--accent); border-color: rgb(74 222 143 / 0.35); background: rgb(74 222 143 / 0.06); }
.card__name { margin-top: 4px; font-size: 18px; font-weight: 500; letter-spacing: -0.025em; line-height: 1.25; }
.card__bajada { color: var(--muted); font-size: 14px; line-height: 1.45; max-width: 46ch; }
.card__foot { margin-top: 12px; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.card__price { display: grid; gap: 5px; min-width: 0; }
.card__price .price__val { font-size: 19px; letter-spacing: -0.02em; }
.card__ship { color: var(--faint); font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card__more { align-self: start; display: inline-flex; align-items: center; gap: 6px; margin-top: 2px; color: var(--muted); font-size: 12px; font-family: var(--mono); transition: color 160ms ease; }
.card__more svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: transform 200ms var(--ease-out); }
.card__add {
  position: relative; z-index: 3; flex: none; display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 15px 0 12px; border-radius: 999px;
  border: 0; background: var(--text); color: #121214; cursor: pointer; font-size: 13.5px; font-weight: 500; letter-spacing: -0.01em; white-space: nowrap;
  transition: background-color 160ms ease, transform 160ms var(--ease-out), color 160ms ease;
}
.card__add svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.card__add .cart-ico circle { fill: currentColor; }
.card__add.is-in { background: var(--accent); color: var(--accent-ink); }
.card__add[data-join] { padding: 0 15px; background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }
.card__add:active { transform: scale(0.92); }
.card__end { display: flex; align-items: center; gap: 14px; }
@media (hover: hover) and (pointer: fine) {
  .card:hover .frame { transform: translateY(-3px); border-color: var(--line-2); }
  .card:hover .card__more { color: var(--accent); }
  .card:hover .card__more svg { transform: translateX(2px); }
  .card__add:hover { background: #ffffff; }
  .card__add.is-in:hover { background: #63e6a0; }
  .card__add[data-join]:hover { background: rgb(255 255 255 / 0.06); }
}
.card:active .frame { transform: scale(0.995); }

/* Precio */
.price { display: inline-flex; align-items: baseline; gap: 7px; flex-wrap: wrap; font-family: var(--mono); font-variant-numeric: tabular-nums; }
.price__desde { color: var(--faint); font-size: 11px; }
.price__val { color: var(--text); font-size: 15px; }
.price__per { color: var(--faint); font-size: 11px; }
.price s { color: var(--faint); font-size: 11px; text-decoration-color: rgb(255 143 128 / 0.7); }

/* Marcos con doble bisel */
.frame { display: block; padding: 5px; border-radius: 20px; background: rgb(255 255 255 / 0.03); border: 1px solid var(--line); }
.frame__core { display: block; position: relative; overflow: hidden; border-radius: 15px; background: var(--panel); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.05); }
.frame__core > img { width: 100%; }

/* El escenario: grilla de plano con el producto adentro */
.stage {
  position: relative; display: block; overflow: hidden; aspect-ratio: 5 / 4;
  background: radial-gradient(70% 60% at 50% 110%, rgb(74 222 143 / 0.08), transparent 70%), var(--blueprint), var(--panel);
}
@media (min-width: 640px) { .card--feature .stage { aspect-ratio: 16 / 9; } }
/* en la compu, las tarjetas anchas tienen el mismo alto que las de al lado */
@media (min-width: 1000px) { .card--feature .stage { aspect-ratio: 51 / 20; } }
.stage::after { /* marcas de cota en las esquinas, como en un plano */
  content: ""; position: absolute; inset: 12px; pointer-events: none;
  background:
    linear-gradient(var(--faint), var(--faint)) top left / 10px 1px no-repeat,
    linear-gradient(var(--faint), var(--faint)) top left / 1px 10px no-repeat,
    linear-gradient(var(--faint), var(--faint)) bottom right / 10px 1px no-repeat,
    linear-gradient(var(--faint), var(--faint)) bottom right / 1px 10px no-repeat;
  opacity: 0.5;
}
.stage__code { position: absolute; left: 14px; bottom: 12px; z-index: 2; color: var(--faint); font-size: 10px; letter-spacing: 0.08em; }

/* Dispositivos */
.dev { position: absolute; overflow: hidden; background: #0c0c0d; border: 1px solid var(--line-2); box-shadow: 0 30px 60px -30px rgb(0 0 0 / 0.9); }
.dev img, .dev video { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.dev--phone { aspect-ratio: 390 / 844; border-radius: 20px; padding: 3px; }
.dev--phone > * { border-radius: 17px; overflow: hidden; }
.dev--reel { aspect-ratio: 9 / 16; border-radius: 16px; padding: 3px; }
.dev--reel > * { border-radius: 13px; overflow: hidden; }
.dev--desk { aspect-ratio: 16 / 10; border-radius: 10px; display: grid; grid-template-rows: 20px 1fr; }
.dev--desk::before { content: ""; background: radial-gradient(circle, #3a3a40 3px, transparent 3.5px) 10px 50% / 12px 12px repeat-x; width: 52px; height: 20px; }
.dev--desk > .dev__screen { overflow: hidden; }
.dev__screen { position: relative; width: 100%; height: 100%; display: block; }

.chip-float {
  position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 8px; height: 28px; padding: 0 11px; border-radius: 999px;
  background: rgb(22 22 24 / 0.78); border: 1px solid var(--line-2); color: var(--text); font-family: var(--mono); font-size: 11px; white-space: nowrap;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.chip-float::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* Composiciones por producto (en la tarjeta) */
.comp--web .dev--phone.is-back { height: 74%; left: 24%; top: 16%; transform: rotate(-7deg); opacity: 0.55; }
.comp--web .dev--phone.is-front { height: 84%; left: 46%; top: 9%; }
.comp--paquete .dev--desk { width: 66%; left: 6%; top: 10%; }
.comp--paquete .ui { left: auto; right: 5%; top: auto; bottom: 9%; transform: none; width: min(56%, 300px); }
.comp--paquete .dev--phone { height: 70%; right: 7%; top: 8%; }
.comp--paquete .chip-float { left: 6%; bottom: 7%; }
@media (max-width: 639px) { .comp--paquete .ui { display: none; } .comp--paquete .dev--desk { width: 74%; top: 14%; } .comp--paquete .dev--phone { height: 68%; top: 18%; } }
@media (min-width: 1000px) {
  .comp--paquete .dev--desk { width: auto; height: 74%; left: 4%; top: 11%; }
  .comp--paquete .ui { right: auto; left: 40%; bottom: auto; top: 50%; transform: translateY(-50%); width: 36%; }
  .comp--paquete .dev--phone { height: 82%; right: 4%; top: 9%; }
  .comp--paquete .chip-float { left: 4%; bottom: 6%; }
}
.comp--equipo .ui { width: min(82%, 380px); }
.comp--unidades .ui, .comp--avance .ui, .comp--parte .ui { width: min(86%, 420px); }
.comp--presupuesto .ui, .comp--portal .ui { width: min(76%, 320px); }
.comp--presupuesto .ui, .comp--paquete-obra .ui--link { gap: 9px; padding: 14px 16px; }
.comp--presupuesto .ui__q, .comp--paquete-obra .ui__q { font-size: 14px; }
.comp--presupuesto .ui__fields, .comp--paquete-obra .ui__fields { flex-wrap: nowrap; }
/* paquetes de desarrolladora y constructora: dos piezas juntas */
.comp--paquete-dev .ui, .comp--paquete-obra .ui { top: 50%; transform: translateY(-50%); }
.comp--paquete-dev .ui--table { left: 5%; width: min(56%, 420px); }
.comp--paquete-dev .ui--avance { left: auto; right: 5%; top: 56%; width: min(36%, 260px); }
.comp--paquete-obra .ui--link { left: 6%; width: min(40%, 300px); }
.comp--paquete-obra .ui:not(.ui--link) { left: auto; right: 5%; top: 56%; width: min(48%, 380px); }
@media (max-width: 639px) {
  .comp--paquete-dev .ui--avance, .comp--paquete-obra .ui--link { display: none; }
  .comp--paquete-dev .ui--table, .comp--paquete-obra .ui:not(.ui--link) { left: 50%; right: auto; top: 50%; transform: translate(-50%, -50%); width: 86%; }
}
.comp--unidades .chip-float, .comp--parte .chip-float { right: 6%; bottom: 7%; }
@media (min-width: 1000px) { .card--feature .comp--unidades .ui, .card--feature .comp--parte .ui { width: min(60%, 460px); } }
.comp--equipo .chip-float { right: 6%; bottom: 8%; }
.comp--anuncios .dev--reel { height: 86%; left: 50%; top: 7%; transform: translateX(-50%); }
.comp--anuncios .chip-float { left: 50%; bottom: 13%; transform: translateX(-8%); }

/* Maqueta de la app del equipo y del link del dueño */
.ui {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 2;
  display: grid; padding: 12px 14px 6px; border-radius: 14px;
  background: rgb(22 22 24 / 0.92); border: 1px solid var(--line-2); box-shadow: 0 30px 60px -30px rgb(0 0 0 / 0.9);
}
.ui__bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-bottom: 8px; }
.ui__bar b { font-weight: 500; font-size: 14px; letter-spacing: -0.02em; }
.ui__tabs { display: flex; gap: 4px; }
.ui__tabs i { font-style: normal; font-size: 10px; padding: 3px 8px; border-radius: 999px; color: var(--faint); }
.ui__tabs i.is-on { color: var(--text); background: rgb(255 255 255 / 0.07); }
.ui__row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); }
.ui__time { color: var(--muted); font-size: 11px; }
.ui__what { display: grid; font-size: 12px; line-height: 1.3; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ui__what small { color: var(--faint); font-size: 10.5px; }
.pill { display: inline-flex; align-items: center; gap: 5px; height: 20px; padding: 0 8px; border-radius: 999px; font-family: var(--mono); font-size: 9.5px; color: var(--muted); border: 1px solid var(--line-2); white-space: nowrap; }
.pill::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.pill--ok { color: var(--accent); border-color: rgb(74 222 143 / 0.35); background: rgb(74 222 143 / 0.07); }
.pill--wait { color: #f3c969; border-color: rgb(243 201 105 / 0.3); }
.ui--link { width: min(80%, 320px); gap: 12px; padding: 18px; text-align: left; }
.ui__kicker { color: var(--faint); font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em; }
.ui__q { font-weight: 500; font-size: 15px; line-height: 1.3; letter-spacing: -0.02em; }
.ui__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ui__btn { display: grid; place-items: center; height: 34px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 12.5px; color: var(--muted); }
.ui__btn--ok { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font-weight: 500; }
.ui__foot { color: var(--faint); font-size: 10px; }
/* tabla de unidades */
.trow { display: grid; grid-template-columns: 36px 32px 28px minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 7px 0; border-top: 1px solid var(--line); font-size: 11.5px; white-space: nowrap; }
.trow .pill { height: 18px; padding: 0 7px; font-size: 9px; }
.trow--head { color: var(--faint); font-size: 9.5px; text-transform: uppercase; letter-spacing: 0.06em; border-top: 0; padding-top: 2px; }
.trow b { font-weight: 400; color: var(--text); }
.trow.is-off { color: var(--faint); }
.trow.is-off .mono { text-decoration: line-through; text-decoration-color: rgb(255 255 255 / 0.25); }
/* avance de obra */
.meter { display: block; height: 4px; border-radius: 4px; background: var(--track); overflow: hidden; margin: 2px 0 8px; }
.meter i { display: block; height: 100%; border-radius: 4px; background: var(--accent); }
.ui__pct { color: var(--accent); font-size: 13px; }
.stage-row { display: grid; grid-template-columns: 18px 1fr auto; align-items: center; gap: 10px; padding: 6px 0; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.stage-row .ok { width: 16px; height: 16px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); }
.stage-row .ok svg { width: 9px; height: 9px; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.stage-row.is-done { color: var(--text); }
.stage-row.is-done .ok { background: rgb(74 222 143 / 0.12); border-color: rgb(74 222 143 / 0.45); }
.stage-row.is-now { color: var(--text); }
.stage-row.is-now .ok { border-color: var(--accent); }
.stage-row.is-now .ok::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.stage-row .mono { font-size: 10.5px; color: var(--faint); }
.ui--avance .ui__foot { margin-top: 8px; }
/* pedido de presupuesto */
.ui__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ui__fields { display: flex; flex-wrap: wrap; gap: 6px; }
.ui__fields span { padding: 6px 10px; border-radius: 8px; border: 1px solid var(--line-2); background: rgb(0 0 0 / 0.25); font-size: 11px; color: var(--text); }
.ui--link .ui__btn--ok:only-of-type { height: 36px; }
/* portal del cliente */
.ui--portal { gap: 8px; padding: 16px; }
.ui__big { display: grid; gap: 2px; padding: 4px 0 2px; }
.ui__big small { color: var(--muted); font-size: 11.5px; }
.ui__big b { font-weight: 400; font-size: 26px; letter-spacing: -0.03em; color: var(--text); }
.ui__row--2 { grid-template-columns: 1fr auto; }
.ui__nav { display: block; padding-top: 10px; border-top: 1px solid var(--line); color: var(--faint); font-size: 10px; text-align: center; }

/* Una automatización, paso por paso: el pulso baja por la cadena */
.flow { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: grid; gap: 10px; width: min(74%, 300px); }
.flow::before { content: ""; position: absolute; left: 17px; top: 14px; bottom: 14px; width: 1px; background: var(--line-2); }
.node {
  position: relative; display: flex; align-items: center; gap: 10px; height: 34px; padding: 0 12px 0 6px; border-radius: 999px;
  background: rgb(22 22 24 / 0.9); border: 1px solid var(--line-2); font-size: 12.5px; color: var(--muted); white-space: nowrap;
}
.node b { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--panel-2); color: var(--faint); font-size: 9.5px; font-weight: 400; }
.node--ok { color: var(--text); border-color: rgb(74 222 143 / 0.45); }
.node--ok b { background: var(--accent); color: var(--accent-ink); }
@media (prefers-reduced-motion: no-preference) {
  .node { animation: node-on 5s var(--ease-out) infinite; animation-delay: calc(var(--k) * 0.6s); }
}
@keyframes node-on {
  0%, 100% { border-color: var(--line-2); color: var(--muted); }
  8%, 30% { border-color: rgb(74 222 143 / 0.55); color: var(--text); }
}
.mini .ui, .mini .flow, .line .ui, .line .flow { display: none; }

/* Miniaturas (relacionados y pedido) */
.stage__label { position: absolute; inset: 0; display: grid; place-items: center; color: var(--accent); font-size: 10px; letter-spacing: 0.1em; }
.stage--thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }

/* Avisos dentro del pedido */
.hint { padding: 14px 0 4px; color: var(--muted); font-size: 11.5px; line-height: 1.5; }
.hint button { margin-left: 6px; padding: 0; border: 0; background: none; color: var(--accent); font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* Maqueta de chat (asesoría) */
.chat { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(78%, 340px); display: grid; gap: 8px; }
.chat__head { display: flex; align-items: center; gap: 10px; padding-bottom: 10px; margin-bottom: 4px; border-bottom: 1px solid var(--line); }
.chat__avatar { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; }
.chat__who { display: grid; line-height: 1.2; }
.chat__who b { font-weight: 500; font-size: 13px; }
.chat__who span { color: var(--accent); font-family: var(--mono); font-size: 10px; }
.bubble { max-width: 82%; padding: 8px 11px; border-radius: 12px; font-size: 12.5px; line-height: 1.4; }
.bubble--in { justify-self: start; background: var(--panel-2); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.bubble--out { justify-self: end; background: rgb(74 222 143 / 0.12); border: 1px solid rgb(74 222 143 / 0.25); border-bottom-right-radius: 4px; }
.bubble--audio { display: flex; align-items: center; gap: 8px; }
.bubble--audio i { width: 0; height: 0; border-left: 7px solid var(--accent); border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.wave { display: flex; align-items: center; gap: 2px; height: 16px; }
.wave span { width: 2px; border-radius: 2px; background: rgb(255 255 255 / 0.5); }
.bubble time { display: block; margin-top: 2px; text-align: right; color: var(--faint); font-family: var(--mono); font-size: 9.5px; }

/* Maqueta de clases (programa) */
.lessons { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(84%, 520px); display: grid; }
.lesson { display: grid; grid-template-columns: 26px 1fr auto; align-items: center; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.lesson:last-child { border-bottom: 1px solid var(--line); }
.lesson b { font-family: var(--mono); font-weight: 400; font-size: 11px; color: var(--faint); }
.lesson .ok { width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); }
.lesson.is-done { color: var(--text); }
.lesson.is-done .ok { background: rgb(74 222 143 / 0.12); border-color: rgb(74 222 143 / 0.45); }
.lesson .ok svg { width: 10px; height: 10px; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lesson.is-now { color: var(--text); }
.lesson.is-now .ok { border-color: var(--accent); }
.lesson.is-now .ok::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.card .lesson:nth-child(n+6) { display: none; }
.card .chat__head { display: none; }
.card .chat { gap: 7px; }

/* ---------- Quién soy ---------- */
.about { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .about { grid-template-columns: 0.85fr 1fr; gap: 72px; } }
.about__photo { display: grid; gap: 12px; max-width: 460px; }
.about__photo img { aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; }
.about__photo figcaption { color: var(--faint); padding: 0 4px; }
.about__copy { display: grid; gap: 18px; align-content: start; }
.about__text { color: var(--muted); font-size: 16px; max-width: 48ch; }
.about__links { display: flex; gap: 24px; margin-top: 4px; }

.stats { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); margin-top: 10px; }
.stat { display: flex; flex-direction: column; gap: 8px; padding: 22px 16px 22px 0; border-bottom: 1px solid var(--line); }
.stat:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--line); }
.stat dd { font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.3rem); font-weight: 400; line-height: 1; letter-spacing: -0.04em; color: var(--text); white-space: nowrap; }
.stat:first-child dd { color: var(--accent); }
.stat dt { color: var(--muted); font-size: 13px; line-height: 1.45; max-width: 24ch; }
.odo { display: inline-block; height: 1em; overflow: hidden; vertical-align: top; }
.odo__col { display: block; transform: translateY(0); transition: transform 1500ms var(--ease-out); transition-delay: var(--od, 0ms); }
.odo__col > span { display: block; height: 1em; line-height: 1; }
.is-counted .odo__col { transform: translateY(calc(var(--n) * -1em)); }

/* ---------- Pasos ---------- */
.steps { display: grid; gap: 0; counter-reset: paso; border-top: 1px solid var(--line); }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { display: grid; gap: 10px; align-content: start; padding: 22px 20px 26px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .steps li { border-bottom: 0; } .steps li + li { padding-left: 22px; border-left: 1px solid var(--line); } }
.steps li::before { counter-increment: paso; content: counter(paso, decimal-leading-zero); font-family: var(--mono); font-size: 12px; color: var(--accent); }
.steps b { font-weight: 500; font-size: 16px; letter-spacing: -0.02em; }
.steps p { color: var(--muted); font-size: 14px; max-width: 34ch; }

/* ---------- Preguntas ---------- */
.faq { max-width: 860px; }
.faq__list { border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; cursor: pointer; font-size: 16px; font-weight: 500; letter-spacing: -0.015em; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ""; flex: none; width: 10px; height: 10px; border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: rotate(45deg) translate(-3px, -3px); transition: transform 240ms var(--ease-out); }
.qa[open] summary::after { transform: rotate(225deg) translate(-3px, -3px); border-color: var(--accent); }
.qa p { padding: 0 0 20px; color: var(--muted); max-width: 62ch; }

/* ---------- Pie ---------- */
.foot { border-top: 1px solid var(--line); padding: 28px 0 0; overflow: hidden; }
.foot__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; color: var(--faint); }
.foot__links { display: flex; gap: 20px; }
.foot__links a { color: var(--muted); transition: color 160ms ease; }
@media (hover: hover) and (pointer: fine) { .foot__links a:hover { color: var(--accent); } }
.foot__mark { margin: 36px 0 32px; font-size: clamp(2.2rem, 9vw, 7rem); font-weight: 500; letter-spacing: -0.065em; line-height: 1.1; color: #2a2a2f; white-space: nowrap; user-select: none; }

/* ======================================================
   FICHA DE PRODUCTO
   ====================================================== */
.pdp { padding-top: calc(var(--bar-h) + 28px); padding-bottom: 96px; }
.crumbs { display: flex; align-items: center; gap: 8px; color: var(--faint); margin-bottom: 22px; }
.crumbs a { color: var(--muted); transition: color 160ms ease; }
@media (hover: hover) and (pointer: fine) { .crumbs a:hover { color: var(--text); } }
.pdp__top { display: grid; gap: 28px; }
@media (min-width: 960px) { .pdp__top { grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: start; } .gallery { position: sticky; top: calc(var(--bar-h) + 24px); } }

/* Galería */
.gallery { display: grid; gap: 10px; min-width: 0; }
.gallery .frame__core { border-radius: 15px; }
.gallery__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.gallery__track::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; scroll-snap-align: center; aspect-ratio: 1 / 1; }
@media (min-width: 640px) { .slide { aspect-ratio: 4 / 3; } }
.slide .stage { aspect-ratio: auto; width: 100%; height: 100%; }
.slide .dev--phone { height: 86%; left: 50%; top: 7%; transform: translateX(-50%); }
.slide .dev--reel { height: 86%; left: 50%; top: 7%; transform: translateX(-50%); }
.slide .dev--desk { width: 88%; left: 6%; top: 50%; transform: translateY(-50%); }
.slide .foto { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; }
.slide .chip-float { left: 50%; bottom: 4%; transform: translateX(-50%); }
.slide .ui { width: min(88%, 420px); }
.slide .ui--link { width: min(82%, 360px); }
.slide .flow { width: min(80%, 320px); }
.slide .ui--table, .slide .ui--avance { width: min(88%, 440px); }
.slide .ui--portal { width: min(72%, 320px); }

/* Ficha: migas y selector de rubro */
.pdp__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; margin-bottom: 22px; }
.pdp__bar .crumbs { margin-bottom: 0; }
.rubro-pick { display: inline-flex; align-items: center; gap: 8px; color: var(--faint); }
.rubro-pick select {
  -webkit-appearance: none; appearance: none; height: 32px; padding: 0 30px 0 12px; border-radius: 999px;
  border: 1px solid var(--line-2); background: rgb(255 255 255 / 0.03) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%239e9ea6' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 10px center / 12px;
  color: var(--text); font-family: var(--sans); font-size: 13px; cursor: pointer;
}
.rubro-pick select:focus-visible { outline: 1.5px solid var(--accent); outline-offset: 2px; }
.rubro-pick option { background: var(--panel); color: var(--text); }
.buy__title:focus { outline: none; }
.gallery__thumbs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.gallery__thumbs::-webkit-scrollbar { display: none; }
.thumb {
  flex: none; width: 64px; height: 48px; padding: 0; border-radius: 10px; overflow: hidden; cursor: pointer;
  border: 1px solid var(--line); background: var(--panel); opacity: 0.55; transition: opacity 160ms ease, border-color 160ms ease;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.thumb .thumb__mock { display: grid; place-items: center; width: 100%; height: 100%; background: var(--blueprint), var(--panel); color: var(--faint); font-family: var(--mono); font-size: 9px; }
.thumb.is-on { opacity: 1; border-color: rgb(74 222 143 / 0.55); }
@media (hover: hover) and (pointer: fine) { .thumb:hover { opacity: 0.9; } }
.gallery__count { position: absolute; right: 14px; top: 12px; z-index: 3; color: var(--faint); font-size: 11px; }
.gallery__view { position: relative; }

/* Columna de compra */
.buy { display: grid; gap: 0; align-content: start; min-width: 0; }
.buy__tipo { display: flex; align-items: center; gap: 10px; color: var(--faint); text-transform: uppercase; letter-spacing: 0.08em; font-size: 10.5px; }
.buy__title { margin-top: 12px; font-size: clamp(2rem, 1.5rem + 1.8vw, 2.9rem); font-weight: 500; letter-spacing: -0.045em; line-height: 1.04; }
.buy__bajada { margin-top: 12px; color: var(--muted); font-size: 16px; line-height: 1.5; max-width: 44ch; }
.buy__price { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.buy__price .price__val { font-size: 26px; letter-spacing: -0.03em; }
.buy__price .price__desde, .buy__price .price__per, .buy__price s { font-size: 13px; }
.buy__nota { margin-top: 6px; color: var(--faint); font-size: 13px; }
.opts { display: grid; gap: 24px; margin-top: 24px; }
.opt legend { margin-bottom: 10px; color: var(--muted); font-size: 13px; }
.opt legend small { color: var(--faint); margin-left: 6px; font-size: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span {
  display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 14px; border-radius: 999px;
  border: 1px solid var(--line-2); color: var(--muted); font-size: 14px; background: rgb(255 255 255 / 0.02);
  transition: border-color 160ms ease, color 160ms ease, background-color 160ms ease;
}
.chip span::before { content: ""; width: 6px; height: 6px; margin-left: -4px; border-radius: 50%; background: var(--track); transition: background-color 160ms ease, transform 220ms var(--spring); }
.chip input:checked + span { color: var(--text); border-color: rgb(74 222 143 / 0.5); background: rgb(74 222 143 / 0.07); }
.chip input:checked + span::before { background: var(--accent); transform: scale(1.15); }
.chip input:focus-visible + span { outline: 1.5px solid var(--accent); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) { .chip:hover span { color: var(--text); border-color: rgb(255 255 255 / 0.22); } }
.buy__cta { display: grid; gap: 12px; margin-top: 24px; }
@media (min-width: 520px) { .buy__cta { grid-template-columns: 1fr 1fr; } }
.buy__cta .btn { width: 100%; }
.trust { display: grid; gap: 8px; margin-top: 18px; color: var(--muted); }
.trust li { display: flex; align-items: center; gap: 10px; font-size: 12px; }
.trust li::before { content: ""; width: 14px; height: 1px; background: var(--faint); flex: none; }
.buy__texto { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; max-width: 54ch; }

/* Secciones de la ficha */
.pdp__sec { margin-top: 88px; }
.pdp__sec > .head { margin-bottom: 28px; }
.pdp__two { display: grid; gap: 56px; }
@media (min-width: 960px) { .pdp__two { grid-template-columns: 1fr 1fr; gap: 56px; } }
.h3 { font-size: 20px; font-weight: 500; letter-spacing: -0.03em; margin-bottom: 18px; }
.checks { display: grid; border-top: 1px solid var(--line); }
.checks li { display: grid; grid-template-columns: 18px 1fr; gap: 12px; align-items: start; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.checks svg { width: 14px; height: 14px; margin-top: 4px; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.spec { display: grid; }
.spec > div { display: flex; justify-content: space-between; gap: 24px; padding: 12px 0; border-top: 1px solid var(--line); }
.spec > div:last-child { border-bottom: 1px solid var(--line); }
.spec dt { color: var(--muted); font-size: 14px; }
.spec dd { color: var(--text); font-size: 14px; text-align: right; }
.spec dd.mono { font-size: 13px; }

/* Componentes reales para probar */
.demos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: end; }
.demo--wide { grid-column: 1 / -1; }
@media (min-width: 900px) { .demos { grid-template-columns: 1.9fr 1fr 1fr; gap: 16px; } .demo--wide { grid-column: auto; } }
.demo { display: grid; gap: 12px; padding: 0; margin: 0; border: 0; background: none; color: inherit; text-align: left; cursor: pointer; font: inherit; }
.demo .frame { transition: transform 260ms var(--ease-out), border-color 200ms ease; }
.demo video { width: 100%; object-fit: cover; object-position: top; }
.demo[data-shape="desk"] video { aspect-ratio: 32 / 19; }
.demo[data-shape="phone"] .frame { border-radius: 22px; }
.demo[data-shape="phone"] .frame__core { border-radius: 17px; }
.demo[data-shape="phone"] video { aspect-ratio: 390 / 760; }
.demo__meta { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.demo__name { font-size: 14px; font-weight: 500; }
.demo__try { display: inline-flex; align-items: center; gap: 5px; color: var(--muted); font-size: 11.5px; transition: color 160ms ease; }
.demo__try svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .demo:hover .frame { transform: translateY(-3px); border-color: var(--line-2); }
  .demo:hover .demo__try { color: var(--accent); }
  .demo:hover .demo__try svg { transform: translate(2px, -2px); }
}
.demo:focus-visible { outline: 1.5px solid var(--accent); outline-offset: 6px; border-radius: 20px; }

/* Anuncios con su número */
.reels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; max-width: 900px; }
.ad { display: grid; gap: 12px; margin: 0; }
.ad figcaption { display: grid; gap: 3px; }
.ad__metric { color: var(--accent); font-size: 12.5px; }
.ad__meta { color: var(--muted); font-size: 13px; }
.frame--reel { border-radius: 20px; }
.frame--reel .frame__core { border-radius: 15px; }
.frame--reel video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; }
@media (min-width: 900px) { .reels { gap: 16px; } .reels .ad:nth-child(2) { translate: 0 -24px; } }
@media (max-width: 560px) { .ad__meta { display: none; } .ad__metric { font-size: 11px; } }

/* Se combina con */
.minis { display: grid; gap: 12px; }
@media (min-width: 640px) { .minis { grid-template-columns: 1fr 1fr; } }
.mini { position: relative; display: grid; grid-template-columns: 112px 1fr; gap: 16px; align-items: center; padding: 6px; border-radius: 18px; border: 1px solid var(--line); background: rgb(255 255 255 / 0.02); transition: border-color 200ms ease, transform 260ms var(--ease-out); }
.mini .stage { aspect-ratio: 1 / 1; border-radius: 13px; }
.mini .stage::after { inset: 8px; }
.mini__body { display: grid; gap: 4px; padding-right: 12px; }
.mini__name { font-size: 15px; font-weight: 500; letter-spacing: -0.02em; }
.mini__bajada { color: var(--muted); font-size: 13px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (hover: hover) and (pointer: fine) { .mini:hover { border-color: var(--line-2); transform: translateY(-2px); } }

/* Barra de compra fija en el celular */
.buybar {
  position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 35;
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 8px 8px 16px; border-radius: 999px;
  background: rgb(29 29 32 / 0.88); border: 1px solid var(--line-2); box-shadow: 0 20px 50px -20px rgb(0 0 0 / 0.9);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transform: translateY(140%); transition: transform 320ms var(--ease-drawer);
}
.buybar.is-on { transform: none; }
.buybar__price { min-width: 0; overflow: hidden; white-space: nowrap; }
.buybar .price__val { font-size: 15px; }
@media (min-width: 960px) { .buybar { display: none !important; } }

/* Aviso */
.toast {
  position: fixed; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 60;
  display: flex; align-items: center; gap: 12px; padding: 6px 6px 6px 16px; border-radius: 999px;
  background: var(--text); color: #121214; font-size: 14px; font-weight: 500; box-shadow: 0 20px 50px -20px rgb(0 0 0 / 0.9);
  transform: translate(-50%, 24px); opacity: 0; transition: transform 320ms var(--ease-drawer), opacity 200ms ease; white-space: nowrap;
}
.toast.is-on { transform: translate(-50%, 0); opacity: 1; }
.toast__dot { width: 8px; height: 8px; border-radius: 50%; background: #1f9d5c; }
.toast__btn { height: 32px; padding: 0 14px; border-radius: 999px; border: 0; background: #121214; color: var(--text); font-size: 13px; cursor: pointer; }

/* ======================================================
   PEDIDO (cajón)
   ====================================================== */
.drawer { position: fixed; inset: 0; z-index: 70; }
.drawer__backdrop { position: absolute; inset: 0; background: rgb(10 10 12 / 0.66); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity 260ms ease; }
.drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(460px, 100vw);
  display: grid; grid-template-rows: auto 1fr auto; background: var(--bg-2); border-left: 1px solid var(--line-2);
  box-shadow: -40px 0 120px -40px rgb(0 0 0 / 0.9);
  transform: translateX(104%); transition: transform 420ms var(--ease-drawer);
}
@media (max-width: 640px) {
  .drawer__panel { top: auto; left: 0; width: 100vw; height: min(92dvh, 760px); border-left: 0; border-top: 1px solid var(--line-2); border-radius: 20px 20px 0 0; transform: translateY(104%); }
}
.drawer.is-open .drawer__backdrop { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__bar { display: flex; align-items: center; gap: 10px; height: 60px; padding: 0 12px 0 20px; border-bottom: 1px solid var(--line); }
.drawer__title { font-size: 16px; font-weight: 500; letter-spacing: -0.02em; }
.drawer__step { color: var(--faint); margin-left: auto; }
.drawer__back, .drawer__close { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgb(255 255 255 / 0.06); color: var(--text); cursor: pointer; flex: none; transition: background-color 160ms ease, transform 160ms var(--ease-out); }
.drawer__back { margin-left: -8px; }
.drawer__back svg, .drawer__close svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
@media (hover: hover) and (pointer: fine) { .drawer__back:hover, .drawer__close:hover { background: rgb(255 255 255 / 0.12); } }
.drawer__back:active, .drawer__close:active { transform: scale(0.94); }
.drawer__body { overflow-y: auto; overscroll-behavior: contain; padding: 20px; }
.dstep { display: grid; gap: 20px; }
.dstep.is-entering { animation: step-in 260ms var(--ease-out) both; }
@keyframes step-in { from { opacity: 0; transform: translateX(10px); filter: blur(2px); } to { opacity: 1; transform: none; filter: none; } }
.drawer__foot { display: grid; gap: 12px; padding: 16px 20px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--bg-2); }
.drawer__note { color: var(--faint); font-size: 12.5px; line-height: 1.45; text-align: center; }
.total { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--muted); }
.total__val { font-size: 17px; color: var(--text); }

.lines { display: grid; }
.line { display: grid; grid-template-columns: 64px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.line:first-child { padding-top: 0; }
.line .stage { aspect-ratio: 1 / 1; border-radius: 12px; border: 1px solid var(--line); }
.line .stage::after { display: none; }
.line__body { display: grid; gap: 4px; min-width: 0; }
.line__top { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.line__name { font-size: 15px; font-weight: 500; letter-spacing: -0.02em; }
.line__opts { color: var(--faint); font-size: 11.5px; line-height: 1.5; }
.line__actions { display: flex; gap: 18px; margin-top: 2px; }
.line__actions button, .line__actions a { padding: 0; border: 0; background: none; color: var(--muted); font-family: var(--mono); font-size: 12px; cursor: pointer; transition: color 160ms ease; padding-block: 6px; }
@media (hover: hover) and (pointer: fine) { .line__actions button:hover, .line__actions a:hover { color: var(--text); } }
.empty { display: grid; justify-items: start; gap: 16px; padding: 24px 0; color: var(--muted); }

.summary { display: grid; gap: 6px; padding: 14px 16px; border-radius: 14px; background: rgb(255 255 255 / 0.03); border: 1px solid var(--line); color: var(--muted); }
.summary b { font-weight: 400; color: var(--text); }
.summary .row { display: flex; justify-content: space-between; gap: 12px; }
.field { display: grid; gap: 8px; align-content: start; }
.field label { color: var(--muted); font-size: 13px; }
.optional { color: var(--faint); margin-left: 4px; }
.field input, .field textarea {
  width: 100%; height: 44px; padding: 0 12px; border-radius: 10px;
  background: rgb(0 0 0 / 0.25); border: 1px solid var(--line-2); font-size: 16px;
  transition: border-color 160ms ease, box-shadow 200ms var(--ease-out);
}
.field textarea { height: auto; min-height: 72px; padding: 10px 12px; resize: vertical; line-height: 1.45; }
.field input::placeholder { color: var(--faint); }
.field input:focus, .field textarea:focus { outline: none; border-color: rgb(74 222 143 / 0.6); box-shadow: 0 0 0 3px var(--accent-soft); }
.field.has-error input { border-color: var(--danger); }
.field__error { font-size: 12px; color: var(--danger); }
.field__error:empty { display: none; }
.opt.has-error legend { color: var(--danger); }
.drawer .chip span { min-height: 40px; font-size: 14px; }

.done { padding: 20px 0; justify-items: start; }
.done__kicker { display: inline-flex; align-items: center; gap: 10px; color: var(--accent); text-transform: uppercase; letter-spacing: 0.08em; font-size: 11px; }
.done__title { font-size: 2.6rem; font-weight: 500; letter-spacing: -0.05em; line-height: 1; outline: none; }
.done__text { color: var(--muted); font-size: 15px; max-width: 34ch; }

/* ---------- Ventana de prueba en vivo ---------- */
.modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; }
.modal__backdrop { position: absolute; inset: 0; background: rgb(10 10 12 / 0.72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); opacity: 0; transition: opacity 220ms ease; }
.modal__panel {
  position: relative; display: grid; grid-template-rows: auto 1fr auto; grid-template-columns: minmax(0, 1fr); overflow: hidden;
  width: min(1240px, 94vw); height: min(820px, 88dvh); border-radius: 18px;
  background: var(--panel); border: 1px solid var(--line-2); box-shadow: 0 40px 120px -40px rgb(0 0 0 / 0.9);
  opacity: 0; transform: translateY(8px) scale(0.97); transition: opacity 240ms var(--ease-out), transform 280ms var(--ease-out);
}
.modal__panel[data-shape="phone"] { width: min(420px, 94vw); height: min(880px, 92dvh); }
.modal__panel[data-shape="crop"] { height: auto; }
.modal__panel[data-shape="crop"] .modal__body { overflow: hidden; background: #131d2d; }
.modal__panel[data-shape="crop"] .modal__body iframe { inset: auto; top: 0; left: 0; transform-origin: 0 0; }
.modal.is-open .modal__backdrop { opacity: 1; }
.modal.is-open .modal__panel { opacity: 1; transform: none; }
@media (max-width: 640px) {
  .modal__panel, .modal__panel[data-shape="phone"] { width: 100vw; height: 100dvh; border-radius: 0; border: 0; }
  .modal__panel[data-shape="crop"] { width: calc(100vw - 24px); height: auto; border-radius: 16px; border: 1px solid var(--line-2); }
}
.modal__bar { display: flex; align-items: center; gap: 12px; height: 50px; padding: 0 10px 0 16px; border-bottom: 1px solid var(--line); }
.modal__title { font-size: 14px; font-weight: 500; white-space: nowrap; }
.modal__url { flex: 1; min-width: 0; color: var(--faint); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.modal__close { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgb(255 255 255 / 0.06); color: var(--text); cursor: pointer; flex: none; }
.modal__close svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.modal__body { position: relative; background: #fff; }
.modal__body iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; background: #fff; }
.modal__loading { position: absolute; inset: 0; z-index: 1; display: grid; place-items: center; background: var(--panel); transition: opacity 300ms ease; }
.modal__loading span { width: 120px; height: 2px; border-radius: 2px; background: var(--track); overflow: hidden; position: relative; }
.modal__loading span::after { content: ""; position: absolute; inset: 0; width: 40%; background: var(--accent); animation: load 1.1s var(--ease-io) infinite; }
.modal__loading.is-done { opacity: 0; pointer-events: none; }
@keyframes load { from { transform: translateX(-100%); } to { transform: translateX(260%); } }
.modal__note { padding: 9px 16px 11px; border-top: 1px solid var(--line); color: var(--faint); font-size: 11px; }

/* Cambio de vista */
.view.is-entering { animation: view-in 420ms var(--ease-out) both; }
@keyframes view-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- Menos movimiento ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0ms !important; }
  .rise, .reveal { opacity: 1; transform: none; filter: none; }
}

/* ======================================================
   CELULAR: menos texto, más trabajo real (10/10, pedido de Tomás)
   ====================================================== */

/* las maquetas se achican solas cuando el escenario es chico */
.stage { container-type: inline-size; }
@container (max-width: 320px) {
  .ui, .flow, .chat, .lessons { zoom: 0.74; }
  .chip-float { zoom: 0.86; }
}
@container (max-width: 210px) {
  .ui, .flow, .chat, .lessons { zoom: 0.56; }
  .chip-float { zoom: 0.72; }
}

/* lo que vendo: grilla de tienda de 2 columnas, solo imagen, nombre, precio y "Agregar" */
@media (max-width: 639px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 10px; }
  .card--feature, .card--wide { grid-column: span 2; }
  .card { gap: 10px; }
  .card .stage { aspect-ratio: 4 / 5; }
  .card--feature .stage, .card--wide .stage { aspect-ratio: 16 / 11; }
  .card .frame { padding: 4px; border-radius: 16px; }
  .card .frame__core { border-radius: 12px; }
  .card__body { padding: 0 2px; gap: 4px; grid-template-rows: auto auto auto 1fr auto; }
  .card__tipo, .card__more, .card__ship { display: none; }
  .card:not(.card--feature):not(.card--wide):not(.card--pack) .card__top,
  .card:not(.card--feature):not(.card--wide):not(.card--pack) .card__bajada { display: none; }
  .card--feature .card__bajada, .card--wide .card__bajada { font-size: 13.5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .card__top { justify-content: flex-start; }
  .card__name { margin-top: 0; font-size: 15px; line-height: 1.25; }
  .card__foot { margin-top: 4px; padding-top: 0; border-top: 0; flex-direction: column; align-items: stretch; gap: 9px; }
  .card--feature .card__foot, .card--wide .card__foot { flex-direction: row; align-items: center; }
  .card__price .price__val { font-size: 15.5px; }
  .card__add { height: 36px; justify-content: center; padding: 0 12px; font-size: 13px; }
}

/* lo que ya hice: casos reales */
.cases {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(210px, 70%); gap: 12px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
  margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter);
}
.cases::-webkit-scrollbar { display: none; }
@media (min-width: 640px) { .cases { grid-auto-columns: minmax(230px, 38%); } }
@media (min-width: 1000px) { .cases { grid-auto-flow: row; grid-template-columns: repeat(5, minmax(0, 1fr)); overflow: visible; margin-inline: 0; padding-inline: 0; gap: 14px; } }
.case { scroll-snap-align: start; display: grid; gap: 4px; align-content: start; }
.case .frame { margin-bottom: 8px; transition: transform 300ms var(--ease-out), border-color 200ms ease; }
.case .stage { aspect-ratio: 4 / 5; }
.comp--case .dev--phone, .comp--case .dev--reel { height: 86%; left: 50%; top: 7%; transform: translateX(-50%); }
.comp--case .ui { width: min(88%, 380px); }
.comp--case .ui--portal { width: min(80%, 320px); }
.case__what { color: var(--faint); font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.08em; }
.case__num { font-size: 30px; line-height: 1.05; letter-spacing: -0.04em; color: var(--accent); white-space: nowrap; }
.case__label { color: var(--muted); font-size: 13.5px; line-height: 1.4; }
@media (hover: hover) and (pointer: fine) { .case:hover .frame { transform: translateY(-3px); border-color: var(--line-2); } }

/* ficha: lo largo, plegado */
.acc > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 0 18px; }
.acc > summary::-webkit-details-marker { display: none; }
.acc > summary::after { content: ""; flex: none; width: 9px; height: 9px; border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: rotate(45deg) translate(-3px, -3px); transition: transform 240ms var(--ease-out); }
.acc[open] > summary::after { transform: rotate(225deg) translate(-3px, -3px); border-color: var(--accent); }
.acc__texto { margin-bottom: 18px; color: var(--muted); font-size: 15px; max-width: 60ch; }
@media (min-width: 641px) { .acc__texto { display: none; } }
@media (max-width: 640px) {
  .buy__texto { display: none; }
  .pdp__sec.pdp__two { margin-top: 48px; gap: 0; border-top: 1px solid var(--line); }
  .acc { border-bottom: 1px solid var(--line); }
  .acc > summary { margin: 0; padding: 18px 0; }
  .acc[open] > summary { padding-bottom: 12px; }
  .acc .checks, .acc .spec { margin-bottom: 18px; }
  .pdp__sec { margin-top: 64px; }
}

/* ======================================================
   CATÁLOGO: dos caminos y productos que se arman sumando (10/10, noche)
   ====================================================== */
/* apartados que suman: nombre, ejemplo y "+ USD"; el detalle aparece al tildarlo */
.addons { display: grid; border-top: 1px solid var(--line); }
.addon { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; column-gap: 14px; border-bottom: 1px solid var(--line); }
.addon__main { position: relative; display: grid; grid-template-columns: 22px minmax(0, 1fr); align-items: center; gap: 12px; min-height: 50px; padding: 6px 2px; cursor: pointer; }
.addon__main input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.addon__box { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 6px; border: 1px solid var(--line-2); transition: background-color 160ms ease, border-color 160ms ease; }
.addon__box svg { width: 12px; height: 12px; fill: none; stroke: var(--accent-ink); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; opacity: 0; transform: scale(0.6); transition: opacity 160ms ease, transform 240ms var(--spring); }
.addon__main input:checked + .addon__box { background: var(--accent); border-color: var(--accent); }
.addon__main input:checked + .addon__box svg { opacity: 1; transform: none; }
.addon__main input:focus-visible + .addon__box { outline: 1.5px solid var(--accent); outline-offset: 3px; }
.addon__name { font-size: 15px; color: var(--text); }
.addon__price { color: var(--muted); font-size: 12.5px; white-space: nowrap; transition: color 160ms ease; padding-right: 2px; }
.addon:has(input:checked) .addon__price { color: var(--accent); }
.addon__see { padding: 4px 0; border: 0; background: none; color: var(--faint); font-size: 11px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; transition: color 160ms ease; }
@media (hover: hover) and (pointer: fine) { .addon__main:hover .addon__box { border-color: rgb(255 255 255 / 0.3); } .addon__see:hover { color: var(--accent); } }
.addon__detail { display: none; grid-column: 1 / -1; padding: 0 2px 12px 34px; margin-top: -6px; color: var(--muted); font-size: 12.5px; line-height: 1.45; }
.addon:has(input:checked) .addon__detail:not(:empty) { display: block; }
.opt--addons legend small { color: var(--faint); }

/* ver más info */
.more-btn { margin-top: 20px; display: inline-flex; align-items: center; gap: 8px; padding: 0; border: 0; background: none; color: var(--muted); font-size: 14px; cursor: pointer; transition: color 160ms ease; }
.more-btn svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transform: rotate(90deg); transition: transform 240ms var(--ease-out); }
.more-btn[aria-expanded="true"] svg { transform: rotate(-90deg); }
@media (hover: hover) and (pointer: fine) { .more-btn:hover { color: var(--text); } }
.more__texto { margin-top: 56px; max-width: 62ch; color: var(--muted); font-size: 16px; }
.more .pdp__sec:first-of-type { margin-top: 40px; }
@media (max-width: 640px) { .more .acc__texto { display: none; } }

/* la galería avisa cuando muestra el ejemplo de un apartado */
.gallery__view.is-flash .frame { animation: flash 1000ms var(--ease-out); }
@keyframes flash { 0% { box-shadow: 0 0 0 0 rgb(74 222 143 / 0); } 25% { box-shadow: 0 0 0 3px rgb(74 222 143 / 0.5); } 100% { box-shadow: 0 0 0 0 rgb(74 222 143 / 0); } }
/* en miniaturas muy chicas, la tabla de unidades sin los estados (se pisan) */
@container (max-width: 210px) { .trow .pill { display: none; } .trow { grid-template-columns: 30px 26px 26px minmax(0, 1fr); } }


/* ======================================================
   VENTAS (auditoría del 10/10): filtro deslizable, burbujas, paquete destacado
   ====================================================== */
/* el filtro: una pastilla que se desliza entre los dos rubros */
.toggle { position: relative; display: inline-flex; padding: 3px 4px; border-radius: 999px; border: 1px solid var(--line); background: transparent; }
.toggle__thumb {
  position: absolute; top: 3px; bottom: 3px; left: 4px; width: 0; border-radius: 999px; background: rgb(255 255 255 / 0.1);
  transition: transform 460ms var(--ease-drawer), width 460ms var(--ease-drawer);
}
.toggle__btn {
  position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: 34px; padding: 0 14px;
  border: 0; border-radius: 999px; background: none; color: var(--faint); font-size: 13.5px; font-weight: 400; letter-spacing: -0.01em; white-space: nowrap; cursor: pointer;
  transition: color 300ms ease;
}
.toggle__btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.toggle__btn svg .hot { stroke: var(--accent); }
.toggle__btn.is-on { color: var(--text); }
.toggle__btn.is-on svg .hot { stroke: var(--accent-ink); fill: var(--accent-ink); }
@media (hover: hover) and (pointer: fine) { .toggle__btn:not(.is-on):hover { color: var(--text); } }
.toggle__btn:focus-visible { outline: 1.5px solid var(--accent); outline-offset: 2px; }
@media (max-width: 640px) {
  .toggle__btn svg { display: none; }
}

/* atajos de armado y el paquete como alternativa */
.presets { display: flex; flex-wrap: wrap; gap: 8px; margin: -2px 0 12px; }
.preset {
  display: inline-flex; align-items: center; gap: 10px; min-height: 36px; padding: 0 12px 0 14px; border-radius: 999px; cursor: pointer;
  border: 1px dashed rgb(74 222 143 / 0.45); background: rgb(74 222 143 / 0.05); color: var(--text); font-size: 13px; text-align: left;
  transition: background-color 160ms ease, border-color 160ms ease, transform 160ms var(--ease-out);
}
.preset b { font-weight: 400; color: var(--accent); font-size: 12px; white-space: nowrap; }
.preset.is-on { border-style: solid; border-color: var(--accent); background: rgb(74 222 143 / 0.14); }
.preset:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) { .preset:hover { background: rgb(74 222 143 / 0.1); } }
.upsell {
  margin-top: 14px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px;
  padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line-2); background: rgb(255 255 255 / 0.02);
  color: var(--muted); font-size: 13.5px; line-height: 1.4; transition: border-color 200ms ease, background-color 200ms ease;
}
.upsell:empty { display: none; }
.upsell b { color: var(--text); font-weight: 500; }
.upsell__tag { color: var(--accent); font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.08em; white-space: nowrap; }
.upsell__go { display: inline-flex; align-items: center; gap: 4px; color: var(--text); font-size: 11.5px; white-space: nowrap; }
.upsell__go svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.upsell.is-hot { border-color: rgb(74 222 143 / 0.55); background: rgb(74 222 143 / 0.07); }
@media (max-width: 640px) { .upsell { grid-template-columns: minmax(0, 1fr) auto; } .upsell__tag { grid-column: 1 / -1; } }
.hint--save { color: var(--accent); }
.hint button { color: var(--accent); }

/* WhatsApp para dudas */
.wafloat {
  position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 34;
  display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 6px 0 16px; border-radius: 999px;
  background: rgb(29 29 32 / 0.92); border: 1px solid var(--line-2); color: var(--text); font-size: 13.5px;
  box-shadow: 0 20px 50px -20px rgb(0 0 0 / 0.9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: bottom 320ms var(--ease-drawer), transform 160ms var(--ease-out);
}
.wafloat svg { width: 40px; height: 40px; padding: 9px; border-radius: 50%; background: var(--accent); fill: var(--accent-ink); flex: none; }
.wafloat:active { transform: scale(0.96); }
body.has-buybar .wafloat { bottom: calc(80px + env(safe-area-inset-bottom)); }
@media (max-width: 640px) { .wafloat { padding: 0 6px; } .wafloat__label { display: none; } }

/* el ícono de la app (t.) en las maquetas de apps */
.app-ico { display: inline-block; flex: none; width: 20px; height: 20px; border-radius: 6px; vertical-align: middle; box-shadow: 0 0 0 1px rgb(255 255 255 / 0.1); }
.ui__bar b { display: inline-flex; align-items: center; gap: 8px; }
.ui__kicker .app-ico { width: 16px; height: 16px; border-radius: 5px; margin-right: 6px; }
.stage__label .app-ico { width: 34px; height: 34px; border-radius: 10px; }

/* la "i" con la info de los precios: un globito que aparece al tocarla, siempre dentro de la pantalla */
.cat-head__title { position: relative; }
.info__btn {
  display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line-2); background: none; padding: 0;
  color: var(--muted); font-family: var(--sans); font-size: 13px; font-weight: 500; font-style: normal; line-height: 1; cursor: pointer;
  transition: color 160ms ease, border-color 160ms ease, background-color 160ms ease;
}
.info__btn[aria-expanded="true"] { color: var(--text); border-color: rgb(255 255 255 / 0.35); background: rgb(255 255 255 / 0.08); }
@media (hover: hover) and (pointer: fine) { .info__btn:hover { color: var(--text); border-color: rgb(255 255 255 / 0.3); } }
.info__pop {
  position: absolute; left: 0; top: calc(100% + 10px); z-index: 30; width: min(340px, calc(100vw - 2 * var(--gutter)));
  padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--panel-2);
  box-shadow: 0 24px 60px -20px rgb(0 0 0 / 0.9); color: var(--muted); font-size: 13.5px; line-height: 1.5;
  transform-origin: 30% top; animation: pop-in 220ms var(--ease-out);
}
.info__pop b { color: var(--text); font-weight: 500; }
@keyframes pop-in { from { opacity: 0; transform: translateY(-4px) scale(0.97); } to { opacity: 1; transform: none; } }

/* el paquete completo: una franja angosta, con el verde suave de la marca */
.card--pack {
  grid-column: 1 / -1; display: flex; align-items: center; gap: 18px; grid-template-rows: none;
  padding: 14px 14px 14px 16px; border-radius: 18px;
  border: 1px solid rgb(74 222 143 / 0.24); background: linear-gradient(90deg, rgb(74 222 143 / 0.08), rgb(74 222 143 / 0.02) 70%);
  transition: border-color 200ms ease, background-color 200ms ease;
}
@media (hover: hover) and (pointer: fine) { .card--pack:hover { border-color: rgb(74 222 143 / 0.45); } }
.card--pack .card__link { border-radius: 18px; }
.pack__app .app-ico { display: block; width: 44px; height: 44px; border-radius: 12px; }
.pack__copy { flex: 1; min-width: 0; display: grid; gap: 4px; }
.pack__head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.card--pack .card__name { margin: 0; font-size: 17px; letter-spacing: -0.02em; }
.card--pack .tag--rec { height: 20px; padding: 0 8px; background: rgb(74 222 143 / 0.12); border-color: rgb(74 222 143 / 0.3); color: var(--accent); font-weight: 400; }
.pack__trae { display: flex; flex-wrap: wrap; gap: 4px 14px; color: var(--muted); font-size: 13.5px; }
.pack__trae span { display: inline-flex; align-items: center; gap: 6px; }
.pack__trae span::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--accent); }
.pack__buy { display: flex; align-items: center; gap: 14px; }
.pack__price { display: grid; justify-items: end; gap: 2px; }
.card--pack .price__val { font-size: 18px; }
.pack__save { color: var(--accent); font-size: 11px; }
@media (max-width: 760px) {
  .card--pack { flex-wrap: wrap; gap: 12px; padding: 14px; }
  .pack__app .app-ico { width: 38px; height: 38px; }
  .pack__copy { flex: 1 1 calc(100% - 60px); }
  .pack__buy { flex: 1 1 100%; justify-content: space-between; padding-top: 10px; border-top: 1px solid rgb(74 222 143 / 0.16); }
  .pack__price { justify-items: start; }
  .card--pack .card__add { width: auto; }
}

/* el celular que recorre bairengroup.com: portada, catálogo y ficha */
.tour { position: relative; display: block; width: 100%; height: 100%; }
.tour img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; }
.tour img:first-child { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .tour img { animation: tour 12s ease-in-out infinite; animation-delay: calc(var(--k) * 4s); }
  .tour img:first-child { opacity: 0; }
}
@keyframes tour { 0% { opacity: 0; transform: translateY(8px); } 6%, 30% { opacity: 1; transform: none; } 36%, 100% { opacity: 0; transform: translateY(-8px); } }
.comp--web .dev--phone.is-solo { height: 86%; left: 50%; top: 7%; transform: translateX(-50%); }
.comp--web .chip-float { left: 50%; bottom: 5%; transform: translateX(-50%); }

/* la app del equipo, con su ícono arriba */
.app-badge { position: absolute; left: 50%; top: 8%; z-index: 3; transform: translateX(-50%); display: grid; justify-items: center; gap: 6px; }
.app-badge .app-ico { width: 46px; height: 46px; border-radius: 13px; box-shadow: 0 14px 30px -14px rgb(0 0 0 / 0.9), 0 0 0 1px rgb(255 255 255 / 0.12); }
.app-badge b { font-weight: 400; font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
/* ícono arriba y la maqueta abajo, apilados: nunca se pisan */
.app-stack { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 18px 16px; }
.app-stack .app-badge { position: static; transform: none; display: flex; align-items: center; gap: 10px; }
.app-stack .app-badge .app-ico { width: 34px; height: 34px; border-radius: 10px; }
.app-stack .ui { position: relative; left: auto; top: auto; transform: none; width: min(88%, 380px); }

/* el portal es una página: barra de dirección arriba */
.ui__url { display: flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; margin: -4px -6px 4px; border-radius: 999px; background: rgb(255 255 255 / 0.06); color: var(--muted); font-size: 9.5px; }
.ui__url svg { width: 10px; height: 10px; fill: none; stroke: var(--accent); stroke-width: 1.4; }
.comp--portal .chip-float { left: 50%; bottom: 5%; transform: translateX(-50%); }


@media (max-width: 640px) { .toast { bottom: calc(80px + env(safe-area-inset-bottom)); } }

/* cabecera del catálogo: título con su "i" a la izquierda y el filtro a la derecha */
.cat-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; }
.cat-head__title { display: flex; align-items: center; gap: 12px; }
.cat-note { margin: 16px 0 32px; color: var(--muted); font-size: 14px; }
.toggle__btn .l-short { display: none; }
@media (max-width: 640px) {
  .cat-head .toggle { display: flex; width: 100%; }
  .toggle__btn { flex: 1; height: 40px; padding: 0 10px; font-size: 14px; }
  .toggle__btn .l-long { display: none; }
  .toggle__btn .l-short { display: inline; }
  .cat-note { margin: 12px 0 28px; font-size: 13.5px; }
}

/* barra de compra del celular: qué estás comprando y cuánto suma */
.buybar__info { display: grid; gap: 1px; min-width: 0; }
.buybar__name { color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* la portada respira: el dibujo flota apenas y se va al bajar */
@media (prefers-reduced-motion: no-preference) {
  .scene { animation: float 7s ease-in-out infinite; }
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.field__hint { color: var(--faint); font-size: 12.5px; }
a.card__add { text-decoration: none; }

/* maquetas en tarjetas chicas: se dibujan a su tamaño real y se achican enteras, así nada se aprieta ni se sale */
.comp--portal .ui__nav { display: none; }
@container (max-width: 440px) {
  .comp--portal .ui { width: 310px; zoom: 0.8; }
}
@container (max-width: 320px) {
  .app-stack .ui { width: 330px; zoom: 0.7; }
  .comp--portal .ui { width: 300px; zoom: 0.7; }
}
@container (max-width: 210px) {
  .app-stack { gap: 10px; padding: 10px; }
  .app-stack .app-badge b { display: none; }
  .app-stack .app-badge .app-ico { width: 30px; height: 30px; border-radius: 9px; }
  .app-stack .ui { width: 300px; zoom: 0.46; }
  .comp--portal .ui { width: 290px; zoom: 0.5; }
  .comp--portal .chip-float { display: none; }
}

/* ======================================================
   CATÁLOGO EN DOS PARTES (10/10): paquetes arriba, productos por separado abajo
   ====================================================== */
.cat-label { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin: 0 0 14px; color: var(--text); font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; }
.cat-label span { color: var(--faint); font-family: var(--sans); font-size: 13px; text-transform: none; letter-spacing: 0; }
.cat-label--sep { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); }

/* los dos paquetes, lado a lado en la compu y uno abajo del otro en el celular */
.tiers { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .tiers { grid-template-columns: 1fr 1fr; gap: 16px; } }
.tier {
  position: relative; display: grid; grid-template-rows: auto 1fr auto auto auto; gap: 16px; padding: 20px;
  border-radius: 18px; border: 1px solid var(--line-2); background: rgb(255 255 255 / 0.02);
  transition: border-color 200ms ease, transform 260ms var(--ease-out);
}
.tier--top { border-color: rgb(74 222 143 / 0.3); background: linear-gradient(160deg, rgb(74 222 143 / 0.08), rgb(74 222 143 / 0.015) 60%); }
@media (hover: hover) and (pointer: fine) {
  .tier:hover { border-color: rgb(255 255 255 / 0.22); transform: translateY(-2px); }
  .tier--top:hover { border-color: rgb(74 222 143 / 0.5); }
  .tier:hover .tier__more { color: var(--accent); }
}
.tier .card__link { border-radius: 18px; }
.tier__head { display: flex; align-items: center; gap: 12px; }
.tier__app .app-ico { display: block; width: 40px; height: 40px; border-radius: 11px; }
.tier__id { display: grid; gap: 2px; }
.tier__name { font-size: 19px; font-weight: 500; letter-spacing: -0.025em; line-height: 1.2; }
.tier__tag { color: var(--faint); font-size: 11px; }
.tier--top .tier__tag { color: var(--accent); }
.tier__list { display: grid; gap: 8px; align-content: start; }
.tier__list li { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); font-size: 14px; line-height: 1.4; }
.tier__list svg { flex: none; width: 15px; height: 15px; margin-top: 2px; fill: none; stroke: var(--accent); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.tier__plus { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; color: var(--muted); font-size: 13px; }
.tier__plus b { color: var(--text); font-weight: 500; }
.tier__plus i { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 999px; border: 1px solid rgb(74 222 143 / 0.3); background: rgb(74 222 143 / 0.06); color: var(--text); font-style: normal; font-size: 12px; white-space: nowrap; }
.tier__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.tier__price { display: grid; gap: 4px; min-width: 0; }
.tier__price .price__val { font-size: 26px; letter-spacing: -0.03em; }
.tier__save { color: var(--accent); font-size: 11.5px; }
.tier__save s { color: var(--faint); text-decoration-color: rgb(255 143 128 / 0.7); }
.tier__more { display: inline-flex; align-items: center; gap: 6px; margin-top: -4px; color: var(--muted); font-size: 12px; transition: color 160ms ease; }
.tier__more svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 640px) {
  .tier { padding: 16px; gap: 14px; }
  .tier__price .price__val { font-size: 23px; }
  .tier__list li { font-size: 13.5px; }
}

/* la cuenta del paquete, en su ficha */
.cuenta { display: grid; gap: 10px; margin-top: 16px; padding: 16px; border-radius: 14px; border: 1px solid var(--line-2); background: rgb(255 255 255 / 0.02); }
.cuenta__title { color: var(--faint); font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; }
.cuenta__row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; color: var(--muted); font-size: 14px; }
.cuenta__row small { display: block; margin-top: 2px; color: var(--faint); font-size: 12px; line-height: 1.4; }
.cuenta__row .mono { flex: none; font-size: 13px; }
.cuenta__row--sum { padding-top: 10px; border-top: 1px solid var(--line); }
.cuenta__row--sum s { color: var(--faint); text-decoration-color: rgb(255 143 128 / 0.7); }
.cuenta__row--total { color: var(--text); font-weight: 500; }
.cuenta__row--total .mono { font-size: 15px; }
.cuenta__save { justify-self: end; color: var(--accent); font-size: 12px; }

/* el aviso puede ocupar dos renglones en el celular, sin salirse de la pantalla */
.toast { max-width: calc(100vw - 32px); white-space: normal; line-height: 1.35; }
.toast__btn { flex: none; white-space: nowrap; }

/* el paquete (dibujo de Tomás, 11/10): tarjeta angosta con interruptor PRO o TOP arriba a la derecha.
   Apagado: verde (Completo). Prendido: violeta (Pro) o dorado (Top), con la misma intensidad. */
.pack {
  --pk: 74 222 143;
  position: relative; display: grid; gap: 14px; padding: 16px 18px; border-radius: 16px;
  border: 1px solid rgb(var(--pk) / 0.3); background-color: rgb(var(--pk) / 0.06);
  transition: border-color 360ms ease, background-color 360ms ease;
}
.pack--violet.is-on { --pk: 167 139 250; }
.pack--gold.is-on { --pk: 232 196 104; }
.pack .card__link { border-radius: 16px; }
.pack__head { display: flex; align-items: center; gap: 12px; }
.pack__head .tier__id { flex: 1; min-width: 0; }
.pack .tier__app .app-ico { width: 38px; height: 38px; border-radius: 10px; }
.pack .tier__name { font-size: 17px; }
.pack__ver { color: rgb(var(--pk)); transition: color 360ms ease; }
.pack .tier__tag { color: rgb(var(--pk)); transition: color 360ms ease; }
.pack .tier__list svg { stroke: rgb(var(--pk)); transition: stroke 360ms ease; }
.pack__list { gap: 6px 20px; }
@media (min-width: 700px) { .pack__list { grid-template-columns: 1fr 1fr; } }
.pack .tier__plus { font-size: 12.5px; gap: 5px; }
.pack .tier__plus:empty { display: none; }
.pack .tier__plus i { height: 22px; padding: 0 8px; font-size: 11.5px; border-color: rgb(var(--pk) / 0.35); background: rgb(var(--pk) / 0.08); transition: border-color 360ms ease, background-color 360ms ease; }
.pack--violet:not(.is-on) .tier__plus i { border-color: rgb(167 139 250 / 0.35); background: rgb(167 139 250 / 0.08); }
.pack--gold:not(.is-on) .tier__plus i { border-color: rgb(232 196 104 / 0.35); background: rgb(232 196 104 / 0.08); }
.pack .tier__foot { padding-top: 14px; border-top-color: rgb(var(--pk) / 0.16); }
.pack .tier__price .price__val { font-size: 22px; }
.pack .tier__save { color: rgb(var(--pk)); transition: color 360ms ease; }

/* el interruptor: "PRO" y una perilla que se corre; prendido toma el color de la versión */
.pro { position: relative; z-index: 3; flex: none; display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 4px 0 10px; border: 0; border-radius: 999px; background: none; color: var(--muted); cursor: pointer; }
.pro__label { font-size: 12px; letter-spacing: 0.08em; transition: color 300ms ease; }
.pro__track { position: relative; width: 40px; height: 24px; border-radius: 999px; background: rgb(255 255 255 / 0.1); box-shadow: inset 0 0 0 1px var(--line-2); transition: background-color 300ms ease, box-shadow 300ms ease; }
.pro__knob { position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--text); box-shadow: 0 2px 6px rgb(0 0 0 / 0.4); transition: transform 360ms var(--spring), background-color 300ms ease; }
.pack--violet .pro__label { color: rgb(167 139 250); }
.pack--gold .pro__label { color: rgb(232 196 104); }
.pack.is-on .pro__track { background: rgb(var(--pk) / 0.35); box-shadow: inset 0 0 0 1px rgb(var(--pk) / 0.6); }
.pack.is-on .pro__knob { transform: translateX(16px); background: rgb(var(--pk)); }
.pro:focus-visible { outline: 1.5px solid rgb(var(--pk)); outline-offset: 2px; }
.pro:active .pro__knob { width: 21px; }
@media (max-width: 640px) { .pack { padding: 14px; } }

/* con una sola tarjeta de paquete, el contenedor ocupa todo el ancho */
.tiers { display: block; }

/* la app del equipo: el celular con la portada de una app real */
.comp--equipo .dev--phone.is-solo { height: 86%; left: 50%; top: 7%; transform: translateX(-50%); }
.comp--equipo .chip-float { left: 50%; right: auto; bottom: 5%; transform: translateX(-50%); }

/* el portal: se nota que es un portal (dirección, título, el nombre del dueño y su propiedad) */
.pt__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 2px; }
.pt__brand { font-size: 11px; color: var(--muted); letter-spacing: -0.01em; }
.pt__brand b { color: var(--text); font-weight: 500; }
.pt__av { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: rgb(74 222 143 / 0.16); color: var(--accent); font-size: 9px; font-weight: 600; }
.pt__title { margin-top: 6px; font-size: 17px; font-weight: 500; letter-spacing: -0.03em; line-height: 1.15; }
.pt__hi { color: var(--muted); font-size: 12px; margin-bottom: 4px; }
.pt__prop { display: grid; grid-template-columns: 54px 1fr; gap: 10px; align-items: center; padding: 6px; border-radius: 10px; background: rgb(255 255 255 / 0.04); border: 1px solid var(--line); }
.pt__ph { display: block; width: 54px; height: 40px; border-radius: 7px; object-fit: cover; }
.pt__ph--obra { background: var(--blueprint), linear-gradient(160deg, #2a2d33, #1b1c20); }
.pt__prop-tx { display: grid; gap: 1px; min-width: 0; }
.pt__prop-tx b { font-size: 12.5px; font-weight: 500; }
.pt__prop-tx small { color: var(--faint); font-size: 10.5px; }
/* en la tarjeta del catálogo, lo justo: el resto se ve en la ficha */
.comp--portal .ui__row, .comp--portal .ui__nav { display: none; }

/* el Programa: una compu con Skool abierto en el curso */
.laptop { position: absolute; left: 50%; top: 50%; z-index: 2; width: 88%; transform: translate(-50%, -54%); filter: drop-shadow(0 30px 40px rgb(0 0 0 / 0.55)); }
.laptop__screen { display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 9px 9px 0 0; border: 4px solid #2b2b30; border-bottom-width: 7px; background: #fff; }
.laptop__base { display: block; height: 9px; margin: 0 -7%; border-radius: 0 0 10px 10px; background: linear-gradient(#45454c, #26262a); }
.laptop__base::after { content: ""; display: block; width: 18%; height: 3px; margin: 0 auto; border-radius: 0 0 4px 4px; background: #1d1d20; }
.sk { display: grid; grid-template-rows: auto 1fr auto; height: 100%; background: #fff; color: #202124; font-family: var(--sans); }
.sk__bar { display: flex; align-items: center; gap: 4cqw; padding: 1.8cqw 3cqw; border-bottom: 1px solid #ececec; }
.sk__logo { display: inline-flex; font-size: 4.6cqw; font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
.sk__logo i { font-style: normal; }
.sk__logo i:nth-child(1) { color: #2e5bff; } .sk__logo i:nth-child(2) { color: #e8453c; } .sk__logo i:nth-child(3) { color: #f4b400; }
.sk__logo i:nth-child(4) { color: #2e5bff; } .sk__logo i:nth-child(5) { color: #0f9d58; }
.sk__comm { font-size: 2.7cqw; font-weight: 600; white-space: nowrap; }
.sk__tabs { display: flex; gap: 2.2cqw; margin-left: auto; font-size: 2.3cqw; color: #8a8a8a; }
.sk__tabs i { font-style: normal; }
.sk__tabs .is-on { color: #202124; font-weight: 600; }
.sk__cover { position: relative; display: block; margin: 2.4cqw 3cqw 0; border-radius: 1.6cqw; overflow: hidden; }
.sk__cover img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.sk__cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(10 10 12 / 0.82), rgb(10 10 12 / 0.15) 70%); }
.sk__title { position: absolute; left: 4cqw; top: 50%; z-index: 1; transform: translateY(-50%); display: grid; gap: 0.8cqw; color: #fff; max-width: 52%; }
.sk__title b { font-size: 5.2cqw; font-weight: 600; line-height: 1.02; letter-spacing: -0.03em; }
.sk__title small { font-size: 2.3cqw; opacity: 0.85; }
.sk__foot { display: flex; align-items: center; gap: 2.4cqw; padding: 2cqw 3cqw 2.4cqw; font-size: 2.3cqw; color: #5f6368; }
.sk__bar2 { flex: 1; height: 1cqw; border-radius: 99px; background: #ececec; overflow: hidden; }
.sk__bar2 i { display: block; width: 35%; height: 100%; background: #0f9d58; }
.comp--clases .laptop { width: 92%; }
.slide .laptop { width: min(84%, 560px); }
/* el portal en la galería de su ficha: entero, sin cortarse arriba */
@container (max-width: 520px) { .slide .ui--portal { width: 330px; zoom: 0.72; } }
@container (min-width: 521px) { .slide .ui--portal { width: 330px; zoom: 0.92; } }
.comp--portal .ui__big, .comp--portal .meter { display: none; }

/* el celular: barra de estado arriba y la pantalla debajo (así nada de la web choca con la curva del borde) */
.dev--phone .dev__screen { display: flex; flex-direction: column; background: #0c0c0d; }
.dev--phone .dev__screen > img, .dev--phone .dev__screen > video, .dev--phone .dev__screen > .tour { flex: 1; min-height: 0; height: auto; }
.phone-bar { flex: none; display: flex; align-items: center; justify-content: space-between; height: 6.5%; padding: 0 12% 0 13%; background: #0c0c0d; color: #f2f2f2; }
.phone-bar b { font-family: var(--sans); font-size: 1.9cqw; font-weight: 600; letter-spacing: -0.01em; }
.phone-bar i { width: 4.2cqw; height: 1.8cqw; border-radius: 0.5cqw; border: 1px solid rgb(255 255 255 / 0.7); position: relative; }
.phone-bar i::after { content: ""; position: absolute; inset: 1px; right: 30%; border-radius: 1px; background: #f2f2f2; }
.slide .phone-bar b { font-size: 1.6cqw; }
.slide .phone-bar i { width: 3.4cqw; height: 1.5cqw; }

/* el paquete, compacto (11/10): nombre, interruptor, precio y Agregar; lo que trae se abre con "Qué trae" */
.pack { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding: 14px 16px; }
.pack__head { flex: 1 1 300px; min-width: 0; }
.pack__row { position: relative; z-index: 3; flex: 0 1 auto; display: flex; align-items: center; gap: 12px; }
.pack .tier__price { gap: 2px; }
.pack .tier__price .price__val { font-size: 20px; }
.pack .tier__save { font-size: 11px; white-space: nowrap; }
.pack__more {
  display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; border-radius: 999px; cursor: pointer;
  border: 1px solid rgb(var(--pk) / 0.35); background: rgb(var(--pk) / 0.06); color: var(--text); font-size: 12px; white-space: nowrap;
  transition: border-color 360ms ease, background-color 360ms ease;
}
.pack__more svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform 300ms var(--ease-out); }
.pack__more[aria-expanded="true"] svg { transform: rotate(180deg); }
@media (hover: hover) and (pointer: fine) { .pack__more:hover { border-color: rgb(var(--pk) / 0.6); } }
.pack__det { position: relative; z-index: 3; flex: 1 1 100%; display: grid; grid-template-rows: 0fr; opacity: 0; margin-top: -12px; transition: grid-template-rows 380ms var(--ease-out), opacity 260ms ease, margin-top 380ms var(--ease-out); }
.pack__det > div { min-height: 0; overflow: hidden; display: grid; gap: 12px; }
.pack__det.is-open { grid-template-rows: 1fr; opacity: 1; margin-top: 0; }
.pack__det.is-open > div { padding-top: 12px; border-top: 1px solid rgb(var(--pk) / 0.16); }
.pack__go { justify-self: start; display: inline-flex; align-items: center; gap: 6px; color: rgb(var(--pk)); font-size: 12px; }
.pack__go svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.pack .tier__foot { display: none; }
@media (max-width: 700px) {
  .pack { gap: 12px; }
  .pack__head { flex-basis: 100%; }
  .pack__row { flex: 1 1 100%; justify-content: space-between; gap: 8px; }
  .pack .tier__price { margin-right: auto; }
  .pack .card__add { padding: 0 13px 0 11px; }
  .pack__more { padding: 0 11px; }
}
@media (max-width: 380px) { .pack .tier__save { white-space: normal; } .pack .card__add span { display: none; } .pack .card__add { padding: 0 12px; } }
.pack .tier__save span { white-space: nowrap; }
.pack .tier__save span::before { content: " · "; }
@media (max-width: 700px) {
  .pack .tier__save { white-space: normal; line-height: 1.35; }
  .pack .tier__save s { display: block; }
  .pack .tier__save span::before { content: none; }
}

/* ======================================================
   FICHAS DE PRODUCTO, ordenadas (11/10): qué es, qué trae, precio, extras, total y comprar
   ====================================================== */
.buy__kicker { color: var(--faint); font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; }
.buy__title { margin-top: 8px; }
.buy__bajada { margin-top: 12px; font-size: 15.5px; }

/* lo que trae la base */
.base { display: grid; gap: 10px; margin-top: 20px; }
.base__t { color: var(--faint); font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; }
.base__list { display: grid; gap: 8px; }
.base__list li { display: flex; gap: 10px; align-items: flex-start; color: var(--text); font-size: 14.5px; line-height: 1.4; }
.base__list svg { flex: none; width: 15px; height: 15px; margin-top: 3px; fill: none; stroke: var(--muted); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.base__more { justify-self: start; padding: 0; border: 0; background: none; color: var(--muted); font-size: 13px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* el precio: tranquilo, en una línea */
.buy__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 12px; margin-top: 20px; padding-top: 18px; }
.buy__price .buy__nota { margin: 0; color: var(--faint); font-size: 12.5px; }

/* los extras: una lista limpia; cada uno dice qué es */
.opts { gap: 22px; margin-top: 22px; }
.opt--addons legend { display: flex; align-items: baseline; gap: 8px; margin-bottom: 8px; color: var(--text); font-size: 15px; font-weight: 500; }
.opt--addons legend small { margin: 0; color: var(--faint); font-size: 12.5px; font-weight: 400; }
.addons { border-top: 1px solid var(--line); }
.addon { position: relative; display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; align-items: start; gap: 4px 12px; padding: 13px 2px; border-bottom: 1px solid var(--line); cursor: pointer; }
.addon > input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.addon .addon__box { margin-top: 1px; }
.addon > input:checked + .addon__box { background: var(--accent); border-color: var(--accent); }
.addon > input:checked + .addon__box svg { opacity: 1; transform: none; }
.addon > input:focus-visible + .addon__box { outline: 1.5px solid var(--accent); outline-offset: 3px; }
.addon__txt { display: grid; gap: 3px; min-width: 0; }
.addon .addon__name { font-size: 14.5px; line-height: 1.3; }
.addon .addon__detail { display: block; grid-column: auto; padding: 0; margin: 0; color: var(--faint); font-size: 12.5px; line-height: 1.4; }
.addon .addon__see { justify-self: start; margin-top: 2px; padding: 0; border: 0; background: none; color: var(--muted); font-family: var(--sans); font-size: 12px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.addon .addon__price { margin-top: 1px; color: var(--muted); font-size: 12.5px; white-space: nowrap; }
.addon:has(input:checked) .addon__price { color: var(--text); }
@media (hover: hover) and (pointer: fine) { .addon:hover .addon__box { border-color: rgb(255 255 255 / 0.3); } .addon .addon__see:hover { color: var(--text); } }

/* el total, junto al botón: aparece recién cuando se suma algo */
.buy__sum { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; padding: 14px 16px; border-radius: 14px; background: rgb(255 255 255 / 0.04); border: 1px solid var(--line-2); }
.buy__sum-l { display: grid; gap: 2px; font-size: 14px; color: var(--text); }
.buy__sum-l small { color: var(--faint); font-size: 12px; }
.buy__sum b { font-size: 22px; font-weight: 400; letter-spacing: -0.02em; }

/* el paquete, solo si va sumando mucho: tranquilo, con la cuenta */
.offer { display: grid; grid-template-columns: 34px 1fr; gap: 6px 12px; align-items: start; margin-top: 12px; padding: 14px; border-radius: 14px; border: 1px dashed var(--line-2); animation: view-in 360ms var(--ease-out) both; }
.offer__ico .app-ico { width: 34px; height: 34px; border-radius: 9px; }
.offer__txt { color: var(--muted); font-size: 13.5px; line-height: 1.45; }
.offer__txt b { color: var(--text); font-weight: 500; }
.offer__go { grid-column: 2; justify-self: start; display: inline-flex; align-items: center; gap: 6px; color: var(--text); font-size: 12px; }
.offer__go svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* en la ficha de un paquete: el interruptor para pasar al Pro o al Top */
.pk-switch { --pk: 167 139 250; display: flex; align-items: center; gap: 10px; margin-top: 18px; padding: 10px 12px 10px 14px; border-radius: 12px; border: 1px solid var(--line-2); color: var(--muted); font-size: 13.5px; }
.pk-switch--gold { --pk: 232 196 104; }
.pk-switch > span:first-child { flex: 1; }
.pk-switch .pro__label { color: rgb(var(--pk)); }
.pk-switch.is-on { border-color: rgb(var(--pk) / 0.4); background: rgb(var(--pk) / 0.06); color: var(--text); }
.pk-switch.is-on .pro__track { background: rgb(var(--pk) / 0.35); box-shadow: inset 0 0 0 1px rgb(var(--pk) / 0.6); }
.pk-switch.is-on .pro__knob { transform: translateX(16px); background: rgb(var(--pk)); }
.buy__cta { margin-top: 18px; }

/* la app para tu equipo: la compu atrás y el celular adelante */
.comp--equipo .dev--desk.is-back { width: 84%; left: 4%; top: 13%; }
.comp--equipo .dev--phone.is-front { height: 70%; left: auto; right: 6%; top: auto; bottom: 7%; transform: none; }
.comp--equipo .chip-float { left: 6%; right: auto; bottom: 7%; transform: none; }

/* ======================================================
   La app para tu equipo: notebook atrás, celular adelante
   ====================================================== */
.comp--equipo .laptop.is-back { left: 4%; top: 47%; width: 80%; transform: translateY(-50%); }
.comp--equipo .dev--phone.is-front { height: 68%; left: auto; right: 5%; top: auto; bottom: 6%; transform: none; z-index: 3; box-shadow: 0 24px 50px -16px rgb(0 0 0 / 0.95); }
.laptop__screen > img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.slide .laptop { left: 50%; top: 50%; transform: translate(-50%, -54%); }

/* ======================================================
   Escenas explicadas (11/10): la app para tu equipo y el portal, estáticas y claras
   ====================================================== */
/* las tarjetas con escena son anchas; la grilla rellena los huecos */
.grid { grid-auto-flow: dense; }
@media (max-width: 639px) {
  .card--scene .stage { aspect-ratio: 1 / 1; }
}
.xc { position: absolute; inset: 0; display: block; }
.xc .laptop { position: absolute; transform: none; filter: drop-shadow(0 26px 34px rgb(0 0 0 / 0.6)); }
.xc .dev--phone { position: absolute; transform: none; box-shadow: 0 30px 60px -20px rgb(0 0 0 / 0.95); }

/* --- la app: notebook, celular y dos avisos --- */
.xc--app .xc-laptop { left: 4%; top: 6%; width: 82%; }
.xc--app .xc-phone { right: 5%; bottom: 5%; height: 60%; left: auto; top: auto; z-index: 3; }
.xn { position: absolute; z-index: 4; display: flex; align-items: center; gap: 2.4cqw; width: 56%; padding: 2.2cqw 2.8cqw; border-radius: 3.4cqw;
  background: rgb(246 246 248 / 0.94); color: #1d1d1f; box-shadow: 0 18px 40px -14px rgb(0 0 0 / 0.75); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.xn__ico { flex: none; display: grid; place-items: center; width: clamp(20px, 7.5cqw, 34px); height: clamp(20px, 7.5cqw, 34px); border-radius: 26%; color: #fff; }
.xn__ico svg { width: 58%; height: 58%; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.xn__ico--ok { background: #1f9d5c; }
.xn__ico--key { background: #c2a061; }
.xn__tx { display: grid; gap: 0.3cqw; min-width: 0; }
.xn__tx b { font-size: clamp(10px, 3.3cqw, 14px); font-weight: 600; letter-spacing: -0.01em; line-height: 1.2; }
.xn__tx small { font-size: clamp(8.5px, 2.7cqw, 12px); color: #5f5f66; line-height: 1.25; }
.xn--1 { left: 4%; top: 55%; }
.xn--2 { left: 4%; top: 75%; }

/* --- el portal: el chat de WhatsApp, la flecha y el portal abierto --- */
.xc .wa { position: absolute; left: 4%; top: 12%; width: 70%; z-index: 2; display: grid; overflow: hidden; border-radius: 3.6cqw; background: #0b141a; box-shadow: 0 26px 50px -18px rgb(0 0 0 / 0.9); border: 1px solid rgb(255 255 255 / 0.08); }
.wa__head { display: flex; align-items: center; gap: 2.4cqw; padding: 2.4cqw 3cqw; background: #1f2c34; }
.wa__av { display: grid; place-items: center; width: clamp(20px, 7.4cqw, 34px); height: clamp(20px, 7.4cqw, 34px); border-radius: 50%; background: #6b7c85; color: #fff; font-size: clamp(8px, 2.6cqw, 12px); font-weight: 600; }
.wa__who { display: grid; }
.wa__who b { color: #e9edef; font-size: clamp(10px, 3.3cqw, 14px); font-weight: 600; }
.wa__who small { color: #8696a0; font-size: clamp(8.5px, 2.5cqw, 11px); }
.wa__body { display: flex; flex-direction: column; align-items: flex-end; gap: 1.8cqw; padding: 3cqw; background: radial-gradient(circle at 20% 30%, rgb(255 255 255 / 0.03) 0 1px, transparent 1.5px) 0 0 / 14px 14px; }
.wa__b { position: relative; max-width: 88%; padding: 1.8cqw 2.6cqw 4.2cqw; border-radius: 2.4cqw 0.6cqw 2.4cqw 2.4cqw; background: #005c4b; color: #e9edef; font-size: clamp(9.5px, 3cqw, 13.5px); line-height: 1.35; }
.wa__t { position: absolute; right: 2cqw; bottom: 1cqw; display: inline-flex; align-items: center; gap: 0.6cqw; color: rgb(233 237 239 / 0.6); font-size: clamp(7.5px, 2.1cqw, 10px); }
.wa__t svg { width: clamp(10px, 3cqw, 14px); height: auto; fill: none; stroke: #53bdeb; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.wa__b--link u { color: #53bdeb; }
.wa__prev { display: grid; grid-template-columns: clamp(24px, 9cqw, 40px) 1fr; gap: 2cqw; align-items: center; margin-bottom: 1.4cqw; padding: 1.2cqw; border-radius: 1.4cqw; background: rgb(0 0 0 / 0.25); }
.wa__prev-ph { display: block; width: clamp(24px, 9cqw, 40px); aspect-ratio: 1; border-radius: 1cqw; background: url("assets/portal-prop.jpg?v=2") center / cover; }
.wa__prev-tx { display: grid; gap: 0.4cqw; }
.wa__prev-tx b { font-size: clamp(9px, 2.8cqw, 12.5px); font-weight: 600; }
.wa__prev-tx small { font-size: clamp(8px, 2.3cqw, 10.5px); color: rgb(233 237 239 / 0.65); }
.wa__tap { position: absolute; left: 30%; bottom: 22%; width: clamp(18px, 6cqw, 28px); aspect-ratio: 1; border-radius: 50%; background: rgb(255 255 255 / 0.35); border: 2px solid rgb(255 255 255 / 0.9); box-shadow: 0 0 0 6px rgb(255 255 255 / 0.12); }
.xc-arrow { position: absolute; z-index: 3; left: 30%; top: 64%; width: 30%; height: auto; overflow: visible; }
.xc-arrow__line { fill: none; stroke: var(--accent); stroke-width: 2.4; stroke-dasharray: 5 5; stroke-linecap: round; }
.xc-arrow__head { fill: none; stroke: var(--accent); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.xc--portal .xc-phone { right: 5%; bottom: 4%; height: 58%; left: auto; top: auto; z-index: 3; }
.xc-step { position: absolute; z-index: 4; display: inline-flex; align-items: center; gap: 1.6cqw; padding: 1.2cqw 2.4cqw 1.2cqw 1.2cqw; border-radius: 999px; background: rgb(22 22 24 / 0.86); border: 1px solid var(--line-2); color: var(--text); font-size: clamp(9px, 2.8cqw, 12.5px); white-space: nowrap; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.xc-step b { display: grid; place-items: center; width: clamp(15px, 4.8cqw, 22px); aspect-ratio: 1; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-size: clamp(8px, 2.5cqw, 11px); font-weight: 600; }
.xc-step--1 { left: 4%; top: 3.5%; }
.xc-step--2 { left: 4%; bottom: 6%; }

/* en la compu (tarjeta ancha): todo en una fila */
@media (min-width: 640px) {
  .xc--app .xc-laptop { left: 3%; top: 50%; width: 54%; transform: translateY(-50%); }
  .xc--app .xc-phone { left: 50%; right: auto; top: 6%; bottom: auto; height: 88%; }
  .xn { width: 33%; padding: 1.2cqw 1.6cqw; gap: 1.4cqw; border-radius: 1.8cqw; }
  .xn__ico { width: clamp(20px, 3.6cqw, 34px); height: clamp(20px, 3.6cqw, 34px); }
  .xn__tx b { font-size: clamp(10px, 1.7cqw, 14px); }
  .xn__tx small { font-size: clamp(9px, 1.4cqw, 12px); }
  .xn--1 { left: auto; right: 3%; top: 22%; }
  .xn--2 { left: auto; right: 3%; top: auto; bottom: 22%; }

  .xc .wa { left: 3%; top: 50%; width: 42%; transform: translateY(-46%); border-radius: 2cqw; }
  .wa__head { padding: 1.2cqw 1.6cqw; gap: 1.2cqw; }
  .wa__av { width: clamp(20px, 3.6cqw, 34px); height: clamp(20px, 3.6cqw, 34px); font-size: clamp(8px, 1.3cqw, 12px); }
  .wa__who b { font-size: clamp(10px, 1.6cqw, 14px); } .wa__who small { font-size: clamp(8.5px, 1.2cqw, 11px); }
  .wa__body { padding: 1.6cqw; gap: 1cqw; }
  .wa__b { padding: 1cqw 1.4cqw 2.4cqw; border-radius: 1.4cqw 0.4cqw 1.4cqw 1.4cqw; font-size: clamp(9.5px, 1.55cqw, 13.5px); }
  .wa__t { right: 1.2cqw; bottom: 0.6cqw; font-size: clamp(7.5px, 1.1cqw, 10px); }
  .wa__prev { grid-template-columns: clamp(24px, 4.4cqw, 40px) 1fr; gap: 1cqw; padding: 0.7cqw; margin-bottom: 0.8cqw; }
  .wa__prev-ph { width: clamp(24px, 4.4cqw, 40px); }
  .wa__prev-tx b { font-size: clamp(9px, 1.4cqw, 12.5px); } .wa__prev-tx small { font-size: clamp(8px, 1.15cqw, 10.5px); }
  .xc-arrow { left: 44%; top: 34%; width: 15%; }
  .xc--portal .xc-phone { left: 62%; right: auto; top: 6%; bottom: auto; height: 88%; }
  .xc-step { padding: 0.6cqw 1.2cqw 0.6cqw 0.6cqw; gap: 0.8cqw; font-size: clamp(9px, 1.4cqw, 12.5px); }
  .xc-step b { width: clamp(15px, 2.4cqw, 22px); font-size: clamp(8px, 1.2cqw, 11px); }
  .xc-step--1 { left: 3%; top: 5%; }
  .xc-step--2 { left: auto; right: 3%; bottom: auto; top: 5%; }
}
/* en la galería de la ficha (cuadrada en el celular, 4:3 en la compu) se usa el armado del celular */
.slide .xc .xc-laptop { left: 4%; top: 6%; width: 82%; transform: none; }

/* el portal abierto en el celular */
.pd { position: relative; flex: 1; min-height: 0; overflow: hidden; container-type: inline-size; font-family: -apple-system, "Helvetica Neue", var(--sans); }
.pd-portal { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 2.4cqw; padding: 3cqw 4.5cqw; background: #f7f6f2; color: #1d1d1f; }
.pd-url { display: flex; align-items: center; justify-content: center; gap: 1.4cqw; padding: 1.8cqw; border-radius: 4cqw; background: #e9e8e3; color: #6b6b70; font-size: 3.2cqw; }
.pd-url svg { width: 2.8cqw; height: 2.8cqw; fill: none; stroke: #1f9d5c; stroke-width: 1.4; }
.pd-top { display: flex; align-items: center; justify-content: space-between; margin-top: 1cqw; }
.pd-brand { font-size: 3.8cqw; color: #6b6b70; }
.pd-brand b { color: #1d1d1f; font-weight: 600; }
.pd-av2 { display: grid; place-items: center; width: 8cqw; height: 8cqw; border-radius: 50%; background: #1d1d1f; color: #f7f6f2; font-size: 3cqw; font-weight: 600; }
.pd-title { margin-top: 1cqw; font-size: 6.8cqw; font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; }
.pd-hi { color: #6b6b70; font-size: 3.8cqw; }
.pd-prop { display: grid; grid-template-columns: 17cqw 1fr; gap: 3cqw; align-items: center; padding: 2cqw; border-radius: 3cqw; background: #fff; box-shadow: 0 1px 0 rgb(0 0 0 / 0.05); }
.pd-prop b { display: block; font-size: 4cqw; font-weight: 600; }
.pd-prop small { font-size: 3.2cqw; color: #6b6b70; }
.pd-ph { display: block; width: 17cqw; height: 13cqw; border-radius: 2cqw; object-fit: cover; }
.pd-ph--obra { background: linear-gradient(160deg, #cfd5dc, #a7b0ba); }
.pd-tabs { display: flex; gap: 1.4cqw; margin-top: 1cqw; }
.pd-tab { flex: 1; padding: 1.6cqw 0; border-radius: 4cqw; text-align: center; font-style: normal; font-size: 3.2cqw; color: #6b6b70; background: #ecebe6; }
.pd-panels { position: relative; flex: 1; }
.pd-panel { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 2cqw; opacity: 0; }
.pd-big { display: grid; gap: 0.6cqw; padding: 3cqw; border-radius: 3cqw; background: #fff; }
.pd-big small { font-size: 3.2cqw; color: #6b6b70; }
.pd-big b { font-size: 7.6cqw; font-weight: 600; letter-spacing: -0.03em; }
.pd-meter { display: block; height: 1.6cqw; border-radius: 1cqw; background: #e3e2dc; overflow: hidden; }
.pd-meter i { display: block; width: 68%; height: 100%; background: #1f9d5c; }
.pd-row { display: flex; align-items: center; justify-content: space-between; gap: 2cqw; padding: 2.6cqw 3cqw; border-radius: 3cqw; background: #fff; font-size: 3.7cqw; }
.pd-row small { display: block; font-size: 3cqw; color: #6b6b70; }
.pd-row em { font-style: normal; font-size: 3.2cqw; padding: 0.8cqw 2.2cqw; border-radius: 3cqw; background: #ecebe6; color: #6b6b70; white-space: nowrap; }
.pd-row em.ok { background: #e3f4ea; color: #1f7a48; }
.pd-step { display: flex; align-items: center; gap: 2.4cqw; padding: 2.4cqw 3cqw; border-radius: 3cqw; background: #fff; font-size: 3.7cqw; color: #6b6b70; }
.pd-step::before { content: ""; width: 3.6cqw; height: 3.6cqw; border-radius: 50%; border: 0.5cqw solid #c9c8c2; flex: none; }
.pd-step.ok { color: #1d1d1f; }
.pd-step.ok::before { border-color: #1f9d5c; background: #1f9d5c; box-shadow: inset 0 0 0 0.7cqw #fff; }


.pd-tabs { margin-top: auto; }
.pd-tab.is-on { background: #1d1d1f; color: #fff; }
.pd-big b { line-height: 1.1; }

/* ajustes de las escenas (11/10) */
@media (min-width: 1000px) {
  /* todas las tarjetas de "Por separado" con la misma altura: las simples cuadradas, las de escena el doble de anchas */
  .grid .card:not(.card--feature) .stage { aspect-ratio: 1 / 1; }
  .grid .card--feature .stage { aspect-ratio: 41 / 20; }
}
@media (max-width: 639px) {
  .xc-arrow { display: none; }
  .xc .wa { width: 66%; top: 11%; }
  .xc--portal .xc-phone { height: 55%; }
  .xc-step--2 { left: auto; right: 4%; bottom: auto; top: 39%; }
}
.wa__tap { left: auto; right: 6%; bottom: 20%; width: clamp(14px, 4.6cqw, 22px); }
@media (min-width: 640px) {
  .xc--portal .xc-phone { left: 58%; }
  .xc-arrow { left: 44.5%; top: 40%; width: 12%; }
  .xc-step--2 { right: auto; left: 79%; top: 44%; }
}
@media (max-width: 639px) {
  .card--scene .stage.comp--portal { aspect-ratio: 25 / 28; }
  .xc .wa { width: 68%; top: 10%; }
  .xc--portal .xc-phone { height: 58%; right: 4%; bottom: 4%; top: auto; }
  .xc-step--2 { left: 4%; right: auto; top: auto; bottom: 4%; }
}

/* ======================================================
   Escenas con la estética de la tienda (11/10): lo que es prueba real (la app, WhatsApp) conserva sus colores;
   lo demás habla como la tienda: carbón, Geist y el verde solo en lo activo
   ====================================================== */
.xn { background: rgb(29 29 32 / 0.9); color: var(--text); border: 1px solid var(--line-2); box-shadow: 0 22px 44px -16px rgb(0 0 0 / 0.9); font-family: var(--sans); }
.xn__tx small { color: var(--muted); }
.xn__ico--ok { background: var(--accent); color: var(--accent-ink); }
.xn__ico--key { background: rgb(255 255 255 / 0.1); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }

/* el portal de ejemplo, en la paleta de la tienda */
.pd { font-family: var(--sans); }
.pd-portal { background: #161618; color: var(--text); }
.pd-url { background: rgb(255 255 255 / 0.06); color: var(--muted); }
.pd-url svg { stroke: var(--accent); }
.pd-brand { color: var(--muted); }
.pd-brand b { color: var(--text); }
.pd-av2 { background: rgb(74 222 143 / 0.16); color: var(--accent); }
.pd-hi { color: var(--muted); }
.pd-prop, .pd-big, .pd-row, .pd-step { background: #1f1f23; box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.06); }
.pd-prop small, .pd-big small, .pd-row small { color: var(--faint); }
.pd-row em { background: rgb(255 255 255 / 0.07); color: var(--muted); }
.pd-row em.ok { background: rgb(74 222 143 / 0.14); color: var(--accent); }
.pd-meter { background: rgb(255 255 255 / 0.08); }
.pd-meter i { background: var(--accent); }
.pd-tab { background: rgb(255 255 255 / 0.06); color: var(--muted); }
.pd-tab.is-on { background: var(--text); color: #161618; }

/* "Por separado" en orden: web, app, portal y el programa al final (sin reacomodos) */
.grid { grid-auto-flow: row; }
@media (max-width: 999px) {
  .grid { grid-template-columns: 1fr; gap: 32px; }
  .grid .card, .grid .card--feature { grid-column: auto; }
  .grid .card:not(.card--scene) .stage { aspect-ratio: 4 / 3; }
}
@media (min-width: 640px) and (max-width: 999px) { .grid .card--scene .stage { aspect-ratio: 16 / 9; } }
@media (max-width: 639px) {
  /* en una columna: cada tarjeta con su bajada y el precio al lado del botón */
  .grid .card .card__bajada { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 13.5px; }
  .grid .card .card__foot { flex-direction: row; align-items: center; }
  .grid .card .card__name { font-size: 17px; }
}

/* ======================================================
   AUDITORÍA (11/10): caso real, dispositivos parejos, galería y compra más claras
   ====================================================== */
/* "Caso real en uso": una ventanita arriba de todo lo que sale de BAIREN */
.real-tag {
  position: absolute; left: 12px; top: 12px; z-index: 6; display: inline-flex; align-items: center; gap: 8px; max-width: calc(100% - 24px);
  padding: 5px 10px 5px 8px; border-radius: 8px; background: rgb(22 22 24 / 0.82); border: 1px solid var(--line-2);
  color: var(--text); font-size: 11px; white-space: nowrap; overflow: hidden; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.real-tag__dots { display: inline-flex; gap: 3px; }
.real-tag__dots i { width: 6px; height: 6px; border-radius: 50%; background: rgb(255 255 255 / 0.22); }
.real-tag__dots i:first-child { background: var(--accent); }
.real-tag b { font-weight: 500; }
.real-tag__d { color: var(--muted); font-family: var(--mono); font-size: 10.5px; overflow: hidden; text-overflow: ellipsis; }
.real-tag__d::before { content: "· "; }
.stage::after { z-index: 1; }

/* lo que muestra cada imagen de la galería, abajo */
.slide__cap { position: absolute; left: 50%; bottom: 10px; z-index: 6; transform: translateX(-50%); max-width: calc(100% - 24px); padding: 5px 12px; border-radius: 999px;
  background: rgb(22 22 24 / 0.82); border: 1px solid var(--line-2); color: var(--text); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.slide .dev--phone, .slide .dev--reel { height: 80%; top: 9%; }
.slide .shot { position: absolute; left: 50%; top: 46%; transform: translate(-50%, -50%); width: auto; max-width: 78%; max-height: 74%; border-radius: 12px; box-shadow: 0 30px 60px -24px rgb(0 0 0 / 0.9), 0 0 0 1px rgb(255 255 255 / 0.08); }
.addon .addon__see.is-real { color: var(--text); }
.addon .addon__see.is-real::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: var(--accent); vertical-align: 1px; }

/* un solo juego de dispositivos: bordes proporcionales, Dynamic Island y un borde con luz */
.dev--phone { border-radius: 14% / 6.5%; padding: 2.2%; background: #0a0a0b; border: 0; box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.14), 0 0 0 1px #000, 0 40px 80px -30px rgb(0 0 0 / 0.85); }
.dev--phone > .dev__screen { border-radius: 12.5% / 5.8%; overflow: hidden; }
.phone-bar { position: relative; }
.phone-bar::after { content: ""; position: absolute; left: 50%; top: 18%; width: 30%; height: 64%; transform: translateX(-50%); border-radius: 999px; background: #000; }
.laptop__screen { border-color: #3a3a40; box-shadow: 0 0 0 1px rgb(255 255 255 / 0.08); }
.laptop__base { background: linear-gradient(#4a4a52, #2a2a2f); }

/* el verde, solo para lo activo */
.price s, .tier__save s, .cuenta__row--sum s { text-decoration-color: currentColor; }
.stage { background: radial-gradient(70% 60% at 50% 110%, rgb(255 255 255 / 0.04), transparent 70%), var(--blueprint), var(--panel); }

/* escenas: en las tarjetas de la compu, nada tapa la pantalla */
@media (min-width: 640px) {
  .card .xn { width: 27%; right: 2%; }
  .card .xc--portal .xc-phone { height: 92%; top: 4%; }
}
/* en las galerías de las fichas, el armado del celular (sirve para cuadrado y 4:3) */
.slide .xn { width: 56%; left: 4%; right: auto; padding: 2.2cqw 2.8cqw; gap: 2.4cqw; border-radius: 3.4cqw; }
.slide .xn--1 { top: 55%; bottom: auto; } .slide .xn--2 { top: 73%; bottom: auto; }
.slide .xn__ico { width: clamp(20px, 7.5cqw, 34px); height: clamp(20px, 7.5cqw, 34px); }
.slide .xn__tx b { font-size: clamp(10px, 3.3cqw, 14px); } .slide .xn__tx small { font-size: clamp(8.5px, 2.7cqw, 12px); }
.slide .xc--app .xc-laptop { left: 4%; top: 6%; width: 82%; transform: none; }
.slide .xc--app .xc-phone { left: auto; right: 5%; top: auto; bottom: 8%; height: 58%; }
.slide .wa { left: 4%; top: 12%; width: 66%; transform: none; border-radius: 3.6cqw; }
.slide .wa__head { padding: 2.4cqw 3cqw; gap: 2.4cqw; } .slide .wa__body { padding: 3cqw; gap: 1.8cqw; }
.slide .wa__b { padding: 1.8cqw 2.6cqw 4.2cqw; font-size: clamp(9.5px, 3cqw, 13.5px); } .slide .wa__t { font-size: clamp(7.5px, 2.1cqw, 10px); right: 2cqw; bottom: 1cqw; }
.slide .wa__who b { font-size: clamp(10px, 3.3cqw, 14px); } .slide .wa__who small { font-size: clamp(8.5px, 2.5cqw, 11px); }
.slide .wa__prev { grid-template-columns: clamp(24px, 9cqw, 40px) 1fr; gap: 2cqw; padding: 1.2cqw; } .slide .wa__prev-ph { width: clamp(24px, 9cqw, 40px); }
.slide .wa__prev-tx b { font-size: clamp(9px, 2.8cqw, 12.5px); } .slide .wa__prev-tx small { font-size: clamp(8px, 2.3cqw, 10.5px); }
.slide .xc-arrow { display: none; }
.slide .xc--portal .xc-phone { left: auto; right: 4%; top: auto; bottom: 9%; height: 58%; }
.slide .xc-step { padding: 1.2cqw 2.4cqw 1.2cqw 1.2cqw; gap: 1.6cqw; font-size: clamp(9px, 2.8cqw, 12.5px); }
.slide .xc-step b { width: clamp(15px, 4.8cqw, 22px); font-size: clamp(8px, 2.5cqw, 11px); }
.slide .xc-step--1 { left: 4%; top: 3%; right: auto; bottom: auto; }
.slide .xc-step--2 { left: auto; right: 37%; top: auto; bottom: 10%; }
/* el paso 2, al lado del celular (celular) */
@media (max-width: 639px) {
  .xc-step--2 { left: auto; right: 37%; top: auto; bottom: 7%; }
  .xc-step--2::after { content: "→"; margin-left: 2px; color: var(--accent); }
}

/* el portal: título de la pestaña */
.pd-sec { margin-top: 1cqw; font-size: 4.6cqw; font-weight: 600; color: var(--text); }
.pd-tabs { margin-top: auto; }

/* maquetas de ejemplo (desarrolladoras y comisiones) */
.ui--ej { width: min(86%, 400px); gap: 10px; padding: 12px 14px 12px; }
.ej-plano, .ej-3d { width: 100%; height: auto; }
.ej-plano rect, .ej-plano path { fill: none; stroke: rgb(255 255 255 / 0.5); stroke-width: 1.2; }
.ej-plano text { fill: var(--muted); font-family: var(--mono); font-size: 8px; }
.ej-plano .ej-mueble { fill: rgb(74 222 143 / 0.12); stroke: var(--accent); }
.ej-3d path { fill: none; stroke: rgb(255 255 255 / 0.55); stroke-width: 1.2; stroke-linejoin: round; }
.ej-3d .ej-3d__in { stroke: var(--accent); fill: rgb(74 222 143 / 0.1); }
.ej-obras { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ej-obras span { display: grid; gap: 2px; }
.ej-obras i { display: block; aspect-ratio: 4 / 3; border-radius: 6px; background: linear-gradient(160deg, #3a3d44, #24262b); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.08); }
.ej-obras b { font-size: 11px; font-weight: 500; margin-top: 4px; }
.ej-obras small { font-size: 10px; color: var(--faint); }
.comp--ej .ui, .slide .ui--ej { left: 50%; top: 50%; transform: translate(-50%, -50%); }

/* galería: en el celular, puntitos en vez de miniaturas */
.gallery__dots { display: none; justify-content: center; gap: 6px; padding: 4px 0; }
.gallery__dots i { width: 6px; height: 6px; border-radius: 50%; background: rgb(255 255 255 / 0.22); transition: background-color 200ms ease, width 300ms var(--ease-out); }
.gallery__dots i.is-on { width: 18px; border-radius: 3px; background: var(--text); }
@media (max-width: 639px) { .gallery__thumbs { display: none; } .gallery__dots { display: flex; } }

/* catálogo: tarjetas de la misma altura y con la misma información */
@media (min-width: 1000px) { .grid .card .stage, .grid .card--feature .stage, .grid .card:not(.card--feature) .stage { aspect-ratio: auto; height: clamp(320px, 26vw, 360px); } }
@media (max-width: 639px) {
  .grid .card:not(.card--scene) .stage { aspect-ratio: 1 / 1; }
  .grid .card .card__more { display: inline-flex; }
}
@container (max-width: 440px) { .trow > :nth-child(3) { display: none; } .trow { grid-template-columns: 30px 26px minmax(0, 1fr) auto; } }
#catalogo { padding-bottom: 120px; }

/* el botón de WhatsApp no se encima con la barra de compra */
body.has-buybar .wafloat { opacity: 0; pointer-events: none; transform: translateY(12px); }
.wafloat { transition: opacity 200ms ease, transform 260ms var(--ease-out), bottom 260ms var(--ease-out); }

/* apariciones sin desenfoque (más livianas y más nítidas) */
.reveal { filter: none !important; transform: translateY(24px); transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); }
.reveal.is-in { transform: none; }

/* el interruptor, sin rebote exagerado */
.pro__knob { transition: transform 300ms cubic-bezier(0.32, 0.72, 0, 1), background-color 300ms ease; }

/* el aviso al sumar: arriba en el celular, así no tapa el botón */
@media (max-width: 640px) { .toast { top: calc(var(--bar-h) + 10px); bottom: auto; left: 16px; right: 16px; justify-content: space-between; white-space: nowrap; transform: translateY(-16px); } .toast.is-on { transform: none; } .toast [data-toast-text] { overflow: hidden; text-overflow: ellipsis; } }

/* carrito: las opciones se leen como texto, no como datos */
.line__opts { font-family: var(--sans); font-size: 13px; color: var(--muted); line-height: 1.45; }
.total__val { display: grid; justify-items: end; }
.done__sum { margin-top: 18px; width: 100%; }

/* portada: el título más grande en el celular */
@media (max-width: 640px) { .hero__title { font-size: min(3rem, 10.6vw); } }
.hero__title { letter-spacing: -0.045em; }

.total__val small { display: block; color: var(--faint); font-size: 11px; line-height: 1; margin-bottom: 2px; }
@media (max-width: 639px) {
  .grid .card:not(.card--feature):not(.card--wide):not(.card--pack) .card__bajada { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 13.5px; }
}

/* ======================================================
   Pantalla completa de las imágenes (11/10)
   ====================================================== */
.gallery__track .slide { cursor: zoom-in; }
.gallery__full {
  position: absolute; right: 12px; bottom: 12px; z-index: 7; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--line-2); background: rgb(22 22 24 / 0.82); color: var(--text); cursor: pointer; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: transform 160ms var(--ease-out), background-color 160ms ease;
}
.gallery__full svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.gallery__full:active { transform: scale(0.94); }
@media (hover: hover) and (pointer: fine) { .gallery__full:hover { background: rgb(40 40 44 / 0.9); } }
/* la leyenda de la galería no se pisa con el botón de ampliar */
.gallery .slide__cap { max-width: calc(100% - 110px); }

.lb { position: fixed; inset: 0; z-index: 90; display: grid; grid-template-rows: auto 1fr; background: rgb(10 10 12 / 0.97); opacity: 0; transition: opacity 240ms ease; }
.lb.is-open { opacity: 1; }
.lb__bar { display: flex; align-items: center; justify-content: space-between; padding: calc(10px + env(safe-area-inset-top)) 14px 8px 20px; }
.lb__count { color: var(--muted); }
.lb__close, .lb__nav { display: grid; place-items: center; width: 42px; height: 42px; border: 0; border-radius: 50%; background: rgb(255 255 255 / 0.1); color: var(--text); cursor: pointer; transition: background-color 160ms ease, transform 160ms var(--ease-out); }
.lb__close:active, .lb__nav:active { transform: scale(0.94); }
.lb__close svg, .lb__nav svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
@media (hover: hover) and (pointer: fine) { .lb__close:hover, .lb__nav:hover { background: rgb(255 255 255 / 0.18); } }
.lb__track { display: flex; min-height: 0; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior: contain; }
.lb__track::-webkit-scrollbar { display: none; }
.lb .slide { flex: 0 0 100%; aspect-ratio: auto; height: 100%; display: grid; place-items: center; padding: 0 12px calc(18px + env(safe-area-inset-bottom)); scroll-snap-align: center; cursor: default; }
.lb .slide .stage { width: min(100%, calc((100dvh - 96px) * 0.8)); height: auto; aspect-ratio: 4 / 5; border-radius: 20px; border: 1px solid var(--line); }
@media (min-aspect-ratio: 1 / 1) { .lb .slide .stage { width: min(92vw, calc((100dvh - 100px) * 4 / 3)); aspect-ratio: 4 / 3; } }
.lb .slide .foto { object-fit: contain; background: #0c0c0d; }
.lb__nav { position: absolute; top: 50%; display: none; transform: translateY(-50%); }
.lb__nav:active { transform: translateY(-50%) scale(0.94); }
@media (hover: hover) and (pointer: fine) { .lb__nav { display: grid; } }
.lb__nav--prev { left: 20px; } .lb__nav--next { right: 20px; }
.lb.is-single .lb__nav, .lb.is-single .lb__count { display: none; }

/* ======================================================
   Ningún texto encima de un dispositivo (11/10): las ventanitas, leyendas y avisos van en lugar libre
   ====================================================== */
/* catálogo: la web y la app dejan arriba el lugar de "Caso real en uso" */
.comp--web.stage--tagged .dev--phone.is-solo { top: 15%; height: 80%; }
@media (max-width: 639px) {
  .stage--tagged .xc--app .xc-laptop { top: 15%; left: 4%; width: 62%; }
  .stage--tagged .xc--app .xc-phone { height: 62%; right: 4%; bottom: 5%; }
  .stage--tagged .xc--app .xn { width: 58%; }
  .stage--tagged .xc--app .xn--1 { top: 62%; }
  .stage--tagged .xc--app .xn--2 { top: 80%; }
  /* el portal: el chat y el celular, uno al lado del otro, sin pisarse */
  .card .xc--portal .wa { width: 60%; }
  .card .xc--portal .xc-phone { height: 58%; right: 4%; bottom: 4%; }
}
/* galerías de las fichas: el dispositivo entre la ventanita de arriba y la leyenda de abajo */
.slide .dev--phone, .slide .dev--reel { top: 6%; height: 76%; }
.slide .stage--tagged .dev--phone, .slide .stage--tagged .dev--reel { top: 13%; height: 72%; }
.slide .laptop { top: 50%; transform: translate(-50%, -52%); }
.slide .shot { top: 50%; max-height: 64%; }
/* las escenas ya se explican solas: sin leyenda encima */
.slide .stage:has(.xc) .slide__cap { display: none; }
.slide .stage--tagged .xc--app .xc-laptop { top: 15%; left: 4%; width: 62%; }
.slide .stage--tagged .xc--app .xc-phone { height: 64%; right: 4%; bottom: 5%; top: auto; left: auto; }
.slide .stage--tagged .xc--app .xn { width: 58%; }
.slide .stage--tagged .xc--app .xn--1 { top: 62%; }
.slide .stage--tagged .xc--app .xn--2 { top: 80%; }
.slide .xc-step { display: none; }
.slide .xc .wa { width: 58%; top: 8%; }
.slide .xc--portal .xc-phone { height: 66%; right: 4%; bottom: 6%; }
/* las maquetas centradas de la galería, sin tocar la leyenda */
.slide .ui, .slide .flow { top: 46%; }

/* el botón de ampliar, arriba a la derecha junto al contador: no toca ningún dispositivo */
.gallery__full { top: 8px; right: 8px; bottom: auto; width: 30px; height: 30px; }
.gallery__count { right: 46px; top: 15px; }

/* la ficha: una sola imagen arriba; los ejemplos se abren en una ventanita */
.gallery__view .slide { cursor: zoom-in; }
.slide .voz { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #0c0c0d; }
.lb.is-single .lb__count { display: inline; color: var(--text); font-family: var(--sans); font-size: 15px; font-weight: 500; }
.base__see { display: inline-flex; margin-left: 6px; vertical-align: baseline; }

/* ======================================================
   "La base incluye", compacta: pastillas y, al tocar, todo (11/10)
   ====================================================== */
.base { display: block; margin-top: 18px; border: 1px solid var(--line); border-radius: 14px; background: rgb(255 255 255 / 0.02); }
.base__head { display: grid; gap: 10px; width: 100%; padding: 14px 16px; border: 0; background: none; color: inherit; text-align: left; cursor: pointer; }
.base__head .base__t { color: var(--faint); font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; }
.base__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.base__chips i { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--text); font-style: normal; font-size: 12.5px; white-space: nowrap; }
.base__ver { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 12.5px; }
.base__ver svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform 300ms var(--ease-out); }
.base.is-open .base__ver svg { transform: rotate(180deg); }
.base.is-open .base__chips { display: none; }
.base__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 360ms var(--ease-out); }
.base__body > div { min-height: 0; overflow: hidden; }
.base.is-open .base__body { grid-template-rows: 1fr; }
.base .base__list { gap: 0; padding: 0 16px 8px; }
.base .base__list li { padding: 10px 0; border-top: 1px solid var(--line); }
.base .base__list li > span { display: grid; gap: 2px; }
.base .base__list b { font-weight: 500; font-size: 14.5px; }
.base .base__list small { color: var(--muted); font-size: 13px; line-height: 1.4; }
.base .base__see { margin: 4px 0 0; }

/* ======================================================
   La ventanita de un ejemplo: título, el ejemplo limpio y la explicación
   ====================================================== */
.lb--ej .lb__count { display: none; }
.lb .slide.lb-ej { place-items: start center; overflow-y: auto; padding: 4px 20px calc(28px + env(safe-area-inset-bottom)); }
.lb-ej__in { display: grid; gap: 16px; width: min(100%, 520px); margin: 0 auto; }
.lb-ej__t { font-size: clamp(22px, 6vw, 30px); font-weight: 500; letter-spacing: -0.03em; line-height: 1.1; }
.lb .slide .lb-ej__stage { width: 100%; height: auto; aspect-ratio: 4 / 5; max-height: 58dvh; border: 0; border-radius: 0; background: none; }
.lb-ej__stage::after { display: none; }
.lb-ej__stage .dev--phone, .lb-ej__stage .dev--reel { top: 2%; height: 96%; }
.lb-ej__stage .laptop { top: 50%; left: 50%; transform: translate(-50%, -50%); width: 100%; }
.lb-ej__stage .shot { top: 50%; max-height: 96%; max-width: 100%; }
.lb-ej__stage .ui, .lb-ej__stage .flow { top: 50%; }
.lb-ej__stage .xc .xc-step, .lb-ej__stage .real-tag, .lb-ej__stage .slide__cap { display: none; }
.lb-ej__x { color: var(--muted); font-size: 16px; line-height: 1.55; }
@media (min-aspect-ratio: 1 / 1) { .lb .slide .lb-ej__stage { aspect-ratio: 4 / 3; max-height: 56dvh; } }
.base__chips .base__mas { color: var(--muted); border-style: dashed; }

/* el selector de rubro, a la derecha de "Catálogo.", con su descripción chiquita debajo (11/10) */
.cat-head { flex-wrap: nowrap; align-items: flex-start; gap: 12px; margin-bottom: 28px; }
.cat-head__title { flex: none; padding-top: 2px; }
.cat-head__switch { display: grid; justify-items: end; gap: 6px; min-width: 0; margin-left: auto; }
.cat-head .toggle { width: auto; }
.cat-head .cat-note { margin: 0; color: var(--faint); font-size: 12.5px; text-align: right; line-height: 1.35; }
@media (max-width: 639px) {
  .cat-head .h2 { font-size: 26px; }
  .cat-head__title { gap: 8px; padding-top: 4px; }
  .cat-head .toggle { display: inline-flex; padding: 2px 3px; }
  .cat-head .toggle__btn { flex: none; height: 34px; padding: 0 10px; font-size: 12.5px; }
  .cat-head .cat-note { font-size: 11.5px; max-width: 210px; }
}
@media (max-width: 374px) {
  .cat-head .h2 { font-size: 23px; }
  .cat-head .info__btn { width: 24px; height: 24px; }
  .cat-head .toggle__btn { padding: 0 8px; font-size: 12px; height: 32px; }
  .cat-head .cat-note { max-width: 180px; }
}
@media (max-width: 349px) {
  .cat-head { flex-wrap: wrap; }
  .cat-head__switch { margin-left: 0; justify-items: start; }
  .cat-head .cat-note { text-align: left; max-width: none; }
}

/* ======================================================
   Pátina: el caso de muestra para desarrolladoras (11/10)
   Es una marca inventada y se dice: "Caso de muestra" con un punto verde agua, distinto del verde de lo real.
   ====================================================== */
.real-tag--muestra .real-tag__dots i:first-child { background: #A8D5CD; }
.addon .addon__see.is-muestra { color: var(--text); }
.addon .addon__see.is-muestra::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 6px; background: #A8D5CD; vertical-align: 1px; }
.comp--web-dev .dev--phone.is-solo { height: 80%; left: 50%; top: 15%; transform: translateX(-50%); }
.comp--paquete-dev .chip-float { left: 4%; bottom: 6%; }
.xc--paquete .xc-phone { height: 66%; }
@media (max-width: 639px) { .comp--paquete-dev .chip-float { display: none; } }
@media (min-width: 900px) { .demos--patina { grid-template-columns: repeat(3, 1fr); } }
.demos--patina .demo img { width: 100%; aspect-ratio: 390 / 760; object-fit: cover; object-position: top; }

/* ficha: el precio debajo de la descripción y "La base incluye" en una sola línea que se despliega (11/10) */
.buy__price { margin-top: 18px; padding-top: 0; border-top: 0; }
.base { margin-top: 18px; }
.base__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; }
.base__head .base__t { display: inline-flex; align-items: baseline; gap: 10px; color: var(--text); font-family: var(--sans); font-size: 15px; font-weight: 500; text-transform: none; letter-spacing: -0.01em; }
.base__head .base__t small { color: var(--faint); font-size: 12.5px; font-weight: 400; }
.base__flecha { flex: none; width: 16px; height: 16px; fill: none; stroke: var(--muted); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform 300ms var(--ease-out); }
.base.is-open .base__flecha { transform: rotate(180deg); }
.base .base__chips, .base .base__ver { display: none; }
/* la barra de abajo: se toca para volver arriba */
.buybar { cursor: pointer; }

/* ficha de la app: "Probala en vivo" debajo de la foto, abre la demo con datos de ejemplo */
.gallery__try { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; margin-top: 12px; padding: 13px 16px; border: 1px solid rgb(74 222 143 / 0.35); border-radius: 999px; background: rgb(74 222 143 / 0.08); color: var(--text); font: inherit; font-size: 14.5px; font-weight: 500; cursor: pointer; transition: transform 160ms var(--ease-out), background 200ms ease; }
.gallery__try small { color: var(--muted); font-size: 12.5px; font-weight: 400; }
.gallery__try svg { width: 13px; height: 13px; fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; }
.gallery__try-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgb(74 222 143 / 0.18); }
.gallery__try:active { transform: scale(0.98); }
@media (hover: hover) and (pointer: fine) { .gallery__try:hover { background: rgb(74 222 143 / 0.14); } }

/* catálogo (11/10): primero los productos sueltos, después el paquete y, separado por una línea, el Programa */
.cat-label--pk { margin-top: 48px; }
@media (min-width: 1000px) { .cat-label--pk { margin-top: 64px; } }

/* Pátina: "Abrí la web de ejemplo" debajo de la foto (en desarrolladoras), en verde agua, distinto del verde de lo real */
.gallery__try--patina { border-color: rgb(168 213 205 / 0.4); background: rgb(168 213 205 / 0.08); text-decoration: none; }
.gallery__try--patina svg { stroke: #A8D5CD; }
.gallery__try--patina .gallery__try-dot { border-radius: 1px; background: #A8D5CD; box-shadow: 0 0 0 4px rgb(168 213 205 / 0.18); }
@media (hover: hover) and (pointer: fine) { .gallery__try--patina:hover { background: rgb(168 213 205 / 0.14); } }
@media (min-width: 1000px) {
  /* en la compu: web + app en la primera fila; el portal ocupa la segunda entera (escena a la izquierda, texto a la derecha) */
  [data-grid] .card[data-card="portal"] { grid-column: 1 / -1; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); grid-template-rows: auto; column-gap: 20px; align-items: center; }
  /* el Programa, solo en su fila: foto chica a la izquierda y el texto al lado */
  [data-grid-prog] .card { grid-column: 1 / -1; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); grid-template-rows: auto; column-gap: 40px; align-items: center; }
  [data-grid-prog] .card__body { max-width: 460px; }
}

/* ======================================================
   El paquete, protagonista (11/10, v2): título grande, una barra por producto
   (con PRO o TOP se llenan todas) y el precio contra lo que saldría por separado.
   ====================================================== */
.tiers { margin-top: 48px; }
@media (min-width: 1000px) { .tiers { margin-top: 64px; } }
.pack.pack--big {
  display: grid; gap: 26px; padding: 22px 20px 20px; border-radius: 22px; overflow: hidden;
  border-color: rgb(var(--pk) / 0.38);
  background: radial-gradient(130% 70% at 100% 0%, rgb(var(--pk) / 0.16), transparent 62%), rgb(var(--pk) / 0.045);
  box-shadow: 0 30px 80px -40px rgb(var(--pk) / 0.45), inset 0 1px 0 rgb(255 255 255 / 0.05);
}
.pack--big .pk-main, .pack--big .pk-side { position: relative; display: grid; align-content: start; gap: 14px; min-width: 0; }
.pk-head { display: flex; align-items: center; gap: 10px; }
.pack--big .tier__app .app-ico { width: 34px; height: 34px; border-radius: 9px; }
.pk-kicker { flex: 1; min-width: 0; color: var(--muted); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; }
.pk-kicker b { color: rgb(var(--pk)); font-weight: 500; transition: color 360ms ease; }
.pk-title { margin: 6px 0 0; color: var(--text); font-family: var(--sans); font-size: 30px; font-weight: 500; line-height: 1.05; letter-spacing: -0.03em; text-wrap: balance; }
.pk-sub { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.45; text-wrap: pretty; }
.pk-buy { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 6px 14px; margin-top: 6px; }
.pk-price { display: grid; gap: 4px; }
.pk-val { color: var(--text); font-size: 30px; letter-spacing: -0.02em; line-height: 1; }
.pk-was { color: var(--faint); font-size: 12px; }
.pk-was s { color: var(--muted); }
.pk-save { color: var(--accent); font-size: 12px; }
.pack--big .pk-add { position: relative; z-index: 3; justify-content: center; width: 100%; height: 50px; font-size: 15px; }
/* lo que trae: cada producto con su barra; llena = trae todo */
.pk-meter { display: grid; gap: 14px; margin: 0; padding: 18px 16px; list-style: none; border: 1px solid rgb(255 255 255 / 0.07); border-radius: 16px; background: rgb(0 0 0 / 0.22); }
.pk-meter li { --v: 1; display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; align-items: center; gap: 8px 10px; }
.pk-ico { display: grid; place-items: center; width: 22px; height: 22px; color: rgb(var(--pk)); transition: color 360ms ease; }
.pk-ico svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.pk-name { overflow: hidden; color: var(--text); font-size: 14px; white-space: nowrap; text-overflow: ellipsis; }
.pk-n { display: inline-flex; align-items: center; gap: 4px; color: var(--muted); font-size: 11.5px; white-space: nowrap; }
.pk-n svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pk-meter li.is-full .pk-n { color: rgb(var(--pk)); }
.pk-bar { grid-column: 2 / -1; height: 6px; border-radius: 999px; background: rgb(255 255 255 / 0.08); overflow: hidden; }
.pk-bar i { display: block; height: 100%; width: calc(var(--v) * 100%); border-radius: inherit; background: rgb(var(--pk) / 0.55); transition: width 800ms cubic-bezier(0.23, 1, 0.32, 1), background-color 360ms ease; }
.pk-meter li.is-full .pk-bar i { background: rgb(var(--pk)); box-shadow: 0 0 12px rgb(var(--pk) / 0.5); }
.pk-plus { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.4; }
.pk-plus b { color: rgb(var(--pk)); font-weight: 500; }
.pk-plus i { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border: 1px solid rgb(var(--pk) / 0.35); border-radius: 999px; background: rgb(var(--pk) / 0.08); color: var(--text); font-size: 12px; font-style: normal; }
.pack--violet:not(.is-on) .pk-plus b { color: rgb(167 139 250); }
.pack--gold:not(.is-on) .pk-plus b { color: rgb(232 196 104); }
.pack--violet:not(.is-on) .pk-plus i { border-color: rgb(167 139 250 / 0.35); background: rgb(167 139 250 / 0.08); }
.pack--gold:not(.is-on) .pk-plus i { border-color: rgb(232 196 104 / 0.35); background: rgb(232 196 104 / 0.08); }
.pk-plus.is-done { color: rgb(var(--pk)); font-weight: 500; }
.pk-plus.is-done svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pk-go { position: relative; z-index: 3; justify-self: start; display: inline-flex; align-items: center; gap: 6px; color: rgb(var(--pk)); font-size: 12px; }
.pk-go svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.6; }
@media (min-width: 900px) {
  .pack.pack--big { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 40px; padding: 36px 36px 32px; border-radius: 26px; }
  .pk-title { font-size: 44px; }
  .pk-sub { font-size: 16px; max-width: 36ch; }
  .pk-val { font-size: 36px; }
  .pack--big .pk-add { width: auto; justify-self: start; padding: 0 28px; }
  .pack--big .pk-side { align-content: center; }
  .pk-meter { gap: 18px; padding: 22px 22px; }
  .pk-name { font-size: 15px; }
}
/* el ahorro, pegado al precio */
.pk-buy { display: grid; justify-items: start; gap: 6px; }
/* en el celu: primero la prueba de que trae todo (las barras), después el precio y el botón */
@media (max-width: 899px) {
  .pack.pack--big { gap: 14px; }
  .pack--big .pk-main, .pack--big .pk-side { display: contents; }
  .pk-head { order: 1; } .pk-title { order: 2; } .pk-sub { order: 3; }
  .pk-meter { order: 4; margin-top: 6px; } .pk-plus { order: 5; }
  .pk-buy { order: 6; margin-top: 10px; } .pack--big .pk-add { order: 7; } .pk-go { order: 8; justify-self: center; margin-top: 2px; }
}

/* ======================================================
   Ficha del paquete: "Todo lo que incluye" (11/10). Plegado; abierto, producto por producto,
   cada cosa con su imagen en una grilla aireada. Click en una tarjeta: su ejemplo con la explicación.
   ====================================================== */
.inc { --pk: 167 139 250; }
.inc--gold { --pk: 232 196 104; }
.inc__body { display: grid; gap: 26px; padding: 4px 16px 18px; }
.inc__grp { display: grid; gap: 12px; }
.inc__gh { display: flex; align-items: center; gap: 10px; padding-top: 20px; border-top: 1px solid var(--line); }
.inc__grp:first-child .inc__gh { padding-top: 6px; border-top: 0; }
.inc__gi { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: rgb(74 222 143 / 0.1); color: var(--accent); }
.inc__gi svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.inc__gh b { color: var(--text); font-size: 16px; font-weight: 500; letter-spacing: -0.01em; }
.inc__gh small { margin-left: auto; color: var(--faint); font-size: 11px; white-space: nowrap; }
.inc__sub { margin: 8px 0 0; color: var(--faint); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; }
.inc__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; }
.inc__item { display: grid; align-content: start; gap: 7px; margin: 0; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.inc__item.is-plain { cursor: default; }
.inc__item--wide { grid-column: 1 / -1; }
.inc__vis { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: var(--panel, #1c1c1f); transition: border-color 200ms ease, transform 160ms var(--ease-out); }
.inc__item--wide .inc__vis { aspect-ratio: 16 / 8; }
.inc__vis .stage.inc__stage { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; border-radius: 0; }
.inc__ico { position: absolute; inset: 0; display: grid; place-items: center; color: rgb(255 255 255 / 0.22); background: radial-gradient(60% 60% at 50% 40%, rgb(255 255 255 / 0.04), transparent 70%); }
.inc__ico svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.inc__zoom { position: absolute; top: 6px; right: 6px; z-index: 2; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: rgb(22 22 24 / 0.78); color: var(--text); }
.inc__zoom svg { width: 11px; height: 11px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.inc__name { color: var(--text); font-size: 14px; font-weight: 500; line-height: 1.3; }
.inc__d { display: -webkit-box; overflow: hidden; color: var(--muted); font-size: 12.5px; line-height: 1.4; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.inc__item:not(.is-plain):active .inc__vis { transform: scale(0.98); }
@media (hover: hover) and (pointer: fine) { .inc__item:not(.is-plain):hover .inc__vis { border-color: rgb(74 222 143 / 0.4); } }
.inc__also { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--muted); font-size: 13.5px; }
.inc__also svg { flex: none; width: 15px; height: 15px; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.inc__falta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 14px; border: 1px dashed rgb(var(--pk) / 0.45); border-radius: 12px; background: rgb(var(--pk) / 0.05); color: var(--muted); font-size: 13px; line-height: 1.4; }
.inc__falta b { color: rgb(var(--pk)); font-weight: 500; }
.inc__falta i { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border: 1px solid rgb(var(--pk) / 0.35); border-radius: 999px; background: rgb(var(--pk) / 0.08); color: var(--text); font-size: 12px; font-style: normal; }
.inc__falta-go { flex-basis: 100%; display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; color: rgb(var(--pk)); font-size: 12px; }
.inc__falta-go svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.6; }
@media (min-width: 640px) { .inc__grid { gap: 22px 16px; } .inc__body { padding: 6px 20px 22px; } }
/* las miniaturas usan el mismo armado que la galería (celu centrado, captura con sombra), sin carteles encima */
.inc__vis .slide.inc__slide { position: absolute; inset: 0; display: block; aspect-ratio: auto; }
.inc__vis .xc-step, .inc__vis .xn, .inc__vis .chip-float, .inc__vis .xc-arrow, .inc__vis .real-tag, .inc__vis .slide__cap { display: none; }
.inc__vis .slide .shot { top: 50%; max-width: 86%; max-height: 82%; border-radius: 8px; }
.inc__vis .slide .dev--phone { height: 92%; top: 4%; }
.inc__vis .slide .laptop { width: 90%; }

/* ======================================================
   11/10 (noche): portadas con las demos, tutoriales de Tomás y extras con imagen
   ====================================================== */
.slide__cap:empty { display: none; }

/* App: en el inicio del celu, el ícono de ejemplo y uno vacío "TM" con la flecha "Tu marca"; al lado, la app abierta */
.xc--appc { display: flex; align-items: center; justify-content: center; gap: 9cqw; padding-top: 5%; }
.xc--appc .dev--phone.apc-phone { position: relative; inset: auto; flex: none; height: 84%; }
.apc-home { position: relative; display: grid; grid-template-columns: repeat(2, auto); justify-items: center; align-items: start; gap: 3.4cqw 4.2cqw; margin-top: 6%; }
.apc-ico { display: grid; justify-items: center; gap: 1.4cqw; }
.apc-ico img, .apc-ico i { display: block; width: clamp(42px, 13cqw, 88px); aspect-ratio: 1; border-radius: 23%; box-shadow: 0 14px 30px -12px rgb(0 0 0 / 0.85), inset 0 0 0 1px rgb(255 255 255 / 0.06); }
.apc-ico b { color: var(--text); font-size: clamp(9px, 2.5cqw, 13px); font-weight: 500; letter-spacing: 0; }
.apc-ico--tm i { display: grid; place-items: center; border: 1.5px dashed rgb(74 222 143 / 0.7); background: rgb(74 222 143 / 0.06); color: var(--accent); font-family: var(--mono); font-size: clamp(11px, 3.8cqw, 22px); font-style: normal; font-weight: 500; box-shadow: none; }
.apc-ico--tm b { color: var(--muted); }
.apc-nota { grid-column: 1 / -1; display: inline-flex; align-items: flex-start; gap: 0.6cqw; margin-top: -1cqw; padding-left: 8cqw; color: var(--accent); font-size: clamp(11px, 3.3cqw, 17px); font-weight: 500; white-space: nowrap; }
.apc-flecha { order: 2; width: clamp(28px, 9cqw, 56px); height: auto; margin-top: -5.5cqw; overflow: visible; }

/* Portal: 1) desde tu cartera le generás el link; 2) tu cliente entra y ve lo suyo */
.xc--portalc { display: flex; align-items: center; justify-content: center; gap: 2.6cqw; padding: 12% 0 3%; }
.poc { position: relative; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2.6cqw; }
.poc .dev--phone.poc-phone { position: relative; inset: auto; flex: none; height: 84%; }
.poc-cap { display: inline-flex; align-items: center; gap: 1.4cqw; max-width: 40cqw; color: var(--text); font-size: clamp(9px, 2.6cqw, 13px); line-height: 1.25; text-align: left; }
.poc-cap b { flex: none; display: grid; place-items: center; width: clamp(15px, 4.4cqw, 22px); aspect-ratio: 1; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-size: clamp(8px, 2.4cqw, 11px); font-weight: 600; }
.poc-flecha { flex: none; width: clamp(26px, 8cqw, 56px); height: auto; margin-bottom: 9%; overflow: visible; }
@media (min-width: 1000px) {
  .card--feature .xc--portalc { padding: 9% 0 3%; gap: 4cqw; }
  .card--feature .poc .dev--phone.poc-phone { height: 86%; }
  .card--feature .xc--appc { gap: 7cqw; }
}

/* El tutorial en la ficha: el celu (o el celu acostado) con un adelanto mudo, el play y "Mirá el tutorial" */
.dev--phoneh { aspect-ratio: 844 / 390; border-radius: 20px; padding: 3px; }
.dev--phoneh > * { border-radius: 17px; overflow: hidden; }
.slide .dev--phoneh { width: 90%; left: 5%; top: 44%; transform: translateY(-50%); }
.gallery__view.is-tut { cursor: pointer; }
.gallery__view.is-tut .slide .dev--phone { height: 80%; top: 4%; }
.tut__play { position: absolute; left: 50%; top: 44%; z-index: 4; display: grid; place-items: center; width: clamp(56px, 15cqw, 84px); aspect-ratio: 1; border-radius: 50%; transform: translate(-50%, -50%); background: rgb(22 22 24 / 0.7); border: 1px solid rgb(255 255 255 / 0.24); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: 0 18px 40px -14px rgb(0 0 0 / 0.9); transition: transform 220ms var(--ease-out), background-color 220ms ease; }
.tut__play svg { width: 40%; height: 40%; margin-left: 6%; fill: var(--text); transition: fill 220ms ease; }
.gallery__view.is-tut:active .tut__play { transform: translate(-50%, -50%) scale(0.94); }
@media (hover: hover) and (pointer: fine) { .gallery__view.is-tut:hover .tut__play { transform: translate(-50%, -50%) scale(1.06); background: var(--accent); } .gallery__view.is-tut:hover .tut__play svg { fill: var(--accent-ink); } }
.gallery__view.is-tut:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 22px; }
.tut__cap { position: absolute; left: 50%; bottom: 3%; z-index: 4; display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 999px; transform: translateX(-50%); background: rgb(22 22 24 / 0.88); border: 1px solid var(--line-2); white-space: nowrap; }
.tut__cap b { color: var(--text); font-size: 13.5px; font-weight: 500; }
.tut__cap span { color: var(--muted); font-size: 11.5px; }

/* El reproductor a pantalla completa */
.tutv { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; background: rgb(8 8 9 / 0.97); opacity: 0; transition: opacity 240ms ease; }
.tutv.is-open { opacity: 1; }
.tutv__v { display: block; width: 100%; height: 100%; max-height: 100dvh; object-fit: contain; background: #000; }
.tutv__close { position: absolute; top: calc(12px + env(safe-area-inset-top)); right: 12px; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgb(255 255 255 / 0.22); background: rgb(22 22 24 / 0.82); color: #fff; cursor: pointer; }
.tutv__close svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
@media (min-width: 900px) {
  .tutv__v { width: auto; height: 92dvh; border-radius: 16px; }
  .tutv--h .tutv__v { width: min(92vw, calc(92dvh * 16 / 9)); height: auto; }
}

/* Extras con su imagen: la imagen abre el ejemplo; el resto de la fila lo suma */
.addon { grid-template-columns: 22px 58px minmax(0, 1fr) auto; }
.addon__thumb { position: relative; display: block; width: 58px; aspect-ratio: 1; margin: 0; padding: 0; overflow: hidden; border: 1px solid var(--line-2); border-radius: 11px; background: var(--panel, #1c1c1f); cursor: zoom-in; transition: border-color 200ms ease, transform 160ms var(--ease-out); }
.addon__thumb > img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.addon__thumb .slide.inc__slide { position: absolute; inset: 0; display: block; aspect-ratio: auto; }
.addon__thumb .inc__zoom { top: 4px; right: 4px; width: 18px; height: 18px; }
.addon__thumb .inc__zoom svg { width: 9px; height: 9px; }
.addon__thumb.is-plain { cursor: default; background: radial-gradient(60% 60% at 50% 40%, rgb(255 255 255 / 0.04), transparent 70%), var(--panel, #1c1c1f); }
.addon__thumb:active { transform: scale(0.96); }
@media (hover: hover) and (pointer: fine) { .addon__thumb:hover { border-color: rgb(74 222 143 / 0.5); } }
.addon__thumb .xc-step, .addon__thumb .xn, .addon__thumb .chip-float, .addon__thumb .xc-arrow, .addon__thumb .real-tag, .addon__thumb .slide__cap { display: none; }
/* ajustes de las portadas: "Tu marca" debajo del ícono vacío, con la flecha que sube hasta él; sin la barra de la hora */
.apc-nota { grid-column: 2; justify-self: start; align-items: flex-end; margin: -6.5cqw 0 0 -7cqw; padding-left: 0; }
.apc-flecha { order: 2; width: clamp(24px, 7cqw, 44px); margin: 0 0 1.2cqw 0.6cqw; transform: rotate(-8deg); }
.xc--appc .phone-bar, .xc--portalc .phone-bar { display: none; }
@media (min-width: 1000px) {
  .card--feature .xc--appc { padding-top: 3%; }
  .card--feature .xc--appc .dev--phone.apc-phone { height: 90%; }
  .card--feature .xc--portalc { padding: 7% 0 2.5%; }
  .card--feature .poc .dev--phone.poc-phone { height: 88%; }
}
.apc-nota { margin: 1.6cqw 0 0 -3cqw; }
.apc-flecha { width: clamp(26px, 8cqw, 50px); margin: 0 0 2.6cqw 0.8cqw; transform: rotate(-14deg); }
.gallery__view.is-tut .phone-bar { display: none; }
.addon__thumb > img { object-position: center 38%; }
/* el reproductor (v2): arriba "‹ Volver" grande; el video ocupa el resto; nada de la página se mueve atrás */
.tutv { grid-template-rows: auto minmax(0, 1fr); place-items: stretch; overscroll-behavior: contain; }
.tutv__bar { display: flex; align-items: center; gap: 12px; min-width: 0; padding: calc(10px + env(safe-area-inset-top)) 14px 10px; }
.tutv__back { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 20px 0 14px; border: 1px solid rgb(255 255 255 / 0.24); border-radius: 999px; background: rgb(255 255 255 / 0.1); color: #fff; font-family: var(--sans); font-size: 15px; font-weight: 500; cursor: pointer; }
.tutv__back svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transform: scaleX(-1); }
.tutv__back:active { transform: scale(0.97); }
.tutv__t { min-width: 0; overflow: hidden; color: var(--muted); font-size: 13px; white-space: nowrap; text-overflow: ellipsis; }
.tutv__stage { display: grid; place-items: center; min-height: 0; padding-bottom: env(safe-area-inset-bottom); }
.tutv .tutv__v { width: 100%; height: 100%; max-height: none; border-radius: 0; }
@media (min-width: 900px) {
  .tutv .tutv__v { width: auto; height: calc(100dvh - 96px); border-radius: 14px; }
  .tutv--h .tutv__v { width: min(94vw, calc((100dvh - 96px) * 16 / 9)); height: auto; }
}
/* la portada de la web inmobiliaria: la grabación real viene en 9:16 */
.dev--phone.is-169 { aspect-ratio: 9 / 16; }

/* ======================================================
   Portadas de App y Portal (v3): un celu grande que sale desde abajo, con una pantalla legible
   en los colores del ejemplo (BAIREN o Pátina), y al lado una sola idea que vende
   ====================================================== */
.cov { position: absolute; inset: 0; display: flex; justify-content: center; align-items: flex-start; gap: 7cqw; padding: 0 5cqw; }
.cv-phone { position: relative; flex: none; height: 92%; aspect-ratio: 390 / 844; transform: translateY(16%); border: clamp(3px, 1cqw, 6px) solid #0b0b0c; border-radius: clamp(20px, 6.4cqw, 42px); background: #0b0b0c; box-shadow: 0 0 0 1px var(--line-2), 0 40px 80px -30px rgb(0 0 0 / 0.95); }
.cv-screen { position: relative; display: block; height: 100%; overflow: hidden; border-radius: clamp(17px, 5.6cqw, 37px); container-type: inline-size; }
.cv-screen::before { content: ""; position: absolute; top: 2.6cqi; left: 50%; z-index: 3; width: 27cqi; height: 7.6cqi; border-radius: 99px; background: #000; transform: translateX(-50%); }

/* la pantalla */
.sc { display: flex; flex-direction: column; gap: 3cqi; height: 100%; padding: 0 5.5cqi; font-family: var(--sans); text-align: left; }
.sc__top { display: flex; align-items: baseline; justify-content: space-between; margin: 0 -5.5cqi 2cqi; padding: 15cqi 6cqi 5cqi; }
.sc__logo { font-size: 7.6cqi; font-weight: 700; letter-spacing: 0.12em; }
.sc__top small { font-size: 4.4cqi; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.7; }
.sc__h { font-size: 11cqi; line-height: 1.05; letter-spacing: -0.02em; margin: 1cqi 0 1.4cqi; }
.sc__row { display: flex; align-items: center; gap: 3.4cqi; padding: 3.2cqi 3.4cqi; border-radius: 3.4cqi; background: #fff; box-shadow: 0 1px 0 rgb(0 0 0 / 0.05); }
.sc__ic { flex: none; display: grid; place-items: center; width: 9.4cqi; height: 9.4cqi; border-radius: 50%; }
.sc__ic svg { width: 5.4cqi; height: 5.4cqi; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sc__tx { min-width: 0; }
.sc__tx b { display: block; font-size: 5.8cqi; font-weight: 600; line-height: 1.2; }
.sc__tx small { display: block; margin-top: 0.6cqi; font-size: 4.5cqi; line-height: 1.25; opacity: 0.62; }
.sc__stat { display: flex; align-items: center; gap: 3.4cqi; margin: -1cqi 0 1cqi; }
.sc__stat b { font-size: 22cqi; font-weight: 400; line-height: 0.9; letter-spacing: -0.04em; }
.sc__stat span { font-size: 4.8cqi; line-height: 1.3; opacity: 0.7; }
.sc__card { display: grid; gap: 1.6cqi; padding: 4.6cqi; border-radius: 3.8cqi; }
.sc__card small { font-size: 4.3cqi; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.7; }
.sc__card b { font-size: 13cqi; font-weight: 500; line-height: 1; letter-spacing: -0.02em; }
.sc__pill { justify-self: start; display: inline-flex; align-items: center; gap: 1.4cqi; padding: 1.4cqi 3cqi; border-radius: 99px; background: rgb(255 255 255 / 0.13); font-size: 4.5cqi; }
.sc__pill svg { width: 4.4cqi; height: 4.4cqi; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.sc__bar { display: block; height: 2.2cqi; border-radius: 99px; background: rgb(255 255 255 / 0.16); overflow: hidden; }
.sc__bar i { display: block; height: 100%; border-radius: inherit; background: #C77A4B; }
/* BAIREN: azul y crema */
.sc--bairen { background: #F4EFE5; color: #131D2D; }
.sc--bairen .sc__top { background: #131D2D; color: #F4EFE5; }
.sc--bairen .sc__logo, .sc--bairen .sc__h { font-family: Georgia, 'Times New Roman', serif; }
.sc--bairen .sc__logo { letter-spacing: 0.1em; }
.sc--bairen .sc__ic { background: #EDE3CF; color: #131D2D; }
.sc--bairen .sc__row.is-ok .sc__ic { background: #DCEFE2; color: #1D7A45; }
.sc--bairen .sc__card { background: #131D2D; color: #F4EFE5; }
/* Pátina: basalto, cal y cobre */
.sc--patina { background: #F4F4F1; color: #0F1112; }
.sc--patina .sc__top { background: #0F1112; color: #F4F4F1; }
.sc--patina .sc__logo { font-weight: 400; letter-spacing: 0.28em; }
.sc--patina .sc__h { font-weight: 300; }
.sc--patina .sc__row { border-radius: 1.4cqi; box-shadow: inset 0 0 0 1px rgb(15 17 18 / 0.08); }
.sc--patina .sc__ic { border-radius: 1.4cqi; background: #EBE9E3; color: #0F1112; }
.sc--patina .sc__row.is-ok .sc__ic { background: #D6EBE5; color: #2C7A68; }
.sc--patina .sc__card { border-radius: 1.6cqi; background: #0F1112; color: #F4F4F1; }
.sc--patina .sc__stat b { color: #B8683A; font-weight: 300; }

/* App: "Tu marca" con una flecha recta que baja al ícono vacío */
.cv-marca { align-self: center; display: grid; justify-items: center; gap: 1.4cqw; max-width: 40cqw; transform: translateY(-2%); }
.cv-marca__txt { color: var(--accent); font-size: clamp(14px, 4.6cqw, 22px); font-weight: 500; letter-spacing: -0.01em; }
.cv-marca__flecha { width: clamp(12px, 3.2cqw, 18px); height: auto; fill: none; stroke: var(--accent); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.cv-marca__ico { display: grid; place-items: center; width: clamp(66px, 20cqw, 112px); aspect-ratio: 1; border: 2px dashed rgb(74 222 143 / 0.75); border-radius: 23%; background: rgb(74 222 143 / 0.07); color: var(--accent); font-family: var(--mono); font-size: clamp(18px, 6cqw, 32px); font-weight: 500; }
.cv-marca__sub { margin-top: 1cqw; color: var(--muted); font-size: clamp(10.5px, 2.9cqw, 14px); line-height: 1.35; text-align: center; }

/* Portal: 1 le mandás su link (WhatsApp) → 2 ve todo, con la flecha hacia el celu */
.cv-col { align-self: center; display: grid; gap: 2.6cqw; width: clamp(132px, 40cqw, 250px); transform: translateY(4%); }
.cv-paso { display: inline-flex; align-items: center; gap: 1.8cqw; color: var(--text); font-size: clamp(11px, 3.2cqw, 15px); font-weight: 500; line-height: 1.25; }
.cv-paso b { flex: none; display: grid; place-items: center; width: clamp(18px, 5cqw, 24px); aspect-ratio: 1; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-size: clamp(10px, 2.8cqw, 12px); font-weight: 600; }
.cv-flecha { flex: none; width: clamp(22px, 6.4cqw, 40px); height: auto; margin-left: 0.6cqw; fill: none; stroke: var(--accent); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.cv-wa__b { display: block; padding: clamp(8px, 2.4cqw, 13px) clamp(9px, 2.8cqw, 14px) clamp(6px, 1.8cqw, 9px); border-radius: 14px 14px 4px 14px; background: #005C4B; color: #E9EDEF; font-size: clamp(10.5px, 3cqw, 14px); line-height: 1.35; box-shadow: 0 18px 40px -18px rgb(0 0 0 / 0.9); }
.cv-wa__link { display: block; margin-top: 5px; color: #53BDEB; text-decoration: underline; text-underline-offset: 2px; overflow-wrap: anywhere; }
.cv-wa__t { display: block; margin-top: 3px; color: rgb(233 237 239 / 0.6); font-size: 0.78em; text-align: right; }
@media (min-width: 1000px) { .card--feature .cov { gap: 5cqw; } .card--feature .cv-marca { max-width: 24cqw; } .card--feature .cv-col { width: clamp(180px, 26cqw, 260px); } }
/* más grande y más legible: el celu sale más desde abajo */
.cov { gap: 5cqw; padding: 0 3.5cqw; }
.cv-phone { height: 106%; transform: translateY(15%); }
.cv-marca { max-width: 36cqw; }
.cv-col { width: clamp(124px, 37cqw, 250px); }
.sc { gap: 3.2cqi; }
.sc__h { font-size: 12cqi; }
.sc__row { padding: 3.6cqi 3.6cqi; }
.sc__ic { width: 10.4cqi; height: 10.4cqi; }
.sc__ic svg { width: 6cqi; height: 6cqi; }
.sc__tx b { font-size: 6.3cqi; }
.sc__tx small { font-size: 4.9cqi; }
@media (min-width: 640px) and (max-width: 999px) { .cv-phone { height: 128%; transform: translateY(11%); } }
@media (min-width: 1000px) {
  .card--feature .cv-phone { height: 132%; transform: translateY(10%); }
  .card--feature .cov { gap: 6cqw; }
}

/* Portadas v4: la pantalla real de la app adentro del celu, y al lado los dos íconos (el ejemplo y "TM · La tuya") */
.cv-screen > img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.cv-screen::before { width: 26cqi; height: 7cqi; top: 2.2cqi; }
.cv-marca { gap: 1.2cqw; transform: none; }
.cv-marca__nota { display: grid; justify-items: center; gap: 0.4cqw; margin-left: 33%; color: var(--accent); font-size: clamp(12px, 3.4cqw, 17px); font-weight: 500; }
.cv-marca__nota svg { width: clamp(10px, 2.6cqw, 15px); height: auto; fill: none; stroke: var(--accent); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.cv-marca__fila { display: flex; align-items: flex-start; gap: clamp(10px, 3.6cqw, 22px); }
.cv-ico { display: grid; justify-items: center; gap: clamp(4px, 1.2cqw, 8px); }
.cv-ico img, .cv-ico i { display: block; width: clamp(46px, 14cqw, 78px); aspect-ratio: 1; border-radius: 23%; box-shadow: 0 14px 28px -14px rgb(0 0 0 / 0.85), inset 0 0 0 1px rgb(255 255 255 / 0.06); }
.cv-ico b { color: var(--text); font-size: clamp(10px, 2.6cqw, 13px); font-weight: 500; }
.cv-ico--tm i { display: grid; place-items: center; border: 1.5px dashed rgb(74 222 143 / 0.7); background: rgb(74 222 143 / 0.06); color: var(--accent); font-family: var(--mono); font-size: clamp(14px, 4.2cqw, 22px); font-style: normal; font-weight: 500; box-shadow: none; }
.cv-ico--tm b { color: var(--accent); }
.cv-marca__sub { font-size: clamp(10px, 2.7cqw, 13px); }
/* portadas con video: la foto adelante hasta que arranca */
.dev--phone .dev__screen > .vp { position: relative; flex: 1; min-height: 0; }
.vp > video, .vp > .vp__foto { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.vp__foto { z-index: 1; transition: opacity 320ms ease; }
.vp.is-on .vp__foto { opacity: 0; }

/* el tutorial apaisado (web del emprendimiento) en un monitor moderno, tipo Studio Display */
.mon { position: absolute; left: 50%; top: 44%; z-index: 2; display: grid; justify-items: center; width: 88%; transform: translate(-50%, -50%); filter: drop-shadow(0 30px 40px rgb(0 0 0 / 0.55)); }
.mon__pantalla { position: relative; display: block; width: 100%; aspect-ratio: 16 / 10; padding: 1.1%; border-radius: 1.6cqw; background: #0a0a0b; box-shadow: 0 0 0 1px #9a9ca3, inset 0 0 0 1px rgb(255 255 255 / 0.06); overflow: hidden; }
.mon__pantalla > img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 0.5cqw; }
.mon__cuello { display: block; width: 15%; height: 6.5cqw; margin-top: -1px; background: linear-gradient(90deg, #8d9097, #d7d9de 45%, #b9bcc2 70%, #85888f); clip-path: polygon(10% 0, 90% 0, 100% 100%, 0 100%); }
.mon__pie { display: block; width: 30%; height: 1.4cqw; border-radius: 0.6cqw 0.6cqw 1cqw 1cqw; background: linear-gradient(180deg, #e2e4e8, #a7aab0); }
.gallery__view.is-tut .mon ~ .tut__play { top: 37%; }
/* la franja de la hora arriba de la pantalla real (como en el iPhone), así la isla no tapa la app */
.cv-screen--bairen { background: #131D2D; }
.cv-screen--patina { background: #0F1112; }
.cv-screen > img { height: calc(100% - 11cqi); margin-top: 11cqi; }
.cv-hora { position: absolute; top: 3.4cqi; left: 9cqi; z-index: 3; color: #fff; font-family: var(--sans); font-size: 4.4cqi; font-weight: 600; letter-spacing: 0; }
