/* =========================================================
   LMS STUDIO — SITIO (oct 2026 · soluciones completas)
   CSS puro, sin dependencias. Mobile-first.
   1. Tokens  2. Base  3. Tipografía  4. Botones  5. Header
   6. Hero  7. Marcos (navegador / celular)  8. Secciones
   9. Explorador de soluciones  10. Caso (banda oscura)
   11. Proceso  12. Principios  13. Trabajos  14. Galería
   15. FAQ  16. CTA final  17. Footer  18. Subpáginas
   19. Chat de Juli  20. Animaciones  21. Utilidades
   ========================================================= */

/* 1. TOKENS ------------------------------------------------ */
:root {
  --bg: #FBFAF7;
  --bg-alt: #F3F1EC;
  --bg-deep: #ECE9E2;
  --surface: #FFFFFF;
  --ink: #14161B;
  --ink-2: #3A3F4A;
  --muted: #646B78;
  --line: #E6E2DA;
  --line-2: #D9D4CA;

  --blue: #1683FF;
  --blue-ink: #0B5FCC;
  --blue-soft: #E5F0FF;
  --sun: #FFD25E;
  --sun-soft: #FFF4D1;
  --mint: #2DBE7E;
  --mint-soft: #DDF6E9;
  --lilac-soft: #EEE6FF;
  --peach-soft: #FFE6DA;
  --wa: #25D366;

  /* mundo La Tête Maison (solo en la banda del caso) */
  --tt-black: #0F0F0E;
  --tt-black-2: #1A1A18;
  --tt-gold: #CBA35C;
  --tt-cream: #F2EEE6;

  --font-display: 'Bricolage Grotesque', ui-sans-serif, system-ui, sans-serif;
  --font-body: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'Geist Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(84px, 11vw, 168px);

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --r-xl: 32px;

  --shadow-sm: 0 1px 2px rgba(20,22,27,.05), 0 2px 6px rgba(20,22,27,.04);
  --shadow: 0 1px 2px rgba(20,22,27,.04), 0 8px 24px -6px rgba(20,22,27,.10), 0 24px 48px -24px rgba(20,22,27,.16);
  --shadow-lg: 0 2px 4px rgba(20,22,27,.04), 0 16px 40px -12px rgba(20,22,27,.16), 0 48px 96px -40px rgba(20,22,27,.28);

  --ease: cubic-bezier(.2,.7,.2,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
}

/* 2. BASE -------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
html { overflow-x: clip; }
body { overflow-x: clip; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--sun); color: var(--ink); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; transition: top .2s; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-narrow { max-width: 860px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* 3. TIPOGRAFÍA -------------------------------------------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; letter-spacing: -.03em; line-height: 1.02; overflow-wrap: break-word; }
.display { font-size: clamp(2.7rem, 7.6vw, 6.6rem); font-weight: 700; letter-spacing: -.045em; line-height: .96; }
.h1 { font-size: clamp(2.4rem, 6vw, 5.2rem); letter-spacing: -.04em; line-height: .98; }
.h2 { font-size: clamp(2rem, 4.6vw, 3.9rem); letter-spacing: -.038em; }
.h3 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); letter-spacing: -.025em; line-height: 1.12; }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.3rem); line-height: 1.55; color: var(--ink-2); max-width: 40em; }
.muted { color: var(--muted); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 12.5px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); flex: none; }
.eyebrow.on-dark { color: rgba(255,255,255,.62); }
.eyebrow.gold::before { background: var(--tt-gold); }
.mark { background: linear-gradient(transparent 62%, var(--sun) 62%, var(--sun) 90%, transparent 90%); padding: 0 .06em; }
.blue { color: var(--blue); }
.serif-it { font-family: Georgia, 'Times New Roman', serif; font-style: italic; font-weight: 400; letter-spacing: -.02em; }
.num { font-variant-numeric: tabular-nums; }

/* 4. BOTONES ----------------------------------------------- */
.btn {
  --bh: 48px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--bh); padding: 0 22px; border-radius: 999px;
  font-weight: 600; font-size: 15.5px; letter-spacing: -.005em; white-space: nowrap;
  transition: transform .25s var(--ease), background-color .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.btn .ico { width: 18px; height: 18px; flex: none; }
.btn .arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 6px 18px -6px rgba(22,131,255,.55); }
.btn-primary:hover { background: var(--blue-ink); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #2A2E37; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: var(--bg-alt); }
.btn-ghost-dark { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.28); }
.btn-ghost-dark:hover { box-shadow: inset 0 0 0 1.5px #fff; }
.btn-lg { --bh: 56px; padding: 0 28px; font-size: 16.5px; }
.btn-sm { --bh: 40px; padding: 0 16px; font-size: 14.5px; }
.btn-block { width: 100%; }
.btn { max-width: 100%; }
@media (max-width: 480px) {
  .btn-lg { --bh: auto; min-height: 54px; padding: 12px 22px; white-space: normal; text-align: center; line-height: 1.25; }
  .hero-actions .btn, .cta-actions .btn, .page-hero .hero-actions .btn { width: 100%; }
}
.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); border-bottom: 1.5px solid var(--line-2); padding-bottom: 2px; transition: border-color .25s var(--ease), gap .25s var(--ease); }
.link:hover { border-color: var(--ink); gap: 12px; }
.link.on-dark { color: #fff; border-color: rgba(255,255,255,.3); }
.link.on-dark:hover { border-color: #fff; }

/* 5. HEADER ------------------------------------------------ */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251,250,247,.94); border-bottom: 1px solid transparent; transition: border-color .3s var(--ease), background-color .3s var(--ease); }
.site-header.is-scrolled { border-color: var(--line); background: rgba(251,250,247,.98); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 600; font-size: 19px; letter-spacing: -.02em; }
.brand-mark { width: 34px; height: auto; fill: var(--ink); }
.brand-mark .tri { fill: var(--blue); }
.brand-word b { font-weight: 600; color: var(--muted); }
.nav { display: none; align-items: center; gap: 6px; }
.nav > a, .nav-drop > button { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--ink-2); transition: background-color .2s var(--ease), color .2s var(--ease); }
.nav > a:hover, .nav-drop > button:hover, .nav-drop.is-open > button { background: var(--bg-alt); color: var(--ink); }
.nav > a[aria-current="page"] { color: var(--ink); }
.nav > a[aria-current="page"]::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--blue); }
.nav-drop { position: relative; }
.nav-drop > button svg { width: 12px; height: 12px; transition: transform .25s var(--ease); }
.nav-drop.is-open > button svg { transform: rotate(180deg); }
.drop-panel {
  position: absolute; top: calc(100% + 10px); left: -12px; width: 560px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
  padding: 10px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
}
.nav-drop.is-open .drop-panel { opacity: 1; visibility: visible; transform: none; }
.drop-panel a { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: start; padding: 12px; border-radius: 14px; transition: background-color .2s var(--ease); }
.drop-panel a:hover { background: var(--bg); }
.drop-panel b { display: block; font-size: 15px; font-weight: 600; color: var(--ink); }
.drop-panel small { display: block; font-size: 13.5px; line-height: 1.4; color: var(--muted); margin-top: 2px; }
.drop-panel .all { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; background: var(--bg); font-size: 14px; font-weight: 600; padding: 12px 16px; }
.sol-ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; }
.sol-ico svg { width: 20px; height: 20px; }
.ico-web { background: var(--blue-soft); color: var(--blue-ink); }
.ico-shop { background: var(--sun-soft); color: #8A6200; }
.ico-ai { background: var(--mint-soft); color: #16794D; }
.ico-crm { background: var(--lilac-soft); color: #5B3FB0; }
.ico-care { background: var(--peach-soft); color: #A3401A; }
.header-cta { display: none; }
.menu-btn { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; }
.menu-btn span { position: relative; width: 20px; height: 1.8px; background: var(--ink); border-radius: 2px; transition: background-color .2s; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; width: 20px; height: 1.8px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease); }
.menu-btn span::before { transform: translateY(-6px); }
.menu-btn span::after { transform: translateY(6px); }
.menu-open .menu-btn span { background: transparent; }
.menu-open .menu-btn span::before { transform: rotate(45deg); }
.menu-open .menu-btn span::after { transform: rotate(-45deg); }
.mobile-menu { position: fixed; inset: 72px 0 0; z-index: 49; background: var(--bg); padding: 20px var(--gutter) 40px; overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s; }
.menu-open .mobile-menu { opacity: 1; visibility: visible; transform: none; }
.menu-open { overflow: hidden; }
.mobile-menu .mm-label { font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 18px 0 8px; }
.mobile-menu a.mm-big { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--line); font-family: var(--font-display); font-size: 24px; font-weight: 600; letter-spacing: -.02em; }
.mobile-menu .mm-sol { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mobile-menu .mm-sol a { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px; font-weight: 600; font-size: 15px; display: flex; flex-direction: column; gap: 10px; }
.mobile-menu .btn { margin-top: 24px; }
@media (min-width: 1000px) {
  .nav { display: flex; }
  .header-cta { display: inline-flex; }
  .menu-btn, .mobile-menu { display: none; }
}

/* 6. HERO -------------------------------------------------- */
.hero { padding: clamp(48px, 8vw, 104px) 0 0; position: relative; }
.hero-top { display: grid; gap: 28px; }
.hero h1 { max-width: 13.5em; }
.hero h1 .soft { color: var(--muted); }
.hero-sub { display: grid; gap: 28px; align-items: end; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 4px; font-size: 14.5px; color: var(--muted); }
.hero-meta li { display: inline-flex; align-items: center; gap: 8px; list-style: none; }
.hero-meta li::before { content: ""; width: 16px; height: 16px; border-radius: 50%; background: var(--mint-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.3l2.2 2.2 4.8-5' fill='none' stroke='%2316794D' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }
.hero-meta { padding: 0; }
@media (min-width: 900px) {
  .hero-sub { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; }
  .hero-sub .hero-actions { justify-content: flex-end; }
}

/* escenario: web + sistema + celular */
.stage { position: relative; margin-top: clamp(48px, 7vw, 88px); padding-bottom: clamp(56px, 8vw, 110px); }
.stage::before { content: ""; position: absolute; inset: 14% 0 0; background: var(--bg-alt); z-index: -1; box-shadow: 0 0 0 100vmax var(--bg-alt); clip-path: inset(0 -100vmax); }
.stage-grid { position: relative; display: grid; grid-template-columns: minmax(0,1fr); }
.stage .frame-web { position: relative; z-index: 2; width: 100%; }
.stage .frame-crm { display: none; }
.stage .phone { position: absolute; z-index: 3; width: clamp(150px, 26vw, 290px); right: 4%; bottom: -8%; }
.stage-tag { position: absolute; z-index: 4; display: none; align-items: center; gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px 10px 10px; box-shadow: var(--shadow); font-size: 13.5px; line-height: 1.3; }
.stage-tag b { display: block; font-size: 14px; }
.stage-tag small { color: var(--muted); }
.stage-tag .tag-ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.stage-tag .tag-ico svg { width: 18px; height: 18px; }
@media (min-width: 900px) {
  .stage-grid { grid-template-columns: repeat(12, minmax(0,1fr)); }
  .stage .frame-web { grid-column: 1 / span 8; grid-row: 1; }
  .stage .frame-crm { display: block; grid-column: 6 / span 7; grid-row: 1; margin-top: 21%; z-index: 1; }
  .stage .phone { right: auto; left: 47%; bottom: -12%; width: clamp(190px, 17vw, 236px); }
  .stage-tag { display: flex; }
  .stage-tag.t1 { left: -2%; top: 52%; }
  .stage-tag.t2 { right: -1%; top: 12%; }
}

/* prueba social */
.proof { padding: 28px 0 0; }
.proof-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 34px; }
.proof-row .eyebrow { margin-right: 6px; }
.proof-name { font-family: var(--font-display); font-weight: 600; font-size: 17px; letter-spacing: -.02em; color: var(--muted); white-space: nowrap; }

/* 7. MARCOS ------------------------------------------------ */
.frame { background: var(--surface); border-radius: 14px; box-shadow: var(--shadow-lg); border: 1px solid rgba(20,22,27,.08); overflow: hidden; }
.frame-bar { display: flex; align-items: center; gap: 12px; height: 34px; padding: 0 12px; background: #F6F4F0; border-bottom: 1px solid var(--line); }
.frame-bar i { width: 9px; height: 9px; border-radius: 50%; background: #DCD7CD; flex: none; }
.frame-bar i + i { margin-left: -6px; }
.frame-bar .url { flex: 1; min-width: 0; display: flex; justify-content: center; }
.frame-bar .url span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 7px; padding: 2px 12px; }
.frame-bar .url span::before { content: "🔒 "; font-size: 10px; }
.frame-bar .sp { width: 33px; flex: none; }
.frame img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.phone { background: var(--ink); border-radius: 38px; padding: 9px; box-shadow: var(--shadow-lg); }
.phone-screen { position: relative; border-radius: 30px; overflow: hidden; background: var(--tt-cream); aspect-ratio: 9 / 19.2; }
.phone-screen::before { content: ""; position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 34%; height: 18px; border-radius: 20px; background: var(--ink); z-index: 5; }
.phone-screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

/* 8. SECCIONES --------------------------------------------- */
.section { padding: var(--section) 0; position: relative; }
.section-alt { background: var(--bg-alt); }
.section-head { display: grid; gap: 18px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head .h2 { max-width: 15em; }
.section-head.split { align-items: end; }
@media (min-width: 900px) {
  .section-head.split { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 48px; }
  .section-head.split .lead { justify-self: end; }
}
.rule { border: 0; border-top: 1px solid var(--line); }

/* manifiesto */
.manifesto { padding: var(--section) 0; }
.manifesto p { font-family: var(--font-display); font-size: clamp(1.7rem, 3.6vw, 3.1rem); font-weight: 600; letter-spacing: -.035em; line-height: 1.12; max-width: 22em; color: var(--ink); }
.manifesto p .dim { color: #A6A9B0; transition: color .6s var(--ease); }
.manifesto p .dim.is-lit { color: var(--ink); }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; margin-top: clamp(48px, 7vw, 88px); }
.stat { background: var(--bg); padding: clamp(20px, 3vw, 32px); }
.stat .n { font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 4.4vw, 3.4rem); letter-spacing: -.045em; line-height: 1; }
.stat .n small { font-size: .5em; color: var(--muted); letter-spacing: -.02em; }
.stat p { margin-top: 10px; font-size: 14.5px; color: var(--muted); line-height: 1.45; }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, minmax(0,1fr)); } }

/* 9. EXPLORADOR DE SOLUCIONES ------------------------------ */
.explorer { display: grid; gap: 28px; }
.ex-tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding: 2px var(--gutter); }
.ex-tabs::-webkit-scrollbar { display: none; }
.ex-tab { flex: none; display: flex; align-items: center; gap: 12px; text-align: left; padding: 12px 18px 12px 12px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); transition: border-color .25s var(--ease), box-shadow .25s var(--ease), background-color .25s var(--ease); }
.ex-tab .sol-ico { width: 36px; height: 36px; border-radius: 10px; }
.ex-tab b { display: block; font-size: 15.5px; font-weight: 600; white-space: nowrap; }
.ex-tab small { display: none; }
.ex-tab[aria-selected="true"] { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.ex-tab .bar { display: none; }
.ex-panels { position: relative; }
.ex-panel { display: grid; gap: 28px; }
.ex-panel[hidden] { display: none; }
.ex-panel.is-entering .ex-media { animation: exIn .55s var(--ease-out) both; }
.ex-panel.is-entering .ex-copy > * { animation: exUp .5s var(--ease-out) both; }
.ex-panel.is-entering .ex-copy > *:nth-child(2) { animation-delay: .05s; }
.ex-panel.is-entering .ex-copy > *:nth-child(3) { animation-delay: .1s; }
.ex-panel.is-entering .ex-copy > *:nth-child(4) { animation-delay: .15s; }
@keyframes exIn { from { opacity: 0; transform: translateY(14px) scale(.99); } to { opacity: 1; transform: none; } }
@keyframes exUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.ex-copy { display: grid; gap: 18px; align-content: start; }
.ex-copy .h3 { font-size: clamp(1.6rem, 2.8vw, 2.25rem); }
.ex-copy p { color: var(--ink-2); }
.ticks { list-style: none; padding: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; color: var(--ink-2); font-size: 16px; line-height: 1.5; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--blue-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.3l2.2 2.2 4.8-5' fill='none' stroke='%230B5FCC' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }
.ticks.on-dark li { color: rgba(255,255,255,.78); }
.ticks.on-dark li::before { background-color: rgba(203,163,92,.18); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.3l2.2 2.2 4.8-5' fill='none' stroke='%23CBA35C' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.ex-media { position: relative; }
.ex-media .phone { position: absolute; width: 30%; max-width: 210px; right: -2%; bottom: -10%; }
@media (min-width: 1000px) {
  .explorer { grid-template-columns: 300px minmax(0,1fr); gap: 56px; align-items: start; }
  .ex-tabs { flex-direction: column; overflow: visible; margin: 0; padding: 0; position: sticky; top: 100px; }
  .ex-tab { width: 100%; padding: 16px 18px 16px 16px; align-items: flex-start; position: relative; overflow: hidden; }
  .ex-tab small { display: block; font-size: 13.5px; color: var(--muted); margin-top: 3px; line-height: 1.4; white-space: normal; }
  .ex-tab .bar { display: block; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--blue); transform-origin: left; transform: scaleX(0); }
  .ex-tab[aria-selected="true"] .bar { animation: exBar var(--ex-time, 7s) linear forwards; }
  .explorer.is-paused .ex-tab .bar { animation-play-state: paused; }
  .ex-panel { grid-template-columns: minmax(0, 1fr); gap: 36px; }
}
@keyframes exBar { to { transform: scaleX(1); } }
@media (min-width: 1000px) {
  .ex-copy { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 40px; row-gap: 14px; align-items: start; }
  .ex-copy .h3, .ex-copy > p { grid-column: 1; }
  .ex-copy .ticks { grid-column: 2; grid-row: 1 / span 3; }
  .ex-copy .link { grid-column: 1; justify-self: start; }
  .ex-media { padding-right: 6%; }
  .ex-media .phone { right: 0; bottom: -14%; width: 24%; }
}

/* 10. CASO — banda oscura (mundo del cliente) -------------- */
.case-band { background: var(--tt-black); color: #fff; padding: var(--section) 0; position: relative; overflow: hidden; }
.case-band .h2 { color: #fff; }
.case-band .lead { color: rgba(255,255,255,.72); }
.case-band .gold { color: var(--tt-gold); }
.case-grid { display: grid; gap: 40px; }
.case-meta { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1px; background: rgba(255,255,255,.1); border-radius: var(--r-lg); overflow: hidden; border: 1px solid rgba(255,255,255,.1); }
.case-meta div { background: var(--tt-black); padding: 22px; }
.case-meta .n { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.9rem, 3.6vw, 2.8rem); letter-spacing: -.04em; line-height: 1; color: #fff; }
.case-meta p { margin-top: 8px; font-size: 14px; color: rgba(255,255,255,.6); line-height: 1.45; }
.case-steps { list-style: none; padding: 0; display: grid; gap: 0; border-top: 1px solid rgba(255,255,255,.12); }
.case-steps li { display: grid; grid-template-columns: 88px minmax(0,1fr); gap: 16px; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.case-steps .when { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--tt-gold); padding-top: 3px; }
.case-steps b { display: block; font-weight: 600; color: #fff; }
.case-steps p { font-size: 15px; color: rgba(255,255,255,.62); margin-top: 3px; }
.case-steps .now b::after { content: "En curso"; display: inline-block; white-space: nowrap; margin-left: 10px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--tt-black); background: var(--tt-gold); padding: 2px 8px; border-radius: 99px; vertical-align: 2px; }
@media (min-width: 1000px) {
  .case-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: start; }
}

/* 14. GALERÍA (strip horizontal) */
.gallery { margin-top: clamp(56px, 8vw, 96px); }
.gallery-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.gallery-nav { display: flex; gap: 8px; flex: none; }
.gallery-nav button { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1.5px var(--line-2); transition: box-shadow .2s var(--ease), opacity .2s; }
.gallery-nav button:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.gallery-nav button:disabled { opacity: .35; cursor: default; }
.gallery-nav svg { width: 18px; height: 18px; }
.on-dark .gallery-nav button, .case-band .gallery-nav button { box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.25); color: #fff; }
.case-band .gallery-nav button:hover { box-shadow: inset 0 0 0 1.5px #fff; }
.strip { display: grid; grid-auto-flow: column; grid-auto-columns: min(86%, 760px); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); padding: 4px var(--gutter) 24px; margin-inline: calc(var(--gutter) * -1); scrollbar-width: none; overscroll-behavior-x: contain; }
.strip::-webkit-scrollbar { display: none; }
@media (min-width: 1240px) { .strip { padding-left: calc((100vw - var(--wrap)) / 2 + var(--gutter)); margin-inline: calc((100vw - var(--wrap)) / -2 - var(--gutter)); scroll-padding-inline: calc((100vw - var(--wrap)) / 2 + var(--gutter)); } }
.shot { scroll-snap-align: start; display: grid; gap: 14px; align-content: start; }
.shot .frame { box-shadow: var(--shadow); }
.case-band .shot .frame { box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); border-color: rgba(255,255,255,.08); }
.shot figcaption { display: grid; gap: 4px; max-width: 46em; }
.shot figcaption b { font-weight: 600; font-size: 16px; }
.shot figcaption span { font-size: 14.5px; color: var(--muted); line-height: 1.5; }
.case-band .shot figcaption span { color: rgba(255,255,255,.6); }
.shot .k { font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; color: var(--muted); }
.case-band .shot .k { color: var(--tt-gold); }

/* 11. PROCESO ---------------------------------------------- */
.process { display: grid; gap: 0; counter-reset: p; border-top: 1px solid var(--line); }
.p-step { display: grid; gap: 14px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.p-step .n { font-family: var(--font-mono); font-size: 13px; color: var(--muted); letter-spacing: .06em; }
.p-step h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); letter-spacing: -.03em; }
.p-step p { color: var(--ink-2); max-width: 34em; }
.p-step .chip { justify-self: start; display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; padding: 6px 12px; border-radius: 99px; background: var(--sun-soft); color: #7A5600; }
@media (min-width: 900px) {
  .p-step { grid-template-columns: 80px minmax(0, 1fr) minmax(0, 1.2fr) auto; gap: 32px; align-items: baseline; padding: 34px 0; }
}

/* 12. PRINCIPIOS ------------------------------------------- */
.principles { display: grid; grid-template-columns: minmax(0,1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden; }
.pr { background: var(--bg); padding: clamp(24px, 3vw, 36px); display: grid; gap: 12px; align-content: start; }
.pr h3 { font-size: 1.3rem; letter-spacing: -.025em; line-height: 1.15; }
.pr p { color: var(--ink-2); font-size: 15.5px; }
.pr .pr-ico { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 6px; }
.pr .pr-ico svg { width: 22px; height: 22px; }
@media (min-width: 700px) { .principles { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 1000px) { .principles { grid-template-columns: repeat(3, minmax(0,1fr)); } }

/* 13. TRABAJOS --------------------------------------------- */
.works { display: grid; gap: 28px; }
.work { display: grid; gap: 18px; }
.work .frame img.scroll { aspect-ratio: auto; object-fit: initial; transition: transform 6s cubic-bezier(.45,0,.2,1); }
.work .frame .viewport { aspect-ratio: 16 / 10; overflow: hidden; }
.work:hover .frame img.scroll, .work:focus-within .frame img.scroll { transform: translateY(calc(-100% + var(--vh, 300px))); }
.work-info { display: flex; justify-content: space-between; align-items: start; gap: 16px; }
.work-info h3 { font-size: 1.35rem; letter-spacing: -.025em; }
.work-info p { color: var(--muted); font-size: 15px; margin-top: 4px; }
.work-info .link { white-space: nowrap; flex: none; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.tags span { font-size: 12.5px; font-weight: 500; padding: 4px 10px; border-radius: 99px; background: var(--bg-alt); color: var(--ink-2); }
.work-feature { grid-column: 1 / -1; }
@media (min-width: 900px) { .works { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 40px 32px; } }

/* 15. FAQ -------------------------------------------------- */
.faq-grid { display: grid; gap: 40px; }
@media (min-width: 1000px) { .faq-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); gap: 72px; } .faq-grid .section-head { position: sticky; top: 110px; align-self: start; margin-bottom: 0; } }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-family: var(--font-display); font-size: clamp(1.1rem, 1.8vw, 1.32rem); font-weight: 600; letter-spacing: -.02em; line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { position: relative; width: 28px; height: 28px; border-radius: 50%; flex: none; box-shadow: inset 0 0 0 1.5px var(--line-2); transition: transform .3s var(--ease), background-color .3s var(--ease); }
.faq summary .pm::before, .faq summary .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.6px; background: var(--ink); transform: translate(-50%, -50%); border-radius: 2px; }
.faq summary .pm::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .3s var(--ease); }
.faq details[open] summary .pm { background: var(--ink); box-shadow: none; }
.faq details[open] summary .pm::before { background: #fff; }
.faq details[open] summary .pm::after { transform: translate(-50%, -50%) rotate(0); background: #fff; }
.faq .a { padding: 0 0 24px; color: var(--ink-2); max-width: 44em; }
.faq .a p + p { margin-top: 10px; }

/* 16. CTA FINAL -------------------------------------------- */
.cta-final { padding: var(--section) 0; }
.cta-card { grid-template-columns: minmax(0, 1fr); position: relative; background: var(--ink); color: #fff; border-radius: var(--r-xl); padding: clamp(32px, 6vw, 80px); overflow: hidden; display: grid; gap: 32px; }
.cta-card::after { content: ""; position: absolute; right: clamp(24px, 5vw, 64px); top: clamp(24px, 5vw, 64px); width: 14px; height: 14px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 8px rgba(22,131,255,.18); }
.cta-card .h2 { color: #fff; max-width: 12em; }
.cta-card .lead { color: rgba(255,255,255,.7); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-contact { display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 15px; color: rgba(255,255,255,.62); }
.cta-contact a { color: #fff; border-bottom: 1px solid rgba(255,255,255,.3); }
.cta-contact a:hover { border-color: #fff; }

/* 17. FOOTER ----------------------------------------------- */
.site-footer { border-top: 1px solid var(--line); padding: clamp(56px, 7vw, 88px) 0 32px; }
.foot-grid { display: grid; gap: 40px; grid-template-columns: repeat(2, minmax(0,1fr)); }
.foot-brand { grid-column: 1 / -1; display: grid; gap: 16px; max-width: 26em; }
.foot-brand p { color: var(--muted); font-size: 15px; }
.foot-col h4 { font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.foot-col ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.foot-col a { font-size: 15px; color: var(--ink-2); transition: color .2s; }
.foot-col a:hover { color: var(--ink); }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
.foot-giant { margin-top: 48px; font-family: var(--font-display); font-weight: 700; letter-spacing: -.06em; line-height: .8; font-size: min(17.4vw, 14.2rem); color: var(--bg-deep); user-select: none; white-space: nowrap; overflow: hidden; }
@media (min-width: 900px) { .foot-grid { grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0,1fr)); } .foot-brand { grid-column: auto; } }

/* WhatsApp flotante */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px -8px rgba(37,211,102,.6); transform: translateY(90px); transition: transform .4s var(--ease-out); }
.wa-float.is-visible { transform: none; }
.wa-float svg { width: 28px; height: 28px; }

/* 18. SUBPÁGINAS ------------------------------------------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); margin-bottom: 26px; }
.crumbs a:hover { color: var(--ink); }
.crumbs span[aria-hidden] { color: var(--line-2); }
.page-hero { padding: clamp(40px, 7vw, 96px) 0 clamp(40px, 6vw, 72px); }
.page-hero .h1 { max-width: 12.5em; margin-top: 18px; }
.page-hero .lead { margin-top: 24px; }
.page-hero .hero-actions { margin-top: 34px; }
.page-media { padding-bottom: clamp(64px, 9vw, 120px); position: relative; }
.page-media::before { content: ""; position: absolute; inset: 22% 0 0; background: var(--bg-alt); z-index: -1; box-shadow: 0 0 0 100vmax var(--bg-alt); clip-path: inset(0 -100vmax); }
.page-media .media-wrap { position: relative; }
.page-media .phone { position: absolute; width: clamp(130px, 22vw, 250px); right: 3%; bottom: -9%; }
.pains { display: grid; gap: 16px; }
.pain { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; display: grid; gap: 10px; }
.pain .q { font-family: var(--font-display); font-weight: 600; font-size: 1.22rem; letter-spacing: -.02em; line-height: 1.25; }
.pain p { color: var(--ink-2); font-size: 15.5px; }
@media (min-width: 900px) { .pains { grid-template-columns: repeat(3, minmax(0,1fr)); } }
.features { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden; }
.feature { background: var(--bg); padding: clamp(22px, 3vw, 32px); display: grid; gap: 8px; align-content: start; }
.feature .k { font-family: var(--font-mono); font-size: 12px; color: var(--muted); letter-spacing: .06em; }
.feature h3 { font-size: 1.18rem; letter-spacing: -.02em; line-height: 1.2; }
.feature p { color: var(--ink-2); font-size: 15.5px; }
@media (min-width: 700px) { .features { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 1000px) { .features { grid-template-columns: repeat(3, minmax(0,1fr)); } }
.duo { display: grid; gap: 40px; align-items: center; }
.duo + .duo { margin-top: clamp(64px, 9vw, 120px); }
.duo-copy { display: grid; gap: 18px; }
.duo-copy p { color: var(--ink-2); }
@media (min-width: 1000px) {
  .duo { grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: 72px; }
  .duo.flip { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }
  .duo.flip .duo-copy { order: 2; }
}
.related { display: grid; gap: 14px; }
.rel { display: grid; grid-template-columns: 44px minmax(0,1fr) auto; gap: 16px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; transition: border-color .25s var(--ease), transform .25s var(--ease); }
.rel:hover { border-color: var(--ink); transform: translateY(-2px); }
.rel .sol-ico { width: 44px; height: 44px; }
.rel b { display: block; font-weight: 600; }
.rel small { display: block; color: var(--muted); font-size: 14px; line-height: 1.4; margin-top: 2px; }
.rel .arrow { font-size: 18px; color: var(--muted); }
@media (min-width: 900px) { .related { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 1100px) { .related.three { grid-template-columns: repeat(3, minmax(0,1fr)); } }

/* mapa del sistema (caso) */
.flow { display: grid; gap: 12px; }
.flow-node { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; display: grid; gap: 4px; position: relative; }
.flow-node b { font-weight: 600; }
.flow-node small { color: var(--muted); font-size: 14px; line-height: 1.45; }
.flow-node .k { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--blue-ink); }
.flow-node.hl { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.flow-arrow { justify-self: center; color: var(--line-2); width: 20px; height: 20px; }
@media (min-width: 1000px) {
  .flow { grid-template-columns: repeat(5, minmax(0,1fr)) ; gap: 0; align-items: stretch; }
  .flow-arrow { display: none; }
  .flow-node { border-radius: 0; margin-left: -1px; }
  .flow-node:first-child { border-radius: var(--r) 0 0 var(--r); margin-left: 0; }
  .flow-node:last-child { border-radius: 0 var(--r) var(--r) 0; }
  .flow-node.hl { z-index: 1; }
}

/* contacto */
.contact-grid { display: grid; gap: 40px; }
@media (min-width: 1000px) { .contact-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 72px; align-items: start; } }
.form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(22px, 4vw, 40px); display: grid; gap: 20px; box-shadow: var(--shadow); }
.field { display: grid; gap: 8px; border: 0; padding: 0; min-width: 0; }
.field label, .field legend { font-size: 14.5px; font-weight: 600; color: var(--ink); padding: 0; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field textarea { width: 100%; background: var(--bg); border: 1.5px solid var(--line); border-radius: 12px; padding: 13px 15px; font-size: 16px; transition: border-color .2s var(--ease), background-color .2s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: #fff; }
.field textarea { resize: vertical; min-height: 104px; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choices label { position: relative; }
.choices input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choices span { display: inline-flex; align-items: center; height: 40px; padding: 0 15px; border-radius: 99px; background: var(--bg); box-shadow: inset 0 0 0 1.5px var(--line); font-size: 14.5px; font-weight: 500; color: var(--ink-2); transition: all .2s var(--ease); }
.choices input:checked + span { background: var(--ink); color: #fff; box-shadow: none; }
.choices input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.form-status { font-size: 14px; color: var(--muted); min-height: 1.2em; }
.contact-list { list-style: none; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); margin-top: 32px; }
.contact-list li { display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.contact-list span { color: var(--muted); font-size: 15px; }
.contact-list a { font-weight: 600; }

/* 19. CHAT DE JULI ----------------------------------------- */
.phone-screen { container-type: inline-size; }
.chat { position: absolute; inset: 0; display: flex; flex-direction: column; background: var(--tt-cream); font-size: clamp(8.5px, 5.3cqi, 13px); line-height: 1.4; }
.chat-head { display: flex; align-items: center; gap: .7em; padding: 2.8em 1em .9em; background: var(--tt-black); color: #fff; }
.chat-av { width: 2.3em; height: 2.3em; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #E6C789, var(--tt-gold) 60%, #9A7638); display: grid; place-items: center; font-family: Georgia, serif; font-style: italic; font-size: 1.05em; color: var(--tt-black); flex: none; }
.chat-head b { display: block; font-size: 1em; font-weight: 600; }
.chat-head small { display: block; font-size: .82em; color: rgba(255,255,255,.6); }
.chat-head .online { margin-left: auto; width: .55em; height: .55em; border-radius: 50%; background: #3DDC84; flex: none; }
.chat-body { flex: 1; padding: .9em .8em; display: flex; flex-direction: column; gap: .55em; overflow: hidden; justify-content: flex-end; }
.msg { max-width: 86%; padding: .62em .85em; border-radius: 1.1em; background: #fff; color: #222; box-shadow: 0 1px 1px rgba(0,0,0,.05); opacity: 0; transform: translateY(6px); transition: opacity .35s var(--ease), transform .35s var(--ease); flex: none; }
.msg.in { opacity: 1; transform: none; }
.msg.me { align-self: flex-end; background: var(--tt-black); color: #fff; border-bottom-right-radius: .35em; }
.msg.bot { align-self: flex-start; border-bottom-left-radius: .35em; }
.msg.sys { align-self: center; background: transparent; box-shadow: none; padding: .3em 0; max-width: 100%; }
.msg.sys span { display: inline-flex; align-items: center; gap: .45em; font-size: .85em; font-weight: 600; color: #6A5228; background: #F4E7CB; border-radius: 99px; padding: .35em .8em; white-space: nowrap; }
.msg.sys span::before { content: ""; width: .5em; height: .5em; border-radius: 50%; background: var(--tt-gold); }
.typing { align-self: flex-start; display: none; gap: .25em; padding: .8em .9em; background: #fff; border-radius: 1.1em; border-bottom-left-radius: .35em; flex: none; }
.typing.on { display: inline-flex; }
.typing i { width: .4em; height: .4em; border-radius: 50%; background: #B5AFA4; animation: dot 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 60%, 100% { transform: none; opacity: .5; } 30% { transform: translateY(-3px); opacity: 1; } }
.chat-input { display: flex; gap: .5em; padding: .7em .8em 1.1em; background: var(--tt-cream); }
.chat-input span { flex: 1; min-width: 0; height: 2.4em; border-radius: 99px; border: 1px solid #D8D0C1; background: #fff; font-size: .9em; color: #9D978C; display: flex; align-items: center; padding: 0 .9em; white-space: nowrap; overflow: hidden; }
.chat-input i { width: 2.4em; height: 2.4em; border-radius: 50%; background: var(--tt-black); flex: none; }

/* 20. ANIMACIONES ------------------------------------------ */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); transition-delay: calc(var(--d, 0) * 70ms); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .hero .load { opacity: 0; transform: translateY(16px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); transition-delay: calc(var(--d, 0) * 90ms + 80ms); }
.js.is-ready .hero .load { opacity: 1; transform: none; }
.js .stage .frame-web, .js .stage .frame-crm, .js .stage .phone, .js .stage .stage-tag { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); }
.js.is-ready .stage .frame-web { opacity: 1; transform: none; transition-delay: .35s; }
.js.is-ready .stage .frame-crm { opacity: 1; transform: translateY(var(--py2, 0)); transition-delay: .5s; }
.js.is-ready .stage .phone { opacity: 1; transform: translateY(var(--py3, 0)); transition-delay: .65s; }
.js.is-ready .stage .stage-tag { opacity: 1; transform: none; transition-delay: 1s; }
.js.is-ready .stage .stage-tag.t2 { transition-delay: 1.2s; }
.js.is-ready.is-settled .stage .frame-crm, .js.is-ready.is-settled .stage .phone { transition: transform .1s linear; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal, .js .hero .load, .js .stage .frame-web, .js .stage .frame-crm, .js .stage .phone, .js .stage .stage-tag { opacity: 1 !important; transform: none !important; transition: none !important; }
  .work .frame img.scroll { transition: none; }
  .msg { transition: none; }
}

/* 21. UTILIDADES ------------------------------------------- */
.mt-s { margin-top: 16px; } .mt-m { margin-top: 28px; } .mt-l { margin-top: 48px; }
.center { text-align: center; }
.badge { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 14px 0 6px; border-radius: 99px; background: var(--surface); border: 1px solid var(--line); font-size: 13.5px; font-weight: 500; color: var(--ink-2); }
.badge .pill { background: var(--ink); color: #fff; font-size: 11.5px; font-weight: 600; padding: 3px 9px; border-radius: 99px; }
.badge .live { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 3px var(--mint-soft); margin-left: 6px; }
.note { font-size: 13.5px; color: var(--muted); }
