/* 111NEVOR · página CSS propia (después de los CSS del kit).
   Paleta «Salvia» (27 nov 2026): carbón, verde salvia (marca), lavanda gris (lo que es IA) y gris verdoso; antes era verde
   fluorescente y violeta eléctrico, demasiado saturados. Títulos en Unbounded (sin cambios de tipografía). */
:root {
  --p-bg: #0b0d0c; --p-surface: #141716;
  --p-violet: #b3a9d4; --p-violet-soft: #cdc6e3; --grad-ai: linear-gradient(90deg, #9fcbad 0%, #b3a9d4 100%); --p-ink: #e9ece8; --p-muted: #9aa39d;
  --p-accent: #9fcbad; --p-accent-ink: #0b0d0c; --p-action: #9fcbad; --p-action-ink: #0b0d0c;
  --p-inv-bg: #e9ece8; --p-inv-surface: #cfd5db; --p-inv-ink: #0b0d0c; --p-inv-muted: #5a6169;
  --p-inv-accent: #0b0d0c; --p-inv-accent-ink: #e9ece8; --p-inv-action: #0b0d0c; --p-inv-action-ink: #e9ece8;
  --font-display: var(--font-unbounded), var(--font-epilogue), system-ui, sans-serif;
  --font-text: var(--font-epilogue), system-ui, sans-serif;
  --font-mono: var(--font-mono-site), ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --display-weight: 500;
  --display-tracking: -0.03em;
  --display-tracking-xl: -0.04em;
  /* Unbounded es ancha: los títulos bajan un poco de tamaño para no partirse en más líneas */
  --t-h1: clamp(34px, 2.9vw + 22px, 64px);
  --t-h2: clamp(26px, 1.5vw + 20px, 42px);
  --ly-scale: 0.97;
}

/* ---- hero: el ventanal del asesor virtual sobre un fondo iluminado verde (sin shader: la escena es el efecto) */
.hero--centred .hero__window.frame { background:
  radial-gradient(90% 70% at 18% 110%, #1d6b52 0 38%, transparent 62%),
  radial-gradient(70% 60% at 86% 0%, #2b8f6d 0 18%, transparent 58%),
  linear-gradient(160deg, #9fcbad 0%, #3c5c4a 46%, #1c2b23 100%); }
.d-win { background: #fff; color: #16181a; border-radius: 12px; overflow: hidden; font: 400 14px/1.4 var(--font-text); }
.d-win--dark { background: #121b19; color: #e9ece8; box-shadow: 0 0 0 1px rgb(255 255 255 / .08), 0 30px 70px -30px rgb(0 0 0 / .8); }
.d-win__bar { display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 14px; border-bottom: 1px solid rgb(255 255 255 / .07); font-size: 13px; color: #9aa39f; }
.d-win__dots { display: flex; gap: 6px; } .d-win__dots i { width: 10px; height: 10px; border-radius: 50%; background: #34403c; }
.d-win__body { display: grid; grid-template-columns: 250px 1fr; min-height: 420px; }
.d-win--dark .d-win__bar b { color: #e9ece8; font-weight: 500; } .d-win--dark .d-win__bar .sp { flex: 1; }
.d-chat { display: grid; gap: 8px; align-content: start; padding: 14px 18px; font-size: 14px; }
.d-msg { max-width: 78%; padding: 10px 14px; border-radius: 16px; line-height: 1.45; }
.d-msg--me { justify-self: end; background: #e9ece8; color: #0b0d0c; border-bottom-right-radius: 6px; }
.d-msg--bot { max-width: 86%; background: #1d2a26; color: #e9ece8; border-bottom-left-radius: 6px; }
.d-msg small { display: inline; margin: 0 0 0 8px; font-size: 13px; opacity: .6; white-space: nowrap; }
.d-tool { display: flex; align-items: center; gap: 8px; font: 400 13px/1.4 var(--font-mono); color: #8fa59c; }
.d-tool::before { content: ""; width: 12px; height: 12px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; }
.inbox { border-right: 1px solid rgb(255 255 255 / .07); padding: 10px; display: grid; align-content: start; gap: 2px; }
.inbox .q { height: 34px; margin-bottom: 6px; border-radius: 9px; background: rgb(255 255 255 / .06); display: flex; align-items: center; padding: 0 10px; color: #7f8a86; font-size: 13px; }
.inbox .t { display: grid; grid-template-columns: 30px 1fr auto; gap: 1px 10px; padding: 9px 8px; border-radius: 9px; font-size: 13px; }
.inbox .t.is-on { background: rgb(255 255 255 / .07); }
.inbox .t i { grid-row: 1 / span 2; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font: 500 13px/1 var(--font-text); font-style: normal; color: #0b0d0c; }
.inbox .t b { font-weight: 500; color: #e9ece8; } .inbox .t time { color: #7f8a86; font-size: 13px; }
.inbox .t span { grid-column: 2 / -1; color: #8d9894; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.convo { display: grid; min-width: 0; align-content: start; }
.acts { display: flex; gap: 8px; } .acts span { height: 30px; padding: 0 12px; display: inline-flex; align-items: center; font-size: 13px; font-weight: 500; color: #9fcbad; border-bottom: 1px solid currentColor; }
.acts span + span { color: #9aa39d; }
@media (max-width: 639px) { .d-win__body { grid-template-columns: 1fr; } .inbox { display: none; } .hero__window .d-win__bar .sp ~ span { display: none; } }

/* ---- escena: la consola del asesor virtual, cortada por sus paneles */
.lx .pl__bar { display: flex; align-items: center; gap: 14px; padding: 0 16px; color: var(--muted); }
.lx .pl__bar b { color: var(--ink); font-weight: 500; }
.lx .pl__bar .dots { display: inline-flex; gap: 5px; margin-right: 6px; } .lx .dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); }
.lx .pl__bar .tab { padding: 4px 2px; } .lx .pl__bar .tab.on { color: var(--ink); box-shadow: inset 0 -2px 0 var(--accent); }
.lx .pl__side { padding: 14px 12px; display: grid; align-content: start; gap: 4px; color: var(--muted); }
.lx .pl__side span { padding: 6px 8px; border-radius: 6px; } .lx .pl__side span.on { background: var(--surface); color: var(--ink); }
.lx .pl__side small { margin: 10px 8px 2px; font-size: 11px; }
.lx .pl__main { padding: 18px 20px; display: grid; align-content: start; gap: 12px; }
.lx .pl__title { font-size: 18px; font-weight: 500; letter-spacing: -0.01em; }
.lx table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.lx th { text-align: left; font-weight: 400; color: var(--muted); padding: 6px 0; border-bottom: 1px solid var(--line); font-size: 12px; }
.lx td { padding: 8px 0; border-bottom: 1px solid var(--line); }
.lx th + th, .lx td + td { padding-left: 14px; }
.lx .st { display: inline-flex; align-items: center; gap: 6px; } .lx .st::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--muted); }
.lx .st--ok::before { background: var(--accent); }
.lx .pl__insp { padding: 16px 14px; display: grid; align-content: start; gap: 10px; }
.lx .pl__insp h4 { font: 500 12px/1.4 var(--font-text); color: var(--muted); margin: 0; }
.lx .meter { display: grid; gap: 6px; font-size: 12px; } .lx .meter__row { display: flex; justify-content: space-between; color: var(--muted); }
.lx .bar { position: relative; display: block; height: 8px; border-radius: 4px; background: var(--surface); overflow: clip; }
.lx .bar b { position: absolute; inset: 0; width: calc(var(--v) * 100%); background: var(--accent); border-radius: 4px; }
.lx .note { display: grid; gap: 4px; padding: 10px; border-radius: 8px; background: var(--surface); font-size: 12px; }
.lx .note b { font-weight: 500; display: flex; align-items: center; gap: 6px; }
.lx .note b i { width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; font-size: 10px; font-style: normal; background: var(--accent); color: var(--accent-ink); }
@media (max-width: 767px) { .lx .pl__bar .tab:last-child { display: none; } .lx .pl__main { padding: 16px; } }

/* ---- grupos de tarjetas */
#servicios .panel { --p-h: 300px; }
@media (max-width: 1279px) { #servicios .panel { --p-h: 250px; } }
@media (max-width: 639px) { #servicios .panel { --p-h: 112px; } }
@media (max-width: 639px) { #tarifas .frame--split { --ratio: 80%; } }
/* tarifas apiladas (tablet y celular): el marco del cotizador más bajo, para que la sección quepa en su pantalla */
@media (max-width: 1023px) { #tarifas .frame--split { --ratio: 46%; } }

/* la frase del estudio: tres hechos bajo ella, en la columna de la página */
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-5); margin: var(--s-8) 0 0; padding: 0; }
.facts div { border-top: 1px solid var(--line); padding-top: var(--s-4); }
.facts dt { color: var(--muted); font-size: var(--t-small); }
.facts dd { margin: var(--s-2) 0 0; font: var(--display-weight) var(--t-h3)/1.2 var(--font-display); letter-spacing: var(--display-tracking); }
@media (max-width: 1023px) { .facts { grid-template-columns: minmax(0, 1fr); gap: var(--s-4); } }

/* el diagrama de automatizaciones sobre el fondo de la tarjeta (sus etiquetas en la tinta clara) */
#servicios .panel:has(.dg) { background: var(--surface); }

/* preguntas: el asesor respondiendo una de ellas, bajo el título */
.faq__frame { --ratio: 62%; margin-top: var(--s-5); }
@media (max-width: 639px) { .faq__frame { --ratio: 100%; } }

/* ---- cotizador (/cotizar): una sección que crece con lo que el visitante elige */
.cotizador { padding-top: calc(var(--nav) + var(--s-8)); }
/* la regla general fija cada sección en sus pantallas; el cotizador crece con lo que se elige y deja aire antes del cierre */
:is(main, hx-stack) > section.section.cotizador { height: auto; min-height: 0; padding-bottom: calc(var(--s-9) + var(--bar, 0px)); }
.cotizador h1 { font: var(--display-weight) var(--t-h2)/1.05 var(--font-display); letter-spacing: var(--display-tracking); margin: 0; }
.q-grid { margin-top: var(--s-7); row-gap: var(--s-7); }
.q-form { display: grid; gap: var(--s-4); }
.q-block { margin: 0; padding: var(--s-5); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); display: grid; gap: var(--s-4); min-width: 0; }
.q-block legend { float: left; width: 100%; padding: 0; font: 500 var(--t-card)/1.3 var(--font-text); }
.q-block legend + * { clear: both; }
.q-block input[type="checkbox"], .q-block input[type="radio"], .q-check input { accent-color: var(--accent); width: 18px; height: 18px; margin: 0 8px 0 0; vertical-align: -3px; }
.q-help { margin: 0; color: var(--muted); font-size: var(--t-small); line-height: 1.5; }
.q-seg { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.q-seg label, .q-plans label { display: flex; align-items: center; min-height: 44px; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--r-md); cursor: pointer; }
.q-plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-3); }
.q-plans label { flex-wrap: wrap; align-items: flex-start; gap: 2px 0; }
.q-plans label.is-on, .q-seg label:has(input:checked) { border-color: var(--accent); }
.q-plans__name { font-weight: 500; } .q-plans .q-help { flex-basis: 100%; padding-left: 26px; }
.q-check { display: flex; align-items: center; font-size: var(--t-small); min-height: 44px; }
.q-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-4); }
.q-row--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.q-num { display: grid; gap: var(--s-2); align-content: start; }
.q-num label { font-size: var(--t-small); color: var(--muted); }
.q-num__ctl { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; height: 48px; }
.q-num__ctl button { background: transparent; color: var(--ink); border: 0; font-size: 20px; cursor: pointer; }
.q-num__ctl button:disabled { opacity: .35; cursor: default; }
.q-num__ctl input { min-width: 0; text-align: center; background: transparent; color: var(--ink); border: 0; border-inline: 1px solid var(--line); font: 500 16px var(--font-mono); }
.q-sum { padding: var(--s-6); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); display: grid; gap: var(--s-4); align-content: start; }
.q-sum__h { font: var(--display-weight) var(--t-h3)/1.2 var(--font-display); margin: 0; }
.q-lines { margin: 0; } .q-lines li { gap: var(--s-4); } .q-lines .rows__value { white-space: nowrap; font-variant-numeric: tabular-nums; }
.q-total { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-4); margin: 0; }
.q-total strong { font: var(--display-weight) var(--t-h3)/1 var(--font-display); color: var(--accent); font-variant-numeric: tabular-nums; }
.q-total small { font-size: var(--t-small); color: var(--muted); }
.q-pay { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: var(--t-small); color: var(--muted); }
.q-pay li { display: flex; justify-content: space-between; }
.q-notes { margin: 0; padding-left: 18px; font-size: var(--t-small); color: var(--muted); display: grid; gap: 4px; }
.q-contact { display: grid; gap: var(--s-4); border-top: 1px solid var(--line); padding-top: var(--s-5); }
.q-contact h3 { margin: 0; font: 500 var(--t-card)/1.3 var(--font-text); }
.q-contact .field { display: grid; gap: 6px; } .q-contact label { font-size: var(--t-small); }
.q-contact input, .q-contact textarea { min-height: 48px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--bg); color: var(--ink); font: 16px var(--font-text); }
.q-contact input[aria-invalid="true"] { border-color: #ff8f8f; }
.q-contact .field__error { margin: 0; color: #ff9d9d; font-size: var(--t-small); }
.q-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.q-sent { margin: 0; padding: var(--s-5); border: 1px solid var(--accent); border-radius: var(--r-md); }
@media (max-width: 1023px) { .q-sum { grid-column: 1 / -1; } .q-form { grid-column: 1 / -1; } }
@media (max-width: 639px) { .q-row, .q-row--3, .q-plans { grid-template-columns: minmax(0, 1fr); } .q-block, .q-sum { padding: var(--s-4); } }

/* ---- pago con enlace (/pagar/…) */
.pay-facts { grid-template-columns: minmax(0, 1fr); margin-top: 0; }
.pay-facts dd { font-size: var(--t-card); }
.pay-sim { margin: 0; padding: var(--s-4); border: 1px dashed var(--accent); border-radius: var(--r-md); font-size: var(--t-small); line-height: 1.5; }
.pay-form .q-row { gap: var(--s-4); }

.q-sum__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-3); }
.q-seg--sm label { min-height: 40px; padding: 6px 12px; font-size: var(--t-small); }
.pay-ref { display: block; margin-top: 4px; font: 400 var(--t-small)/1.5 var(--font-text); color: var(--muted); letter-spacing: 0; }

/* ---- proyectos: los sitios publicados para clientes, arriba de todo (capturas reales de cada portada) */
.work { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--gap, 20px); }
.work__card { grid-column: span 2; display: flex; flex-direction: column; padding: 0; overflow: hidden; color: inherit; text-decoration: none; }
.work__card.w--big { grid-column: span 4; }
.work__card.w--side { grid-column: span 2; }
.work__shot { aspect-ratio: 1200 / 517; overflow: hidden; background: var(--surface); }
.work__card.w--side .work__shot { aspect-ratio: auto; flex: 1; min-height: 180px; }
.work__shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; transition: transform 400ms var(--m-ease, ease); }
@media (hover: hover) and (pointer: fine) { .work__card:hover .work__shot img { transform: scale(1.03); } }
.work__text { padding: 18px 20px 20px; display: grid; gap: 8px; }
.work__text h3 { margin: 0; font-size: 1.1rem; }
.work__text p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.work__tags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.work__tags li { font: 500 13px/1 var(--font-mono); padding: 6px 8px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); }
.work__card .link { font-size: 0.9rem; }
@media (max-width: 1023px) { .work { grid-template-columns: 1fr 1fr; } .work__card, .work__card.w--big, .work__card.w--side { grid-column: span 1; } .work__card.w--big { grid-column: span 2; } .work__card.w--side .work__shot { aspect-ratio: 1200 / 517; flex: none; } }
@media (max-width: 719px) { .work { grid-template-columns: 1fr; } .work__card.w--big { grid-column: span 1; } }

/* ---- intro (work-reel-intro): cubre la portada mientras carga, una vez por sesión */
.site-intro { position: fixed; inset: 0; z-index: 1000; }
html.intro-seen .site-intro { display: none; }
html:not(.intro-seen):has(.site-intro) { overflow: hidden; }
.work__card.w--half { grid-column: span 3; }
.work__shot { aspect-ratio: 16 / 10; }
@media (max-width: 1023px) { .work__card.w--half { grid-column: span 1; } }

/* ---- idioma (ES/EN) en la barra */
.nav__lang { font: 600 13px/1 var(--font-mono); letter-spacing: .08em; padding: 9px 10px; border: 1px solid var(--line); border-radius: 99px; color: var(--ink); text-decoration: none; margin-right: 8px; }
.nav__lang:hover { border-color: var(--ink); }

/* ---- tarifas: equivalente en pesos bajo cada precio */
.rows__value { text-align: right; }
.rows__cop { display: block; font: 400 13px/1.3 var(--font-mono); color: var(--muted); margin-top: 2px; }

/* ---- cómo trabajamos: datos reales y los 4 pasos */
.trust__facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 0 0 40px; }
.trust__facts div { border-top: 1px solid var(--line); padding-top: 16px; }
.trust__facts dt { font: var(--display-weight) clamp(32px, 4vw, 56px)/1 var(--font-display); letter-spacing: var(--display-tracking); color: var(--accent); }
.trust__facts dd { margin: 8px 0 0; color: var(--muted); }
.trust__steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.trust__steps li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg, 16px); padding: 22px; display: grid; gap: 8px; align-content: start; }
.trust__steps b { font: 500 12px/1 var(--font-mono); color: var(--accent); }
.trust__steps h3 { margin: 0; font-size: 1.1rem; }
.trust__steps p { margin: 0; color: var(--muted); font-size: .95rem; }
@media (max-width: 1023px) { .trust__facts, .trust__steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 559px) { .trust__facts, .trust__steps { grid-template-columns: 1fr; } }

/* ---- páginas de caso (/casos/<slug>, /en/work/<slug>) */
.case-hero { padding-top: clamp(96px, 14vh, 140px); }
.case-crumb { display: flex; gap: 8px; font: 500 13px/1 var(--font-mono); color: var(--muted); margin-bottom: 24px; }
.case-crumb a { color: inherit; }
.case-hero__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 40px; flex-wrap: wrap; }
.case-hero__head h1 { margin: 6px 0 12px; font-size: clamp(44px, 7vw, 104px); line-height: .95; }
.case-hero__head .t-lead { max-width: 60ch; }
.case-kicker { font: 500 13px/1.4 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--case-ac, var(--accent)); margin: 0; }
.case-win { border-radius: 14px; overflow: hidden; background: #111; box-shadow: 0 0 0 1px rgb(255 255 255 / .1), 0 40px 100px -40px color-mix(in oklab, var(--case-ac, #9fcbad) 40%, transparent); }
.case-win__bar { height: 34px; display: flex; align-items: center; gap: 12px; padding: 0 14px; background: #1b1b1d; border-bottom: 1px solid rgb(255 255 255 / .08); font: 400 12px/1 var(--font-mono); color: #aaa; }
.case-win__dots { display: flex; gap: 6px; } .case-win__dots i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; } .case-win__dots i:nth-child(2) { background: #febc2e; } .case-win__dots i:nth-child(3) { background: #28c840; }
.case-win__addr { margin: 0 auto; background: #0f0f10; border-radius: 6px; padding: 5px 14px; }
.case-win img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.case-cols { display: grid; grid-template-columns: 1fr 1.3fr 1fr; gap: 40px; }
.case-cols h2 { font-size: 1.25rem; margin: 0 0 12px; }
.case-cols p { margin: 0; color: var(--muted); }
.case-feats { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.case-feats li { padding-left: 26px; position: relative; }
.case-feats li::before { content: ""; position: absolute; left: 0; top: .35em; width: 14px; height: 8px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); rotate: -45deg; }
.case-gallery__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.case-next__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.case-cta h2 { font-size: clamp(32px, 4vw, 56px); margin: 0 0 12px; }
.case-nextcard { position: relative; display: block; overflow: hidden; padding: 0; border-radius: 16px; background: var(--case-bg); color: #fff; text-decoration: none; }
.case-nextcard img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; opacity: .55; transition: transform 400ms ease, opacity 300ms ease; }
.case-nextcard:hover img { transform: scale(1.03); opacity: .7; }
.case-nextcard__text { position: absolute; left: 24px; bottom: 22px; display: grid; gap: 4px; }
.case-nextcard__text small { font: 500 12px/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; opacity: .8; }
.case-nextcard__text b { font-size: clamp(24px, 3vw, 40px); line-height: 1; }
@media (max-width: 1023px) { .case-cols { grid-template-columns: 1fr; gap: 28px; } .case-gallery__grid, .case-next__grid { grid-template-columns: 1fr; } }

/* Proyectos (7 casos) y Cómo trabajamos crecen con su contenido: nunca se montan sobre la sección siguiente. */
:is(main, hx-stack) > section#proyectos, :is(main, hx-stack) > section#confianza, :is(main, hx-stack) > section#preguntas { height: auto; min-height: 100svh; }
:is(main, hx-stack) > section#proyectos > .wrap, :is(main, hx-stack) > section#confianza > .wrap, :is(main, hx-stack) > section#preguntas > .wrap { height: auto; }
.nav__lang-l { display: none; }
@media (max-width: 1023px) {
  .nav__lang { display: flex; justify-content: center; align-items: center; gap: 8px; padding: 12px; margin: 0 0 10px; font-size: 14px; }
  .nav__lang-s { display: none; } .nav__lang-l { display: inline; }
}
/* las secciones de un caso miden lo que su contenido; las rejillas ganan a la columna flex del sistema */
main.case > section { height: auto; min-height: 0; }
main.case > section > .wrap { height: auto; }
main.case > section > .wrap.case-cols, main.case > section > .wrap.case-gallery__grid, main.case > section > .wrap.case-next__grid { display: grid; }
@media (max-width: 1023px) { main.case > section > .wrap.case-cols, main.case > section > .wrap.case-gallery__grid, main.case > section > .wrap.case-next__grid { grid-template-columns: 1fr; } }
.case-nextcard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgb(0 0 0 / .78)); pointer-events: none; }
.case-nextcard__text { z-index: 1; }

/* ---- testimonios (sección dinámica desde NEVOR) */
:is(main, hx-stack) > section.tm { height: auto; min-height: 0; }
:is(main, hx-stack) > section.tm > .wrap { height: auto; }
.tm-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 32px; }
.tm-head h2 { margin: 0; }
.tm-nav { display: flex; gap: 8px; } .tm-nav[hidden] { display: none; }
.tm-btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-size: 18px; cursor: pointer; transition: border-color 150ms, transform 150ms; }
.tm-btn:hover { border-color: var(--ink); } .tm-btn:active { transform: scale(.94); }
.tm-rail { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 0; padding-bottom: 12px; scrollbar-width: thin; overscroll-behavior-x: contain; }
.tm-rail:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; border-radius: 12px; }
.tm-card { flex: 0 0 min(320px, 76vw); scroll-snap-align: start; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; animation: tm-in 600ms cubic-bezier(.16,1,.3,1) both; animation-delay: calc(var(--i) * 70ms); }
.tm-card--featured { flex-basis: min(400px, 88vw); border-color: color-mix(in oklab, var(--accent) 45%, var(--line)); }
.tm-card--text { justify-content: center; }
@keyframes tm-in { from { opacity: 0; transform: translateY(18px); } }
@media (prefers-reduced-motion: reduce) { .tm-card { animation: none; } }
.tm-media { position: relative; background: #000; }
.tm-media--v { aspect-ratio: 9 / 16; } .tm-media--h { aspect-ratio: 16 / 9; } .tm-media--img { background: var(--surface); }
.tm-media video, .tm-media iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.tm-media--img img { display: block; width: 100%; height: auto; max-height: 520px; object-fit: contain; }
.tm-body { padding: 20px; display: grid; gap: 12px; }
.tm-card--text .tm-body { padding: 28px; }
.tm-stars { margin: 0; color: #f5c451; letter-spacing: 2px; } .tm-stars span { opacity: .25; }
.tm-quote { margin: 0; font-size: 1.02rem; line-height: 1.5; }
.tm-card--text .tm-quote { font: var(--display-weight) clamp(20px, 2vw, 26px)/1.3 var(--font-display); letter-spacing: -.01em; }
.tm-who { display: grid; gap: 2px; font-size: .92rem; } .tm-who span { color: var(--muted); } .tm-case { margin-top: 6px; font-size: .88rem; justify-self: start; }

/* Preguntas: crece con sus 9 respuestas (el kit fija la altura del wrap y de .fill). */
:is(main, hx-stack) > section#preguntas > .wrap { height: auto !important; }
:is(main, hx-stack) > section#preguntas > .wrap > .fill { flex: none; min-height: auto; }
:is(main, hx-stack) > section#preguntas { padding-block: clamp(64px, 10vh, 120px); }

/* Escáner: el componente React se monta aquí y define su propia altura. */
:is(main, hx-stack) > section#escaner { height: auto; min-height: max(100svh, 860px); padding: 0; background: var(--bg); }
:is(main, hx-stack) > section#escaner > .asc-root { min-height: inherit; }

/* Tarifas: su contenido pasa de una pantalla; crece en vez de montarse sobre Preguntas. */
:is(main, hx-stack) > section#tarifas { height: auto; min-height: 100svh; }
:is(main, hx-stack) > section#tarifas > .wrap { height: auto !important; }
:is(main, hx-stack) > section#tarifas > .wrap > .fill { flex: none; min-height: auto; }

/* Maquetas dentro de marcos claros: el marco las pintaba con tinta oscura sobre panel oscuro. */
.frame--lit .ui { --ink: #e9ece8; --muted: #9aa39d; --surface: #101214; --bg: #0b0d0c; --card: #15181b; color: #e9ece8; }

/* Tarifas: su contenido pasa de una pantalla; crece en vez de montarse sobre Preguntas. */
:is(main, hx-stack) > section#tarifas { height: auto; min-height: 100svh; }
:is(main, hx-stack) > section#tarifas > .wrap { height: auto !important; }
:is(main, hx-stack) > section#tarifas > .wrap > .fill { flex: none; min-height: auto; }

/* Chat de Preguntas: el marco claro dejaba el panel oscuro con texto oscuro (no se leía). */
.faq__frame .ui-chat { background: #f6f8f7; color: #18211d; }
.faq__frame .ui-chat .ui-msg--me { background: #dfe7e3; color: #18211d; }
.faq__frame .ui-chat .ui-chat__answer, .faq__frame .ui-chat .ui-title { color: #18211d; }
.faq__frame .ui-chat .ui-chat__input { background: #fff; color: #5b6762; }

/* Campo de píxeles de calor detrás del hero: el texto y los botones quedan encima. */
:is(main, hx-stack) > section.hero { isolation: isolate; }
:is(main, hx-stack) > section.hero > .pixel-heat-field { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent); mask-image: linear-gradient(to bottom, #000 70%, transparent); }
:is(main, hx-stack) > section.hero > .wrap { position: relative; z-index: 1; }

/* Paleta IA: títulos en plateado metálico y un brillo verde neón en la acción principal. */
.hero h1, :is(main, hx-stack) > section h2 { background: linear-gradient(180deg, #ffffff 0%, #d9dee3 45%, #8e979f 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero h1 .ly-mark { -webkit-text-fill-color: initial; }
/* La acción principal es de metal líquido verde: ver «Botones de metal líquido» al final. */

/* Robot del título: cabeza plateada, visor negro y ojos verdes que siguen al cursor (robot.js). */
.hero h1 .robot { display: inline-block; width: 0.9em; height: 0.9em; vertical-align: -0.08em; margin-right: 0.12em; background: none !important; border: 0 !important; box-shadow: none !important; -webkit-text-fill-color: initial; }
.hero h1 .robot::before, .hero h1 .robot::after { content: none !important; }
.robot svg { display: block; width: 100%; height: 100%; overflow: visible; }
.robot__head { fill: #d9dee3; }
.robot__visor { fill: #0b0d0c; }
.robot__ant { stroke: #9aa39d; stroke-width: 3; stroke-linecap: round; }
.robot__led { fill: #9fcbad; filter: drop-shadow(0 0 3px #9fcbad); animation: robot-led 2.4s ease-in-out infinite; }
.robot__iris { fill: #9fcbad; filter: drop-shadow(0 0 4px rgb(159 203 173 / .8)); }
.robot__pupil { fill: #0b0d0c; }
.robot__eye { transition: transform .12s ease-out; transform-box: view-box; }
.robot__eye.is-blink > circle { animation: robot-blink .18s ease-in-out; transform-box: fill-box; transform-origin: center; }
@keyframes robot-led { 50% { opacity: .35; } }
@keyframes robot-blink { 50% { transform: scaleY(.1); } }
@media (prefers-reduced-motion: reduce) { .robot__led { animation: none; } }

/* Lo que no se ve: panel, automatizaciones e IA interna. */
:is(main, hx-stack) > section#interno { height: auto; min-height: 100svh; }
:is(main, hx-stack) > section#interno > .wrap { height: auto !important; display: block; }
.hidden__eyebrow { font-family: var(--font-mono); font-size: 14px; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); margin: 0 0 16px; }
.hidden__lead { max-width: 60ch; margin-top: 16px; color: var(--muted); }
.hidden__grid { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1px; background: rgb(154 163 157 / .14); border: 1px solid rgb(154 163 157 / .14); border-radius: 20px; overflow: hidden; }
.hidden__item { background: var(--bg); padding: 28px 24px; transition: background .3s; }
.hidden__item:hover { background: #0b0e0c; }
.hidden__item h3 { margin: 12px 0 8px; font-size: 20px; letter-spacing: -.01em; }
.hidden__item p { margin: 0; color: var(--muted); font-size: 15.5px; line-height: 1.55; }
.hidden__n { font-family: var(--font-mono); font-size: 13px; color: var(--accent); }

/* Botón degradado (componente GradientButton) en los botones secundarios: un degradado radial que se
   transforma al pasar el mouse y un borde de luz. Colores llevados a la paleta: negro, verde y plateado. */
@property --gb-x { syntax: '<percentage>'; initial-value: 11.14%; inherits: false; }
@property --gb-y { syntax: '<percentage>'; initial-value: 140%; inherits: false; }
@property --gb-sx { syntax: '<percentage>'; initial-value: 150%; inherits: false; }
@property --gb-sy { syntax: '<percentage>'; initial-value: 180.06%; inherits: false; }
@property --gb-c1 { syntax: '<color>'; initial-value: #000; inherits: false; }
@property --gb-c2 { syntax: '<color>'; initial-value: #03140c; inherits: false; }
@property --gb-c3 { syntax: '<color>'; initial-value: #0d4630; inherits: false; }
@property --gb-c4 { syntax: '<color>'; initial-value: #2fae6e; inherits: false; }
@property --gb-c5 { syntax: '<color>'; initial-value: #c9dfcf; inherits: false; }
@property --gb-a { syntax: '<angle>'; initial-value: 200deg; inherits: true; }
@property --gb-b1 { syntax: '<color>'; initial-value: hsla(145, 80%, 85%, .55); inherits: true; }
@property --gb-b2 { syntax: '<color>'; initial-value: hsla(145, 40%, 85%, .12); inherits: true; }
@property --gb-s1 { syntax: '<percentage>'; initial-value: 37.35%; inherits: false; }
@property --gb-s2 { syntax: '<percentage>'; initial-value: 61.36%; inherits: false; }
@property --gb-s3 { syntax: '<percentage>'; initial-value: 78.42%; inherits: false; }
@property --gb-s4 { syntax: '<percentage>'; initial-value: 89.52%; inherits: false; }
@property --gb-s5 { syntax: '<percentage>'; initial-value: 100%; inherits: false; }
.btn--secondary { position: relative; isolation: isolate; border: 0 !important; border-radius: 11px; color: #fff !important; font-weight: 600;
  background: radial-gradient(var(--gb-sx) var(--gb-sy) at var(--gb-x) var(--gb-y), var(--gb-c1) var(--gb-s1), var(--gb-c2) var(--gb-s2), var(--gb-c3) var(--gb-s3), var(--gb-c4) var(--gb-s4), var(--gb-c5) var(--gb-s5)) !important;
  transition: --gb-x .5s, --gb-y .5s, --gb-sx .5s, --gb-sy .5s, --gb-c1 .5s, --gb-c2 .5s, --gb-c3 .5s, --gb-c4 .5s, --gb-c5 .5s, --gb-a .5s, --gb-b1 .5s, --gb-b2 .5s, --gb-s1 .5s, --gb-s2 .5s, --gb-s3 .5s, --gb-s4 .5s, --gb-s5 .5s, transform .2s; }
.btn--secondary::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(var(--gb-a), var(--gb-b1), var(--gb-b2)); -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); mask-composite: exclude; }
.btn--secondary::after { content: none; }
.btn--secondary:hover { --gb-x: 0%; --gb-y: 95.51%; --gb-sx: 110.24%; --gb-sy: 110.2%; --gb-c1: #000; --gb-c2: #c9dfcf; --gb-c3: #9fcbad; --gb-c4: #0d4630; --gb-c5: #000; --gb-s1: 0%; --gb-s2: 10%; --gb-s3: 35.44%; --gb-s4: 71.34%; --gb-s5: 90.76%; --gb-a: 210deg; --gb-b1: hsla(145, 80%, 85%, .2); --gb-b2: hsla(145, 60%, 85%, .75); }
.btn--secondary:hover { text-shadow: 0 1px 6px rgb(0 0 0 / .65); }
.btn--secondary:active { transform: scale(.98); }
.btn--secondary:focus-visible { outline: 2px solid var(--p-accent); outline-offset: 3px; }

/* Proyectos: carrusel de vistas reales de cada sitio y botón "Ver sitio en vivo". */
.work__shot.shots { position: relative; }
.shots__rail { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.shots__rail::-webkit-scrollbar { display: none; }
.shots__slide { flex: 0 0 100%; scroll-snap-align: start; display: block; height: 100%; }
.shots__nav { position: absolute; top: 50%; translate: 0 -50%; width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid rgb(255 255 255 / .22); border-radius: 50%; background: rgb(11 13 12 / .55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: #e9ece8; cursor: pointer; opacity: 0; transition: opacity .25s, background .2s, scale .15s; }
.shots__nav--prev { left: 10px; } .shots__nav--next { right: 10px; }
.shots:hover .shots__nav, .shots__nav:focus-visible { opacity: 1; }
.shots__nav:hover { background: rgb(11 13 12 / .8); } .shots__nav:active { scale: .92; }
@media (hover: none) { .shots__nav { display: none; } }
.shots__dots { position: absolute; left: 50%; bottom: 10px; translate: -50% 0; display: flex; gap: 5px; padding: 5px 7px; border-radius: 999px; background: rgb(11 13 12 / .5); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.shots__dots i { width: 5px; height: 5px; border-radius: 50%; background: rgb(255 255 255 / .4); transition: background .25s, width .25s; }
.shots__dots i.is-on { width: 14px; border-radius: 99px; background: var(--accent); }
.work__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 6px; }
.live { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; font-size: .9rem; font-weight: 600; color: var(--ink); text-decoration: none; background: rgb(159 203 173 / .07); box-shadow: inset 0 0 0 1px rgb(159 203 173 / .35); transition: background .25s, box-shadow .25s, translate .2s; }
.live:hover { background: rgb(159 203 173 / .14); box-shadow: inset 0 0 0 1px rgb(159 203 173 / .7), 0 0 22px -6px rgb(159 203 173 / .6); translate: 0 -1px; }
.live:active { translate: 0 1px; }
.live svg { transition: translate .25s; } .live:hover svg { translate: 2px -2px; }
.live__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgb(159 203 173 / .6); animation: live-pulse 2s ease-out infinite; }
@keyframes live-pulse { to { box-shadow: 0 0 0 8px rgb(159 203 173 / 0); } }
@media (prefers-reduced-motion: reduce) { .live__dot { animation: none; } }
.case-gallery__grid > :first-child { grid-column: 1 / -1; }

/* Confianza: línea de garantías bajo los botones del hero y etiqueta "Ejemplo" en las maquetas. */
.hero__assure { margin: 18px 0 0; font-size: .9rem; color: var(--muted); letter-spacing: .01em; }
.demo-tag { font-style: normal; font-family: var(--font-mono); font-size: .72em; text-transform: uppercase; letter-spacing: .06em; padding: 2px 7px; border-radius: 999px; border: 1px solid rgb(154 163 157 / .35); color: var(--muted); }

/* ───────── Sitio horizontal (sólo computador con mouse, ≥1280px): cada sección es un panel de pantalla
   completa; las pestañas del menú se mueven de lado. Lo que no cabe en una pantalla baja dentro de su panel.
   En celular y tablet la página sigue vertical. Motor: /assets/horizontal.js */
@media screen and (min-width: 1280px) and (hover: hover) and (pointer: fine) {
  html:has(.hx), html:has(.hx) body { height: 100svh; overflow: hidden; }
  .hx { display: flex; height: 100svh; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; overscroll-behavior: none; scrollbar-width: none; }
  .hx::-webkit-scrollbar { display: none; }
  .hx > main { display: contents; }
  .hx main > :is(section, #_), .hx > footer.closing { flex: 0 0 100vw; width: 100vw; height: 100svh; min-height: 0; overflow-x: hidden; overflow-y: auto; scroll-snap-align: start; scroll-snap-stop: always; overscroll-behavior-y: contain; scrollbar-width: thin; scrollbar-color: rgb(154 163 157 / .28) transparent; }
  .hx main > :is(section, #_) > .wrap { height: auto; min-height: calc(var(--h, 1) * 100svh - var(--padt) - var(--padb)); }
  .hx main > :is(section.hero, #_) > .wrap { min-height: 0; }
  .hx main > :is(section.hero, #_) { overflow: hidden; }
  /* legibilidad: cada pestaña muestra título y texto clave sin quedar bajo el menú ni la barra inferior */
  .hx #proyectos .work__card.w--big .work__shot { aspect-ratio: auto; height: clamp(240px, calc(100svh - 560px), 528px); }
  .hx #escaner .asc-root { padding-top: 104px; }
  .hx main > section.hero::after { content: ""; position: absolute; z-index: 2; inset: auto 0 0 0; height: 150px; background: linear-gradient(to bottom, transparent, var(--p-bg) 78%); pointer-events: none; }
  .hx #tarifas { --padt: 96px; }
  /* aire para que la barra de secciones no tape el final del contenido */
  .hx main > :is(section, #_):not(.hero)::after, .hx > footer.closing::after { content: ""; display: block; height: 76px; }
  /* Entrada del panel: su contenido llega deslizándose desde el lado por el que se viene */
  .hx[data-ready] main > section > .wrap, .hx[data-ready] > footer.closing > .wrap, .hx[data-ready] #escaner > .asc-root { transition: opacity .7s cubic-bezier(.22,1,.36,1), translate .9s cubic-bezier(.22,1,.36,1); }
  .hx[data-ready] :is(section, footer):not(.is-here) > .wrap, .hx[data-ready] #escaner:not(.is-here) > .asc-root { opacity: .25; translate: calc(var(--hx-dir, 1) * 6vw) 0; }

  /* Controles: flechas, avance y nombre del panel */
  .hx-ui { position: fixed; z-index: 60; left: 50%; bottom: 18px; translate: -50% 0; display: flex; align-items: center; gap: 10px; padding: 6px; border-radius: 999px; background: rgb(11 13 12 / .72); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: inset 0 0 0 1px rgb(154 163 157 / .18), 0 12px 40px -12px rgb(0 0 0 / .8); }
  .hx-ui__btn { width: 38px; height: 38px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgb(255 255 255 / .06); color: var(--ink); cursor: pointer; transition: background .2s, scale .15s, opacity .2s; }
  .hx-ui__btn:hover { background: var(--accent); color: var(--accent-ink); } .hx-ui__btn:active { scale: .92; }
  .hx-ui__btn:disabled { opacity: .25; pointer-events: none; }
  .hx-ui__dots { display: flex; align-items: center; gap: 6px; padding: 0 4px; }
  .hx-ui__dot { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 99px; background: rgb(154 163 157 / .35); cursor: pointer; transition: width .35s cubic-bezier(.22,1,.36,1), background .25s; }
  .hx-ui__dot:hover { background: rgb(154 163 157 / .8); }
  .hx-ui__dot[aria-current="true"] { width: 26px; background: var(--accent); box-shadow: 0 0 12px rgb(159 203 173 / .6); }
  .hx-ui__label { min-width: 150px; padding-right: 12px; font: 500 12px/1 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
  .hx-ui__label b { color: var(--ink); font-weight: 500; }
  .hx-hint { position: fixed; z-index: 59; right: 22px; bottom: 26px; font: 500 11px/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); opacity: .8; transition: opacity .4s; pointer-events: none; }
  .hx-hint[hidden] { display: block; opacity: 0; }
  .nav a[aria-current="true"] { color: var(--accent); }
}
@media (prefers-reduced-motion: reduce) { .hx[data-ready] :is(section, footer) > .wrap, .hx[data-ready] #escaner > .asc-root { transition: none !important; translate: none !important; opacity: 1 !important; } }
.hx-ui, .hx-hint { display: none; }
/* «Sigue: …» encima de la barra de secciones, al final de cada panel */
.hx-more { display: none; }
@media screen and (min-width: 1280px) and (hover: hover) and (pointer: fine) {
  .hx-more { position: fixed; z-index: 60; left: 50%; bottom: 96px; translate: -50% 0; display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border: 0; border-radius: 999px; background: var(--p-accent, #9fcbad); color: #0d1a12; font: 600 14px/1 var(--font-text, system-ui); cursor: pointer; box-shadow: 0 10px 30px -10px rgb(159 203 173 / .7); animation: hx-more-in .4s cubic-bezier(.2,.9,.3,1) both; }
  .hx-more b { font-weight: 700; }
  .hx-more[data-mode="down"] { background: rgb(12 14 16 / .88); color: var(--p-ink, #e9ece8); box-shadow: inset 0 0 0 1px rgb(159 203 173 / .35), 0 10px 30px -12px rgb(0 0 0 / .9); }
  .hx-more svg { animation: hx-more-bob 1.4s ease-in-out infinite; }
  .hx-more:hover { filter: brightness(1.08); }
  .hx-more[hidden] { display: none; }
}
@keyframes hx-more-in { from { opacity: 0; translate: -50% 10px; } }
@keyframes hx-more-bob { 50% { transform: translateY(3px); } }
@media (prefers-reduced-motion: reduce) { .hx-more, .hx-more svg { animation: none; } }
@media screen and (min-width: 1280px) and (hover: hover) and (pointer: fine) { .hx-ui { display: flex; } .hx-hint { display: block; } }

/* Título de letras: la capa de animación recortaba el borde de la «S» y dejaba una marca */
.mo-la .mo-i { will-change: auto !important; }

/* Inicio: el robot es una esfera plateada con ojos negros y un halo verde, legible sobre el fondo oscuro */
.hero h1 .robot { filter: drop-shadow(0 0 14px rgb(159 203 173 / .55)) drop-shadow(0 0 2px rgb(159 203 173 / .9)); }
/* Inicio: sombra suave detrás del título y el texto para que los píxeles no compitan con las letras */
:is(main, hx-stack) > section.hero > .wrap::before { content: ""; position: absolute; z-index: -1; left: 50%; top: -60px; width: min(1180px, 100%); height: 640px; translate: -50% 0; background: radial-gradient(ellipse 50% 50% at 50% 50%, rgb(11 13 12 / .92) 0%, rgb(11 13 12 / .78) 45%, transparent 75%); pointer-events: none; }
@media (max-width: 719px) { :is(main, hx-stack) > section.hero > .wrap::before { height: 760px; width: 140%; } }

/* Quién soy: foto circular con halo verde, nombre, eslogan grande y cuatro habilidades */
:is(main, hx-stack) > section#cristian { height: auto; min-height: 100svh; }
:is(main, hx-stack) > section#cristian > .wrap { height: auto; display: flex; align-items: center; }
.about__grid { display: grid; grid-template-columns: minmax(0, 460px) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; width: 100%; }
.about__photo { position: relative; margin: 0; aspect-ratio: 1; width: 100%; }
.about__photo img { position: relative; z-index: 1; display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px rgb(159 203 173 / .35), 0 30px 80px -30px rgb(159 203 173 / .45); }
.about__ring { position: absolute; inset: -14px; border-radius: 50%; z-index: 0; background: conic-gradient(from 0deg, rgb(159 203 173 / .0), rgb(159 203 173 / .85) 22%, rgb(207 213 219 / .5) 40%, rgb(159 203 173 / 0) 60%, rgb(159 203 173 / .6) 85%, rgb(159 203 173 / 0)); -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px)); mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px)); animation: about-spin 14s linear infinite; filter: drop-shadow(0 0 10px rgb(159 203 173 / .5)); }
@keyframes about-spin { to { rotate: 1turn; } }
.about__badge { position: absolute; z-index: 2; left: 50%; bottom: -6px; translate: -50% 0; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; white-space: nowrap; font: 600 14px/1 var(--font-sans, inherit); color: var(--p-ink); background: rgb(16 18 20 / .88); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px rgb(159 203 173 / .35), 0 10px 30px -10px rgb(0 0 0 / .8); }
.about__badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--p-accent); box-shadow: 0 0 10px var(--p-accent); }
.about__text .eyebrow { margin: 0 0 12px; font: 500 13px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--p-accent); }
.about__text h2 { margin: 0; font-size: clamp(40px, 4.6vw, 64px); line-height: 1; }
.about__role { margin: 12px 0 0; font-size: 17px; color: var(--p-muted); }
.about__quote { margin: 24px 0 0; padding: 0 0 0 22px; border-left: 3px solid var(--p-accent); }
.about__quote p { margin: 0; font: var(--display-weight, 500) clamp(24px, 2.4vw, 34px)/1.22 var(--font-display); letter-spacing: -.01em; color: var(--p-ink); }
.about__bio { margin: 22px 0 0; max-width: 60ch; font-size: 18px; line-height: 1.6; color: #c9ced4; }
.about__skills { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.about__skills li { display: grid; gap: 6px; padding: 16px 18px; border-radius: 14px; background: var(--p-surface); box-shadow: inset 0 0 0 1px rgb(154 163 157 / .14); transition: box-shadow .25s, translate .25s; }
.about__skills li:hover { box-shadow: inset 0 0 0 1px rgb(159 203 173 / .45); translate: 0 -2px; }
.about__skills b { font-size: 17px; color: var(--p-ink); }
.about__skills b::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 10px; vertical-align: .15em; border-radius: 50%; background: var(--p-accent); }
.about__skills span { font-size: 15px; line-height: 1.45; color: var(--p-muted); }
.about__text .btn-row { margin-top: 24px; }
.about__role, .about__text .eyebrow, .about__text h2 { position: relative; z-index: 1; }
@media (max-width: 1023px) { .about__grid { grid-template-columns: minmax(0, 1fr); justify-items: center; } .about__photo { max-width: 380px; } .about__text { width: 100%; } }
@media (max-width: 719px) { .about__photo { max-width: 76vw; } .about__skills { grid-template-columns: minmax(0, 1fr); } .about__bio { font-size: 17px; } }
@media (prefers-reduced-motion: reduce) { .about__ring { animation: none; } }

/* Entrada: punto que estalla y forma «111NEVOR» */
.di, .di__curtain { position: fixed; inset: 0; }
.di { z-index: 1000; cursor: pointer; }
.di__curtain { display: grid; place-items: center; align-content: center; gap: 18px; background: radial-gradient(ellipse 60% 50% at 50% 50%, #0b130e 0%, #0b0d0c 70%); overflow: hidden; }
.di__glow { position: absolute; left: 50%; top: 50%; width: 70vmin; height: 40vmin; translate: -50% -50%; border-radius: 50%; background: radial-gradient(closest-side, rgb(159 203 173 / .22), transparent); filter: blur(20px); pointer-events: none; }
.di__dot { position: absolute; left: 50%; top: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; background: #e6f0e9; box-shadow: 0 0 18px 4px rgb(159 203 173 / .9), 0 0 60px 12px rgb(159 203 173 / .45); }
.di__ring { position: absolute; left: 50%; top: 50%; width: 80px; height: 80px; margin: -40px 0 0 -40px; border-radius: 50%; border: 2px solid rgb(159 203 173 / .9); box-shadow: 0 0 24px rgb(159 203 173 / .6), inset 0 0 24px rgb(159 203 173 / .4); opacity: 0; }
.di__ring--2 { border-color: rgb(207 213 219 / .6); box-shadow: none; }
.di__word { position: relative; margin: 0; display: flex; perspective: 900px; font: 600 clamp(64px, 13vw, 200px)/1 var(--font-display); letter-spacing: -.04em; white-space: nowrap; }
.di__ch { display: inline-block; opacity: 0; background: linear-gradient(180deg, #ffffff 0%, #d9dee3 48%, #8e979f 100%); -webkit-background-clip: text; background-clip: text; color: transparent; will-change: transform, opacity, filter; }
.di__ch:nth-child(-n+3) { background: linear-gradient(180deg, #d6ffe6 0%, #9fcbad 60%, #1e9e57 100%); -webkit-background-clip: text; background-clip: text; filter: drop-shadow(0 0 18px rgb(159 203 173 / .35)); }
.di__line { position: relative; margin: 0; opacity: 0; font: 500 clamp(15px, 1.6vw, 20px)/1.3 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--p-muted); }
.di__skip { position: absolute; right: 24px; bottom: 24px; padding: 10px 16px; border: 0; border-radius: 999px; background: rgb(255 255 255 / .06); color: var(--p-muted); font: 500 13px/1 var(--font-mono); letter-spacing: .06em; cursor: pointer; }
.di__skip:hover { color: var(--p-ink); background: rgb(255 255 255 / .12); }

/* Proyectos: portátil 3D con las capturas de cada sitio */
#proyectos.has-showcase .work { display: none; }
:is(main, hx-stack) > section#proyectos.has-showcase { --h: 1 !important; }
#proyectos.has-showcase .section-head { margin-bottom: 0; }
@media screen and (min-width: 1280px) and (hover: hover) and (pointer: fine) { .hx #proyectos.has-showcase { --padt: 100px; } }
.showcase { --lw: min(610px, 100%); display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); grid-template-areas: "text stage" "tabs tabs"; column-gap: clamp(32px, 4vw, 64px); row-gap: 22px; align-items: center; margin-top: 8px; }
.showcase__text { grid-area: text; min-width: 0; }
.showcase__num { margin: 0; font: 500 13px/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--p-muted); }
.showcase__num b { color: var(--acc); font-weight: 600; }
.showcase__name { margin: 14px 0 0; font: var(--display-weight, 500) clamp(40px, 4.4vw, 68px)/1 var(--font-display); letter-spacing: -.03em; background: linear-gradient(180deg, #fff 0%, #d9dee3 55%, #9aa3ab 100%); -webkit-background-clip: text; background-clip: text; color: transparent; animation: sc-in .6s cubic-bezier(.2,.8,.2,1) both; }
@keyframes sc-in { from { opacity: 0; translate: 0 14px; filter: blur(6px); } }
.showcase__sector { margin: 10px 0 0; font-size: 17px; color: var(--acc); }
.showcase__summary { margin: 16px 0 0; max-width: 46ch; font-size: 17px; line-height: 1.55; color: #c9ced4; }
.showcase__tags { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.showcase__tags li { padding: 7px 11px; border-radius: 999px; font-size: 13.5px; color: var(--p-ink); background: rgb(255 255 255 / .04); box-shadow: inset 0 0 0 1px rgb(154 163 157 / .18); }
.showcase__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 24px; }
.showcase__stage { grid-area: stage; position: relative; display: grid; justify-items: center; min-width: 0; padding: 0 0 6px; }
.showcase__shots { display: flex; gap: 6px; margin-top: 4px; }
.showcase__shots i { width: 6px; height: 6px; border-radius: 99px; background: rgb(154 163 157 / .35); transition: width .35s, background .3s; }
.showcase__shots i.is-on { width: 22px; background: var(--acc); }
.showcase__tabs { grid-area: tabs; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; justify-content: center; }
.showcase__tab { position: relative; overflow: hidden; padding: 10px 14px; border: 0; border-radius: 10px; background: rgb(255 255 255 / .03); color: var(--p-muted); font: 500 14px/1 var(--font-text, system-ui, sans-serif); cursor: pointer; box-shadow: inset 0 0 0 1px rgb(154 163 157 / .14); transition: color .2s, background .2s, box-shadow .2s; }
.showcase__tab:hover { color: var(--p-ink); background: rgb(255 255 255 / .07); }
.showcase__tab.is-on { color: var(--p-ink); background: rgb(255 255 255 / .08); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--acc) 60%, transparent); }
.showcase__progress { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--acc); transform-origin: left; transform: scaleX(0); }
@keyframes sc-prog { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.showcase__arrow { width: 38px; height: 38px; border: 0; border-radius: 50%; background: rgb(255 255 255 / .06); color: var(--p-ink); font-size: 22px; line-height: 1; cursor: pointer; }
.showcase__arrow:hover { background: var(--p-accent); color: #0b0d0c; }

/* El portátil: MacBook Pro plateado en CSS 3D. Medidas en cqw (ancho del propio equipo) para que escale entero. */
.mbp { --tx: 0; --ty: 0; --d: 43cqw; position: relative; width: var(--lw); container-type: inline-size; perspective: 1800px; perspective-origin: 50% 12%; }
.mbp__tilt { position: relative; transform-style: preserve-3d; transform: rotateX(calc(-17deg + var(--ty) * -4deg)) rotateY(calc(var(--tx) * 9deg)); transition: transform .7s cubic-bezier(.2,.8,.2,1); margin-bottom: 19%; will-change: transform; }
.mbp__lid { position: relative; aspect-ratio: 16 / 10.35; transform-style: preserve-3d; transform-origin: 50% 100%; transform: rotateX(-89deg); transition: transform 1.4s cubic-bezier(.22,1,.3,1); }
.mbp.is-open .mbp__lid { transform: rotateX(14deg); }
.mbp__front, .mbp__back { position: absolute; inset: 0; border-radius: 2.6cqw 2.6cqw .5cqw .5cqw; backface-visibility: hidden; }
.mbp__front { padding: .85cqw .85cqw 1cqw; background: linear-gradient(180deg, #d9dde1, #b9bfc5); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .55), inset 0 0 0 2px #8f969d; }
.mbp__back { transform: rotateY(180deg); display: grid; place-items: center; background: linear-gradient(155deg, #e3e7ea 0%, #a9b0b7 55%, #cdd2d7 100%); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .5); }
.mbp__back span { font: 700 6cqw/1 var(--font-display); letter-spacing: -.04em; color: #9fcbad; text-shadow: 0 0 2.4cqw rgb(159 203 173 / .85); }
.mbp__display { position: relative; height: 100%; overflow: hidden; border-radius: 1.9cqw 1.9cqw .3cqw .3cqw; background: #000; display: flex; flex-direction: column; box-shadow: 0 0 0 1px #0b0d0c; }
.mbp__notch { position: absolute; z-index: 3; left: 50%; top: 0; width: 13.5cqw; height: 2.15cqw; translate: -50% 0; border-radius: 0 0 1cqw 1cqw; background: #000; display: grid; place-items: center; }
.mbp__notch i { width: .62cqw; height: .62cqw; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #2b3a55, #06080c 70%); box-shadow: 0 0 0 .12cqw #141719; }
.mbp__chrome { flex: none; display: flex; align-items: center; gap: 1.4cqw; height: 4.5cqw; padding: 2.1cqw 1.6cqw 0; background: #1b1e21; border-bottom: 1px solid #2a2e32; }
.mbp__lights { display: flex; gap: .75cqw; } .mbp__lights i { width: 1.15cqw; height: 1.15cqw; border-radius: 50%; background: #ff5f57; } .mbp__lights i:nth-child(2) { background: #febc2e; } .mbp__lights i:nth-child(3) { background: #28c840; }
.mbp__url { display: inline-flex; align-items: center; justify-content: center; gap: .7cqw; flex: 0 1 46%; margin: 0 auto; padding: .35cqw 1.4cqw; border-radius: .9cqw; background: #0e1012; font: 500 max(9px, 1.55cqw)/1.3 var(--font-mono); color: #b9c0c7; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; translate: -2.6cqw 0; }
.mbp__view { position: relative; flex: 1; min-height: 0; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; background: #0b0c0d; cursor: ns-resize; animation: mbp-on .6s ease-out both; }
.mbp__view::-webkit-scrollbar { display: none; }
.mbp__view:focus-visible { outline: 2px solid var(--p-accent); outline-offset: -2px; }
.mbp__view img { display: block; width: 100%; height: auto; user-select: none; }
@keyframes mbp-on { 0% { opacity: 0; filter: brightness(2.2) saturate(0); } 45% { opacity: 1; } 100% { filter: none; } }
.mbp__glare { position: absolute; inset: 0; z-index: 4; pointer-events: none; background: linear-gradient(118deg, rgb(255 255 255 / .09) 0%, transparent 30%, transparent 72%, rgb(255 255 255 / .035)); }
.mbp__base { position: absolute; left: -1.2cqw; right: -1.2cqw; top: 100%; height: var(--d); transform-origin: 50% 0; transform: rotateX(90deg); border-radius: .5cqw .5cqw 2.4cqw 2.4cqw; background: linear-gradient(180deg, #c2c7cc 0%, #d4d8dc 12%, #c6cbd0 70%, #b3b9bf 100%); box-shadow: inset 0 1px 0 rgb(255 255 255 / .7), inset 0 0 0 1px rgb(255 255 255 / .28); }
.mbp__hinge { position: absolute; left: 12%; right: 12%; top: 0; height: 1.5cqw; border-radius: 0 0 .5cqw .5cqw; background: linear-gradient(180deg, #23262a, #3b4046); }
.mbp__grill { position: absolute; top: 5.2cqw; width: 5.4cqw; height: 18.5cqw; opacity: .55; background-image: radial-gradient(circle, #6f767d 34%, transparent 38%); background-size: .58cqw .58cqw; }
.mbp__grill--l { left: 2.2cqw; } .mbp__grill--r { right: 2.2cqw; }
.mbp__keys { position: absolute; left: 9cqw; right: 9cqw; top: 4.6cqw; height: 20cqw; padding: .55cqw; border-radius: 1cqw; background: #0d0e10; box-shadow: inset 0 0 0 1px #000, 0 1px 0 rgb(255 255 255 / .45); display: flex; flex-direction: column; gap: .45cqw; }
.mbp__keys > div { flex: 1 1 0; display: flex; gap: .45cqw; }
.mbp__keys > div.is-fn { flex: .62 1 0; }
.mbp__keys i { flex: 1 1 0; border-radius: .45cqw; background: linear-gradient(180deg, #2a2d31, #1c1e21); box-shadow: inset 0 1px 0 rgb(255 255 255 / .1), inset 0 -1px 0 rgb(0 0 0 / .5); }
.mbp__keys > div.is-fn i:last-child { border-radius: 50% / 60%; background: #101113; box-shadow: inset 0 0 0 1px #2f3337; flex-grow: .8 !important; }
.mbp__pad { position: absolute; left: 31.5%; right: 31.5%; top: 26.6cqw; bottom: 1.6cqw; border-radius: 1.1cqw; background: linear-gradient(180deg, #cdd1d5, #c0c5ca); box-shadow: inset 0 0 0 1px rgb(0 0 0 / .13), inset 0 1px 0 rgb(255 255 255 / .5); }
.mbp__lip { position: absolute; left: -1.2cqw; right: -1.2cqw; top: 100%; height: 1.25cqw; transform: translateZ(var(--d)); border-radius: 0 0 1.6cqw 1.6cqw / 0 0 1.25cqw 1.25cqw; background: linear-gradient(180deg, #e6e9ec 0%, #aab0b6 45%, #70777e 100%); }
.mbp__lip::after { content: ""; position: absolute; left: 50%; top: 0; width: 15cqw; height: 58%; translate: -50% 0; border-radius: 0 0 2cqw 2cqw; background: linear-gradient(180deg, #7b828a, #a5abb1); }
.mbp__shadow { position: absolute; left: 2%; right: 2%; bottom: 0; height: 13%; border-radius: 50%; background: radial-gradient(closest-side, rgb(0 0 0 / .9), transparent); filter: blur(12px); z-index: -1; }
.mbp__light { position: absolute; left: 8%; right: 8%; top: 6%; bottom: 30%; z-index: -2; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--acc) 40%, transparent), transparent); filter: blur(44px); opacity: 0; transition: opacity 1.2s, background .8s; }
.mbp.is-open .mbp__light { opacity: .9; }
.mbp__hint { position: absolute; z-index: 5; right: 1.6cqw; bottom: 1.6cqw; padding: .7cqw 1.4cqw; border-radius: 99px; font: 500 max(9px, 1.5cqw)/1 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: #e9ece8; background: rgb(11 13 12 / .72); box-shadow: inset 0 0 0 1px rgb(159 203 173 / .5); pointer-events: none; transition: opacity .3s; }
.mbp__hint.is-off { opacity: 0; }
@media (hover: none) { .mbp__hint { display: none; } }
/* Texto del proyecto: lo que le dolía y cómo se resolvió */
.showcase__pain { margin: 18px 0 0; display: grid; gap: 12px; animation: sc-in .6s .05s cubic-bezier(.2,.8,.2,1) both; }
.showcase__pain div { padding-left: 16px; border-left: 2px solid rgb(154 163 157 / .25); }
.showcase__pain div + div { border-left-color: var(--p-accent); }
.showcase__pain dt { font: 500 12px/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--p-muted); }
.showcase__pain div + div dt { color: var(--p-accent); }
.showcase__pain dd { margin: 7px 0 0; font-size: 17px; line-height: 1.45; color: var(--p-ink); max-width: 44ch; }
.showcase__pain div + div dd { color: #c9ced4; font-size: 16px; }
.showcase__name { margin-top: 12px; }
@media (max-width: 1023px) {
  .showcase { grid-template-columns: minmax(0, 1fr); grid-template-areas: "stage" "text" "tabs"; }
  .showcase__stage { padding-inline: 6%; overflow: hidden; }
  .showcase__tabs { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
  .showcase__tab { flex: none; }
}
@media (prefers-reduced-motion: reduce) { .mbp__lid, .mbp__tilt { transition: none; } .mbp__view, .showcase__name { animation: none; } }

/* Quién soy: chispas bajo el nombre (componente Sparkles) */
.about__spark { position: relative; width: min(520px, 100%); height: 64px; margin: 8px 0 -34px; -webkit-mask: radial-gradient(60% 100% at 30% 0%, #000 20%, transparent 85%); mask: radial-gradient(60% 100% at 30% 0%, #000 20%, transparent 85%); }
.about__beam { position: absolute; top: 0; left: 4%; width: 62%; height: 2px; background: linear-gradient(90deg, transparent, #9fcbad, transparent); filter: blur(2px); }
.about__beam--wide { height: 1px; filter: none; }
.about__beam--core-wide { left: 18%; width: 30%; height: 5px; background: linear-gradient(90deg, transparent, #c9dfcf, transparent); filter: blur(3px); }
.about__beam--core { left: 18%; width: 30%; height: 1px; background: linear-gradient(90deg, transparent, #e6f0e9, transparent); filter: none; }
.about__particles { position: absolute; inset: 0; }

/* Cierre: hilos etéreos que convergen (Gateway Flow) detrás del contacto */
footer#contact { position: relative; isolation: isolate; }
.closing__flow { position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .9; -webkit-mask: radial-gradient(120% 90% at 50% 42%, #000 40%, transparent 85%); mask: radial-gradient(120% 90% at 50% 42%, #000 40%, transparent 85%); }

/* Lo que no se ve: una lámpara verde se enciende sobre el título (componente Lamp, en CSS) */
.hidden__head { position: relative; isolation: isolate; text-align: center; padding-top: 96px; }
.hidden__head > :not(.lamp) { position: relative; z-index: 1; }
.hidden__head .hidden__lead { margin-left: auto; margin-right: auto; }
.hidden__head h2 { font-size: clamp(44px, 5.4vw, 80px); line-height: 1; }
.lamp { position: absolute; z-index: 0; left: 50%; top: 0; width: min(1000px, 100%); height: 340px; translate: -50% 0; pointer-events: none; }
.lamp__bar { position: absolute; left: 50%; top: 0; width: 15rem; height: 2px; translate: -50% 0; border-radius: 2px; background: #b2d6bd; box-shadow: 0 0 8px #9fcbad, 0 0 22px rgb(159 203 173 / .8); transition: width .9s .25s ease-in-out; }
.lamp__beam { position: absolute; left: 50%; top: 1px; width: 56rem; max-width: 100%; height: 300px; translate: -50% 0; transform: scaleX(.5); transform-origin: 50% 0; opacity: .45; clip-path: polygon(33% 0, 67% 0, 100% 100%, 0 100%); background: linear-gradient(180deg, rgb(159 203 173 / .42) 0%, rgb(159 203 173 / .14) 45%, transparent 85%); -webkit-mask: radial-gradient(70% 100% at 50% 0%, #000 35%, transparent 80%); mask: radial-gradient(70% 100% at 50% 0%, #000 35%, transparent 80%); filter: blur(12px); transition: transform .9s .25s ease-in-out, opacity .9s .25s; }
.lamp__glow { position: absolute; left: 50%; top: -60px; width: 28rem; max-width: 90%; height: 9rem; translate: -50% 0; border-radius: 50%; background: #9fcbad; opacity: .22; filter: blur(48px); transition: opacity .9s .25s; }
.lamp__core { position: absolute; left: 50%; top: -40px; width: 8rem; height: 6rem; translate: -50% 0; border-radius: 50%; background: #b2d6bd; opacity: .35; filter: blur(28px); transition: width .9s .25s ease-in-out, opacity .9s .25s; }
.lamp.is-lit .lamp__bar { width: 30rem; max-width: 80%; }
.lamp.is-lit .lamp__beam { transform: scaleX(1); opacity: 1; }
.lamp.is-lit .lamp__glow { opacity: .5; }
.lamp.is-lit .lamp__core { width: 16rem; opacity: .7; }
@media (prefers-reduced-motion: reduce) { .lamp * { transition: none !important; } }

/* Servicios: lista numerada que se ilumina en plateado al pasar el mouse (idea del portafolio de referencia) */
:is(main, hx-stack) > section#servicios { height: auto; min-height: 100svh; }
:is(main, hx-stack) > section#servicios > .wrap { height: auto; }
.svc__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 48px; }
.svc__head h2 { margin: 0; font-size: clamp(40px, 4.6vw, 68px); line-height: 1; }
.svc__lead { margin: 0; max-width: 38ch; font-size: 18px; line-height: 1.5; color: var(--p-muted); }
.svc__list { list-style: none; margin: 30px 0 0; padding: 0; border-top: 1px solid rgb(154 163 157 / .18); counter-reset: none; }
.svc__list li { border-bottom: 1px solid rgb(154 163 157 / .18); }
.svc__row { position: relative; isolation: isolate; display: grid; grid-template-columns: 56px minmax(0, 1fr) minmax(0, 1.25fr) 40px; align-items: center; gap: 24px; padding: 17px 20px; color: var(--p-ink); text-decoration: none; overflow: hidden; }
.svc__row::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, #e9ece8 0%, #cfd5db 55%, #b7bec5 100%); transform: scaleY(0); transform-origin: 50% 100%; transition: transform .45s cubic-bezier(.2,.8,.2,1); }
.svc__n { font: 500 14px/1 var(--font-mono); color: var(--p-accent); transition: color .3s; }
.svc__t { font: var(--display-weight, 500) clamp(22px, 2.1vw, 30px)/1.1 var(--font-display); letter-spacing: -.01em; transition: color .3s, translate .45s cubic-bezier(.2,.8,.2,1); }
.svc__d { font-size: 16px; line-height: 1.5; color: var(--p-muted); transition: color .3s; }
.svc__go { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgb(154 163 157 / .3); color: var(--p-ink); transition: background .3s, color .3s, rotate .45s, box-shadow .3s; }
@media (hover: hover) and (pointer: fine) {
  .svc__row:hover::before, .svc__row:focus-visible::before { transform: scaleY(1); }
  .svc__row:hover .svc__t, .svc__row:focus-visible .svc__t { color: #0b0d0c; translate: 8px 0; }
  .svc__row:hover .svc__d, .svc__row:focus-visible .svc__d { color: #2b3036; }
  .svc__row:hover .svc__n, .svc__row:focus-visible .svc__n { color: #0b7a3e; }
  .svc__row:hover .svc__go, .svc__row:focus-visible .svc__go { background: #0b0d0c; color: #9fcbad; box-shadow: none; rotate: 45deg; }
}
.svc__row:focus-visible { outline: 2px solid var(--p-accent); outline-offset: -2px; }
.svc__cta { flex: none; }
.svc__head { align-items: center; } .svc__head h2 { flex: 1 1 520px; } .svc__lead { flex: 0 1 34ch; }
@media screen and (min-width: 1280px) and (hover: hover) and (pointer: fine) { .hx #servicios { --padt: 100px; } }
@media (max-width: 899px) {
  .svc__row { grid-template-columns: 40px minmax(0, 1fr) 36px; grid-template-areas: "n t go" ". d d"; gap: 6px 14px; padding: 20px 4px; }
  .svc__n { grid-area: n; } .svc__t { grid-area: t; } .svc__d { grid-area: d; font-size: 15.5px; } .svc__go { grid-area: go; width: 36px; height: 36px; }
}
@media (prefers-reduced-motion: reduce) { .svc__row::before, .svc__t, .svc__go { transition: none; } }

/* Tarifas: tres paquetes de ejemplo con el precio que da el cotizador */

/* El aro giratorio de la foto no debe ensanchar la página en celular (su caja crece al rotar) */
:is(main, hx-stack) > section#cristian { overflow-x: clip; }
/* La sombra detrás del título del inicio es más ancha que la pantalla en celular: se recorta para no ensanchar la página */
:is(main, hx-stack) > section.hero { overflow-x: clip; }

/* Quién soy: dos párrafos de historia y enlace a TikTok (la marca personal) */
.about__bio + .about__bio { margin-top: 12px; }
.about__tiktok { display: inline-flex; align-items: center; gap: 8px; padding: 10px 4px; font-size: 15px; font-weight: 500; color: var(--p-muted); text-decoration: none; transition: color .2s; }
.about__tiktok:hover { color: var(--p-accent); }
.about__text .btn-row { align-items: center; flex-wrap: wrap; }
.about__skills li { padding: 13px 16px; gap: 4px; }
.about__skills span { font-size: 14.5px; }
.about__bio { font-size: 17px; line-height: 1.55; max-width: 64ch; }
/* Con la historia más larga, las habilidades pasan a una fila de etiquetas (la explicación ya está en el texto) */
.about__skills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.about__skills li { display: block; padding: 9px 14px; border-radius: 999px; }
.about__skills li:hover { translate: none; }
.about__skills b { font-size: 15px; font-weight: 500; }
.about__skills span { display: none; }
.about__quote { margin-top: 20px; }
.about__bio { margin-top: 18px; }
.about__text .btn-row { margin-top: 22px; }
@media screen and (min-width: 1280px) and (hover: hover) and (pointer: fine) { .hx #cristian { --padt: 98px; } }

/* Caso: antes (una línea) → lo que tiene ahora (cada cosa con una línea de qué hace) → lo que controla desde su panel */
.cs-before { margin: 0 0 40px; max-width: 60ch; display: grid; gap: 10px; font: var(--display-weight, 500) clamp(22px, 2.2vw, 30px)/1.3 var(--font-display); color: var(--p-ink); }
.cs-before b { font: 600 12.5px/1 var(--font-mono-site, var(--font-mono)), ui-monospace, monospace; letter-spacing: .12em; text-transform: uppercase; color: #8a949c; }
.case-story h2 { margin: 0 0 22px; font-size: clamp(28px, 3vw, 42px); line-height: 1.05; }
.cs-now { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 12px; } /* 3 o 4 columnas según cuántas cosas tenga: filas completas */
.cs-now li { display: grid; align-content: start; gap: 8px; padding: 20px 22px; border-radius: 16px; background: var(--p-surface); box-shadow: inset 0 0 0 1px rgb(154 163 157 / .14); transition: box-shadow .25s, translate .25s; }
.cs-now li:hover { box-shadow: inset 0 0 0 1px rgb(159 203 173 / .4); translate: 0 -2px; }
.cs-now h3 { margin: 0; display: flex; gap: 10px; align-items: baseline; font: 600 17px/1.3 var(--font-text); color: var(--p-ink); }
.cs-now h3::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--p-accent); box-shadow: 0 0 10px rgb(159 203 173 / .6); translate: 0 -2px; }
.cs-now p { margin: 0; font-size: 15px; line-height: 1.5; color: #b9c0c7; }
@media (max-width: 1023px) { .cs-now { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) { .cs-now { grid-template-columns: minmax(0, 1fr); } .cs-now li { padding: 16px 18px; } }
.case-panel { margin-top: 28px; padding: 26px; border-radius: 18px; background: linear-gradient(135deg, #0d1a13, var(--p-surface) 65%); box-shadow: inset 0 0 0 1px rgb(159 203 173 / .3); }
.case-panel h3 { margin: 0 0 16px; font-size: 22px; }
.case-panel ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 22px; }
.case-panel li { position: relative; padding-left: 26px; font-size: 16px; line-height: 1.4; color: var(--p-ink); }
.case-panel li::before { content: ""; position: absolute; left: 0; top: .28em; width: 15px; height: 15px; border-radius: 50%; background: rgb(159 203 173 / .16); box-shadow: inset 0 0 0 1.5px var(--p-accent); }
.case-panel li::after { content: ""; position: absolute; left: 4.5px; top: calc(.28em + 4px); width: 6px; height: 3.5px; border-left: 1.6px solid var(--p-accent); border-bottom: 1.6px solid var(--p-accent); rotate: -45deg; }
@media (max-width: 899px) { .case-panel ul { grid-template-columns: minmax(0, 1fr); } }
/* En pantallas táctiles la captura se desplaza sola: el dedo sigue moviendo la página, no queda atrapado en el portátil */
@media (hover: none), (pointer: coarse) { .mbp__view { pointer-events: none; } .mbp__hint { display: none; } }

/* MacBook Pro en negro espacial: cuerpo grafito oscuro con filos de luz para que se recorte sobre el fondo negro,
   marco de pantalla grueso y redondeado (como el dispositivo de la portada de SubastaYA) */
.mbp__front { padding: 1.25cqw 1.25cqw 1.5cqw; border-radius: 3cqw 3cqw .6cqw .6cqw; background: linear-gradient(180deg, #3a3d42 0%, #1d1f22 100%); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .32), inset 0 0 0 2.5px #0a0b0c, 0 0 0 1px rgb(0 0 0 / .6), 0 -1px 0 0 rgb(255 255 255 / .28); }
.mbp__back { border-radius: 3cqw 3cqw .6cqw .6cqw; background: linear-gradient(155deg, #34373c 0%, #17191c 55%, #2a2d31 100%); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .2); }
.mbp__display { border-radius: 2cqw 2cqw .35cqw .35cqw; box-shadow: 0 0 0 1px #000, 0 0 0 2px rgb(255 255 255 / .05); }
.mbp__base { background: linear-gradient(180deg, #26282c 0%, #383b40 9%, #2f3236 60%, #202226 100%); box-shadow: inset 0 1px 0 rgb(255 255 255 / .42), inset 0 0 0 1px rgb(255 255 255 / .16), inset 0 -2cqw 3cqw rgb(0 0 0 / .3); }
.mbp__hinge { background: linear-gradient(180deg, #0b0d0c, #17191c); }
.mbp__grill { opacity: .5; background-image: radial-gradient(circle, #0b0d0c 36%, transparent 40%); }
.mbp__keys { background: #0b0d0c; box-shadow: inset 0 0 0 1px #000, 0 1px 0 rgb(255 255 255 / .12); }
.mbp__keys i { background: linear-gradient(180deg, #232529, #131416); box-shadow: inset 0 1px 0 rgb(255 255 255 / .13), inset 0 -1px 0 rgb(0 0 0 / .6); }
.mbp__keys > div.is-fn i:last-child { background: #0a0b0c; box-shadow: inset 0 0 0 1px #33373b; }
.mbp__pad { background: linear-gradient(180deg, #2b2e32, #232629); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .12), inset 0 1px 0 rgb(255 255 255 / .1), 0 0 0 1px rgb(0 0 0 / .5); }
.mbp__lip { background: linear-gradient(180deg, #55595f 0%, #24262a 40%, #0b0c0d 100%); }
.mbp__lip::after { background: linear-gradient(180deg, #0b0c0d, #2a2d31); }
.mbp__shadow { background: radial-gradient(closest-side, rgb(0 0 0 / .95), transparent); }
/* luz de contorno del color del proyecto, para que el equipo negro no se pierda */
.mbp__light { left: 0; right: 0; top: 0; bottom: 18%; filter: blur(52px); background: radial-gradient(closest-side, color-mix(in srgb, var(--acc) 46%, transparent), transparent); }
.mbp.is-open .mbp__light { opacity: 1; }
.mbp__tilt::after { content: ""; position: absolute; left: 6%; right: 6%; top: 100%; height: 1px; transform: translateZ(var(--d)) translateY(1.3cqw); background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--acc) 70%, #fff) 50%, transparent); opacity: .5; filter: blur(.5px); }

/* MacBook Pro negro, afinado con las fotos de referencia: marco negro fino y parejo con filo metálico mínimo,
   muesca pequeña en píldora, teclas con sus leyendas blancas, parlantes altos a los lados y trackpad grande */
.mbp { --d: 45cqw; }
.mbp__front { padding: .28cqw; border-radius: 2.5cqw 2.5cqw .7cqw .7cqw; background: linear-gradient(180deg, #4a4e54 0%, #24262a 100%); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .28), 0 0 0 1px rgb(0 0 0 / .7); }
.mbp__back { border-radius: 2.5cqw 2.5cqw .7cqw .7cqw; }
.mbp__display { border: .78cqw solid #000; border-bottom-width: .95cqw; border-radius: 2.25cqw 2.25cqw .5cqw .5cqw; box-shadow: none; background: #000; }
.mbp__display > :first-child + .mbp__chrome, .mbp__chrome { border-radius: 1.45cqw 1.45cqw 0 0; }
.mbp__view { border-radius: 0 0 .25cqw .25cqw; }
.mbp__notch { top: .3cqw; width: 5.2cqw; height: 1.45cqw; border-radius: 99px; box-shadow: 0 0 0 .1cqw rgb(255 255 255 / .04); }
.mbp__notch i { width: .5cqw; height: .5cqw; }
.mbp__chrome { height: 4.9cqw; padding: 2.2cqw 1.6cqw 0; }
/* base: aluminio negro anodizado con un brillo suave que cruza de izquierda a derecha */
.mbp__base { left: -.9cqw; right: -.9cqw; border-radius: .6cqw .6cqw 2.6cqw 2.6cqw; background: linear-gradient(100deg, rgb(255 255 255 / 0) 30%, rgb(255 255 255 / .05) 48%, rgb(255 255 255 / 0) 66%), linear-gradient(180deg, #232529 0%, #33363b 7%, #2c2f33 55%, #1e2023 100%); box-shadow: inset 0 1px 0 rgb(255 255 255 / .45), inset 1px 0 0 rgb(255 255 255 / .14), inset -1px 0 0 rgb(255 255 255 / .14), inset 0 -2.4cqw 3.4cqw rgb(0 0 0 / .32); }
.mbp__hinge { left: 9%; right: 9%; height: 1.7cqw; border-radius: 0 0 .7cqw .7cqw; background: linear-gradient(180deg, #000, #111214 70%, #26282c); box-shadow: 0 1px 0 rgb(255 255 255 / .12); }
.mbp__keys { left: 10.4cqw; right: 10.4cqw; top: 4.4cqw; height: 21.2cqw; padding: .6cqw; gap: .42cqw; border-radius: 1.15cqw; background: #020203; box-shadow: inset 0 0 0 1px #000, 0 1px 0 rgb(255 255 255 / .16), 0 0 0 1px rgb(0 0 0 / .5); }
.mbp__keys > div { gap: .42cqw; }
.mbp__keys > div.is-fn { flex: .56 1 0; }
.mbp__keys i { display: grid; place-items: center; min-width: 0; overflow: hidden; border-radius: .5cqw; background: linear-gradient(180deg, #1d1f22, #101113); box-shadow: inset 0 1px 0 rgb(255 255 255 / .12), inset 0 -1px 0 rgb(0 0 0 / .7), 0 .12cqw .2cqw rgb(0 0 0 / .6); font: 500 1.02cqw/1 var(--font-sans, system-ui), system-ui, sans-serif; font-style: normal; letter-spacing: 0; color: rgb(236 240 244 / .86); text-shadow: 0 0 .5cqw rgb(255 255 255 / .35); white-space: nowrap; user-select: none; }
.mbp__keys > div.is-fn i { font-size: .62cqw; color: rgb(236 240 244 / .7); }
.mbp__keys > div.is-fn i:last-child { border-radius: 50%; flex: 0 0 auto !important; aspect-ratio: 1; height: 100%; background: radial-gradient(circle at 50% 40%, #17191b, #060607); box-shadow: inset 0 0 0 1px #3a3e43, inset 0 0 .4cqw #000; }
.mbp__keys > div:last-child i { font-size: .82cqw; }
.mbp__grill { top: 4.6cqw; width: 6.2cqw; height: 20.8cqw; opacity: .7; background-image: radial-gradient(circle, #060607 38%, transparent 42%); background-size: .5cqw .5cqw; -webkit-mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.mbp__grill--l { left: 2.8cqw; } .mbp__grill--r { right: 2.8cqw; }
.mbp__pad { left: 30.5%; right: 30.5%; top: 27.6cqw; bottom: 1.5cqw; border-radius: 1.3cqw; background: linear-gradient(180deg, #2f3236, #27292d); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .13), 0 0 0 1px rgb(0 0 0 / .55), inset 0 1px 0 rgb(255 255 255 / .1); }
.mbp__lip { left: -.9cqw; right: -.9cqw; height: 1.35cqw; border-radius: 0 0 2cqw 2cqw / 0 0 1.35cqw 1.35cqw; background: linear-gradient(180deg, #6b7077 0%, #2b2e32 28%, #0c0d0e 100%); }
.mbp__lip::after { width: 13cqw; height: 52%; background: linear-gradient(180deg, #08090a, #303338); box-shadow: inset 0 -1px 0 rgb(255 255 255 / .18); }
.mbp__tilt { transform: rotateX(calc(-21deg + var(--ty) * -4deg)) rotateY(calc(var(--tx) * 9deg)); margin-bottom: 23%; }
.mbp.is-open .mbp__lid { transform: rotateX(17deg); }
.showcase { --lw: min(590px, 100%); }

/* Pantalla de la MacBook: ahora reproduce la grabación real de cada sitio */
.mbp__view { overflow: hidden; cursor: pointer; }
.mbp__view video { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; background: #0b0c0d; }
.mbp__hint { opacity: 0; }
.mbp__display:hover .mbp__hint, .mbp__hint.is-paused { opacity: 1; }
@media (hover: none), (pointer: coarse) { .mbp__view { pointer-events: auto; } .mbp__hint.is-paused { display: block; } }

/* Inicio con Cristian: texto a la izquierda y su foto a la derecha, con su nombre y tres datos de confianza */
.hero__me { position: relative; margin: 0; justify-self: center; width: min(400px, 100%); }
.hero__me-photo { position: relative; display: block; aspect-ratio: 1; border-radius: 50%; }
.hero__me-photo img { position: relative; z-index: 1; display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px rgb(159 203 173 / .4), 0 30px 90px -30px rgb(159 203 173 / .55); transition: scale .5s cubic-bezier(.2,.8,.2,1); }
.hero__me-photo:hover img { scale: 1.02; }
.hero__me-name { position: relative; z-index: 3; display: grid; gap: 4px; justify-items: center; width: max-content; max-width: 100%; margin: -26px auto 0; padding: 12px 20px; border-radius: 16px; text-align: center; background: rgb(12 14 16 / .9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: inset 0 0 0 1px rgb(159 203 173 / .35), 0 14px 40px -14px rgb(0 0 0 / .9); }
.hero__me-name b { font: var(--display-weight, 500) 20px/1.1 var(--font-display); color: var(--p-ink); }
.hero__me-name span { font-size: 13.5px; color: var(--p-muted); }
.hero__chip { position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 8px; padding: 9px 13px; border-radius: 999px; white-space: nowrap; font-size: 13.5px; font-weight: 500; color: var(--p-ink); text-decoration: none; background: rgb(12 14 16 / .86); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px rgb(154 163 157 / .22), 0 10px 30px -12px rgb(0 0 0 / .9); animation: hero-float 6s ease-in-out infinite; }
.hero__chip i { width: 7px; height: 7px; border-radius: 50%; background: var(--p-accent); box-shadow: 0 0 10px var(--p-accent); }
.hero__chip--a { left: -34px; top: 13%; }
.hero__chip--b { right: -78px; top: 60%; animation-delay: -2s; }
.hero__chip--c { left: -48px; bottom: 26%; animation-delay: -4s; color: var(--p-muted); }
.hero__chip--c:hover { color: var(--p-accent); box-shadow: inset 0 0 0 1px rgb(159 203 173 / .5); }
.hero__chip--a { cursor: pointer; transition: box-shadow .2s, color .2s; }
.hero__chip--a:hover, .hero__chip--a:focus-visible { color: var(--p-accent); box-shadow: inset 0 0 0 1px rgb(159 203 173 / .5); }
@keyframes hero-float { 50% { translate: 0 -7px; } }
@media (min-width: 1024px) {
  .hero--centred > .wrap > .hero-text { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); grid-template-areas: "c me" "win win"; column-gap: clamp(40px, 5vw, 88px); align-items: center; grid-template-rows: auto minmax(0, 1fr); }
  .hero--centred .hero__c { grid-area: c; justify-items: start; text-align: left; max-width: none; margin-inline: 0; }
  .hero--centred .hero__c h1 { max-width: 13ch; font-size: clamp(52px, 5.4vw, 84px); }
  .hero--centred .hero__c .btn-row { justify-content: flex-start; }
  .hero--centred .hero__c .hero__assure { text-align: left; }
  .hero__me { grid-area: me; }
  .hero--centred .hero__window { grid-area: win; margin-top: 34px; }
  :is(main, hx-stack) > section.hero > .wrap::before { left: 30%; width: min(900px, 80%); }
}
@media (max-width: 1023px) { .hero__me { order: -1; width: min(240px, 62vw); margin: 4px auto 30px; } .hero__me-name b { font-size: 18px; } .hero__me-name span { font-size: 12.5px; } .hero__chip--a { left: -8px; } .hero__chip--b { right: -10px; } .hero__chip--c { left: -4px; } .hero__chip { font-size: 12.5px; padding: 8px 11px; } }
@media (prefers-reduced-motion: reduce) { .hero__chip { animation: none; } }
/* En celular las etiquetas flotantes tapaban la cara: queda sólo una, arriba y por fuera del rostro */
@media (max-width: 1023px) { .hero__chip--b, .hero__chip--c { display: none; } .hero__chip--a { left: 50%; top: -12px; translate: -50% 0; animation: none; } }

/* Retrato en mosaico: el lienzo va encima de la foto (que queda de respaldo) y se sale del círculo para que las fichas vuelen */
.hero__mosaic { position: absolute; z-index: 2; pointer-events: none; max-width: none; }
.hero__me-photo.has-mosaic img { opacity: 0; }
.hero__me-photo.has-mosaic { background: radial-gradient(closest-side, rgb(159 203 173 / .07), transparent 70%); }
:is(main, hx-stack) > section.hero { overflow-x: clip; }

/* Entrada, nivel 2: del punto salen las miniaturas de los sitios y píxeles verdes; un brillo cruza la palabra */
.di__burst { position: absolute; inset: 0; perspective: 900px; pointer-events: none; }
.di__tile { position: absolute; left: 50%; top: 50%; width: clamp(110px, 15vmin, 190px); aspect-ratio: 16 / 10; opacity: 0; border-radius: 10px; background: #111 center top / cover no-repeat; box-shadow: 0 0 0 1px rgb(255 255 255 / .16), 0 18px 50px -18px rgb(0 0 0 / .9), 0 0 34px -10px rgb(159 203 173 / .5); will-change: transform, opacity; backface-visibility: hidden; }
.di__px { position: absolute; left: 50%; top: 50%; opacity: 0; background: #9fcbad; box-shadow: 0 0 10px rgb(159 203 173 / .9); will-change: transform, opacity; }
.di__px:nth-child(3n) { background: #cfd5db; box-shadow: 0 0 8px rgb(207 213 219 / .7); }
.di__word { z-index: 2; overflow: hidden; padding: .06em .08em; }
.di__shine { position: absolute; inset: 0; opacity: 0; pointer-events: none; mix-blend-mode: overlay; background: linear-gradient(90deg, transparent 30%, rgb(255 255 255 / .95) 50%, transparent 70%); }
.di__rule { position: relative; z-index: 2; display: block; width: min(420px, 60vw); height: 2px; opacity: 0; border-radius: 2px; background: linear-gradient(90deg, transparent, #9fcbad, transparent); box-shadow: 0 0 14px rgb(159 203 173 / .8); }
.di__line { z-index: 2; }
.di__dot, .di__ring { z-index: 1; }

/* ── Navegación por pestañas sin sorpresas: el scroll vertical se queda dentro de la pestaña ───────────── */
@media screen and (min-width: 1280px) and (hover: hover) and (pointer: fine) {
  /* la pista ya no se arrastra con el trackpad: sólo la mueven los botones, las flechas y el menú */
  .hx { overflow-x: hidden; scroll-snap-type: none; }
  /* botones numerados 1…11 en la barra inferior */
  .hx-ui__dots { gap: 4px; }
  .hx-ui__dot { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: rgb(255 255 255 / .06); color: var(--p-muted); font: 600 12px/1 var(--font-mono); transition: background .2s, color .2s, scale .15s, box-shadow .25s; }
  .hx-ui__dot:hover { background: rgb(255 255 255 / .16); color: var(--p-ink); scale: 1.08; }
  .hx-ui__dot[aria-current="true"] { width: 26px; background: var(--p-accent); color: #0b0d0c; box-shadow: 0 0 14px rgb(159 203 173 / .65); }
  .hx-ui__label { min-width: 0; padding: 0 12px 0 4px; flex: 1 1 auto; }
  /* si la persona sigue haciendo scroll en el borde, late el botón por donde se sigue */
  .hx-ui[data-nudge="next"] .hx-ui__btn:last-of-type, .hx-ui[data-nudge="prev"] .hx-ui__btn:first-of-type { animation: hx-nudge .8s ease-out; }
  @keyframes hx-nudge { 0%, 100% { scale: 1; background: rgb(255 255 255 / .06); } 35% { scale: 1.28; background: var(--p-accent); color: #0b0d0c; box-shadow: 0 0 22px rgb(159 203 173 / .8); } }

  /* Inicio con tres secciones hacia abajo: presentación, ejemplo del asesor y mapa de pestañas */
  .hx main > :is(section.hero, #_) { overflow-x: hidden; overflow-y: auto; scroll-behavior: smooth; }
  .hx main > section.hero::after { content: ""; display: block; position: static; inset: auto; height: 76px; background: none; }
  .hx main > :is(section.hero, #_) > .wrap { height: auto; min-height: 0; }
  .hero--centred > .wrap > .hero-text { grid-template-areas: "c me" "dh dh" "win win" "map map"; grid-template-rows: minmax(calc(100svh - 120px - 96px), auto) auto auto auto; }
  .hero--centred .hero__window { flex: none; height: clamp(420px, 56svh, 540px); min-height: 0; margin-top: 28px; }
}

/* Inicio, segunda y tercera sección (también en celular, una debajo de otra) */
.hero__eyebrow { margin: 0 0 12px; font: 500 13px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--p-accent); }
.hero__demo-head { grid-area: dh; margin-top: clamp(56px, 9svh, 110px); text-align: center; scroll-margin-top: 96px; }
.hero__demo-head h2, .hero__map h2 { margin: 0; font-size: clamp(30px, 3.6vw, 52px); line-height: 1.05; }
.hero__demo-head > p:last-child { margin: 14px auto 0; max-width: 56ch; font-size: 18px; line-height: 1.5; color: var(--p-muted); }
.hero__map { grid-area: map; margin-top: clamp(64px, 10svh, 120px); scroll-margin-top: 96px; }
.hero__tabs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-top: 28px; }
.hero__tab { position: relative; display: grid; gap: 6px; align-content: start; min-height: 128px; padding: 18px 18px 16px; border-radius: 16px; color: var(--p-ink); text-decoration: none; background: var(--p-surface); box-shadow: inset 0 0 0 1px rgb(154 163 157 / .14); transition: box-shadow .25s, translate .25s, background .25s; }
.hero__tab-n { font: 500 13px/1 var(--font-mono); color: var(--p-accent); }
.hero__tab b { margin-top: 10px; font: var(--display-weight, 500) 20px/1.15 var(--font-display); }
.hero__tab small { font-size: 14px; line-height: 1.4; color: var(--p-muted); }
.hero__tab svg { position: absolute; right: 14px; top: 14px; color: var(--p-muted); transition: translate .25s, color .25s; }
.hero__tab:hover { translate: 0 -3px; background: #131715; box-shadow: inset 0 0 0 1px rgb(159 203 173 / .5), 0 18px 40px -22px rgb(159 203 173 / .5); }
.hero__tab:hover svg { translate: 2px -2px; color: var(--p-accent); }
.hero__cue { display: none; }
@media screen and (min-width: 1280px) and (hover: hover) and (pointer: fine) {
  .hero__cue { display: inline-flex; align-items: center; gap: 10px; margin-top: 26px; font: 500 12px/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--p-muted); text-decoration: none; pointer-events: none; }
  .hero__cue i { width: 20px; height: 32px; border-radius: 12px; box-shadow: inset 0 0 0 1.5px rgb(154 163 157 / .5); position: relative; }
  .hero__cue i::after { content: ""; position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--p-accent); animation: hero-cue 1.6s ease-in-out infinite; }
  @keyframes hero-cue { 0% { translate: 0 0; opacity: 0; } 30% { opacity: 1; } 100% { translate: 0 10px; opacity: 0; } }
}
@media (max-width: 1023px) { .hero__tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); } .hero__tab { min-height: 0; } .hero__demo-head { margin-top: 48px; } .hero__map { margin-top: 56px; } }
@media (prefers-reduced-motion: reduce) { .hero__cue i::after { animation: none; } .hx main > :is(section.hero, #_) { scroll-behavior: auto; } }
/* Fuera del modo por pestañas (celular, tableta, portátiles táctiles) el inicio crece con su contenido */
:is(main, hx-stack) > section.hero { height: auto; min-height: 100svh; }
:is(main, hx-stack) > section.hero > .wrap { height: auto; }
@media (min-width: 1024px) {
  .hero--centred > .wrap > .hero-text { grid-template-areas: "c me" "dh dh" "win win" "map map"; grid-template-rows: auto auto auto auto; }
  .hero--centred .hero__window { flex: none; height: clamp(420px, 56svh, 540px); min-height: 0; margin-top: 28px; }
}
@media screen and (min-width: 1280px) and (hover: hover) and (pointer: fine) {
  .hero--centred > .wrap > .hero-text { grid-template-rows: minmax(calc(100svh - 120px - 30px), auto) auto auto auto; }
  .hero__demo-head { margin-top: 96px; }
}

/* Inicio: la foto de Cristian más grande */
.hero__me { width: min(540px, 100%); }
.hero__me-name { margin-top: -30px; padding: 14px 24px; }
.hero__me-name b { font-size: 23px; }
.hero__me-name span { font-size: 14.5px; }
.hero__chip { font-size: 14.5px; padding: 10px 15px; }
.hero__chip--a { left: -30px; top: 11%; }
.hero__chip--b { right: -44px; top: 62%; }
.hero__chip--c { left: -44px; bottom: 22%; }
@media (min-width: 1024px) {
  .hero--centred > .wrap > .hero-text { grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr); column-gap: clamp(32px, 4vw, 64px); }
  .hero--centred .hero__c h1 { font-size: clamp(48px, 5vw, 78px); }
}
@media (max-width: 1023px) { .hero__me { width: min(300px, 76vw); } .hero__me-name b { font-size: 19px; } .hero__me-name span { font-size: 13px; } .hero__chip { font-size: 12.5px; padding: 8px 11px; } }

/* ── Robot asesor (CSS + SVG). --s es el ancho del cuerpo; en .bot--head, el diámetro de la cabeza ───────── */
.bot { --s: 220px; --lx: 0; --ly: 0; position: relative; width: var(--s); height: calc(var(--s) * 1.58); flex: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.bot__shadow { position: absolute; left: -14%; right: -14%; bottom: -5%; height: 13%; border-radius: 50%; background: radial-gradient(closest-side, rgb(0 0 0 / .9), rgb(0 0 0 / .35) 55%, transparent), radial-gradient(closest-side, rgb(159 203 173 / .22), transparent 80%); filter: blur(calc(var(--s) * .03)); }
/* cuerpo: esfera de cerámica con luz principal, sombra propia, reflejo verde de la cabeza y motas nítidas */
.bot__body { position: absolute; left: 0; top: calc(var(--s) * .58); width: var(--s); height: var(--s); border-radius: 50%; overflow: hidden;
  background:
    radial-gradient(42% 26% at 50% 3%, rgb(159 203 173 / .3), transparent 100%),
    radial-gradient(circle at calc(33% - var(--lx) * 5%) calc(25% - var(--ly) * 4%), #fdfefe 0%, #eceff1 9%, #d3d8dc 26%, #aab1b8 48%, #767e87 70%, #474d54 88%, #2b3035 100%);
  box-shadow: inset 0 calc(var(--s) * -.06) calc(var(--s) * .12) rgb(4 8 10 / .55), inset 0 0 0 1px rgb(255 255 255 / .16), 0 calc(var(--s) * .03) calc(var(--s) * .08) rgb(0 0 0 / .5); }
.bot__body::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200' fill='%232a3036'%3E%3Ccircle cx='90.9' cy='111.5' r='1.4' fill-opacity='0.4'/%3E%3Ccircle cx='101.5' cy='116.8' r='0.9' fill-opacity='0.4'/%3E%3Ccircle cx='124.9' cy='156.3' r='0.7' fill-opacity='0.4'/%3E%3Ccircle cx='62.3' cy='21.4' r='2.6' fill-opacity='0.16'/%3E%3Ccircle cx='118.3' cy='80.1' r='1.4' fill-opacity='0.22'/%3E%3Ccircle cx='123.6' cy='163.7' r='0.7' fill-opacity='0.16'/%3E%3Ccircle cx='10.8' cy='172.9' r='1.9' fill-opacity='0.16'/%3E%3Ccircle cx='153.4' cy='66.6' r='1.9' fill-opacity='0.22'/%3E%3Ccircle cx='103.7' cy='126.9' r='1.4' fill-opacity='0.16'/%3E%3Ccircle cx='131.2' cy='91.8' r='1.1' fill-opacity='0.4'/%3E%3Ccircle cx='195.5' cy='195.2' r='0.7' fill-opacity='0.3'/%3E%3Ccircle cx='64.5' cy='48.1' r='1.1' fill-opacity='0.16'/%3E%3Ccircle cx='17.5' cy='151.1' r='1.4' fill-opacity='0.16'/%3E%3Ccircle cx='166.5' cy='78.2' r='0.7' fill-opacity='0.16'/%3E%3Ccircle cx='45.0' cy='182.0' r='0.7' fill-opacity='0.4'/%3E%3Ccircle cx='76.1' cy='140.1' r='1.4' fill-opacity='0.16'/%3E%3Ccircle cx='112.7' cy='42.1' r='2.6' fill-opacity='0.3'/%3E%3Ccircle cx='68.7' cy='63.8' r='0.7' fill-opacity='0.4'/%3E%3Ccircle cx='149.5' cy='26.7' r='0.9' fill-opacity='0.16'/%3E%3Ccircle cx='6.1' cy='93.3' r='1.4' fill-opacity='0.22'/%3E%3Ccircle cx='135.0' cy='40.2' r='1.9' fill-opacity='0.22'/%3E%3Ccircle cx='193.2' cy='151.7' r='1.4' fill-opacity='0.4'/%3E%3Ccircle cx='26.4' cy='84.8' r='0.9' fill-opacity='0.16'/%3E%3Ccircle cx='55.8' cy='190.4' r='1.9' fill-opacity='0.3'/%3E%3Ccircle cx='195.6' cy='7.8' r='0.9' fill-opacity='0.4'/%3E%3Ccircle cx='195.2' cy='119.6' r='1.9' fill-opacity='0.16'/%3E%3Ccircle cx='12.1' cy='32.1' r='1.4' fill-opacity='0.3'/%3E%3Ccircle cx='5.8' cy='121.2' r='1.1' fill-opacity='0.4'/%3E%3Ccircle cx='18.1' cy='21.3' r='1.9' fill-opacity='0.22'/%3E%3Ccircle cx='7.0' cy='74.8' r='1.9' fill-opacity='0.4'/%3E%3Ccircle cx='28.4' cy='116.8' r='1.9' fill-opacity='0.22'/%3E%3Ccircle cx='170.4' cy='39.1' r='0.9' fill-opacity='0.3'/%3E%3Ccircle cx='178.4' cy='161.0' r='0.9' fill-opacity='0.22'/%3E%3Ccircle cx='34.4' cy='124.8' r='1.9' fill-opacity='0.22'/%3E%3Ccircle cx='135.9' cy='78.5' r='1.4' fill-opacity='0.16'/%3E%3Ccircle cx='84.9' cy='23.9' r='0.7' fill-opacity='0.3'/%3E%3Ccircle cx='49.8' cy='139.3' r='1.1' fill-opacity='0.4'/%3E%3Ccircle cx='162.2' cy='118.5' r='1.1' fill-opacity='0.22'/%3E%3Ccircle cx='182.4' cy='191.6' r='0.9' fill-opacity='0.22'/%3E%3Ccircle cx='96.0' cy='129.5' r='1.9' fill-opacity='0.16'/%3E%3Ccircle cx='57.8' cy='180.1' r='0.9' fill-opacity='0.16'/%3E%3Ccircle cx='17.3' cy='83.0' r='0.9' fill-opacity='0.16'/%3E%3Ccircle cx='12.9' cy='58.1' r='1.9' fill-opacity='0.22'/%3E%3Ccircle cx='21.7' cy='30.6' r='1.4' fill-opacity='0.3'/%3E%3Ccircle cx='130.1' cy='136.7' r='1.9' fill-opacity='0.22'/%3E%3Ccircle cx='117.3' cy='181.3' r='1.4' fill-opacity='0.3'/%3E%3C/svg%3E") 0 0 / calc(var(--s) * .44) auto; -webkit-mask-image: radial-gradient(circle at 42% 38%, #000 30%, rgb(0 0 0 / .45) 62%, transparent 82%); mask-image: radial-gradient(circle at 42% 38%, #000 30%, rgb(0 0 0 / .45) 62%, transparent 82%); }
/* brillo especular y luz de contorno verde en el borde inferior */
.bot__body::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(15% 9% at calc(30% - var(--lx) * 5%) calc(18% - var(--ly) * 4%), rgb(255 255 255 / .95), rgb(255 255 255 / .25) 60%, transparent 100%), radial-gradient(70% 30% at 50% 106%, rgb(159 203 173 / .42), transparent 100%), radial-gradient(30% 60% at 104% 62%, rgb(159 203 173 / .16), transparent 100%); }
.bot__collar { position: absolute; left: 20%; top: calc(var(--s) * .555); width: 60%; height: calc(var(--s) * .12); border-radius: 50%; background: linear-gradient(180deg, #3a4046 0%, #15181b 48%, #0b0d0c 100%); box-shadow: 0 calc(var(--s) * .014) calc(var(--s) * .04) rgb(0 0 0 / .55), inset 0 1px 0 rgb(255 255 255 / .28), inset 0 calc(var(--s) * -.012) 0 rgb(159 203 173 / .65), 0 calc(var(--s) * .02) calc(var(--s) * .06) rgb(159 203 173 / .28); z-index: 2; }
.bot__head { position: absolute; z-index: 3; left: 15.5%; top: 0; width: 69%; aspect-ratio: 1; transform: translate(calc(var(--lx) * 5%), calc(var(--ly) * 3.5%)) rotate(calc(var(--lx) * 5deg)); animation: bot-float 5s ease-in-out infinite; }
.bot--head { height: var(--s); }
.bot--head .bot__head { left: 0; width: 100%; }
.bot__dome { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; background: radial-gradient(circle at 62% 30%, #3b4147 0%, #1d2124 42%, #08090a 100%); box-shadow: 0 0 0 calc(var(--s) * .008) rgb(159 203 173 / .55), 0 0 calc(var(--s) * .09) rgb(159 203 173 / .45), inset 0 0 calc(var(--s) * .05) calc(var(--s) * .012) rgb(159 203 173 / .5), inset 0 calc(var(--s) * -.04) calc(var(--s) * .08) rgb(0 0 0 / .6); }
.bot--head .bot__dome { box-shadow: 0 0 0 max(1.5px, calc(var(--s) * .02)) rgb(159 203 173 / .7), 0 0 calc(var(--s) * .22) rgb(159 203 173 / .5), inset 0 0 calc(var(--s) * .12) calc(var(--s) * .02) rgb(159 203 173 / .45); }
.bot__eyes { position: absolute; left: 50%; top: 66%; display: flex; gap: 13%; width: 46%; transform: translate(calc(-50% + var(--lx) * 34%), calc(-50% + var(--ly) * 26%)); }
.bot--head .bot__eyes { top: 58%; width: 52%; }
.bot__eyes svg { flex: 1; min-width: 0; overflow: visible; fill: none; stroke: #fff; stroke-width: 8; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 calc(var(--s) * .014) rgb(255 255 255 / .9)); transform-origin: 50% 50%; animation: bot-blink 3.4s infinite; }
.bot__eyes .bot__heart { fill: #d48a99; stroke: #d48a99; stroke-width: 2; }
.bot.is-love .bot__eyes svg { animation: bot-love .5s ease-in-out infinite alternate; filter: drop-shadow(0 0 calc(var(--s) * .03) rgb(255 61 115 / .9)); }
.bot__ear { position: absolute; z-index: -1; top: 46%; width: 21%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, #c9cdd1 0 34%, #fff 36% 68%, #dfe3e6 70%); box-shadow: 0 calc(var(--s) * .008) calc(var(--s) * .02) rgb(0 0 0 / .4); }
.bot__ear--l { left: -9.5%; } .bot__ear--r { right: -9.5%; }
.bot__ear i { position: absolute; left: 50%; bottom: 62%; width: max(1.5px, calc(var(--s) * .009)); height: 150%; margin-left: -.5px; border-radius: 2px; background: linear-gradient(180deg, #d9dde0, #8f959b); transform-origin: 50% 100%; rotate: -7deg; }
.bot__ear--r i { rotate: 7deg; }
.bot__ear i::after { content: ""; position: absolute; left: 50%; top: 0; width: max(4px, calc(var(--s) * .03)); aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; background: #d48a99; box-shadow: 0 0 calc(var(--s) * .04) #d48a99; }
.bot.is-talking .bot__ear i::after { animation: bot-tip .5s ease-in-out infinite alternate; }
.bot.is-talking .bot__head { animation: bot-talk .45s ease-in-out infinite alternate; }
@keyframes bot-float { 50% { translate: 0 -2.5%; } }
@keyframes bot-talk { to { translate: 0 -2%; } }
@keyframes bot-blink { 0%, 44%, 50%, 100% { transform: scaleY(1); } 47% { transform: scaleY(.08); } }
@keyframes bot-love { to { transform: scale(1.14); } }
@keyframes bot-tip { to { background: #b2d6bd; box-shadow: 0 0 calc(var(--s) * .07) #9fcbad; } }
@media (prefers-reduced-motion: reduce) { .bot__head, .bot__eyes svg, .bot__ear i::after { animation: none !important; } }

/* ── Inicio, sección 2: el asesor en su burbuja, con la conversación de ejemplo ─────────────────────────── */
.has-adz > .hero__demo-head, .has-adz > .hero__window { display: none !important; }
.adz-slot { grid-area: dh; margin-top: clamp(64px, 11svh, 120px); scroll-margin-top: 96px; }
.adz { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 540px); gap: clamp(20px, 3vw, 44px); align-items: end; }
.adz__copy { align-self: center; }
.adz__copy h2 { margin: 0; font-size: clamp(30px, 3.3vw, 48px); line-height: 1.06; }
.adz__lead { margin: 18px 0 0; max-width: 44ch; font-size: 18px; line-height: 1.55; color: var(--p-muted); }
.adz__does { list-style: none; margin: 22px 0 28px; padding: 0; display: grid; gap: 10px; }
.adz__does li { position: relative; padding-left: 28px; font-size: 17px; color: var(--p-ink); }
.adz__does li::before { content: ""; position: absolute; left: 0; top: .32em; width: 16px; height: 16px; border-radius: 50%; background: rgb(159 203 173 / .16); box-shadow: inset 0 0 0 1.5px var(--p-accent); }
.adz__does li::after { content: ""; position: absolute; left: 5px; top: calc(.32em + 4.5px); width: 6px; height: 3.5px; border-left: 1.6px solid var(--p-accent); border-bottom: 1.6px solid var(--p-accent); rotate: -45deg; }
.adz__mascot { padding-bottom: 26px; }
.adz__stage { min-width: 0; }
.adz__tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.adz__tabs button { padding: 9px 14px; border: 0; border-radius: 999px; background: rgb(255 255 255 / .05); color: var(--p-muted); font: 500 14px/1 var(--font-text, system-ui, sans-serif); cursor: pointer; box-shadow: inset 0 0 0 1px rgb(154 163 157 / .16); transition: background .2s, color .2s, box-shadow .2s; }
.adz__tabs button:hover { color: var(--p-ink); background: rgb(255 255 255 / .1); }
.adz__tabs button.is-on { color: #0b0d0c; background: var(--p-accent); box-shadow: 0 0 18px -4px rgb(159 203 173 / .7); }
/* la esquina de un sitio: barra del navegador, ventana del chat y la burbuja flotante */
.adz__site { position: relative; height: 640px; border-radius: 20px; overflow: hidden; background: radial-gradient(120% 90% at 85% 100%, rgb(159 203 173 / .13), transparent 60%), linear-gradient(180deg, #121517, #0a0c0d); box-shadow: inset 0 0 0 1px rgb(154 163 157 / .16), 0 40px 90px -50px rgb(159 203 173 / .45); }
.adz__sitebar { display: flex; align-items: center; gap: 12px; height: 38px; padding: 0 14px; border-bottom: 1px solid rgb(154 163 157 / .12); }
.adz__sitebar span { display: flex; gap: 6px; } .adz__sitebar span i { width: 9px; height: 9px; border-radius: 50%; background: #2c3136; }
.adz__sitebar b { margin: 0 auto; padding: 5px 14px; border-radius: 8px; background: rgb(255 255 255 / .05); font: 500 12.5px/1 var(--font-mono); color: var(--p-muted); translate: -18px 0; }
.adz__chat { position: absolute; right: 22px; bottom: 104px; top: 50px; width: min(410px, calc(100% - 44px)); display: flex; flex-direction: column; border-radius: 20px 20px 6px 20px; background: rgb(18 21 23 / .96); box-shadow: inset 0 0 0 1px rgb(159 203 173 / .28), 0 30px 60px -24px rgb(0 0 0 / .9); transform-origin: 92% 108%; animation: adz-pop .5s cubic-bezier(.2,1.2,.3,1) both; }
@keyframes adz-pop { from { opacity: 0; transform: scale(.6); } }
.adz__head { display: flex; align-items: center; gap: 10px; flex: none; padding: 11px 14px; border-bottom: 1px solid rgb(154 163 157 / .12); }
.adz__head > div { display: grid; gap: 3px; margin-right: auto; }
.adz__head b { font-size: 15px; color: var(--p-ink); }
.adz__head span { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--p-muted); }
.adz__head span i { width: 7px; height: 7px; border-radius: 50%; background: var(--p-accent); box-shadow: 0 0 8px var(--p-accent); }
.adz__log { flex: 1; min-height: 0; overflow-y: auto; scrollbar-width: none; display: flex; flex-direction: column; gap: 10px; padding: 14px; }
.adz__log::-webkit-scrollbar { display: none; }
.adz__row { display: grid; gap: 7px; max-width: 86%; animation: adz-in .35s cubic-bezier(.2,.9,.3,1) both; }
.adz__row--user { align-self: flex-end; justify-items: end; }
.adz__row--bot { align-self: flex-start; justify-items: start; }
@keyframes adz-in { from { opacity: 0; translate: 0 10px; scale: .96; } }
.adz__msg { margin: 0; padding: 10px 13px; font-size: 14.5px; line-height: 1.42; border-radius: 16px; }
.adz__row--user .adz__msg { background: #e9ece8; color: #0b0d0e; border-bottom-right-radius: 5px; }
.adz__row--bot .adz__msg { background: #1f2427; color: var(--p-ink); box-shadow: inset 0 0 0 1px rgb(154 163 157 / .14); border-bottom-left-radius: 5px; }
.adz__typing { display: inline-flex; gap: 5px; padding: 13px 14px; }
.adz__typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--p-accent); animation: adz-dot 1s ease-in-out infinite; }
.adz__typing i:nth-child(2) { animation-delay: .15s; } .adz__typing i:nth-child(3) { animation-delay: .3s; }
@keyframes adz-dot { 0%, 60%, 100% { translate: 0 0; opacity: .45; } 30% { translate: 0 -5px; opacity: 1; } }
.adz__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.adz__chips span { padding: 7px 11px; border-radius: 999px; font-size: 13px; color: var(--p-accent); box-shadow: inset 0 0 0 1px rgb(159 203 173 / .5); }
.adz__card { display: grid; gap: 4px; min-width: 190px; padding: 12px 14px; border-radius: 14px; background: linear-gradient(135deg, #0f1f17, #151a18); box-shadow: inset 0 0 0 1px rgb(159 203 173 / .35); }
.adz__card b { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--p-ink); }
.adz__card b::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--p-accent); box-shadow: 0 0 8px var(--p-accent); }
.adz__card span { font-size: 13.5px; color: var(--p-muted); }
.adz__input { display: flex; align-items: center; gap: 10px; flex: none; margin: 0 12px 12px; padding: 9px 9px 9px 14px; border-radius: 999px; background: rgb(255 255 255 / .05); box-shadow: inset 0 0 0 1px rgb(154 163 157 / .14); }
.adz__input span { flex: 1; font-size: 13.5px; color: var(--p-muted); }
.adz__input i { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--p-accent); color: #0b0d0c; }
.adz__bubble { position: absolute; right: 22px; bottom: 20px; display: grid; place-items: center; width: 78px; height: 78px; }
.adz__bubble::before, .adz__bubble::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgb(159 203 173 / .55); animation: adz-ring 2.4s ease-out infinite; }
.adz__bubble::after { animation-delay: 1.2s; }
@keyframes adz-ring { from { scale: .9; opacity: .9; } to { scale: 1.5; opacity: 0; } }
.hx .hero--centred .adz-slot ~ .hero__map { margin-top: clamp(64px, 10svh, 110px); }
@media (max-width: 1100px) {
  .adz { grid-template-columns: minmax(0, 1fr); justify-items: stretch; gap: 28px; }
  .adz__mascot { display: grid; justify-items: center; padding: 0; order: -1; }
  .adz__site { height: 600px; }
  .adz__chat { right: 14px; width: calc(100% - 28px); }
  .adz__bubble { right: 14px; }
}
@media (prefers-reduced-motion: reduce) { .adz__chat, .adz__row, .adz__typing i, .adz__bubble::before, .adz__bubble::after { animation: none; } }

/* el sitio de fondo, en esqueleto: menú, titular, botón y tres tarjetas */
.adz__page { position: absolute; inset: 38px 0 0; padding: 26px 28px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; align-content: start; opacity: .8; }
.adz__page i { height: 8px; width: 56px; border-radius: 4px; background: rgb(154 163 157 / .16); }
.adz__page b { grid-column: 1 / -1; height: 22px; width: 62%; margin-top: 22px; border-radius: 6px; background: rgb(233 236 232 / .13); }
.adz__page b + b { width: 44%; margin-top: 0; }
.adz__page em { grid-column: 1 / -1; height: 34px; width: 132px; margin: 10px 0 18px; border-radius: 999px; background: rgb(159 203 173 / .2); }
.adz__page span { height: 150px; border-radius: 14px; background: linear-gradient(160deg, rgb(154 163 157 / .12), rgb(154 163 157 / .04)); }

/* ── La obra de «Quién soy»: humano y robot de la mano, a pantalla completa y sin texto ─────────────────── */
.art { --mx: 0; --my: 0; position: relative; margin: clamp(56px, 9svh, 110px) 0 0; width: 100%; aspect-ratio: 16 / 9; max-height: 92svh; overflow: hidden; container-type: size; isolation: isolate; background: #010302;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 15%, #000 85%, transparent); mask-image: linear-gradient(to bottom, transparent, #000 15%, #000 85%, transparent); }
/* el lienzo conserva la proporción de la imagen y cubre el bloque, así los aros quedan siempre sobre el apretón */
.art__canvas { position: absolute; left: 50%; top: 50%; width: max(100cqw, calc(100cqh * 1672 / 941)); aspect-ratio: 1672 / 941; transform: translate(calc(-50% + var(--mx) * -1.1cqw), calc(-50% + var(--my) * -.8cqw)) scale(1.05); transition: transform 1.8s cubic-bezier(.16,.8,.2,1), filter 1.8s ease; }
.art__canvas img { display: block; width: 100%; height: 100%; object-fit: cover; }
.art--anim:not(.is-in) .art__canvas { transform: translate(-50%, -50%) scale(1.2); filter: brightness(.25) saturate(.6); }
.art--anim.is-in .art__canvas { transition-duration: .25s, 1.8s; animation: art-arrive 2s cubic-bezier(.16,.8,.2,1) both; }
@keyframes art-arrive { from { scale: 1.14; } to { scale: 1; } }
.art__breath, .art__pulse, .art__spark { position: absolute; left: 50%; top: 50%; border-radius: 50%; pointer-events: none; mix-blend-mode: screen; }
.art__breath { width: 62%; aspect-ratio: 1; translate: -50% -50%; background: radial-gradient(closest-side, rgb(159 203 173 / .2), rgb(159 203 173 / .07) 55%, transparent 78%); animation: art-breath 5s ease-in-out infinite; }
.art__pulse { width: 49%; aspect-ratio: 1; translate: -50% -50%; box-shadow: 0 0 0 1.5px rgb(159 203 173 / .55), 0 0 26px rgb(159 203 173 / .35), inset 0 0 26px rgb(159 203 173 / .2); opacity: 0; animation: art-pulse 5s cubic-bezier(.2,.6,.3,1) infinite; }
.art__pulse + .art__pulse { animation-delay: 2.5s; }
.art__spark { width: 20%; aspect-ratio: 1; translate: -50% -44%; background: radial-gradient(closest-side, rgb(180 255 215 / .34), transparent 70%); animation: art-breath 3.2s ease-in-out infinite reverse; }
@keyframes art-breath { 0%, 100% { opacity: .45; scale: .96; } 50% { opacity: 1; scale: 1.05; } }
@keyframes art-pulse { 0% { opacity: 0; scale: 1; } 12% { opacity: .9; } 100% { opacity: 0; scale: 1.75; } }
.art--anim:not(.is-in) :is(.art__breath, .art__pulse, .art__spark) { animation-play-state: paused; opacity: 0; }
/* la luz que sigue al cursor */
.art__light { position: absolute; inset: 0; pointer-events: none; mix-blend-mode: soft-light; opacity: 0; transition: opacity .6s ease; background: radial-gradient(34cqw circle at calc(50% + var(--mx) * 50%) calc(50% + var(--my) * 50%), rgb(255 255 255 / .6), transparent 70%); }
.art.is-lit .art__light { opacity: 1; }
.about__photo .about__cue { position: absolute; left: 50%; top: calc(100% + 40px); translate: -50% 0; margin: 0; white-space: nowrap; }
@media (max-width: 719px) { .art { aspect-ratio: 1; max-height: none; margin-top: 40px; } }
@media screen and (min-width: 1280px) and (hover: hover) and (pointer: fine) {
  .hx #cristian { --padb: 0px; }
  .hx main > section#cristian.about::after { display: none; }
  .hx .art { aspect-ratio: auto; max-height: none; height: 100svh; margin-top: clamp(40px, 7svh, 80px); }
}
@media (prefers-reduced-motion: reduce) { .art__breath, .art__pulse, .art__spark { animation: none; } .art__pulse { display: none; } }

/* ── Sitio por pestañas: el nombre de Cristian nunca queda detrás de la barra de pestañas ────────────────────
   La foto conserva su tamaño grande (540 px, hasta 600 en pantallas anchas) y sube hasta quedar justo bajo el
   encabezado; el conjunto foto + nombre se centra en la zona libre entre el encabezado y la barra. Sólo en
   pantallas de menos de ~718 px de alto la foto cede lo justo. El cuadro del nombre se monta sobre la foto. */
@media screen and (min-width: 1280px) and (hover: hover) and (pointer: fine) {
  .hx .hero--centred > .wrap > .hero-text { grid-template-columns: minmax(0, 1fr) min(600px, 48%); }
  .hx .hero__me { --d: min(clamp(540px, 33vw, 600px), calc(100svh - 178px)); width: min(var(--d), 100%); align-self: start; margin-top: calc(-40px + max(0px, (100svh - 178px - var(--d)) / 2)); }
  .hx .hero__me-name { margin-top: -56px; }
  .hx .hero__chip--c { bottom: 27%; }

  /* Barra de pestañas en vidrio líquido: deja ver lo que pasa detrás, con brillo en el borde y un velo oscuro
     para que los números se lean sobre cualquier fondo */
  .hx-ui { background: linear-gradient(180deg, rgb(255 255 255 / .16), rgb(255 255 255 / .03) 46%, rgb(255 255 255 / .09)), rgb(8 10 12 / .34); -webkit-backdrop-filter: blur(18px) saturate(190%) brightness(1.06); backdrop-filter: blur(18px) saturate(190%) brightness(1.06);
    box-shadow: inset 0 1px 0 rgb(255 255 255 / .42), inset 0 -1px 0 rgb(255 255 255 / .12), inset 0 0 0 1px rgb(255 255 255 / .1), inset 0 -12px 20px -12px rgb(159 203 173 / .22), 0 16px 44px -16px rgb(0 0 0 / .8); }
  .hx-ui::before { content: ""; position: absolute; z-index: -1; inset: 1px; border-radius: inherit; pointer-events: none; background: radial-gradient(90% 120% at 18% -40%, rgb(255 255 255 / .3), transparent 58%), radial-gradient(60% 110% at 88% 140%, rgb(159 203 173 / .16), transparent 60%); }
  .hx-ui__dot { background: rgb(255 255 255 / .1); color: rgb(233 236 232 / .86); box-shadow: inset 0 1px 0 rgb(255 255 255 / .16); }
  .hx-ui__btn { background: rgb(255 255 255 / .12); box-shadow: inset 0 1px 0 rgb(255 255 255 / .2); }
  .hx-ui__label { color: rgb(233 236 232 / .78); text-shadow: 0 1px 2px rgb(0 0 0 / .5); }
}
@media screen and (min-width: 1280px) and (max-height: 760px) and (hover: hover) and (pointer: fine) { .hero__cue { margin-top: 12px; } }

/* ── Inicio más liviano: título, una línea sutil y los dos botones ───────────────────────────────────────── */
.hero__tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 0; margin: 26px 0 0; font: 500 13px/1.3 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--p-muted); }
.hero__tags span + span::before { content: ""; display: inline-block; width: 5px; height: 5px; margin: 0 14px 2px; border-radius: 50%; background: var(--p-accent); box-shadow: 0 0 8px rgb(159 203 173 / .7); vertical-align: middle; }
.hero--centred .hero__c .hero__tags + .btn-row { margin-top: 34px; }
@media (max-width: 1023px) { .hero__tags { justify-content: center; font-size: 12px; letter-spacing: .08em; } .hero__tags span + span::before { margin-inline: 10px; } }
/* en celular la etiqueta «7 negocios en línea» vuelve a ir centrada sobre la foto (la regla de la foto grande la corría) */
@media (max-width: 1023px) { .hero__chip--a { left: 50%; top: -12px; } .hero__tags { font-size: 11.5px; letter-spacing: .05em; } .hero__tags span + span::before { margin-inline: 9px; } }

/* La línea sutil del inicio, con más aire entre palabras y entre frases */
.hero__tags { margin-top: 30px; font-size: 14px; letter-spacing: .12em; word-spacing: .28em; gap: 10px 0; }
.hero__tags span + span::before { margin: 0 20px 2px; }
.hero--centred .hero__c .hero__tags + .btn-row { margin-top: 38px; }
@media (max-width: 1023px) { .hero__tags { font-size: 12px; letter-spacing: .06em; word-spacing: .2em; } .hero__tags span + span::before { margin-inline: 11px; } }

/* ── La burbuja del asesor en la esquina del inicio: un clic baja hasta la conversación de ejemplo ────────── */
.adz-fab { position: fixed; z-index: 58; right: 24px; bottom: 14px; display: none; align-items: center; gap: 12px; text-decoration: none; opacity: 0; translate: 0 18px; scale: .8; pointer-events: none; transition: opacity .35s ease, translate .5s cubic-bezier(.2,1.3,.3,1), scale .5s cubic-bezier(.2,1.3,.3,1); }
@media (min-width: 1024px) { .adz-fab { display: flex; } }
.adz-fab.is-on { opacity: 1; translate: 0 0; scale: 1; pointer-events: auto; transition-delay: .5s; }
.adz-fab .bot { position: relative; }
.adz-fab .bot::before, .adz-fab .bot::after { content: ""; position: absolute; inset: -7px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgb(159 203 173 / .55); animation: adz-ring 2.4s ease-out infinite; pointer-events: none; }
.adz-fab .bot::after { animation-delay: 1.2s; }
.adz-fab__tip { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 16px 16px 4px 16px; font-size: 14px; font-weight: 500; color: var(--p-ink); white-space: nowrap; background: rgb(18 21 23 / .92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px rgb(159 203 173 / .35), 0 14px 34px -16px rgb(0 0 0 / .9); transition: translate .25s ease, box-shadow .25s ease; }
.adz-fab__tip svg { color: var(--p-accent); animation: adz-down 1.6s ease-in-out infinite; }
@keyframes adz-down { 50% { translate: 0 3px; } }
.adz-fab:hover .adz-fab__tip { translate: -3px 0; box-shadow: inset 0 0 0 1px rgb(159 203 173 / .7), 0 14px 34px -16px rgb(159 203 173 / .5); }
.adz-fab:focus-visible { outline: 2px solid var(--p-accent); outline-offset: 6px; border-radius: 20px; }
@media (prefers-reduced-motion: reduce) { .adz-fab, .adz-fab .bot::before, .adz-fab .bot::after, .adz-fab__tip svg { animation: none; transition: opacity .2s; } }

/* El ejemplo del asesor en portátiles: más ancho para el texto, robot y ventana algo más compactos */
@media (min-width: 1101px) and (max-width: 1500px) {
  .adz { grid-template-columns: minmax(0, 1fr) auto minmax(0, 470px); gap: 28px; }
  .adz__mascot .bot { --s: 176px !important; }
  .adz__copy h2 { font-size: clamp(30px, 2.9vw, 40px); }
  .adz__lead { margin-top: 14px; font-size: 16.5px; }
  .adz__does { margin: 16px 0 22px; gap: 8px; }
  .adz__does li { font-size: 16px; }
}
@media (min-width: 1101px) and (max-height: 800px) { .adz__site { height: 500px; } .adz__chat { top: 46px; bottom: 96px; } .adz-slot { margin-top: 40px; } .adz__tabs { margin-bottom: 8px; } }
@media (min-width: 1101px) and (min-height: 801px) and (max-height: 940px) { .adz__site { height: 580px; } }

/* El asesor por dentro: lo que recuerda, lo que consulta y las opciones que propone */
.adz__mem { display: flex; align-items: center; gap: 6px; flex: none; height: 0; padding: 0 14px; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; white-space: nowrap; opacity: 0; border-bottom: 1px solid transparent; transition: height .35s ease, opacity .35s ease, border-color .35s ease; }
.adz__mem::-webkit-scrollbar { display: none; }
.adz__mem.is-on { height: 36px; opacity: 1; border-color: rgb(154 163 157 / .12); }
.adz__mem b { flex: none; font: 600 10.5px/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--p-accent); margin-right: 4px; }
.adz__mem span { flex: none; padding: 5px 9px; border-radius: 999px; font-size: 12px; line-height: 1; color: var(--p-ink); background: rgb(159 203 173 / .1); box-shadow: inset 0 0 0 1px rgb(159 203 173 / .28); animation: adz-in .4s cubic-bezier(.2,.9,.3,1) both; }
.adz__tool { display: inline-flex; align-items: center; gap: 7px; font: 500 11.5px/1 var(--font-mono); letter-spacing: .04em; color: var(--p-muted); }
.adz__tool i { width: 11px; height: 11px; border-radius: 50%; border: 1.5px solid rgb(159 203 173 / .3); border-top-color: var(--p-accent); animation: adz-spin .7s linear infinite; }
.adz__tool.is-done i { border: 0; background: var(--p-accent); animation: none; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.4 5 8.8l4.6-5.4' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.4 5 8.8l4.6-5.4' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
@keyframes adz-spin { to { rotate: 360deg; } }
.adz__row--bot { max-width: 92%; }
.adz__items { display: grid; gap: 6px; width: 100%; }
.adz__item { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 12px; background: rgb(255 255 255 / .04); box-shadow: inset 0 0 0 1px rgb(154 163 157 / .14); }
.adz__item i { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; font: 600 12px/1 var(--font-mono); font-style: normal; color: var(--p-accent); background: linear-gradient(135deg, rgb(159 203 173 / .2), rgb(159 203 173 / .05)); box-shadow: inset 0 0 0 1px rgb(159 203 173 / .3); }
.adz__item div { display: grid; gap: 3px; min-width: 0; }
.adz__item b { font-size: 13.5px; font-weight: 600; color: var(--p-ink); }
.adz__item span { font-size: 12.5px; color: var(--p-muted); }
.adz__msg { font-size: 14px; }
@media (prefers-reduced-motion: reduce) { .adz__tool i, .adz__mem span { animation: none; } }
/* Pantallas bajas de portátil: la ventana del chat aprovecha casi todo el marco para que quepa más conversación */
@media (min-width: 1101px) and (max-height: 800px) {
  .adz__chat { right: 14px; width: calc(100% - 28px); bottom: 78px; }
  .adz__bubble { right: 14px; bottom: 10px; width: 60px; height: 60px; }
  .adz__bubble .bot { --s: 56px !important; }
  .adz__head { padding: 8px 12px; }
  .adz__input { margin: 0 10px 10px; padding: 6px 6px 6px 12px; }
  .adz__log { padding: 12px; gap: 8px; }
  .adz__msg { font-size: 13.5px; padding: 9px 12px; }
}
.adz__mem b { position: sticky; left: -14px; z-index: 1; margin-left: -14px; padding: 12px 6px 12px 14px; background: linear-gradient(90deg, rgb(18 21 23) 82%, transparent); }

/* El robot respira entre el texto y el chat: centrado, con aire a los lados y un poco más grande */
.adz { align-items: center; column-gap: clamp(36px, 4.4vw, 76px); }
.adz__mascot { padding: 0; justify-self: center; }
.bot:not(.bot--head) { animation: bot-hover 6s ease-in-out infinite; }
@keyframes bot-hover { 50% { translate: 0 -1.6%; } }
@media (min-width: 1101px) and (max-width: 1500px) { .adz { gap: 0 clamp(34px, 3.6vw, 52px); } .adz__mascot .bot { --s: 204px !important; } }
@media (prefers-reduced-motion: reduce) { .bot:not(.bot--head) { animation: none; } }

/* ── Barra de pestañas: un número por pestaña real y, al lado, las partes de la pestaña actual ───────────── */
@media screen and (min-width: 1280px) and (hover: hover) and (pointer: fine) {
  .hx-ui__sub { display: inline-flex; align-items: center; gap: 5px; padding: 0 14px 0 2px; }
  .hx-ui__sub[hidden] { display: none; }
  .hx-ui__pip { width: 16px; height: 6px; padding: 0; border: 0; border-radius: 3px; background: rgb(255 255 255 / .24); cursor: pointer; transition: width .3s cubic-bezier(.22,1,.36,1), background .25s; }
  .hx-ui__pip:hover { background: rgb(255 255 255 / .5); }
  .hx-ui__pip[aria-current="true"] { width: 26px; background: var(--p-accent); box-shadow: 0 0 10px rgb(159 203 173 / .6); }
  .hx-ui:has(.hx-ui__sub:not([hidden])) .hx-ui__label { padding-right: 8px; }
}
/* Mapa del inicio: las seis pestañas reales, en dos filas de tres */
.hero__tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1023px) { .hero__tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ── «Lo que no se ve»: tarjeta cinematográfica con el teléfono del panel (sin GSAP) ───────────────────────── */
.has-phone .hidden__grid { display: none; }
.pp-slot { margin-top: clamp(28px, 5svh, 56px); }
.pp { --rx: 0; --ry: 0; --mx: 50%; --my: 30%; --u: clamp(9.5px, 1.5svh, 15px); position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: clamp(20px, 3vw, 48px); min-height: calc(var(--u) * 42); padding: calc(var(--u) * 2) clamp(22px, 3.4vw, 56px); border-radius: 32px; overflow: hidden;
  background: radial-gradient(90% 120% at 100% 0%, rgb(159 203 173 / .1), transparent 55%), linear-gradient(145deg, #0f2a1d 0%, #08120d 46%, #060908 100%);
  box-shadow: 0 40px 100px -30px rgb(0 0 0 / .9), inset 0 1px 2px rgb(255 255 255 / .16), inset 0 -2px 4px rgb(0 0 0 / .8), inset 0 0 0 1px rgb(159 203 173 / .1); perspective: 1500px; }
.pp__sheen { position: absolute; inset: 0; z-index: 5; pointer-events: none; mix-blend-mode: screen; background: radial-gradient(640px circle at var(--mx) var(--my), rgb(255 255 255 / .07), transparent 42%); }
/* texto: pestañas y la idea de cada una */
.pp__text { position: relative; z-index: 4; min-width: 0; }
.pp__tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.pp__tabs button { position: relative; overflow: hidden; padding: 9px 14px; border: 0; border-radius: 999px; background: rgb(255 255 255 / .06); color: var(--p-muted); font: 500 14px/1 var(--font-text, system-ui, sans-serif); cursor: pointer; box-shadow: inset 0 0 0 1px rgb(154 163 157 / .16); transition: background .2s, color .2s, box-shadow .2s; }
.pp__tabs button:hover { color: var(--p-ink); background: rgb(255 255 255 / .11); }
.pp__tabs button.is-on { color: #0b0d0c; background: var(--p-accent); box-shadow: 0 0 18px -4px rgb(159 203 173 / .7); }
.pp__tabs button i { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: rgb(11 13 12 / .55); transform-origin: 0 50%; animation: pp-progress 5.2s linear both; }
@keyframes pp-progress { from { transform: scaleX(0); } }
.pp__copy { margin-top: clamp(18px, 3svh, 30px); animation: pp-left .6s cubic-bezier(.16,.9,.2,1) both; }
.pp__copy h3 { margin: 0; font-size: clamp(24px, 2.5vw, 36px); line-height: 1.08; letter-spacing: -.02em; color: #fff; text-wrap: balance; }
.pp__copy ul { list-style: none; margin: clamp(14px, 2.4svh, 22px) 0 0; padding: 0; display: grid; gap: 10px; }
.pp__copy li { position: relative; padding-left: 22px; font-size: 16.5px; line-height: 1.35; color: rgb(233 236 232 / .82); }
.pp__copy li::before { content: ""; position: absolute; left: 0; top: .5em; width: 8px; height: 8px; border-radius: 50%; background: var(--p-accent); box-shadow: 0 0 10px rgb(159 203 173 / .7); }
@keyframes pp-left { from { opacity: 0; translate: -26px 0; } }
/* palabra gigante */
.pp__word { position: relative; z-index: 1; justify-self: end; margin: 0; font: 900 clamp(56px, 8.6vw, 136px)/.9 var(--font-display); letter-spacing: -.05em; text-transform: uppercase; white-space: nowrap; background: linear-gradient(180deg, #fff 0%, #9aa3ab 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; filter: drop-shadow(0 12px 24px rgb(0 0 0 / .8)) drop-shadow(0 4px 8px rgb(0 0 0 / .6)); animation: pp-word .8s cubic-bezier(.16,.9,.2,1) both; }
@keyframes pp-word { from { opacity: 0; translate: 40px 0; scale: .86; } }
/* teléfono: todo en em sobre --u para que escale con la altura de la pantalla */
.pp__stage { position: relative; z-index: 3; font-size: var(--u); width: 18em; height: 37em; perspective: 1000px; }
.pp__phone { position: absolute; inset: 0; border-radius: 3em; background: #111; transform-style: preserve-3d; transform: rotateY(calc(var(--rx) * 11deg)) rotateX(calc(var(--ry) * -11deg)); box-shadow: inset 0 0 0 2px #52525b, inset 0 0 0 .45em #000, 0 2.6em 5em -1em rgb(0 0 0 / .9), 0 1em 1.6em -.3em rgb(0 0 0 / .7); }
.pp:not(.is-in) .pp__phone { opacity: 0; transform: translateY(18em) translateZ(-500px) rotateX(50deg) rotateY(-30deg) scale(.6); }
.pp.is-in .pp__phone { animation: pp-phone 1.5s cubic-bezier(.16,1,.3,1) both; }
@keyframes pp-phone { from { opacity: 0; transform: translateY(18em) translateZ(-500px) rotateX(50deg) rotateY(-30deg) scale(.6); } }
.pp__btn { position: absolute; width: 3px; background: linear-gradient(90deg, #404040, #171717); box-shadow: -2px 0 5px rgb(0 0 0 / .8), inset -1px 0 1px rgb(255 255 255 / .15); }
.pp__btn--a { left: -3px; top: 7.6em; height: 1.6em; border-radius: 3px 0 0 3px; } .pp__btn--b { left: -3px; top: 10.2em; height: 2.9em; border-radius: 3px 0 0 3px; } .pp__btn--c { left: -3px; top: 14em; height: 2.9em; border-radius: 3px 0 0 3px; } .pp__btn--d { right: -3px; top: 10.8em; height: 4.4em; border-radius: 0 3px 3px 0; scale: -1 1; }
.pp__screen { position: absolute; inset: .45em; border-radius: 2.55em; overflow: hidden; background: #050a08; color: #fff; box-shadow: inset 0 0 15px #000; }
.pp__glare { position: absolute; inset: 0; z-index: 4; pointer-events: none; background: linear-gradient(110deg, rgb(255 255 255 / .08), transparent 45%); }
.pp__island { position: absolute; z-index: 5; top: .35em; left: 50%; translate: -50% 0; width: 6.4em; height: 1.8em; border-radius: 999px; background: #000; display: flex; align-items: center; justify-content: flex-end; padding-right: .7em; }
.pp__island i { width: .4em; height: .4em; border-radius: 50%; background: var(--p-accent); box-shadow: 0 0 8px rgb(159 203 173 / .8); animation: pp-blink 2s ease-in-out infinite; }
@keyframes pp-blink { 50% { opacity: .35; } }
.pp__app { position: relative; height: 100%; padding: 3.2em 1.25em 1.6em; display: flex; flex-direction: column; }
.pp__bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5em; }
.pp__bar > div { display: grid; gap: .25em; }
.pp__bar small { font-size: .68em; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #a3a3a3; }
.pp__bar b { font-size: 1.3em; letter-spacing: -.02em; }
.pp__bar .demo-tag { font-size: .62em; }
.pp__ring { position: relative; width: 11em; height: 11em; margin: 0 auto 1.6em; display: grid; place-items: center; filter: drop-shadow(0 1em 1.5em rgb(0 0 0 / .8)); }
.pp__ring svg { position: absolute; inset: 0; width: 100%; height: 100%; rotate: -90deg; fill: none; stroke-width: 12; stroke: rgb(255 255 255 / .05); }
.pp__arc { stroke: var(--p-accent); stroke-linecap: round; stroke-dasharray: 402; stroke-dashoffset: 402; filter: drop-shadow(0 0 6px rgb(159 203 173 / .6)); transition: stroke-dashoffset 2s cubic-bezier(.65,0,.35,1) .8s; }
.pp.is-in .pp__arc { stroke-dashoffset: 46; }
.pp__ring > div { position: relative; display: grid; justify-items: center; gap: .1em; }
.pp__ring b { font-size: 2.3em; font-weight: 800; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.pp__ring b span { font-size: .55em; font-weight: 600; color: rgb(255 255 255 / .6); }
.pp__ring small { font-size: .56em; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgb(125 255 180 / .6); }
.pp__rows { display: grid; gap: .7em; }
.pp__row { display: flex; align-items: center; gap: .75em; padding: .7em; border-radius: 1em; background: linear-gradient(180deg, rgb(255 255 255 / .05), rgb(255 255 255 / .01)); box-shadow: 0 .6em 1.2em rgb(0 0 0 / .3), inset 0 1px 1px rgb(255 255 255 / .06), inset 0 0 0 1px rgb(255 255 255 / .03); }
.pp__row i { flex: none; display: grid; place-items: center; width: 2.4em; height: 2.4em; border-radius: .75em; background: linear-gradient(135deg, rgb(159 203 173 / .2), rgb(159 203 173 / .04)); box-shadow: inset 0 0 0 1px rgb(159 203 173 / .22); color: var(--p-accent); }
.pp__row i.is-ok { background: linear-gradient(135deg, rgb(169 196 214 / .2), rgb(169 196 214 / .04)); box-shadow: inset 0 0 0 1px rgb(169 196 214 / .22); color: #a9c4d6; }
.pp__row svg { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pp__row div { display: grid; gap: .2em; min-width: 0; }
.pp__row b { font-size: .8em; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pp__row span { font-size: .68em; color: #a3a3a3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pp__home { position: absolute; left: 50%; bottom: .5em; translate: -50% 0; width: 7.5em; height: .25em; border-radius: 999px; background: rgb(255 255 255 / .2); }
.pp:not(.is-in) .pp__w { opacity: 0; }
.pp.is-in .pp__w { animation: pp-pop .7s cubic-bezier(.3,1.4,.4,1) both; }
.pp.is-in .pp__bar { animation-delay: .7s; } .pp.is-in .pp__ring { animation-delay: .85s; }
.pp.is-in .pp__row:nth-child(1) { animation-delay: 1s; } .pp.is-in .pp__row:nth-child(2) { animation-delay: 1.15s; }
.pp.is-in .pp__rows .pp__row { animation-delay: .05s; } .pp.is-in .pp__rows .pp__row + .pp__row { animation-delay: .16s; }
@keyframes pp-pop { from { opacity: 0; translate: 0 1.6em; scale: .95; } }
/* insignias de vidrio */
.pp__badge { position: absolute; z-index: 6; display: flex; align-items: center; gap: .8em; padding: .8em 1em; border-radius: 1em; white-space: nowrap; background: linear-gradient(135deg, rgb(255 255 255 / .1), rgb(255 255 255 / .02)); -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px); box-shadow: 0 0 0 1px rgb(255 255 255 / .1), 0 1.6em 3em -.8em rgb(0 0 0 / .8), inset 0 1px 1px rgb(255 255 255 / .2); }
.pp__badge--a { top: 6.2em; right: calc(100% - 2.2em); }
.pp__badge--b { bottom: 4.6em; left: calc(100% - 2.6em); }
.pp__badge i { flex: none; width: 2.2em; height: 2.2em; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #c4dccb, #9fcbad 45%, #0d7a43); box-shadow: 0 0 14px rgb(159 203 173 / .5), inset 0 0 0 1px rgb(255 255 255 / .25); }
.pp__badge--b i { background: radial-gradient(circle at 35% 30%, #e3ecf2, #a9c4d6 45%, #0b6aa3); box-shadow: 0 0 14px rgb(169 196 214 / .45), inset 0 0 0 1px rgb(255 255 255 / .25); }
.pp__badge div { display: grid; gap: .2em; }
.pp__badge b { font-size: .86em; font-weight: 700; color: #fff; letter-spacing: -.01em; }
.pp__badge span { font-size: .72em; color: rgb(201 223 207 / .6); }
.pp:not(.is-in) .pp__badge { opacity: 0; }
.pp.is-in .pp__badge { animation: pp-badge .8s cubic-bezier(.3,1.5,.4,1) both; }
.pp.is-in .pp__badge--b { animation-delay: .14s; }
@keyframes pp-badge { from { opacity: 0; translate: 0 2.4em; scale: .7; rotate: -8deg; } }
.pp:not(.is-in) :is(.pp__text, .pp__word) { opacity: 0; }
.pp.is-in .pp__text { animation: pp-left .9s cubic-bezier(.16,.9,.2,1) .5s both; }
@media (max-width: 1100px) {
  .pp { --u: 11px; grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 26px; padding: 26px 20px 30px; border-radius: 26px; }
  .pp__text { width: 100%; }
  .pp__tabs { justify-content: center; }
  .pp__copy { text-align: left; }
  .pp__word { position: absolute; z-index: 0; right: 14px; bottom: 6px; font-size: clamp(64px, 22vw, 120px); opacity: .1; filter: none; }
  .pp__badge--a { right: calc(100% - 5.4em); } .pp__badge--b { left: calc(100% - 5.4em); }
}
@media (prefers-reduced-motion: reduce) { .pp *, .pp.is-in * { animation: none !important; transition: none !important; } .pp:not(.is-in) :is(.pp__phone, .pp__w, .pp__badge, .pp__text, .pp__word) { opacity: 1; transform: none; } .pp__arc { stroke-dashoffset: 46; } }

/* ══ Celular y tableta: navegación tipo app (public/assets/app-nav.js) ═══════════════════════════════════════
   Barra inferior con cinco destinos, hoja «Más», una pestaña por pantalla y marcas de posición bajo el encabezado. */
@media (max-width: 1023px) {
  html[data-app] { --appbar: 62px; --bar: calc(var(--appbar) + env(safe-area-inset-bottom)); }
  html[data-app] :is(main, hx-stack) > :is(.hero, .section--hero) { --bar: calc(var(--appbar) + env(safe-area-inset-bottom)); }
  html[data-app-on] body > nav.actionbar { display: none !important; }
  html[data-app-on] .nav__toggle { display: none; }
  html[data-app] .nav__bar { gap: 10px; }
  /* en la portada sólo se ve la pestaña activa; antes de que cargue el script, sólo el inicio */
  html[data-app][data-app-ready] .hx main > section:not(.is-tab), html[data-app][data-app-ready] .hx > footer.closing:not(.is-tab) { display: none !important; }
  html[data-app]:not([data-app-ready]) .hx main > section:not(:first-child), html[data-app]:not([data-app-ready]) .hx > footer.closing { display: none; }
  /* la pestaña entra con un fundido; donde el navegador puede recortar el desborde, además se desliza desde su lado */
  html[data-app][data-dir] .hx .is-tab { animation: app-fade .28s ease both; }
  @supports (overflow: clip) {
    html[data-app] .hx { overflow-x: clip; }
    html[data-app][data-dir="next"] .hx .is-tab { animation: app-next .32s cubic-bezier(.2,.8,.2,1) both; }
    html[data-app][data-dir="prev"] .hx .is-tab { animation: app-prev .32s cubic-bezier(.2,.8,.2,1) both; }
  }
  html[data-app] body { padding-bottom: 0; overscroll-behavior-x: none; }
  html.app-lock { overflow: hidden; }

  .apptitle { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 500 14px/1 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--p-muted); }
  .apptitle:not(:empty)::before { content: "·"; margin-right: 10px; color: var(--p-accent); }
  .apptitle:empty { display: none; }
  html[data-app-on] .nav__bar .nav__actions { display: flex; margin-left: auto; }
  html[data-app-on] .nav__bar .nav__actions .btn { display: none; }
  html[data-app] .nav__lang { min-width: 44px; min-height: 44px; display: inline-grid; place-items: center; }
  html[data-app] .nav__lang-l { display: none; }

  .appsteps { position: fixed; z-index: 49; left: 0; right: 0; top: var(--nav); display: flex; gap: 4px; padding: 0 var(--gut, 24px); height: 3px; pointer-events: none; }
  .appsteps i { flex: 1; border-radius: 0 0 3px 3px; background: rgb(154 163 157 / .16); transition: background .3s, flex-grow .35s cubic-bezier(.22,1,.36,1); }
  .appsteps i.is-on { flex-grow: 2.2; background: var(--p-accent); box-shadow: 0 0 10px rgb(159 203 173 / .6); }

  .appbar { position: fixed; z-index: 48; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: end; height: calc(var(--appbar, 62px) + env(safe-area-inset-bottom)); padding: 0 max(6px, env(safe-area-inset-right)) env(safe-area-inset-bottom) max(6px, env(safe-area-inset-left));
    background: linear-gradient(180deg, rgb(16 19 21 / .82), rgb(7 9 10 / .94)); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: inset 0 1px 0 rgb(255 255 255 / .1), 0 -18px 40px -20px rgb(0 0 0 / .9); }
  .appbar__item { position: relative; display: grid; justify-items: center; align-content: center; gap: 4px; height: var(--appbar, 62px); min-width: 0; padding: 0 2px; border: 0; background: none; color: var(--p-muted); font: 500 11px/1 var(--font-text, system-ui, sans-serif); letter-spacing: .01em; text-decoration: none; cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation; transition: color .2s; }
  .appbar__item span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .appbar__item svg { transition: translate .25s cubic-bezier(.3,1.5,.4,1), scale .15s; }
  .appbar__item:active svg { scale: .88; }
  .appbar__item.is-on { color: var(--p-ink); }
  .appbar__item.is-on svg { color: var(--p-accent); translate: 0 -1px; filter: drop-shadow(0 0 8px rgb(159 203 173 / .6)); }
  .appbar__item.is-on::before { content: ""; position: absolute; top: 0; left: 50%; width: 26px; height: 3px; translate: -50% 0; border-radius: 0 0 3px 3px; background: var(--p-accent); box-shadow: 0 0 12px rgb(159 203 173 / .7); }
  .appbar__item:focus-visible { outline: 2px solid var(--p-accent); outline-offset: -4px; border-radius: 12px; }
  /* el botón central: cotizar */
  .appbar__item--cta { color: var(--p-ink); }
  .appbar__item--cta i { display: grid; place-items: center; width: 52px; height: 52px; margin-top: -24px; border-radius: 50%; color: #0b0d0c; background: radial-gradient(circle at 35% 28%, #c4dccb, #9fcbad 55%, #19c765); box-shadow: 0 0 0 5px rgb(7 9 10 / .92), 0 10px 26px -6px rgb(159 203 173 / .7), inset 0 1px 0 rgb(255 255 255 / .6); transition: scale .15s, box-shadow .2s; }
  .appbar__item--cta:active i { scale: .93; }
  .appbar__item--cta svg { width: 24px; height: 24px; stroke-width: 1.9; }
  .appbar__item--cta.is-on::before { display: none; }
  .appbar__item--cta.is-on svg { color: #0b0d0c; filter: none; translate: 0 0; }

  .appsheet { position: fixed; inset: 0; z-index: 70; }
  .appsheet[hidden] { display: none; }
  .appsheet__scrim { position: absolute; inset: 0; background: rgb(0 0 0 / .6); opacity: 0; transition: opacity .25s ease; }
  .appsheet__panel { position: absolute; left: 0; right: 0; bottom: 0; max-height: 86vh; max-height: 86svh; overflow-y: auto; padding: 10px 18px calc(18px + env(safe-area-inset-bottom)); border-radius: 26px 26px 0 0; background: linear-gradient(180deg, #14181a, #0b0d0e); box-shadow: inset 0 1px 0 rgb(255 255 255 / .12), 0 -30px 80px -20px rgb(0 0 0 / .9); translate: 0 104%; transition: translate .3s cubic-bezier(.2,.9,.2,1); }
  .appsheet.is-open .appsheet__scrim { opacity: 1; }
  .appsheet.is-open .appsheet__panel { translate: 0 0; }
  .appsheet__grip { display: block; width: 40px; height: 4px; margin: 2px auto 10px; border-radius: 4px; background: rgb(154 163 157 / .4); }
  .appsheet__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; padding: 0 6px; border-bottom: 1px solid rgb(154 163 157 / .12); color: var(--p-ink); font: var(--display-weight, 500) 20px/1.1 var(--font-display); text-decoration: none; -webkit-tap-highlight-color: transparent; }
  .appsheet__row svg { color: var(--p-muted); }
  .appsheet__row:active { background: rgb(255 255 255 / .05); }
  .appsheet__row.is-on { color: var(--p-accent); }
  .appsheet__row.is-on svg { color: var(--p-accent); }
  .appsheet__foot { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 16px; }
  .appsheet__chip { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 0; border-radius: 999px; background: rgb(255 255 255 / .06); box-shadow: inset 0 0 0 1px rgb(154 163 157 / .18); color: var(--p-ink); font: 500 14.5px/1 var(--font-text, system-ui, sans-serif); text-decoration: none; cursor: pointer; }
  .appsheet__chip:active { background: rgb(255 255 255 / .12); }

  /* la burbuja del asesor y el aviso de bajar son de computador */
  html[data-app] .adz-fab { display: none; }
}
@keyframes app-fade { from { opacity: 0; } }
@keyframes app-next { from { opacity: 0; transform: translateX(22px); } }
@keyframes app-prev { from { opacity: 0; transform: translateX(-22px); } }
@media (min-width: 640px) and (max-width: 1023px) {
  .appbar { left: 50%; right: auto; bottom: calc(14px + env(safe-area-inset-bottom)); width: min(560px, calc(100% - 32px)); translate: -50% 0; height: var(--appbar, 62px); padding: 0 10px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .1), 0 20px 50px -18px rgb(0 0 0 / .9); }
  html[data-app] { --bar: calc(var(--appbar) + 28px + env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) { html[data-app] .hx .is-tab { animation: none !important; } .appsheet__panel, .appsheet__scrim, .appbar__item svg, .appsteps i { transition: none; } }

/* Detalles de app en pantallas táctiles: sin retardo ni destello al tocar, respuesta al presionar, precios en una línea */
@media (max-width: 1023px) {
  html[data-app] :is(a, button, summary, label, [role="tab"]) { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
  html[data-app] .btn:active { scale: .97; }
  html[data-app] :is(.hero__tab, .hix__item, .svc__row, .showcase__tab, .showcase__arrow, .adz__tabs button, .pp__tabs button, .q-num__ctl button, .q-seg label, .q-plans label, .case-nextcard, .appsheet__chip):active { opacity: .78; }
}

/* ── «Lo que no se ve», versión creíble: el panel va en una ventana de navegador; el teléfono sólo recibe avisos ── */
.pp { --u: clamp(10.5px, 1.22vw, 17px); grid-template-columns: minmax(0, 1fr) auto; min-height: 0; padding-block: calc(var(--u) * 3.2); }
.pp__stage { width: 37em; height: 26em; perspective: 1400px; }
.pp__win { position: absolute; left: 0; top: 2em; width: 28.6em; height: 20.5em; display: flex; flex-direction: column; border-radius: 1em; overflow: hidden; background: linear-gradient(180deg, #0d1411, #070b09); transform-style: preserve-3d; transform: rotateY(calc(var(--rx) * 7deg)) rotateX(calc(var(--ry) * -6deg)); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .1), inset 0 1px 0 rgb(255 255 255 / .16), 0 2.4em 5em -1.4em rgb(0 0 0 / .95), 0 0 0 1px rgb(159 203 173 / .08); }
.pp:not(.is-in) .pp__win { opacity: 0; transform: translateY(8em) translateZ(-300px) rotateX(34deg) rotateY(-18deg) scale(.8); }
.pp.is-in .pp__win { animation: pp-win 1.3s cubic-bezier(.16,1,.3,1) both; }
@keyframes pp-win { from { opacity: 0; transform: translateY(8em) translateZ(-300px) rotateX(34deg) rotateY(-18deg) scale(.8); } }
.pp__winbar { flex: none; display: flex; align-items: center; gap: .9em; height: 2.5em; padding: 0 .9em; border-bottom: 1px solid rgb(255 255 255 / .07); }
.pp__winbar span { display: flex; gap: .4em; } .pp__winbar span i { width: .6em; height: .6em; border-radius: 50%; background: #2c3136; }
.pp__winbar b { margin: 0 auto; padding: .35em 1em; border-radius: .5em; background: rgb(255 255 255 / .06); font: 500 .74em/1 var(--font-mono); color: #b8c0c7; letter-spacing: .02em; }
.pp__winbar .demo-tag { font-size: .58em; }
.pp__winbody { flex: 1; min-height: 0; display: grid; grid-template-columns: 8.2em minmax(0, 1fr); color: #fff; }
.pp__side { list-style: none; margin: 0; padding: 1em .7em; display: grid; align-content: start; gap: .35em; border-right: 1px solid rgb(255 255 255 / .07); background: rgb(255 255 255 / .02); }
.pp__side li { display: flex; align-items: center; gap: .55em; padding: .6em .6em; border-radius: .6em; font-size: .74em; color: #9aa3ab; transition: background .3s, color .3s; }
.pp__side li i { width: .7em; height: .7em; border-radius: .22em; background: rgb(255 255 255 / .16); transition: background .3s, box-shadow .3s; }
.pp__side li.is-on { color: #fff; background: rgb(159 203 173 / .12); box-shadow: inset 0 0 0 1px rgb(159 203 173 / .25); }
.pp__side li.is-on i { background: var(--p-accent); box-shadow: 0 0 8px rgb(159 203 173 / .7); }
.pp__main { min-width: 0; padding: 1.1em 3em 1.1em 1.2em; display: flex; flex-direction: column; gap: .9em; }
.pp__main .pp__bar { margin: 0; }
.pp__cols { flex: 1; min-height: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 1.1em; }
.pp__main .pp__ring { width: 6.6em; height: 6.6em; margin: 0; }
.pp__main .pp__ring b { font-size: 1.5em; }
.pp__main .pp__rows { gap: .6em; }
.pp.is-in .pp__main .pp__bar { animation-delay: .5s; } .pp.is-in .pp__main .pp__ring { animation-delay: .65s; }
/* teléfono: más pequeño, sobre la esquina de la ventana */
.pp__phone { inset: auto 0 0 auto; width: 18em; height: 37em; font-size: .6em; transform: rotateY(calc(var(--rx) * -9deg)) rotateX(calc(var(--ry) * 7deg)) rotate(3deg); }
.pp:not(.is-in) .pp__phone { transform: translateY(14em) rotate(14deg) scale(.7); }
.pp.is-in .pp__phone { animation: pp-phone2 1.2s cubic-bezier(.2,1.2,.3,1) .35s both; }
@keyframes pp-phone2 { from { opacity: 0; transform: translateY(14em) rotate(14deg) scale(.7); } }
.pp__app .pp__bar { margin-bottom: 1.2em; }
.pp__notes { display: grid; gap: .8em; }
.pp__note { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: start; gap: .8em; padding: 1em; border-radius: 1.2em; background: linear-gradient(135deg, rgb(255 255 255 / .12), rgb(255 255 255 / .04)); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .1), 0 .8em 1.6em rgb(0 0 0 / .35); }
.pp__note i { width: 2.3em; height: 2.3em; border-radius: .7em; background: radial-gradient(circle at 35% 30%, #c4dccb, #9fcbad 45%, #0d7a43); box-shadow: 0 0 12px rgb(159 203 173 / .45); }
.pp__note i.is-b { background: radial-gradient(circle at 35% 30%, #e3ecf2, #a9c4d6 45%, #0b6aa3); box-shadow: 0 0 12px rgb(169 196 214 / .4); }
.pp__note div { display: grid; gap: .3em; min-width: 0; }
.pp__note b { font-size: 1.06em; font-weight: 700; line-height: 1.15; }
.pp__note span { font-size: .9em; line-height: 1.25; color: #b0b8bf; }
.pp__note time { font: 500 .78em/1.4 var(--font-mono); color: #8b949c; }
.pp.is-in .pp__notes .pp__note { animation: pp-pop .6s cubic-bezier(.3,1.4,.4,1) .1s both; } .pp.is-in .pp__notes .pp__note + .pp__note { animation-delay: .24s; }
/* rótulos: qué es cada pantalla */
.pp__cap { position: absolute; z-index: 2; font: 500 .68em/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: rgb(201 223 207 / .7); white-space: nowrap; }
.pp__cap--win { left: .4em; top: 0; }
.pp__cap--phone { right: 12em; bottom: .2em; text-align: right; }
.pp__cap::before { content: ""; display: inline-block; width: .55em; height: .55em; margin-right: .7em; border-radius: 50%; background: var(--p-accent); box-shadow: 0 0 8px rgb(159 203 173 / .7); vertical-align: .05em; }
.pp:not(.is-in) .pp__cap { opacity: 0; } .pp.is-in .pp__cap { animation: pp-left .7s ease 1s both; }
/* la palabra queda de fondo, sin competir con las pantallas */
.pp__word { position: absolute; z-index: 0; right: 2.2%; top: 4%; font-size: clamp(54px, 9.5vw, 150px); opacity: .1; filter: none; pointer-events: none; }
.pp.is-in .pp__word { animation: pp-word2 .8s cubic-bezier(.16,.9,.2,1) both; }
@keyframes pp-word2 { from { opacity: 0; translate: 40px 0; } to { opacity: .1; } }
@media (max-width: 1100px) {
  .pp { --u: clamp(7.2px, 2.08vw, 13px); grid-template-columns: minmax(0, 1fr); padding: 24px 16px 26px; }
  .pp__stage { justify-self: center; }
  .pp__word { top: auto; bottom: 2%; right: 4%; font-size: clamp(60px, 20vw, 120px); }
}
@media (prefers-reduced-motion: reduce) { .pp:not(.is-in) :is(.pp__win, .pp__cap) { opacity: 1; transform: none; } }
.pp__main .pp__row { padding: .6em; gap: .6em; }
.pp__main .pp__row i { width: 2em; height: 2em; }
.pp__main .pp__row b, .pp__main .pp__row span { white-space: normal; overflow: visible; line-height: 1.2; }
.pp__cols { gap: .9em; }

/* ── Cierre del inicio, «Soluciones reales»: títulos grandes y la captura donde se ve cada solución ─────────── */
.has-hix > :not(.hix-slot) { display: none; }
.hix { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); grid-template-areas: "head visual" "list visual"; align-items: center; gap: clamp(14px, 2.4svh, 28px) clamp(24px, 4vw, 72px); }
.hix__head { grid-area: head; align-self: end; }
.hix__head h2 { margin: 0; font-size: clamp(28px, min(3.4vw, 5.2svh), 50px); line-height: 1.05; }
.hix__list { grid-area: list; align-self: start; list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(6px, 1.6svh, 18px); }
.hix__item { display: flex; align-items: flex-start; gap: clamp(12px, 1.5vw, 24px); color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
.hix__n { flex: none; width: 2em; margin-top: .5em; font: 700 clamp(14px, 1.3vw, 20px)/1 var(--font-display); color: #5a646d; transition: color .4s; }
.hix__text { display: grid; min-width: 0; transition: translate .6s cubic-bezier(.2,.8,.2,1); }
.hix__name { font: 900 clamp(24px, min(3.2vw, 5.2svh), 48px)/.98 var(--font-display); letter-spacing: -.035em; text-transform: uppercase; color: var(--p-bg, #0b0d0c); -webkit-text-stroke: 2.4px #5a646d; paint-order: stroke fill; opacity: .72; transition: color .5s, opacity .5s, -webkit-text-stroke-color .5s; }
@supports not ((-webkit-text-stroke: 1px #000) and (paint-order: stroke fill)) { .hix__name { color: #5a646d; -webkit-text-stroke: 0; } }
.hix__desc { max-height: 0; overflow: hidden; opacity: 0; font-size: 15.5px; line-height: 1.35; color: var(--p-muted); transition: max-height .5s ease, opacity .4s ease, margin .5s ease; }
.hix__item.is-on .hix__n { color: var(--p-accent); }
.hix__item.is-on .hix__text { translate: 12px 0; }
.hix__item.is-on .hix__name { color: #fff; -webkit-text-stroke-color: transparent; opacity: 1; }
.hix__item.is-on .hix__desc { max-height: 2.6em; opacity: 1; margin-top: 7px; }
.hix__item:focus-visible { outline: 2px solid var(--p-accent); outline-offset: 6px; border-radius: 10px; }
/* la captura del sitio, en piezas con separaciones finas para que se lea entera */
.hix__visual { grid-area: visual; position: relative; justify-self: center; align-self: center; width: min(100%, 640px, 95svh); aspect-ratio: 500 / 312; margin-bottom: 52px; }
.hix__visual svg { position: relative; display: block; width: 100%; height: auto; filter: drop-shadow(0 30px 60px rgb(0 0 0 / .8)); overflow: visible; }
.hix__glow { position: absolute; inset: -8%; border-radius: 50%; background: radial-gradient(closest-side, rgb(159 203 173 / .16), transparent 72%); filter: blur(40px); }
.hix__tag { position: absolute; left: 50%; top: calc(100% + 12px); translate: -50% 0; display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 8px 14px; border-radius: 999px; white-space: nowrap; font-size: 13.5px; font-weight: 500; color: var(--p-ink); background: rgb(12 14 16 / .92); box-shadow: inset 0 0 0 1px rgb(159 203 173 / .3), 0 12px 30px -12px rgb(0 0 0 / .9); animation: adz-in .5s cubic-bezier(.2,.9,.3,1) .35s both; }
.hix__tag i { width: 7px; height: 7px; border-radius: 50%; background: var(--p-accent); box-shadow: 0 0 10px var(--p-accent); }
@media (max-width: 1023px) {
  .hix { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "visual" "list"; gap: 22px; }
  .hix__visual { width: min(100%, 480px); margin-bottom: 64px; }
  .hix__name { font-size: clamp(20px, 5.8vw, 38px); line-height: 1.06; -webkit-text-stroke-width: 2px; }
  .hix__item { min-height: 46px; align-items: center; }
  .hix__n { margin-top: 0; }
  .hix__item.is-on .hix__text { translate: 6px 0; }
}
@media (prefers-reduced-motion: reduce) { .hix__text, .hix__name, .hix__n, .hix__desc, .hix__tag { transition: none; animation: none; } }

/* ══ Ajustes de la auditoría móvil ═══════════════════════════════════════════════════════════════════════════ */
.q-plans__price { flex-basis: 100%; padding-left: 26px; font: 500 14px/1.4 var(--font-mono); color: var(--p-accent, var(--accent)); }
@media (max-width: 1023px) {
  /* el final del inicio no queda bajo la barra (la regla del kit ponía --bar en 0 dentro del hero) */
  html[data-app] :is(main, hx-stack) > :is(.hero, .section--hero) { --bar: calc(var(--appbar) + env(safe-area-inset-bottom)) !important; }
  html[data-app] { overscroll-behavior-x: none; }
  /* dentro de una pestaña con dos secciones: sin franja vacía entre ellas ni pantallas en blanco */
  html[data-app] .hx main > .is-tab:has(~ .is-tab) { --bar: 0px; }
  html[data-app] .hx:has(> footer.closing.is-tab) :is(main, hx-stack) > .is-tab { --bar: 0px; }
  html[data-app] .hx .is-tab ~ .is-tab, html[data-app] .hx > footer.closing.is-tab { min-height: 0 !important; }
  /* idioma a la mano en el encabezado */
  html[data-app-on] .nav .nav__bar > .nav__actions { display: flex !important; margin-left: auto; }
  html[data-app-on] .nav .nav__actions > .nav__lang { display: inline-grid !important; place-items: center; min-width: 44px; min-height: 44px; margin: 0; }
  html[data-app-on] .nav__lang-s { display: inline; }
  html[data-app-on] .nav .nav__actions > .btn { display: none !important; }
  /* áreas de toque de al menos 44 px */
  .showcase__tab, .adz__tabs button, .pp__tabs button, .live, .q-seg--sm label { min-height: 44px; }
  .q-block legend label { display: flex; align-items: center; gap: 10px; min-height: 44px; }
  .case-crumb { align-items: center; }
  .case-crumb a, main .link, .footer ul a { display: inline-flex; align-items: center; min-height: 44px; }
  .socials a, .footer__legal .socials a { width: 44px; height: 44px; }
  /* tira de proyectos: sin flechas (se desliza con el dedo) y con un desvanecido que avisa que hay más */
  .showcase__arrow { display: none; }
  .showcase__tabs { -webkit-mask-image: linear-gradient(90deg, #000 86%, transparent); mask-image: linear-gradient(90deg, #000 86%, transparent); padding-right: 40px; }
  /* el fondo de píxeles sólo cubre la primera pantalla del inicio */
  :is(main, hx-stack) > section.hero > .pixel-heat-field { inset: 0 0 auto 0; height: 100svh; }
  /* casos, testimonios y cotizador: sin alturas mínimas heredadas del kit */
  main.case > section.section, :is(main, hx-stack) > section.section.tm { min-height: 0; }
  /* el escáner no deja un hueco vacío */
  :is(main, hx-stack) > section#escaner { min-height: 0; }
  /* el texto del panel no hace saltar la página al rotar */
  .pp__copy { min-height: 12.5em; }
}
@media (max-width: 1100px) {
  /* la ventana del asesor cabe en pantallas bajas y su chat no atrapa el dedo */
  .adz__site { height: min(600px, calc(100svh - var(--nav, 56px) - var(--bar, 62px) - 72px)); min-height: 420px; }
}
@media (hover: none) {
  .adz__log { overflow: hidden; }
  /* sin estados "pegados" después de tocar */
  .showcase__arrow:hover, .hero__tab:hover, .svc__row:hover, .hidden__item:hover { translate: none; }
}
@media (max-width: 639px) {
  /* «Lo que no se ve» en celular: sólo la ventana del panel, a un tamaño que se lee */
  .pp { --u: 11px; }
  .pp__phone, .pp__cap--phone, .pp__side { display: none; }
  .pp__winbody { grid-template-columns: minmax(0, 1fr); }
  .pp__stage { width: 100%; max-width: 31.5em; height: 23.5em; }
  .pp__win { width: 100%; }
  .pp__main { padding-right: 1.2em; }
  .pp__cap { font-size: 11px; }
  .q-help, .q-num label, .q-check { font-size: 15px; }
  .adz__mem b, .adz__tool { font-size: 12px; }
  .svc__head h2, .hidden__head h2 { font-size: clamp(30px, 8.6vw, 44px); }
  .showcase__name { font-size: clamp(30px, 8.6vw, 40px); }
  .di__line { text-align: center; padding-inline: 24px; }
  .di__word { font-size: clamp(52px, 13vw, 200px); }
}
@media (max-width: 479px) {
  .hero__tags { flex-direction: column; gap: 6px; }
  .hero__tags span + span::before { display: none; }
  .lx .pl__bar .tab:not(.on) { display: none; }
}
@supports not (overflow: clip) { body, :is(main, hx-stack) > section.hero, :is(main, hx-stack) > section#cristian { overflow-x: hidden; } }
.appsheet__panel { overscroll-behavior: contain; }
.appsheet__scrim { touch-action: none; }
@media screen and (min-width: 1280px) and (hover: hover) and (pointer: fine) { .hx .hero--centred .hero__map.has-hix { margin-top: clamp(40px, 7svh, 90px); scroll-margin-top: 84px; } }

/* ── MacBook de Proyectos en celular y tableta ─────────────────────────────────────────────────────────────
   El modelo es pequeño aquí: con la perspectiva de computador (1800 px) quedaba casi plano, y el recorte del
   escenario le cortaba el borde superior de la tapa contra el título. Se acerca la cámara en proporción al
   tamaño, se deja aire arriba y el recorte lateral pasa a la sección. */
@media (max-width: 1023px) {
  .showcase__stage { overflow: visible; padding: clamp(22px, 6vw, 40px) 4% 4px; }
  .mbp { perspective: clamp(700px, 232vw, 1800px); perspective-origin: 50% 6%; }
  .mbp__tilt { transform: rotateX(-19deg); margin-bottom: 25%; }
  .mbp.is-open .mbp__lid { transform: rotateX(15deg); }
  :is(main, hx-stack) > section#proyectos.has-showcase { overflow-x: clip; }
  #proyectos.has-showcase .section-head { margin-bottom: 4px; }
}

/* Cierre: cotizar + WhatsApp, juntos a la derecha (en celular, uno encima del otro a todo el ancho) */
.section-head--split > .close__acts { display: flex; flex-wrap: wrap; gap: var(--s-3); max-width: none; align-items: center; }
.close__acts .btn svg:first-child { margin-right: .45em; }
@media (max-width: 720px) { .section-head--split > .close__acts { width: 100%; } .close__acts .btn { width: 100%; justify-content: center; } }

/* Preguntas en computador (pista horizontal): columna más ancha y filas compactas, para que las 7 quepan en una sola pantalla */
@media (min-width: 1280px) and (pointer: fine) {
  .hx[data-ready] #preguntas .faq { grid-column: 6 / -1; }
  /* el bloque queda centrado entre el menú de arriba y la barra de secciones de abajo: mismo aire arriba y abajo */
  .hx[data-ready] main > section#preguntas { display: flex; flex-direction: column; padding-block: calc(var(--nav) + 12px) calc(68px + 12px); }
  .hx[data-ready] main > section#preguntas > .wrap { flex: none; min-height: 0; margin-block: auto; }
  .hx[data-ready] main > section#preguntas > .wrap > .grid { align-items: center; }
  .hx[data-ready] main > section#preguntas::after { display: none; }
  .hx[data-ready] #preguntas .faq > .faq__item { padding: var(--s-3) 0; gap: 4px; }
  .hx[data-ready] #preguntas .faq > .faq__item:first-child { padding-top: 0; }
  .hx[data-ready] #preguntas .faq :is(.faq__item > h3) { font-size: 1.05rem; }
  .hx[data-ready] #preguntas .faq p { font-size: .94rem; line-height: 1.45; max-width: none; }
}

/* «Lo que no se ve»: lluvia de código de fondo, detrás del título, la lámpara y el panel; se desvanece en los bordes */
#interno { position: relative; isolation: isolate; }
.hidden__rain { position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .9;
  -webkit-mask-image: radial-gradient(120% 90% at 50% 40%, #000 35%, transparent 85%); mask-image: radial-gradient(120% 90% at 50% 40%, #000 35%, transparent 85%); }

/* «Quién soy» en computador: la historia en tres párrafos cabe en una pantalla con las habilidades en una sola fila */
@media (min-width: 1280px) and (pointer: fine) {
  .hx[data-ready] #cristian .about__skills { flex-wrap: nowrap; gap: 6px; margin-top: 18px; }
  .hx[data-ready] #cristian .about__skills li { padding: 8px 12px; white-space: nowrap; }
  .hx[data-ready] #cristian .about__skills b { font-size: 14px; }
  .hx[data-ready] #cristian .about__skills b::before { margin-right: 7px; }
  .hx[data-ready] #cristian .about__bio + .about__bio { margin-top: 10px; }
  .hx[data-ready] #cristian .btn-row { margin-top: 18px; }
}

/* ── Cómo trabajo: línea de tiempo de 5 pasos que se enciende en orden ─────────────────────────── */
.hw { --dot: 52px; list-style: none; margin: 8px 0 40px; padding: 0; position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.hw::before, .hw::after { content: ""; position: absolute; left: calc(var(--dot) / 2); right: calc(20% - var(--dot) / 2); top: calc(var(--dot) / 2); height: 2px; border-radius: 2px; background: var(--line); }
.hw::after { background: linear-gradient(90deg, var(--accent), rgb(178 214 189 / .35)); transform-origin: left; box-shadow: 0 0 14px rgb(159 203 173 / .45); }
.hw li { position: relative; display: grid; gap: 8px; align-content: start; padding-right: 6px; }
.hw__ico { position: relative; z-index: 1; display: grid; place-items: center; width: var(--dot); height: var(--dot); border-radius: 50%; background: var(--surface, #0d1110); box-shadow: inset 0 0 0 1px rgb(159 203 173 / .45), 0 0 0 6px var(--bg, #0b0d0c); color: var(--accent); transition: box-shadow .3s, translate .3s, background .3s; }
.hw__ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.hw b { margin-top: 10px; font: 500 12px/1 var(--font-mono); letter-spacing: .08em; color: var(--accent); }
.hw h3 { margin: 0; font-size: 1.12rem; line-height: 1.25; }
.hw p { margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.5; }
.hw li:hover .hw__ico { translate: 0 -3px; background: rgb(159 203 173 / .12); box-shadow: inset 0 0 0 1px var(--accent), 0 0 0 6px var(--bg, #0b0d0c), 0 0 26px rgb(159 203 173 / .45); }
.hw__terms { margin: 0; }
.hw__terms dt { font-size: clamp(28px, 3.2vw, 46px); }

/* Al llegar a la pestaña (computador: .is-here; celular: .is-tab) la línea se dibuja y cada paso se enciende en su turno */
@keyframes hw-line { from { transform: scaleX(0); } }
@keyframes hw-step { from { opacity: .18; translate: 0 10px; } }
@keyframes hw-dot { 0% { box-shadow: inset 0 0 0 1px rgb(159 203 173 / .45), 0 0 0 6px var(--bg, #0b0d0c), 0 0 0 6px rgb(159 203 173 / .5); } 100% { box-shadow: inset 0 0 0 1px rgb(159 203 173 / .45), 0 0 0 6px var(--bg, #0b0d0c), 0 0 0 22px rgb(159 203 173 / 0); } }
:is(#confianza.is-here, #confianza.is-tab) .hw::after { animation: hw-line 2.2s cubic-bezier(.65,0,.35,1) both; }
:is(#confianza.is-here, #confianza.is-tab) .hw li { animation: hw-step .7s cubic-bezier(.16,1,.3,1) both; animation-delay: calc(var(--i) * .42s + .1s); }
:is(#confianza.is-here, #confianza.is-tab) .hw__ico { animation: hw-dot 1.1s ease-out both; animation-delay: calc(var(--i) * .42s + .25s); }
@media (prefers-reduced-motion: reduce) { .hw::after, .hw li, .hw__ico { animation: none !important; } }

/* Celular y tableta: línea vertical a la izquierda */
@media (max-width: 1023px) {
  .hw { --dot: 46px; grid-template-columns: minmax(0, 1fr); gap: 22px; margin-bottom: 32px; }
  .hw::before, .hw::after { left: calc(var(--dot) / 2 - 1px); right: auto; top: calc(var(--dot) / 2); bottom: calc(100% - var(--dot)); width: 2px; height: auto; bottom: 30px; }
  .hw::after { background: linear-gradient(180deg, var(--accent), rgb(178 214 189 / .35)); transform-origin: top; }
  @keyframes hw-line-v { from { transform: scaleY(0); } }
  :is(#confianza.is-here, #confianza.is-tab) .hw::after { animation-name: hw-line-v; }
  .hw li { grid-template-columns: var(--dot) minmax(0, 1fr); column-gap: 16px; row-gap: 4px; }
  .hw__ico { grid-row: 1 / span 3; }
  .hw b { margin-top: 4px; }
  .hw__ico svg { width: 21px; height: 21px; }
}
@media (min-width: 1024px) {
  .hw { --dot: 72px; gap: 26px; margin: clamp(24px, 5svh, 56px) 0 clamp(36px, 7svh, 72px); }
  .hw__ico svg { width: 30px; height: 30px; }
  .hw b { margin-top: 16px; font-size: 13px; }
  .hw h3 { font-size: clamp(1.2rem, 1.5vw, 1.45rem); }
  .hw p { font-size: clamp(.98rem, 1.05vw, 1.08rem); }
}

/* ── Comprobante de la cotización (impresora de recibos) ─────────────────────────────────────────── */
.q-receipt { margin-top: 20px; display: grid; gap: 14px; justify-items: center; }
.q-receipt .q-help { text-align: center; max-width: 40ch; }
.q-receipt__acts { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.q-receipt__acts .btn svg { margin-right: .45em; }
.rp { position: relative; width: min(100%, 300px); height: 30rem; overflow: hidden; border-radius: 24px; border: 1px solid rgb(154 163 157 / .16); background: #090b0a; color: var(--ink, #e9efe9); user-select: none; -webkit-user-select: none; }
.rp__well { position: absolute; inset-inline: 0; bottom: 0; overflow: hidden; }
.rp__well.is-torn { overflow: visible; }
.rp__paper { position: absolute; top: 0; left: 50%; width: 232px; margin-left: -116px; transform-origin: 0 0; touch-action: none; background: #f6f6f2; color: #222; box-shadow: 0 1px 2px rgb(0 0 0 / .1), 0 10px 28px -12px rgb(0 0 0 / .6); outline: none; font-family: var(--font-mono-site), ui-monospace, monospace; }
.rp__paper.is-grab { cursor: grab; } .rp__paper.is-grab:active, .rp__paper.is-held { cursor: grabbing; }
.rp__paper.is-gone { visibility: hidden; }
.rp__perf { position: absolute; inset-inline: 4px; top: 4px; border-top: 2px dotted #c9c9c3; }
.rp__body { padding: 24px 18px 30px; font-size: 11px; line-height: 15px; }
.rp__body p { margin: 0; }
.rp__title { text-align: center; font-weight: 600; font-size: 13px; letter-spacing: .22em; margin-bottom: 2px !important; }
.rp__c { text-align: center; color: #6a6a66; }
.rp__rule { margin: 7px 0 !important; overflow: hidden; white-space: nowrap; color: #b4b4ae; }
.rp__row { display: flex; justify-content: space-between; gap: 10px; }
.rp__row > span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rp__row > span:last-child { white-space: nowrap; font-variant-numeric: tabular-nums; }
.rp__row.is-muted { color: #6a6a66; }
.rp__row.is-strong { margin-top: 4px; font-weight: 600; font-size: 12.5px; color: #111; }
.rp__bars { display: flex; justify-content: center; gap: 1px; height: 34px; margin: 16px 0 10px; }
.rp__bars span { background: #222; }
.rp__head { position: absolute; inset-inline: 0; top: 0; height: 64px; background: #111514; border-bottom: 1px solid rgb(154 163 157 / .14); }
.rp__bar { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px 0; font-size: 12px; }
.rp__brand { font-weight: 600; letter-spacing: .04em; }
.rp__status { color: var(--muted, #9aa39d); }
.rp__slot { position: absolute; inset-inline: 30px; bottom: 8px; height: 4px; border-radius: 4px; background: #000; box-shadow: 0 0 0 1px rgb(159 203 173 / .18), 0 0 14px rgb(159 203 173 / .25); }
.rp__sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.rp__sr:focus { width: auto; height: auto; clip: auto; right: 14px; bottom: 14px; padding: 6px 12px; border-radius: 999px; background: var(--accent); color: #0d1a12; font-size: 12px; }
.rp__again { position: absolute; inset-inline: 0; bottom: 0; display: flex; justify-content: center; padding: 18px; transition: opacity .2s ease-out; }
.rp__again.is-off { opacity: 0; pointer-events: none; }
.rp__row > span:first-child { white-space: normal; overflow: visible; }

/* ── Robot 3D (Spline) como protagonista del asesor virtual ─────────────────────────────────────── */
.spline { position: relative; width: 100%; height: 100%; }
.spline__canvas, .spline canvas { display: block; width: 100% !important; height: 100% !important; outline: none; }
.spline__fallback { position: absolute; inset: 0; display: grid; place-items: center; transition: opacity .6s; }
.spline > .spline__canvas { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease; }
.spline.is-ready > .spline__canvas { opacity: 1; }
.adz__mascot--3d { position: relative; width: clamp(300px, 30vw, 520px); height: clamp(440px, 74svh, 760px); padding: 0 !important; align-self: stretch; }
.adz__glow { position: absolute; left: 50%; top: 42%; width: 120%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; background: radial-gradient(closest-side, rgb(159 203 173 / .16), rgb(159 203 173 / .05) 55%, transparent 75%); filter: blur(8px); pointer-events: none; }
@media (min-width: 1024px) { .adz { grid-template-columns: minmax(0, 1fr) auto minmax(0, 480px); } }
@media (max-width: 1023px) { .adz__mascot--3d { width: 100%; height: min(118vw, 560px); } }
@media (min-width: 1024px) {
  .adz { grid-template-columns: minmax(260px, 1fr) auto minmax(0, 440px); column-gap: clamp(8px, 1.4vw, 24px); }
  .adz__mascot--3d { width: clamp(400px, 38vw, 640px); }
  .adz__copy h2 { font-size: clamp(30px, 2.7vw, 44px); }
}
/* En pantallas táctiles el robot no atrapa el dedo: el scroll pasa por encima (sigue animado) */
@media (pointer: coarse) { .spline__canvas { pointer-events: none; touch-action: pan-y; } }

/* ── Cómo trabajo: rueda de los 5 pasos (WorksWheel) ─────────────────────────────────────────────── */
#confianza.has-wheel .hw { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } /* respaldo: sigue para lectores y buscadores */
.how__wheel { margin: 4px 0 28px; }
.ww { position: relative; height: clamp(420px, 58svh, 640px); overflow: hidden; user-select: none; -webkit-user-select: none; border-radius: 28px; background: radial-gradient(60% 70% at 50% 50%, rgb(159 203 173 / .07), transparent 70%); }
.ww__stage { position: absolute; inset: 0; outline: none; cursor: grab; touch-action: pan-y; }
.ww__stage:active { cursor: grabbing; }
.ww__stage:focus-visible { outline: 2px solid var(--accent); outline-offset: -4px; border-radius: 28px; }
.ww__wheel { position: absolute; top: 50%; left: 50%; transform-style: preserve-3d; }
.ww__card { position: absolute; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.ww__face { position: relative; display: block; width: 100%; height: 100%; overflow: hidden; border-radius: 14px; background: #101412; box-shadow: 0 0 0 1px rgb(154 163 157 / .14), 0 24px 50px -22px rgb(0 0 0 / .9), 0 0 40px -18px rgb(159 203 173 / .35); transform-origin: center; }
.ww__face img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.ww__num { position: absolute; left: 12px; top: 10px; padding: 3px 8px; border-radius: 999px; background: rgb(11 13 12 / .72); color: var(--accent); font: 500 11px/1.2 var(--font-mono-site), ui-monospace, monospace; letter-spacing: .08em; backdrop-filter: blur(6px); }
.ww__label { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; gap: 8px; pointer-events: none; }
.ww__label span { font: var(--display-weight, 500) clamp(28px, 3.4vw, 52px)/1 var(--font-display, inherit); letter-spacing: var(--display-tracking, -.02em); }
.ww__label small { color: var(--muted); font: 500 12px/1 var(--font-mono-site), ui-monospace, monospace; letter-spacing: .12em; text-transform: uppercase; }
.ww__detail { position: absolute; left: 4%; top: 50%; translate: 0 -50%; width: min(26%, 300px); opacity: 0; pointer-events: none; display: grid; gap: 8px; }
.ww__detail b { color: var(--accent); font: 500 12px/1 var(--font-mono-site), ui-monospace, monospace; letter-spacing: .1em; }
.ww__detail h3 { margin: 0; font-size: clamp(22px, 2.2vw, 34px); line-height: 1.1; }
.ww__detail p { margin: 0; color: var(--muted); font-size: clamp(.95rem, 1vw, 1.05rem); line-height: 1.5; }
.ww__index { position: absolute; top: 7%; right: 3%; margin: 0; padding: 0; list-style: none; text-align: right; display: grid; gap: 4px; }
.ww__index button { all: unset; cursor: pointer; display: inline-flex; gap: 10px; align-items: baseline; color: var(--muted); font-size: 14px; line-height: 1.6; transition: color .2s; }
.ww__index button span { font: 500 11px/1 var(--font-mono-site), ui-monospace, monospace; color: rgb(159 203 173 / .55); }
.ww__index button:hover, .ww__index button.is-on { color: var(--ink); }
.ww__index button.is-on { font-weight: 600; }
.ww__index button:focus-visible { outline: 1px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.ww__nav { position: absolute; right: 3%; bottom: 6%; display: flex; gap: 8px; }
.ww__nav button { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgb(154 163 157 / .22); background: rgb(11 13 12 / .6); color: var(--ink); cursor: pointer; transition: border-color .2s, background .2s, opacity .2s; }
.ww__nav button:hover:not(:disabled) { border-color: var(--accent); background: rgb(159 203 173 / .12); }
.ww__nav button:disabled { opacity: .35; cursor: default; }
@media (max-width: 1023px) {
  .ww { height: min(128vw, 620px); }
  .ww__detail { left: 6%; right: 6%; top: auto; bottom: 5%; translate: none; width: auto; text-align: center; justify-items: center; }
  .ww__detail h3 { font-size: 22px; }
  .ww__index { display: none; }
  .ww__nav { right: 50%; translate: 50% 0; bottom: auto; top: 4%; }
}
@media (min-width: 1024px) { .ww { height: clamp(380px, calc(100svh - 400px), 600px); } .how__wheel { margin: 0 0 20px; } #confianza.has-wheel .section-head { margin-bottom: 16px; } }
@media (max-width: 1023px) {
  .ww { height: min(152vw, 700px); }
  .ww__stage { bottom: 30%; }
  .ww__detail { bottom: 0; padding: 18px 6% 22px; left: 0; right: 0; background: linear-gradient(180deg, transparent, rgb(11 13 12 / .85) 28%); }
  .ww__label { bottom: 30%; }
}
@media (max-width: 1023px) { .ww__stage { overflow: hidden; } .ww__nav { top: auto; bottom: calc(30% + 16px); z-index: 2; } } /* flechas debajo de la foto activa, en el espacio libre (antes tapaban la foto anterior) */

/* ── Cómo trabajo: condiciones con la tipografía de «Problemas que ya resolví» ───────────────────────
   Contorno en reposo; una se enciende en blanco a la vez (ciclo suave de 12 s) y al pasar el mouse. */
.hw__terms { counter-reset: term; gap: clamp(14px, 2vw, 28px); }
.hw__terms > div { counter-increment: term; position: relative; padding-top: 18px; border-top: 1px solid rgb(154 163 157 / .14); cursor: default; }
.hw__terms > div::before { content: counter(term, decimal-leading-zero); position: absolute; top: 18px; left: 0; font: 700 clamp(12px, 1vw, 15px)/1 var(--font-display); color: #5a646d; transition: color .4s; }
.hw__terms > div::after { content: ""; position: absolute; left: 0; top: -1px; height: 1px; width: 0; background: var(--accent); box-shadow: 0 0 10px var(--accent); transition: width .7s cubic-bezier(.2,.8,.2,1); }
.hw__terms dt { margin-left: 34px; font: 900 clamp(26px, min(3vw, 5svh), 46px)/.98 var(--font-display); letter-spacing: -.035em; text-transform: uppercase; white-space: nowrap; color: var(--p-bg, #0b0d0c); -webkit-text-stroke: 2px #5a646d; paint-order: stroke fill; opacity: .78; transition: color .5s, opacity .5s, -webkit-text-stroke-color .5s, translate .6s cubic-bezier(.2,.8,.2,1); }
@supports not ((-webkit-text-stroke: 1px #000) and (paint-order: stroke fill)) { .hw__terms dt { color: #5a646d; -webkit-text-stroke: 0; } }
.hw__terms dd { margin: 10px 0 0 34px; color: var(--muted); font-size: 15px; line-height: 1.35; transition: color .5s; }
/* encendida: por el ciclo o al pasar el mouse */
.hw__terms > div:is(:hover, .is-lit)::before { color: var(--accent); }
.hw__terms > div:is(:hover, .is-lit)::after { width: 100%; }
.hw__terms > div:is(:hover, .is-lit) dt { color: #fff; -webkit-text-stroke-color: transparent; opacity: 1; translate: 6px 0; }
.hw__terms > div:is(:hover, .is-lit) dd { color: var(--ink); }
@keyframes hw-term { 0%, 2% { color: var(--p-bg, #0b0d0c); -webkit-text-stroke-color: #5a646d; opacity: .78; translate: 0 0; } 6%, 22% { color: #fff; -webkit-text-stroke-color: transparent; opacity: 1; translate: 6px 0; } 27%, 100% { color: var(--p-bg, #0b0d0c); -webkit-text-stroke-color: #5a646d; opacity: .78; translate: 0 0; } }
@keyframes hw-term-n { 0%, 2% { color: #5a646d; } 6%, 22% { color: var(--accent); } 27%, 100% { color: #5a646d; } }
@keyframes hw-term-l { 0%, 2% { width: 0; } 6%, 22% { width: 100%; } 27%, 100% { width: 0; } }
.hw__terms:not(:hover) > div dt { animation: hw-term 12s ease-in-out infinite; }
.hw__terms:not(:hover) > div::before { animation: hw-term-n 12s ease-in-out infinite; }
.hw__terms:not(:hover) > div::after { animation: hw-term-l 12s ease-in-out infinite; }
.hw__terms > div:nth-child(2) dt, .hw__terms > div:nth-child(2)::before, .hw__terms > div:nth-child(2)::after { animation-delay: 3s; }
.hw__terms > div:nth-child(3) dt, .hw__terms > div:nth-child(3)::before, .hw__terms > div:nth-child(3)::after { animation-delay: 6s; }
.hw__terms > div:nth-child(4) dt, .hw__terms > div:nth-child(4)::before, .hw__terms > div:nth-child(4)::after { animation-delay: 9s; }
@media (max-width: 1023px) {
  .hw__terms dt { font-size: clamp(26px, 8vw, 40px); -webkit-text-stroke-width: 1.6px; }
}
@media (prefers-reduced-motion: reduce) {
  .hw__terms > div dt, .hw__terms > div::before, .hw__terms > div::after { animation: none !important; transition: none; }
  .hw__terms > div:first-child dt { color: #fff; -webkit-text-stroke-color: transparent; opacity: 1; }
}
@media (min-width: 1024px) { .ww { height: clamp(360px, calc(100svh - 470px), 580px); } .how__wheel { margin-bottom: 14px; } .hw__terms > div { padding-top: 14px; } .hw__terms > div::before { top: 14px; } .hw__terms dd { margin-top: 6px; } }
.ww__label span, .ww__label small { text-shadow: 0 0 2px #000, 0 2px 18px #000, 0 0 40px #000; }

/* ── Inicio, «Así cambiaron sus negocios»: el cliente activo abre su antes / ahora ───────────────── */
.hix__desc { display: grid; gap: 8px; max-width: 560px; color: var(--p-muted); }
.hix__item.is-on .hix__desc { max-height: 15em; margin-top: 10px; }
.hix__sector { font: 500 11.5px/1.2 var(--font-mono-site), ui-monospace, monospace; letter-spacing: .1em; text-transform: uppercase; color: var(--p-accent); }
.hix__before { font-size: 15px; line-height: 1.4; }
.hix__before b, .hix__now b { display: inline-block; margin-right: 8px; font: 600 11px/1 var(--font-mono-site), ui-monospace, monospace; letter-spacing: .1em; text-transform: uppercase; color: #8a949c; }
.hix__now { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.hix__now b { color: var(--p-accent); }
.hix__now i { font-style: normal; font-size: 13px; line-height: 1.2; padding: 5px 10px; border-radius: 999px; color: var(--p-ink); background: rgb(159 203 173 / .08); box-shadow: inset 0 0 0 1px rgb(159 203 173 / .28); }
.hix__item.is-on .hix__now i { animation: hix-chip .5s cubic-bezier(.2,.9,.3,1) both; }
.hix__item.is-on .hix__now i:nth-of-type(2) { animation-delay: .06s; } .hix__item.is-on .hix__now i:nth-of-type(3) { animation-delay: .12s; } .hix__item.is-on .hix__now i:nth-of-type(4) { animation-delay: .18s; }
.hix__item.is-on .hix__now i:nth-of-type(5) { animation-delay: .24s; } .hix__item.is-on .hix__now i:nth-of-type(6) { animation-delay: .3s; } .hix__item.is-on .hix__now i:nth-of-type(7) { animation-delay: .36s; }
@keyframes hix-chip { from { opacity: 0; translate: 0 6px; } }
.hix__go { display: inline-flex; align-items: center; gap: 6px; width: max-content; font-size: 13.5px; font-weight: 500; color: var(--p-accent); }
.hix__item:hover .hix__go { text-decoration: underline; text-underline-offset: 3px; }
.hix__list { gap: clamp(4px, 1.1svh, 12px); }
.hix__name { font-size: clamp(22px, min(2.9vw, 4.6svh), 44px); }
@media (max-width: 1023px) { .hix__before { font-size: 14.5px; } .hix__now i { font-size: 12.5px; } }
@media (prefers-reduced-motion: reduce) { .hix__now i { animation: none !important; } }
@media (max-width: 1023px) {
  .hix__item { align-items: flex-start; }
  .hix__n { margin-top: .45em; }
  .hix__item.is-on .hix__desc { max-height: 32em; }
}

/* ── Violeta eléctrico: el segundo acento, sólo en lo que es IA y en los momentos de marca ───────────── */
.grad-ai, .hero h1 .grad-ai { background: var(--grad-ai); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.hero h1 .grad-ai { filter: drop-shadow(0 0 24px rgb(179 169 212 / .25)); }
/* el negocio activo y la condición encendida: degradado verde → violeta en lugar de blanco */
.hix__item.is-on .hix__name { background: var(--grad-ai); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.hw__terms > div:is(:hover, .is-lit)::after { background: var(--grad-ai); box-shadow: 0 0 12px rgb(179 169 212 / .6); }
@keyframes hw-term-l { 0%, 2% { width: 0; } 6%, 22% { width: 100%; } 27%, 100% { width: 0; } }
.hw__terms > div::after { background: var(--grad-ai); box-shadow: 0 0 12px rgb(179 169 212 / .55); }
/* el robot 3D y el asesor: halo violeta mezclado con el verde */
.adz__glow { background: radial-gradient(closest-side, rgb(179 169 212 / .22), rgb(159 203 173 / .07) 55%, transparent 75%); }
.hix__glow { background: radial-gradient(closest-side, rgb(179 169 212 / .18), rgb(159 203 173 / .08) 55%, transparent 72%); }
.ww { background: radial-gradient(60% 70% at 50% 50%, rgb(179 169 212 / .09), rgb(159 203 173 / .04) 55%, transparent 72%); }
.ww__face { box-shadow: 0 0 0 1px rgb(154 163 157 / .14), 0 24px 50px -22px rgb(0 0 0 / .9), 0 0 40px -18px rgb(179 169 212 / .45); }
.ww__detail b, .ww__num { color: var(--p-violet-soft); }
/* las listas numeradas grandes en Unbounded: un poco más compactas */
.hix__name { letter-spacing: -.02em; }
.hw__terms dt { letter-spacing: -.02em; font-size: clamp(22px, min(2.4vw, 4.4svh), 38px); }

/* ── Violeta eléctrico en todas las pestañas (auditoría): un toque por sección, ligado a lo que es IA ── */
/* títulos con segunda frase: de gris a violeta */
:is(main, hx-stack) > section h2 .muted { background: linear-gradient(90deg, #9aa39d 0%, #9aa39d 30%, var(--p-violet-soft) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
/* Proyectos: la etiqueta de IA */
.work__tags li.is-ai { color: #cdc6e3; border-color: rgb(179 169 212 / .55); background: rgb(179 169 212 / .12); }
/* Escáner: segunda línea del título y notas del código */
#escaner .asc-title i { background: linear-gradient(90deg, #9aa39d, var(--p-violet-soft)); -webkit-background-clip: text; background-clip: text; color: transparent; }
#escaner .asc-code-notes { color: rgb(167 139 250 / .8); }
/* Quién soy: el anillo de la foto mezcla verde y violeta; la barra de la frase en degradado */
.about__ring { background: conic-gradient(from 0deg, rgb(159 203 173 / 0), rgb(159 203 173 / .85) 22%, rgb(179 169 212 / .75) 42%, rgb(179 169 212 / 0) 60%, rgb(159 203 173 / .6) 85%, rgb(159 203 173 / 0)); }
.about__quote { border-left: 0; position: relative; }
.about__quote::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; border-radius: 3px; background: linear-gradient(180deg, var(--p-accent), var(--p-violet)); }
/* Lo que no se ve: la pestaña «IA» del panel es violeta */
.pp__tabs button:nth-child(2).is-on { color: #fff; background: var(--p-violet); box-shadow: 0 0 18px -4px rgb(179 169 212 / .8); }
/* Asesor (consola 24/7): la palabra 24/7, el consumo de IA y el aviso */
/* Servicios: el asesor con IA y las automatizaciones llevan su número en violeta */
.svc__list > li:nth-child(3) .svc__n, .svc__list > li:nth-child(4) .svc__n { color: var(--p-violet-soft); }
/* Preguntas: las dos sobre IA con un punto violeta; el chat de ejemplo con brillo violeta */
#preguntas .faq__item:nth-child(3) h3::before, #preguntas .faq__item:nth-child(5) h3::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 10px; vertical-align: .2em; border-radius: 50%; background: var(--p-violet); box-shadow: 0 0 10px var(--p-violet); }
#preguntas .faq__frame { box-shadow: 0 30px 70px -40px rgb(179 169 212 / .55); border-radius: 18px; }
/* Cierre: el gran 111NEVOR de plateado a violeta */
footer.closing .close__word { background: linear-gradient(90deg, #e9ece8 0%, #c9cfd6 45%, var(--p-violet-soft) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pp__tabs button:nth-child(2):not(.is-on) { color: #cdc6e3; box-shadow: inset 0 0 0 1px rgb(179 169 212 / .5); }
#interno .pp { box-shadow: 0 40px 90px -50px rgb(179 169 212 / .45); }

/* ── Nunca cortar palabras: sin guiones automáticos ni quiebres dentro de una palabra ─────────────────
   (el kit traía hyphens: auto en los títulos; partía «cual-quier»). Si una palabra no cabe, se ajusta el
   tamaño de ese texto, nunca se parte. */
html, body, h1, h2, h3, h4, h5, h6, p, li, dt, dd, a, span, b, strong, small, em, label, button, blockquote, figcaption {
  hyphens: manual; -webkit-hyphens: manual; overflow-wrap: normal; word-break: normal;
}
@media (max-width: 639px) { .svc__t { font-size: clamp(15px, 4.6vw, 24px); } }
.adz__copy .btn { max-width: 100%; white-space: normal; text-align: center; line-height: 1.25; }
@media (min-width: 1024px) { .ww { height: clamp(400px, calc(100svh - 420px), 640px); } }

/* ── «Quién soy»: videos reales en celulares (PhoneReel) ─────────────────────────────────────────── */
.proof { margin: clamp(48px, 8svh, 96px) 0 clamp(24px, 4svh, 48px); }
.proof__head { text-align: center; display: grid; gap: 10px; justify-items: center; margin-bottom: 28px; }
.proof__head .eyebrow { margin: 0; font: 500 13px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--p-accent); }
.proof__head h3 { margin: 0; font: var(--display-weight) clamp(26px, 2.6vw, 40px)/1.08 var(--font-display); letter-spacing: var(--display-tracking); background: linear-gradient(90deg, #e9ece8, var(--p-violet-soft)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.proof__head p:last-child { margin: 0; color: var(--p-muted); max-width: 46ch; }
.phr { position: relative; outline: none; }
.phr__stage { position: relative; height: clamp(440px, 62svh, 640px); perspective: 1600px; }
.phr__phone { --w: min(calc(clamp(440px, 62svh, 640px) * .49), 80vw); position: absolute; left: 50%; top: 0; width: var(--w); aspect-ratio: 9 / 19.5; margin: 0 0 0 calc(var(--w) / -2); transition: transform .8s cubic-bezier(.2,.8,.2,1), opacity .6s, filter .6s; cursor: pointer; }
.phr__phone--c { transform: translate3d(0, 0, 0); z-index: 3; cursor: default; }
.phr__phone--l { transform: translate3d(-62%, 7%, -220px) rotateY(16deg) rotateZ(-3deg) scale(.86); z-index: 2; opacity: .55; filter: saturate(.6) brightness(.7); }
.phr__phone--r { transform: translate3d(62%, 7%, -220px) rotateY(-16deg) rotateZ(3deg) scale(.86); z-index: 2; opacity: .55; filter: saturate(.6) brightness(.7); }
.phr__phone--h { transform: translate3d(0, 10%, -400px) scale(.7); opacity: 0; z-index: 1; pointer-events: none; }
.phr__phone--l:hover, .phr__phone--r:hover { opacity: .8; filter: none; }
.phr__frame { position: relative; width: 100%; height: 100%; border-radius: 13% / 6%; padding: 3.2%; background: linear-gradient(160deg, #3a3d44, #16171b 40%, #0c0d10); box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / .12), 0 40px 80px -30px rgb(0 0 0 / .9), 0 0 60px -20px rgb(179 169 212 / .35); }
.phr__phone--c .phr__frame { box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / .16), 0 50px 100px -30px rgb(0 0 0 / .95), 0 0 70px -18px rgb(159 203 173 / .35), 0 0 120px -40px rgb(179 169 212 / .45); }
.phr__video { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 10.5% / 4.9%; background: #0b0c0e; }
.phr__island { position: absolute; z-index: 2; top: 5%; left: 50%; width: 30%; height: 3.4%; translate: -50% 0; border-radius: 999px; background: #0b0d0c; }
.phr__ctl { position: relative; z-index: 4; display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 22px; }
.phr__ctl button { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgb(154 163 157 / .22); background: rgb(12 14 16 / .9); color: var(--p-ink); cursor: pointer; transition: border-color .2s, background .2s, transform .15s; }
.phr__ctl button:hover { border-color: var(--p-accent); background: rgb(159 203 173 / .12); }
.phr__ctl button:active { transform: scale(.94); }
.phr__ctl button:focus-visible { outline: 2px solid var(--p-accent); outline-offset: 3px; }
.phr__dots { display: inline-flex; gap: 6px; margin-left: 8px; }
.phr__dots i { width: 7px; height: 7px; border-radius: 50%; background: rgb(154 163 157 / .3); transition: width .3s, background .3s; }
.phr__dots i.is-on { width: 20px; border-radius: 4px; background: var(--grad-ai); }
@media (max-width: 639px) {
  .phr__stage { height: min(132vw, 560px); }
  .phr__phone { --w: min(58vw, 260px); }
  .phr__phone--l { transform: translate3d(-48%, 8%, -220px) rotateY(16deg) scale(.82); }
  .phr__phone--r { transform: translate3d(48%, 8%, -220px) rotateY(-16deg) scale(.82); }
}
@media (prefers-reduced-motion: reduce) { .phr__phone { transition: none; } }
@media (min-width: 640px) {
  .phr__stage { height: clamp(400px, 56svh, 600px); }
  .phr__phone { --w: min(calc(clamp(400px, 56svh, 600px) * .49), 80vw); }
  .phr__phone--l { transform: translate3d(-84%, 6%, -240px) rotateY(22deg) rotateZ(-4deg) scale(.84); }
  .phr__phone--r { transform: translate3d(84%, 6%, -240px) rotateY(-22deg) rotateZ(4deg) scale(.84); }
}
.phr__tag { position: relative; z-index: 4; display: flex; width: max-content; max-width: 100%; margin: 18px auto 0; align-items: center; flex-wrap: wrap; justify-content: center; gap: 4px 10px; padding: 9px 16px; border-radius: 999px; color: var(--p-ink); text-decoration: none; font-size: 14px; background: rgb(12 14 16 / .92); box-shadow: inset 0 0 0 1px rgb(179 169 212 / .45), 0 12px 30px -12px rgb(0 0 0 / .9); animation: adz-in .5s cubic-bezier(.2,.9,.3,1) both; }
.phr__tag i { width: 8px; height: 8px; border-radius: 50%; background: var(--p-accent); box-shadow: 0 0 10px var(--p-accent); }
.phr__tag b { font-weight: 600; }
.phr__tag span { color: var(--p-muted); }
.phr__tag em { display: inline-flex; align-items: center; gap: 5px; font-style: normal; font-weight: 500; color: var(--p-violet-soft); }
.phr__tag:hover em { text-decoration: underline; text-underline-offset: 3px; }
.phr__ctl { margin-top: 14px; }
@media (min-width: 640px) {
  .phr__stage { height: clamp(380px, 50svh, 560px); }
  .phr__phone { --w: min(calc(clamp(380px, 50svh, 560px) * .49), 80vw); }
}
.proof { min-width: 0; max-width: 100%; }
.phr, .phr__stage { min-width: 0; max-width: 100%; }
.phr__tag { width: auto; max-width: min(100%, 520px); text-align: center; }
.phr__tag { width: fit-content; }

/* ── Preguntas como chat (FaqChat) ──────────────────────────────────────────────────────────────── */
#preguntas .faq.has-chat > .faq__item { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } /* respaldo para buscadores y sin JS */
#preguntas .faq.has-chat { display: block; }
.fqc__stamp { margin: 0 0 16px; color: var(--p-muted); font: 500 12.5px/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; }
.fqc__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.fqc__h { margin: 0; font: inherit; }
.fqc__q { all: unset; box-sizing: border-box; display: flex; align-items: center; gap: 14px; cursor: pointer; max-width: 100%; -webkit-tap-highlight-color: transparent; }
.fqc__bubble { position: relative; display: inline-block; padding: 11px 16px; border-radius: 18px 18px 18px 6px; background: rgb(255 255 255 / .06); box-shadow: inset 0 0 0 1px rgb(154 163 157 / .14); color: var(--p-ink); font: 500 clamp(15px, 1.15vw, 17px)/1.35 var(--font-text); transition: background .25s, box-shadow .25s, color .25s; }
.fqc__q:hover .fqc__bubble { background: rgb(159 203 173 / .08); box-shadow: inset 0 0 0 1px rgb(159 203 173 / .3); }
.fqc__item.is-open .fqc__bubble { background: rgb(159 203 173 / .14); box-shadow: inset 0 0 0 1px rgb(159 203 173 / .5); color: #d6ffe7; }
.fqc__q:focus-visible .fqc__bubble { outline: 2px solid var(--p-accent); outline-offset: 3px; }
.fqc__icon { position: absolute; top: -13px; font-size: 20px; line-height: 1; filter: drop-shadow(0 2px 4px rgb(0 0 0 / .5)); }
.fqc__icon--right { right: -6px; rotate: 8deg; } .fqc__icon--left { left: -6px; rotate: -6deg; }
.fqc__pm { position: relative; flex: none; width: 16px; height: 16px; color: var(--p-muted); transition: color .25s, rotate .35s; }
.fqc__pm i { position: absolute; left: 0; top: 7px; width: 16px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .35s; }
.fqc__pm i + i { transform: rotate(90deg); }
.fqc__item.is-open .fqc__pm { color: var(--p-accent); }
.fqc__item.is-open .fqc__pm i + i { transform: rotate(0deg); }
.fqc__a { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .4s cubic-bezier(.2,.8,.2,1), opacity .3s; }
.fqc__item.is-open .fqc__a { grid-template-rows: 1fr; opacity: 1; }
.fqc__a-in { min-height: 0; overflow: hidden; }
.fqc__reply { margin: 6px 0 6px clamp(28px, 5vw, 64px); max-width: 46ch; padding: 11px 16px 12px; border-radius: 18px 18px 6px 18px; background: var(--p-accent); color: #0d1a12; font-size: clamp(14.5px, 1.05vw, 16px); line-height: 1.45; box-shadow: 0 12px 30px -14px rgb(159 203 173 / .6); }
.fqc__reply b { display: block; margin-bottom: 3px; font: 600 11.5px/1.2 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: rgb(4 17 10 / .65); }
@media (prefers-reduced-motion: reduce) { .fqc__a, .fqc__pm, .fqc__pm i { transition: none; } }
/* Preguntas: cada burbuja ocupa todo el ancho, con su emoji en un círculo y el + al final */
.fqc__list { gap: 12px; }
.fqc__q { display: flex; width: 100%; }
.fqc__bubble { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; gap: 14px; padding: 14px 18px 14px 14px; }
.fqc__emo { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: rgb(255 255 255 / .07); box-shadow: inset 0 0 0 1px rgb(154 163 157 / .14); font-size: 21px; line-height: 1; transition: background .25s, scale .25s; }
.fqc__q:hover .fqc__emo { scale: 1.08; }
.fqc__item.is-open .fqc__emo { background: rgb(159 203 173 / .2); }
.fqc__txt { min-width: 0; }
.fqc__reply { max-width: none; margin-right: 30px; }


/* ── Cotizador por pasos (qz) ────────────────────────────────────────────────────────────────────── */
.qz { margin-top: clamp(24px, 4svh, 48px); }
.qz-steps { list-style: none; margin: 0 0 28px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; counter-reset: s; }
.qz-steps button { all: unset; box-sizing: border-box; width: 100%; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; cursor: pointer; color: var(--p-muted); background: rgb(255 255 255 / .03); box-shadow: inset 0 0 0 1px rgb(154 163 157 / .12); transition: background .25s, color .25s, box-shadow .25s; }
.qz-steps button:disabled { cursor: not-allowed; opacity: .5; }
.qz-steps button:focus-visible { outline: 2px solid var(--p-accent); outline-offset: 2px; }
.qz-steps__n { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%; font: 600 13px/1 var(--font-mono); background: rgb(255 255 255 / .06); }
.qz-steps__t { font-size: 14px; font-weight: 500; line-height: 1.2; }
.qz-steps .is-on button { color: var(--p-ink); background: rgb(159 203 173 / .08); box-shadow: inset 0 0 0 1px rgb(159 203 173 / .45); }
.qz-steps .is-on .qz-steps__n { background: var(--p-accent); color: #0d1a12; }
.qz-steps .is-done .qz-steps__n { background: var(--grad-ai); color: #0d1a12; }
.qz-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 380px); gap: clamp(20px, 3vw, 48px); align-items: start; }
.qz-step { margin: 0; padding: 0; border: 0; min-width: 0; animation: qz-in .45s cubic-bezier(.2,.8,.2,1) both; }
@keyframes qz-in { from { opacity: 0; translate: 0 10px; } }
.qz-legend { padding: 0; }
.qz-step h2 { margin: 0 0 6px; font: var(--display-weight) clamp(24px, 2.4vw, 34px)/1.1 var(--font-display); letter-spacing: var(--display-tracking); outline: none; scroll-margin-top: 110px; }
.qz-help { margin: 6px 0 0; color: var(--p-muted); font-size: 15px; line-height: 1.45; }
.qz-needs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 20px; }
.qz-need { all: unset; box-sizing: border-box; position: relative; display: grid; gap: 6px; align-content: start; padding: 20px 20px 18px; border-radius: 20px; cursor: pointer; background: var(--p-surface); box-shadow: inset 0 0 0 1px rgb(154 163 157 / .16); transition: box-shadow .25s, background .25s, translate .2s; }
.qz-need:hover { translate: 0 -2px; box-shadow: inset 0 0 0 1px rgb(159 203 173 / .35); }
.qz-need:focus-visible { outline: 2px solid var(--p-accent); outline-offset: 3px; }
.qz-need.is-on { background: linear-gradient(150deg, rgb(159 203 173 / .12), var(--p-surface) 60%); box-shadow: inset 0 0 0 2px var(--p-accent), 0 16px 40px -24px rgb(159 203 173 / .6); }
.qz-need__ic { font-size: 28px; line-height: 1; }
.qz-need__t { font: 600 18px/1.25 var(--font-display); letter-spacing: -.01em; color: var(--p-ink); }
.qz-need__d { font-size: 14.5px; line-height: 1.4; color: var(--p-muted); }
.qz-need__p { margin-top: 4px; font: 500 13px/1 var(--font-mono); color: var(--p-accent); }
.qz-need__check { position: absolute; top: 16px; right: 16px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; font-weight: 700; color: var(--p-muted); box-shadow: inset 0 0 0 1.5px rgb(154 163 157 / .3); transition: background .25s, color .25s; }
.qz-need.is-on .qz-need__check { background: var(--p-accent); color: #0d1a12; box-shadow: none; }
.qz-need--wide { margin-top: 20px; width: 100%; }
.qz-badge { font-style: normal; margin-left: 8px; padding: 3px 8px; border-radius: 999px; font: 600 11px/1 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; vertical-align: .2em; color: #e7ddff; background: rgb(179 169 212 / .25); box-shadow: inset 0 0 0 1px rgb(179 169 212 / .5); }
.qz-card { margin-top: 16px; padding: 20px; border-radius: 20px; background: var(--p-surface); box-shadow: inset 0 0 0 1px rgb(154 163 157 / .14); }
.qz-card h3 { margin: 0; font: 600 17px/1.3 var(--font-text); color: var(--p-ink); }
.qz-range { margin-top: 16px; }
.qz-range input[type=range] { width: 100%; accent-color: var(--p-accent); height: 28px; cursor: pointer; }
.qz-range__ticks { display: flex; justify-content: space-between; padding: 0 6px; font: 500 13px/1 var(--font-mono); color: var(--p-muted); }
.qz-range__ticks .is-on { color: var(--p-accent); font-weight: 700; }
.qz-pick { margin: 12px 0 0; font-size: 16px; color: var(--p-ink); } .qz-pick b { color: var(--p-accent); }
.qz-num { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 0; border-top: 1px solid rgb(154 163 157 / .12); }
.qz-card .qz-help + .qz-num, .qz-card h3 + .qz-num { margin-top: 10px; }
.qz-num__txt { display: grid; gap: 2px; min-width: 0; } .qz-num__txt span { font-weight: 500; color: var(--p-ink); } .qz-num__txt small { color: var(--p-muted); font-size: 13.5px; }
.qz-num__ctl { display: flex; align-items: center; gap: 6px; flex: none; }
.qz-num__ctl button { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer; font-size: 22px; color: var(--p-ink); background: rgb(255 255 255 / .06); box-shadow: inset 0 0 0 1px rgb(154 163 157 / .2); transition: background .2s; }
.qz-num__ctl button:hover:not(:disabled) { background: rgb(159 203 173 / .15); }
.qz-num__ctl button:disabled { opacity: .35; cursor: not-allowed; }
.qz-num__ctl output { min-width: 32px; text-align: center; font: 600 20px/1 var(--font-mono); color: var(--p-ink); }
.qz-plans { display: grid; gap: 10px; margin-top: 14px; }
.qz-plan { all: unset; box-sizing: border-box; display: grid; gap: 4px; padding: 14px 16px; border-radius: 16px; cursor: pointer; box-shadow: inset 0 0 0 1px rgb(154 163 157 / .18); transition: box-shadow .25s, background .25s; }
.qz-plan b { color: var(--p-ink); font-size: 16px; } .qz-plan span { color: var(--p-muted); font-size: 14px; } .qz-plan em { font-style: normal; font: 500 13px/1.3 var(--font-mono); color: var(--p-violet-soft); }
.qz-plan.is-on { background: rgb(179 169 212 / .1); box-shadow: inset 0 0 0 2px var(--p-violet); }
.qz-plan:focus-visible { outline: 2px solid var(--p-accent); outline-offset: 2px; }
.qz-check { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; font-size: 14.5px; color: var(--p-muted); cursor: pointer; } .qz-check input { margin-top: 3px; accent-color: var(--p-accent); width: 18px; height: 18px; }
.qz-seg { display: inline-flex; margin-top: 12px; padding: 4px; border-radius: 999px; background: rgb(255 255 255 / .05); box-shadow: inset 0 0 0 1px rgb(154 163 157 / .16); flex-wrap: wrap; }
.qz-seg button { border: 0; cursor: pointer; padding: 10px 18px; border-radius: 999px; background: transparent; color: var(--p-muted); font: 500 15px/1 var(--font-text); }
.qz-seg button.is-on { background: var(--p-accent); color: #0d1a12; }
.qz-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 24px; }
.qz-nav .btn { min-width: 140px; justify-content: center; }
.qz-form { margin-top: 6px; }
.qz-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; margin-top: 16px; }
.qz-fields__wide { grid-column: 1 / -1; }
.qz-fields input, .qz-fields textarea { width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 14px; border: 1px solid rgb(154 163 157 / .2); background: var(--p-surface); color: var(--p-ink); font: 16px var(--font-text); }
.qz-fields input:focus, .qz-fields textarea:focus { outline: 2px solid var(--p-accent); outline-offset: 1px; }
.qz-send { margin-top: 18px; min-width: 220px; justify-content: center; }
/* Resumen: a la derecha en computador (pegado arriba); abajo y fijo en celular */
.qz-sum { position: sticky; top: 110px; padding: 22px; border-radius: 22px; background: linear-gradient(160deg, #11131b, var(--p-surface)); box-shadow: inset 0 0 0 1px rgb(179 169 212 / .35), 0 30px 60px -36px rgb(179 169 212 / .6); }
.qz-sum__k { margin: 0; font: 500 12px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--p-accent); }
.qz-sum__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.qz-seg.qz-seg--mini { margin: 0; padding: 3px; gap: 2px; flex-wrap: nowrap; }
.qz-seg.qz-seg--mini button { padding: 6px 11px; font: 600 12px/1 var(--font-mono); letter-spacing: .04em; }
.qz-seg.qz-pages { display: flex; flex-wrap: nowrap; gap: 2px; border-radius: 16px; margin-bottom: 10px; }
.qz-seg.qz-pages button { flex: 1; min-width: 0; padding: 12px 6px; border-radius: 12px; font-weight: 600; white-space: nowrap; }
.qz-seg.qz-pages button:first-child { flex: 0 0 auto; padding-inline: 16px; }
.qz-need.is-locked { cursor: default; }
.qz-need.is-locked:hover { translate: none; }
.qz-apart { margin-top: 18px; }
.qz-tip { margin-top: 12px; padding: 10px 12px; border-radius: 12px; background: rgb(159 203 173 / .06); box-shadow: inset 0 0 0 1px rgb(159 203 173 / .2); }
.qz-tip .link { all: unset; cursor: pointer; color: var(--p-accent); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.qz-monthly { background: linear-gradient(150deg, rgb(159 203 173 / .09), var(--p-surface) 55%); box-shadow: inset 0 0 0 1px rgb(159 203 173 / .28); }
.qz-monthly__k { margin: 0; font: 600 13px/1.3 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--p-accent); }
.qz-monthly__v { margin: 8px 0 0; display: flex; align-items: baseline; gap: 6px; }
.qz-monthly__v b { font: 600 clamp(26px, 2.4vw, 34px)/1 var(--font-display); letter-spacing: -.02em; color: var(--p-ink); font-variant-numeric: tabular-nums; }
.qz-monthly__v span { color: var(--p-muted); font-size: 15px; }
.qz-monthly__inc { margin: 16px 0 8px; font-weight: 600; color: var(--p-ink); font-size: 15px; }
.qz-monthly__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.qz-monthly__list li { position: relative; padding-left: 26px; color: var(--p-ink); font-size: 15px; line-height: 1.45; }
.qz-monthly__list li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 18px; height: 18px; display: grid; place-items: center; border-radius: 50%; background: rgb(159 203 173 / .16); color: var(--p-accent); font-size: 11px; font-weight: 700; }
.qz-monthly__how { margin-top: 14px; font-size: 13px; }
.qz-sum__alt { margin: 4px 0 0; color: var(--p-muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.qz-sum__empty { margin: 12px 0 0; color: var(--p-muted); }
.qz-sum__total { margin: 12px 0 0; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
.qz-sum__total strong { font: 600 clamp(32px, 3vw, 44px)/1 var(--font-display); letter-spacing: -.03em; background: linear-gradient(90deg, #fff, #d9dee3); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.qz-sum__total span { color: var(--p-muted); font-size: 14px; }
.qz-sum__month { margin: 6px 0 0; font: 600 18px/1.2 var(--font-text); color: var(--p-violet-soft); }
.qz-sum__toggle { margin-top: 14px; padding: 0; border: 0; background: none; color: var(--p-accent); font: 500 14px var(--font-text); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.qz-sum__detail { display: none; margin-top: 12px; }
.qz-sum.is-open .qz-sum__detail { display: block; }
@media (min-width: 1024px) { .qz-sum__toggle { display: none; } .qz-sum__detail { display: block; } }
.qz-lines { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; font-size: 14px; }
.qz-lines li { display: flex; justify-content: space-between; gap: 12px; padding-top: 6px; border-top: 1px solid rgb(154 163 157 / .1); color: var(--p-muted); }
.qz-lines b { color: var(--p-ink); font-weight: 600; white-space: nowrap; }
.qz-lines .is-disc b { color: var(--p-accent); }
.qz-sum__sub { margin: 14px 0 0; font: 500 12px/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--p-muted); }
.qz-notes { margin: 12px 0 0; padding-left: 18px; color: var(--p-muted); font-size: 13px; }
.qz-fine { margin: 12px 0 0; color: var(--p-muted); font-size: 12.5px; line-height: 1.45; }
@media (max-width: 1023px) {
  .qz-grid { grid-template-columns: minmax(0, 1fr); }
  .qz-sum { position: sticky; bottom: calc(env(safe-area-inset-bottom) + 84px); top: auto; order: 2; z-index: 5; padding: 14px 18px; box-shadow: inset 0 0 0 1px rgb(179 169 212 / .45), 0 -10px 40px -12px rgb(0 0 0 / .9); }
  .qz-sum__total strong { font-size: 28px; }
  .qz-sum { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 12px; padding: 12px 16px; }
  .qz-sum > * { grid-column: 1; }
  .qz-sum__k { font-size: 10.5px; }
  .qz-sum__total { margin-top: 6px; }
  .qz-sum__total strong { font-size: 24px; }
  .qz-sum__total span { font-size: 12.5px; }
  .qz-sum__month { margin-top: 2px; font-size: 14.5px; }
  .qz-sum__toggle { grid-column: 2; grid-row: 1 / span 3; margin: 0; align-self: center; }
  .qz-sum__detail { grid-column: 1 / -1; max-height: 46vh; overflow: auto; }
  .qz-sum__alt { grid-column: 1 / -1; }
  .qz-sum:not(.is-open) .qz-sum__alt { display: none; }
  .qz-sum__head .qz-sum__k { display: none; } /* en celular la barra sólo muestra el selector de moneda y el total */
  .qz-sum__head { justify-content: flex-start; }
  .qz-sum__total strong { font-size: 22px; white-space: nowrap; }
  .qz-steps__t { display: none; }
  .qz-steps .is-on .qz-steps__t { display: inline; }
  .qz-steps { grid-template-columns: auto auto auto; justify-content: start; }
}
@media (max-width: 639px) {
  .qz-needs, .qz-fields { grid-template-columns: minmax(0, 1fr); }
  .qz-nav .btn { flex: 1; min-width: 0; }
}
@media (prefers-reduced-motion: reduce) { .qz-step { animation: none; } .qz-need { transition: none; } }

/* Cierre: el «111NEVOR» grande nunca se monta sobre las columnas del pie. La fila del cierre mide al menos lo que
   ocupa su contenido y, en pantallas bajas, la palabra se achica según el alto de la ventana. */
footer.closing > .wrap { grid-template-rows: minmax(min-content, 1fr) auto; }
@media (min-width: 1024px) {
  footer.closing .close__word { font-size: max(64px, min(14.5vw, 216px, calc((100svh - 710px) * 1.1))); }
}
.hx[data-ready] > footer.closing::after { display: none; } /* sin el espaciador: el cierre cabe en una pantalla y no pide bajar */

/* Pestañas con más de una sección (computador): horizontal.js las agrupa en <hx-stack>, una sola página que se baja.
   Así cada número de la barra es una pestaña completa y ninguna sección queda escondida a un lado. */
hx-stack { display: block; }
@media screen and (min-width: 1280px) and (hover: hover) and (pointer: fine) {
  .hx hx-stack { flex: 0 0 100vw; width: 100vw; height: 100svh; min-height: 0; overflow-x: hidden; overflow-y: auto; scroll-snap-align: start; scroll-snap-stop: always; overscroll-behavior-y: contain; scrollbar-width: thin; scrollbar-color: rgb(154 163 157 / .28) transparent; }
  .hx hx-stack > :is(section, #_) > .wrap { height: auto; min-height: calc(var(--h, 1) * 100svh - var(--padt) - var(--padb)); }
  .hx hx-stack::after { content: ""; display: block; height: 76px; }
  .hx[data-ready] hx-stack > section > .wrap { transition: opacity .7s cubic-bezier(.22,1,.36,1), translate .9s cubic-bezier(.22,1,.36,1); }
}

/* Inicio: la frase que deja claro que no son páginas genéricas */
.hero__lead { margin: 18px 0 0; max-width: 34ch; font-size: clamp(17px, 1.35vw, 21px); line-height: 1.45; color: var(--p-ink, #e9ece8); opacity: .86; text-wrap: balance; }
.hero--centred .hero__c .hero__lead + .hero__tags { margin-top: 20px; }
@media (max-width: 1023px) { .hero__lead { margin-inline: auto; text-align: center; font-size: 16.5px; } }
.hero__lead b { font-weight: 600; color: #fff; }
.qz-plan.is-blocked { opacity: .55; }
.qz-plan.is-blocked:hover { opacity: .75; }
.qz-tip.is-warn { background: rgb(217 180 106 / .08); box-shadow: inset 0 0 0 1px rgb(217 180 106 / .45); color: var(--p-ink, #e9ece8); }
.rp__inc > span:first-child { white-space: normal; overflow: visible; font-size: .92em; }

/* «Cotice solo su mensualidad» (cotizar/monthly-quoter.tsx): mismas piezas del cotizador */
section.mensualidad { border-top: 1px solid rgb(154 163 157 / .12); }
.mq .section-head { margin-bottom: 8px; }
.mq .qz-card h3 { margin: 0 0 4px; }
.mq-plans { display: flex; flex-wrap: wrap; border-radius: 16px; }
.mq-plans button.is-blocked { opacity: .5; }
.mq-result { align-self: start; position: sticky; top: calc(var(--nav, 72px) + 16px); }
.mq-result__head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.mq-cta { margin-top: 16px; width: 100%; justify-content: center; }
@media (max-width: 1023px) { .mq-result { position: static; } }
/* Pagos a terceros (dominio, servidor, base de datos, consumo de IA): claros pero discretos */
.qz-third__k { margin: 0 0 10px; font: 600 13px/1.3 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--p-muted); }
.qz-third__list { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 8px; }
.qz-third__list li { font-size: 14.5px; line-height: 1.45; color: var(--p-muted); padding-left: 14px; position: relative; }
.qz-third__list li::before { content: ""; position: absolute; left: 0; top: .6em; width: 5px; height: 5px; border-radius: 50%; background: rgb(154 163 157 / .6); }
.qz-third__list b { color: var(--p-ink); font-weight: 600; }
@media screen and (min-width: 1280px) and (hover: hover) and (pointer: fine) { .hx #preguntas .fqc__list { gap: 6px; } .hx #preguntas .fqc__stamp { margin-bottom: 8px; } }

/* Espacios del cotizador y de «Cotice solo su mensualidad» */
/* El resumen fijo no alarga la fila: si su detalle es largo, baja por dentro (así no queda vacío a la izquierda) */
@media (min-width: 1024px) { .qz-grid > .qz-sum { contain: size; align-self: stretch; min-height: 360px; max-height: calc(100svh - 130px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; } }
/* Entre el cotizador y la mensualidad: un solo respiro, sin el alto del menú encima de la segunda sección */
:is(main, hx-stack) > section.section.cotizador:has(+ section.mensualidad) { padding-bottom: var(--s-7, 48px); }
:is(main, hx-stack) > section.section.cotizador.mensualidad { padding-top: var(--s-8, 64px); }
.mq .section-head { margin-bottom: var(--s-5, 24px); }
.mq .section-head .t-lead { margin-top: 10px; }
@media (max-width: 1023px) {
  :is(main, hx-stack) > section.section.cotizador.mensualidad { padding-top: var(--s-7, 48px); }
  .mq .qz-card { margin-top: 12px; }
  .mq-result { margin-top: 16px; }
}
@media (max-width: 479px) { .mq-plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; } .mq-plans button { text-align: center; } }
@media (max-width: 380px) { .qz-sum__total strong { font-size: 20px; } .qz-sum__toggle { white-space: nowrap; } }
/* WhatsApp en el formulario del cotizador: país con su código + número en una sola fila */
.qz-wa__row { display: grid; grid-template-columns: minmax(0, 46%) minmax(0, 1fr); gap: 8px; align-items: stretch; }
.qz-wa__row select { height: auto; } /* se estira al alto del campo del número */
.qz-wa__row select { min-width: 0; text-overflow: ellipsis; }
.qz-wa .qz-help { margin: 6px 0 0; font-size: 13px; }

/* Números de rodillos (components/ui/rolling-number.tsx): cada dígito gira hasta su valor */
.rn { display: inline-flex; font-variant-numeric: tabular-nums; }
.rn__view { display: inline-flex; align-items: flex-start; }
.rn__d, .rn__m { display: inline-block; height: 1.15em; line-height: 1.15em; }
.rn__d { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(to bottom, transparent, #000 14%, #000 86%, transparent); mask-image: linear-gradient(to bottom, transparent, #000 14%, #000 86%, transparent); }
.rn__col { position: absolute; inset: 0 0 auto 0; display: flex; flex-direction: column; transition: translate .75s cubic-bezier(.22, 1, .36, 1); will-change: translate; }
.rn__col > span { display: block; height: 1.15em; text-align: center; }
.rn__size { display: block; visibility: hidden; }
.rn__m { white-space: pre; }
/* el degradado del total (background-clip: text) no alcanza a los dígitos que giran: color sólido */
.qz-sum__total strong .rn, .qz-sum__total strong .rn span { color: #f2f4f6; -webkit-text-fill-color: #f2f4f6; }
@media (prefers-reduced-motion: reduce) { .rn__col { transition: none; } }
/* los rodillos heredan el tamaño del número que reemplazan (las reglas «span» del resumen no los achican) */
.rn, .rn span, .qz-sum__total .rn, .qz-sum__total .rn span, .qz-monthly__v .rn, .qz-monthly__v .rn span { font: inherit; letter-spacing: inherit; color: inherit; margin: 0; padding: 0; }
/* con rodillos cada dígito ocupa su ancho: el total del resumen un poco más pequeño para que siempre quepa */
@media (min-width: 1024px) { .qz-sum__total strong { font-size: clamp(26px, 2.35vw, 34px); } }
/* sin el degradado recortado al texto en el total: con rodillos dejaba ver una raya del texto para lectores de pantalla */
.qz-sum__total strong { background: none; color: #f2f4f6; -webkit-text-fill-color: #f2f4f6; }

/* Botón de borrar con confirmación (components/ui/delete-button.tsx) */
.dbtn { --tile: 36px; --panel: 72px; position: relative; flex: none; width: var(--tile); height: var(--tile); border-radius: 12px; background: rgb(255 255 255 / .05); box-shadow: inset 0 0 0 1px rgb(154 163 157 / .16); color: var(--p-muted, #9aa39d); transition: width .6s cubic-bezier(.32, .72, 0, 1); }
.dbtn[data-open] { width: calc(var(--tile) + var(--panel)); }
.dbtn__trigger { all: unset; position: relative; z-index: 1; display: grid; place-items: center; width: var(--tile); height: var(--tile); border-radius: 12px; cursor: pointer; transition: scale .2s, color .2s; }
.dbtn__trigger:hover { color: var(--p-ink, #e9ece8); }
.dbtn__trigger:active { scale: .94; }
.dbtn__trigger:focus-visible, .dbtn__circle:focus-visible { outline: 2px solid var(--p-accent, #9fcbad); outline-offset: 2px; }
.dbtn svg { stroke: currentColor; stroke-width: 2; overflow: visible; }
.dbtn__lid { transform-box: view-box; transform-origin: 3px 6px; transition: transform .6s cubic-bezier(.34, 1.1, .64, 1); }
.dbtn[data-open] .dbtn__lid { transform: rotate(-35deg); }
.dbtn__can { transition: d .5s cubic-bezier(.32, .72, 0, 1); }
.dbtn[data-open] .dbtn__can { d: path("M19 13.5v6.5a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V13.5"); }
.dbtn__done { stroke: var(--p-accent, #9fcbad); stroke-width: 2.5; stroke-dasharray: 24; stroke-dashoffset: 24; animation: dbtn-draw .45s .05s cubic-bezier(.32, .72, 0, 1) forwards; }
@keyframes dbtn-draw { to { stroke-dashoffset: 0; } }
.dbtn[data-status="kept"] .dbtn__bin { animation: dbtn-settle .45s cubic-bezier(.32, .72, 0, 1); }
@keyframes dbtn-settle { 50% { scale: .86; } }
.dbtn__panel { position: absolute; inset: 0 0 0 auto; width: var(--panel); display: flex; align-items: center; justify-content: center; gap: 6px; border-radius: 12px; background: rgb(0 0 0 / .28); opacity: 0; translate: -6px 0; pointer-events: none; transition: opacity .3s, translate .3s; }
.dbtn[data-open] .dbtn__panel { opacity: 1; translate: 0 0; pointer-events: auto; transition: opacity .44s .14s, translate .44s .14s; }
.dbtn__circle { all: unset; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; cursor: pointer; background: rgb(255 255 255 / .08); box-shadow: inset 0 0.5px 0 rgb(255 255 255 / .1), 0 1px 3px rgb(0 0 0 / .3); color: var(--p-muted, #9aa39d); transition: background .2s, scale .2s; }
.dbtn__circle:hover { background: rgb(255 255 255 / .14); scale: 1.04; }
.dbtn__circle:active { scale: .84; }
.dbtn__circle svg { stroke-width: 3.5; }
.dbtn__circle--ok { color: var(--p-accent, #9fcbad); }
@media (prefers-reduced-motion: reduce) { .dbtn, .dbtn *, .dbtn__panel { transition: none !important; animation: none !important; } .dbtn__done { stroke-dashoffset: 0; } }
.qz-sum__head .qz-reset { margin-left: auto; }
/* en el resumen, ✓ ✕ se abren hacia la izquierda por encima del título (no lo empujan ni lo parten) */
.qz-sum__head .dbtn[data-open] { width: var(--tile); }
.qz-sum__head .dbtn__panel { inset: 0 calc(100% + 6px) 0 auto; background: #15171d; box-shadow: 0 0 0 1px rgb(154 163 157 / .18), 0 8px 24px -8px rgb(0 0 0 / .6); translate: 6px 0; z-index: 2; }
.qz-sum__head .dbtn[data-open] .dbtn__panel { translate: 0 0; }
@media (max-width: 1023px) { .qz-sum__head .qz-reset { order: 2; margin-left: auto; } }

/* Barra inferior (computador): nombre de la pestaña con anillo de avance y lista de todas las pestañas */
.hx-ui__name { all: unset; box-sizing: border-box; display: inline-flex; align-items: center; gap: 8px; flex: 1 1 auto; min-width: 0; padding: 6px 10px 6px 6px; border-radius: 999px; cursor: pointer; transition: background .2s; }
.hx-ui__name:hover, .hx-ui__name[aria-expanded="true"] { background: rgb(255 255 255 / .08); }
.hx-ui__name:focus-visible { outline: 2px solid var(--p-accent, #9fcbad); outline-offset: 2px; }
.hx-ui__name .hx-ui__label { flex: 1 1 auto; padding: 0; }
.hx-ui__ring { flex: none; rotate: -90deg; }
.hx-ui__ring circle { fill: none; stroke-width: 2.5; stroke: rgb(255 255 255 / .16); }
.hx-ui__ring .hx-ui__arc { stroke: var(--p-accent, #9fcbad); stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .25s linear; filter: drop-shadow(0 0 4px rgb(159 203 173 / .55)); }
.hx-menu { position: absolute; right: 8px; bottom: calc(100% + 10px); min-width: 230px; padding: 6px; border-radius: 22px; display: grid; gap: 2px; background: #0b0d10; box-shadow: 0 0 0 1px rgb(255 255 255 / .12), 0 24px 50px -20px rgb(0 0 0 / .8); transform-origin: bottom right; animation: hx-menu-in .28s cubic-bezier(.22, 1, .36, 1); }
.hx-menu[hidden] { display: none; }
@keyframes hx-menu-in { from { opacity: 0; scale: .96; translate: 0 6px; filter: blur(3px); } }
.hx-menu__item { all: unset; box-sizing: border-box; display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 14px; cursor: pointer; color: rgb(233 236 232 / .6); font: 500 14px/1 var(--font-text, inherit); white-space: nowrap; transition: background .2s, color .2s; }
.hx-menu__item span { font: 500 11px/1 var(--font-mono); letter-spacing: .06em; color: rgb(233 236 232 / .45); }
.hx-menu__item i { width: 6px; height: 6px; border-radius: 50%; background: rgb(233 236 232 / .3); }
.hx-menu__item:hover, .hx-menu__item:focus-visible { background: rgb(255 255 255 / .07); color: #e9ece8; outline: none; }
.hx-menu__item[aria-current="true"] { background: rgb(159 203 173 / .12); color: #e9ece8; }
.hx-menu__item[aria-current="true"] i { background: var(--p-accent, #9fcbad); box-shadow: 0 0 8px rgb(159 203 173 / .7); }
@media (prefers-reduced-motion: reduce) { .hx-menu { animation: none; } .hx-ui__ring .hx-ui__arc { transition: none; } }

/* Imagen que se revela en cuadrícula (components/ui/grid-reveal.tsx) */
.grev { position: relative; width: 100%; overflow: hidden; border-radius: 18px; background: #0b1410; }
.grev canvas { display: block; width: 100%; height: 100%; }
.hix__visual .grev { box-shadow: 0 0 0 1px rgb(159 203 173 / .18), 0 30px 60px -20px rgb(0 0 0 / .85); }

/* Carpeta con hojas (components/ui/folder.tsx): al pasar el mouse se asoman, al tocarla salen en abanico */
.fold { all: unset; position: relative; display: block; width: calc(321px * var(--s, .5)); height: calc(270px * var(--s, .5)); cursor: pointer; -webkit-tap-highlight-color: transparent; pointer-events: auto; }
.fold:focus-visible { outline: 2px solid var(--accent, #9fcbad); outline-offset: 6px; border-radius: 14px; }
.fold__in { position: absolute; left: 50%; top: 50%; width: 321px; height: 270px; translate: -50% -50%; scale: var(--s, .5); perspective: 800px; }
.fold__back { position: absolute; inset: 0; border-radius: 25px; background: #000; box-shadow: inset 0 0 6px 2px rgb(255 255 255 / .37), 0 20px 40px -20px rgb(0 0 0 / .8); }
.fold__card { --x: 0px; --y: 0px; --r: 0deg; --d: 0s; position: absolute; left: 50%; top: 50%; width: 164px; height: 214px; margin: -107px 0 0 -82px; box-sizing: border-box; padding: 26px 14px; border-radius: 20px; background: #f1f1f1; box-shadow: inset 3px 5px 6px rgb(255 255 255 / 1), 0 0 0 1px #e0e0e0; display: grid; align-content: start; gap: 9px; text-align: left; transform: translate(var(--x), var(--y)) rotate(var(--r)); transition: transform .62s cubic-bezier(.34, 1.45, .64, 1) var(--d); }
.fold__card b { color: #111; font: 700 15px/1.15 var(--font-display, inherit); letter-spacing: -.01em; margin-bottom: 6px; }
.fold__card i { display: block; height: 6px; border-radius: 3px; background: #d4d4d4; }
.fold__card i:nth-of-type(odd) { width: 92%; } .fold__card i:nth-of-type(even) { width: 70%; }
.fold__card--1 { --x: 40px; --y: -10px; --r: 10deg; }
.fold__card--2 { --x: 3px; --y: -20px; --r: 2deg; }
.fold__card--3 { --x: -40px; --y: -22px; --r: -5deg; }
.fold:hover:not([data-open]) .fold__card--1, .fold:focus-visible:not([data-open]) .fold__card--1 { --y: -30px; --r: 14deg; --d: .12s; }
.fold:hover:not([data-open]) .fold__card--2, .fold:focus-visible:not([data-open]) .fold__card--2 { --y: -35px; --r: -1deg; --d: .06s; }
.fold:hover:not([data-open]) .fold__card--3, .fold:focus-visible:not([data-open]) .fold__card--3 { --y: -44px; --r: -9deg; }
.fold[data-open] .fold__card--1 { --x: 130px; --y: -118px; --r: 14deg; --d: .1s; }
.fold[data-open] .fold__card--2 { --x: 0px; --y: -138px; --r: -2deg; --d: .05s; }
.fold[data-open] .fold__card--3 { --x: -130px; --y: -120px; --r: -14deg; }
.fold__flap { position: absolute; left: 50%; top: 50%; width: 321px; height: 241px; margin: calc(-120.5px + 16px) 0 0 -160.5px; transform-origin: bottom center; transform-style: preserve-3d; transform: rotateX(-15deg); transition: transform .62s cubic-bezier(.34, 1.3, .64, 1); }
.fold:hover:not([data-open]) .fold__flap, .fold:focus-visible:not([data-open]) .fold__flap { transform: rotateX(-45deg); }
.fold[data-open] .fold__flap { transform: rotateX(-55deg); }
.fold__glass { position: absolute; inset: 0; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); clip-path: path("M0 25C0 11.1929 11.1929 0 25 0H136.084C143.044 0 149.689 2.90139 154.42 8.00608L178.08 33.5343C182.811 38.639 189.456 41.5404 196.416 41.5404H296C309.807 41.5404 321 52.7333 321 66.5404V216C321 229.807 309.807 241 296 241H25C11.1929 241 0 229.807 0 216V25Z"); }
.fold__flap svg { position: absolute; inset: 0; overflow: visible; }
.fold__flap-fill { fill: #292929; fill-opacity: .25; }
.fold__flap-line { fill: none; stroke: #979797; stroke-width: 1; }
@media (prefers-reduced-motion: reduce) { .fold__card, .fold__flap { transition: none; } }
/* En «Cómo trabajo», paso 05: la carpeta del contrato debajo del texto */
.ww__extra { pointer-events: auto; margin: 44px 0 0 40px; justify-self: start; }
.fold[data-open] .fold__card--2 { z-index: 2; } /* la del medio adelante: se leen los tres títulos */
@media (max-width: 1023px) { .ww__extra { display: none; } }

/* ───── Páginas legales (/privacidad, /cookies, /terminos) y sus enlaces en el pie ───── */
.footer__policies { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 18px; font-size: 14px; }
.footer__policies a { color: var(--muted); text-decoration: none; }
.footer__policies a:hover { color: var(--ink); text-decoration: underline; }
.legal { padding-top: clamp(96px, 12vh, 140px); }
.legal__wrap { max-width: 760px; }
.legal h1 { margin: 6px 0 14px; font-size: clamp(34px, 5vw, 60px); line-height: 1.02; }
.legal__date { color: var(--muted); font: 500 13px/1.4 var(--font-mono); margin: 18px 0 8px; }
.legal__block { margin-top: clamp(28px, 4vh, 40px); }
.legal__block h2 { font-size: clamp(20px, 2.2vw, 24px); line-height: 1.2; margin: 0 0 10px; }
.legal__block p, .legal__block li { font-size: 17px; line-height: 1.6; max-width: 68ch; }
.legal__block p { margin: 0 0 10px; }
.legal__block ul { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; }
.legal__foot { margin: clamp(40px, 6vh, 64px) 0 clamp(48px, 8vh, 96px); display: grid; gap: 18px; justify-items: start; }
.legal__others { display: grid; gap: 6px; }
.legal__others p { color: var(--muted); font-size: 14px; margin: 0; }
.legal__others a { color: var(--ink); font-size: 16px; text-decoration: underline; text-underline-offset: 3px; min-height: 32px; display: inline-flex; align-items: center; }
.qz-consent { margin: 6px 0 0; color: var(--p-muted); font-size: 13px; line-height: 1.45; }
.qz-consent a { color: inherit; text-decoration: underline; }

/* Proyectos aún en construcción (cases.ts: building) */
.live--building { background: rgb(217 180 106 / .08); box-shadow: inset 0 0 0 1px rgb(217 180 106 / .45); }
.live--building:hover { background: rgb(217 180 106 / .15); box-shadow: inset 0 0 0 1px rgb(217 180 106 / .8), 0 0 22px -6px rgb(217 180 106 / .55); }
.live--building .live__dot { background: #d9b46a; animation: none; }
.case-building { display: inline-flex; align-items: center; gap: 6px; margin-left: 10px; padding: 3px 10px; border-radius: 999px; font-size: .85em; color: #d9b46a; box-shadow: inset 0 0 0 1px rgb(217 180 106 / .45); white-space: nowrap; }
.case-building::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* ───── Agenda pública de videollamadas (/agendar) ───── */
.bk-form { display: grid; gap: 22px; margin-top: 24px; }
.bk-step { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; }
.bk-step legend { font: 600 15px/1.3 var(--font-text); margin-bottom: 8px; }
.bk-days, .bk-slots { display: flex; flex-wrap: wrap; gap: 8px; }
.bk-chip { min-height: 44px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; color: var(--ink); font: 500 14px/1 var(--font-text); cursor: pointer; transition: background .2s, border-color .2s; }
.bk-days .bk-chip::first-letter { text-transform: uppercase; }
.bk-chip:hover { border-color: var(--accent); }
.bk-chip[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.bk-fields { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .bk-fields { grid-template-columns: 1fr 1fr; } .bk-wide { grid-column: 1 / -1; } }
.bk-help { color: var(--muted); font-size: 14px; margin: 0; }
.bk-done { display: grid; gap: 10px; margin-top: 24px; padding: 20px; border-radius: 16px; border: 1px solid var(--line-strong); justify-items: start; }
.bk-done__h { font: 600 22px/1.2 var(--font-display); margin: 0; }
.bk-done__when { font-size: 17px; margin: 0; }
.bk-done__when::first-letter { text-transform: uppercase; }

/* ───── Contrato en línea (/contrato/<token>) ───── */
.ag { display: grid; gap: 10px; font-size: 16px; line-height: 1.6; }
.ag-title { font-size: clamp(26px, 4vw, 40px); line-height: 1.1; margin: 0 0 4px; }
.ag-meta { color: var(--muted); font: 500 13px/1.4 var(--font-mono); margin: 0 0 12px; }
.ag-h { font-size: 18px; margin: 18px 0 2px; }
.ag ul { margin: 0; padding-left: 1.2em; display: grid; gap: 4px; }
.ag p { margin: 0; }
.ag-accept { display: grid; gap: 14px; margin-top: 28px; padding: 20px; border-radius: 16px; border: 1px solid var(--line-strong); }
.ag-accept .bk-fields { margin: 0; }
.ag-check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.ag-check input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--accent); }
.ag-stamp { margin-top: 24px; padding: 16px 20px; border-radius: 14px; border: 1px solid var(--accent); background: rgb(159 203 173 / .07); }
@media print { .actionbar, .nav, header.nav, footer, .ag-accept, .ag-noprint { display: none !important; } .ag { color: #111; } }

/* ───── Portal del cliente (/p/<token>) ───── */
.pt-card { margin-top: 22px; padding: 20px; border-radius: 16px; border: 1px solid var(--line-strong); display: grid; gap: 12px; }
.pt-card h2 { font-size: 19px; margin: 0; }
.pt-bar { height: 10px; border-radius: 999px; background: var(--line); overflow: hidden; }
.pt-bar i { display: block; height: 100%; background: var(--accent); border-radius: 999px; }
.pt-tasks { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 15px; }
.pt-tasks li[data-done] { color: var(--muted); }
.pt-tasks li span { display: inline-block; width: 1.2em; color: var(--accent); }
.pt-tasks small, .pt-pay small { color: var(--muted); }
.pt-pay { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 15px; }
.pt-pay li { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.pt-actions { display: grid; gap: 12px; }
.pt-row { display: flex; gap: 10px; flex-wrap: wrap; }
.pt-file { padding: 12px; border: 1px dashed var(--line-strong); border-radius: 12px; font-size: 14px; }
.pt-pay li { flex-direction: column; align-items: stretch; }
.pt-pay__row { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.pt-howto { display: grid; gap: 10px; margin-top: 6px; }
.pt-howto > .btn { justify-self: start; }
.pt-method { display: grid; gap: 8px; padding: 14px; border-radius: 12px; background: rgb(255 255 255 / .03); border: 1px solid var(--line); }
.pt-method p { margin: 0; }
.pt-line { font-size: 15px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0; }
.pt-copy { min-height: 44px; min-width: 44px; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; color: var(--ink); font: 500 12px/1 var(--font-text); cursor: pointer; }
.pt-copy:hover { border-color: var(--accent); }
.pt-paid summary { cursor: pointer; color: var(--muted); font-size: 14px; }

/* Pestaña «Preguntas»: mensaje de quien no encontró su respuesta (contact-lead.tsx) */
.fql { margin-top: 12px; }
.fql .fqc__q { width: 100%; }
.fql .fqc__bubble { background: rgb(159 203 173 / .06); box-shadow: inset 0 0 0 1px rgb(159 203 173 / .28); }
.fql__form { display: grid; gap: 12px; margin: 10px 0 6px clamp(28px, 5vw, 64px); padding: 16px; border-radius: 18px 18px 6px 18px; background: rgb(255 255 255 / .04); box-shadow: inset 0 0 0 1px rgb(154 163 157 / .14); }
.fql__intro { margin: 0; color: var(--p-muted); font-size: 14.5px; }
.fql__row { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .fql__row { grid-template-columns: 1fr 1.3fr; } }
.fql__field { display: grid; gap: 6px; min-width: 0; font-size: 13.5px; color: var(--p-muted); }
.fql__field input, .fql__field textarea, .fql__field select { box-sizing: border-box; width: 100%; min-width: 0; min-height: 46px; padding: 11px 13px; border: 1px solid rgb(154 163 157 / .22); border-radius: 12px; background: rgb(0 0 0 / .25); color: var(--p-ink); font: 16px var(--font-text); }
.fql__field textarea { resize: vertical; min-height: 84px; }
.fql__field :is(input, textarea, select):focus-visible { outline: 2px solid var(--p-accent); outline-offset: 1px; border-color: transparent; }
.fql__field [aria-invalid="true"] { border-color: #ff8f8f; }
.fql__wa { display: grid; grid-template-columns: minmax(0, 10rem) minmax(0, 1fr); gap: 8px; }
.fql__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.fql__foot small { flex: 1 1 220px; color: var(--p-muted); font-size: 12.5px; line-height: 1.4; }
.fql__foot small a { color: inherit; text-decoration: underline; }
.fql .field__error { margin: 0; color: #ff9d9d; font-size: 13px; }

/* ── Tarifas: lista corta con selector de moneda y los tres ejemplos en pestañas (radios + CSS, sin JavaScript) ── */
.tar-side { display: grid; gap: 22px; align-content: start; min-width: 0; }
.tar-cur, .tp-tabs { position: relative; display: inline-grid; grid-auto-flow: column; gap: 4px; padding: 4px; border-radius: 999px; background: rgb(255 255 255 / .04); box-shadow: inset 0 0 0 1px rgb(154 163 157 / .16); justify-self: start; }
.tar-cur input, .tp-tabs input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.tar-cur label, .tp-tabs label { display: grid; place-items: center; min-height: 40px; padding: 0 18px; border-radius: 999px; cursor: pointer; font: 500 14px/1.2 var(--font-text); color: var(--p-muted); text-align: center; transition: background .25s, color .25s, box-shadow .25s; -webkit-tap-highlight-color: transparent; }
.tar-cur label:hover, .tp-tabs label:hover { color: var(--p-ink); }
.tar-cur input:checked + label { background: var(--p-accent); color: #0d1a12; }
.tar-cur input:focus-visible + label, .tp-tabs input:focus-visible + label { outline: 2px solid var(--p-accent); outline-offset: 2px; }
.tar-list { list-style: none; margin: 0; padding: 0; }
.tar-list > li { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid rgb(154 163 157 / .12); }
.tar-list > li:first-child { border-top: 1px solid rgb(154 163 157 / .12); }
.tar-list__n { min-width: 0; font: 500 16px/1.3 var(--font-text); color: var(--p-ink); }
.tar-list__n small { margin-left: 8px; font-size: 13.5px; font-weight: 400; color: var(--p-muted); }
.tar-list__v { flex: none; white-space: nowrap; font: var(--display-weight, 500) 18px/1.2 var(--font-display); font-variant-numeric: tabular-nums; color: var(--p-ink); }
.tar-list__v small { font: 400 12.5px/1 var(--font-mono); color: var(--p-muted); }
.tar-facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.tar-facts li { display: flex; gap: 10px; align-items: baseline; font-size: 15px; color: #c9ced4; }
.tar-facts li::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--p-accent); box-shadow: 0 0 10px rgb(159 203 173 / .6); translate: 0 -2px; }
.tar-note { margin: 0; font: 400 12.5px/1.45 var(--font-mono); color: var(--p-muted); }

/* Moneda: sin :has() se ve la del idioma (la primera); con :has() la que elija */
#tarifas :is(.c-cop, .c-usd) + :is(.c-cop, .c-usd) { display: none; }
@supports selector(:has(*)) {
  #tarifas:has(#tar-usd:checked) .c-cop, #tarifas:has(#tar-cop:checked) .c-usd { display: none; }
  #tarifas:has(#tar-usd:checked) .c-usd, #tarifas:has(#tar-cop:checked) .c-cop { display: inline; }
}
@supports not selector(:has(*)) { .tar-cur, .tp-tabs { display: none; } }

/* Ejemplos en pestañas: los tres en la misma celda (la altura no salta al cambiar) */
.tp { min-width: 0; display: grid; gap: 14px; align-content: start; }
.tp-title { margin: 0; font: 500 13px/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--p-accent); }
.tp-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); justify-self: stretch; }
.tp-tabs label { padding: 0 10px; }
.tp-tabs input:checked + label { background: var(--p-surface); color: var(--p-ink); box-shadow: inset 0 0 0 1px rgb(159 203 173 / .5); }
.tp-tabs input:nth-of-type(3):checked + label { box-shadow: inset 0 0 0 1px rgb(179 169 212 / .7), 0 0 18px -6px rgb(179 169 212 / .8); }
.tp-panes { display: grid; }
.tp-pane { grid-area: 1 / 1; display: grid; gap: 10px; align-content: start; padding: clamp(22px, 2.4vw, 30px); border-radius: 20px; background: var(--p-surface); box-shadow: inset 0 0 0 1px rgb(154 163 157 / .14); }
.tp-pane--ai { background: linear-gradient(135deg, #150f24, var(--p-surface) 62%); box-shadow: inset 0 0 0 1px rgb(179 169 212 / .5), 0 20px 50px -28px rgb(179 169 212 / .55); }
.tp-who { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; font-size: 15.5px; color: var(--p-muted); }
.tp-price { margin: 6px 0 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.tp-price b { font: var(--display-weight, 500) clamp(32px, 3.3vw, 46px)/1 var(--font-display); letter-spacing: -.02em; color: var(--p-ink); font-variant-numeric: tabular-nums; }
.tp-price > span { font-size: 13.5px; color: var(--p-muted); }
.tp-month { margin: 0; font-size: 16px; color: var(--p-accent); font-variant-numeric: tabular-nums; }
.tp-pane--ai .tp-month { color: var(--p-violet-soft); }
.tp-items { list-style: none; margin: 8px 0 0; padding: 14px 0 0; display: grid; gap: 9px; border-top: 1px solid rgb(154 163 157 / .12); }
.tp-items li { display: flex; gap: 10px; align-items: baseline; font-size: 15.5px; color: var(--p-ink); }
.tp-items li::before { content: "✓"; flex: none; font-weight: 600; color: var(--p-accent); }
.tp-pane--ai .tp-items li::before { color: var(--p-violet-soft); }
.tp-save { margin: 2px 0 0; font-size: 13px; color: var(--p-muted); }
.tp-note { margin: 2px 0 0; font-size: 15px; color: var(--p-muted); }
@supports selector(:has(*)) {
  .tp-pane { opacity: 0; visibility: hidden; translate: 0 8px; transition: none; } /* el que sale se va al instante; sólo el que entra se anima */
  .tp:has(#tar-p0:checked) .tp-pane--0, .tp:has(#tar-p1:checked) .tp-pane--1, .tp:has(#tar-p2:checked) .tp-pane--2 { opacity: 1; visibility: visible; translate: 0 0; transition: opacity .3s, translate .4s cubic-bezier(.2, .8, .2, 1); }
}
@supports not selector(:has(*)) { .tp-panes { gap: 12px; } .tp-pane { grid-area: auto; } }
@media (max-width: 1023px) { .tp { margin-top: 36px; } }
@media (max-width: 479px) {
  .tp-tabs label { min-height: 46px; padding: 4px 6px; font-size: 13px; line-height: 1.15; }
  .tar-list__n small { display: block; margin: 2px 0 0; }
}
@media (prefers-reduced-motion: reduce) { .tp-pane, .tar-cur label, .tp-tabs label { transition: none !important; } }
.tar-right { display: grid; gap: 22px; align-content: start; min-width: 0; }
@media (max-width: 1023px) { .tar-right { margin-top: 36px; } .tp { margin-top: 0; } }
.tar-side, .tar-right, .tp { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 479px) { .tar-list__v { font-size: 16px; } .tar-list > li { gap: 12px; } }
/* Paquetes reales: el botón «Lo quiero» queda abajo en los tres (misma altura, sin saltos al cambiar de pestaña) */
.tp-pane { display: flex; flex-direction: column; }
.tp-buy { margin-top: auto; padding-top: 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.tp-buy .tp-save { margin: 0; }
.tp-note { font-size: 13.5px; line-height: 1.5; }


/* ── Botones de metal líquido verde (acción principal) ─────────────────────────────────────────────────────────
   Sólo CSS, sin WebGL: un aro de metal (plateado con reflejos verdes) que gira despacio y acelera al pasar el
   mouse, sobre un fondo negro con un brillo verde desde arriba. Texto claro: se lee sobre cualquier fondo.
   Técnica: dos fondos, el interior en padding-box y el aro (conic-gradient) en border-box. */
@property --lm-a { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
:root:not(#_) .btn--primary {
  --lm-ring: conic-gradient(from var(--lm-a), #f2f5f7, #7d878f 9%, #c9dfcf 17%, #9fcbad 23%, #e6f0e9 29%, #3c454c 40%, #9aa39d 50%, #1d3b29 60%, #9fcbad 70%, #f2f5f7 78%, #5b646b 88%, #f2f5f7);
  position: relative; border: 2px solid transparent; border-radius: 999px; padding-inline: 24px; color: #e3efe6; font-weight: 600;
  background:
    radial-gradient(120% 150% at 50% -35%, rgb(159 203 173 / .30), transparent 58%) padding-box,
    linear-gradient(180deg, #17261d 0%, #060908 100%) padding-box,
    var(--lm-ring) border-box;
  text-shadow: 0 1px 2px rgb(0 0 0 / .7), 0 0 14px rgb(159 203 173 / .35);
  box-shadow: 0 0 0 1px rgb(0 0 0 / .85), inset 0 1px 0 rgb(255 255 255 / .16), inset 0 -2px 6px rgb(0 0 0 / .55), 0 12px 28px -14px rgb(0 0 0 / .95), 0 0 26px -10px rgb(159 203 173 / .6);
  animation: lm-spin 7s linear infinite;
  transition: color .25s, box-shadow .3s, text-shadow .3s, transform .15s;
}
:root:not(#_) .btn--primary:hover {
  color: #fff; animation-duration: 2.6s;
  text-shadow: 0 1px 2px rgb(0 0 0 / .7), 0 0 16px rgb(159 203 173 / .6);
  box-shadow: 0 0 0 1px rgb(0 0 0 / .85), inset 0 1px 0 rgb(255 255 255 / .22), inset 0 -2px 6px rgb(0 0 0 / .5), 0 14px 30px -14px rgb(0 0 0 / .95), 0 0 34px -8px rgb(159 203 173 / .75);
}
:root:not(#_) .btn--primary:active { animation-duration: 1s; box-shadow: inset 0 2px 5px rgb(0 0 0 / .6), 0 0 18px -8px rgb(159 203 173 / .6); }
:root:not(#_) .btn--primary:focus-visible { outline: 2px solid var(--p-accent); outline-offset: 3px; }
:root:not(#_) .btn--primary:disabled { opacity: .55; animation-play-state: paused; cursor: not-allowed; }
@keyframes lm-spin { to { --lm-a: 360deg; } }

/* El botón «Cotizar» de la barra del celular: el mismo metal, en círculo */
@media (max-width: 1023px) {
  :root:not(#_) .appbar__item--cta i {
    color: #e3efe6; border: 2px solid transparent;
    background:
      radial-gradient(circle at 50% 0%, rgb(159 203 173 / .38), transparent 62%) padding-box,
      radial-gradient(circle at 50% 30%, #1b2c22, #050807 75%) padding-box,
      conic-gradient(from var(--lm-a), #f2f5f7, #7d878f 9%, #c9dfcf 17%, #9fcbad 23%, #e6f0e9 29%, #3c454c 40%, #9aa39d 50%, #1d3b29 60%, #9fcbad 70%, #f2f5f7 78%, #5b646b 88%, #f2f5f7) border-box;
    box-shadow: 0 0 0 5px rgb(7 9 10 / .92), 0 10px 26px -8px rgb(159 203 173 / .65), inset 0 1px 0 rgb(255 255 255 / .2);
    animation: lm-spin 7s linear infinite;
  }
  :root:not(#_) .appbar__item--cta svg, :root:not(#_) .appbar__item--cta.is-on svg { color: #e3efe6; filter: drop-shadow(0 0 6px rgb(159 203 173 / .55)); }
}
@media (prefers-reduced-motion: reduce) { :root:not(#_) :is(.btn--primary, .appbar__item--cta i) { animation: none; } }
/* Proyectos (portátil): el texto arranca siempre a la misma altura, así el nombre no salta al cambiar de proyecto */
@media (min-width: 1024px) { .showcase__text { align-self: start; padding-top: clamp(8px, 2vh, 24px); } }
/* Página del proyecto: «Lo que tiene ahora» sin huecos; la última fila se reparte el ancho */
.cs-now { display: flex; flex-wrap: wrap; }
.cs-now > li { flex: 1 1 calc((100% - (var(--cols, 3) - 1) * 12px) / var(--cols, 3)); min-width: 0; }
@media (max-width: 1023px) { .cs-now > li { flex-basis: calc((100% - 12px) / 2); } }
@media (max-width: 639px) { .cs-now > li { flex-basis: 100%; } }
@media (min-width: 1024px) { .showcase__pain dd { max-width: 52ch; } .showcase__text { padding-top: 0; } }
@media (min-width: 1024px) { .showcase { margin-top: 20px; row-gap: 10px; } }
/* Página del proyecto: bloques más juntos (antes quedaban 192 px vacíos entre cada uno) */
main.case > section { padding-bottom: clamp(28px, 3vw, 44px); }
main.case > section + section, main.case > div + section, main.case > section + div > section { padding-top: clamp(36px, 4vw, 60px); }

/* ── Auditoría móvil ─────────────────────────────────────────────────────────────────────────────────────────── */
/* Cotizador: en el paso de enviar, o con el teclado abierto, el resumen deja de flotar y la barra inferior se oculta
   (no tapan el campo que se escribe ni el botón «Enviar») */
@media (max-width: 1023px) {
  .qz-grid.is-send .qz-sum, .qz-grid:has(.qz-step :is(input, textarea, select):focus) .qz-sum { position: static; }
  html:has(main :is(input:not([type=radio]):not([type=checkbox]), textarea, select):focus) .appbar { display: none; }
  /* Toques cómodos (44 px): «Ver detalle», pestañas del sitio, Sí/No, planes y moneda */
  .qz-sum__toggle { min-height: 44px; padding: 0 4px; }
  .qz-seg button, .qz-seg.qz-pages button { min-height: 44px; }
  .qz-seg.qz-seg--mini button { min-height: 36px; padding-inline: 12px; }
  .qz-plans label { min-height: 44px; }
}
/* Los pasos del cotizador no quedan medio ocultos bajo el encabezado al avanzar */
.qz-step h2 { scroll-margin-top: 150px; }
.invalid-link { display: grid; gap: 22px; max-width: 46ch; padding-block: 8px 24px; }
.invalid-link__h { margin: 0; font-size: clamp(30px, 6vw, 48px); line-height: 1.05; }
/* Tarjeta «Siguiente proyecto»: el texto se lee sobre cualquier captura */
.case-nextcard::after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(to bottom, transparent, rgb(0 0 0 / .82)); pointer-events: none; border-radius: inherit; }
.case-nextcard__text { z-index: 1; }
/* Celular: el título de la portada se ve desde el primer pintado (antes esperaba a motion.js ~1,2 s); conserva el movimiento */
@media (max-width: 719px) { html.m-enter:not(.m-enter-done) .hero[data-enter]:not(.is-entering, .is-entered) h1 { opacity: 1 !important; } }
/* Toques cómodos (44 px) en celular: confirmación de borrar, Pesos/Dólares, Saltar intro (sobre la barra del iPhone) */
@media (max-width: 1023px) {
  .dbtn__circle { width: 44px; height: 44px; }
  .tar-cur label { min-height: 44px; }
  .qz-seg.qz-seg--mini button { min-height: 44px; }
}
.di__skip { bottom: calc(24px + env(safe-area-inset-bottom)); min-height: 44px; }
@media (max-width: 1023px) { .ww__nav button { width: 44px; height: 44px; } }
/* Celular: el botón «Pedir una cotización» de la portada entra en la primera pantalla (foto y tarjeta más compactas) */
@media (max-width: 767px) {
  .hero__me { width: min(200px, 52vw); margin: 0 auto 14px; }
  .hero__me-name { margin-top: -18px; padding: 8px 14px; gap: 2px; }
  .hero__me-name b { font-size: 16px; }
  .hero__me-name span { font-size: 11.5px; }
  .hero__chip { font-size: 11.5px; padding: 6px 10px; }
}
@media (max-width: 767px) {
  :is(main, hx-stack) > section.hero { padding-top: 78px; }
  .hero__lead { margin-top: 12px; }
  .hero__tags { margin-top: 12px; }
  .hero__c > .btn-row { margin-top: 18px; }
}
@media (max-width: 767px) {
  .hero__me { width: min(190px, 48vw, 22svh); }
  .hero h1 { font-size: clamp(30px, 8.6vw, 38px); }
}
/* Inicio en celular (auditoría) */
.hix__item.is-on .hix__name { -webkit-text-stroke: 0; } /* el trazo transparente borraba partes de las letras («MONTULINTIS») */
@media (max-width: 399px) { .tar-list > li { flex-wrap: wrap; row-gap: 2px; } .tar-list__v { margin-left: auto; } } /* Tarifas: el nombre no se monta sobre el precio */
@media (max-width: 1023px) {
  .adz__mascot { max-height: 280px; overflow: hidden; } /* el robot no ocupa dos pantallas */
  .showcase__num { text-wrap: balance; }
  .fqc__q { padding-right: 4px; } .fqc__bubble { flex: 1 1 auto; } .fqc__pm { margin-right: 4px; } /* el «+» dentro del borde */
  .fqc__stamp { margin-bottom: 14px; }
  #preguntas { padding-bottom: 40px; }
}
/* Marca: el logo de Cristian tal cual (símbolo y palabra en /brand/*-wordmark.svg); «BY CRISTIAN GUÍO» va en texto, en el
   lugar y el gris del logo, un poco más grande para que se lea en el encabezado (a 44 px de alto el del archivo mediría 5 px) */
.nav__brand { --h: 44px; position: relative; display: inline-flex; align-items: center; line-height: 0; }
.nav__brand img { display: block; height: var(--h); width: auto; }
.nav__brand .nav__by { position: absolute; left: calc(var(--h) * 1.694); top: calc(var(--h) * .69); font: 500 9px/1 var(--font-text); letter-spacing: .2em; color: #9aa39d; white-space: nowrap; pointer-events: none; }
@media (max-width: 639px) { .nav__brand { --h: 36px; } .nav__brand .nav__by { display: none; } }
.footer .nav__brand { --h: 52px; }
.footer .nav__brand .nav__by { display: block; font-size: 10px; }
/* Encabezado: los enlaces se centran en el espacio entre el logo y los botones (mismo aire a cada lado), nunca encima de «EN» */
@media (min-width: 1024px) {
  .nav--centre .nav__bar { grid-template-columns: auto minmax(0, 1fr) auto; }
  .nav--centre .nav__links { justify-self: center; }
}
/* Laptop pequeña (1024-1279): enlaces un poco más compactos; por debajo de 1200 «Preguntas» sale del encabezado (sigue en la página y el pie) */
@media (min-width: 1024px) and (max-width: 1279px) {
  .nav--centre .nav__bar { column-gap: var(--s-6); }
  .nav--centre .nav__links .nav__link { font-size: 14px; padding: 0 6px; }
  .nav--centre .nav__links .nav__link::before { left: 6px; right: 6px; }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .nav--centre .nav__links .nav__item:has(> a[href="#preguntas"]) { display: none; }
}
@media (min-width: 1024px) and (max-width: 1099px) {
  .nav--centre .nav__links .nav__link { padding: 0 4px; }
  .nav--centre .nav__links .nav__link::before { left: 4px; right: 4px; }
}

/* Diagnóstico de ayuda (/diagnostico): una pregunta por pantalla, opciones grandes de tocar */
.dg { max-width: 760px; }
.dg-bar { height: 4px; margin: 0 0 28px; border-radius: 4px; background: rgb(255 255 255 / .06); overflow: hidden; }
.dg-bar span { display: block; height: 100%; border-radius: inherit; background: var(--p-accent); transition: width .35s cubic-bezier(.2,.8,.2,1); }
.dg-k { display: block; margin: 0 0 10px; font: 500 12px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--p-accent); }
.dg-opts { display: grid; gap: 10px; margin-top: 20px; }
.dg-opt { all: unset; box-sizing: border-box; display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 56px; padding: 14px 18px; border-radius: 16px; cursor: pointer; background: var(--p-surface); box-shadow: inset 0 0 0 1px rgb(154 163 157 / .16); transition: box-shadow .2s, background .2s, translate .2s; }
.dg-opt:hover { translate: 0 -2px; box-shadow: inset 0 0 0 1px rgb(159 203 173 / .35); }
.dg-opt:active { translate: 0 0; }
.dg-opt:focus-visible { outline: 2px solid var(--p-accent); outline-offset: 3px; }
.dg-opt.is-on { background: linear-gradient(150deg, rgb(159 203 173 / .12), var(--p-surface) 60%); box-shadow: inset 0 0 0 2px var(--p-accent); }
.dg-opt__t { font-size: 16.5px; line-height: 1.35; color: var(--p-ink); }
.dg-opt__check { display: grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 50%; font-weight: 700; box-shadow: inset 0 0 0 1.5px rgb(154 163 157 / .3); }
.dg-opt.is-on .dg-opt__check { background: var(--p-accent); color: #0d1a12; box-shadow: none; }
.dg-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.dg-nav .btn { min-height: 48px; }
.dg-nav .btn:disabled { opacity: .45; cursor: not-allowed; }
.dg-step h2, .dg-result h2 { margin: 0 0 6px; font: var(--display-weight) clamp(24px, 2.4vw, 34px)/1.15 var(--font-display); letter-spacing: var(--display-tracking); outline: none; scroll-margin-top: 110px; }
.dg-p { margin: 12px 0 0; max-width: 62ch; }
.dg-privacy { font-size: 13px; }
.dg-result { padding: clamp(22px, 3vw, 36px); border-radius: 22px; background: var(--p-surface); box-shadow: inset 0 0 0 1px rgb(159 203 173 / .35); }
@media (max-width: 640px) { .dg .qz-fields { grid-template-columns: 1fr; } .dg-nav .btn { flex: 1 1 auto; justify-content: center; } }
@media (prefers-reduced-motion: reduce) { .dg-opt, .dg-bar span { transition: none; } }

/* Plan escrito del Diagnóstico de ayuda (/plan/<token>) */
.plan h1 { margin: 0 0 6px; }
.plan h2 { margin: 28px 0 10px; font: var(--display-weight) clamp(20px, 2vw, 26px)/1.2 var(--font-display); }
.plan__where { display: grid; gap: 10px; margin: 18px 0 0; }
.plan__where dt { font-size: 13px; color: var(--p-muted); } .plan__where dd { margin: 2px 0 0; }
.plan__list { margin: 0; padding-left: 20px; display: grid; gap: 8px; }
.plan__pays { font: 600 clamp(18px, 1.6vw, 22px)/1.35 var(--font-text); color: var(--p-accent); margin: 0 0 10px; }
.plan__lines { list-style: none; margin: 0 0 12px; padding: 0; border-top: 1px solid var(--line); }
.plan__lines li { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.plan__total { font-weight: 700; }
.plan dd, .plan li { overflow-wrap: anywhere; }
.plan__lines li > span:last-child { white-space: nowrap; }
@media print { .plan, .plan * { color: #111 !important; } .plan__lines, .plan__lines li { border-color: #ccc; } }
/* Versión del proyecto (1 = primera versión entregada, 2 = sitio completo): verde si está entregada, ámbar si está en construcción */
.case-building--done { color: var(--accent); box-shadow: inset 0 0 0 1px rgb(159 203 173 / .45); }
.work__tags li.is-stage, .showcase__tags li.is-stage { color: var(--accent); border-color: rgb(159 203 173 / .45); box-shadow: inset 0 0 0 1px rgb(159 203 173 / .45); background: rgb(159 203 173 / .08); }
.work__tags li.is-stage.is-building, .showcase__tags li.is-stage.is-building { color: #d9b46a; border-color: rgb(217 180 106 / .45); box-shadow: inset 0 0 0 1px rgb(217 180 106 / .45); background: rgb(217 180 106 / .08); }
.case-building { text-decoration: none; }
/* Proyectos, versión ligera: una frase de lo que le dolía y «Cómo lo resolví» desplegable */
.showcase__lead { margin: 0; padding-left: 16px; border-left: 2px solid rgb(154 163 157 / .25); font-size: 19px; line-height: 1.4; color: var(--p-ink); max-width: 40ch; }
.showcase__fix { margin-top: 4px; }
.showcase__fix summary { display: inline-flex; align-items: center; gap: 8px; padding: 10px 0 4px 16px; cursor: pointer; list-style: none; font: 500 12px/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--p-accent); }
.showcase__fix summary::-webkit-details-marker { display: none; }
.showcase__fix summary::after { content: "+"; font-size: 15px; transition: transform .25s ease; }
.showcase__fix[open] summary::after { transform: rotate(45deg); }
.showcase__fix p { margin: 8px 0 0; padding-left: 16px; border-left: 2px solid var(--p-accent); font-size: 16px; line-height: 1.45; color: #c9ced4; max-width: 46ch; animation: sc-in .4s cubic-bezier(.2,.8,.2,1) both; }
.showcase__tags li.is-stage a { color: inherit; text-decoration: none; }
.showcase__tags li.is-stage u { text-underline-offset: 3px; opacity: .8; }
/* En el celular: primero se elige el proyecto, luego el portátil (se desliza) y al final el texto corto */
@media (max-width: 1023px) {
  .showcase { grid-template-areas: "tabs" "stage" "text"; row-gap: 14px; }
  .showcase__stage { touch-action: pan-y; }
  .showcase__lead { font-size: 18px; }
}
/* Asesor virtual con IA (burbuja en todas las páginas): sobre la barra de abajo en el celular (--bar) */
.schat { position: fixed; z-index: 60; right: max(16px, env(safe-area-inset-right)); bottom: calc(var(--bar, 0px) + 16px + env(safe-area-inset-bottom)); display: grid; justify-items: end; gap: 12px; font-family: var(--font-text, system-ui, sans-serif); }
.schat__fab { width: 56px; height: 56px; border: 0; border-radius: 50%; display: grid; place-items: center; cursor: pointer; color: #0d1a12; background: var(--accent, #9fcbad); box-shadow: 0 12px 30px -8px rgb(159 203 173 / .55), inset 0 0 0 1px rgb(255 255 255 / .25); font-size: 28px; line-height: 1; transition: transform .2s, box-shadow .2s; }
.schat__fab:hover { transform: translateY(-2px); }
.schat__fab:active { transform: translateY(0) scale(.97); }
.schat__fab:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.schat__panel { width: min(380px, calc(100vw - 32px)); height: min(560px, calc(100dvh - var(--bar, 0px) - 120px)); display: grid; grid-template-rows: auto 1fr auto auto; overflow: hidden; border-radius: 20px; color: var(--p-ink, #e9ece8); background: rgb(12 14 15 / .97); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .1), 0 30px 70px -20px rgb(0 0 0 / .9); animation: schat-in .28s cubic-bezier(.2,.8,.2,1) both; }
@keyframes schat-in { from { opacity: 0; transform: translateY(10px) scale(.98); } }
@media (prefers-reduced-motion: reduce) { .schat__panel { animation: none; } .schat__fab { transition: none; } }
.schat__head { display: flex; align-items: center; gap: 10px; padding: 12px 12px 12px 14px; border-bottom: 1px solid rgb(255 255 255 / .08); }
.schat__av { width: 34px; height: 34px; flex: none; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #c4dccb, var(--accent, #9fcbad) 45%, #2f5a40); box-shadow: 0 0 18px -4px var(--accent, #9fcbad); }
.schat__who { display: grid; gap: 2px; min-width: 0; flex: 1; }
.schat__who b { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.schat__who span { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--p-muted, #a3aaa6); }
.schat__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent, #9fcbad); }
.schat__wa { font-size: 12px; font-weight: 600; color: var(--accent, #9fcbad); text-decoration: none; padding: 8px 10px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgb(159 203 173 / .4); }
.schat__x { width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; color: var(--p-muted, #a3aaa6); font-size: 24px; cursor: pointer; }
.schat__x:hover { background: rgb(255 255 255 / .06); color: #fff; }
.schat__body { overflow-y: auto; overscroll-behavior: contain; padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.schat__msg { margin: 0; max-width: 88%; padding: 10px 13px; border-radius: 16px; font-size: 15px; line-height: 1.45; white-space: pre-line; overflow-wrap: anywhere; }
.schat__msg--bot { align-self: flex-start; background: rgb(255 255 255 / .06); border-bottom-left-radius: 6px; }
.schat__msg--me { align-self: flex-end; color: #0d1a12; background: var(--accent, #9fcbad); border-bottom-right-radius: 6px; }
.schat__msg a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.schat__msg--bot a { color: var(--accent, #9fcbad); }
.schat__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.schat__chips button { min-height: 36px; padding: 6px 12px; border: 0; border-radius: 999px; cursor: pointer; color: var(--p-ink, #e9ece8); background: transparent; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .16); font: inherit; font-size: 13px; text-align: left; transition: background .2s; }
.schat__chips button:hover { background: rgb(255 255 255 / .06); }
.schat__typing { display: inline-flex; gap: 4px; }
.schat__typing i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .4; animation: schat-dot 1s infinite; }
.schat__typing i:nth-child(2) { animation-delay: .15s; } .schat__typing i:nth-child(3) { animation-delay: .3s; }
@keyframes schat-dot { 50% { opacity: 1; transform: translateY(-2px); } }
.schat__form { display: flex; align-items: flex-end; gap: 8px; padding: 10px 10px 6px; border-top: 1px solid rgb(255 255 255 / .08); }
.schat__form textarea { flex: 1; min-height: 44px; max-height: 120px; resize: none; padding: 11px 12px; border: 0; border-radius: 12px; color: inherit; background: rgb(255 255 255 / .06); font: inherit; font-size: 16px; line-height: 1.35; }
.schat__form textarea:focus { outline: 2px solid rgb(159 203 173 / .5); outline-offset: 0; }
.schat__form button { width: 44px; height: 44px; flex: none; border: 0; border-radius: 12px; display: grid; place-items: center; cursor: pointer; color: #0d1a12; background: var(--accent, #9fcbad); }
.schat__form button:disabled { opacity: .4; cursor: default; }
.schat__note { margin: 0; padding: 0 14px 10px; font-size: 11px; line-height: 1.35; color: var(--p-muted, #a3aaa6); }
.schat__note button { padding: 0; border: 0; background: none; color: inherit; text-decoration: underline; cursor: pointer; font: inherit; }
@media (max-width: 520px) { .schat.is-open .schat__panel { width: calc(100vw - 24px); } .schat.is-open { right: 12px; } }
@media (max-width: 1023px) { .schat__fab { width: 48px; height: 48px; } .schat__fab svg { width: 22px; height: 22px; } }
/* «Así cambiaron»: la carpeta de plástico esmerilado (FrostedFolderLookbook) en lugar de la pantalla que rotaba */
.hix__folder { grid-area: visual; position: relative; align-self: stretch; width: 100%; height: clamp(460px, 72svh, 680px); }
@media (max-width: 1023px) { .hix__folder { height: clamp(460px, 118vw, 600px); } }
.hix__folder { overflow: clip; }
@media (min-width: 1024px) { .hix { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(14px, 2.4svh, 28px) clamp(16px, 2.6vw, 48px); } }
@media (max-width: 1023px) { .hix__folder { height: clamp(540px, 152vw, 660px); } }
/* El expediente lleva los 8 proyectos: en el celular, 4 filas de 2 fotos, con más alto */
@media (max-width: 1023px) { .hix__folder { height: clamp(680px, 205vw, 800px); } }
/* Con los 8 proyectos en la lista: nombres un poco más pequeños y menos aire, para que todo quepa en una pantalla */
@media (min-width: 1024px) {
  .hix__list { gap: clamp(2px, .7svh, 8px); }
  .hix__name { font-size: clamp(20px, min(2.35vw, 3.7svh), 36px); }
  .hix__head h2 { font-size: clamp(26px, min(3vw, 4.6svh), 44px); }
  .hix__item.is-on .hix__desc { margin-top: 6px; }
}
@media (min-width: 1024px) { .hix__name { white-space: nowrap; } }
/* «Cómo trabajo» en el celular y la tableta: fila de pasos que se desliza con el dedo (scroll-snap), texto completo debajo */
.wwm { position: relative; margin: 4px 0 28px; }
.wwm__track { display: flex; gap: 14px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: 8vw; padding: 6px 8vw 8px; margin-inline: calc(-1 * var(--pad, 16px)); scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.wwm__track::-webkit-scrollbar { display: none; }
.wwm__slide { flex: 0 0 min(84vw, 520px); scroll-snap-align: center; scroll-snap-stop: always; display: grid; gap: 14px; align-content: start; opacity: .5; transform: scale(.95); transform-origin: 50% 0; transition: opacity .35s ease, transform .45s cubic-bezier(.2,.8,.2,1); }
.wwm__slide.is-on { opacity: 1; transform: none; }
.wwm__face { position: relative; display: block; aspect-ratio: 1.45; overflow: hidden; border-radius: 16px; background: #101412; box-shadow: 0 0 0 1px rgb(154 163 157 / .14), 0 22px 44px -22px rgb(0 0 0 / .9); }
.wwm__face img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.wwm__text { display: grid; gap: 8px; padding: 0 4px; }
.wwm__text b { color: var(--accent); font: 500 12px/1 var(--font-mono-site), ui-monospace, monospace; letter-spacing: .1em; }
.wwm__text h3 { margin: 0; font-size: 22px; line-height: 1.15; }
.wwm__text p { margin: 0; color: var(--muted); font-size: 15.5px; line-height: 1.5; }
.wwm__bar { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 18px; }
.wwm__bar > button { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgb(154 163 157 / .22); background: rgb(11 13 12 / .6); color: var(--ink); cursor: pointer; transition: border-color .2s, background .2s, opacity .2s; }
.wwm__bar > button:disabled { opacity: .3; cursor: default; }
.wwm__bar > button:not(:disabled):active { background: rgb(159 203 173 / .14); }
.wwm__dots { display: flex; gap: 4px; }
.wwm__dots button { all: unset; cursor: pointer; padding: 10px 3px; }
.wwm__dots button::before { content: ""; display: block; width: 7px; height: 7px; border-radius: 99px; background: rgb(154 163 157 / .35); transition: width .35s cubic-bezier(.2,.8,.2,1), background .3s; }
.wwm__dots button.is-on::before { width: 22px; background: var(--accent); }
.wwm__dots button:focus-visible::before { outline: 2px solid var(--accent); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .wwm__slide, .wwm__dots button::before { transition: none; } }
@media (max-width: 1023px) { .wwm .ww__extra { display: block; margin: 18px 0 4px; justify-self: center; } }
/* Puntos y flechas justo debajo de la foto (no al final de la fila: el paso 5, con la carpeta, es más alto que los demás) */
@media (max-width: 1023px) {
  .wwm__bar { position: absolute; left: 0; right: 0; top: calc(6px + min(84vw, 520px) / 1.45 + 10px); margin: 0; z-index: 2; pointer-events: none; }
  .wwm__bar > * { pointer-events: auto; }
  .wwm__text { padding-top: 58px; }
  .wwm { margin-bottom: 12px; }
}
