/* ClasiFile — página de producto (portada de TosyLabs)
   Una familia (Manrope), cinco tamaños, un fondo, una tinta y un acento.
   Las piezas de la app (data-ui) usan los colores reales de ClasiFile. */

:root {
  --ground: #0b0e13;
  --tone: #131925;          /* un paso de tono sobre el fondo */
  --tone-2: #1a2231;
  --ink: #f2f4f7;
  --soft: #a7b0be;          /* solo notas secundarias */
  --accent: #2563eb;        /* el azul del icono, con contraste para texto blanco */
  --accent-ink: #ffffff;
  --field: #1e63d6;         /* campo de color del cierre */

  --font: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --t-display: clamp(50px, 8.4vw, 132px);
  --t-h2: clamp(34px, 4.3vw, 62px);
  --t-statement: clamp(22px, 2.25vw, 34px);
  --t-body: 18px;
  --t-small: 14px;

  --margin: clamp(20px, 3.4vw, 48px);
  --gap-section: clamp(120px, 14vw, 200px);
  --radius: 6px;
  --ease: cubic-bezier(.2, .7, .2, 1);

  /* Colores reales de la app (visor de ClasiFile) */
  --ui-bg: #0f1115;
  --ui-surface: #181b21;
  --ui-elevated: #23272e;
  --ui-text: #e8eaed;
  --ui-text-2: #b6bcc6;
  --ui-issuer: #8b5cf6; /* taste-skill-ignore: color real de la zona «Emisor» en el visor de ClasiFile */
  --ui-number: #f59e0b;
  --ui-type: #22c55e;
  --ui-warning: #f59e0b;
  --ui-success: #22c55e;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body.cf {
  margin: 0; background: var(--ground); color: var(--ink);
  font-family: var(--font); font-size: var(--t-body); line-height: 1.55;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.skip { position: absolute; left: var(--margin); top: -60px; z-index: 10; background: var(--ink); color: var(--ground); padding: 10px 14px; }
.skip:focus { top: 10px; }
.cf-visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.cf-wrap { padding-inline: var(--margin); }
.cf-h2 { font-size: var(--t-h2); line-height: 1.02; letter-spacing: -0.04em; font-weight: 700; margin: 0; max-width: 18ch; }
.cf-body { font-size: var(--t-body); line-height: 1.55; margin: 0; max-width: 60ch; }
.cf-small { font-size: var(--t-small); color: var(--soft); }
.cf-statement { font-size: var(--t-statement); line-height: 1.25; letter-spacing: -0.02em; font-weight: 500; margin: 0; }

/* Botones: rectos, un solo relleno */
.cf-button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px;
  background: var(--accent); color: var(--accent-ink); border-radius: var(--radius);
  font-size: var(--t-body); font-weight: 700; text-decoration: none; white-space: nowrap;
  transition: transform .2s var(--ease), background-color .2s;
}
.cf-button:hover { background: #1d4fd0; transform: translateY(-2px); }
.cf-button:active { transform: translateY(0) scale(.98); }
.cf-button--small { min-height: 44px; padding: 0 18px; font-size: var(--t-small); }
.cf-link { font-weight: 700; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; transition: color .2s; }
.cf-link:hover { color: var(--accent); }

/* Barra */
.cf-bar { display: flex; align-items: center; gap: 32px; padding: 20px var(--margin); }
.cf-brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: var(--t-body); letter-spacing: -0.02em; text-decoration: none; }
.cf-brand img { width: 28px; height: 28px; border-radius: 7px; }
.cf-nav { display: flex; gap: 26px; margin-left: auto; font-size: var(--t-small); font-weight: 600; }
.cf-nav a { text-decoration: none; color: var(--ink); opacity: .78; transition: opacity .2s; }
.cf-nav a:hover { opacity: 1; }

/* ---------------- Portada ---------------- */
.cf-hero { display: flex; flex-direction: column; justify-content: center; padding: clamp(72px, 15vh, 160px) var(--margin) 40px; }
.cf-hero__title { font-size: var(--t-display); line-height: 1.0; letter-spacing: -0.05em; font-weight: 750; margin: 0; }
.cf-line { display: block; overflow: hidden; padding-bottom: .06em; }
.cf-line > span { display: inline-block; }
.cf-hero__foot { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: end; margin-top: 44px; }
.cf-lead { font-size: var(--t-statement); line-height: 1.3; letter-spacing: -0.015em; font-weight: 500; margin: 0; max-width: 44ch; }
.cf-actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }

/* ---------------- Pruébalo ---------------- */
.cf-try { padding-top: var(--gap-section); }
.cf-try__intro { margin-top: 20px; }
.cf-try__pick { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.cf-chip {
  min-height: 46px; padding: 0 18px; border: 0; border-radius: var(--radius); background: var(--tone-2);
  font-size: var(--t-body); font-weight: 600; cursor: pointer; transition: background-color .2s, transform .2s var(--ease);
}
.cf-chip:hover { background: #26324a; transform: translateY(-2px); }
.cf-chip:active { transform: scale(.97); }
.cf-chip.is-active { background: var(--ink); color: var(--ground); }
.cf-try__name { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 24px; margin-top: 40px; }
.cf-try__from { font-size: var(--t-statement); color: var(--soft); text-decoration: line-through; text-decoration-thickness: 2px; }
.cf-try__to { display: block; font-size: var(--t-h2); font-weight: 700; letter-spacing: -0.035em; line-height: 1.05; white-space: nowrap; overflow-x: auto; max-width: 100%; scrollbar-width: none; }
.cf-try__to.is-new { animation: cf-swap .45s var(--ease); }
@keyframes cf-swap { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.cf-try__stage { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 64px); margin-top: 36px; align-items: start; }
.cf-doc { margin: 0; }
.cf-doc__page { position: relative; aspect-ratio: 1240 / 1060; overflow: hidden; background: #e4e5e7; border-radius: var(--radius); }
.cf-doc__page img { width: 100%; transition: opacity .25s; }
.cf-doc figcaption { margin-top: 10px; }
.cf-zone { position: absolute; border: 3px solid; border-radius: 3px; transition: left .45s var(--ease), top .45s var(--ease), width .45s var(--ease), height .45s var(--ease), opacity .3s; }
.cf-zone b { position: absolute; left: -3px; bottom: 100%; font-size: 13px; font-weight: 700; padding: 1px 6px; color: #fff; white-space: nowrap; border-radius: 3px 3px 0 0; }
.cf-zone--emisor { border-color: var(--ui-issuer); background: rgba(139, 92, 246, .14); }
.cf-zone--emisor b { background: var(--ui-issuer); }
.cf-zone--numero { border-color: var(--ui-number); background: rgba(245, 158, 11, .16); }
.cf-zone--numero b { background: #c27c06; }
.cf-zone--tipo { border-color: var(--ui-type); background: rgba(34, 197, 94, .14); }
.cf-zone--tipo b { background: #15803d; }

/* Panel de la app (colores reales de ClasiFile) */
.cf-panel { background: var(--ui-surface); color: var(--ui-text); border-radius: 10px; padding: 22px; font-size: 15px; }
.cf-panel__status { background: rgba(245, 158, 11, .12); border-radius: 8px; padding: 14px 16px; }
.cf-panel__status strong { display: block; font-size: 17px; }
.cf-panel__status span { display: block; color: var(--ui-text-2); margin-top: 6px; line-height: 1.45; }
.cf-panel__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 20px 0 0; }
.cf-panel__fields div { min-width: 0; }
.cf-panel__fields dt { font-size: 13px; font-weight: 600; color: var(--ui-text-2); margin-bottom: 6px; }
.cf-panel__fields dd { margin: 0; background: var(--ui-bg); border-radius: 7px; padding: 9px 11px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cf-panel__final { margin-top: 18px; background: rgba(34, 197, 94, .12); border-radius: 8px; padding: 14px 16px; }
.cf-panel__final span { display: block; font-size: 13px; font-weight: 600; color: var(--ui-text-2); }
.cf-panel__final strong { display: block; margin-top: 6px; color: #7ee2a3; word-break: break-word; }

/* ---------------- Lectura en cascada ---------------- */
.cf-cascade { padding-top: var(--gap-section); }
.cf-cascade__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: start; }
.cf-cascade__head .cf-h2 { grid-column: 1 / span 5; }
.cf-cascade__intro { grid-column: 7 / span 6; }
.cf-cascade__intro .cf-body { margin-top: 20px; }
/* Escalera: cada paso cae un escalón a la derecha del anterior */
.cf-cascade__steps { list-style: none; margin: 72px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.cf-cascade__steps li { --i: 0; margin-left: calc(var(--i) * 8.5%); width: min(560px, 100%); background: var(--tone); border-radius: var(--radius); padding: 20px 24px; transition: background-color .2s, transform .25s var(--ease); }
.cf-cascade__steps li:hover { background: var(--tone-2); transform: translateX(6px); }
.cf-cascade__steps li:nth-child(2) { --i: 1; } .cf-cascade__steps li:nth-child(3) { --i: 2; }
.cf-cascade__steps li:nth-child(4) { --i: 3; } .cf-cascade__steps li:nth-child(5) { --i: 4; }
.cf-cascade__steps li:nth-child(6) { --i: 5; }
.cf-cascade__steps em { display: block; font-style: normal; font-size: var(--t-small); color: var(--soft); margin-bottom: 4px; }
.cf-cascade__steps em::before { content: '↳ '; }
.cf-cascade__steps strong { display: block; font-size: 22px; letter-spacing: -0.02em; }
.cf-cascade__steps span { display: block; margin-top: 6px; font-size: var(--t-body); line-height: 1.5; }
.cf-cascade__steps li.is-last { background: var(--accent); color: #fff; }
.cf-cascade__steps li.is-last em { color: rgba(255, 255, 255, .85); }
.js .cf-cascade__steps li[data-reveal] { transform: translate(-28px, -16px); }
.js .cf-cascade__steps li[data-reveal].is-in { transform: none; }

/* ---------------- Cómo aprende ---------------- */
.cf-learn { margin-top: var(--gap-section); }
.cf-learn__split { display: grid; grid-template-columns: 1fr 1fr; min-height: 78svh; }
.cf-learn__text { background: var(--tone); padding: clamp(32px, 5vw, 72px) var(--margin); display: flex; flex-direction: column; gap: 24px; }
.cf-learn__text .cf-h2, .cf-learn__text .cf-body, .cf-app { will-change: transform, opacity; transform-origin: left center; }
.cf-learn__ui { background: var(--accent); display: grid; place-items: center; padding: clamp(28px, 4vw, 56px) var(--margin); }
.cf-learn__control { padding: 28px var(--margin) 0; }
/* Pista y relleno: deja claro que la barra se mueve */
.cf-learn__track { position: relative; }
.cf-learn__track::before { content: ''; position: absolute; left: 0; right: 0; top: 16px; height: 8px; border-radius: 4px; background: var(--tone-2); }
.cf-learn__track { --thumb: 32px; --p: 0; }
.cf-learn__fill { position: absolute; left: 0; top: 16px; height: 8px; border-radius: 4px; width: calc(var(--thumb) / 2 + var(--p) * (100% - var(--thumb))); background: var(--ink); }
.cf-learn__track input { position: relative; }
.cf-learn__hint { margin: 14px 0 0; font-size: var(--t-small); color: var(--soft); transition: opacity .3s; }
.cf-learn.is-touched .cf-learn__hint { opacity: 0; }
/* Anillo que late detrás del cuadrado mientras nadie ha tocado la barra */
.cf-learn__ping { position: absolute; top: calc(20px - var(--thumb) / 2); left: calc(var(--p) * (100% - var(--thumb))); width: var(--thumb); height: var(--thumb); border: 3px solid var(--accent); border-radius: 50%; opacity: 0; pointer-events: none; }
@keyframes cf-ping { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(2); opacity: 0; } }
.cf-learn.is-hinting .cf-learn__ping { animation: cf-ping 1.5s var(--ease) infinite; }
.cf-learn__stops button { position: relative; }
.cf-learn__stops button::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.cf-learn__stops button:hover::after, .cf-learn__stops .is-current button::after { transform: scaleX(1); }
.cf-learn__stops li:last-child button::after { transform-origin: right; }
.cf-learn input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 40px; background: transparent; cursor: pointer; }
.cf-learn input[type=range]::-webkit-slider-runnable-track { height: 8px; background: transparent; }
.cf-learn input[type=range]::-moz-range-track { height: 8px; background: transparent; }
.cf-learn input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; box-sizing: border-box; width: 32px; height: 32px; margin-top: -12px; background: var(--accent); border: 4px solid var(--ink); border-radius: 50%; transition: transform .2s var(--ease), background-color .2s; }
.cf-learn input[type=range]::-moz-range-thumb { width: 24px; height: 24px; background: var(--accent); border: 4px solid var(--ink); border-radius: 50%; transition: transform .2s var(--ease); }
.cf-learn input[type=range]:hover::-webkit-slider-thumb { transform: scale(1.12); }
.cf-learn.is-dragging input[type=range]::-webkit-slider-thumb { transform: scale(1.3); background: #1d4fd0; }
.cf-learn.is-dragging input[type=range]::-moz-range-thumb { transform: scale(1.3); }
.cf-learn.is-dragging input[type=range] { cursor: grabbing; }
.cf-learn input[type=range] { cursor: grab; }
.cf-learn__stops { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); margin: 10px 0 0; padding: 0; }
.cf-learn__stops li:nth-child(2) { text-align: center; padding-right: 8%; }
.cf-learn__stops li:nth-child(3) { text-align: center; padding-left: 8%; }
.cf-learn__stops li:last-child { text-align: right; }
.cf-learn__stops li { transition: opacity .15s; }
.cf-learn__stops button { background: none; border: 0; padding: 6px 0; font-size: var(--t-body); font-weight: 600; color: var(--soft); cursor: pointer; transition: color .2s; }
.cf-learn__stops button:hover, .cf-learn__stops .is-current button { color: var(--ink); }

/* Ventana de la app dentro de la fase */
.cf-app { width: min(460px, 100%); background: var(--ui-surface); color: var(--ui-text); border-radius: 10px; padding: 20px; font-size: 15px; }
.cf-app__head { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.cf-app__tools { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.cf-app__tool { padding: 7px 11px; border-radius: 7px; font-weight: 600; font-size: 14px; background: var(--ui-elevated); }
.cf-app__tool { display: inline-flex; align-items: center; gap: 6px; }
.cf-app__tool svg { width: 14px; height: 14px; fill: none; stroke: var(--ui-success); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.cf-app__tool.is-issuer { background: rgba(139, 92, 246, .22); }
.cf-app__tool.is-number { background: rgba(245, 158, 11, .2); }
.cf-app__tool.is-type { background: rgba(34, 197, 94, .2); }
.cf-app__crop { margin-top: 16px; border-radius: 7px; overflow: hidden; position: relative; aspect-ratio: 16 / 6; background: #e4e5e7; }
.cf-app__crop img { position: absolute; width: 110%; max-width: none; left: -2%; top: -12%; } /* igual que placeCropZones() */
.cf-app__crop .cf-zone { border-width: 2px; }
.cf-app__crop .cf-zone b { display: none; }
.cf-app__status { margin-top: 16px; border-radius: 8px; padding: 13px 15px; background: rgba(245, 158, 11, .12); }
.cf-app__status.is-new { background: rgba(59, 130, 246, .14); }
.cf-app__status.is-auto { background: rgba(34, 197, 94, .12); }
.cf-app__status strong { display: block; }
.cf-app__status span { display: block; color: var(--ui-text-2); margin-top: 4px; font-size: 14px; line-height: 1.45; }
.cf-app__badge { display: inline-block; margin-top: 8px; padding: 3px 10px; border-radius: 999px; background: rgba(59, 130, 246, .2); color: #8fb6fb; font-size: 13px; font-weight: 700; }
.cf-app__trust { margin-top: 12px; height: 6px; border-radius: 3px; background: var(--ui-elevated); overflow: hidden; }
.cf-app__trust i { display: block; height: 100%; background: var(--ui-success); }
.cf-app__rows { list-style: none; margin: 14px 0 0; padding: 0; }
.cf-app__rows li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 7px; font-size: 14px; }
.cf-app__rows li:nth-child(odd) { background: var(--ui-bg); }
.cf-app__rows b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cf-app__rows em { font-style: normal; color: var(--ui-success); white-space: nowrap; }
.cf-app__rows em.is-ask { color: var(--ui-warning); }

/* ---------------- Documentos ---------------- */
.cf-types { padding-top: var(--gap-section); }
.cf-types__title { max-width: none; }
.cf-types__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; margin-top: 64px; align-items: start; }
.cf-types__pic { grid-column: 1 / span 5; margin: 0; }
.cf-types__pic img { aspect-ratio: 4 / 5; object-fit: cover; object-position: top; width: 100%; border-radius: var(--radius); }
.cf-types__pic figcaption { margin-top: 10px; }
.cf-types__table { grid-column: 7 / span 6; padding-top: 8px; }
.cf-types table { width: 100%; border-collapse: collapse; font-size: var(--t-body); }
.cf-types th, .cf-types td { text-align: left; padding: 12px 0; vertical-align: top; }
.cf-types thead th { font-size: var(--t-small); color: var(--soft); font-weight: 600; padding-bottom: 18px; }
.cf-types thead th:last-child { text-align: right; }
.cf-types tbody th { font-weight: 700; width: 24%; }
.cf-types tbody td:nth-child(2) { font-weight: 500; word-break: break-word; padding-right: 16px; }
.cf-types tbody td:last-child { text-align: right; color: var(--ink); width: 26%; }
.cf-types .cf-group th, .cf-types .cf-group td { padding-top: 40px; }
.cf-types__table .cf-body { margin-top: 32px; }

/* ---------------- Qué más hace ---------------- */
.cf-more { padding-top: var(--gap-section); }
.cf-more .cf-statement { margin-top: 36px; max-width: 44ch; line-height: 1.32; }
.cf-inline { display: inline-block; height: 1em; width: 1.9em; vertical-align: -0.14em; border-radius: .16em; overflow: hidden; background: #e4e5e7; }
.cf-inline img { width: 100%; transform: translateY(-12%); }
.cf-inline--ui { width: auto; padding: 0 .35em; background: var(--ui-elevated); color: var(--ui-text); font-size: .62em; line-height: 1.6em; height: 1.6em; vertical-align: .08em; border-radius: .3em; font-weight: 600; }
.cf-more__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); margin-top: 72px; }
.cf-more__facts p { margin: 0; font-size: var(--t-body); line-height: 1.55; }
.cf-more__facts strong { display: block; margin-bottom: 6px; }

/* ---------------- Privacidad ---------------- */
.cf-local { margin-top: 120px; background: var(--tone); padding-block: clamp(80px, 9vw, 140px); }
.cf-local__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
.cf-local__facts { grid-column: 1 / span 3; list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 22px; font-size: var(--t-small); }
.cf-local__facts strong { display: block; font-size: var(--t-body); }
.cf-local__text { grid-column: 4 / span 9; }
.cf-local__p { margin-top: 32px; max-width: 40ch; }
.cf-local__icon { float: left; width: 3.6em; height: 3.6em; margin: .12em .5em 0 0; border-radius: .7em; }
.cf-local__text .cf-body { clear: both; margin-top: 28px; padding-top: 4px; }

/* ---------------- Preguntas ---------------- */
.cf-faq { padding-top: var(--gap-section); }
.cf-faq__list { margin: 80px 0 0 calc(33.33% + 8px); }
.cf-faq details { border-radius: var(--radius); margin: 0 -24px 14px; padding: 0 24px; transition: background-color .25s; }
.cf-faq details[open] { background: var(--tone); }
.cf-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 18px 0; font-size: 22px; font-weight: 600; letter-spacing: -0.01em; }
.cf-faq summary::-webkit-details-marker { display: none; }
.cf-faq summary::after { content: ''; flex: none; width: 12px; height: 12px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-3px); transition: transform .3s var(--ease); }
.cf-faq details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.cf-faq summary:hover { color: #cfe0ff; }
.cf-faq details p { margin: 0; padding: 0 0 24px; max-width: 54ch; font-size: var(--t-body); line-height: 1.6; }

/* ---------------- Solicitar una demo ---------------- */
.cf-cta { padding-top: var(--gap-section); }
.cf-cta__sentence { font-size: var(--t-h2); line-height: 1.18; font-weight: 700; letter-spacing: -0.04em; }
.cf-cta__h { display: inline; font: inherit; letter-spacing: inherit; margin: 0 .2em 0 0; }
.cf-cta input {
  display: inline-block; width: 7.5em; height: 1.18em; vertical-align: -0.18em; padding: 0 .3em; margin-right: .2em;
  background: var(--tone-2); border: 0; border-radius: var(--radius); font-weight: 700; letter-spacing: -0.03em;
}
.cf-cta input::placeholder { color: var(--soft); }
.cf-cta input:focus { outline: 3px solid var(--accent); outline-offset: 0; }
.cf-cta__send {
  display: inline-block; height: 1.18em; vertical-align: -0.18em; padding: 0 .35em; border: 0; border-radius: var(--radius);
  background: var(--accent); color: #fff; font-weight: 700; letter-spacing: -0.03em; cursor: pointer; transition: background-color .2s, transform .2s var(--ease);
}
.cf-cta__send:hover { background: #1d4fd0; transform: translateY(-3px); }
.cf-cta__send:active { transform: scale(.98); }
.cf-cta__note { margin-top: 28px; }

/* ---------------- Otros proyectos ---------------- */
.cf-others { padding-block: var(--gap-section) 140px; }
.cf-others__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: start; }
.cf-others .cf-h2 { grid-column: 1 / span 5; }
.cf-others__list { grid-column: 7 / span 6; list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.cf-others__list a { display: flex; align-items: center; gap: 20px; padding: 18px 20px; background: var(--tone); border-radius: var(--radius); text-decoration: none; transition: background-color .2s, transform .2s var(--ease); }
.cf-others__list a:hover { background: var(--tone-2); transform: translateX(6px); }
.cf-others__list img { width: 56px; height: 56px; border-radius: 13px; flex: none; }
.cf-others__list strong { display: block; font-size: 22px; letter-spacing: -0.02em; }
.cf-others__list span { font-size: var(--t-body); }

/* ---------------- Cierre ---------------- */
.cf-footer { background: var(--field); color: #fff; min-height: 62svh; display: flex; flex-direction: column; padding: 40px var(--margin) 32px; }
.cf-footer__top { display: flex; justify-content: space-between; gap: 24px; font-size: var(--t-small); }
.cf-footer__top p { margin: 0; max-width: 46ch; }
.cf-footer__up { font-weight: 700; }
.cf-footer__contact { margin-top: auto; font-size: clamp(50px, 9.4vw, 150px); font-weight: 800; letter-spacing: -0.055em; line-height: .98; text-decoration: none; transition: opacity .2s; }
.cf-footer__contact:hover { opacity: .85; }
.cf-footer__contact::after { content: ' →'; }
.cf-footer__meta { display: flex; justify-content: space-between; gap: 24px; margin-top: 36px; font-size: var(--t-small); }

/* ---------------- Movimiento ---------------- */
.js .cf-line > span { transform: translateY(105%); }
.js.is-loaded .cf-line > span { transform: none; transition: transform .9s cubic-bezier(.16, 1, .3, 1); }
.js.is-loaded .cf-line:nth-child(2) > span { transition-delay: .11s; }
.js .cf-hero__foot { opacity: 0; transform: translateY(16px); }
.js.is-loaded .cf-hero__foot { opacity: 1; transform: none; transition: opacity .7s .5s, transform .7s .5s var(--ease); }
.js [data-reveal] { opacity: 0; transform: translateY(24px); }
.js [data-reveal].is-in { opacity: 1; transform: none; transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0ms); }

/* ---------------- Teléfono ---------------- */
@media (max-width: 900px) {
  .cf-nav { display: none; }
  .cf-bar { justify-content: space-between; }
  .cf-hero__foot { grid-template-columns: 1fr; gap: 28px; }
  .cf-try__stage { grid-template-columns: 1fr; }
  .cf-learn__split { grid-template-columns: 1fr; min-height: 0; }
  .cf-learn__ui { order: -1; min-height: 46svh; }
  .cf-types__grid, .cf-local__grid, .cf-others__grid { grid-template-columns: 1fr; }
  .cf-types__pic, .cf-types__table, .cf-local__facts, .cf-local__text, .cf-others .cf-h2, .cf-others__list { grid-column: 1 / -1; }
  .cf-types__pic { width: 70%; margin-left: auto; order: 2; margin-top: 48px; }
  .cf-types__grid { margin-top: 48px; }
  .cf-more__facts { grid-template-columns: 1fr; margin-top: 48px; }
  .cf-local__facts { flex-direction: row; flex-wrap: wrap; order: 2; margin-top: 40px; gap: 16px 28px; }
  .cf-local__grid { display: flex; flex-direction: column; }
  .cf-faq__list { margin: 48px 0 0; }
  .cf-cascade__head { grid-template-columns: 1fr; }
  .cf-cascade__head .cf-h2, .cf-cascade__intro { grid-column: 1 / -1; }
  .cf-cascade__intro { margin-top: 24px; }
  .cf-cascade__steps { margin-top: 48px; }
  .cf-cascade__steps li { margin-left: calc(var(--i) * 3.2%); width: auto; }
  .cf-faq details { margin-inline: calc(var(--margin) * -1); padding-inline: var(--margin); border-radius: 0; }
  .cf-others__list { margin-top: 40px; }
  .cf-footer__top, .cf-footer__meta { flex-direction: column; gap: 10px; }
}
@media (max-width: 560px) {
  :root { --t-body: 16px; --t-small: 14px; --t-statement: 20px; }
  .cf-faq summary { font-size: 19px; }
  .cf-hero__title { font-size: 11.4vw; }
  .cf-button--small { display: none; }
  .cf-try__to { font-size: clamp(22px, 7.4vw, 34px); }
  .cf-panel__fields { grid-template-columns: 1fr; }
  .cf-learn__stops li:nth-child(2) { padding-right: 0; }
  .cf-learn__stops li:nth-child(3) { padding-left: 0; }
  .cf-learn input[type=range]::-webkit-slider-thumb { width: 40px; height: 40px; margin-top: -16px; }
  .cf-learn__track { --thumb: 40px; }
  .cf-cta__sentence { font-size: 10vw; }
  .cf-cta input { display: block; width: 100%; margin: .12em 0; }
  .cf-types tbody td:last-child { width: 30%; }
  .cf-types th, .cf-types td { font-size: 15px; }
  .cf-footer__contact { font-size: 13vw; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0ms !important; }
  .js .cf-line > span, .js .cf-hero__foot, .js [data-reveal] { opacity: 1 !important; transform: none !important; }
}
