@font-face { font-family: 'Switzer'; src: url('fonts/switzer-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Switzer'; src: url('fonts/switzer-500.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Switzer'; src: url('fonts/switzer-600.woff2') format('woff2'); font-weight: 600; font-display: swap; }

:root {
  /* Colores del logo: lima #c8d400 y azul pizarra #283850 */
  --bg: #f1f3ef;
  --tile: #ffffff;
  --surface: #e6eae6;
  --ink: #1d2a3d;
  --soft: #4f5c70;
  --brand: #5f6800;          /* lima oscurecido: legible como texto */
  --lime: #c8d400;
  --on-lime: #1d2a3d;
  --navy: #283850;
  --bar: rgba(241, 243, 239, 0.74);

  /* tokens que lee Basecoat (mismos nombres que shadcn) */
  --background: var(--bg);
  --foreground: var(--ink);
  --card: var(--tile);
  --card-foreground: var(--ink);
  --popover: var(--tile);
  --popover-foreground: var(--ink);
  --primary: var(--lime);
  --primary-foreground: var(--on-lime);
  --secondary: var(--ink);
  --secondary-foreground: var(--tile);
  --muted: var(--surface);
  --muted-foreground: var(--soft);
  --accent: var(--surface);
  --accent-foreground: var(--ink);
  --border: color-mix(in srgb, var(--ink) 14%, transparent);
  --input: color-mix(in srgb, var(--ink) 22%, transparent);
  --ring: var(--brand);
  --radius: 0.5rem;
  --font-sans: 'Switzer', system-ui, sans-serif;

  /* Jerarquía: cada nivel se distingue con claridad del siguiente */
  --t-hero: clamp(3.25rem, 8.4vw, 8.25rem);
  --t-section: clamp(2.5rem, 5.2vw, 5rem);
  --t-tile: clamp(2rem, 3.5vw, 3.5rem);
  --t-lead: clamp(1.3125rem, 1.05rem + 1vw, 1.875rem);
  --t-kicker: clamp(1rem, .95rem + .25vw, 1.1875rem);
  --t-body: clamp(1.0625rem, 1rem + .2vw, 1.1875rem);
  --t-small: 0.9375rem;

  /* Espacio: mosaicos pegados y secciones contenidas */
  --gap: 12px;
  --edge: clamp(12px, 1.2vw, 20px);
  --block: clamp(56px, 6.4vw, 96px);
  --tile-pad: clamp(26px, 3.2vw, 48px);
  --tile-r: clamp(20px, 2vw, 30px);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

html.dark {
  --bg: #0b111b;
  --tile: #172231;
  --surface: #212f44;
  --ink: #f2f5f8;
  --soft: #b0bbca;
  --brand: #c8d400;
  --secondary-foreground: #0b111b;
  --bar: rgba(11, 17, 27, 0.72);
}

html { scroll-behavior: smooth; overflow-x: clip; }
body {
  background: var(--bg); color: var(--ink);
  font-family: 'Switzer', system-ui, sans-serif; font-size: var(--t-body);
  line-height: 1.45; letter-spacing: -0.006em; overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  transition: background-color .25s ease, color .25s ease;
}
[id] { scroll-margin-top: 64px; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
svg.lucide { width: 1.1em; height: 1.1em; flex: none; stroke-width: 1.9; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

/* Tipografía: seguimiento más cerrado cuanto mayor es el tamaño */
h1 { font-size: var(--t-hero); font-weight: 600; letter-spacing: -0.045em; line-height: 1; }
.h-section { font-size: var(--t-section); font-weight: 600; letter-spacing: -0.038em; line-height: 1.03; text-wrap: balance; }
.h-tile { font-size: var(--t-tile); font-weight: 600; letter-spacing: -0.032em; line-height: 1.05; text-wrap: balance; }
.kicker { display: flex; align-items: center; gap: .45em; font-size: var(--t-kicker); font-weight: 600; letter-spacing: -0.012em; line-height: 1.2; }
.tile-p { font-size: var(--t-body); line-height: 1.4; }
.center { text-align: center; margin-inline: auto; }

/* Botones */
.btn:not(:focus-visible), .input:not(:focus-visible), .select:not(:focus-visible), .textarea:not(:focus-visible) { box-shadow: none; } /* taste-skill-ignore: anula sombra de Basecoat */
.btn { transition: transform .1s ease-out, background-color .18s ease, color .18s ease, border-color .18s ease; }
.btn:active { transform: scale(.97); }
a.btn[data-variant=primary] { color: var(--on-lime); }
a.btn[data-variant=secondary] { color: var(--secondary-foreground); }
.pill { border-radius: 999px; font-weight: 500; }
.round { border-radius: 50%; width: 44px; height: 44px; }
.more { display: inline-flex; align-items: center; gap: .15em; min-height: 44px; font-weight: 500; }
.more svg { transition: transform .18s var(--ease-out); }
.more:hover svg { transform: translateX(3px); }

/* Barra translúcida: el contenido pasa por debajo */
.bar { position: fixed; inset: 0 0 auto; z-index: 40; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; height: 56px; padding: 0 clamp(16px, 2.4vw, 32px); background: var(--bar); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); }
.bar { transition: background-color .25s ease, color .25s ease; }
.bar.on-dark { background: rgba(8, 12, 20, .62); color: #f2f5f8; --foreground: #f2f5f8; --accent: rgba(255,255,255,.14); --accent-foreground: #ffffff; }
.wordmark img { height: 34px; width: auto; }
.bar-links { display: flex; gap: clamp(18px, 2.4vw, 36px); }
.bar-links a { font-size: var(--t-small); padding: 8px 0; opacity: .86; transition: opacity .15s ease; }
.bar-links a:hover { opacity: 1; }
.bar-actions { display: flex; align-items: center; justify-content: flex-end; gap: 6px; }
.bar-burger { display: none; }
.ico-sun { display: none; }
html.dark .ico-sun { display: block; }
html.dark .ico-moon { display: none; }
.sheet { position: fixed; inset: 56px 0 auto; z-index: 39; display: grid; gap: 2px; padding: 12px 20px 24px; background: var(--bg); }
.sheet[hidden] { display: none; }
.sheet a:not(.btn) { font-size: 1.75rem; font-weight: 600; letter-spacing: -0.03em; padding: 8px 0; }

/* HERO: el fondo de cilindros se mantiene, con una sola idea encima */
.hero { position: relative; overflow: hidden; background: #040810; color: #f2f5f8; padding-top: clamp(96px, 9vw, 132px); text-align: center; }
#exp-cyl-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: 0; pointer-events: none; }
.hero::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(to bottom, rgba(4,8,16,.86) 0%, rgba(4,8,16,.66) 42%, rgba(4,8,16,.2) 100%); /* taste-skill-ignore: velo neutro sobre el fondo animado */ }
.hero-copy, .hero-media { position: relative; z-index: 2; }
.hero-copy { padding: 0 20px; }
.line { display: inline-block; overflow: hidden; padding: .06em .04em .12em; margin-bottom: -.12em; vertical-align: top; }
.line-in { display: inline-block; white-space: nowrap; }
.js .line-in { transform: translateY(112%); }
.hero-lead { margin-top: 14px; font-size: var(--t-lead); line-height: 1.2; letter-spacing: -0.018em; font-weight: 500; }
.hero-actions { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px 24px; margin-top: 22px; }
.link-on-dark { display: inline-flex; align-items: center; gap: .15em; min-height: 44px; color: #dfe65a; font-weight: 500; font-size: 1.0625rem; }
.link-on-dark svg { transition: transform .18s var(--ease-out); }
.link-on-dark:hover svg { transform: translateX(3px); }
.speed { display: inline-flex; align-items: center; gap: .45em; margin-top: 14px; padding: 7px 16px; border-radius: 999px; background: rgba(255,255,255,.1); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); font-size: var(--t-small); color: #dbe2ea; }
.speed svg { color: var(--lime); }
.speed b { color: #fff; font-weight: 600; font-variant-numeric: tabular-nums; }

.hero-media { position: relative; margin-top: clamp(28px, 3.4vw, 48px); }
.browser, .laptop-screen { background: #101722; }
.browser { position: absolute; overflow: hidden; border-radius: 10px; border-top: 14px solid #101722; }
.browser img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.laptop { position: relative; width: 100%; }
.laptop-screen { padding: 1.2% 1.2% 0; border-radius: 12px 12px 0 0; aspect-ratio: 16 / 10; overflow: hidden; }
.laptop-screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 4px 4px 0 0; }
.phone { position: absolute; aspect-ratio: 9 / 19.4; background: #0d1219; padding: 5px; border-radius: 22px; overflow: hidden; }
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 17px; }

.t3d { position: absolute; z-index: 3; height: auto; pointer-events: none; }

/* Escena del header: te buscan, te encuentran, te compran.
   Sin JavaScript o con movimiento reducido queda el estado final, completo y legible. */
.journey { display: grid; grid-template-columns: minmax(0, 1fr) 44px minmax(0, 1fr) 44px minmax(0, 1fr); max-width: 1240px; margin-inline: auto; padding: 0 20px clamp(32px, 4vw, 56px); text-align: left; }
.jr-card { display: flex; flex-direction: column; padding: 18px 20px 20px; border-radius: 18px; font-size: 1rem; }
.jr-tag { display: flex; align-items: center; gap: 9px; margin-bottom: 12px; font-size: 1.125rem; font-weight: 600; letter-spacing: -0.014em; }
.jr-tag span { display: grid; place-items: center; width: 27px; height: 27px; border-radius: 50%; background: var(--lime); color: var(--on-lime); font-size: .875rem; font-variant-numeric: tabular-nums; }
.jr-search { display: flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 16px; border-radius: 999px; background: var(--ui-line); font-weight: 500; }
.jr-search svg { flex: none; width: 18px; height: 18px; color: var(--ui-soft); }
.jr-q { display: inline-flex; align-items: center; min-width: 0; white-space: nowrap; }
.jr-caret { width: 2px; height: 1.15em; margin-left: 2px; background: var(--ui-ink); opacity: 0; }
.jr-suggest { display: grid; gap: 2px; margin: 8px 0 0; padding: 0; list-style: none; }
.jr-suggest li { display: flex; align-items: center; gap: 10px; min-height: 34px; padding: 0 16px; font-size: .9375rem; color: var(--ui-soft); }
.jr-suggest svg { flex: none; width: 15px; height: 15px; }
.jr-rows { display: grid; gap: 6px; }
.jr-row { display: flex; align-items: center; justify-content: space-between; min-height: 52px; padding: 7px 14px; border-radius: 12px; background: #f0f3f1; color: var(--ui-soft); }
.jr-row small { display: block; font-size: .8125rem; line-height: 1.2; }
.jr-row b { display: block; font-weight: 500; line-height: 1.25; }
.jr-row.is-you { position: relative; z-index: 1; background: var(--lime); color: var(--on-lime); }
.jr-row.is-you b { font-weight: 600; }
.jr-row svg { width: 19px; height: 19px; }
.jr-notes { display: grid; gap: 8px; flex: 1; align-content: center; }
.jr-note { display: flex; align-items: center; gap: 12px; min-height: 68px; padding: 10px 14px; border-radius: 14px; background: #f0f3f1; }
.jr-note-t { font-size: .9375rem; color: var(--ui-soft); line-height: 1.25; }
.jr-note-t b { display: block; font-size: 1rem; font-weight: 600; color: var(--ui-ink); }
.jr-app { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; }
.jr-app svg { width: 21px; height: 21px; }
.jr-app.is-wa { background: #25d366; color: #0b2a16; }
.jr-app.is-sale { background: var(--lime); color: var(--on-lime); }
.jr-link { position: relative; align-self: center; height: 2px; margin-inline: 7px; border-radius: 2px; background: var(--lime); transform-origin: left center; }
.jr-link::after { content: ''; position: absolute; right: -2px; top: -3px; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); }
.jr-lupa { width: clamp(76px, 7.4vw, 108px); left: calc(33.3% - clamp(78px, 7vw, 104px)); top: -54px; }
.jr-bolsa { width: clamp(76px, 7.4vw, 108px); right: 26px; top: -54px; }
@media (max-width: 900px) {
  .hero-media { margin-top: 40px; }
  .journey { grid-template-columns: minmax(0, 1fr); gap: 10px; max-width: 560px; padding-inline: 16px; }
  .jr-link, .jr-bolsa { display: none; }
  .jr-lupa { left: auto; right: 26px; top: -30px; width: 72px; }
  /* Con animación, las tres tarjetas se turnan en el mismo lugar. */
  .js .jr-card { grid-area: 1 / 1; }
}

/* Datos */

/* Bloques */
.block { padding: var(--block) var(--edge) 0; }
.block.last { padding-bottom: 0; }
.block > .h-section { margin-bottom: clamp(24px, 3vw, 44px); padding-inline: clamp(8px, 2vw, 28px); }

/* Mosaicos */
.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap); }
.tile { position: relative; overflow: hidden; border-radius: var(--tile-r); padding: var(--tile-pad); display: flex; flex-direction: column; transition: background-color .25s ease, color .25s ease; }
.tile.wide { grid-column: 1 / -1; }
.t-white { background: var(--tile); color: var(--ink); }
.t-lime { background: var(--lime); color: var(--on-lime); }
.t-navy { background: var(--navy); color: #f2f5f8; }
.t-white .kicker { color: var(--brand); }
.t-navy .kicker, .t-navy .more { color: #dfe65a; }
.t-white .more { color: var(--brand); }
.tile-copy { max-width: 36em; position: relative; z-index: 2; }
.tile-copy.center { text-align: center; max-width: 42em; margin-inline: auto; }
.tile-copy.center .kicker, .tile-copy.center .chips { justify-content: center; }
.tile-copy .h-tile { margin-top: 8px; }
.tile-copy .tile-p { margin-top: 10px; }
.tile-copy .more { margin-top: 2px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.chips a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px; background: var(--surface); font-size: var(--t-small); font-weight: 500; transition: background-color .18s ease, color .18s ease; }
.chips a:hover { background: var(--lime); color: var(--on-lime); }

.tile-art { position: relative; flex: 1; display: flex; align-items: center; justify-content: center; margin-top: clamp(14px, 1.6vw, 22px); min-height: 230px; }
.art-devices { align-items: flex-end; margin-bottom: calc(-1 * var(--tile-pad)); min-height: 0; }
.devices { position: relative; width: min(68%, 900px); }
.devices .phone { right: -7%; bottom: 7%; width: 17%; }
.sa { width: clamp(84px, 11vw, 170px); left: 2%; top: 8%; }
.sb { width: clamp(84px, 10vw, 160px); right: -2%; bottom: -3%; }
/* Cada objeto se ancla a la esquina de su tarjeta, sobre la zona sin texto, para no tapar datos. */
.sc, .sd, .se { --w: clamp(76px, 8vw, 116px); width: var(--w); right: -18px; top: calc(var(--w) * -.72); }
.sd { top: calc(var(--w) * -1); right: -10px; }
.flow-out, .status { position: relative; }
@media (min-width: 721px) and (max-width: 1023px) { .sb { display: none; } }

/* Componentes de interfaz */
.ui-card { --ui-bg: #ffffff; --ui-ink: #1d2a3d; --ui-soft: #4f5c70; --ui-line: #e6eae6; background: var(--ui-bg); color: var(--ui-ink); border-radius: 14px; padding: 16px 18px; font-size: var(--t-small); line-height: 1.3; }
.t-white .ui-card { --ui-bg: var(--bg); --ui-ink: var(--ink); --ui-soft: var(--soft); --ui-line: var(--surface); }
.search { width: min(92%, 500px); }
.search-bar { display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 999px; background: var(--ui-line); margin-bottom: 10px; }
.res { padding: 8px 4px; }
.res strong { display: block; font-size: 1.0625rem; font-weight: 500; color: var(--ui-soft); }
.res-url { display: block; font-size: .875rem; color: var(--ui-soft); }
.res-you { background: #eef3b3; color: #1d2a3d; padding: 10px 14px; border-radius: 10px; }
.res-you strong { color: #1d2a3d; font-weight: 600; }
.res-you .res-url { color: #3f4a5c; }
.ad-scene { position: relative; width: min(92%, 500px); padding-bottom: 46px; }
.ad strong { display: block; font-size: 1.25rem; font-weight: 600; letter-spacing: -0.015em; margin-top: 2px; }
.ad-tag { display: inline-block; font-size: .875rem; font-weight: 600; margin-bottom: 4px; }
.ad { padding-bottom: 22px; }
.ad-btn { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; padding: 8px 16px; background: var(--lime); color: var(--on-lime); border-radius: 999px; font-weight: 500; }
.toast { position: absolute; right: -2%; bottom: 0; display: flex; align-items: center; gap: 10px; padding: 10px 14px; }
.toast svg { width: 22px; height: 22px; color: #178a45; }
.toast b { display: block; font-weight: 600; }
.flow { display: grid; grid-template-columns: 5fr 7fr; align-items: center; gap: 12px; width: min(100%, 640px); font-size: 1rem; }
.flow .ui-card { font-size: 1rem; }
.order { display: grid; justify-items: start; gap: 2px; padding: 26px 22px; }
.order svg { width: 26px; height: 26px; margin-bottom: 4px; }
.order b { font-size: 1.125rem; font-weight: 600; }
.order span { color: var(--ui-soft); }
.flow-out { display: grid; gap: 6px; }
.chip { display: flex; align-items: center; gap: 10px; padding: 16px 16px; font-weight: 500; }
.chip .ok { margin-left: auto; color: #178a45; }
html.dark .t-white .chip .ok { color: #7fe3ae; }
.status { width: min(88%, 440px); margin-right: 12%; }
.status-head { display: flex; align-items: center; gap: 10px; font-size: 1.25rem; margin-bottom: 4px; }
.status-head svg { width: 24px; height: 24px; color: #178a45; }
.status-head b { font-weight: 600; letter-spacing: -0.015em; }
.status-row { display: flex; justify-content: space-between; gap: 16px; padding: 7px 0; }
.status-row span { color: var(--ui-soft); }
.status-row b { font-weight: 500; }

.why { flex-direction: row; align-items: center; gap: clamp(28px, 5vw, 80px); }
.why .h-tile { flex: 1 1 46%; }
.why-list { flex: 1 1 54%; display: grid; grid-template-columns: 1fr 1fr; gap: 22px var(--tile-pad); }
.why-list svg { width: 26px; height: 26px; color: var(--lime); }
.why-list b { display: block; margin-top: 6px; font-size: var(--t-kicker); font-weight: 600; letter-spacing: -0.012em; }
.why-list span { display: block; font-size: var(--t-small); color: #c8d1dc; line-height: 1.3; }

/* Proyectos: carrusel que se desliza con el dedo */
.rail-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: clamp(20px, 2.4vw, 32px); padding-inline: clamp(8px, 2vw, 28px); }
.rail-nav { display: flex; align-items: center; gap: 8px; flex: none; }
.rail-nav .more { color: var(--brand); margin-right: 8px; }
.rail { display: flex; gap: var(--gap); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(-1 * var(--edge)); padding-inline: var(--edge); scroll-padding-inline: var(--edge); }
.rail::-webkit-scrollbar { display: none; }
.work { position: relative; flex: none; width: min(74vw, 920px); scroll-snap-align: start; background: var(--tile); border-radius: var(--tile-r); overflow: hidden; display: flex; flex-direction: column; transition: background-color .25s ease; }
.work-copy { padding: clamp(20px, 2.4vw, 32px) var(--tile-pad) clamp(16px, 1.8vw, 24px); }
.work-copy b { display: block; font-size: clamp(1.75rem, 2.6vw, 2.5rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1.08; }
.work-copy span { display: block; margin-top: 4px; color: var(--soft); }
.work img { width: 100%; aspect-ratio: 16 / 8.6; object-fit: cover; object-position: top; transition: scale .5s var(--ease-out); }
.work:hover img { scale: 1.03; }
.work-go { position: absolute; z-index: 2; top: clamp(16px, 2vw, 26px); right: clamp(16px, 2vw, 26px); display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--surface); color: var(--ink); transition: background-color .18s ease, color .18s ease; }
.work-go svg { width: 21px; height: 21px; transition: translate .18s var(--ease-out); }
.work:hover .work-go { background: var(--lime); color: var(--on-lime); }
.work:hover .work-go svg { translate: 2px -2px; }
.rail-foot { display: flex; align-items: center; gap: 16px; margin-top: 16px; padding-inline: clamp(8px, 2vw, 28px); font-size: var(--t-small); color: var(--soft); }
.rail-count { flex: none; font-variant-numeric: tabular-nums; }
.rail-count b { font-weight: 600; color: var(--ink); }
.rail-track { flex: 1; height: 4px; border-radius: 4px; background: var(--surface); overflow: hidden; }
#rail-fill { display: block; height: 100%; border-radius: 4px; background: var(--brand); transform: scaleX(.14); transform-origin: left center; }

/* Pantallas que rotan y beneficios alrededor del computador */
.dv-shots, .phone.stack { display: grid; grid-template-rows: minmax(0, 1fr); }
.stack > img { grid-area: 1 / 1; min-height: 0; }
.stack > img + img { visibility: hidden; }
.dv-badge { position: absolute; z-index: 3; display: flex; align-items: center; gap: 9px; padding: 7px 16px 7px 7px; border-radius: 999px; background: var(--tile); color: var(--ink); font-size: var(--t-small); font-weight: 600; white-space: nowrap; box-shadow: 0 10px 28px rgba(20, 30, 50, .18); }
.dv-badge span { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--lime); color: var(--on-lime); }
.dv-badge svg { width: 17px; height: 17px; }
.dv-1 { left: -13%; top: 42%; }
.dv-2 { right: -14%; top: 12%; }
.dv-3 { left: -9%; top: 62%; }
@media (max-width: 720px) {
  .dv-badge { gap: 6px; padding: 4px 10px 4px 4px; font-size: .8125rem; }
  .dv-badge span { width: 24px; height: 24px; }
  .dv-badge svg { width: 13px; height: 13px; }
  .dv-1 { left: -10%; top: 30%; }
  .dv-2 { right: -8%; top: -6%; }
  .dv-3 { display: none; }
}

/* Proceso */
.process { margin-top: var(--block); padding-top: var(--block); padding-bottom: var(--block); background: var(--navy); color: #f2f5f8; transition: background-color .25s ease; }
.steps5 { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--gap); }
.pstep { position: relative; grid-column: span 2; display: flex; flex-direction: column; overflow: hidden; border-radius: var(--tile-r); padding: clamp(24px, 2.6vw, 40px); background: rgba(255,255,255,.08); }
.pstep.half { grid-column: span 3; }
.pstep .h-tile { padding-right: 96px; }
.pstep .tile-p { margin-top: 8px; color: #d6dee8; padding-right: 96px; }
.pstep-art { flex: 1; display: flex; align-items: center; justify-content: center; margin-top: 18px; }
.pstep-art .laptop { width: 100%; margin-bottom: calc(-1 * clamp(24px, 2.6vw, 40px)); }
.pt { width: clamp(68px, 6vw, 92px); right: 16px; top: 18px; }
.check-list, .sitemap, .rank, .bars { width: 100%; }
.row { display: flex; align-items: center; gap: 10px; padding: 6px 0; }
.row svg { width: 20px; height: 20px; }
.row.good svg { color: #178a45; }
.row.bad svg { color: #c2362f; }
.sitemap { display: grid; gap: 10px; justify-items: center; }
.node { display: flex; align-items: center; justify-content: center; gap: 8px; font-weight: 500; padding: 18px 8px; }
.node-top { padding-inline: 36px; }
.node-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; width: 100%; }
.rank-row { display: flex; justify-content: space-between; align-items: center; padding: 11px 14px; border-radius: 10px; color: var(--ui-soft); background: #f0f3f1; }
.rank-row + .rank-row { margin-top: 6px; }
.rank-row.is-you { background: var(--lime); color: var(--on-lime); }
.rank-row.is-you b { font-weight: 600; }
.bar-row { display: flex; align-items: flex-end; gap: 8px; height: 118px; }
.bar-row span { flex: 1; height: var(--h); background: #283850; border-radius: 5px 5px 0 0; transform-origin: 50% 100%; }
.bar-row span:last-child { background: #7c8a00; }
.bars small { display: block; margin-top: 8px; font-size: .875rem; color: var(--ui-soft); }

/* Reseñas */
.quote-main { max-width: 22em; margin: 0 auto clamp(24px, 3vw, 44px); text-align: center; font-size: var(--t-section); padding-inline: 12px; }
.quote-main blockquote { font-weight: 600; letter-spacing: -0.038em; line-height: 1.05; text-wrap: balance; }
.quote-main figcaption { margin-top: 14px; font-size: var(--t-body); letter-spacing: 0; color: var(--soft); }
.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.quote blockquote { font-size: var(--t-lead); line-height: 1.24; letter-spacing: -0.018em; font-weight: 500; }
.quote figcaption { margin-top: 12px; font-size: var(--t-small); color: var(--soft); }

/* Precios */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.plan { text-align: center; align-items: center; }
.plan .kicker { justify-content: center; }
.t-white.plan .kicker { color: var(--ink); }
.price { margin-top: 10px; font-size: var(--t-section); font-weight: 600; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.price small { display: block; font-size: var(--t-small); font-weight: 500; letter-spacing: -0.005em; line-height: 1.5; }
.plan .tile-p { margin: 12px 0 18px; max-width: 22em; flex: 1; }
.plan .btn { min-height: 44px; padding-inline: 28px; }
.fine { margin: 12px auto 0; max-width: 44em; text-align: center; font-size: var(--t-small); color: var(--soft); padding-inline: 12px; }

/* Preguntas */
.faq .accordion { max-width: 860px; margin-inline: auto; background: var(--tile); border-radius: var(--tile-r); padding: 8px var(--tile-pad); transition: background-color .25s ease; }
.faq .accordion summary { font-size: var(--t-lead); font-weight: 500; letter-spacing: -0.018em; line-height: 1.2; padding: 18px 0; }
.faq .accordion summary svg { width: 22px; height: 22px; }
.faq .accordion details > div { padding-bottom: 18px; max-width: 40em; color: var(--soft); }

/* Contacto */
.contact { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 5vw, 80px); --foreground: #f2f5f8; --input: rgba(242,245,248,.34); --background: var(--navy); --muted-foreground: #c8d1dc; }
.contact-form { display: grid; gap: 12px; align-content: start; justify-items: start; }
.contact-form .field { width: 100%; display: grid; gap: 6px; }
.contact-form .input, .contact-form .select, .contact-form .textarea { background-color: #ffffff; color: #1d2a3d; border: 1px solid transparent; font-size: 1rem; width: 100%; min-height: 48px; border-radius: 12px; transition: box-shadow .15s ease; }
.contact-form .input:focus-visible, .contact-form .select:focus-visible, .contact-form .textarea:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--lime); }
.contact-form .label { color: #f2f5f8; font-size: var(--t-small); font-weight: 500; }
.contact-form option { color: #1b1716; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; width: 100%; }
.contact-form ::placeholder { color: #5b6779; opacity: 1; }
.form-note { font-size: var(--t-small); color: #c8d1dc; }

.wa { position: fixed; right: 16px; bottom: 16px; z-index: 30; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #0b2a16; transition: transform .1s ease-out; }
.wa:active { transform: scale(.94); }
.wa svg { width: 25px; height: 25px; }

@media (max-width: 1023px) {
  .bar { grid-template-columns: 1fr auto; }
  .bar-links { display: none; }
  .bar-burger { display: inline-flex; }
  .steps5 { grid-template-columns: repeat(2, 1fr); }
  .pstep, .pstep.half { grid-column: span 1; }
  .pstep:last-child { grid-column: 1 / -1; }
  .why { flex-direction: column; align-items: flex-start; }

}

@media (max-width: 720px) {
  .bar-cta, .rail-nav .round { display: none; }
  .wordmark img { height: 30px; }
  .hero { padding-top: 84px; }
  .line { display: block; }
  .hero-lead { max-width: 15em; margin-inline: auto; }
  .speed { border-radius: 16px; text-align: left; }
  .tiles, .quotes, .plans { grid-template-columns: 1fr; }
  .steps5 { grid-template-columns: 1fr; }
  .pstep:last-child { grid-column: auto; }
  .tile-art { min-height: 220px; }
  .devices { width: 76%; }
  .rail-head { flex-direction: column; align-items: flex-start; gap: 0; }
  .work { width: 86vw; }
  .why-list { grid-template-columns: 1fr 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .status { width: 100%; margin-right: 0; }
  .pstep .h-tile, .pstep .tile-p { padding-right: 76px; }
  .pt { width: 64px; right: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .line-in { transform: none; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
@media (prefers-reduced-transparency: reduce) {
  .bar { background: var(--bg); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .speed { background: #1c2636; backdrop-filter: none; -webkit-backdrop-filter: none; }
}


/* ===== Patrones: íconos, accesos, diagrama y bloques nuevos ===== */
.progress { position: fixed; inset: 0 0 auto; height: 2px; background: var(--lime); transform: scaleX(0); transform-origin: 0 50%; z-index: 50; }
.ico-box { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 13px; background: var(--surface); color: var(--ink); transition: background-color .18s ease, color .18s ease; }
.ico-box svg { width: 21px; height: 21px; }
.btn svg { width: 1.1em; height: 1.1em; }

/* Barra y menú */
.bar-links { align-items: center; }
.bar-links > a, .menu-btn { display: inline-flex; align-items: center; gap: .42em; font-size: var(--t-small); padding: 8px 0; opacity: .86; transition: opacity .15s ease; }
.bar-links > a:hover, .menu-btn:hover, .menu-btn[aria-expanded=true] { opacity: 1; }
.menu-btn { background: none; border: 0; color: inherit; font-family: inherit; cursor: pointer; }
.menu-chev { width: .95em; height: .95em; transition: transform .2s var(--ease-out); }
.menu-btn[aria-expanded=true] .menu-chev { transform: rotate(180deg); }
.has-menu { position: relative; }
.has-menu::after { content: ''; position: absolute; left: -20px; right: -20px; top: 100%; height: 18px; }
.mega { position: absolute; top: calc(100% + 16px); left: -24px; width: 600px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; padding: 10px; background: var(--tile); color: var(--ink); border-radius: 22px; box-shadow: 0 22px 60px rgba(15, 25, 40, .28); transform-origin: 56px 0; }
.mega[hidden] { display: none; }
.mega a { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 14px; transition: background-color .15s ease; }
.mega a:hover { background: var(--surface); }
.mega a:hover .ico-box { background: var(--lime); color: var(--on-lime); }
.mega b { display: block; font-weight: 600; font-size: var(--t-small); letter-spacing: -0.01em; line-height: 1.2; }
.mega small { display: block; color: var(--soft); font-size: .875rem; line-height: 1.25; }
.mega a.mega-all { grid-column: 1 / -1; justify-content: center; gap: 8px; margin-top: 4px; padding: 12px; border-top: 1px solid var(--line, rgba(127,127,127,.18)); border-radius: 0 0 14px 14px; font-size: var(--t-small); font-weight: 600; }
.mega a.mega-all svg { width: 16px; height: 16px; transition: transform .2s ease; }
.mega a.mega-all:hover svg { transform: translateX(3px); }
.sheet a { display: flex; align-items: center; gap: .5em; }
.sheet a svg { width: .85em; height: .85em; color: var(--brand); }
.sheet a.btn { justify-content: center; }
.sheet a.btn svg { color: inherit; }

/* Accesos rápidos */
.band { background: var(--lime); color: var(--on-lime); padding: clamp(24px, 2.8vw, 40px) calc(var(--edge) + clamp(8px, 2vw, 28px)); }
.band-h { font-size: var(--t-tile); font-weight: 600; letter-spacing: -0.032em; line-height: 1.05; margin-bottom: clamp(14px, 1.6vw, 22px); }
.picks { display: grid; grid-template-columns: repeat(8, 1fr); gap: 8px; }
.pick { display: grid; justify-items: center; align-content: start; gap: 10px; padding: 16px 8px 14px; background: #fff; color: #1d2a3d; border-radius: 18px; text-align: center; font-size: var(--t-small); font-weight: 500; line-height: 1.15; transition: translate .18s var(--ease-out), scale .1s ease-out; }
.pick .ico-box { background: #eef1e0; color: #1d2a3d; }
/* translate y scale van aparte de transform, que lo usa GSAP: si comparten propiedad se desalinean. */
.pick:hover { translate: 0 -4px; }
.pick:hover .ico-box { background: var(--navy); color: var(--lime); }
.pick:active { scale: .97; }

/* Datos */

/* Diagrama por casos */
.scene { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(22px, 3vw, 48px); align-items: center; }
.scene-tabs { display: grid; gap: 2px; margin-top: 14px; }
.scene-tab { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 44px; padding: 8px; border: 0; border-radius: 16px; background: transparent; color: inherit; font-family: inherit; font-size: var(--t-body); font-weight: 500; letter-spacing: -0.01em; text-align: left; cursor: pointer; transition: background-color .18s ease; }
.scene-tab:hover { background: color-mix(in srgb, var(--surface) 55%, transparent); }
.scene-tab[aria-selected=true] { background: var(--surface); }
.scene-tab[aria-selected=true] .ico-box { background: var(--lime); color: var(--on-lime); }
.diagram { position: relative; display: flex; align-items: center; min-height: 372px; padding: clamp(18px, 2.4vw, 36px); background: var(--bg); border-radius: calc(var(--tile-r) - 6px); }
.set { position: relative; display: grid; grid-template-columns: 4.3fr 1.5fr 5.2fr; align-items: center; width: 100%; }
.set[hidden] { display: none; }
.wires { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.wires path { fill: none; stroke: var(--brand); stroke-width: 1.6; stroke-opacity: .6; }
.wires circle { fill: var(--brand); opacity: 0; }
.diagram .ui-card { --ui-bg: var(--tile); --ui-ink: var(--ink); --ui-soft: var(--soft); position: relative; z-index: 1; }
.s-title { display: flex; align-items: center; gap: 8px; font-weight: 600; letter-spacing: -0.012em; line-height: 1.2; }
.s-src .s-title svg { color: var(--brand); }
.s-src p, .s-out p { margin-top: 3px; font-size: .875rem; color: var(--ui-soft); line-height: 1.25; }
.hub { position: relative; z-index: 1; justify-self: center; display: grid; place-items: center; width: 62px; height: 62px; border-radius: 18px; background: #000; }
.hub img { width: 40px; height: auto; }
.s-outs { position: relative; z-index: 1; display: grid; gap: 10px; }
.s-out { display: flex; align-items: center; gap: 12px; padding-block: 13px; }
.s-out > svg:first-child { width: 22px; height: 22px; color: var(--brand); }
.s-out .tick { margin-left: auto; width: 20px; height: 20px; color: #178a45; }
html.dark .s-out .tick { color: #7fe3ae; }

/* Bloque dividido */
.split { display: grid; grid-template-columns: 5fr 7fr; gap: var(--tile-pad); align-items: center; }
.split .tile-copy { max-width: none; }
.icon-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(16px, 2vw, 32px); margin-top: 16px; }
.icon-list li { display: flex; gap: 12px; padding: 13px 0; border-top: 1px solid rgba(255, 255, 255, .16); }
.icon-list svg { width: 22px; height: 22px; margin-top: 2px; color: var(--lime); }
.icon-list b { display: block; font-weight: 600; letter-spacing: -0.012em; line-height: 1.2; }
.icon-list span { display: block; margin-top: 2px; font-size: var(--t-small); color: #c8d1dc; line-height: 1.25; }
.split .more { gap: .4em; margin-top: 6px; }
.media-pop { position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; min-height: clamp(320px, 33vw, 480px); background: #101722; border-radius: calc(var(--tile-r) - 8px); }
.media-pop .bg { position: absolute; inset: -6%; width: 112%; max-width: none; height: 112%; object-fit: cover; object-position: top; filter: blur(10px) brightness(.66); }
.media-pop .sharp { position: relative; width: 66%; aspect-ratio: 16 / 10; }
.media-pop .phone { right: 9%; bottom: 7%; width: 17%; }
.dock { position: absolute; left: 50%; bottom: 16px; translate: -50% 0; display: flex; gap: 12px; padding: 9px 16px; background: rgba(255, 255, 255, .94); color: #1d2a3d; border-radius: 999px; }
.dock svg { width: 21px; height: 21px; }

/* Precios */
.plan-ico { margin-bottom: 10px; }
.t-white .plan-ico { background: var(--surface); }
.t-lime .plan-ico { background: rgba(29, 42, 61, .12); color: var(--on-lime); }
.plan .tile-p { flex: 0 0 auto; margin-bottom: 12px; }
.ticks { display: grid; gap: 5px; margin: 0 0 18px; font-size: var(--t-small); text-align: left; flex: 1; align-content: start; }
.ticks li { display: flex; align-items: center; gap: .5em; }
.ticks svg { color: var(--brand); }
.t-lime .ticks svg { color: var(--on-lime); }

/* Artículos */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.post { padding: 0; gap: 0; transition: translate .2s var(--ease-out), background-color .25s ease; }
.post:hover { translate: 0 -4px; }
.post-art { display: flex; align-items: center; justify-content: center; height: clamp(150px, 15vw, 220px); }
.post-3d { width: auto; height: 72%; transition: scale .35s var(--ease-out), rotate .35s var(--ease-out); }
.post:hover .post-3d { scale: 1.06; rotate: -3deg; }
.post-tag { display: flex; align-items: center; gap: .45em; padding: 18px var(--tile-pad) 0; color: var(--brand); font-size: var(--t-small); font-weight: 600; }
.post b { padding: 6px var(--tile-pad) 0; font-size: var(--t-lead); font-weight: 600; letter-spacing: -0.02em; line-height: 1.18; flex: 1; }
.post-more { display: flex; align-items: center; gap: .45em; padding: 12px var(--tile-pad) clamp(20px, 2.4vw, 30px); color: var(--brand); font-weight: 500; }

/* Preguntas en dos columnas */
.faq { display: grid; grid-template-columns: 4fr 8fr; gap: var(--gap); align-items: start; }
.faq > .h-sub { margin: 0; padding: 12px clamp(8px, 2vw, 28px) 0; }
.faq .accordion { max-width: none; margin: 0; }
.faq .accordion details[open] > summary > svg:last-child { rotate: 45deg; }

/* Pie: cierre en azul pizarra, más oscuro que el mosaico de contacto para separarlos */
.foot { margin: 0 var(--edge) var(--edge); padding: 0 var(--tile-pad) clamp(20px, 2vw, 30px); border-radius: 0 0 var(--tile-r) var(--tile-r); background: #1b2738; color: #f2f5f8; font-size: var(--t-small); }
.foot a:focus-visible, .contact a:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; border-radius: 8px; }

/* Contacto y pie forman un solo bloque: mismo fondo y sin separación. */
.contact { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; background: #1b2738; border-radius: var(--tile-r) var(--tile-r) 0 0; }
.foot-cta h2 { color: #ffffff; }
.foot-cta em { font-style: normal; color: var(--lime); }
.foot-lead { margin-top: 12px; font-size: var(--t-lead); letter-spacing: -0.018em; color: #c8d1dc; }
.foot-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(18px, 2vw, 26px); }
.contact a.btn.foot-wa, .contact a.btn.foot-wa:hover { background: #25d366; color: #0b2a16; }
.contact a.btn.foot-wa:hover { background: #3ee07a; }
.foot-contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 8px; margin-top: clamp(18px, 2vw, 26px); list-style: none; padding: 0; }
.foot-contact li:last-child { grid-column: 1 / -1; }
.foot-card { display: flex; align-items: center; gap: 12px; height: 100%; min-height: 62px; padding: 10px 14px; border-radius: 16px; background: rgba(255, 255, 255, .07); color: #f2f5f8; transition: background-color .18s ease, scale .1s ease-out; }
a.foot-card:hover { background: rgba(255, 255, 255, .13); }
a.foot-card:active { scale: .98; }
.foot-ico { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--lime); color: var(--on-lime); }
.foot-ico svg { width: 19px; height: 19px; }
.foot-card > span:nth-child(2) { min-width: 0; }
.foot-card small { display: block; font-size: .8125rem; line-height: 1.2; color: #c8d1dc; }
.foot-card b { display: block; font-size: 1rem; font-weight: 600; letter-spacing: -0.012em; overflow-wrap: break-word; }
.foot-go { flex: none; margin-left: auto; width: 18px; height: 18px; color: var(--lime); transition: translate .18s ease; }
a.foot-card:hover .foot-go { translate: 3px -3px; }
.contact-panel { position: relative; padding: clamp(18px, 2vw, 28px); border-radius: 22px; background: rgba(255, 255, 255, .07); }
.contact-h { font-size: clamp(1.375rem, 2vw, 1.75rem); font-weight: 600; letter-spacing: -0.025em; line-height: 1.1; color: #ffffff; padding-right: 72px; }
.contact-p { margin: 4px 0 14px; color: #c8d1dc; font-size: var(--t-small); }
.foot-rocket { position: absolute; z-index: 3; right: 6px; top: -36px; width: clamp(84px, 8vw, 116px); height: auto; pointer-events: none; }
.hero-kicker { margin-bottom: 8px; font-size: var(--t-small); font-weight: 600; letter-spacing: .005em; color: var(--lime); }

.foot-links { display: grid; grid-template-columns: 2.4fr 1fr 1fr 1fr; gap: 24px; padding-top: clamp(24px, 2.6vw, 36px); border-top: 1px solid rgba(255, 255, 255, .1); }
.foot-brand img { height: 40px; width: auto; }
.foot-brand p { margin-top: 12px; max-width: 22em; color: #c8d1dc; }
.foot-social { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.foot-social a { display: inline-flex; align-items: center; gap: .4em; min-height: 40px; padding: 0 16px; border-radius: 999px; background: rgba(255, 255, 255, .08); color: #f2f5f8; font-weight: 500; transition: background-color .15s ease, color .15s ease; }
.foot-social a:hover { background: var(--lime); color: var(--on-lime); }
.foot-social svg { width: 1em; height: 1em; }
.foot nav { display: grid; align-content: start; justify-items: start; }
.foot nav b { display: block; margin-bottom: 6px; font-size: 1rem; font-weight: 600; color: #ffffff; }
.foot nav a { display: inline-flex; align-items: center; gap: .55em; min-height: 34px; color: #c8d1dc; transition: color .15s ease, translate .18s ease; }
.foot nav a:hover { color: var(--lime); translate: 3px 0; }
.foot nav svg { width: 1em; height: 1em; }

.foot-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; margin-top: clamp(16px, 1.8vw, 24px); padding-right: 60px; color: #c8d1dc; }
.foot-legal { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px; }
.foot-legal a { display: inline-flex; align-items: center; gap: .4em; min-height: 34px; color: #c8d1dc; transition: color .15s ease; }
.foot-legal a:hover { color: var(--lime); }
.foot-legal svg { width: 1em; height: 1em; }

@media (max-width: 1023px) {
  .foot-links { grid-template-columns: repeat(3, 1fr); }
  .foot-brand { grid-column: 1 / -1; }
  .contact { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .foot-actions .btn { width: 100%; }
  .foot-links { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1160px) {
  .bar-links { gap: 14px; }
  .bar-links > a svg, .menu-btn > svg:first-child { display: none; }
}
@media (max-width: 1023px) {
  .picks { grid-template-columns: repeat(4, 1fr); }
  .scene, .split { grid-template-columns: 1fr; }
  .faq { grid-template-columns: 1fr; }
  .faq > .h-sub { padding-top: 0; margin-bottom: 8px; }
  .scene-tabs { grid-template-columns: repeat(2, 1fr); }
  .posts { grid-template-columns: 1fr 1fr; }
  .posts .post:last-child { grid-column: 1 / -1; }
  .mega { display: none; }
}
@media (max-width: 720px) {
  .picks { gap: 6px; }
  .pick { padding: 12px 4px 10px; font-size: .8125rem; border-radius: 14px; gap: 7px; }
  .pick .ico-box { width: 36px; height: 36px; border-radius: 11px; }
  .scene-tabs { grid-template-columns: 1fr; }
  .diagram { padding: 14px; min-height: 0; }
  .set { grid-template-columns: 1fr; justify-items: stretch; }
  .wires { display: none; }
  .hub { width: 48px; height: 48px; border-radius: 14px; margin: 16px 0; }
  .hub img { width: 30px; }
  .hub::before, .hub::after { content: ''; position: absolute; left: 50%; width: 2px; height: 16px; background: var(--brand); opacity: .55; }
  .hub::before { bottom: 100%; }
  .hub::after { top: 100%; }
  .icon-list { grid-template-columns: 1fr; }
  .media-pop { min-height: 300px; }
  .media-pop .sharp { width: 84%; }
  .media-pop .phone { right: 4%; width: 25%; }
  .posts { grid-template-columns: 1fr; }
  .posts .post:last-child { grid-column: auto; }
}

/* Datos: un resultado protagonista y cuatro pruebas con su propio gráfico */
.proof { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); padding: var(--gap) var(--edge) 0; }
.proof + .block { padding-top: var(--gap); }
.stat { position: relative; overflow: hidden; display: flex; flex-direction: column; grid-column: span 3; min-height: clamp(172px, 14vw, 212px); padding: clamp(18px, 1.8vw, 26px); background: var(--tile); border-radius: var(--tile-r); transition: background-color .25s ease; }
.stat strong { display: block; font-size: var(--t-tile); font-weight: 600; letter-spacing: -0.032em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.stat-l { display: block; margin-top: auto; padding-top: 10px; font-size: var(--t-small); color: var(--soft); line-height: 1.25; }
.stat.t-lime { background: var(--lime); color: var(--on-lime); }
.stat.t-lime .stat-l { color: var(--on-lime); }
.stat-x strong { font-size: clamp(3rem, 4.8vw, 4.5rem); letter-spacing: -0.045em; line-height: 1; }
.stat-x > svg { position: absolute; top: clamp(14px, 1.4vw, 20px); right: clamp(14px, 1.4vw, 20px); width: clamp(40px, 4vw, 56px); height: clamp(40px, 4vw, 56px); }

.stat-big { grid-column: span 6; grid-row: span 2; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(18px, 2.6vw, 40px); padding: var(--tile-pad); background: var(--navy); color: #f2f5f8; }
.stat-copy { display: flex; flex-direction: column; min-width: 0; }
.stat-k { display: flex; align-items: center; gap: .5em; font-size: var(--t-small); font-weight: 600; color: var(--lime); }
.stat-k svg { width: 1.15em; height: 1.15em; }
.stat .big-n { margin-top: 12px; font-size: clamp(3.5rem, 6.8vw, 6.75rem); letter-spacing: -0.05em; line-height: .95; color: var(--lime); }
.big-p { margin-top: 10px; font-size: var(--t-lead); line-height: 1.2; letter-spacing: -0.018em; }
.big-p b { font-weight: 600; color: var(--lime); }
.big-fine { margin-top: auto; padding-top: 14px; font-size: .8125rem; line-height: 1.3; color: #c8d1dc; }
.pr-bars { display: flex; align-items: flex-end; gap: clamp(6px, .8vw, 12px); min-height: 170px; }
.pr-bars span { flex: 1; height: var(--h); min-height: 4px; border-radius: 8px 8px 3px 3px; background: var(--lime); transform-origin: 50% 100%; }

.stars { display: flex; gap: 3px; margin-top: 8px; }
.stars svg { width: clamp(20px, 1.9vw, 26px); height: clamp(20px, 1.9vw, 26px); fill: var(--lime); color: var(--brand); stroke-width: 1.5; }
.rings { display: flex; gap: clamp(10px, 1.2vw, 18px); }
.ring-item { display: grid; justify-items: center; gap: 4px; }
.ring-item small { font-size: .8125rem; color: var(--soft); }
.ring-box { position: relative; width: clamp(62px, 6.2vw, 88px); aspect-ratio: 1; }
.ring { width: 100%; height: 100%; rotate: -90deg; }
.ring circle { fill: none; stroke-width: 8; }
.ring-bg { stroke: var(--surface); }
.ring-val { stroke: var(--lime); stroke-linecap: round; stroke-dasharray: var(--v) 100; }
.ring-n { position: absolute; inset: 0; display: grid; place-items: center; font-size: clamp(1.0625rem, 1.5vw, 1.5rem); font-weight: 600; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.meses { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; margin-top: 10px; }
.mes { position: relative; display: grid; place-items: center; height: 26px; border-radius: 7px; background: var(--surface); color: var(--soft); font-size: .75rem; font-weight: 600; overflow: hidden; }
.mes b { position: absolute; left: 12%; right: 12%; top: 50%; height: 2px; border-radius: 2px; background: var(--brand); transform: rotate(-32deg); }

@media (max-width: 1023px) {
  .stat { grid-column: span 6; }
  .stat-big { grid-column: 1 / -1; grid-row: auto; }
}
@media (max-width: 720px) {
  .stat-big { grid-template-columns: minmax(0, 1fr); }
  .pr-bars { min-height: 96px; height: 96px; }
  .big-fine { padding-top: 10px; }
}

/* Apertura de servicios: el título es parte del mosaico, no una línea suelta. */
#servicios { padding-top: var(--gap); }
.sv-head { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: clamp(24px, 4vw, 64px); margin-bottom: var(--gap); }
.sv-head h2 { margin-top: 10px; color: #ffffff; }
.sv-head em { font-style: normal; color: var(--lime); }
.sv-p { font-size: var(--t-body); line-height: 1.4; color: #dbe2ea; }
.sv-chain { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: clamp(16px, 1.8vw, 24px); }
.sv-chain a { position: relative; z-index: 1; display: grid; justify-items: center; gap: 8px; font-size: .875rem; font-weight: 500; line-height: 1.15; text-align: center; color: #f2f5f8; }
.sv-ico { display: grid; place-items: center; width: clamp(46px, 4.2vw, 58px); height: clamp(46px, 4.2vw, 58px); border-radius: 50%; background: var(--lime); color: var(--on-lime); transition: background-color .18s ease, color .18s ease, scale .18s var(--ease-out); }
.sv-ico svg { width: 44%; height: 44%; }
.sv-chain a:hover .sv-ico { background: #ffffff; color: var(--navy); scale: 1.08; }
.sv-chain a:active .sv-ico { scale: .96; }
.sv-chain a:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 10px; }
.sv-line { position: absolute; left: 10%; right: 10%; top: clamp(22px, 2.05vw, 28px); height: 2px; background: var(--lime); transform-origin: left center; }
.sv-side .more { margin-top: 8px; }

@media (max-width: 1023px) {
  .sv-head { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .sv-head h2 { font-size: clamp(2rem, 9.2vw, 2.5rem); }
  .sv-chain { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 14px; }
  .sv-line { display: none; }
}

/* Capítulos: cada uno es una hoja con su fondo que sube sobre la anterior. */
:root { --sheet: #ffffff; --ch-r: clamp(26px, 3vw, 44px); --ch-gap: clamp(64px, 8.4vw, 120px); }
html.dark { --sheet: #172231; }
.band { padding-bottom: calc(clamp(24px, 2.8vw, 40px) + var(--ch-r)); }
.ch { position: relative; margin-top: calc(-1 * var(--ch-r)); padding-top: var(--ch-gap); padding-bottom: calc(var(--ch-gap) + var(--ch-r)); border-radius: var(--ch-r) var(--ch-r) 0 0; transition: background-color .25s ease; }
.ch-gray { background: var(--bg); }
.ch-white { background: var(--sheet); }
.ch-white > * { --tile: var(--bg); }
.ch-white .t-white .ui-card { --ui-bg: var(--sheet); }
.ch-white .dv-badge { background: var(--sheet); }
.ch-navy { background: var(--navy); color: #f2f5f8; }

.ch-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: clamp(20px, 2.4vw, 32px); padding-inline: calc(var(--edge) + clamp(8px, 2vw, 28px)); }
.ch-k { display: flex; align-items: center; gap: .45em; margin-bottom: 8px; font-size: var(--t-kicker); font-weight: 600; letter-spacing: -0.012em; color: var(--brand); }
.ch-k svg { width: 1.1em; height: 1.1em; }
.ch-head .more { flex: none; color: var(--brand); }
.h-sub { font-size: var(--t-tile); font-weight: 600; letter-spacing: -0.032em; line-height: 1.05; text-wrap: balance; }

.ch > .block { padding-top: clamp(40px, 4.6vw, 68px); }
.ch > .ch-head + .block, .ch > .ch-head + .proof { padding-top: 0; }
.ch > .proof + .block { padding-top: var(--gap); }
.ch-white #servicios { padding-top: 0; }
.ch .process { margin-top: 0; padding-bottom: 0; background: none; }
.quote-main { max-width: none; margin: 0 0 var(--gap); padding-inline: clamp(8px, 2vw, 28px); text-align: left; font-size: var(--t-tile); }

.ch-navy .ch-k, .ch-navy .ch-head .more, .ch-navy .rail-nav .more { color: var(--lime); }
.ch-navy .work { color: var(--ink); }
.ch-navy .rail-foot, .ch-navy .quote-main figcaption { color: #c8d1dc; }
.ch-navy .rail-count b { color: #ffffff; }
.ch-navy .rail-track { background: rgba(255, 255, 255, .16); }
.ch-navy #rail-fill { background: var(--lime); }

/* Cierre: hoja oscura de borde a borde */
#contacto { position: relative; margin-top: calc(-1 * var(--ch-r)); padding: 0; background: #1b2738; border-radius: var(--ch-r) var(--ch-r) 0 0; }
#contacto .contact { padding: clamp(48px, 5.6vw, 84px) calc(var(--edge) + var(--tile-pad)) clamp(36px, 4vw, 56px); background: none; border-radius: 0; }
.foot { margin: 0; padding-inline: calc(var(--edge) + var(--tile-pad)); border-radius: 0; }

/* Menú: marca dónde vas */
.bar-links > a.is-here, .menu-btn.is-here { opacity: 1; box-shadow: inset 0 -2px 0 var(--lime); }

/* Casos del header */
.jr-c1, .jr-c2 { display: none; }
[data-case="1"] .jr-c0, [data-case="2"] .jr-c0 { display: none; }
[data-case="1"] .jr-c1, [data-case="2"] .jr-c2 { display: block; }

@media (max-width: 720px) {
  .ch-head { flex-direction: column; align-items: flex-start; gap: 0; }
  .ch-head h2 { font-size: clamp(2rem, 9.2vw, 2.5rem); }
}

/* Opción B (?opcion=b): cada sección tiene un fondo propio y un solo tono de tarjeta. */
.op-b { --sec: clamp(56px, 7vw, 100px); --sec-blue: #dfe6ef; --sec-lime: #eef2c4; }
html.dark.op-b { --sec-blue: #141e2c; --sec-lime: #1f2510; }

.op-b .band { padding-bottom: clamp(24px, 2.8vw, 40px); }
.op-b .ch { position: static; margin: 0; padding: 0; border-radius: 0; background: none; color: inherit; }
.op-b #trabajamos > .ch-head, .op-b #decide > .ch-head { display: none; }
.op-b #contacto { margin-top: 0; border-radius: 0; }
.op-b .h-sub { font-size: var(--t-section); letter-spacing: -0.038em; line-height: 1.03; }
.op-b .ch > .block, .op-b .ch-white #servicios, .op-b .ch .process, .op-b .ch > .proof + .block { margin: 0; padding: var(--sec) var(--edge); }

/* Resultados: blanco con tarjetas azul claro */
.op-b #resultados { padding: var(--sec) 0 0; background: var(--sheet); }
.op-b .ch > .ch-head + .proof { padding: 0 var(--edge) var(--sec); }
.op-b .stat, .op-b .stat.t-lime, .op-b .stat-big { background: var(--sec-blue); color: var(--ink); }
.op-b .stat.t-lime .stat-l { color: var(--soft); }
.op-b .stat .big-n, .op-b .stat-x > svg { color: var(--ink); }
.op-b .stat-k, .op-b .big-p b { color: var(--brand); }
.op-b .big-fine { color: var(--soft); }
.op-b .pr-bars span { background: var(--ink); }
.op-b .pr-bars span:first-child { background: var(--lime); }
.op-b .ring-bg { stroke: var(--sheet); }
.op-b .mes { background: var(--sheet); }

/* Así llega un cliente */
.op-b #como-llega { background: var(--sec-blue); }
.op-b #como-llega .t-white { background: var(--sheet); }

/* Servicios: azul, sin tarjeta de apertura, todas las tarjetas iguales */
.op-b #servicios { background: var(--navy); color: #f2f5f8; }
.op-b .sv-head { padding: 0 clamp(8px, 2vw, 28px); margin-bottom: clamp(24px, 3vw, 44px); background: none; border-radius: 0; overflow: visible; }
.op-b #servicios .tiles > .tile { --tile: var(--sheet); background: var(--sheet); color: var(--ink); }
.op-b #servicios .tiles .kicker, .op-b #servicios .tiles .more { color: var(--brand); }
.op-b #servicios .tiles .ui-card { --ui-bg: var(--bg); --ui-ink: var(--ink); --ui-soft: var(--soft); --ui-line: var(--surface); }
.op-b #servicios .icon-list li { border-top-color: var(--surface); }
.op-b #servicios .icon-list svg { color: var(--brand); }
.op-b #servicios .icon-list span { color: var(--soft); }
.op-b .ch-white .dv-badge { background: var(--sheet); }

/* Proyectos */
.op-b #proyectos { background: var(--bg); }
.op-b .ch-navy .rail-nav .more { color: var(--brand); }
.op-b .ch-navy .rail-foot { color: var(--soft); }
.op-b .ch-navy .rail-count b { color: var(--ink); }
.op-b .ch-navy .rail-track { background: var(--surface); }
.op-b .ch-navy #rail-fill { background: var(--brand); }

/* Cinco pasos: lima suave con tarjetas blancas */
.op-b .ch .process { background: var(--sec-lime); color: var(--ink); }
.op-b .pstep { background: var(--sheet); color: var(--ink); }
.op-b .pstep .tile-p { color: var(--soft); }
.op-b .rank-row:not(.is-you) { background: var(--surface); color: var(--soft); }
.op-b .pstep .ui-card { --ui-bg: var(--bg); --ui-ink: var(--ink); --ui-soft: var(--soft); --ui-line: var(--surface); }

/* Reseñas */
.op-b .voices { background: var(--sec-blue); }
.op-b .ch-navy .quote-main figcaption { color: var(--soft); }
.op-b .voices .t-white { background: var(--sheet); }

/* Precios: la tarjeta central se destaca con borde, no con otro color */
.op-b #precios { background: var(--sheet); }
.op-b #precios .plan, .op-b #precios .plan.t-lime { background: var(--bg); color: var(--ink); }
.op-b #precios .plan.t-lime { box-shadow: inset 0 0 0 3px var(--lime); }
.op-b #precios .plan.t-lime .ticks svg { color: var(--brand); }
.op-b #precios .plan.t-lime .plan-ico { background: var(--surface); color: var(--ink); }

/* Blog y Preguntas */
.op-b #blog { background: var(--sec-lime); }
.op-b #blog .post { background: var(--sheet); }
.op-b #blog .post-art { background: var(--bg); }
.op-b #preguntas { background: var(--sheet); }
.op-b .faq .accordion { background: var(--bg); }

/* Dispositivos de "Tu negocio": la web se ve completa y cada aparato se reconoce. */
.art-devices { margin-bottom: 0; }
#devices { padding-bottom: 44px; }
#devices .laptop-screen { aspect-ratio: auto; padding: 0 clamp(5px, .7vw, 10px) clamp(5px, .7vw, 10px); border-radius: 14px 14px 3px 3px; background: #101722; }
.dv-bar { position: relative; display: flex; align-items: center; justify-content: center; height: clamp(24px, 2.6vw, 36px); }
.dv-dots { position: absolute; left: clamp(4px, .6vw, 8px); display: flex; gap: clamp(3px, .4vw, 6px); }
.dv-dots b { width: clamp(6px, .7vw, 10px); aspect-ratio: 1; border-radius: 50%; background: #ff5f57; }
.dv-dots b:nth-child(2) { background: #febc2e; }
.dv-dots b:nth-child(3) { background: #28c840; }
.dv-url { display: grid; place-items: center; width: 42%; min-height: 62%; padding-inline: 10px; border-radius: 999px; background: rgba(255, 255, 255, .12); color: #dbe2ea; font-size: clamp(.625rem, .9vw, .8125rem); line-height: 1; white-space: nowrap; }
.dv-url span { grid-area: 1 / 1; }
.dv-url span + span { visibility: hidden; }
/* Proporción de la captura más ancha: así ninguna pierde los costados. */
.dv-shots { aspect-ratio: 1600 / 848; overflow: hidden; border-radius: 3px; }
#devices .dv-shots img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 0; }
.laptop-base { position: relative; width: 112%; height: clamp(9px, 1.25vw, 17px); margin-left: -6%; border-radius: 0 0 14px 14px; background: #c3cad4; }
.laptop-base::before { content: ''; position: absolute; left: 50%; top: 0; width: 15%; height: 42%; transform: translateX(-50%); border-radius: 0 0 8px 8px; background: #a4adba; }
html.dark .laptop-base { background: #2c3a50; }
html.dark .laptop-base::before { background: #1d293b; }

#devices .phone { right: -9%; bottom: 44px; padding: clamp(14px, 1.7vw, 24px) 5px 5px; }
#devices .phone::before { content: ''; position: absolute; z-index: 2; left: 50%; top: clamp(5px, .6vw, 8px); width: 32%; height: clamp(6px, .7vw, 10px); transform: translateX(-50%); border-radius: 999px; background: #2a323d; }
.dv-label { position: absolute; bottom: 4px; display: flex; align-items: center; justify-content: center; gap: .4em; font-size: var(--t-small); font-weight: 600; white-space: nowrap; color: var(--ink); }
.dv-label svg { width: 1.15em; height: 1.15em; color: var(--brand); }
.dv-label-d { left: 0; width: 100%; }
.dv-label-m { right: -9%; width: 17%; }
@media (max-width: 720px) {
  /* En celular las etiquetas tapaban la web: quedan solo los rótulos de cada aparato. */
  .dv-badge { display: none; }
  .art-devices .sa { width: 60px; left: 0; top: -38px; }
  #devices { width: 82%; padding-bottom: 36px; }
  #devices .phone { width: 25%; right: -8%; bottom: 36px; padding-top: 12px; }
  .dv-label { font-size: .8125rem; }
  .dv-label-d { justify-content: flex-start; padding-left: 8%; }
  .dv-label-m { width: 25%; right: -8%; }
}

/* Opción C (?opcion=c): un fondo por sección; tarjetas y elementos con sus colores originales. */
.op-c { --sec: clamp(64px, 7vw, 100px); --c-blue: #e3e9f1; --c-lime: #eff3cf; }
html.dark.op-c { --c-blue: #1d2b42; --c-lime: #1d2410; }

.op-c .band { padding-bottom: clamp(24px, 2.8vw, 40px); }
.op-c .ch { position: static; margin: 0; padding: 0; border-radius: 0; background: none; color: inherit; }
.op-c #trabajamos > .ch-head, .op-c #decide > .ch-head { display: none; }
.op-c #contacto { margin-top: 0; border-radius: 0; }
.op-c .h-sub { font-size: var(--t-section); letter-spacing: -0.038em; line-height: 1.03; }
.op-c main .ch > .block, .op-c .ch-white #servicios, .op-c .ch .process { margin: 0; padding: var(--sec) var(--edge); }

/* Las tarjetas vuelven a su color de siempre */
.op-c .ch-white > * { --tile: inherit; }
.op-c .ch-white .t-white .ui-card { --ui-bg: var(--bg); }
.op-c .ch-white .dv-badge { background: var(--tile); }
.op-c .ch-navy .rail-nav .more { color: var(--brand); }
.op-c .ch-navy .rail-foot, .op-c .ch-navy .quote-main figcaption { color: var(--soft); }
.op-c .ch-navy .rail-count b { color: var(--ink); }
.op-c .ch-navy .rail-track { background: var(--surface); }
.op-c .ch-navy #rail-fill { background: var(--brand); }

/* Fondos: nunca dos seguidos iguales */
.op-c .ch#resultados { padding-top: var(--sec); background: var(--bg); }
.op-c .ch > .ch-head + .proof { padding-bottom: 0; }
.op-c .ch > .proof + .block { padding-top: var(--gap); }
.op-c .ch #servicios { background: var(--c-blue); }
.op-c .ch #proyectos { background: var(--c-lime); }
.op-c .ch .process { background: var(--navy); }
.op-c .voices { background: var(--bg); }
.op-c .ch #precios { background: var(--c-blue); }
.op-c .ch #blog { background: var(--c-lime); }
.op-c .ch #preguntas { background: var(--bg); }

/* ===== Páginas interiores ===== */
/* Secciones: un fondo propio cada una, igual que la home (opción C). */
.sec { padding: var(--sec, clamp(64px, 7vw, 100px)) var(--edge); transition: background-color .25s ease; }
.bg-gray { background: var(--bg); }
.bg-blue { background: var(--c-blue, #e3e9f1); }
.bg-lime { background: var(--c-lime, #eff3cf); }
.bg-navy { background: var(--navy); color: #f2f5f8; }
.sec-head { margin-bottom: clamp(24px, 3vw, 44px); padding-inline: clamp(8px, 2vw, 28px); }
.sec-head > div { max-width: 52rem; }
.sec-k { display: flex; align-items: center; gap: .45em; margin-bottom: 10px; font-size: var(--t-kicker); font-weight: 600; letter-spacing: -0.012em; line-height: 1.2; color: var(--brand); }
.sec-k svg { width: 1.1em; height: 1.1em; }
.bg-navy .sec-k { color: var(--lime); }
.sec-p { margin-top: 14px; max-width: 34em; font-size: var(--t-lead); line-height: 1.25; letter-spacing: -0.018em; color: var(--soft); }
.bg-navy .sec-p { color: #c8d1dc; }
/* En fondos claros, lo destacado se subraya en lima: el lima como texto no se lee. */
.sec .h-section em, .sec .h-tile em { font-style: normal; text-decoration: underline; text-decoration-color: var(--lime); text-decoration-thickness: .14em; text-underline-offset: .1em; text-decoration-skip-ink: none; }
.bg-navy .h-section em, .t-navy .h-section em, .t-navy .h-tile em { color: var(--lime); text-decoration: none; }

/* Portada interior: fondo de cilindros, texto a la izquierda y la idea animada a la derecha. */
.ph { position: relative; overflow: hidden; background: #040810; color: #f2f5f8; padding: clamp(92px, 8.6vw, 124px) 0 clamp(56px, 6vw, 92px); }
.ph::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(100deg, rgba(4,8,16,.9) 0%, rgba(4,8,16,.72) 50%, rgba(4,8,16,.34) 100%); /* taste-skill-ignore: velo neutro sobre el fondo animado */ }
.ph-in { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); align-items: center; gap: clamp(32px, 4.4vw, 80px); max-width: 1360px; margin-inline: auto; padding-inline: clamp(20px, 3vw, 48px); }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 6px; margin-bottom: clamp(16px, 1.8vw, 26px); font-size: var(--t-small); color: #aeb9c7; }
.crumbs a { display: inline-flex; align-items: center; min-height: 32px; transition: color .15s ease; }
.crumbs a:hover { color: #ffffff; }
.crumbs svg { width: 14px; height: 14px; opacity: .6; }
.crumbs [aria-current] { color: #f2f5f8; font-weight: 500; }
.ph-kicker { display: flex; align-items: center; gap: .5em; font-size: var(--t-small); font-weight: 600; color: var(--lime); }
.ph-h { margin-top: 12px; font-size: clamp(2.5rem, 4.6vw, 4.5rem); font-weight: 600; letter-spacing: -0.042em; line-height: 1.02; text-wrap: balance; }
.ph-h em { font-style: normal; color: var(--lime); }
.ph-lead { margin-top: 18px; max-width: 36em; font-size: clamp(1.0625rem, .98rem + .4vw, 1.3125rem); line-height: 1.45; color: #dbe2ea; }
.ph-actions { justify-content: flex-start; }
.ph-note { display: flex; align-items: flex-start; gap: .55em; margin-top: 16px; font-size: var(--t-small); color: #aeb9c7; }
.ph-note svg { margin-top: .2em; color: var(--lime); }
.ph-note a { color: #dfe65a; text-decoration: underline; text-underline-offset: 3px; }
.ph-media { position: relative; }

/* Resultado de Google en la portada */
.serp-card { padding: 18px; border-radius: 22px; font-size: 1rem; box-shadow: 0 34px 90px rgba(0, 0, 0, .5); }
.serp-q { min-height: 50px; margin-bottom: 12px; font-weight: 500; }
.serp-q svg { color: var(--ui-soft); }
.serp-list { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.serp-row { display: grid; gap: 2px; padding: 11px 14px; border-radius: 12px; background: #f0f3f1; color: var(--ui-soft); }
.serp-row small { font-size: .8125rem; line-height: 1.2; }
.serp-row b { font-weight: 500; line-height: 1.25; }
.serp-row.is-you { position: relative; z-index: 1; padding: 14px 16px; background: #eef3b3; color: #1d2a3d; box-shadow: inset 0 0 0 2px var(--lime); }
.serp-row.is-you b { padding-right: 46px; font-size: 1.0625rem; font-weight: 600; }
.serp-url { color: #3f4a5c; }
.serp-d { font-size: .9375rem; line-height: 1.3; color: #3f4a5c; }
.serp-rate { display: flex; align-items: center; gap: 8px; margin-top: 4px; font-size: .875rem; color: #3f4a5c; }
.serp-rate .stars { margin: 0; gap: 2px; }
.serp-rate .stars svg { width: 16px; height: 16px; fill: #e8a317; color: #b47b0a; }
.serp-pos { position: absolute; right: 12px; top: 12px; display: grid; place-items: center; min-width: 38px; height: 28px; padding: 0 10px; border-radius: 999px; background: var(--navy); color: var(--lime); font-size: .8125rem; font-weight: 600; }
.serp-lupa { width: clamp(84px, 8vw, 128px); right: -22px; top: -62px; }
.serp-toast { position: absolute; z-index: 4; left: -26px; bottom: -28px; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; border-radius: 16px; box-shadow: 0 22px 54px rgba(0, 0, 0, .38); }
.serp-toast b { display: block; font-weight: 600; font-size: 1rem; }
.serp-msg { color: var(--ui-soft); }

/* Franja lima: lo que ganas */
.band-top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 24px; margin-bottom: clamp(14px, 1.6vw, 22px); }
.band-top .band-h { margin: 0; }
.band-k { font-size: var(--t-small); font-weight: 600; }
.gains { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.gain { display: grid; align-content: start; gap: 4px; padding: clamp(18px, 1.9vw, 26px); border-radius: 20px; background: #ffffff; color: #1d2a3d; transition: translate .18s var(--ease-out); }
.gain .ico-box { margin-bottom: 10px; background: #eef1e0; color: #1d2a3d; }
.gain b { font-size: var(--t-kicker); font-weight: 600; letter-spacing: -0.012em; line-height: 1.2; }
.gain > span:last-child { font-size: var(--t-small); line-height: 1.3; color: #4f5c70; }
.gain:hover { translate: 0 -4px; }
.gain:hover .ico-box { background: var(--navy); color: var(--lime); }

/* Cómo llegan: cuatro pasos unidos por una línea que recorre un punto */
.route { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.route-line { position: absolute; z-index: 1; left: 12.5%; right: 12.5%; top: calc(clamp(22px, 2.2vw, 32px) + 28px); height: 2px; background: var(--lime); transform-origin: left center; }
.route-dot { position: absolute; z-index: 3; left: 12.5%; top: calc(clamp(22px, 2.2vw, 32px) + 23px); width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--navy); box-shadow: 0 0 0 4px var(--lime); opacity: 0; }
.rstep { align-items: center; text-align: center; padding: clamp(22px, 2.2vw, 32px) clamp(16px, 1.6vw, 24px); }
.rstep-ico { position: relative; z-index: 2; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--lime); color: var(--on-lime); transition: background-color .3s ease, color .3s ease, scale .3s var(--ease-out); }
.rstep-ico svg { width: 24px; height: 24px; }
.rstep h3 { margin-top: 16px; font-size: clamp(1.25rem, 1.05rem + .6vw, 1.625rem); font-weight: 600; letter-spacing: -0.022em; line-height: 1.15; }
.rstep > p { margin-top: 6px; color: var(--soft); line-height: 1.35; }
.rstep-ui { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 6px; width: 100%; margin-top: 18px; text-align: left; transition: translate .3s var(--ease-out), box-shadow .3s ease; }
.rstep-ui .search-bar { margin-bottom: 0; }
.rstep-ui .jr-suggest { margin: 0; }
.rstep-ui .jr-suggest li { padding-inline: 12px; }
.rstep-ui .rank-row + .rank-row { margin-top: 0; }
.rstep-ui .jr-note { min-height: 0; }
.rstep.is-on .rstep-ico { background: var(--navy); color: var(--lime); scale: 1.12; }
.rstep.is-on .rstep-ui { translate: 0 -4px; box-shadow: 0 0 0 2px var(--lime); }
.mini-web { justify-content: flex-start; gap: 0; padding: 0 6px 6px; overflow: hidden; background: #101722; }
.mini-web .dv-bar { height: 26px; }
.mini-web .dv-dots b { width: 7px; }
.mini-web .dv-url { width: 70%; font-size: .6875rem; }
.mini-web img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border-radius: 4px; }

/* Antes y después */
.vs { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.vs-h { display: flex; align-items: center; gap: 14px; font-size: var(--t-tile); font-weight: 600; letter-spacing: -0.032em; line-height: 1.05; }
.vs-ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; }
.vs-ico svg { width: 26px; height: 26px; }
.vs-before .vs-ico { background: var(--surface); color: var(--ink); }
.vs-after .vs-ico { background: var(--navy); color: var(--lime); }
.vs-ui { margin-top: 20px; display: grid; gap: 6px; }
.vs-ui .rank-row + .rank-row { margin-top: 0; }
.rank-row.is-gone { justify-content: space-between; background: transparent; box-shadow: inset 0 0 0 2px var(--border); color: var(--ui-soft); }
.rank-row.is-gone svg { width: 18px; height: 18px; opacity: .6; }
.vs-after .vs-ui { --ui-bg: #ffffff; }
.vs-list { display: grid; margin-top: 18px; }
.vs-list li { display: flex; align-items: flex-start; gap: 12px; padding: 13px 0; border-top: 1px solid var(--border); line-height: 1.35; }
.vs-after .vs-list li { border-top-color: rgba(29, 42, 61, .16); }
.vs-list svg { flex: none; width: 22px; height: 22px; margin-top: 1px; }
.vs-before .vs-list svg { color: #c2362f; }
html.dark .vs-before .vs-list svg { color: #ff8a80; }
.vs-after .vs-list svg { color: var(--on-lime); }
.vs-arrow { position: absolute; z-index: 4; left: 50%; top: 50%; translate: -50% -50%; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--navy); color: var(--lime); box-shadow: 0 0 0 8px var(--c-blue, #e3e9f1); }
.vs-arrow svg { width: 28px; height: 28px; }
.vs-3d { width: clamp(84px, 8vw, 124px); right: clamp(14px, 1.6vw, 24px); top: clamp(10px, 1.2vw, 18px); }

/* En la IA: conversación con un asistente */
.ia .h-section { margin-top: 8px; color: #ffffff; }
.ai-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; padding: 0; list-style: none; }
.ai-tags li { display: inline-flex; align-items: center; gap: .45em; min-height: 42px; padding: 0 16px; border-radius: 999px; background: rgba(255, 255, 255, .1); font-weight: 500; }
.ai-tags svg { color: var(--lime); }
.ia-art { margin-top: 0; }
.chat { width: min(100%, 560px); padding: 0; overflow: hidden; border-radius: 20px; font-size: 1rem; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 12px 14px 12px 16px; background: #eef1ee; color: #4f5c70; font-size: .875rem; font-weight: 500; }
.chat-dots { display: flex; gap: 5px; }
.chat-dots b { width: 9px; height: 9px; border-radius: 50%; background: #ff5f57; }
.chat-dots b:nth-child(2) { background: #febc2e; }
.chat-dots b:nth-child(3) { background: #28c840; }
.chat-who { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; padding: 4px 12px 4px 8px; border-radius: 999px; background: var(--navy); color: #ffffff; font-weight: 600; }
.chat-who svg { width: 16px; height: 16px; color: var(--lime); }
.chat-body { display: grid; gap: 16px; align-content: start; min-height: 300px; padding: 22px 20px; }
.chat-q { justify-self: end; max-width: 82%; padding: 12px 16px; border-radius: 18px 18px 4px 18px; background: var(--navy); color: #ffffff; line-height: 1.35; }
.chat-a { display: flex; align-items: flex-start; gap: 12px; }
.chat-av { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--lime); color: var(--on-lime); }
.chat-av svg { width: 18px; height: 18px; }
.chat-msg { min-width: 0; }
.chat-text, .chat-typing { padding: 14px 16px; border-radius: 4px 18px 18px 18px; background: #f0f3f1; line-height: 1.45; }
.chat-text strong { padding: 1px 6px; border-radius: 6px; background: var(--lime); font-weight: 600; }
.chat-typing { display: inline-flex; gap: 5px; }
.chat-typing[hidden] { display: none; }
.chat-typing b { width: 8px; height: 8px; border-radius: 50%; background: #8a95a5; }
.chat-src { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; padding: 5px 12px; border-radius: 999px; background: #ffffff; box-shadow: inset 0 0 0 1px #d9ded9; font-size: .875rem; font-weight: 500; }
.chat-src svg { width: 14px; height: 14px; color: #5f6800; }

/* Rápida y estable: tres medidores */
.fast-art { min-height: 320px; margin-top: 0; }
.fast-3d { width: clamp(88px, 9vw, 140px); right: -2%; top: -8%; }
.vitals { width: min(100%, 560px); padding: 6px 22px; }
.vital { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; grid-template-areas: "ico tx tag" "ico bar bar"; align-items: center; gap: 8px 14px; padding: 16px 0; }
.vital + .vital { border-top: 1px solid var(--ui-line); }
.vital .ico-box { grid-area: ico; background: var(--lime); color: var(--on-lime); }
.vital-tx { grid-area: tx; min-width: 0; }
.vital-tx b { display: block; font-size: 1.0625rem; font-weight: 600; letter-spacing: -0.012em; }
.vital-tx span { display: block; font-size: .875rem; line-height: 1.3; color: var(--ui-soft); }
.vital-tag { grid-area: tag; padding: 4px 12px; border-radius: 999px; background: #e3f5ea; color: #13703a; font-size: .875rem; font-weight: 600; }
html.dark .vital-tag { background: rgba(127, 227, 174, .14); color: #7fe3ae; }
.vital-bar { grid-area: bar; height: 8px; border-radius: 8px; background: var(--ui-line); overflow: hidden; }
.vital-bar span { display: block; width: var(--w); height: 100%; border-radius: 8px; background: var(--lime); transform-origin: left center; }

/* Paso a paso */
.steps3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.step3-n { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--navy); color: var(--lime); font-size: 1.125rem; font-weight: 600; }
.h-step { margin-top: 16px; padding-right: 84px; font-size: clamp(1.5rem, 1.2rem + 1vw, 2.125rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1.08; }
.step3 .tile-p { margin-top: 8px; color: var(--soft); }
.step3 .pstep-art { margin-top: 22px; }
.step3-chips { width: 100%; }
html.dark .step3 .bar-row span { background: #8fa0bb; }
html.dark .step3 .bar-row span:last-child { background: var(--lime); }

/* Revisión de velocidad: la herramienta real */
.audit-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; gap: clamp(28px, 4vw, 72px); padding-inline: clamp(8px, 2vw, 28px); }
.aw-form { margin-top: clamp(20px, 2.4vw, 30px); }
.aw-label { display: block; margin-bottom: 8px; font-size: var(--t-small); font-weight: 500; color: #c8d1dc; }
.aw-field { display: flex; align-items: center; gap: 6px; padding: 6px; border-radius: 999px; background: #ffffff; transition: box-shadow .15s ease; }
.aw-field:focus-within { box-shadow: 0 0 0 3px var(--lime); }
.aw-pre { padding-left: 14px; color: #5b6779; font-weight: 500; }
.aw-input { flex: 1; min-width: 0; min-height: 44px; border: 0; outline: 0; background: transparent; color: #1d2a3d; font: inherit; font-size: 1.0625rem; }
.aw-input::placeholder { color: #6b7686; }
.aw-field .btn { flex: none; }
.aw-error { margin-top: 10px; color: #ffb4ab; font-size: var(--t-small); }
.aw-screen { overflow: hidden; border-radius: 22px; background: #0b111b; color: #dbe2ea; box-shadow: 0 30px 80px rgba(0, 0, 0, .35); }
.aw-head { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: #141d2b; font-size: .875rem; color: #aeb9c7; }
.aw-console { display: grid; align-content: start; gap: 6px; min-height: 260px; max-height: 320px; overflow: auto; padding: 18px 20px; font-family: ui-monospace, 'Cascadia Code', Consolas, monospace; font-size: .875rem; line-height: 1.45; }
.aw-console[hidden] { display: none; }
.aw-ok { color: var(--lime); }
.aw-info { color: #8fb8ff; }
.aw-warn { color: #fbbf24; }
.aw-caret { display: inline-block; width: 8px; height: 1.05em; margin-left: 4px; vertical-align: -2px; background: var(--lime); animation: aw-blink 1s steps(1) infinite; }
@keyframes aw-blink { 50% { opacity: 0; } }
.aw-results { padding: 20px; }
.aw-results[hidden] { display: none; }
.aw-domain { margin-bottom: 14px; font-weight: 600; color: var(--lime); overflow-wrap: anywhere; }
.aw-scores { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.aw-score { display: grid; justify-items: center; gap: 10px; padding: 16px; border-radius: 16px; background: rgba(255, 255, 255, .06); }
.aw-score-k { display: flex; align-items: center; gap: .45em; font-weight: 600; }
.aw-score-k svg { color: var(--lime); }
.aw-ring { width: 96px; }
.aw-ring .ring-bg { stroke: rgba(255, 255, 255, .12); }
.aw-ring .ring-val { transition: stroke-dasharray 1.1s var(--ease-out); }
.aw-ring .ring-n { font-size: 1.625rem; color: #ffffff; }
.aw-metrics { display: grid; width: 100%; font-size: .875rem; }
.aw-metric { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; border-top: 1px solid rgba(255, 255, 255, .08); }
.aw-metric span { color: #aeb9c7; }
.aw-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.aw-reset { color: #f2f5f8; }
.aw-reset:hover { background: rgba(255, 255, 255, .1); color: #ffffff; }

/* Preguntas en páginas interiores */
.faq-head { padding: 12px clamp(8px, 2vw, 28px) 0; }
.faq-head .h-sub { margin: 0; }
.faq .accordion a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 1023px) {
  .ph-in { grid-template-columns: minmax(0, 1fr); }
  .ph-media { width: min(100%, 580px); margin: 28px auto 0; }
  .gains { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .route { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .route-line, .route-dot { display: none; }
  .audit-in { grid-template-columns: minmax(0, 1fr); }
  .faq-head { padding-top: 0; margin-bottom: 8px; }
}
@media (max-width: 900px) {
  .vs, .steps3 { grid-template-columns: minmax(0, 1fr); }
  .vs-arrow { position: relative; left: auto; top: auto; translate: none; justify-self: center; margin: -30px 0; rotate: 90deg; }
}
@media (max-width: 720px) {
  .ph { padding-top: 84px; }
  .ph-h { font-size: clamp(2.125rem, 9.4vw, 2.75rem); }
  .ph-actions { gap: 4px 20px; }
  .serp-lupa { width: 70px; right: -6px; top: -40px; }
  .serp-toast { left: -6px; bottom: -34px; }
  .serp-card { padding: 14px; }
  .gains { gap: 6px; }
  .gain { padding: 16px 14px; }
  .route { grid-template-columns: minmax(0, 1fr); }
  .vs-ico { width: 44px; height: 44px; }
  .chat-body { min-height: 0; padding: 18px 14px; }
  .chat-head { font-size: .8125rem; }
  .chat-head > .chat-dots { display: none; }
  .fast-art { min-height: 0; padding-top: 34px; }
  .fast-3d { width: 72px; right: 0; top: -6px; }
  .vitals { padding: 4px 16px; }
  .aw-field { flex-wrap: wrap; border-radius: 22px; }
  .aw-field .btn { width: 100%; }
  .aw-scores { grid-template-columns: 1fr; }
  .h-step { padding-right: 72px; }
}
@media (prefers-reduced-motion: reduce) {
  .aw-caret { animation: none; }
}

/* Ajustes tras la primera revisión */
.band-k { display: flex; align-items: center; gap: .45em; width: 100%; }
.band-k svg { width: 1.1em; height: 1.1em; }
.sec-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px 32px; }
.sec-head-row .more { flex: none; color: var(--brand); }
.sec .proof { padding: 0; }
.stat-go { justify-content: space-between; transition: background-color .25s ease, translate .18s var(--ease-out); }
.stat-go:hover { translate: 0 -4px; }
.stat-go-ico { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 10px; border-radius: 13px; background: var(--navy); color: var(--lime); }
.stat-go-ico svg { width: 21px; height: 21px; }
.stat-go .stat-l svg { display: inline; width: 1em; height: 1em; vertical-align: -2px; color: var(--brand); }
.ia .h-tile, .fast .h-tile { margin-top: 8px; }
.ia .h-tile { color: #ffffff; }
.faq-head .h-sub { font-size: var(--t-tile); }
.foot-cta .is-long { font-size: clamp(2.25rem, 4vw, 4rem); }
@media (min-width: 1024px) {
  #resultados .stat { grid-column: span 3; }
  #resultados .stat-big { grid-column: span 6; }
}
@media (max-width: 720px) {
  .sec-head-row { flex-direction: column; align-items: flex-start; }
  .foot-cta .is-long { font-size: clamp(2rem, 8.6vw, 2.5rem); }
}

/* Modo oscuro: las filas de las mini pantallas dentro de mosaicos claros toman el tono de superficie. */
html.dark .t-white .rank-row:not(.is-you):not(.is-gone), html.dark .t-white .jr-note { background: var(--surface); }
@media (max-width: 720px) { .aw-console { min-height: 150px; } }

/* Portada clara de interiores (propuesta 2026-11-20): los cilindros quedan solo en la home.
   El texto va sobre el fondo claro y la escena en un mosaico del color que el servicio tiene en la home. */
html:not(.ph-oscura) .ph-light { background: var(--bg); color: var(--ink); padding: clamp(80px, 7vw, 104px) var(--edge) clamp(40px, 4.4vw, 64px); }
html:not(.ph-oscura) .ph-light::after { display: none; }
html:not(.ph-oscura) .ph-light .ph-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); max-width: none; padding-inline: 0 0; gap: clamp(28px, 3.6vw, 64px); }
html:not(.ph-oscura) .ph-light .ph-copy { padding-inline: clamp(8px, 2vw, 28px); }
html:not(.ph-oscura) .ph-light .crumbs { color: var(--soft); }
html:not(.ph-oscura) .ph-light .crumbs a:hover, html:not(.ph-oscura) .ph-light .crumbs [aria-current] { color: var(--ink); }
html:not(.ph-oscura) .ph-light .ph-kicker { color: var(--brand); }
html:not(.ph-oscura) .ph-light .ph-h em { color: inherit; text-decoration: underline; text-decoration-color: var(--lime); text-decoration-thickness: .14em; text-underline-offset: .1em; text-decoration-skip-ink: none; }
html:not(.ph-oscura) .ph-light .ph-lead { color: var(--soft); }
html:not(.ph-oscura) .ph-light .link-on-dark { color: var(--brand); }
html:not(.ph-oscura) .ph-light .ph-note { color: var(--soft); }
html:not(.ph-oscura) .ph-light .ph-note svg, html:not(.ph-oscura) .ph-light .ph-note a { color: var(--brand); }

/* El mosaico de la escena */
html:not(.ph-oscura) .ph-stage { display: flex; align-items: center; justify-content: center; min-height: clamp(460px, 40vw, 600px); padding: clamp(48px, 5vw, 80px) clamp(28px, 4vw, 72px); border-radius: var(--tile-r); overflow: hidden; }
html:not(.ph-oscura) .stage-lime { background: var(--lime); }
html:not(.ph-oscura) .stage-navy { background: var(--navy); }
html:not(.ph-oscura) .stage-white { background: var(--tile); }
html:not(.ph-oscura) .ph-stage .serp-card { width: min(100%, 520px); box-shadow: 0 26px 64px rgba(29, 42, 61, .2); }
html:not(.ph-oscura) .ph-stage .serp-lupa { width: clamp(96px, 9vw, 140px); right: clamp(14px, 2vw, 32px); top: clamp(10px, 1.4vw, 22px); }
html:not(.ph-oscura) .ph-stage .serp-toast { left: clamp(14px, 2.4vw, 40px); bottom: clamp(18px, 2.4vw, 36px); box-shadow: 0 18px 44px rgba(29, 42, 61, .24); }
@media (max-width: 1023px) {
  html:not(.ph-oscura) .ph-light .ph-in { grid-template-columns: minmax(0, 1fr); }
  html:not(.ph-oscura) .ph-stage { width: 100%; min-height: 0; margin-top: 8px; }
}
@media (max-width: 720px) {
  html:not(.ph-oscura) .ph-light { padding-top: 76px; }
  html:not(.ph-oscura) .ph-stage { padding: 56px 14px 64px; }
  html:not(.ph-oscura) .ph-stage .serp-lupa { width: 66px; right: 10px; top: 8px; }
  html:not(.ph-oscura) .ph-stage .serp-toast { left: 10px; bottom: 14px; }
}

/* Portada de interiores siempre oscura, con cualquier tema (pedido de Nelson 2026-11-20): mismos tonos del modo oscuro. */
html:not(.ph-oscura) .ph-light { --bg: #0b111b; --ink: #f2f5f8; --soft: #b0bbca; --brand: #c8d400; background: #0b111b; color: #f2f5f8; }

/* Mosaico claro de portada: mismo gris claro en ambos temas, porque la portada siempre es oscura. */
html:not(.ph-oscura) .stage-white { background: #f1f3ef; }

/* Preguntas: pregunta y respuesta en tamaños cercanos para que la respuesta se lea cómoda (pedido de Nelson). */
.faq .accordion summary { font-size: clamp(1.125rem, 1rem + .45vw, 1.375rem); letter-spacing: -0.012em; line-height: 1.3; padding: 20px 0; }
.faq .accordion details > div, .faq .accordion details > div p { font-size: var(--t-body); line-height: 1.55; color: var(--soft); }
.faq .accordion details > div { max-width: 46em; padding-bottom: 22px; }

/* Títulos largos del cierre: caben en 2 o 3 líneas sin dominar el bloque. */
.foot-cta .is-long { font-size: clamp(2rem, 3.3vw, 3.25rem); }
@media (max-width: 720px) { .foot-cta .is-long { font-size: clamp(1.875rem, 8vw, 2.25rem); } }

/* Cabecera y pie simples de las páginas de anuncios */
.bar-simple .bar-cta { display: inline-flex; }
.foot-simple { padding-top: clamp(18px, 2vw, 28px); }
.foot-simple .foot-bottom { margin-top: 0; }

/* Cierre sin formulario (página de Contacto) */
.contact.contact-solo { grid-template-columns: minmax(0, 1fr); }
.contact-solo .foot-cta { max-width: 60rem; }
.contact-solo .foot-contact { grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr)); }
.bar.bar-simple { grid-template-columns: 1fr auto; }

/* Aviso de privacidad bajo el formulario (Ley 21.719). */
.form-legal { margin: 10px 0 0; font-size: .8125rem; line-height: 1.45; color: inherit; opacity: .72; }
.form-legal a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
