/* =========================================================
   Viettro Consulting · estilos compartidos
   ========================================================= */

@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/montserrat-400.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/montserrat-500.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/montserrat-600.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/montserrat-700.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 800; font-display: swap; src: url("/assets/fonts/montserrat-800.woff2") format("woff2"); }

:root {
  --brand: #2737C9;
  --brand-700: #1D2AA0;
  --brand-50: #E9EBFB;
  --brand-on-dark: #9DA7FF;
  --ink: #12142B;
  --ink-900: #0B0D1F;
  --ink-soft: #464A6B;
  --mist: #F5F6FB;
  --white: #FFFFFF;
  --line: #DCDFF0;
  --line-dark: rgba(255, 255, 255, .14);
  --wa: #0B6B37;

  --f-display: "Montserrat", system-ui, sans-serif;
  --f-body: "Montserrat", system-ui, sans-serif;
  --f-mono: "Montserrat", system-ui, sans-serif;   /* etiquetas: misma familia, en mayúsculas */

  --radius: 14px;
  --radius-lg: 24px;
  --gutter: 20px;
  --maxw: 1180px;
  --section-y: clamp(72px, 10vw, 136px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 1.0625rem;           /* 17px móvil */
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
@media (min-width: 1024px) { body { font-size: 1.1875rem; } }   /* 19px escritorio */

img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-underline-offset: .18em; }
p { margin: 0 0 1em; }
[id] { scroll-margin-top: 90px; }
h1, h2, h3 { font-family: var(--f-display); margin: 0; letter-spacing: -.025em; }

:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
.section--ink :focus-visible, .hero :focus-visible, .cta-final :focus-visible { outline-color: var(--brand-on-dark); }

[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 768px) { :root { --gutter: 32px; } }

/* "IA" siempre resaltado */
.ia { color: var(--brand); font-weight: inherit; }
.site-header .ia, .hero .ia, .section--ink .ia, .cta-final .ia, .service--featured .ia, .eyebrow--on-dark .ia { color: var(--brand-on-dark); }
.btn .ia--inherit { color: #CDD2FF; }

/* Marcadores de datos pendientes */
.pending { font-family: var(--f-mono); font-size: .8rem; color: var(--ink-soft); background: repeating-linear-gradient(45deg, var(--mist), var(--mist) 10px, #EDEFF8 10px, #EDEFF8 20px); border: 1.5px dashed #B7BCDA; padding: 10px 12px; border-radius: 8px; text-align: center; }
.pending--dark { color: #C9CDEB; background: var(--ink-900); border-color: #3B3F66; }
.pending-block { font-family: var(--f-mono); font-size: .85rem; color: var(--ink-soft); border: 1.5px dashed #B7BCDA; border-radius: 8px; padding: 12px 14px; margin: 0 0 20px; }
[data-pending] { outline: 2px dashed #E0A100; outline-offset: 3px; }

/* ---------- Tipografía de apoyo ---------- */
.eyebrow { font-family: var(--f-mono); font-size: .76rem; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: var(--brand); margin: 0 0 16px; }
.eyebrow--on-dark { color: #B9BEE6; }
.h2 { font-size: clamp(1.9rem, 4.4vw, 3.1rem); line-height: 1.08; font-weight: 700; }
.muted-on-dark { color: #A9AED3; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4em;
  min-height: 52px; padding: 12px 22px;
  font-family: var(--f-body); font-weight: 600; font-size: 1rem; line-height: 1.2;
  text-decoration: none; text-align: center;
  border-radius: 12px; border: 2px solid transparent;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); filter: brightness(.94); }
.topt:active, .tab:active, .bslot:active, .channel:active, .crosslink:active { transform: scale(.99); }
.btn--sm { min-height: 44px; padding: 8px 16px; font-size: .95rem; }
.btn--lg { min-height: 58px; padding: 14px 26px; font-size: 1.05rem; }
.btn__meta { font-weight: 400; opacity: .8; }
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-700); }
.btn--ghost-dark { color: #fff; border-color: rgba(255,255,255,.45); }
.btn--ghost-dark:hover { border-color: #fff; background: rgba(255,255,255,.06); }
.btn--light { background: #fff; color: var(--brand); }
.btn--light:hover { background: var(--brand-50); }
.btn--wa { color: #fff; border-color: rgba(255,255,255,.45); }
.btn--wa::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--wa); }
.btn--wa:hover { border-color: #fff; }

.link-arrow { font-weight: 600; text-decoration: none; display: inline-flex; gap: .35em; align-items: center; }
.link-arrow:hover { text-decoration: underline; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--ink); color: #fff; transition: box-shadow .2s; }
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--line-dark), 0 10px 30px rgba(0,0,0,.25); }
.header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 16px; }

.logo { display: inline-flex; align-items: center; line-height: 0; }
.logo img { height: 38px; width: auto; }
.logo--footer img { height: 46px; }

.nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; background: transparent; border: 1px solid var(--line-dark); border-radius: 12px; color: #fff; cursor: pointer; }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { display: block; width: 20px; height: 2px; background: currentColor; position: relative; transition: transform .2s, background .2s; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -6px; } .nav-toggle__bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

.site-nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--ink); border-top: 1px solid var(--line-dark); padding: 12px var(--gutter) 24px; display: none; }
.site-nav.is-open { display: block; }
.site-nav__list { list-style: none; margin: 0; padding: 0; }
.site-nav__list a { display: block; padding: 14px 0; color: #fff; text-decoration: none; font-weight: 500; border-bottom: 1px solid var(--line-dark); }
.site-nav__list a:hover, .site-nav__list a[aria-current="page"] { color: var(--brand-on-dark); }
.site-nav__actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 20px; }

.lang { display: inline-flex; gap: 4px; font-family: var(--f-mono); font-size: .8rem; }
.lang__item { padding: 4px 8px; border-radius: 6px; }
.lang__item.is-active { background: rgba(255,255,255,.1); color: #fff; }
.lang__item.is-disabled { color: #9AA0C8; cursor: not-allowed; }

@media (min-width: 1180px) {
  .nav-toggle { display: none; }
  .site-nav { position: static; display: flex !important; align-items: center; gap: 28px; padding: 0; border: 0; background: none; }
  .site-nav__list { display: flex; gap: 24px; }
  .site-nav__list a { padding: 8px 0; border: 0; font-size: .95rem; }
  .site-nav__actions { margin: 0; }
}

/* ---------- Hero ---------- */
.hero { background: var(--ink); color: #fff; padding: 48px 0 72px; overflow: hidden; }
.hero__grid { display: grid; gap: 48px; align-items: center; }
.hero__title { font-size: clamp(2.2rem, 5.2vw, 4rem); line-height: 1.08; font-weight: 800; margin-bottom: 24px; }
.hero__title-2 { display: block; color: #B9BEE6; font-weight: 700; }
.hero__lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: #DADDF3; max-width: 36ch; }
.hero__ctas { display: flex; flex-direction: column; gap: 12px; margin-top: 32px; }
.hero__alt { margin: 14px 0 0; color: #A9AED3; font-size: .95rem; }
.hero__alt a { color: #fff; }
.hero__proof { display: flex; gap: 14px; align-items: center; margin: 32px 0 0; padding-top: 24px; border-top: 1px solid var(--line-dark); font-size: .9rem; line-height: 1.45; color: #B9BEE6; max-width: 56ch; }
.hero__proof p { margin: 0; }
.hero__proof strong { color: #fff; font-weight: 600; }
.hero__avatar { flex: none; width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 2px solid var(--brand); }
.dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: #4CD08A; margin-top: .45em; box-shadow: 0 0 0 4px rgba(76,208,138,.18); }

@media (min-width: 640px) { .hero__ctas { flex-direction: row; flex-wrap: wrap; } }
@media (min-width: 1024px) {
  .hero { padding: 88px 0 120px; }
  .hero__grid { grid-template-columns: 1.2fr .8fr; gap: 64px; }
}

/* ---------- La reja (celda) ---------- */
.cell {
  --open: 0;
  position: relative; container-type: inline-size;
  width: 100%; max-width: 440px; margin: 0 auto;
  aspect-ratio: 4 / 5; border-radius: var(--radius-lg); overflow: hidden;
  background: radial-gradient(120% 90% at 50% 15%, #5664E8 0%, var(--brand) 45%, #1A2491 100%);
}
@media (max-width: 1023px) { .hero .cell { aspect-ratio: 5 / 4; max-width: 520px; } }

.cell__inside { position: absolute; inset: 0; display: flex; align-items: flex-start; justify-content: center; padding-top: 22%; }
.cell__free { margin: 0; font-family: var(--f-display); font-weight: 800; font-size: clamp(1.6rem, 11cqw, 3rem); letter-spacing: -.03em; color: #fff; opacity: clamp(0, calc(var(--open) * 2.2 - 1.1), 1); transform: translateY(calc((1 - var(--open)) * 12px)); }
.cell__free span { color: var(--brand-on-dark); }

.bar {
  position: absolute; top: -2%; bottom: -2%;
  width: 6.5%; left: calc(50% + var(--d) * 11.5% - 3.25%);
  background: linear-gradient(90deg, var(--ink-900) 0%, #2A2E55 45%, var(--ink-900) 100%);
  border-radius: 3px;
  /* se separan desde el centro: abre un hueco y empuja las rejas hacia los lados */
  transform: translateX(calc(var(--open) * (var(--d) * 10cqw + var(--s, 0) * 22cqw)));
  will-change: transform;
}
.cell__rail { position: absolute; left: 0; right: 0; height: 5%; background: var(--ink-900); z-index: 2; opacity: calc(1 - var(--open) * 1.4); }
.cell__rail--top { top: 9%; } .cell__rail--bottom { bottom: 9%; }

/* Variante: banda de fondo en el CTA final */
.cell--band { position: absolute; inset: 0; max-width: none; aspect-ratio: auto; border-radius: 0; background: none; opacity: .5; pointer-events: none; }
.cell--band .bar { background: linear-gradient(90deg, transparent, rgba(39,55,201,.55), transparent); width: 5%; transform: translateX(calc(var(--open) * (var(--d) * 6cqw + var(--s, 0) * 10cqw))); }

/* ---------- Secciones ---------- */
.section { padding: var(--section-y) 0; }
.section--mist { background: var(--mist); }
.section--ink { background: var(--ink); color: #fff; }
.section__head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 64px); }
.section__head--split { max-width: none; display: flex; flex-direction: column; gap: 20px; }
@media (min-width: 900px) { .section__head--split { flex-direction: row; justify-content: space-between; align-items: flex-end; } .section__head--split > div { max-width: 720px; } }

/* ---------- Señales (checklist interactiva) ---------- */
.signals__hint { font-size: .9rem; font-weight: 600; color: var(--brand); margin: -24px 0 16px; }
.signals { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.signal label { display: grid; grid-template-columns: 28px 1fr; gap: 14px; align-items: start; padding: 18px 20px; background: var(--mist); border: 2px solid transparent; border-radius: var(--radius); line-height: 1.45; cursor: pointer; transition: background .2s, border-color .2s; }
.signal label:hover { border-color: #CDD2F6; }
.signal input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.signal__box { width: 26px; height: 26px; border-radius: 8px; border: 2px solid #B7BCDA; background: #fff; display: grid; place-items: center; transition: background .2s, border-color .2s; margin-top: -1px; }
.signal__box::after { content: ""; width: 12px; height: 7px; border: solid #fff; border-width: 0 0 3px 3px; transform: rotate(-45deg) scale(0); margin-top: -3px; transition: transform .2s; }
.signal input:checked + .signal__box { background: var(--brand); border-color: var(--brand); }
.signal input:checked + .signal__box::after { transform: rotate(-45deg) scale(1); }
.signal input:checked ~ .signal__text { color: var(--ink); }
.signal input:focus-visible + .signal__box { outline: 3px solid var(--brand); outline-offset: 3px; }
.signal:has(input:checked) label { background: var(--brand-50); border-color: var(--brand); }
.signal--lead label { background: var(--ink); color: #fff; font-weight: 600; font-size: 1.12em; padding-top: 22px; padding-bottom: 22px; }
.signal--lead .signal__box { background: transparent; border-color: rgba(255,255,255,.5); }
.signal--lead input:checked ~ .signal__text { color: #fff; }
.signal--lead:has(input:checked) label { background: var(--brand); border-color: var(--brand); }
.signal--lead input:checked + .signal__box { background: #fff; border-color: #fff; }
.signal--lead input:checked + .signal__box::after { border-color: var(--brand); }
.check { display: grid; gap: 24px; }
@media (min-width: 960px) {
  .check { grid-template-columns: 1.55fr 1fr; gap: 40px; align-items: start; }
  .check__aside { position: sticky; top: 100px; }
}

.statement { display: grid; gap: 32px; margin-top: clamp(56px, 8vw, 96px); align-items: center; }
.statement__text { margin-top: clamp(56px, 8vw, 96px) !important; max-width: 20ch; font-family: var(--f-display); font-size: clamp(1.8rem, 4.2vw, 3rem); line-height: 1.1; font-weight: 600; letter-spacing: -.02em; margin: 0; }
.statement__text strong { color: var(--brand); font-weight: 800; }
.test-card { background: var(--brand-50); border: 1px solid #CDD2F6; border-radius: var(--radius-lg); padding: 28px; }
.test-card__count { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--brand); margin-bottom: 10px; }
.test-card__meter { height: 8px; border-radius: 99px; background: #D5D9F6; overflow: hidden; margin-bottom: 18px; }
.test-card__meter span { display: block; height: 100%; width: 0; background: var(--brand); border-radius: inherit; transition: width .4s ease; }
.test-card__title { font-family: var(--f-display); font-size: 1.4rem; font-weight: 700; line-height: 1.2; margin-bottom: 10px; }
.test-card__sols { font-size: .92rem; margin-bottom: 10px; }
.test-card__sols a { font-weight: 600; }
.test-card__meta { font-size: .9rem; color: var(--ink-soft); margin-bottom: 20px; }
@media (min-width: 900px) { .statement { grid-template-columns: 1.3fr 1fr; gap: 64px; } }

/* ---------- Servicios ---------- */
.services { display: grid; gap: 20px; }
.service { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px 28px; display: flex; flex-direction: column; }
.service__tag { align-self: flex-start; font-family: var(--f-mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; background: rgba(255,255,255,.14); padding: 6px 10px; border-radius: 6px; margin-bottom: 20px; }
.service__name { font-size: 1.6rem; font-weight: 700; line-height: 1.1; margin-bottom: 10px; }
.service__promise { font-size: 1.1em; font-weight: 500; color: var(--ink-soft); }
.service__list { list-style: none; padding: 0; margin: 4px 0 24px; display: grid; gap: 10px; }
.service__list li { position: relative; padding-left: 26px; line-height: 1.45; }
.service__list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 12px; height: 2px; background: var(--brand); }
.service__price { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); font-family: var(--f-mono); font-size: .8rem; color: var(--ink-soft); margin-bottom: 18px; }
.service .link-arrow, .service .btn { align-self: flex-start; }

.service--featured { background: var(--brand); color: #fff; border-color: var(--brand); }
.service--featured .service__name { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
.service--featured .service__promise { color: #fff; font-size: 1.25em; }
.service--featured .service__list li::before { background: #fff; }
.service--featured .service__price { color: #DCE0FF; border-color: rgba(255,255,255,.22); }

@media (min-width: 900px) {
  .services { grid-template-columns: 1fr 1fr; }
  .service--featured { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; column-gap: 56px; padding: 48px; }
  .service--featured > :not(.service__list) { grid-column: 1; }
  .service--featured .service__list { grid-column: 2; grid-row: 1 / span 5; align-self: center; margin: 0; font-size: 1.05em; gap: 16px; }
  .service--featured .service__price { margin-top: 24px; }
}

/* ---------- Casos ---------- */
.cases { display: grid; gap: 28px; }
.case { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; background: #fff; }
.case__shot { background: var(--mist); padding: 24px 24px 0; border-bottom: 1px solid var(--line); }
.browser { display: flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--line); border-bottom: 0; border-radius: 12px 12px 0 0; padding: 10px 12px; }
.browser span { width: 9px; height: 9px; border-radius: 50%; background: #D5D8EA; }
.browser em { font-style: normal; font-size: .72rem; color: var(--ink-soft); background: var(--mist); border-radius: 6px; padding: 3px 10px; margin-left: 8px; flex: 1; max-width: 260px; }
.case__screen { aspect-ratio: 1200 / 577; background: #fff; border: 1px solid var(--line); border-bottom: 0; overflow: hidden; display: flex; align-items: center; justify-content: center; padding: 16px; }
.case__screen:has(img) { padding: 0; }
.case__screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.case__body { padding: 28px; display: flex; flex-direction: column; flex: 1; }
.case__label { font-family: var(--f-mono); font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--brand); margin-bottom: 8px; }
.case__name { font-size: 1.6rem; font-weight: 700; margin-bottom: 20px; }
.case__facts { margin: 0 0 20px; display: grid; gap: 14px; }
.case__facts div { display: grid; gap: 2px; }
.case__facts dt { font-family: var(--f-mono); font-size: .75rem; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .08em; }
.case__facts dd { margin: 0; line-height: 1.5; }
.case .link-arrow { margin-top: auto; }
@media (min-width: 900px) { .cases { grid-template-columns: 1fr 1fr; } }

/* ---------- Método ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.step { border: 1px solid var(--line-dark); border-radius: var(--radius-lg); padding: 28px; background: rgba(255,255,255,.03); }
.step__num { display: block; font-family: var(--f-mono); font-size: .85rem; color: var(--brand-on-dark); margin-bottom: 28px; }
.step__title { font-size: 1.5rem; font-weight: 700; margin-bottom: 10px; }
.step p { color: #CDD1EE; margin: 0; }
.steps__note { margin: 32px 0 0; font-family: var(--f-mono); font-size: .85rem; color: #A9AED3; }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .step { position: relative; }
  .step:not(:last-child)::after { content: "→"; position: absolute; right: -16px; top: 26px; color: var(--brand-on-dark); font-family: var(--f-mono); }
}

/* ---------- Sobre mí ---------- */
.about { display: grid; gap: 40px; align-items: center; }
.about__photo { aspect-ratio: 4 / 5; max-width: 420px; width: 100%; border-radius: var(--radius-lg); overflow: hidden; background: var(--ink); display: flex; align-items: center; justify-content: center; padding: 24px; box-shadow: 18px 18px 0 var(--brand); }
.about__photo:has(img) { padding: 0; }
.about__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.about__copy .h2 { margin-bottom: 24px; }
.about__copy p { color: var(--ink-soft); max-width: 58ch; }
@media (min-width: 900px) { .about { grid-template-columns: .8fr 1.2fr; gap: 80px; } }

/* ---------- CTA final ---------- */
.cta-final { position: relative; background: var(--ink); color: #fff; padding: var(--section-y) 0; overflow: hidden; container-type: inline-size; }
.cta-final__inner { position: relative; z-index: 1; max-width: 900px; text-align: center; }
.cta-final__who { display: inline-flex; align-items: center; gap: 14px; text-align: left; margin-bottom: 28px; }
.cta-final__who p { margin: 0; line-height: 1.35; font-weight: 500; }
.avatar { width: 64px; height: 64px; border-radius: 50%; overflow: hidden; background: var(--brand); display: flex; align-items: center; justify-content: center; font-family: var(--f-mono); font-size: .9rem; flex: none; border: 2px solid rgba(255,255,255,.3); }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.cta-final__title { font-size: clamp(2rem, 5vw, 3.6rem); line-height: 1.06; font-weight: 800; margin-bottom: 40px; }
.cta-final__actions { display: flex; flex-direction: column; gap: 12px; align-items: stretch; }
@media (min-width: 760px) { .cta-final__actions { flex-direction: row; justify-content: center; flex-wrap: wrap; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-900); color: #C4C8E6; padding: 64px 0 28px; font-size: .95rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.site-footer li a { display: inline-block; padding: 8px 0; }
.footer__bottom a { display: inline-block; padding: 8px 0; }
.footer__grid { display: grid; gap: 36px; }
.footer__head { font-family: var(--f-mono); font-size: .75rem; text-transform: uppercase; letter-spacing: .12em; color: #8D92BB; margin-bottom: 14px; }
.footer__claim { margin-top: 16px; max-width: 30ch; }
.footer__bottom { display: flex; flex-direction: column; gap: 8px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line-dark); font-size: .82rem; }
.footer__bottom p { margin: 0; }
.footer__bottom .lang__item { font-family: var(--f-mono); }
@media (min-width: 768px) {
  .footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
  .footer__bottom { flex-direction: row; justify-content: space-between; }
}

/* ---------- Reveal suave ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.js [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .btn:hover { transform: none; }
}

/* ---------- Demo en vivo (hero) ---------- */
.hero__visual { position: relative; display: grid; justify-items: center; }
.demo {
  position: relative; z-index: 3; width: min(100%, 420px); margin-top: -34%;
  background: rgba(11, 13, 31, .86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.14); border-radius: 18px; padding: 18px 18px 14px;
  box-shadow: 0 24px 60px rgba(0,0,0,.45);
}
@media (min-width: 1024px) { .demo { margin-top: -42%; margin-left: -18%; } }
.demo__head { display: flex; align-items: center; gap: 8px; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: #B9BEE6; margin-bottom: 12px; }
.demo__live { width: 8px; height: 8px; border-radius: 50%; background: #4CD08A; box-shadow: 0 0 0 4px rgba(76,208,138,.18); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(76,208,138,0); } }
.demo__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.demo__row { display: grid; grid-template-columns: 52px 1fr; gap: 4px 10px; align-items: baseline; padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,.04); border: 1px solid transparent; font-size: .84rem; line-height: 1.35; transition: background .35s, border-color .35s; }
.demo__tag { font-size: .64rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: #8D92BB; }
.demo__tag--out { color: #7FF0B0; }
.demo__in { color: #DADDF3; }
.demo__out { color: #fff; font-weight: 600; }
.js .demo__tag--out, .js .demo__out { opacity: .6; transition: opacity .4s; }
.demo__row.is-done .demo__tag--out, .demo__row.is-done .demo__out { opacity: 1; }
.demo__row.is-active { background: rgba(39,55,201,.35); border-color: rgba(157,167,255,.45); }
.demo__foot { margin: 12px 2px 0; font-size: .82rem; color: #B9BEE6; }

/* ---------- Franja de confianza ---------- */
.proofbar { background: var(--ink-900); color: #DADDF3; border-top: 1px solid var(--line-dark); }
.proofbar__inner { display: flex; flex-direction: column; gap: 14px; padding-top: 22px; padding-bottom: 22px; }
.proofbar__label { margin: 0; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: #8D92BB; }
.proofbar__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; font-size: .9rem; }
.proofbar__list strong { color: #fff; font-weight: 700; margin-right: 4px; }
@media (min-width: 900px) {
  .proofbar__inner { flex-direction: row; align-items: center; justify-content: space-between; }
  .proofbar__list { display: flex; gap: 40px; }
}

/* ---------- Preguntas frecuentes ---------- */
.faq { display: grid; gap: 40px; }
.faq__more { color: var(--ink-soft); margin-top: 20px; }
.faq__list { display: grid; gap: 10px; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.faq__item summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; font-weight: 700; line-height: 1.35; position: relative; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--brand-50); color: var(--brand); display: grid; place-items: center; font-weight: 600; transition: transform .2s; }
.faq__item[open] summary::after { content: "–"; }
.faq__item[open] { border-color: #CDD2F6; }
.faq__item p { margin: 0; padding: 0 22px 22px; color: var(--ink-soft); }
@media (min-width: 900px) { .faq { grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; } .faq__head { position: sticky; top: 100px; } }

/* ---------- Qué pasa después (CTA final) ---------- */
.next { list-style: none; margin: 0 auto 36px; padding: 0; display: grid; gap: 10px; max-width: 760px; text-align: left; }
.next li { display: flex; align-items: baseline; gap: 10px; color: #CDD1EE; font-size: .95rem; }
.next span { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--brand); color: #fff; font-size: .8rem; font-weight: 700; display: grid; place-items: center; transform: translateY(5px); }
.next strong { color: #fff; }
@media (min-width: 760px) { .next { grid-template-columns: repeat(3, 1fr); gap: 20px; } .next li { flex-direction: column; gap: 8px; align-items: center; text-align: center; } .next span { transform: none; } }

/* ---------- Barra fija en celular ---------- */
.mobile-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: flex; gap: 10px; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: rgba(18,20,43,.94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-top: 1px solid var(--line-dark); transform: translateY(110%); transition: transform .3s ease; }
.mobile-cta.is-visible { transform: none; }
.mobile-cta .btn { flex: 1; min-height: 50px; }
.mobile-cta__wa { flex: none; width: 50px; height: 50px; border-radius: 12px; display: grid; place-items: center; background: var(--wa); color: #fff; }
@media (min-width: 900px) { .mobile-cta { display: none; } }
@media (max-width: 899px) { .site-footer { padding-bottom: 96px; } }

/* =========================================================
   Páginas de servicio
   ========================================================= */
.hero--page { padding-bottom: 88px; }
.hero--page .hero__title { font-size: clamp(2.1rem, 4.4vw, 3.5rem); }
.crumbs { font-size: .82rem; color: #A9AED3; margin-bottom: 20px; }
.crumbs a { color: #DADDF3; text-decoration: none; display: inline-block; padding: 6px 0; }
.crumbs a:hover { text-decoration: underline; }
.crumbs span[aria-hidden] { margin: 0 6px; opacity: .6; }
.crumbs [aria-current] { color: #fff; font-weight: 600; }
.section__lead { font-size: 1.08em; color: var(--ink-soft); margin: 20px 0 0; max-width: 60ch; }
.section__lead--on-dark { color: #CDD1EE; }
.section--tight { padding: clamp(56px, 7vw, 88px) 0; }
.h3-title { font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 700; margin-bottom: 24px; }

/* Demo de tareas (hero) */
.demo--tasks { margin: 0 !important; width: min(100%, 460px); }
.demo--tasks .demo__row { grid-template-columns: 22px 1fr auto; gap: 12px; align-items: center; }
.demo__check { width: 20px; height: 20px; border-radius: 6px; border: 2px solid #5E6390; display: grid; place-items: center; transition: background .3s, border-color .3s; }
.demo__check::after { content: ""; width: 9px; height: 5px; border: solid #0B0D1F; border-width: 0 0 2px 2px; transform: rotate(-45deg) scale(0); margin-top: -2px; transition: transform .25s; }
.demo__task { color: #DADDF3; transition: color .3s; }
.demo__state { font-size: .64rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: #7FF0B0; white-space: nowrap; }
.js .demo--tasks .demo__state { opacity: 0; transition: opacity .4s; }
.demo--tasks .demo__row.is-done .demo__state { opacity: 1; }
.demo--tasks .demo__row.is-done .demo__check { background: #7FF0B0; border-color: #7FF0B0; }
.demo--tasks .demo__row.is-done .demo__check::after { transform: rotate(-45deg) scale(1); }
.demo--tasks .demo__row.is-done .demo__task { color: #8D92BB; text-decoration: line-through; text-decoration-color: rgba(141,146,187,.6); }
@media (max-width: 1023px) { .hero--page .hero__visual { margin-top: 8px; } }
@media (max-width: 480px) { .demo--tasks .demo__row { grid-template-columns: 22px 1fr; } .demo--tasks .demo__state { display: none; } }

/* El dolor: un día normal */
.day { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: 4px; max-width: 820px; }
.day::before { content: ""; position: absolute; left: 112px; top: 14px; bottom: 14px; width: 2px; background: var(--line); }
.day__item { display: grid; grid-template-columns: 100px 1fr; gap: 28px; align-items: baseline; padding: 14px 0; position: relative; }
.day__item::before { content: ""; position: absolute; left: 107px; top: 22px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2px solid var(--brand); }
.day__time { font-weight: 700; font-size: .9rem; color: var(--brand); text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.day__item p { margin: 0; line-height: 1.5; }
.day__item--end::before { background: var(--brand); }
.day__item--end p { font-weight: 600; }
@media (max-width: 560px) {
  .day::before { left: 6px; }
  .day__item { grid-template-columns: 1fr; gap: 2px; padding-left: 30px; }
  .day__item::before { left: 1px; top: 19px; }
  .day__time { text-align: left; }
}

.costs { margin-top: clamp(48px, 7vw, 80px); background: var(--ink); color: #fff; border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 48px); }
.costs__title { font-size: clamp(1.3rem, 2.4vw, 1.7rem); font-weight: 700; line-height: 1.2; margin-bottom: 24px; max-width: 30ch; }
.costs__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.costs__list li { padding-left: 28px; position: relative; color: #CDD1EE; line-height: 1.5; }
.costs__list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 12px; height: 12px; border-radius: 3px; background: var(--brand); box-shadow: 0 0 0 3px rgba(39,55,201,.3); }
.costs__list strong { color: #fff; }
@media (min-width: 900px) { .costs__list { grid-template-columns: 1fr 1fr; gap: 20px 40px; } }

.pain__turn { margin: clamp(48px, 7vw, 72px) 0 0; font-family: var(--f-display); font-size: clamp(1.5rem, 3.2vw, 2.3rem); line-height: 1.2; font-weight: 600; letter-spacing: -.02em; max-width: 28ch; }
.pain__turn strong { color: var(--brand); font-weight: 800; }

/* Criterios */
.criteria { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.criterion { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; }
.criterion__num { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700; margin-bottom: 18px; }
.criterion__title { font-size: 1.3rem; font-weight: 700; margin-bottom: 8px; }
.criterion p { margin: 0; color: var(--ink-soft); }
@media (min-width: 900px) { .criteria { grid-template-columns: repeat(3, 1fr); gap: 20px; } }

/* Ejemplos por tipo de negocio (pestañas) */
.usecases { margin-top: clamp(40px, 6vw, 64px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); }
.usecases__title { font-weight: 700; margin-bottom: 16px; }
.tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; margin: 0 -4px; padding-left: 4px; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: none; min-height: 44px; padding: 10px 16px; border-radius: 99px; border: 1.5px solid var(--line); background: var(--mist); color: var(--ink); font: inherit; font-size: .92rem; font-weight: 600; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.tab:hover { border-color: #B7BCDA; }
.tab[aria-selected="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.tabpanel { margin-top: 24px; }
.tabpanel:focus-visible { outline-offset: 6px; }
.usecases__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.usecases__list li { padding-left: 30px; position: relative; line-height: 1.45; }
.usecases__list li::before { content: ""; position: absolute; left: 0; top: .2em; width: 18px; height: 18px; border-radius: 50%; background: var(--brand-50); box-shadow: inset 0 0 0 5px var(--brand-50), inset 0 0 0 9px var(--brand); }
.usecases__note { margin: 24px 0 0; font-size: .9rem; color: var(--ink-soft); }
@media (min-width: 760px) { .usecases__list { grid-template-columns: 1fr 1fr; gap: 14px 32px; } }

/* Calculadora */
.calc { display: grid; gap: 40px; align-items: center; }
.calc__box { background: var(--ink); color: #fff; border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); display: grid; gap: 24px; }
.calc__field { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; }
.calc__field label { font-weight: 600; color: #DADDF3; }
.calc__field output { font-weight: 700; font-variant-numeric: tabular-nums; }
.calc__field input { grid-column: 1 / -1; width: 100%; accent-color: var(--brand-on-dark); height: 32px; cursor: pointer; }
.calc__result { border-top: 1px solid var(--line-dark); padding-top: 22px; }
.calc__big { font-family: var(--f-display); font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; line-height: 1.05; margin: 0 0 8px; letter-spacing: -.02em; }
.calc__big span { color: var(--brand-on-dark); font-variant-numeric: tabular-nums; }
.calc__small { margin: 0; color: #CDD1EE; }
.calc__small strong { color: #fff; }
.calc__note { margin: 0; font-size: .82rem; color: #A9AED3; }
@media (min-width: 900px) { .calc { grid-template-columns: 1fr 1fr; gap: 64px; } }

/* Qué incluye: antes / después */
.features { display: grid; gap: 16px; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; }
.feature__title { font-size: 1.25rem; font-weight: 700; margin-bottom: 16px; }
.feature__before, .feature__after { margin: 0; display: grid; grid-template-columns: 84px 1fr; gap: 10px; line-height: 1.45; }
.feature__before { color: var(--ink-soft); padding-bottom: 12px; border-bottom: 1px dashed var(--line); margin-bottom: 12px; }
.feature__after { font-weight: 600; }
.feature__before span, .feature__after span { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; padding-top: .3em; }
.feature__before span { color: #646991; }
.feature__after span { color: var(--brand); }
.features__price { margin: 28px 0 0; font-size: .92rem; color: var(--ink-soft); }
@media (min-width: 900px) { .features { grid-template-columns: 1fr 1fr; gap: 20px; } }

/* Consolas del Caso Cero */
.consoles { display: grid; gap: 20px; }
.console { border-radius: var(--radius-lg); overflow: hidden; background: #0B0D1F; border: 1px solid var(--line-dark); display: flex; flex-direction: column; }
.console__bar { display: flex; align-items: center; gap: 6px; padding: 14px 18px; background: rgba(255,255,255,.04); border-bottom: 1px solid var(--line-dark); }
.console__bar span { width: 9px; height: 9px; border-radius: 50%; background: #3B3F66; }
.console__bar h3 { font-size: .95rem; font-weight: 700; margin: 0 0 0 10px; }
.console__body { padding: 22px 20px; display: grid; gap: 16px; flex: 1; align-content: start; }
.console__line { margin: 0; display: grid; gap: 4px; line-height: 1.5; font-size: .95rem; }
.console__line b { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; }
.console__line--in { color: #DADDF3; }
.console__line--in b { color: #9DA7FF; }
.console__line--out { color: #fff; font-weight: 600; padding: 14px; border-radius: 12px; background: rgba(39,55,201,.28); border: 1px solid rgba(157,167,255,.35); }
.console__line--out b { color: #7FF0B0; }
.console__line--before { color: #8D92BB; font-size: .88rem; margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line-dark); }
.console__line--before b { color: #8D92BB; }
.consoles__note { margin: 32px 0 0; color: #A9AED3; font-size: .92rem; }
@media (min-width: 960px) { .consoles { grid-template-columns: repeat(3, 1fr); } }

/* Proceso */
.process { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; max-width: 900px; }
.process__step { display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.process__num { font-weight: 800; font-size: 1.1rem; color: var(--brand); padding-top: 4px; }
.process__title { font-size: 1.3rem; font-weight: 700; margin-bottom: 8px; }
.process__title em { font-style: normal; font-size: .62em; vertical-align: middle; background: var(--brand-50); color: var(--brand); padding: 4px 10px; border-radius: 99px; margin-left: 6px; }
.process__step p { margin: 0; color: var(--ink-soft); }
.process__note { margin: 32px 0 0; max-width: 64ch; padding: 20px 24px; border-left: 4px solid var(--brand); background: var(--mist); border-radius: 0 var(--radius) var(--radius) 0; }

/* Otras soluciones */
.crosslinks { display: grid; gap: 16px; }
.crosslink { display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; align-items: center; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); text-decoration: none; color: var(--ink); transition: border-color .2s, transform .2s; }
.crosslink:hover { border-color: var(--brand); transform: translateY(-2px); }
.crosslink__name { font-weight: 700; font-size: 1.15rem; }
.crosslink__desc { grid-column: 1; color: var(--ink-soft); font-size: .95rem; }
.crosslink__arrow { grid-column: 2; grid-row: 1 / span 2; font-size: 1.4rem; color: var(--brand); }
@media (min-width: 760px) { .crosslinks { grid-template-columns: 1fr 1fr; gap: 20px; } }

/* ---------- Webs: demo de notificaciones ---------- */
.demo--notif { margin: 0 !important; width: min(100%, 440px); }
.demo--notif .demo__row { grid-template-columns: 36px 1fr auto; gap: 12px; align-items: center; padding: 12px; }
.demo__icon { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: rgba(157,167,255,.14); color: #CDD2FF; font-weight: 700; }
.demo__ntext { display: grid; gap: 2px; color: #B9BEE6; font-size: .82rem; }
.demo__ntext b { color: #fff; font-size: .9rem; }
.demo__ntime { font-size: .75rem; color: #9AA0C8; font-variant-numeric: tabular-nums; align-self: start; padding-top: 2px; }
.js .demo--notif .demo__row { opacity: .8; transform: translateY(4px); transition: opacity .4s, transform .4s, background .35s, border-color .35s; }
.demo--notif .demo__row.is-done, .demo--notif .demo__row.is-active { opacity: 1; transform: none; }
.demo--notif .demo__row.is-done .demo__icon { background: rgba(127,240,176,.16); color: #7FF0B0; }

/* ---------- Webs: dolor con conversación ---------- */
.pain__grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .pain__grid { grid-template-columns: 1fr 1fr; gap: 64px; } }
.chat { background: #E9EBF5; border-radius: var(--radius-lg); overflow: hidden; max-width: 460px; width: 100%; justify-self: center; border: 1px solid var(--line); }
.chat__head { display: flex; align-items: center; gap: 10px; padding: 14px 18px; background: #fff; border-bottom: 1px solid var(--line); font-weight: 700; font-size: .95rem; }
.chat__head small { font-weight: 500; color: var(--ink-soft); font-size: .78rem; margin-left: auto; }
.chat__avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--brand-50); color: var(--brand); display: grid; place-items: center; font-size: .85rem; }
.chat__body { padding: 18px; display: grid; gap: 8px; }
.msg { margin: 0; max-width: 82%; padding: 10px 14px 8px; border-radius: 16px; font-size: .92rem; line-height: 1.4; box-shadow: 0 1px 1px rgba(18,20,43,.06); }
.msg time { display: block; text-align: right; font-size: .7rem; color: #575C82; margin-top: 4px; }
.msg--in { background: #fff; justify-self: start; border-bottom-left-radius: 4px; }
.msg--out { background: #D9DEFF; justify-self: end; border-bottom-right-radius: 4px; }
.chat__gap { margin: 10px 0; text-align: center; font-size: .8rem; font-weight: 600; color: var(--ink-soft); }
.chat__gap::before, .chat__gap::after { content: "·  ·  ·"; color: #A6AACB; margin: 0 8px; letter-spacing: 1px; }
.msg:last-child { border: 2px solid #E5484D; }

/* ---------- Webs: incluido en todas ---------- */
.extras { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.extras li { padding: 8px 14px 8px 34px; border-radius: 99px; background: var(--brand-50); color: var(--ink); font-size: .9rem; font-weight: 600; position: relative; }
.extras li::before { content: ""; position: absolute; left: 14px; top: 50%; width: 10px; height: 6px; border: solid var(--brand); border-width: 0 0 2px 2px; transform: translateY(-70%) rotate(-45deg); }
.features__price { margin-top: 20px; }

/* ---------- Estrategia: demo ¿quién se ocupa? ---------- */
.demo--org { margin: 0 !important; width: min(100%, 460px); }
.demo--org .demo__row { grid-template-columns: 1fr auto; gap: 12px; align-items: center; }
.demo--org .demo__task { color: #DADDF3; font-size: .86rem; }
.owner { position: relative; display: inline-grid; justify-items: end; min-width: 92px; }
.owner > span { grid-area: 1 / 1; font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; padding: 5px 9px; border-radius: 99px; white-space: nowrap; transition: opacity .35s, transform .35s; }
.owner__from { background: rgba(229,72,77,.18); color: #FF9EA1; }
.owner__to { opacity: 0; transform: translateY(6px); }
.owner__to--sys { background: rgba(127,240,176,.16); color: #7FF0B0; }
.owner__to--team { background: rgba(157,167,255,.2); color: #CDD2FF; }
.owner__to--you { background: #fff; color: var(--ink); }
.demo--org .demo__row.is-done .owner__from { opacity: 0; transform: translateY(-6px); }
.demo--org .demo__row.is-done .owner__to { opacity: 1; transform: none; }
html:not(.js) .owner__from { display: none; }
html:not(.js) .owner__to { opacity: 1; transform: none; }

/* ---------- Estrategia: bandeja de preguntas ---------- */
.inbox { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; max-width: 460px; width: 100%; justify-self: center; box-shadow: 0 20px 50px rgba(18,20,43,.08); }
.inbox__head { padding: 16px 20px; font-weight: 700; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 10px; }
.inbox__head span { background: #E5484D; color: #fff; font-size: .78rem; min-width: 24px; height: 24px; border-radius: 99px; display: grid; place-items: center; padding: 0 6px; }
.inbox__list { list-style: none; margin: 0; padding: 8px; }
.inbox__list li { display: grid; gap: 2px; padding: 12px 14px; border-radius: 12px; font-size: .95rem; line-height: 1.4; }
.inbox__list li:nth-child(odd) { background: var(--mist); }
.inbox__list b { font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: var(--brand); }

/* ---------- Estrategia: prueba de la semana ---------- */
.week { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 32px); display: grid; gap: 14px; }
.week__q { border: 0; margin: 0; padding: 0 0 14px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; }
.week__q legend { float: left; font-weight: 600; line-height: 1.4; padding: 0; }
.week__opts { display: flex; gap: 6px; }
.week__opts label { cursor: pointer; }
.week__opts input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.week__opts span { display: grid; place-items: center; min-width: 56px; min-height: 44px; padding: 0 12px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--mist); font-weight: 600; font-size: .92rem; transition: background .2s, color .2s, border-color .2s; }
.week__opts input:checked + span { background: var(--brand); border-color: var(--brand); color: #fff; }
.week__opts input[value="0"]:checked + span { background: var(--ink); border-color: var(--ink); }
.week__opts input:focus-visible + span { outline: 3px solid var(--brand); outline-offset: 2px; }
.week__result { padding-top: 6px; }
.week__score { margin: 0 0 4px; font-family: var(--f-display); font-weight: 800; font-size: 2rem; color: var(--brand); }
.week__verdict { margin: 0 0 16px; font-weight: 600; }
@media (max-width: 520px) { .week__q { grid-template-columns: 1fr; } }

/* ---------- Estrategia: método detallado ---------- */
.method { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.method__step { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: grid; }
.method__head { display: flex; align-items: center; gap: 16px; padding: 24px 28px; background: var(--mist); }
.method__num { font-weight: 800; color: var(--brand); font-size: 1.1rem; }
.method__head h3 { font-size: 1.4rem; font-weight: 700; }
.method__body { padding: 24px 28px; display: grid; gap: 14px; }
.method__body p { margin: 0; line-height: 1.55; }
.method__what { color: var(--ink-soft); }
.method__get, .method__real { display: grid; gap: 4px; padding: 14px 16px; border-radius: 12px; }
.method__get { background: var(--brand-50); }
.method__real { border: 1.5px dashed #B7BCDA; }
.method__get b, .method__real b { font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: var(--brand); }
@media (min-width: 900px) {
  .method__step { grid-template-columns: 280px 1fr; }
  .method__head { flex-direction: column; align-items: flex-start; justify-content: center; gap: 8px; padding: 32px; }
  .method__body { padding: 32px; }
}

/* ---------- Estrategia: trayectoria ---------- */
.creds { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.cred { border: 1px solid var(--line-dark); border-radius: var(--radius-lg); padding: 28px; display: grid; gap: 8px; align-content: start; background: rgba(255,255,255,.03); }
.cred__big { font-family: var(--f-display); font-weight: 800; font-size: clamp(2.2rem, 4vw, 3rem); line-height: 1; color: #fff; letter-spacing: -.02em; }
.cred__text { color: #CDD1EE; line-height: 1.5; }
.creds__note { margin: 32px 0 0; color: #A9AED3; max-width: 62ch; }
@media (min-width: 900px) { .creds { grid-template-columns: repeat(3, 1fr); gap: 20px; } }

/* ---------- Sobre mí ---------- */
.chips { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font-size: .85rem; font-weight: 600; color: #DADDF3; padding: 7px 14px; border-radius: 99px; border: 1px solid var(--line-dark); background: rgba(255,255,255,.04); }
.portrait { position: relative; margin: 0 22px 22px 0; width: min(calc(100% - 22px), 440px); justify-self: center; }
.portrait::before { content: ""; position: absolute; inset: 22px -22px -22px 22px; border-radius: var(--radius-lg); background: var(--brand); }
.portrait img { position: relative; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; border-radius: var(--radius-lg); background: #000; }
.portrait figcaption { position: absolute; left: 16px; bottom: 16px; right: 16px; display: grid; gap: 2px; padding: 14px 16px; border-radius: 14px; background: rgba(11,13,31,.82); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: #B9BEE6; font-size: .85rem; border: 1px solid var(--line-dark); }
.portrait figcaption b { color: #fff; font-size: 1rem; }

.story { list-style: none; margin: 0; padding: 0; max-width: 860px; position: relative; }
.story::before { content: ""; position: absolute; left: 7px; top: 10px; bottom: 10px; width: 2px; background: var(--line); }
.story__item { position: relative; padding: 0 0 clamp(36px, 5vw, 52px) 44px; }
.story__item:last-child { padding-bottom: 0; }
.story__item::before { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--brand); }
.story__item--now::before { background: var(--brand); box-shadow: 0 0 0 6px var(--brand-50); }
.story__tag { display: inline-block; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--brand); margin-bottom: 8px; }
.story__title { font-size: clamp(1.25rem, 2.4vw, 1.6rem); font-weight: 700; line-height: 1.2; margin-bottom: 12px; }
.story__item p { color: var(--ink-soft); max-width: 64ch; }
.story__item p:last-child { margin-bottom: 0; }
.creds__note a { color: #fff; }

.principles { display: grid; gap: 16px; }
.principle { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; }
.principle__icon { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--brand-50); color: var(--brand); font-weight: 800; font-size: .9rem; margin-bottom: 18px; }
.principle__title { font-size: 1.25rem; font-weight: 700; margin-bottom: 8px; }
.principle p { margin: 0; color: var(--ink-soft); }
@media (min-width: 900px) { .principles { grid-template-columns: 1fr 1fr; gap: 20px; } }
@media (min-width: 900px) { .crosslinks--3 { grid-template-columns: repeat(3, 1fr); } }
.motto { margin: clamp(48px, 7vw, 80px) 0 0; max-width: 860px; padding: clamp(28px, 4vw, 44px); border-radius: var(--radius-lg); background: var(--ink); color: #fff; }
.motto blockquote { margin: 0; }
.motto blockquote p { margin: 0; font-family: var(--f-display); font-weight: 700; font-size: clamp(1.4rem, 3vw, 2.1rem); line-height: 1.2; letter-spacing: -.02em; }
.motto figcaption { margin-top: 14px; color: #B9BEE6; font-size: .92rem; }

/* ---------- Contacto ---------- */
.hero--contact { padding-bottom: clamp(56px, 7vw, 88px); }
.contact-hero { display: grid; gap: 28px; align-items: end; }
.contact-hero__who { display: flex; gap: 16px; align-items: center; padding: 18px 20px; border: 1px solid var(--line-dark); border-radius: var(--radius-lg); background: rgba(255,255,255,.04); max-width: 440px; }
.contact-hero__who img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; border: 2px solid var(--brand); flex: none; }
.contact-hero__who p { margin: 0; color: #CDD1EE; font-size: .95rem; line-height: 1.45; }
.contact-hero__who strong { color: #fff; display: block; }
@media (min-width: 1024px) { .contact-hero { grid-template-columns: 1.3fr 1fr; gap: 64px; } }

.channels { display: grid; gap: 14px; margin-top: clamp(36px, 5vw, 56px); }
.channel { position: relative; display: grid; gap: 6px; padding: 24px 56px 24px 24px; border-radius: var(--radius-lg); border: 1px solid var(--line-dark); background: rgba(255,255,255,.04); color: #fff; text-decoration: none; transition: background .2s, border-color .2s, transform .2s; }
.channel:hover { background: rgba(255,255,255,.08); border-color: rgba(157,167,255,.5); transform: translateY(-2px); }
.channel--main { background: var(--brand); border-color: var(--brand); }
.channel--main:hover { background: var(--brand-700); }
.channel__tag { justify-self: start; font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; background: rgba(255,255,255,.18); padding: 4px 9px; border-radius: 6px; margin-bottom: 4px; }
.channel__name { font-weight: 700; font-size: 1.15rem; }
.channel__desc { color: #CDD1EE; font-size: .92rem; line-height: 1.45; }
.channel--main .channel__desc { color: #E3E6FF; }
.channel__go { position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 1.3rem; }
@media (min-width: 900px) { .channels { grid-template-columns: 1.2fr 1fr 1fr; } }

.call-steps { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; }
.call-steps li { display: grid; grid-template-columns: 84px 1fr; gap: 14px; line-height: 1.5; color: var(--ink-soft); padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.call-steps span { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--brand); padding-top: .35em; }

.wa-direct { margin-top: 20px; color: var(--ink-soft); }
.wa-direct a { font-weight: 700; white-space: nowrap; }
.wa-builder { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 32px); display: grid; gap: 22px; }
.wa-builder__group { border: 0; margin: 0; padding: 0; }
.wa-builder__group legend { font-weight: 700; margin-bottom: 12px; padding: 0; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills label { cursor: pointer; }
.pills input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pills span { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border-radius: 99px; border: 1.5px solid var(--line); background: var(--mist); font-weight: 600; font-size: .92rem; transition: background .2s, color .2s, border-color .2s; }
.pills label:hover span { border-color: #B7BCDA; }
.pills input:checked + span { background: var(--brand); border-color: var(--brand); color: #fff; }
.pills input:focus-visible + span { outline: 3px solid var(--brand); outline-offset: 2px; }
.wa-builder__preview { background: #E7F7EE; border-radius: 14px; padding: 16px 18px; border: 1px solid #C6EBD5; }
.wa-builder__label { margin: 0 0 6px; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: #146C3A; }
.wa-builder__msg { margin: 0; line-height: 1.5; }
.btn--wa-solid { background: var(--wa); color: #fff; justify-self: start; }
.btn--wa-solid:hover { background: #08592D; }

/* ---------- Agenda de llamadas (booking) ---------- */
.booking { display: grid; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: 0 24px 60px rgba(18,20,43,.08); overflow: hidden; scroll-margin-top: 90px; }
.booking__host { padding: 28px; border-bottom: 1px solid var(--line); background: var(--mist); }
.booking__host img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 2px solid var(--brand); }
.booking__who { margin: 14px 0 2px; font-size: .9rem; color: var(--ink-soft); font-weight: 600; }
.booking__title { margin: 0 0 16px; font-family: var(--f-display); font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; }
.booking__meta { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 10px; font-size: .92rem; font-weight: 600; }
.booking__meta span { display: inline-grid; place-items: center; width: 24px; color: var(--brand); }
.booking__about { margin: 0; font-size: .92rem; color: var(--ink-soft); }
.booking__main { padding: 24px; min-height: 420px; position: relative; }
.booking__status { margin: 0; padding: 40px 0; text-align: center; color: var(--ink-soft); }
.booking__status a { font-weight: 700; }
.booking:not(.is-ready) .booking__pick { display: none; }
.booking__first { width: 100%; display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; padding: 12px 16px; margin-bottom: 20px; border-radius: 12px; border: 1.5px dashed #B7BCDA; background: var(--brand-50); color: var(--ink); font: inherit; font-size: .92rem; cursor: pointer; transition: border-color .2s, background .2s; }
.booking__first:hover { border-color: var(--brand); background: #DDE1FA; }
.booking__first strong { color: var(--brand); }
.booking__cols { display: grid; gap: 28px; }

.bcal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.bcal__month { margin: 0; font-weight: 700; }
.bcal__nav { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; font-size: 1.4rem; line-height: 1; cursor: pointer; color: var(--ink); }
.bcal__nav:hover:not(:disabled) { border-color: var(--brand); color: var(--brand); }
.bcal__nav:disabled { opacity: .3; cursor: default; }
.bcal__week, .bcal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.bcal__week { font-size: .72rem; font-weight: 700; color: var(--ink-soft); margin-bottom: 6px; }
.bcal__day { aspect-ratio: 1; min-height: 40px; border-radius: 50%; border: 0; background: transparent; font: inherit; font-size: .95rem; color: #A3A7C2; cursor: default; position: relative; }
.bcal__day.is-available { background: var(--brand-50); color: var(--brand); font-weight: 700; cursor: pointer; transition: background .15s, color .15s; }
.bcal__day.is-available:hover { background: #D3D8FA; }
.bcal__day.is-selected { background: var(--brand) !important; color: #fff !important; }
.bcal__day.is-today::after { content: ""; position: absolute; left: 50%; bottom: 5px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: currentColor; }

.booking__day { margin: 0 0 12px; font-weight: 700; }
.booking__slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.bslot { display: grid; gap: 2px; justify-items: center; padding: 12px 8px; min-height: 48px; border-radius: 10px; border: 1.5px solid var(--brand); background: #fff; color: var(--brand); font: inherit; font-weight: 700; cursor: pointer; transition: background .15s, color .15s; }
.bslot small { font-size: .7rem; font-weight: 500; color: var(--ink-soft); }
.bslot:hover { background: var(--brand); color: #fff; }
.bslot:hover small { color: #DCE0FF; }
.booking__tz { margin: 14px 0 0; font-size: .82rem; color: var(--ink-soft); }

.booking__form { display: grid; gap: 16px; }
.booking__back { justify-self: start; border: 0; background: none; color: var(--brand); font: inherit; font-weight: 600; cursor: pointer; padding: 6px 0; min-height: 44px; }
.booking__chosen { margin: 0; padding: 14px 16px; border-radius: 12px; background: var(--brand-50); display: grid; gap: 2px; }
.booking__chosen span { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--brand); }
.bfield { display: grid; gap: 6px; border: 0; margin: 0; padding: 0; min-width: 0; }
.bfield label, .bfield legend { font-weight: 600; font-size: .92rem; padding: 0; }
.bfield legend { margin-bottom: 8px; }
.bfield__opt { font-weight: 400; color: var(--ink-soft); }
.bfield input, .bfield select, .bfield textarea { width: 100%; font: inherit; font-size: 1rem; padding: 12px 14px; min-height: 48px; border-radius: 10px; border: 1.5px solid #CDD0E3; background: #fff; color: var(--ink); }
.bfield textarea { resize: vertical; }
.bfield input:focus, .bfield select:focus, .bfield textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(39,55,201,.18); }
.bfield small { font-size: .8rem; color: var(--ink-soft); }
.bfield--trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.booking__error { margin: 0; padding: 12px 14px; border-radius: 10px; background: #FDECEC; color: #9B1C1F; font-weight: 600; font-size: .92rem; }
.booking__submit { justify-self: start; }
.booking__submit.is-loading { opacity: .7; pointer-events: none; }
.booking__submit.is-loading::after { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255,255,255,.5); border-top-color: #fff; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.booking__privacy { margin: 0; font-size: .8rem; color: var(--ink-soft); }

.booking__done { text-align: center; padding: 24px 8px; display: grid; justify-items: center; gap: 4px; }
.booking__check { width: 64px; height: 64px; border-radius: 50%; background: #E7F7EE; color: #0B6B37; font-size: 1.8rem; font-weight: 800; display: grid; place-items: center; margin-bottom: 12px; }
.booking__done-title { font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 800; letter-spacing: -.02em; margin-bottom: 8px; outline: none; }
.booking__done p { max-width: 52ch; color: var(--ink-soft); }
.booking__done p strong { color: var(--ink); }
.booking__done-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 12px; }
.btn--outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn--outline:hover { border-color: var(--brand); color: var(--brand); }

.call-steps--row { margin-top: 32px; }
@media (min-width: 900px) {
  .booking { grid-template-columns: 280px 1fr; }
  .booking__host { border-bottom: 0; border-right: 1px solid var(--line); padding: 32px 28px; }
  .booking__main { padding: 32px; }
  .booking__cols { grid-template-columns: 1.15fr 1fr; gap: 36px; }
  .booking__form { grid-template-columns: 1fr 1fr; column-gap: 16px; }
  .booking__form > .booking__back, .booking__form > .booking__chosen, .booking__form > .bfield--full,
  .booking__form > .booking__error, .booking__form > .booking__submit, .booking__form > .booking__privacy { grid-column: 1 / -1; }
  .call-steps--row { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .call-steps--row li { grid-template-columns: 1fr; gap: 6px; border-bottom: 0; border-top: 1px solid var(--line); padding: 16px 0 0; }
}
@media (min-width: 900px) and (max-width: 1100px) { .booking__cols { grid-template-columns: 1fr; } }
@media (max-width: 899px) {
  .booking__host { display: grid; grid-template-columns: 56px 1fr; column-gap: 14px; align-items: center; padding: 20px; }
  .booking__host img { width: 56px; height: 56px; grid-row: span 2; }
  .booking__who { margin: 0; }
  .booking__title { margin: 0; font-size: 1.25rem; }
  .booking__meta { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 14px 0 0; font-size: .85rem; }
  .booking__about { display: none; }
  .booking__main { padding: 20px; }
}

/* ---------- Aviso legal ---------- */
.hero--legal { padding-bottom: 56px; }
.hero--legal .hero__title { font-size: clamp(2rem, 4.4vw, 3.2rem); }
.legal-wrap { padding-top: clamp(40px, 5vw, 64px); }
.legal-lang { max-width: 820px; }
.legal { margin-top: 28px; }
.legal__note { font-size: .88rem; color: var(--ink-soft); background: var(--mist); border-radius: 10px; padding: 10px 14px; }
.legal__toc { display: flex; flex-wrap: wrap; gap: 6px 18px; padding: 16px 0 8px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.legal__toc a { font-size: .9rem; font-weight: 600; text-decoration: none; padding: 6px 0; }
.legal__toc a:hover { text-decoration: underline; }
.legal h2 { font-size: clamp(1.25rem, 2.4vw, 1.5rem); font-weight: 700; margin: 40px 0 14px; }
.legal p { color: var(--ink-soft); max-width: 70ch; }
.legal p strong { color: var(--ink); }
.legal ul { list-style: disc; padding-left: 1.25em; margin: 0 0 1em; max-width: 70ch; color: var(--ink-soft); }
.legal li { margin-bottom: .5em; }
.legal li strong { color: var(--ink); }
.legal__data { margin: 0; display: grid; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.legal__data div { display: grid; gap: 2px 20px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.legal__data div:last-child { border-bottom: 0; }
.legal__data div:nth-child(odd) { background: var(--mist); }
.legal__data dt { font-size: .8rem; font-weight: 700; color: var(--ink-soft); }
.legal__data dd { margin: 0; }
@media (min-width: 640px) { .legal__data div { grid-template-columns: 210px 1fr; } }
.pending-inline { font-size: .88rem; color: #6B5300; background: #FFF4CC; border: 1px dashed #E0A100; border-radius: 6px; padding: 1px 6px; }
.legal__updated { margin-top: 40px; font-size: .85rem; }

/* =========================================================
   Test de DependencIA
   ========================================================= */
.tpage { background: var(--mist); padding: clamp(32px, 5vw, 64px) 0 clamp(64px, 8vw, 104px); min-height: 70vh; }
.test { max-width: 980px; margin: 0 auto; }
.tscreen { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 5vw, 56px); box-shadow: 0 24px 60px rgba(18,20,43,.07); }
.crumbs--light { color: var(--ink-soft); }
.crumbs--light a { color: var(--ink-soft); }
.crumbs--light [aria-current] { color: var(--ink); }

.tintro { max-width: 760px; margin: 0 auto; }
.tintro__title { font-size: clamp(2.1rem, 5vw, 3.4rem); line-height: 1.06; font-weight: 800; margin-bottom: 18px; }
.tintro__lead { font-size: 1.1em; color: var(--ink-soft); max-width: 58ch; }
.tintro__steps { list-style: none; margin: 28px 0 32px; padding: 0; display: grid; gap: 12px; }
.tintro__steps li { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: baseline; line-height: 1.45; }
.tintro__steps span { font-weight: 800; color: var(--brand); }
.tintro__fine { margin: 18px 0 0; font-size: .85rem; color: var(--ink-soft); }

.tprogress { height: 6px; border-radius: 99px; background: var(--brand-50); overflow: hidden; margin-bottom: 22px; }
.tprogress span { display: block; height: 100%; width: 0; background: var(--brand); border-radius: inherit; transition: width .35s ease; }
.tq__meta { display: flex; justify-content: space-between; gap: 12px; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-soft); margin-bottom: 14px; }
.tq__area { color: var(--brand); }
.tq__question { font-size: clamp(1.4rem, 3.2vw, 2rem); line-height: 1.2; font-weight: 700; margin-bottom: 24px; outline: none; max-width: 30ch; }
.tq__opts { display: grid; gap: 10px; }
.topt { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; padding: 14px 16px; min-height: 56px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; font: inherit; font-weight: 600; color: var(--ink); cursor: pointer; transition: border-color .15s, background .15s, transform .15s; }
.topt:hover { border-color: var(--brand); background: var(--brand-50); }
.topt kbd { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; border: 1.5px solid #CDD0E3; font: inherit; font-size: .8rem; color: var(--ink-soft); background: var(--mist); }
.topt.is-selected { border-color: var(--brand); background: var(--brand); color: #fff; }
.topt.is-selected kbd { background: #fff; color: var(--brand); border-color: #fff; }
.tq__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.tq__hint { font-size: .8rem; color: var(--ink-soft); }
@media (hover: none) { .tq__hint, .topt kbd { display: none; } }
.tlink { border: 0; background: none; padding: 10px 0; min-height: 44px; font: inherit; font-weight: 600; color: var(--brand); cursor: pointer; }
.tlink:hover { text-decoration: underline; }

.ttasks__lead { color: var(--ink-soft); margin-top: -8px; }
.ttasks__grid { display: grid; gap: 20px; margin-top: 20px; align-items: start; }
.ttasks__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ttask { border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; display: grid; gap: 10px; transition: border-color .15s, background .15s; }
.ttask.is-on { border-color: var(--brand); background: var(--brand-50); }
.ttask__pick { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; cursor: pointer; font-weight: 600; line-height: 1.35; }
.ttask__pick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ttask__box { width: 22px; height: 22px; border-radius: 6px; border: 2px solid #B7BCDA; background: #fff; display: grid; place-items: center; margin-top: 1px; }
.ttask__box::after { content: ""; width: 10px; height: 6px; border: solid #fff; border-width: 0 0 2.5px 2.5px; transform: rotate(-45deg) scale(0); margin-top: -2px; transition: transform .15s; }
.ttask__pick input:checked + .ttask__box { background: var(--brand); border-color: var(--brand); }
.ttask__pick input:checked + .ttask__box::after { transform: rotate(-45deg) scale(1); }
.ttask__pick input:focus-visible + .ttask__box { outline: 3px solid var(--brand); outline-offset: 2px; }
.ttask__adj { display: flex; flex-wrap: wrap; gap: 8px; padding-left: 36px; }
.tstep { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 99px; background: #fff; }
.tstep button { width: 36px; height: 36px; border: 0; background: none; font-size: 1.1rem; font-weight: 700; color: var(--brand); cursor: pointer; border-radius: 50%; }
.tstep button:hover { background: var(--brand-50); }
.tstep output { min-width: 96px; text-align: center; font-size: .85rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.ttotal { background: var(--ink); color: #fff; border-radius: var(--radius-lg); padding: 24px; display: grid; gap: 10px; }
.ttotal__label { margin: 0; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: #B9BEE6; }
.ttotal__big { margin: 0; font-family: var(--f-display); font-size: 2.2rem; font-weight: 800; line-height: 1.05; }
.ttotal__big span { color: var(--brand-on-dark); }
.ttotal__rows { margin: 4px 0; display: grid; gap: 6px; }
.ttotal__rows div { display: flex; justify-content: space-between; gap: 10px; font-size: .9rem; color: #CDD1EE; border-top: 1px solid var(--line-dark); padding-top: 6px; }
.ttotal__rows dd { margin: 0; font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; }
.ttotal__sel { margin: 0 0 6px; font-size: .82rem; color: #A9AED3; }
@media (min-width: 900px) { .ttasks__grid { grid-template-columns: 1fr 300px; } .ttotal { position: sticky; top: 96px; } }
@media (max-width: 899px) { .ttotal { position: sticky; bottom: 10px; z-index: 5; grid-template-columns: 1fr auto; align-items: center; gap: 4px 12px; padding: 14px 16px; } .ttotal__label { grid-column: 1 / -1; } .ttotal__big { font-size: 1.5rem; } .ttotal .btn { min-height: 44px; padding: 8px 14px; font-size: .9rem; } .ttotal__rows, .ttotal__sel { display: none; } }

.tres__hero { display: grid; gap: 24px; align-items: center; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.gauge { position: relative; width: 168px; height: 168px; margin: 0 auto; }
.gauge svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.gauge circle { fill: none; stroke-width: 12; }
.gauge__bg { stroke: var(--brand-50); }
.gauge__fg { --p: 0; stroke: var(--brand); stroke-linecap: round; stroke-dasharray: calc(var(--p) * 1) 100; transition: stroke-dasharray 1s ease; }
.test[data-level="bajo"] .gauge__fg { stroke: #1F9D55; }
.test[data-level="alto"] .gauge__fg { stroke: #D64545; }
.gauge__num { position: absolute; inset: 0; margin: 0; display: grid; place-content: center; text-align: center; font-family: var(--f-display); font-weight: 800; font-size: 2.6rem; line-height: 1; }
.gauge__num small { font-size: .9rem; font-weight: 600; color: var(--ink-soft); margin-top: 4px; }
.tres__title { font-size: clamp(1.6rem, 3.6vw, 2.4rem); font-weight: 800; line-height: 1.1; margin-bottom: 12px; }
.tres__text { color: var(--ink-soft); max-width: 58ch; margin-bottom: 8px; }
.tres__profile { font-size: .85rem; font-weight: 600; color: var(--brand); margin: 0; }
@media (min-width: 760px) { .tres__hero { grid-template-columns: 180px 1fr; gap: 40px; } .gauge { margin: 0; } }

.tres__grid { display: grid; gap: 16px; margin-top: 28px; }
.tcard { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; }
.tcard__title { font-size: 1.1rem; font-weight: 700; margin-bottom: 16px; }
.tcard__note { margin: 14px 0 0; font-size: .78rem; color: var(--ink-soft); }
.rbars { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.rbar__head { display: flex; justify-content: space-between; font-size: .92rem; font-weight: 600; margin-bottom: 6px; }
.rbar__track { height: 10px; border-radius: 99px; background: var(--mist); overflow: hidden; }
.rbar__track span { display: block; height: 100%; border-radius: inherit; background: #9AA2DE; }
.rbar.is-top .rbar__track span { background: var(--brand); }
.rbar.is-top .rbar__head b { color: var(--brand); }
.tcard--accent { background: var(--brand); border-color: var(--brand); color: #fff; }
.tcard__kicker { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: #CDD2FF; margin: 0 0 8px; }
.tcard__meaning { margin: 0 0 20px; color: #E3E6FF; }
.tcard__step { margin: 0 0 18px; font-weight: 600; font-size: 1.05em; line-height: 1.5; }
.link-arrow--light { color: #fff; text-decoration: underline; text-underline-offset: .2em; }
.tcard--hours { background: var(--mist); }
.tcard__big { font-family: var(--f-display); font-weight: 800; font-size: 2rem; margin: 0 0 6px; color: var(--brand); }
.tcard--hours p { margin: 0 0 8px; }
.tcard__tasks { font-size: .82rem; color: var(--ink-soft); }
@media (min-width: 900px) { .tres__grid { grid-template-columns: 1fr 1fr; } .tcard--hours { grid-column: 1 / -1; } }

.tres__cta { margin-top: 28px; padding: clamp(24px, 4vw, 40px); border-radius: var(--radius-lg); background: var(--ink); color: #fff; text-align: center; }
.tres__cta-title { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 800; margin-bottom: 10px; }
.tres__cta p { color: #CDD1EE; max-width: 52ch; margin: 0 auto 22px; }
.tres__actions { display: flex; flex-direction: column; gap: 10px; align-items: stretch; }
@media (min-width: 640px) { .tres__actions { flex-direction: row; justify-content: center; } }
.tres__minor { display: flex; justify-content: center; gap: 24px; margin-top: 12px; }
.tres__minor .tlink { color: #CDD2FF; }
.tres__fine { margin: 20px 0 0; font-size: .8rem; color: var(--ink-soft); }
@media (prefers-reduced-motion: reduce) { .gauge__fg, .tprogress span { transition: none; } }
.footer__idea { margin: 8px 0 0; max-width: 32ch; font-size: .88rem; color: #8D92BB; }
.personal { margin-top: clamp(48px, 7vw, 80px); max-width: 860px; padding: clamp(28px, 4vw, 44px); border-radius: var(--radius-lg); background: var(--brand-50); border: 1px solid #CDD2F6; }
.personal__text { font-family: var(--f-display); font-size: clamp(1.25rem, 2.6vw, 1.7rem); font-weight: 600; line-height: 1.35; letter-spacing: -.01em; margin: 0 0 24px; color: var(--ink); }
.personal__quote { margin: 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--brand); }
.personal__quote p { margin: 0 0 6px; font-style: italic; color: var(--ink); }
.personal__quote footer { font-size: .88rem; color: var(--ink-soft); }
.personal + .motto { margin-top: 20px; }

/* ---------- Casos ---------- */
.evidence-key { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .85rem; color: #B9BEE6; }
.evidence-key li { display: flex; align-items: center; gap: 8px; }
.ev { display: inline-block; font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; padding: 4px 8px; border-radius: 6px; white-space: nowrap; }
.ev--impl { background: #E3F5EA; color: #0B6B37; }
.ev--test { background: #FFF1D6; color: #8A5A00; }
.ev--pend { background: #FFF4CC; color: #6B5300; }
.ev--obs { background: var(--brand-50); color: var(--brand); }
.ev--med { background: var(--ink); color: #fff; }
.evidence-key .ev--med { background: #fff; color: var(--ink); }
.xcase__head { margin-bottom: 24px; }
.chips--light { margin-top: 16px; }
.chips--light li { color: var(--ink); background: #fff; border-color: var(--line); }
.xcase__role { max-width: 820px; padding: 18px 22px; border-left: 4px solid var(--brand); background: var(--brand-50); border-radius: 0 var(--radius) var(--radius) 0; margin-bottom: 28px; }
.xcase__role p { margin: 0 0 8px; color: var(--ink); }
.xcase__role p:last-child { margin-bottom: 0; }
.xcase__shot { margin: 0 0 32px; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #fff; }
.xcase__shot .browser { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; }
.xcase__shot img { width: 100%; height: auto; }
.xcase__grid { display: grid; gap: 16px; margin-bottom: 16px; }
@media (min-width: 900px) { .xcase__grid { grid-template-columns: 1fr 1fr; } }
.xblock { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; }
.xblock--wide { margin-bottom: 16px; }
.xblock h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 12px; }
.xblock p { color: var(--ink-soft); }
.xblock p:last-child { margin-bottom: 0; }
.xnote { font-size: .85rem; margin-top: -4px; }
.xsteps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.xsteps li { display: grid; gap: 2px; color: var(--ink-soft); line-height: 1.5; }
.xsteps b { color: var(--brand); font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; }
@media (min-width: 900px) { .xsteps { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.xsystems { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.xsystems li { display: grid; grid-template-columns: 124px 1fr; gap: 12px; align-items: baseline; line-height: 1.45; padding-bottom: 10px; border-bottom: 1px dashed var(--line); }
.xsystems li:last-child { border-bottom: 0; padding-bottom: 0; }
.xsystems .ev { justify-self: start; }
@media (max-width: 560px) { .xsystems li { grid-template-columns: 1fr; gap: 6px; } }
.xgallery { display: grid; gap: 16px; margin-bottom: 16px; }
.xgallery figure { margin: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #fff; }
.xgallery img { width: 100%; height: auto; }
.xgallery figcaption { padding: 12px 16px; font-size: .85rem; color: var(--ink-soft); border-top: 1px solid var(--line); }
.xgallery__pending { display: grid; place-items: center; min-height: 200px; padding: 20px; }
@media (min-width: 900px) { .xgallery { grid-template-columns: 1fr 1fr; } .xgallery figure:only-child { grid-column: 1 / -1; max-width: 760px; } }
.xresults { display: grid; gap: 16px; }
.xresults__k { margin-bottom: 8px !important; }
@media (min-width: 900px) { .xresults { grid-template-columns: 1fr 1fr; gap: 28px; } }
.xquote { margin: 0 0 20px; max-width: 760px; }
.xcase .link-arrow { margin-top: 8px; }
.xlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.xlist li { position: relative; padding-left: 20px; color: var(--ink-soft); line-height: 1.5; }
.xlist li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }
.xlist strong { color: var(--ink); }
@media (min-width: 900px) { .xresults--one { grid-template-columns: 1fr; max-width: 760px; } }
.xquote p { font-family: var(--f-display); font-size: 1.3rem; font-weight: 600; line-height: 1.35; margin: 0 0 8px; }
.xquote footer { color: var(--ink-soft); font-size: .9rem; }
