/* ═══════════════════════════════════════════════════════════════
   Lumek AI — Sistema de diseño «Luz que simplifica»
   Blanco = claridad · Ámbar = identidad y acción · Carbón = precisión
   ═══════════════════════════════════════════════════════════════ */

/* Fuentes alojadas en el propio sitio (sin peticiones a Google Fonts) */
@font-face { font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 500 800; font-display: swap; src: url('fonts/bricolage-grotesque-normal-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('fonts/inter-normal-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Instrument Serif'; font-style: italic; font-weight: 400; font-display: swap; src: url('fonts/instrument-serif-italic-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg: #FAF9F6;
  --surface: #FFFFFF;
  --ink: #181818;
  --amber: #F9C215;
  --amber-hover: #E8B00C;
  --amber-soft: #FEF3CB;
  --muted: #625E57;
  --line: #E7E3DC;
  --line-strong: #CFC9BE;
  --ink-2: #232323;
  --ink-line: #383633;
  --on-dark-muted: #B9B4AA;

  --font-display: 'Bricolage Grotesque', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --wrap: 1240px;
  --gutter: 24px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-btn: 12px;
  --ease: cubic-bezier(.2,.7,.2,1);
  --t-fast: 200ms;
  --t-ui: 260ms;
  --t-enter: 520ms;
  --header-h: 72px;

  /* Variables que lee el banner de cookies */
  --color-dark-2: #181818;
  --color-card-border: #383633;
  --color-text: #FAF9F6;
  --color-text-muted: #B9B4AA;
  --color-primary: #F9C215;
  --color-primary-light: #E8B00C;
  --font-main: 'Inter', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body); background: var(--bg); color: var(--ink);
  font-size: 1.0625rem; line-height: 1.6; -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); letter-spacing: -0.025em; line-height: 1.05; font-weight: 700; text-wrap: balance; }
p { text-wrap: pretty; }
ul, ol { list-style: none; }
::selection { background: var(--amber); color: var(--ink); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.on-dark :focus-visible { outline-color: var(--amber); }
.on-amber :focus-visible { outline-color: var(--ink); }
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

.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: 2000; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 10px; text-decoration: none; font-weight: 600; transition: top var(--t-fast); }
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 128px); }
.section-tight { padding-block: clamp(48px, 6vw, 80px); }

/* ─── Tipografía ─── */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .8125rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); margin-bottom: 20px; }
.eyebrow::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 5px rgba(249,194,21,.22); flex-shrink: 0; }
.on-dark .eyebrow { color: var(--on-dark-muted); }
.h2 { font-size: clamp(2.125rem, 1.2rem + 2.9vw, 3.5rem); }
.lede { font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem); color: var(--muted); max-width: 34em; line-height: 1.55; }
.on-dark .lede { color: var(--on-dark-muted); }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head .lede { margin-top: 18px; }

/* ─── Botones ─── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: var(--radius-btn);
  font: 600 1rem/1 var(--font-body); text-decoration: none; cursor: pointer;
  border: 1.5px solid transparent; transition: background var(--t-ui) var(--ease), border-color var(--t-ui) var(--ease), transform var(--t-ui) var(--ease), box-shadow var(--t-ui) var(--ease), color var(--t-ui) var(--ease);
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; transition: transform var(--t-ui) var(--ease); }
.btn:hover svg, .btn:focus-visible svg { transform: translateX(4px); }
.btn-primary { background: var(--amber); color: var(--ink); }
.btn-primary:hover { background: var(--amber-hover); transform: translateY(-1px); box-shadow: 0 8px 20px -10px rgba(24,24,24,.45); }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-secondary:hover { border-color: var(--ink); background: var(--surface); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; transform: translateY(-1px); box-shadow: 0 8px 20px -10px rgba(24,24,24,.6); }
.btn-ghost-dark { background: transparent; color: #fff; border-color: #5a5750; }
.btn-ghost-dark:hover { border-color: var(--amber); }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: .9375rem; }
.btn:active { transform: translateY(0); }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; padding-block: 8px; border-bottom: 1.5px solid var(--line-strong); transition: border-color var(--t-ui), gap var(--t-ui) var(--ease); }
.link-arrow svg { width: 16px; height: 16px; transition: transform var(--t-ui) var(--ease); }
.link-arrow:hover { border-color: var(--ink); }
.link-arrow:hover svg, .link-arrow:focus-visible svg { transform: translateX(4px); }

/* ─── Cabecera (formato de la web anterior: siempre oscura) ─── */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 1000; height: var(--header-h); background: rgba(20,20,20,.88); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(247,246,242,.16); color: #F7F6F2; }
.site-header :focus-visible { outline-color: var(--amber); }
.hdr { height: 100%; display: flex; align-items: center; gap: 40px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; min-height: 44px; }
.brand img { height: 34px; width: auto; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; letter-spacing: -0.02em; }
.site-footer .brand-name { color: var(--ink); }
.nav { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav-links { display: flex; gap: 8px; }
.nav-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 8px; text-decoration: none; font-weight: 500; font-size: .95rem; color: rgba(247,246,242,.68); transition: color var(--t-fast); }
.nav-links a:hover, .nav-links a[aria-current] { color: #F7F6F2; }
.nav-tools { display: flex; align-items: center; gap: 18px; }
.hdr-phone { text-decoration: none; color: rgba(247,246,242,.68); font-weight: 500; font-size: .875rem; white-space: nowrap; font-variant-numeric: tabular-nums; letter-spacing: .02em; padding: 10px 4px; transition: color var(--t-fast); }
.hdr-phone:hover { color: #F7F6F2; }
.site-header .btn-primary:hover { background: #F7F6F2; box-shadow: none; }
.lang { display: flex; align-items: center; gap: 2px; font-size: .8125rem; font-weight: 600; }
.lang a { text-decoration: none; color: rgba(247,246,242,.6); padding: 10px 6px; min-height: 44px; display: inline-flex; align-items: center; }
.lang a:hover { color: #F7F6F2; }
.lang a[aria-current] { color: var(--amber); }
.lang span { color: rgba(247,246,242,.35); }
.menu-btn { display: none; margin-left: auto; width: 48px; height: 48px; border: 0; background: transparent; cursor: pointer; border-radius: 12px; align-items: center; justify-content: center; }
.menu-btn:hover { background: rgba(247,246,242,.1); }
.menu-btn .bars { position: relative; width: 22px; height: 14px; }
.menu-btn .bars i { position: absolute; left: 0; width: 100%; height: 2px; background: #F7F6F2; border-radius: 2px; transition: transform var(--t-ui) var(--ease), opacity var(--t-fast), top var(--t-ui) var(--ease); }
.menu-btn .bars i:nth-child(1) { top: 0; } .menu-btn .bars i:nth-child(2) { top: 6px; } .menu-btn .bars i:nth-child(3) { top: 12px; }
.menu-btn[aria-expanded="true"] .bars i:nth-child(1) { top: 6px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .bars i:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] .bars i:nth-child(3) { top: 6px; transform: rotate(-45deg); }

@media (max-width: 899px) {
  :root { --header-h: 64px; --gutter: 20px; }
  .menu-btn { display: inline-flex; }
  .nav { position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 8px; background: #141414; border-bottom: 1px solid rgba(247,246,242,.16); padding: 12px var(--gutter) 24px; max-height: calc(100dvh - var(--header-h)); overflow-y: auto; visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity var(--t-ui) var(--ease), transform var(--t-ui) var(--ease), visibility 0s linear var(--t-ui); }
  .nav.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .nav-links { flex-direction: column; gap: 0; }
  .nav-links a { display: flex; min-height: 54px; padding: 0 4px; font-size: 1.125rem; border-radius: 0; border-bottom: 1px solid rgba(247,246,242,.16); color: #F7F6F2; }
  .nav-tools { flex-direction: column; align-items: stretch; gap: 8px; margin-top: 12px; }
  .nav-tools .btn { width: 100%; }
  .hdr-phone { text-align: center; font-size: 1rem; min-height: 44px; display: flex; align-items: center; justify-content: center; }
  .lang { justify-content: center; }
}

/* ─── Portada: vídeo a pantalla completa con velo claro ─── */
.hero { position: relative; min-height: min(100svh, 920px); display: flex; flex-direction: column; overflow: hidden; background: var(--bg); padding-top: var(--header-h); isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -1; background: #E9E4D9; }
.hero-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-media::before { content: ''; position: absolute; inset: 0; z-index: 1; background: rgba(250,249,246,.26); }
.hero-inner { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding-block: clamp(36px, 6vw, 72px); }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 9px 20px; border: 1px solid var(--line-strong); border-radius: 999px; background: rgba(255,255,255,.7); font-size: .8125rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; margin-bottom: clamp(20px, 3vw, 34px); }
.pill::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 5px rgba(249,194,21,.28); }
.hero h1 { font-size: clamp(2.6rem, .8rem + 5.8vw, 5.5rem); line-height: 1.02; letter-spacing: -0.035em; font-weight: 700; }
.hero h1 .l { display: block; }
.hero h1 .serif { font-family: 'Instrument Serif', 'Iowan Old Style', Georgia, serif; font-style: italic; font-weight: 400; letter-spacing: -0.02em; font-size: 1.12em; line-height: .98; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero .lede { margin: clamp(20px, 2.6vw, 32px) auto clamp(24px, 3vw, 38px); max-width: 34em; color: #181818; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.hero-note { margin-top: 22px; color: var(--muted); font-size: .9375rem; }
.hero .btn-secondary { background: rgba(255,255,255,.75); }
.video-msg { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 84px; max-width: 520px; padding: 12px 16px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); font-size: .9375rem; color: var(--muted); z-index: 2; }
.video-msg[hidden] { display: none; }

/* ─── Banner en movimiento (servicios y herramientas) ─── */
.marquee { position: relative; display: flex; align-items: center; overflow: hidden; }
.marquee-viewport { flex: 1; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee var(--dur, 46s) linear infinite; }
.marquee-list { display: flex; align-items: center; flex-shrink: 0; }
@keyframes marquee { to { transform: translateX(-50%); } }
.hero-banner { position: relative; z-index: 1; border-top: 1px solid var(--line-strong); background: rgba(250,249,246,.92); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.hero-banner .marquee { padding-right: var(--gutter); }
.hero-banner li { display: inline-flex; align-items: center; gap: 22px; padding: 11px 22px 11px 0; font-size: .6875rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; color: #3b3833; }
.hero-banner li::after { content: ''; width: 5px; height: 5px; background: var(--amber); transform: rotate(45deg); flex-shrink: 0; }
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; width: auto; flex-wrap: wrap; }
  .marquee-viewport { -webkit-mask-image: none; mask-image: none; }
  .marquee-list[aria-hidden="true"] { display: none; }
  .marquee-list { flex-wrap: wrap; }
}

/* ─── Soluciones ─── */
.solutions { background: var(--bg); }
.sol-row { display: grid; gap: clamp(28px, 5vw, 72px); align-items: center; padding-block: clamp(40px, 6vw, 72px); border-top: 1px solid var(--line); }
@media (min-width: 900px) {
  .sol-row { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
  .sol-row.flip { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
  .sol-row.flip .sol-text { order: 2; }
}
.sol-name { font-size: clamp(1.875rem, 1.1rem + 2.4vw, 3rem); margin-bottom: 14px; }
.sol-name.sm { font-size: clamp(1.625rem, 1rem + 1.6vw, 2.25rem); }
.sol-phrase { color: var(--muted); max-width: 26em; margin-bottom: 22px; }
.sol-pair { display: grid; gap: 0; border-top: 1px solid var(--line); }
@media (min-width: 900px) { .sol-pair { grid-template-columns: 1fr 1fr; } .sol-pair > .sol-cell + .sol-cell { border-left: 1px solid var(--line); padding-left: clamp(32px, 4vw, 64px); } .sol-pair > .sol-cell:first-child { padding-right: clamp(32px, 4vw, 64px); } }
.sol-cell { padding-block: clamp(40px, 6vw, 72px); display: flex; flex-direction: column; }
.sol-cell + .sol-cell { border-top: 1px solid var(--line); }
@media (min-width: 900px) { .sol-cell + .sol-cell { border-top: 0; } }
.sol-cell .visual { margin-block: 26px 28px; }

.visual { position: relative; }

/* Visual A: conversación */
.chat-mock { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 18px; box-shadow: 0 24px 48px -34px rgba(24,24,24,.35); max-width: 460px; }
.chat-head { display: flex; align-items: center; justify-content: space-between; padding: 2px 4px 14px; border-bottom: 1px solid var(--line); margin-bottom: 16px; font-size: .875rem; font-weight: 600; }
.chat-head span:last-child { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-weight: 500; }
.wave { display: inline-flex; align-items: center; gap: 2px; height: 16px; }
.wave i { display: block; width: 3px; border-radius: 2px; background: var(--ink); }
.wave i:nth-child(1) { height: 6px; } .wave i:nth-child(2) { height: 12px; } .wave i:nth-child(3) { height: 16px; } .wave i:nth-child(4) { height: 9px; } .wave i:nth-child(5) { height: 13px; } .wave i:nth-child(6) { height: 5px; }
.msg { max-width: 82%; padding: 11px 15px; border-radius: 16px; font-size: .96875rem; line-height: 1.4; margin-bottom: 10px; }
.msg-in { background: #F1EEE7; border-bottom-left-radius: 5px; }
.msg-out { background: var(--amber); color: var(--ink); margin-left: auto; border-bottom-right-radius: 5px; }
.msg-ok { display: flex; align-items: center; gap: 10px; margin: 16px 0 2px; padding: 12px 14px; border-radius: 12px; background: var(--amber-soft); border: 1px solid #F3DA95; font-size: .9375rem; font-weight: 600; }
.msg-ok::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 5px rgba(249,194,21,.3); flex-shrink: 0; }

/* Visual B: flujo (motivo: punto de luz + línea) */
.flow { display: grid; gap: 0; max-width: 560px; }
.flow-step { position: relative; display: grid; grid-template-columns: 28px 1fr; gap: 16px; align-items: start; padding-bottom: 26px; }
.flow-step:last-child { padding-bottom: 0; }
.flow-step::before { content: ''; position: absolute; left: 13px; top: 28px; bottom: 0; width: 2px; background: var(--line-strong); }
.flow-step:last-child::before { display: none; }
.flow-step::after { content: ''; position: absolute; left: 13px; top: 28px; width: 2px; height: calc(100% - 28px); background: var(--amber); transform-origin: top; transition: transform 600ms var(--ease); transition-delay: var(--d, 0s); }
.flow-step:last-child::after { display: none; }
.flow-dot { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--line-strong); background: var(--surface); border-color: var(--ink); display: grid; place-items: center; transition: border-color var(--t-ui), background var(--t-ui); transition-delay: var(--d, 0s); }
.flow-dot::after { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--amber); transition: transform 360ms var(--ease); transition-delay: var(--d, 0s); }
.flow-body strong { display: block; font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; letter-spacing: -0.015em; line-height: 1.2; }
.flow-body span { color: var(--muted); font-size: .96875rem; }
.js .flow:not(.is-in) .flow-step::after { transform: scaleY(0); }
.js .flow:not(.is-in) .flow-dot { border-color: var(--line-strong); }
.js .flow:not(.is-in) .flow-dot::after { transform: scale(0); }

/* Visual C: web */
.site-mock { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: 0 20px 40px -30px rgba(24,24,24,.35); }
.site-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: #F6F4EF; }
.site-bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--line-strong); }
.site-bar em { margin-left: 10px; font-style: normal; font-size: .75rem; color: var(--muted); }
.site-nav { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; font-size: .8125rem; font-weight: 600; }
.site-nav span:last-child { color: var(--muted); font-weight: 500; }
.site-hero { padding: 10px 18px 22px; }
.site-hero b { display: block; font-family: var(--font-display); font-size: 1.5rem; line-height: 1.08; letter-spacing: -0.025em; margin-bottom: 8px; }
.site-hero p { color: var(--muted); font-size: .875rem; margin-bottom: 14px; max-width: 24em; }
.site-hero .fake-btn { display: inline-block; background: var(--amber); font-size: .8125rem; font-weight: 700; padding: 9px 14px; border-radius: 9px; }
.site-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 0 18px 18px; }
.site-tiles div { height: 46px; border-radius: 8px; background: var(--amber-soft); }
.site-tiles div:nth-child(2) { background: #F1EEE7; }

/* Visual D: SEO */
.serp { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: 0 20px 40px -30px rgba(24,24,24,.35); }
.serp-search { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: .9375rem; margin-bottom: 16px; }
.serp-search svg { width: 16px; height: 16px; color: var(--muted); flex-shrink: 0; }
.serp-url { font-size: .8125rem; color: var(--muted); }
.serp-title { font-family: var(--font-display); font-weight: 700; font-size: 1.1875rem; letter-spacing: -0.015em; margin: 2px 0 4px; }
.serp-desc { font-size: .9375rem; color: var(--muted); }
.serp-outline { margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line-strong); display: grid; gap: 6px; font-size: .875rem; }
.serp-outline li { display: flex; gap: 10px; align-items: baseline; }
.serp-outline li b { font-size: .75rem; color: var(--ink); background: var(--amber-soft); padding: 2px 7px; border-radius: 6px; font-weight: 700; }
.serp-outline li:nth-child(n+2) { padding-left: 14px; }
.serp-outline li:nth-child(n+2) b { background: #F1EEE7; }

/* ─── Demostración (sección oscura) ─── */
.demo { background: var(--ink); color: #fff; }
.demo-grid { display: grid; gap: clamp(36px, 5vw, 72px); align-items: start; }
.demo.is-pinned .demo-grid { align-items: center; }
@media (min-width: 1000px) { .demo-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } .demo-text { position: sticky; top: calc(var(--header-h) + 32px); } }
.demo h2 { font-size: clamp(2.125rem, 1rem + 3vw, 3.5rem); margin-bottom: 20px; }
.demo-steps { display: grid; gap: 0; margin: 28px 0 32px; counter-reset: st; }
.demo-steps li { position: relative; padding: 14px 0 14px 44px; color: #8d887e; font-size: 1rem; transition: color var(--t-ui); counter-increment: st; }
.demo-steps li::before { content: counter(st); position: absolute; left: 0; top: 12px; width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid #5a5750; display: grid; place-items: center; font-size: .8125rem; font-weight: 600; transition: background var(--t-ui), border-color var(--t-ui), color var(--t-ui); }
.demo-steps li:not(:last-child)::after { content: ''; position: absolute; left: 13.5px; top: 42px; bottom: -14px; width: 1px; background: #4a4740; }
.demo.play-1 .demo-steps li:nth-child(-n+1), .demo.play-2 .demo-steps li:nth-child(-n+2), .demo.play-3 .demo-steps li:nth-child(-n+3), .demo.play-4 .demo-steps li:nth-child(-n+4) { color: #fff; }
.demo.play-1 .demo-steps li:nth-child(-n+1)::before, .demo.play-2 .demo-steps li:nth-child(-n+2)::before, .demo.play-3 .demo-steps li:nth-child(-n+3)::before, .demo.play-4 .demo-steps li:nth-child(-n+4)::before { background: var(--amber); border-color: var(--amber); color: var(--ink); }

.demo-stage { display: grid; gap: 16px; }
@media (min-width: 720px) { .demo-stage { grid-template-columns: 1.1fr 1fr; gap: 20px; } }
.pane { border-radius: var(--radius-lg); padding: 22px; min-height: 100%; position: relative; }
.pane-chat { background: var(--ink-2); border: 1px solid var(--ink-line); }
.pane-agenda { background: var(--bg); color: var(--ink); }
.pane-title { display: flex; align-items: center; justify-content: space-between; font-size: .875rem; font-weight: 600; padding-bottom: 14px; margin-bottom: 18px; border-bottom: 1px solid var(--ink-line); }
.pane-agenda .pane-title { border-color: var(--line); }
.pane-title span:last-child { color: var(--on-dark-muted); font-weight: 500; }
.pane-agenda .pane-title span:last-child { color: var(--muted); }
.demo .msg { transition: opacity var(--t-enter) var(--ease), transform var(--t-enter) var(--ease); }
.demo .msg-in { background: #343230; color: #fff; }
.demo .msg-out { background: var(--amber); color: var(--ink); }
.demo .typing { display: inline-flex; gap: 4px; padding: 14px 16px; background: #343230; border-radius: 16px; border-bottom-left-radius: 5px; margin-bottom: 10px; }
.demo .typing i { width: 6px; height: 6px; border-radius: 50%; background: #B9B4AA; animation: blink 1s infinite ease-in-out; }
.demo .typing i:nth-child(2) { animation-delay: .15s; } .demo .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 80%, 100% { opacity: .3; } 40% { opacity: 1; } }
.typing { display: none !important; }
.demo.is-typing .typing { display: inline-flex !important; }

.agenda-day { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.agenda-day b { font-family: var(--font-display); font-size: 1.375rem; letter-spacing: -0.02em; }
.agenda-day span { font-size: .8125rem; color: var(--muted); }
.slots { position: relative; display: grid; gap: 8px; }
.slot { display: grid; grid-template-columns: 46px 1fr; align-items: center; gap: 10px; font-size: .8125rem; color: var(--muted); }
.slot-bar { min-height: 42px; border-radius: 10px; display: flex; align-items: center; padding: 0 12px; font-size: .875rem; }
.slot-busy .slot-bar { background: repeating-linear-gradient(135deg, #EFEBE3, #EFEBE3 6px, #F6F3EC 6px, #F6F3EC 12px); color: var(--muted); }
.slot-free .slot-bar { border: 1.5px dashed var(--line-strong); color: var(--muted); }
.slot-target { position: relative; }
.slot-target .slot-bar { position: relative; transition: background var(--t-enter) var(--ease), border-color var(--t-enter) var(--ease), color var(--t-enter); }
.slot-target .free-label, .slot-target .booked-label { transition: opacity var(--t-ui); }
.slot-target .booked-label { position: absolute; left: 12px; opacity: 0; font-weight: 700; color: var(--ink); display: inline-flex; align-items: center; gap: 8px; }
.slot-target .booked-label::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--ink); }
.demo.play-4 .slot-target .slot-bar { background: var(--amber); border: 1.5px solid var(--amber); box-shadow: 0 10px 24px -12px rgba(249,194,21,.9); }
.demo.play-4 .slot-target .free-label { opacity: 0; }
.demo.play-4 .slot-target .booked-label { opacity: 1; }
.demo.play-3 .slot-target .slot-bar, .demo.play-2 .slot-target .slot-bar { border-color: var(--ink); color: var(--ink); }

/* Hilo de luz que conecta la consulta con el resultado */
.thread { display: none; }
@media (min-width: 720px) {
  .thread { display: block; position: absolute; top: 50%; left: calc(52.4% - 10.5px); width: 20px; height: 2px; background: var(--amber); transform-origin: left; transform: scaleX(0); transition: transform 500ms var(--ease); z-index: 2; }
  .demo.play-4 .thread { transform: scaleX(1); }
}
.demo-stage { position: relative; }
.demo-track { position: relative; }
.demo-pin { padding-block: clamp(64px, 9vw, 128px); }
.demo.is-pinned { padding-block: 0; }
.demo.is-pinned .demo-track { height: 190svh; }
.demo.is-pinned .demo-pin { position: sticky; top: 0; height: 100svh; display: flex; align-items: center; padding-block: var(--header-h) 24px; }
.demo.is-pinned .demo-pin > .wrap { width: 100%; }
.demo.is-pinned .demo-text { position: static; }

/* Estados iniciales SOLO con JS activo (sin JS o con menos movimiento: ejemplo completo estático) */
.js .demo:not(.static) [data-step] { opacity: 0; transform: translateY(10px); }
.js .demo:not(.static).play-1 [data-step="1"], .js .demo:not(.static).play-2 [data-step="1"], .js .demo:not(.static).play-3 [data-step="1"], .js .demo:not(.static).play-4 [data-step="1"] { opacity: 1; transform: none; }
.js .demo:not(.static).play-2 [data-step="2"], .js .demo:not(.static).play-3 [data-step="2"], .js .demo:not(.static).play-4 [data-step="2"] { opacity: 1; transform: none; }
.js .demo:not(.static).play-3 [data-step="3"], .js .demo:not(.static).play-4 [data-step="3"] { opacity: 1; transform: none; }
.js .demo:not(.static).play-4 [data-step="4"] { opacity: 1; transform: none; }
.demo.static .demo-steps li { color: #fff; }
.demo.static .demo-steps li::before { background: var(--amber); border-color: var(--amber); color: var(--ink); }
.demo.static .slot-target .slot-bar { background: var(--amber); border: 1.5px solid var(--amber); }
.demo.static .slot-target .free-label { opacity: 0; }
.demo.static .slot-target .booked-label { opacity: 1; }
.demo.static .thread { transform: scaleX(1); }

/* ─── Confianza: tarjetas compactas con «Ver más» ─── */
.trust { background: #F3F0E9; }
.trust .section-head { margin-bottom: clamp(24px, 3vw, 36px); }
.trust .h2 { font-size: clamp(1.75rem, 1.1rem + 1.8vw, 2.5rem); }
.rgrid { display: grid; gap: 16px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 640px) { .rgrid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .rgrid { grid-template-columns: repeat(4, 1fr); } }
.rc { position: relative; padding: 22px 22px 18px; border-radius: 20px; color: #EDE9E0; background: linear-gradient(165deg, #262422 0%, #181818 100%); border: 1px solid #34312d; box-shadow: 0 30px 50px -36px rgba(24,24,24,.7); overflow: hidden; transition: transform var(--t-ui) var(--ease), border-color var(--t-ui); }
.rc:hover { transform: translateY(-4px); border-color: rgba(249,194,21,.55); }
.rc::before { content: ''; position: absolute; left: 22px; top: 0; width: 36px; height: 3px; background: var(--amber); border-radius: 0 0 3px 3px; }
.rc-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.rc .avatar { width: 40px; height: 40px; font-size: 1.0625rem; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; flex-shrink: 0; background: var(--amber); color: var(--ink); }
.rc:nth-child(2) .avatar { background: #F7F3EA; }
.rc:nth-child(3) .avatar { background: #4a4640; color: #fff; }
.rc:nth-child(4) .avatar { background: var(--amber-soft); }
.rc .rname { font-size: .96875rem; font-weight: 600; color: #fff; line-height: 1.2; }
.rc .rmeta { display: flex; align-items: center; gap: 5px; font-size: .8125rem; color: #B9B4AA; }
.lg-badge { display: inline-flex; align-items: center; gap: 5px; }
.rc .lg-badge svg { color: var(--amber); width: 12px; height: 12px; }
.g-mark { margin-left: auto; width: 20px; height: 20px; flex-shrink: 0; }
.rc .rstars { display: flex; gap: 2px; margin: 0 0 10px; }
.rc .rstars svg { width: 15px; height: 15px; fill: var(--amber); }
.rc-text { font-size: .9375rem; line-height: 1.55; color: #E5E0D6; }
.js .rc:not(.is-open) .rc-text { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.rc-more { margin-top: 10px; background: none; border: 0; padding: 8px 0; font: 600 .875rem var(--font-body); color: var(--amber); cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.rc-more[hidden] { display: none; }
.rc-more svg { width: 13px; height: 13px; transition: transform var(--t-ui) var(--ease); }
.rc-more:hover { text-decoration: underline; text-underline-offset: 4px; }
.rc.is-open .rc-more svg { transform: rotate(180deg); }
.rc :focus-visible { outline-color: var(--amber); }
.js .rc:not(.is-in) .rstars svg { transform: scale(0); }
.rc .rstars svg { transition: transform 420ms var(--ease); transition-delay: calc(var(--i) * 70ms + 200ms); }

.tools-section { background: var(--bg); }
.tools-marquee .marquee-track { --dur: 54s; }
.tool { display: inline-flex; align-items: center; gap: 16px; padding: 26px 0; margin-right: clamp(56px, 7vw, 104px); white-space: nowrap; }
.tool svg { width: clamp(44px, 5vw, 60px); height: clamp(44px, 5vw, 60px); flex-shrink: 0; transition: transform var(--t-ui) var(--ease); }
.tool span { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.25rem); letter-spacing: -0.03em; }
.tool:hover svg { transform: scale(1.08) rotate(-3deg); }
.tools-marquee .marquee { padding-right: 0; }

/* ─── Proceso (la línea se dibuja según haces scroll) ─── */
.process-steps { display: grid; gap: 0; position: relative; }
.pstep { position: relative; padding: 0 0 36px 64px; }
.pstep:last-child { padding-bottom: 0; }
.pstep .pdot { position: absolute; left: 0; top: 4px; width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--ink); background: var(--bg); display: grid; place-items: center; transition: border-color var(--t-ui); }
.pstep .pdot::after { content: ''; width: 12px; height: 12px; border-radius: 50%; background: var(--amber); transition: transform 380ms var(--ease); }
.pstep::before { content: ''; position: absolute; left: 19px; top: 44px; bottom: -4px; width: 2px; background: var(--line-strong); }
.pstep:last-child::before { display: none; }
.pstep::after { content: ''; position: absolute; left: 19px; top: 44px; bottom: -4px; width: 2px; background: var(--amber); transform-origin: top; transition: transform 140ms linear; }
.pstep:last-child::after { display: none; }
.js .pstep::after { transform: scaleY(var(--pp, 0)); }
.js .pstep:not(.on) .pdot { border-color: var(--line-strong); }
.js .pstep:not(.on) .pdot::after { transform: scale(0); }
.pnum { font-family: var(--font-display); font-weight: 700; font-size: .9375rem; color: var(--muted); display: block; margin-bottom: 6px; }
.pstep h3 { font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2rem); margin-bottom: 8px; }
.pstep p { color: var(--muted); max-width: 26em; }
@media (min-width: 900px) {
  .process-steps { grid-template-columns: repeat(3, 1fr); gap: 40px; }
  .pstep { padding: 64px 0 0 0; }
  .pstep .pdot { left: 0; top: 0; }
  .pstep::before, .pstep::after { left: 52px; right: -40px; top: 19px; bottom: auto; width: auto; height: 2px; }
  .pstep::after { transform-origin: left; }
  .js .pstep::after { transform: scaleX(var(--pp, 0)); }
}

/* ─── Así cambia tu día a día + cifras (sección oscura de la web anterior) ─── */
.change { background: var(--ink); color: #F7F6F2; }
.change h2 { font-size: clamp(2.125rem, 1.2rem + 2.9vw, 3.5rem); text-align: center; margin-bottom: clamp(32px, 4vw, 56px); }
.change-cols, .change-row { max-width: 820px; margin-inline: auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.change-cols { margin-bottom: 8px; }
.change-label { font-size: .8125rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--on-dark-muted); }
.change-cols .change-label:first-child { text-align: right; }
.change-cols .change-label:last-child { grid-column: 3; }
.change-rows { max-width: 820px; margin: 0 auto clamp(48px, 7vw, 88px); border-top: 1px solid #3a3835; }
.change-row { max-width: none; padding: 24px 0; border-bottom: 1px solid #3a3835; }
.change-before, .change-after { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.125rem, 1rem + .8vw, 1.5rem); letter-spacing: -0.015em; }
.change-before { color: var(--on-dark-muted); text-align: right; }
.change-after { text-align: left; }
.change-arrow { color: var(--amber); display: grid; place-items: center; }
.change-arrow svg { width: 26px; height: 26px; transition: transform var(--t-enter) var(--ease); }
.js .change-row:not(.is-active) .change-after { opacity: .45; }
.js .change-row:not(.is-active) .change-arrow svg { transform: translateX(-6px); opacity: .5; }
.change-after { transition: opacity var(--t-enter) var(--ease); }
.change-arrow svg { transition: transform var(--t-enter) var(--ease), opacity var(--t-enter); }
@media (max-width: 640px) {
  .change-cols { display: none; }
  .change-row { grid-template-columns: 1fr; text-align: center; gap: 8px; padding: 20px 0; }
  .change-before, .change-after { text-align: center; }
  .change-arrow svg { transform: rotate(90deg) !important; }
}

/* ─── Sobre Lumek ─── */
.about { border-top: 1px solid var(--line); }
.about-grid { display: grid; gap: clamp(32px, 5vw, 80px); align-items: start; }
@media (min-width: 900px) { .about-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: end; } }
.about-side p { margin-bottom: 20px; }
.about h2 { font-size: clamp(2.25rem, 1.2rem + 3.2vw, 3.75rem); margin-bottom: 22px; }

/* ─── Franja ámbar ─── */
.band { background: var(--amber); color: var(--ink); }
.band-in { display: grid; gap: 28px; align-items: center; padding-block: clamp(48px, 7vw, 88px); }
@media (min-width: 900px) { .band-in { grid-template-columns: minmax(0, 7fr) auto; gap: 56px; } }
.band h2 { font-size: clamp(2rem, 1.1rem + 2.8vw, 3.375rem); line-height: 1.14; padding-bottom: .06em; margin-bottom: 14px; }
.band p { font-size: 1.125rem; max-width: 32em; }

/* ─── Pie ─── */
.site-footer { background: var(--surface); border-top: 1px solid var(--line); padding-top: clamp(48px, 6vw, 72px); font-size: .96875rem; }
.foot-grid { display: grid; gap: 36px; padding-bottom: 44px; }
@media (min-width: 800px) { .foot-grid { grid-template-columns: 1.5fr 1fr 1.2fr; gap: 56px; } }
.foot-brand .brand { margin-bottom: 14px; }
.foot-brand p { color: var(--muted); max-width: 24em; }
.foot-col .foot-title { display: block; font-family: var(--font-body); font-size: .8125rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.foot-col li { margin-bottom: 0; }
.foot-col a { text-decoration: none; display: inline-block; padding: 10px 0; min-height: 44px; }
.foot-col a:hover { text-decoration: underline; text-decoration-color: var(--amber); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.foot-col address { font-style: normal; color: var(--muted); padding: 6px 0; }
.foot-bottom { border-top: 1px solid var(--line); padding-block: 22px 28px; display: flex; flex-wrap: wrap; gap: 8px 28px; justify-content: space-between; align-items: center; font-size: .875rem; color: var(--muted); }
.foot-legal { display: flex; flex-wrap: wrap; gap: 0 20px; }
.foot-legal a { text-decoration: none; padding: 12px 0; }
.foot-legal a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }

/* ─── Páginas interiores ─── */
.page-hero { padding-top: calc(var(--header-h) + clamp(40px, 7vw, 96px)); padding-bottom: clamp(36px, 5vw, 64px); }
.page-hero h1 { font-size: clamp(2.4rem, 1rem + 3.6vw, 4.25rem); letter-spacing: -0.035em; margin-bottom: 20px; }
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.jump a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--line-strong); border-radius: 999px; text-decoration: none; font-size: .9375rem; font-weight: 500; transition: border-color var(--t-fast), background var(--t-fast); }
.jump a:hover { border-color: var(--ink); background: var(--surface); }

.spacer-lg { height: clamp(48px, 7vw, 96px); }
.svc-points li { position: relative; padding: 14px 0 14px 28px; border-bottom: 1px solid var(--line); }
.svc-points li:first-child { border-top: 1px solid var(--line); }
.svc-points li::before { content: ''; position: absolute; left: 4px; top: 25px; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); }
.svc-cta { margin-top: 24px; }

.contact-grid { display: grid; gap: clamp(36px, 6vw, 88px); align-items: start; padding-bottom: clamp(56px, 8vw, 104px); }
@media (min-width: 900px) { .contact-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); } }
.contact-info { display: grid; gap: 0; }
.ci { display: flex; align-items: center; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.ci:first-child { border-top: 1px solid var(--line); }
.ci-ico { width: 48px; height: 48px; border-radius: 50%; background: var(--amber-soft); display: grid; place-items: center; flex-shrink: 0; transition: background var(--t-ui), transform var(--t-ui) var(--ease); }
.ci:hover .ci-ico { background: var(--amber); transform: scale(1.06); }
.ci-ico svg { width: 22px; height: 22px; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ci-label { display: block; font-size: .8125rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.ci-val { font-size: 1.1875rem; font-weight: 500; line-height: 1.35; }
.ci-val a { text-decoration: none; }
.ci-val a:hover { text-decoration: underline; text-decoration-color: var(--amber); text-decoration-thickness: 2px; text-underline-offset: 4px; }

.form-panel { position: relative; background: linear-gradient(180deg, #fff 0%, #FFFDF8 100%); border: 1px solid var(--line); border-radius: 28px; padding: clamp(28px, 4.5vw, 56px); box-shadow: 0 60px 100px -60px rgba(24,24,24,.5), 0 2px 4px rgba(24,24,24,.03); overflow: hidden; }
.form-panel::before { content: ''; position: absolute; left: 0; top: 0; right: 0; height: 5px; background: linear-gradient(90deg, var(--amber), rgba(249,194,21,.15)); }
.form-panel::after { content: ''; position: absolute; right: -90px; top: -90px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(249,194,21,.2), transparent 70%); pointer-events: none; }
.form-title { font-size: clamp(1.625rem, 1.2rem + 1.2vw, 2.125rem); margin-bottom: clamp(22px, 3vw, 34px); position: relative; }
.form-row { display: grid; gap: 0 18px; position: relative; }
@media (min-width: 640px) { .form-row.two { grid-template-columns: 1fr 1fr; } }
.field { margin-bottom: 22px; position: relative; }
.field label, .field .legend { display: block; font-weight: 600; font-size: .9375rem; margin-bottom: 9px; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field textarea { width: 100%; min-height: 58px; padding: 16px 18px; font: inherit; font-size: 1.0625rem; color: var(--ink); background: #FAF9F6; border: 1.5px solid #979184; border-radius: 14px; transition: border-color var(--t-fast), box-shadow var(--t-ui) var(--ease), background var(--t-fast), transform var(--t-ui) var(--ease); }
.field input::placeholder, .field textarea::placeholder { color: #8b8579; }
.field textarea { min-height: 160px; resize: vertical; line-height: 1.5; }
.field input:hover, .field textarea:hover { border-color: var(--ink); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); background: #fff; box-shadow: 0 0 0 4px rgba(249,194,21,.45), 0 12px 24px -16px rgba(24,24,24,.35); transform: translateY(-1px); }
.field [aria-invalid="true"] { border-color: #B3261E; background: #FFF7F6; }
.field-error { color: #B3261E; font-size: .9375rem; margin-top: 7px; font-weight: 500; }
.field-error[hidden] { display: none; }

/* Casilla de consentimiento del formulario de contacto */
.field-consent label { display: flex; align-items: flex-start; gap: 10px; font-weight: 400; font-size: .9375rem; line-height: 1.5; cursor: pointer; margin-bottom: 0; }
/* .field input trae min-height, padding, borde y sombra de foco pensados para campos de texto: se anulan aquí */
.field-consent input[type="checkbox"] { width: 20px; height: 20px; min-height: 0; min-width: 0; flex-shrink: 0; margin: 2px 0 0; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; transform: none; accent-color: var(--ink); cursor: pointer; }
.field-consent input[type="checkbox"]:hover { border: 0; background: none; box-shadow: none; transform: none; }
.field-consent input[type="checkbox"]:focus { outline: none; border: 0; background: none; box-shadow: none; transform: none; }
.field-consent input[type="checkbox"]:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 4px; }
.field-consent a { text-decoration-color: var(--amber); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.field-consent .field-error { margin-left: 30px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; min-width: 0; }
.chip { position: relative; }
.chip input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 18px; border: 1.5px solid var(--line-strong); border-radius: 999px; background: #fff; font-size: .96875rem; font-weight: 500; transition: background var(--t-ui), color var(--t-ui), border-color var(--t-ui), transform var(--t-ui) var(--ease); }
.chip:hover span { border-color: var(--ink); transform: translateY(-1px); }
.chip input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip input:checked + span::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); }
.chip input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 3px; }
.btn-lg { min-height: 62px; font-size: 1.0625rem; width: 100%; border-radius: 16px; }
.form-note { color: var(--muted); font-size: .9375rem; margin-top: 18px; text-align: center; }
.form-note a { text-decoration-color: var(--amber); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.form-status { margin-top: 20px; padding: 16px 18px; border-radius: 14px; font-weight: 500; position: relative; }
.form-status[hidden] { display: none; }
.form-status.ok { background: var(--amber-soft); border: 1px solid #F3DA95; }
.form-status.err { background: #FFF1F0; border: 1px solid #F0B9B4; color: #7A1A14; }
.btn[disabled] { opacity: .65; cursor: progress; transform: none; box-shadow: none; }
.map-box { margin-bottom: clamp(56px, 8vw, 104px); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; height: clamp(260px, 32vw, 380px); background: var(--bg); }
.map-box iframe { display: block; width: 100%; height: 100%; }
.map-notice { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-bottom: clamp(56px, 8vw, 104px); padding-top: 20px; border-top: 1px solid var(--line); font-size: .9375rem; }
.map-notice p { margin: 0; color: var(--muted); }
.map-notice a:not(.btn) { color: var(--ink); font-weight: 500; text-decoration-color: var(--amber); text-decoration-thickness: 2px; text-underline-offset: 3px; }

.legal { padding-bottom: clamp(64px, 9vw, 120px); }
.legal-inner { max-width: 760px; }
.legal-inner h2 { font-size: 1.5rem; margin: 44px 0 14px; letter-spacing: -0.02em; }
.legal-inner h3 { font-size: 1.2rem; margin: 28px 0 10px; }
.legal-inner p, .legal-inner li { color: #45413b; line-height: 1.75; margin-bottom: 14px; }
.legal-inner ul { margin: 0 0 14px 22px; list-style: disc; }
.legal-inner li { margin-bottom: 8px; }
.legal-inner a { text-decoration-color: var(--amber); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.legal-inner strong { color: var(--ink); }
.legal-updated { color: var(--muted) !important; font-size: .9375rem; margin-bottom: 30px !important; }
.legal-inner table { width: 100%; border-collapse: collapse; margin-bottom: 18px; font-size: .9375rem; display: block; overflow-x: auto; }
.legal-inner th, .legal-inner td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }

/* ─── Botón WhatsApp flotante ─── */
.wa-float-btn { position: fixed; bottom: 24px; left: 24px; z-index: 900; width: 56px; height: 56px; background: #25D366; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 20px rgba(0,0,0,.25); transition: transform var(--t-ui) var(--ease); }
.wa-float-btn:hover { transform: scale(1.06); }
@media (max-width: 640px) { .wa-float-btn { bottom: 16px; left: 16px; width: 52px; height: 52px; } }

/* ─── Aparición de secciones ─── */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity var(--t-enter) var(--ease), transform var(--t-enter) var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* Titulares: las palabras suben desde una máscara al entrar en pantalla */
.js .split .w { display: inline-block; overflow: hidden; vertical-align: top; padding: .14em .1em .34em; margin: -.14em -.1em -.34em; }
.js .split .w > span { display: inline-block; transform: translateY(150%); transition: transform 760ms var(--ease); transition-delay: calc(var(--i) * 70ms); }
.js .split.is-in .w > span { transform: none; }

/* Barra de progreso de lectura en la cabecera y paralaje suave de la portada */
.scroll-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--amber); transform-origin: left; transform: scaleX(var(--sp, 0)); pointer-events: none; }
.hero-media video { will-change: transform; transform: translate3d(0, var(--py, 0px), 0) scale(1.1); }
.hero-inner { will-change: transform, opacity; transform: translate3d(0, var(--ty, 0px), 0); opacity: var(--fo, 1); }

/* Portada: el titular NO espera a nada; solo un fundido corto */
.js .hero-in { animation: rise 560ms var(--ease) both; animation-delay: var(--d, 0s); }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .pstep::after { transform: none; }
  .js .pstep:not(.on) .pdot::after { transform: scale(1); }
  .js .split .w > span { transform: none; }
  .js .rc:not(.is-in) .rstars svg { transform: none; }
  .hero-media video { transform: scale(1.1); }
  .hero-inner { transform: none; opacity: 1; }
  .scroll-progress { display: none; }
  .js .flow:not(.is-in) .flow-step::after, .js .process-steps:not(.is-in) .pstep::after { transform: none; }
  .js .flow:not(.is-in) .flow-dot::after, .js .process-steps:not(.is-in) .pdot::after { transform: scale(1); }
}

/* Sin JavaScript: el menú móvil queda desplegado en la cabecera */
@media (max-width: 899px) {
  html:not(.js) .site-header { position: absolute; height: auto; padding-bottom: 8px; }
  html:not(.js) .hdr { flex-wrap: wrap; }
  html:not(.js) .menu-btn { display: none; }
  html:not(.js) .nav { position: static; visibility: visible; opacity: 1; transform: none; max-height: none; width: 100%; padding-inline: 0; border-bottom: 0; }
}

/* Horario por días y redes sociales */
.ci-hours { align-items: flex-start; }
.ci-hours > div:last-child { flex: 1; min-width: 0; }
.hours { display: grid; margin-top: 6px; }
.hours li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 9px 0; border-bottom: 1px dashed var(--line-strong); font-size: 1rem; font-weight: 500; }
.hours li:last-child { border-bottom: 0; padding-bottom: 0; }
.hours li span:first-child { display: inline-flex; align-items: center; gap: 10px; }
.hours li span:last-child { color: var(--muted); font-variant-numeric: tabular-nums; }
.hours li[aria-current="date"] span:first-child::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px rgba(249,194,21,.28); }
.hours li[aria-current="date"] { font-weight: 700; }
.hours li[aria-current="date"] span:last-child { color: var(--ink); }
.social { display: flex; gap: 10px; }
.social a { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--surface); display: grid; place-items: center; transition: transform var(--t-ui) var(--ease), border-color var(--t-ui), box-shadow var(--t-ui); }
.social a:hover { transform: translateY(-3px); border-color: var(--ink); box-shadow: 0 14px 22px -14px rgba(24,24,24,.5); }
.social svg { width: 22px; height: 22px; }
.foot-col .social a { width: 44px; height: 44px; padding: 0; min-height: 44px; }
.foot-col .social svg { width: 20px; height: 20px; }

/* ─── Servicios ampliados: ideal para, precio, sectores, cómo trabajamos y preguntas frecuentes ─── */
.svc-ideal { font-size: .96875rem; color: var(--ink); margin-bottom: 8px; max-width: 30em; }
.svc-ideal strong { font-weight: 600; }
.sec-label { display: block; font-size: .75rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); margin: 14px 0 3px; }
@media (min-width: 900px) and (max-width: 999px) {
  .process-steps.four { grid-template-columns: repeat(2, 1fr); row-gap: 48px; }
  .process-steps.four .pstep::before, .process-steps.four .pstep::after { display: none; }
}
@media (min-width: 1000px) { .process-steps.four { grid-template-columns: repeat(4, 1fr); } }

/* ═══════════ Servicios: presentación editorial ═══════════ */
.sv-hero { padding-top: calc(var(--header-h) + clamp(72px, 11vw, 168px)); padding-bottom: clamp(72px, 10vw, 152px); }
.sv-hero h1 { font-size: clamp(2.25rem, 1rem + 3.4vw, 4.25rem); letter-spacing: -0.035em; line-height: 1.04; max-width: 17em; margin-bottom: clamp(20px, 2.4vw, 32px); }
.sv-hero .lede { max-width: 32em; }
.sv-hero .jump { margin-top: clamp(36px, 5vw, 64px); gap: 10px; }
.sv-hero .jump a { min-height: 48px; padding: 0 22px; background: rgba(249,194,21,.16); border-color: rgba(245,168,0,.55); color: var(--ink); transition: background var(--t-ui) var(--ease), border-color var(--t-ui) var(--ease), transform var(--t-ui) var(--ease), box-shadow var(--t-ui) var(--ease); }
.sv-hero .jump a:hover, .sv-hero .jump a:focus-visible { background: rgba(249,194,21,.42); border-color: #F5A800; transform: translateY(-2px); box-shadow: 0 10px 20px -12px rgba(245,168,0,.7); }
.sv-section { padding-block: clamp(72px, 10vw, 144px); }
.sv-section + .sv-section { padding-top: 0; }
.sv-head { max-width: 720px; margin-bottom: clamp(40px, 5.5vw, 80px); }
.sv-head .lede { margin-top: 16px; max-width: 30em; }

/* Cuadrícula de servicios */
.sgrid { display: grid; gap: 20px; grid-template-columns: 1fr; align-items: start; grid-auto-flow: dense; }
@media (min-width: 700px) { .sgrid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1050px) { .sgrid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.scard { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: clamp(28px, 3.2vw, 44px); box-shadow: 0 1px 2px rgba(24,24,24,.03); transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease); }
.scard:hover, .scard.is-open { border-color: var(--amber); box-shadow: 0 40px 70px -46px rgba(24,24,24,.5); }
.js .scard.reveal.is-in:hover { transform: translateY(-6px); }
.scard-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: clamp(28px, 3.6vw, 44px); }
.scard-ico { width: 52px; height: 52px; border-radius: 16px; background: var(--amber-soft); display: grid; place-items: center; transition: background var(--t-ui), transform .4s var(--ease); }
.scard-ico svg { width: 26px; height: 26px; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.scard:hover .scard-ico { background: var(--amber); transform: rotate(-4deg) scale(1.05); }
.scard h3 { font-size: clamp(1.3rem, .95rem + .5vw, 1.5rem); line-height: 1.12; letter-spacing: -0.03em; margin-bottom: 12px; }
.scard-phrase { color: var(--muted); font-size: 1.0625rem; max-width: 30ch; }
.scard-more { display: none; align-self: flex-start; align-items: center; gap: 10px; margin-top: clamp(24px, 3vw, 36px); min-height: 44px; padding: 0 20px 0 18px; border: 1.5px solid var(--line-strong); border-radius: 999px; background: transparent; color: var(--ink); font: 600 .9375rem var(--font-body); cursor: pointer; transition: border-color var(--t-ui), background var(--t-ui), color var(--t-ui); }
.js .scard-more { display: inline-flex; }
.scard-more:hover { border-color: var(--ink); background: var(--bg); }
.scard-more svg { width: 16px; height: 16px; transition: transform var(--t-ui) var(--ease); }
.scard.is-open .scard-more svg { transform: rotate(45deg); }

/* Panel desplegable dentro de la tarjeta */
.scard-panel { display: grid; grid-template-rows: 1fr; }
.js .scard-panel { grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows .5s var(--ease), visibility 0s linear .5s; }
.js .scard.is-open .scard-panel { grid-template-rows: 1fr; visibility: visible; transition-delay: 0s; }
.scard-panel-in { overflow: hidden; min-height: 0; }
.pcols { display: grid; gap: 0 clamp(28px, 4vw, 56px); padding-top: clamp(28px, 3.5vw, 40px); }
.scard-panel p { max-width: 60ch; }
.svc-lead { color: var(--ink); font-weight: 500; font-size: 1.0625rem; margin-bottom: 12px; }
.scard-body { color: var(--muted); font-size: 1rem; margin-bottom: 20px; }
.svc-ideal { font-size: .96875rem; color: var(--ink); margin: 20px 0 0; max-width: 60ch; }
.svc-ideal strong { font-weight: 600; }
.scard .svc-cta { margin: 22px 0 6px; }
.scard .svc-points li { padding: 12px 0 12px 26px; font-size: .96875rem; }
.scard .svc-points li::before { top: 21px; }

/* Ejemplos por sector: pestañas */
.sec-label { display: block; font-size: .75rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }

/* Cómo trabajamos: números grandes y línea ámbar */
.process-steps.four .pnum { font-size: clamp(2.75rem, 2rem + 2.4vw, 4.5rem); line-height: 1; letter-spacing: -0.045em; color: var(--ink); margin-bottom: 14px; }
.process-steps.four .pstep h3 { font-size: clamp(1.375rem, 1.1rem + .6vw, 1.625rem); margin-bottom: 10px; }
@media (min-width: 1000px) { .process-steps.four .pstep h3 { min-height: 2.3em; display: flex; align-items: flex-end; } }
.process-steps.four .pstep p { max-width: 30ch; }


/* Ajustes finos de la cuadrícula de servicios: todas las tarjetas iguales */
.scard h3 { min-height: 2.24em; display: flex; align-items: flex-end; }
@media (max-width: 699px) { .scard h3 { min-height: 0; } }

/* Enlaces internos descriptivos */
.svc-links { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line); }
@media (min-width: 800px) { .svc-links { grid-template-columns: 1fr 1fr; column-gap: clamp(32px, 5vw, 80px); } }
.svc-links li { border-bottom: 1px solid var(--line); }
.svc-links a { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 16px 0; text-decoration: none; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.125rem, 1rem + .5vw, 1.375rem); letter-spacing: -0.02em; transition: padding var(--t-ui) var(--ease); }
.svc-links a svg { width: 20px; height: 20px; flex-shrink: 0; transition: transform var(--t-ui) var(--ease); }
.svc-links a:hover { padding-left: 8px; }
.svc-links a:hover svg { transform: translateX(4px); }
.foot-zone { margin: 4px 0 10px; font-size: .8125rem; line-height: 1.5; color: var(--muted); text-wrap: balance; }
.foot-zone span { white-space: nowrap; }

/* ═══════════════════════════════════════════════════════════════
   Detalles v3
   Carácter y detalle sin recargar: serif de acento, números grandes,
   trazos hechos a mano y microinteracciones. Solo transform y opacity.
   ═══════════════════════════════════════════════════════════════ */

/* — Portada: el texto se apoya en un halo suave y el vídeo se funde con la sección siguiente — */
.hero-inner { flex: 0 1 auto; margin-block: auto; width: fit-content; max-width: 100%; position: relative; }
.hero-inner::before { content: ''; position: absolute; z-index: -1; inset: -26% -30%; pointer-events: none; background: radial-gradient(ellipse closest-side, rgba(250,249,246,.5) 0%, rgba(250,249,246,.44) 55%, rgba(250,249,246,.22) 80%, rgba(250,249,246,0) 100%); }
.hero-note { color: #181818; }
.hero h1, .hero .lede, .hero-note { text-shadow: 0 0 22px rgba(250,249,246,.5); }
.hero .lede, .hero-note { text-shadow: 0 0 16px rgba(250,249,246,.8), 0 0 3px rgba(250,249,246,.7); }
.hero-media::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 34%; z-index: 2; pointer-events: none; background: linear-gradient(to bottom, rgba(250,249,246,0) 0%, rgba(250,249,246,.55) 55%, var(--bg) 100%); }

/* — Serif de acento: una palabra por titular, nunca en menús, botones ni etiquetas — */
.serif { font-family: 'Instrument Serif', 'Iowan Old Style', Georgia, serif; font-style: italic; font-weight: 400; font-size: 1.1em; letter-spacing: -.01em; line-height: .9; }
.js .split .serif .w { padding-inline-end: .08em; margin-inline-end: -.08em; }

/* — Trazos hechos a mano (mismo lenguaje: ámbar, punta redonda, trazo irregular) — */
.hand { position: relative; display: inline-block; }
.hand > svg { position: absolute; overflow: visible; pointer-events: none; max-width: none; }
.hand path { fill: none; stroke: var(--amber); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; }

/* Rotulador: ámbar muy translúcido con bordes irregulares */
.marker { position: relative; display: inline-block; isolation: isolate; }
.marker::before { content: ''; position: absolute; z-index: -1; left: -.16em; right: -.16em; top: .1em; bottom: -.04em; transform: scaleX(0); transform-origin: left; animation: swipe 620ms var(--ease) .9s forwards; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 30' preserveAspectRatio='none'%3E%3Cpath fill='%23F5A800' fill-opacity='.3' d='M2 10 C 9 4, 22 9, 38 5 S 72 3, 98 8 L 97 14 L 98.5 21 C 84 27, 66 22, 48 27 S 16 26, 3 23 L 4 16 Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat; }
@keyframes swipe { to { transform: scaleX(1); } }

/* — Números grandes de fondo en los servicios (sin cero inicial) — */
:root { --nsz: clamp(110px, 15vw, 240px); }
.sol-text, .sol-cell { position: relative; isolation: isolate; }
.sol-num, .scard-num, .sc-num { position: absolute; z-index: -1; margin: 0; display: block; font-family: var(--font-display); font-weight: 700; line-height: 1; letter-spacing: -.05em; color: #F5A800; opacity: .3; pointer-events: none; user-select: none; transform: translate3d(0, var(--pn, 0px), 0); will-change: transform; left: calc(-1 * var(--bx, .02em)); }
[data-n="1"] { --bx: .019em; } [data-n="2"] { --bx: .02em; } [data-n="3"] { --bx: .012em; } [data-n="4"] { --bx: .015em; } [data-n="5"] { --bx: .025em; } [data-n="6"] { --bx: .03em; }
.sol-num, .sc-num { font-size: var(--nsz); }
.sol-num { top: 0; }
.sol-text { padding-top: calc(var(--nsz) * .55); }
.sol-cell { padding-top: calc(clamp(40px, 6vw, 72px) + var(--nsz) * .3); }
.scard { isolation: isolate; }
.js .scard { cursor: pointer; }
.scard-top { justify-content: flex-end; }
.scard-num { font-size: var(--nsz); top: -.12em; left: calc(clamp(18px, 2.4vw, 30px) - var(--bx, .02em)); }

/* — Nosotros: valores como tarjetas con icono — */
.values { display: grid; gap: clamp(16px, 2.4vw, 28px); margin-top: clamp(40px, 5vw, 64px); }
@media (min-width: 800px) { .values { grid-template-columns: repeat(3, 1fr); } }
.value-card { position: relative; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: clamp(28px, 3vw, 40px) clamp(24px, 2.6vw, 36px) clamp(30px, 3.2vw, 40px); box-shadow: 0 1px 2px rgba(24,24,24,.03); }
.value-card::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--amber); }
.value-ico { width: 56px; height: 56px; margin-bottom: 24px; border-radius: 50%; background: rgba(249,194,21,.24); display: grid; place-items: center; transition: background var(--t-ui); }
.value-ico svg { width: 26px; height: 26px; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.value-card h2 { font-size: 1.375rem; margin-bottom: 8px; }
.value-card p { color: var(--muted); font-size: 1rem; }
.value-card:hover { border-color: var(--amber); box-shadow: 0 30px 50px -36px rgba(24,24,24,.45); }
.value-card:hover .value-ico { background: var(--amber); }
.js .value-card.reveal { transition: opacity var(--t-enter) var(--ease), transform var(--t-enter) var(--ease), border-color var(--t-ui), box-shadow var(--t-ui) var(--ease); transition-delay: var(--d, 0s), var(--d, 0s), 0s, 0s; }
.js .value-card.reveal.is-in:hover { transform: translateY(-5px); }
.js .value-ico :is(path, circle) { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 900ms var(--ease); transition-delay: calc(var(--d, 0s) + .3s); }
.js .value-card.is-in .value-ico :is(path, circle) { stroke-dashoffset: 0; }

/* — Franja de cifras: tarjetas sobre fondo oscuro — */
.stats { display: grid; gap: clamp(16px, 2.4vw, 28px); }
@media (min-width: 800px) { .stats { grid-template-columns: repeat(3, 1fr); } }
.stat-card { display: grid; grid-template-rows: auto auto auto 1fr; justify-items: start; background: #1e1d1b; border: 1px solid rgba(245,168,0,.2); border-radius: 24px; padding: clamp(28px, 3vw, 40px); }
.stat-ico svg { display: block; width: 28px; height: 28px; margin-bottom: 22px; fill: none; stroke: #F5A800; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.stat-value { font-family: var(--font-display); font-size: clamp(3.25rem, 2rem + 4vw, 5rem); font-weight: 700; color: var(--amber); line-height: 1; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.stat-line { display: block; width: 48px; height: 3px; margin: 20px 0 16px; border-radius: 3px; background: var(--amber); transform-origin: left; }
.js .stat-line { transform: scaleX(0); transition: transform 520ms var(--ease); }
.js .stat-card.is-done .stat-line { transform: scaleX(1); }
.stat-label { color: var(--on-dark-muted); font-size: .8125rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; line-height: 1.5; }
.js .stat-card.reveal { transition: opacity var(--t-enter) var(--ease), transform var(--t-enter) var(--ease), border-color var(--t-ui); transition-delay: var(--d, 0s), var(--d, 0s), 0s; }
.stat-card:hover { border-color: rgba(245,168,0,.55); }
.js .stat-card.reveal.is-in:hover { transform: translateY(-5px); }

@media (max-width: 799px) { .stat-label { min-height: 3em; } }

/* — Portada: botón «Ver todos los servicios» — */
.sol-more { margin-top: 12px; padding-top: clamp(32px, 4vw, 48px); border-top: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; text-align: center; }

/* — Microinteracciones — */
.nav-links a, .foot-col li > a, .foot-legal a { position: relative; }
.nav-links a::after, .foot-col li > a::after, .foot-legal a::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 8px; height: 2px; border-radius: 2px; background: var(--amber); transform: scaleX(0); transform-origin: left; transition: transform 320ms var(--ease); pointer-events: none; }
.foot-col li > a::after, .foot-legal a::after { left: 0; right: 0; bottom: 9px; }
.foot-col li > a:hover, .foot-legal a:hover { text-decoration: none; }
.nav-links a:hover::after, .nav-links a:focus-visible::after, .nav-links a[aria-current]::after,
.foot-col li > a:hover::after, .foot-col li > a:focus-visible::after,
.foot-legal a:hover::after, .foot-legal a:focus-visible::after { transform: scaleX(1); }
@media (max-width: 899px) { .nav-links a::after { display: none; } }
.btn-primary:hover, .btn-dark:hover { transform: translateY(-2px); }
.rc { transition: transform var(--t-ui) var(--ease), border-color var(--t-ui), box-shadow var(--t-ui) var(--ease); }
.rc:hover { box-shadow: 0 36px 56px -34px rgba(24,24,24,.8); }

/* — Círculo dibujado a mano alrededor de «tu negocio» (portada) — */
.hand-circle { white-space: nowrap; }
.hand-circle > svg { left: 50%; top: calc(50% + .03em); width: 5.8em; height: 1.6em; transform: translate(-50%, -50%); z-index: -1; }
.hand-circle path, .hand-circle circle { fill: #F5A800; stroke: none; stroke-dasharray: none; stroke-dashoffset: 0; animation: none; }
.hand-circle mask path { fill: none; stroke: #fff; stroke-width: 11; vector-effect: none; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 820ms var(--ease) .7s forwards; }

/* — Ejemplos por sector: pestañas con icono e indicador que se desliza — */
.stabs { display: none; }
.js .stabs { display: flex; position: relative; gap: clamp(22px, 3.4vw, 46px); overflow-x: auto; scroll-snap-type: x proximity; border-bottom: 1px solid var(--line-strong); scrollbar-width: none; }
.stabs::-webkit-scrollbar { display: none; }
.stab { flex-shrink: 0; scroll-snap-align: start; display: inline-flex; align-items: center; gap: 12px; min-height: 48px; padding: 14px 2px 18px; border: 0; background: none; color: var(--muted); font: 600 1rem var(--font-body); white-space: nowrap; cursor: pointer; transition: color var(--t-ui); }
.stab:hover, .stab[aria-selected="true"] { color: var(--ink); }
.stab-ico { color: var(--ink); width: 36px; height: 36px; border-radius: 11px; background: var(--amber-soft); display: grid; place-items: center; transition: background var(--t-ui), transform var(--t-ui) var(--ease); }
.stab-ico svg { width: 20px; height: 20px; }
.stab[aria-selected="true"] .stab-ico { background: var(--amber); }
.stab:hover .stab-ico { transform: translateY(-2px); }
.stab-ind { position: absolute; left: 0; bottom: 0; width: 1px; height: 3px; border-radius: 3px 3px 0 0; background: var(--amber); transform-origin: left; transform: translate3d(var(--ix, 0px), 0, 0) scaleX(var(--iw, 0)); opacity: 0; pointer-events: none; }
.stabs.is-ready .stab-ind { opacity: 1; transition: transform 440ms var(--ease); }

/* Escena de cada sector: nombre + número grande a la izquierda, antes/después a la derecha */
.spanel { position: relative; isolation: isolate; display: grid; gap: clamp(28px, 4vw, 48px) clamp(32px, 6vw, 96px); padding-top: calc(var(--nsz) * .6); }
@media (min-width: 900px) { .spanel { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: start; } }
@media (max-width: 899px) { .sc-left .demo-mini { margin-top: 0; } .sc-left { display: contents; } .sc-left h3 { order: 1; } .sc-right { order: 2; } .sc-left .demo-mini { order: 3; } }
.sc-num { top: 0; }
.spanel h3 { position: relative; font-size: clamp(2.25rem, 1.2rem + 3.2vw, 4rem); line-height: 1.02; letter-spacing: -0.035em; }
.js .spanels { display: grid; }
.js .spanel { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity 320ms var(--ease), visibility 0s linear 320ms; }
.js .spanel.is-active { opacity: 1; visibility: visible; transition-delay: 0s; }
.js .spanel .sc-right, .js .spanel .demo-mini { opacity: 0; transform: translate3d(0, 16px, 0); transition: opacity 420ms var(--ease), transform 420ms var(--ease); }
.js .spanel.is-active .sc-right { opacity: 1; transform: none; transition-delay: .08s; }
.js .spanel.is-active .demo-mini { opacity: 1; transform: none; transition-delay: .16s; }
.sc-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 28px; overflow: hidden; box-shadow: 0 40px 70px -50px rgba(24,24,24,.5); }
.sc-before, .sc-after { position: relative; padding: clamp(26px, 3.2vw, 40px) clamp(24px, 3.2vw, 40px); }
.sc-before { background: #F3F1EC; padding-bottom: clamp(38px, 4.4vw, 52px); }
.sc-after { padding-top: clamp(40px, 4.6vw, 54px); }
.sc-after::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--amber); }
.sc-tag { display: inline-block; vertical-align: middle; font-size: .6875rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; background: #E4E1DA; color: #7d786f; }
.sc-tag-on { background: var(--amber-soft); color: #7A5200; }
.sc-before .sec-label, .sc-after .sec-label { display: inline-block; vertical-align: middle; margin: 0 0 0 10px; }
.sc-before .sec-label { color: #a29d93; }
.sc-before p, .sc-after p { margin-top: 16px; }
.sc-before p { color: #8b867d; font-size: clamp(1.0625rem, .98rem + .35vw, 1.25rem); line-height: 1.5; max-width: 34ch; }
.sc-after p { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.3rem, 1rem + 1vw, 1.85rem); line-height: 1.22; letter-spacing: -0.02em; color: var(--ink); max-width: 26ch; }
.sc-arrow { position: relative; z-index: 1; align-self: flex-start; width: 44px; height: 44px; margin: -22px 0 -22px clamp(24px, 3.2vw, 40px); border-radius: 50%; background: var(--amber); color: var(--ink); display: grid; place-items: center; box-shadow: 0 0 0 6px var(--surface); }
.sc-arrow svg { width: 20px; height: 20px; }

/* Mini escena de WhatsApp: reutiliza el componente de la demostración (.demo) */
.demo-mini { background: none; max-width: 440px; margin-top: clamp(24px, 3vw, 36px); }
.demo-mini .pane { min-height: 0; padding: 18px 18px 8px; }
.demo-mini .pane-title { padding-bottom: 12px; margin-bottom: 14px; font-size: .8125rem; }
.demo-mini .msg { max-width: 90%; font-size: .9375rem; }
.demo-mini .msg-ok { margin: 6px 0 10px; background: transparent; border-color: #5a5750; color: #fff; }
.sc-note { margin: 10px 4px 0; font-size: .8125rem; color: var(--muted); }
.js .spanel.is-active .demo-mini .pane > :nth-child(n+2) { animation: rise 460ms var(--ease) both; }
.js .spanel.is-active .demo-mini .pane > :nth-child(2) { animation-delay: .35s; }
.js .spanel.is-active .demo-mini .pane > :nth-child(3) { animation-delay: .55s; }
.js .spanel.is-active .demo-mini .pane > :nth-child(4) { animation-delay: .75s; }
.js .spanel.is-active .demo-mini .pane > :nth-child(5) { animation-delay: .95s; }

/* — Cursor personalizado (solo ratón; lo crea lumek.js) — */
.cur { position: fixed; left: 0; top: 0; width: 0; height: 0; z-index: 800; pointer-events: none; opacity: 0; transition: opacity 240ms var(--ease); }
.cur.is-on { opacity: 1; }
.cur-dot, .cur-ring { position: absolute; left: 0; top: 0; width: 0; height: 0; will-change: transform; }
.cur-dot i { position: absolute; left: -5px; top: -5px; width: 10px; height: 10px; border-radius: 50%; background: #F5A800; transition: transform 220ms var(--ease); }
.cur-ring b { position: absolute; left: -17px; top: -17px; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid rgba(245,168,0,.8); transition: transform 300ms var(--ease), opacity 240ms var(--ease); }
.cur-ring b::before { content: ''; position: absolute; inset: 0; border-radius: 50%; background: rgba(245,168,0,.22); opacity: 0; transition: opacity 240ms var(--ease); }
.cur-ring em { position: absolute; left: -40px; top: -8px; width: 80px; text-align: center; font: 600 .6875rem/16px var(--font-body); font-style: normal; letter-spacing: .04em; color: var(--ink); opacity: 0; transition: opacity 200ms var(--ease); }
.cur.is-link .cur-ring b { transform: scale(1.55); }
.cur.is-link .cur-ring b::before, .cur.is-card .cur-ring b::before { opacity: 1; }
.cur.is-link .cur-dot i { transform: scale(.5); }
.cur.is-card .cur-ring b { transform: scale(2.5); }
.cur.is-card .cur-ring em { opacity: 1; }
.cur.is-card .cur-dot i { transform: scale(.5); opacity: 0; }
.cur.is-text .cur-dot i { transform: scale(.24, 2.3); border-radius: 2px; }
.cur.is-text .cur-ring b { opacity: .35; }
.cur.is-down .cur-ring b { transform: scale(.82); }
.cur.is-link.is-down .cur-ring b { transform: scale(1.3); }

@media (prefers-reduced-motion: reduce) {
  .marker::before { animation: none; transform: none; }
  .sol-num, .scard-num, .sc-num { transform: none; }
  .hand-circle mask path { animation: none; stroke-dashoffset: 0; }
  .js .spanel .sc-right, .js .spanel .demo-mini { opacity: 1; transform: none; transition: none; }
  .js .spanel.is-active .demo-mini .pane > :nth-child(n+2) { animation: none; }
  .cur { display: none; }
  .js .stat-line { transform: none; transition: none; }
  .js .value-ico :is(path, circle) { stroke-dashoffset: 0; transition: none; }
  .nav-links a::after, .foot-col li > a::after, .foot-legal a::after { transition: none; }
}
