@charset "UTF-8";
/* TRAMEA.IA — sistema visual. Base cálida y clara, tinta oscura, naranja como acento.
   Tipografías alojadas en la propia web: Instrument Sans (texto) e Instrument Serif (acentos). */

@font-face {
  font-family:'Instrument Sans';
  src:url('assets/fonts/instrument-sans.woff2') format('woff2');
  font-weight:400 700;
  font-style:normal;
  font-display:swap;
}
@font-face {
  font-family:'Instrument Serif';
  src:url('assets/fonts/instrument-serif-italic.woff2') format('woff2');
  font-weight:400;
  font-style:italic;
  font-display:swap;
}

:root {
  --orange:#ff8e41;
  --peach:#fcba76;
  --paper:#fbfafa;
  --ink:#202020;
  --accent:#c9580c;        /* acento para texto grande sobre fondo claro */
  --accent-ink:#9a4306;    /* acento para texto pequeño sobre fondo claro */
  --peach-50:#fdf1e4;
  --peach-100:#fbe1c4;
  --cream:#f6f1ea;
  --ink-soft:#3b3631;
  --muted:#5d564f;
  --line:#e4ddd3;
  --line-strong:#cfc5b8;
  --dark:#1d1c1b;
  --dark-2:#2a2826;
  --dark-line:#ffffff24;
  --on-dark:#f3eee8;
  --on-dark-muted:#bfb6ab;
  --radius:20px;
  --shadow:0 1px 2px #2020200a,0 18px 40px -18px #5a361640;
  --shadow-lg:0 2px 4px #2020200a,0 30px 60px -24px #5a36164d;
  --max:1240px;
  --gutter:clamp(20px,5vw,72px);
  --section:clamp(76px,10vw,140px);
  --sans:'Instrument Sans',system-ui,-apple-system,'Segoe UI',Roboto,Arial,sans-serif;
  --serif:'Instrument Serif',Georgia,'Times New Roman',serif;
}

/* ---------- Base ---------- */
*,*::before,*::after { box-sizing:border-box; }
html { scroll-behavior:smooth; -webkit-text-size-adjust:100%; }
body {
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font:400 17px/1.6 var(--sans);
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
a { color:inherit; }
button,input,textarea { font:inherit; color:inherit; }
button { cursor:pointer; }
img,video { display:block; max-width:100%; height:auto; }
h1,h2,h3,h4,p,figure,blockquote,dl,dd { margin:0; }
ul,ol { margin:0; padding:0; list-style:none; }
h1,h2,h3,h4 { font-weight:500; line-height:1.05; letter-spacing:-.035em; text-wrap:balance; }
h1 em,h2 em,h3 em,.footer-brandline em {
  font-family:var(--serif);
  font-style:italic;
  font-weight:400;
  letter-spacing:-.01em;
  color:var(--accent);
}
p { text-wrap:pretty; }
::selection { background:var(--peach); color:var(--ink); }
:focus-visible { outline:3px solid var(--accent-ink); outline-offset:4px; border-radius:6px; }
[hidden] { display:none!important; }
section[id],[id].demo { scroll-margin-top:84px; }

.wrap { width:calc(100% - var(--gutter)*2); max-width:var(--max); margin-inline:auto; }
.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; }
.skip-link { position:fixed; top:-100px; left:16px; z-index:100; padding:12px 16px; background:var(--ink); color:#fff; border-radius:10px; }
.skip-link:focus { top:12px; }

.eyebrow {
  display:flex;
  align-items:center;
  gap:12px;
  font-size:13px;
  font-weight:600;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--accent-ink);
}
.eyebrow .num {
  display:inline-grid;
  place-items:center;
  min-width:34px;
  height:24px;
  padding:0 8px;
  border:1px solid currentColor;
  border-radius:99px;
  font-size:12px;
  letter-spacing:.04em;
}
.lead { font-size:clamp(18px,1.5vw,20px); line-height:1.55; color:var(--muted); }

/* ---------- Buttons & links ---------- */
.button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:14px;
  min-height:54px;
  padding:14px 26px;
  border:1px solid var(--ink);
  border-radius:99px;
  background:var(--ink);
  color:var(--paper);
  font-size:16px;
  font-weight:600;
  line-height:1.2;
  text-decoration:none;
  transition:transform .2s ease,background .2s ease,box-shadow .2s ease;
}
.button span { font-size:20px; line-height:1; transition:transform .2s ease; }
.button:hover { transform:translateY(-2px); box-shadow:0 12px 24px -12px #20202080; }
.button:hover span { transform:translate(2px,-2px); }
.button-small { min-height:44px; padding:10px 18px; font-size:15px; }
.button-outline { background:transparent; color:var(--ink); }
.button-outline:hover { background:var(--ink); color:var(--paper); }
.button-light { background:var(--peach); border-color:var(--peach); color:var(--ink); }
.button-light:hover { background:var(--orange); border-color:var(--orange); }
.button-block { width:100%; }
.text-link {
  display:inline-flex;
  align-items:center;
  gap:10px;
  min-height:44px;
  font-size:16px;
  font-weight:600;
  text-decoration:none;
}
.text-link span {
  display:inline-grid;
  place-items:center;
  width:30px;
  height:30px;
  border:1px solid currentColor;
  border-radius:50%;
  font-size:15px;
  line-height:1;
  transition:background .2s,border-color .2s,color .2s;
}
.text-link:hover span { background:var(--orange); border-color:var(--orange); color:var(--ink); }

/* ---------- Header ---------- */
.site-header {
  position:sticky;
  top:0;
  z-index:50;
  background:#f6f1eae6;
  -webkit-backdrop-filter:saturate(1.4) blur(14px);
  backdrop-filter:saturate(1.4) blur(14px);
  border-bottom:1px solid transparent;
  transition:border-color .2s,background .2s;
}
.site-header.is-scrolled { border-bottom-color:var(--line); background:#fbfafae8; }
.header-inner {
  width:calc(100% - var(--gutter)*2);
  max-width:var(--max);
  margin-inline:auto;
  height:76px;
  display:flex;
  align-items:center;
  gap:28px;
}
.brand { display:block; width:170px; flex:none; }
.brand img { width:100%; height:auto; }
.site-header nav { display:flex; gap:4px; margin-left:auto; }
.site-header nav a {
  padding:10px 12px;
  border-radius:99px;
  font-size:15px;
  font-weight:500;
  text-decoration:none;
  transition:background .2s;
}
.site-header nav a:hover,.site-header nav a[aria-current=page] { background:#2020200d; }
.menu-toggle { display:none; }

/* ---------- Hero ---------- */
.hero {
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(60% 70% at 85% 30%,#fcd3a6 0,#fcd3a600 70%),
    radial-gradient(40% 50% at 70% 95%,#fde4c7 0,#fde4c700 70%),
    var(--cream);
}
.hero-grid {
  display:grid;
  grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr);
  gap:clamp(40px,6vw,96px);
  align-items:center;
  padding-block:clamp(36px,6vw,88px) clamp(40px,5vw,72px);
}
.hero h1 { font-size:clamp(46px,6.2vw,92px); line-height:.98; letter-spacing:-.045em; margin:22px 0 26px; }
.hero h1 em { letter-spacing:-.02em; }
.hero .lead { max-width:560px; color:var(--ink-soft); }
.hero-actions { display:flex; flex-wrap:wrap; align-items:center; gap:12px 28px; margin-top:34px; }
.hero-person { display:flex; align-items:center; gap:14px; margin-top:40px; padding-top:24px; border-top:1px solid var(--line-strong); max-width:560px; }
.hero-person img { width:52px; height:52px; border-radius:50%; object-fit:cover; flex:none; box-shadow:0 0 0 3px var(--paper); }
.hero-person p { font-size:15px; line-height:1.45; color:var(--muted); }
.hero-person strong { color:var(--ink); font-weight:600; }

.hero-visual { position:relative; min-width:0; max-width:460px; justify-self:end; width:100%; }

/* Selector de ejemplos. La barra del botón activo marca el tiempo hasta el siguiente. */
.scene-tabs {
  display:flex;
  gap:4px;
  width:max-content;
  max-width:100%;
  margin-bottom:24px;
  padding:5px;
  border:1px solid #ead9c5;
  border-radius:99px;
  background:#ffffffb3;
  overflow-x:auto;
  scrollbar-width:none;
}
.scene-tabs::-webkit-scrollbar { display:none; }
.scene-tab {
  position:relative;
  flex:none;
  min-height:40px;
  padding:8px 15px;
  border:0;
  border-radius:99px;
  background:transparent;
  font-size:14px;
  font-weight:600;
  color:var(--muted);
  white-space:nowrap;
  transition:background .2s,color .2s;
}
.scene-tab:hover { color:var(--ink); }
.scene-tab[aria-pressed=true] { background:var(--ink); color:var(--paper); }
.scene-tab i { position:absolute; left:15px; right:15px; bottom:6px; height:2px; border-radius:2px; background:var(--peach); transform:scaleX(0); transform-origin:left; opacity:0; }
.is-auto .scene-tab[aria-pressed=true] i { opacity:1; animation:fill 6.5s linear forwards; }
.is-auto:hover .scene-tab i,.is-auto:focus-within .scene-tab i,.is-offscreen .scene-tab i { animation-play-state:paused; }

/* Todos los ejemplos ocupan la misma celda: la altura no salta al cambiar. */
.scene-stage { display:grid; }
.scene { grid-area:1/1; display:flex; flex-direction:column; visibility:hidden; opacity:0; transition:opacity .3s ease,visibility 0s .3s; }
.scene.is-active { visibility:visible; opacity:1; transition:opacity .3s ease; }
.scene.is-active .flow-card { animation:rise .6s cubic-bezier(.2,.7,.2,1) both; }
.scene.is-active .flow-out { animation-delay:.3s; }
.scene.is-active .flow-done { animation-delay:.6s; }
.scene.is-active .check { animation:pop .4s 1s cubic-bezier(.3,1.6,.5,1) both; }

.flow-card {
  position:relative;
  z-index:1;
  background:var(--paper);
  border-radius:18px;
  padding:20px 22px;
  box-shadow:var(--shadow-lg);
}
.flow-label { display:block; font-size:12px; font-weight:600; letter-spacing:.06em; text-transform:uppercase; color:var(--muted); margin-bottom:8px; }
.flow-in { margin-right:12%; transform:rotate(-2deg); }
.flow-in p { font-size:16px; line-height:1.4; }
.flow-in .voice { margin:2px 0 10px; height:28px; }
.flow-card .bubble { display:block; max-width:none; background:var(--cream); box-shadow:none; font-size:15px; }
.flow-card .bubble-out { background:var(--peach-100); }
.attachment {
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-top:12px;
  padding:6px 12px 6px 6px;
  border:1px solid var(--line);
  border-radius:10px;
  font-size:14px;
  font-weight:500;
  background:#fff;
}
.attachment b { padding:3px 6px; border-radius:6px; background:#e5484d; color:#fff; font-size:11px; letter-spacing:.04em; }
.attachment b.tag-time { background:var(--ink); }
.flow-link { position:relative; display:flex; align-items:center; gap:12px; height:76px; padding-left:34px; }
.flow-link::before { content:''; position:absolute; left:58px; top:0; bottom:0; border-left:2px dashed #d8a676; }
.flow-link img { position:relative; width:52px; animation:hover 4s ease-in-out infinite; }
.flow-link span { position:relative; padding:6px 12px; border-radius:99px; background:var(--ink); color:var(--paper); font-size:13px; font-weight:600; }
.flow-out { margin-left:8%; }
.flow-out dl > div { display:flex; justify-content:space-between; gap:16px; padding:8px 0; border-top:1px solid var(--line); font-size:15px; }
.flow-out dt { color:var(--muted); }
.flow-out dd { font-weight:500; text-align:right; white-space:nowrap; font-variant-numeric:tabular-nums; }
.flow-out .total dd,.flow-out .total dt { color:var(--ink); font-weight:700; }
.flow-done {
  display:flex;
  align-items:center;
  gap:16px;
  margin:18px 4% 0 0;
  background:var(--ink);
  color:var(--paper);
  transform:rotate(1.5deg);
}
.flow-done .flow-label { color:var(--on-dark-muted); margin-bottom:2px; }
.flow-done p { font-size:16px; line-height:1.35; }
.done-num { min-width:46px; flex:none; font:italic 400 46px/1 var(--serif); letter-spacing:-.02em; color:var(--peach); text-align:center; font-variant-numeric:tabular-nums; }
.check { margin-left:auto; display:grid; place-items:center; width:34px; height:34px; border-radius:50%; background:var(--orange); color:var(--ink); font-weight:700; flex:none; }
.visual-caption { margin-top:18px; text-align:right; font-size:13px; color:var(--muted); }

.hero-steps {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  border-top:1px solid var(--line-strong);
}
.hero-steps a {
  display:flex;
  align-items:center;
  gap:14px;
  padding:22px 20px 26px 0;
  font-size:16px;
  font-weight:500;
  text-decoration:none;
}
.hero-steps a + a { padding-left:24px; border-left:1px solid var(--line-strong); }
.hero-steps span { display:grid; place-items:center; width:32px; height:32px; flex:none; border-radius:50%; background:var(--ink); color:var(--paper); font-size:14px; font-weight:600; }
.hero-steps a:hover { color:var(--accent-ink); }

/* ---------- Tools strip ---------- */
.tools-strip { border-block:1px solid var(--line); background:var(--paper); }
.tools-strip .wrap { display:flex; flex-direction:column; align-items:stretch; gap:14px; padding-block:22px 24px; }
.tools-strip p { flex:none; font-size:14px; font-weight:600; color:var(--muted); }
.tools-strip ul { display:flex; flex-wrap:wrap; justify-content:space-between; gap:10px 22px; }
.tools-strip li { display:flex; align-items:center; gap:8px; font-size:14.5px; font-weight:500; color:var(--ink-soft); white-space:nowrap; }
.tools-strip svg { width:20px; height:20px; flex:none; fill:none; stroke:var(--accent); stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; }

/* ---------- Section heads ---------- */
.section-head { margin-bottom:clamp(40px,5vw,64px); max-width:760px; }
.section-head h2 { font-size:clamp(40px,5.4vw,78px); margin:20px 0 22px; }
.section-head.split { display:grid; grid-template-columns:minmax(0,1.3fr) minmax(0,.7fr); gap:40px 80px; align-items:end; max-width:none; }
.section-head.split h2 { margin-bottom:0; }
.section-head.split .lead { padding-bottom:10px; }

/* ---------- Qué cambia ---------- */
.changes {
  padding-block:var(--section);
  background:linear-gradient(180deg,var(--paper) 0,var(--peach-50) 30%,var(--peach-50) 100%);
}
.ba-panel { animation:rise .4s ease both; }
.ba-panel:focus-visible { outline-offset:8px; border-radius:var(--radius); }
.before-after {
  display:grid;
  grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);
  gap:28px;
  align-items:stretch;
}
.ba-col { border-radius:var(--radius); padding:clamp(26px,3vw,40px); }
.ba-before { align-self:center; background:#efe6db; color:var(--ink-soft); }
.ba-after { display:flex; flex-direction:column; align-items:flex-start; background:var(--paper); box-shadow:var(--shadow-lg); }
.ba-arrow { align-self:center; }
.ba-label { font-size:13px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; margin-bottom:16px; color:var(--muted); }
.ba-after .ba-label { color:var(--accent-ink); }
.ba-chip {
  display:inline-flex;
  align-items:center;
  gap:10px;
  max-width:100%;
  padding:7px 14px 7px 8px;
  border-radius:99px;
  font-size:14px;
  font-weight:600;
  line-height:1.3;
  font-variant-numeric:tabular-nums;
}
.ba-chip b { display:grid; place-items:center; flex:none; width:22px; height:22px; border-radius:50%; font-size:12px; }
.ba-before .ba-chip { background:#2020200d; color:var(--ink-soft); }
.ba-before .ba-chip b::before { content:''; width:9px; height:9px; border-radius:50%; background:#d13438; box-shadow:0 0 0 4px #d1343826; }
.ba-after .ba-chip { background:var(--peach-50); color:var(--ink); }
.ba-after .ba-chip b { background:var(--orange); color:var(--ink); }
.ba-col h3 { margin:20px 0 18px; font-size:clamp(26px,2.4vw,34px); line-height:1.08; }
.ba-before h3 { color:var(--ink-soft); }
.ba-col li { position:relative; padding:11px 0 11px 36px; font-size:17px; line-height:1.4; border-top:1px solid #20202014; }
.ba-col li::before {
  content:'×';
  position:absolute;
  left:0;
  top:11px;
  display:grid;
  place-items:center;
  width:24px;
  height:24px;
  border-radius:50%;
  background:#2020201a;
  font-size:15px;
  line-height:1;
}
.ba-after li::before { content:'✓'; background:var(--orange); color:var(--ink); font-size:13px; font-weight:700; }
.ba-arrow img { width:78px; transform:rotate(90deg); filter:drop-shadow(0 8px 12px #c9580c33); }

.ba-after ul { flex:1; align-self:stretch; }
.ba-foot { align-self:stretch; display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:4px 20px; margin-top:8px; padding-top:16px; border-top:1px solid var(--line); }
.ba-tools { font-size:14px; font-weight:500; color:var(--muted); }
.ba-more {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:center;
  gap:8px 24px;
  margin-top:clamp(40px,5vw,64px);
  padding-top:28px;
  border-top:1px solid var(--line-strong);
  font-size:19px;
  color:var(--muted);
}

/* ---------- Ideas ---------- */
.ideas { padding-block:var(--section); background:var(--paper); }
.sector-filter { display:flex; flex-wrap:wrap; gap:10px; margin-bottom:32px; }
.sector-filter button {
  min-height:46px;
  padding:10px 18px;
  border:1px solid var(--line-strong);
  border-radius:99px;
  background:transparent;
  font-size:15px;
  font-weight:500;
  transition:background .2s,color .2s,border-color .2s;
}
.sector-filter button:hover { border-color:var(--ink); }
.sector-filter button[aria-pressed=true] { background:var(--ink); border-color:var(--ink); color:var(--paper); }
.idea-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; }
.idea {
  display:flex;
  flex-direction:column;
  padding:28px 28px 20px;
  border-radius:var(--radius);
  background:var(--cream);
  transition:transform .25s ease,box-shadow .25s ease,background .25s;
  animation:rise .35s ease both;
}
.idea:hover { transform:translateY(-4px); background:#fff; box-shadow:var(--shadow-lg); }
.idea-kind { align-self:flex-start; padding:5px 11px; border-radius:99px; font-size:12px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; }
.kind-sell { background:#ffd9bb; color:#7a3604; }
.kind-work { background:#e3e9dc; color:#34452a; }
.kind-office { background:#e2e2ee; color:#33335a; }
.kind-admin { background:#f3e4c4; color:#5a3f0a; }
.idea h3 { font-size:clamp(24px,2vw,28px); line-height:1.12; margin:20px 0 12px; }
.idea p { font-size:16px; color:var(--muted); }
.idea p:not(.idea-tools) { flex:1; }
.idea-tools { margin-top:20px; padding-top:14px; border-top:1px solid var(--line-strong); font-size:14px!important; color:var(--ink-soft)!important; font-weight:500; }
.idea .text-link { margin-top:4px; font-size:15px; }
.ideas-more { display:flex; justify-content:center; margin-top:32px; }
.ideas-cta {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px 40px;
  margin-top:clamp(40px,5vw,64px);
  padding-top:32px;
  border-top:1px solid var(--line);
}
.ideas-cta p { font-size:19px; color:var(--muted); max-width:620px; }
.ideas-cta strong { color:var(--ink); font-weight:600; }

/* ---------- Proceso ---------- */
.process { padding-block:var(--section); background:var(--dark); color:var(--on-dark); position:relative; overflow:hidden; }
.process .eyebrow { color:var(--peach); }
.process h2 em { color:var(--peach); }
.process .lead { color:var(--on-dark-muted); }
.steps { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:20px; counter-reset:step; }
.step {
  display:flex;
  flex-direction:column;
  padding:28px 26px 30px;
  border-radius:var(--radius);
  background:var(--dark-2);
  border:1px solid var(--dark-line);
}
.step-key { background:#3a2a1d; border-color:#fcba7666; }
.step-num { font:italic 400 52px/1 var(--serif); color:var(--peach); }
.step h3 { font-size:28px; margin:22px 0 12px; }
.step p { font-size:16px; color:var(--on-dark-muted); }
.step p:first-of-type { flex:1; }
.step-meta { margin-top:16px; padding-top:14px; border-top:1px solid var(--dark-line); font-size:15px!important; color:var(--on-dark)!important; flex:none!important; }
.step-meta + .step-meta { margin-top:0; }
.step-meta b { display:block; margin-bottom:2px; font-size:12px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:var(--peach); }
.process-extra { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:20px 72px; align-items:center; margin-top:56px; }
.audit { padding:30px; border-radius:var(--radius); border:1px dashed #fcba7680; }
.audit h3 { font-size:26px; margin-bottom:10px; }
.audit p { color:var(--on-dark-muted); font-size:16px; }
.audit .text-link { margin-top:10px; text-decoration-color:#ffffff40; }
.honesty p { font:italic 400 clamp(28px,2.8vw,38px)/1.2 var(--serif); letter-spacing:-.01em; }
.honesty cite { display:block; margin-top:16px; font-style:normal; font-size:15px; color:var(--on-dark-muted); }

/* ---------- Demos ---------- */
.demos { padding-block:var(--section); background:var(--cream); }
.demo-shell { padding:clamp(18px,3vw,36px); border-radius:28px; background:var(--paper); box-shadow:var(--shadow); }
.demo-tabs,.ba-tabs { display:inline-flex; flex-wrap:wrap; gap:6px; padding:6px; border-radius:99px; background:var(--cream); margin-bottom:28px; }
.ba-tabs { display:flex; width:max-content; max-width:100%; background:var(--paper); border:1px solid var(--line); }
.demo-tabs button,.ba-tabs button {
  min-height:46px;
  padding:10px 20px;
  border:0;
  border-radius:99px;
  background:transparent;
  font-size:15px;
  font-weight:600;
  color:var(--muted);
  transition:background .2s,color .2s;
}
.demo-tabs button:hover,.ba-tabs button:hover { color:var(--ink); }
.demo-tabs button[aria-selected=true],.ba-tabs button[aria-selected=true] { background:var(--ink); color:var(--paper); }
.demo-cols { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:20px; }
.demo-in,.demo-out { min-width:0; padding:clamp(20px,2.6vw,32px); border-radius:18px; }
.demo-in { border:1px solid var(--line); display:flex; flex-direction:column; }
.demo-out { background:var(--peach-50); min-height:320px; display:flex; flex-direction:column; }
.demo-label { font-size:13px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:var(--accent-ink); margin-bottom:18px; }
.sample { flex:1; border-left:3px solid var(--orange); padding-left:18px; margin-bottom:24px; }
.sample-meta { display:block; font-size:14px; color:var(--muted); margin-bottom:8px; }
.sample strong { display:block; font-size:20px; font-weight:600; letter-spacing:-.02em; margin-bottom:8px; }
.sample p { font-size:16px; color:var(--ink-soft); }
.voice { display:flex; align-items:center; gap:3px; height:36px; margin:6px 0 14px; }
.voice span { width:4px; border-radius:2px; background:var(--orange); }
.voice span:nth-child(4n+1) { height:30%; } .voice span:nth-child(4n+2) { height:80%; }
.voice span:nth-child(4n+3) { height:55%; } .voice span:nth-child(4n) { height:100%; }
.bubble { display:inline-block; max-width:94%; padding:12px 16px; border-radius:4px 16px 16px 16px; background:#fff; box-shadow:var(--shadow); font-size:16px; line-height:1.45; }
.bubble-out { border-radius:16px 4px 16px 16px; background:var(--peach-100); box-shadow:none; }
.demo-run { width:100%; }
.demo-empty { flex:1; display:grid; place-items:center; text-align:center; border:2px dashed #e9c9a6; border-radius:14px; padding:20px; color:var(--muted); font-size:16px; }
.demo-progress { display:grid; gap:10px; }
.demo-progress li {
  display:flex;
  align-items:center;
  gap:12px;
  font-size:16px;
  color:var(--muted);
  opacity:.35;
  transition:opacity .2s;
}
.demo-progress li::before { content:''; width:20px; height:20px; border-radius:50%; border:2px solid var(--line-strong); flex:none; }
.demo-progress li.is-active { opacity:1; color:var(--ink); }
.demo-progress li.is-active::before { border-color:var(--orange); border-right-color:transparent; animation:spin .7s linear infinite; }
.demo-progress li.is-done { opacity:1; color:var(--ink); }
.demo-progress li.is-done::before { content:'✓'; display:grid; place-items:center; background:var(--orange); border-color:var(--orange); font-size:11px; font-weight:700; }
.demo-result { animation:rise .4s ease both; }
.quote-head { font-size:15px; margin-bottom:10px; color:var(--muted); }
.quote-head b { color:var(--ink); }
.data-list > div { display:flex; justify-content:space-between; gap:16px; padding:10px 0; border-bottom:1px solid #d9b48c55; font-size:15px; }
.data-list dt { color:var(--ink-soft); }
.data-list dd { text-align:right; font-weight:500; white-space:nowrap; font-variant-numeric:tabular-nums; }
.data-list .total { border-bottom:0; font-size:17px; }
.data-list .total dt,.data-list .total dd { font-weight:700; color:var(--ink); }
.demo-note { margin-top:16px; font-size:14px; color:var(--muted); }
.demo-note b { color:var(--ink); font-weight:600; }
.review { display:flex; align-items:center; gap:14px; margin-top:20px; padding:16px 4px 0; border-top:1px solid var(--line); }
.review > span { display:grid; place-items:center; width:30px; height:30px; flex:none; border-radius:50%; background:var(--orange); font-size:14px; font-weight:700; }
.review p { flex:1; font-size:16px; color:var(--muted); }
.review strong { color:var(--ink); font-weight:600; }
.demo-reset { min-height:44px; padding:8px 14px; border:1px solid var(--line-strong); border-radius:99px; background:transparent; font-size:15px; font-weight:500; white-space:nowrap; }
.demo-reset:hover { border-color:var(--ink); }
.demo-footnote { margin-top:22px; font-size:14px; color:var(--muted); }

/* ---------- Quién ---------- */
.about { padding-block:var(--section); background:var(--paper); }
.about-grid { display:grid; grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr); gap:clamp(40px,7vw,110px); align-items:center; }
.about-photo { position:relative; max-width:480px; }
.about-photo > img:first-child { width:100%; aspect-ratio:4/5; object-fit:cover; object-position:50% 30%; border-radius:999px 999px 28px 28px; background:var(--cream); }
.about-fly { position:absolute; width:120px; right:-30px; bottom:40px; transform:rotate(-18deg); filter:drop-shadow(0 12px 18px #c9580c40); }
.about-copy h2 { font-size:clamp(44px,5.4vw,78px); margin:20px 0 28px; }
.about-copy > p:not(.eyebrow) { font-size:18px; color:var(--muted); margin-bottom:18px; max-width:600px; }
.facts { display:grid; grid-template-columns:1fr 1fr; gap:0 32px; margin:30px 0 22px; max-width:600px; }
.facts li { padding:14px 0; border-top:1px solid var(--line); }
.facts b { display:block; font-size:16px; font-weight:600; }
.facts span { font-size:15px; color:var(--muted); }

/* ---------- FAQ ---------- */
.faq { padding-block:0 var(--section); background:var(--paper); }
.faq-grid { display:grid; grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr); gap:40px 90px; align-items:start; }
.faq h2 { font-size:clamp(40px,4.6vw,64px); margin:20px 0 22px; }
.faq .lead a { color:var(--ink); font-weight:600; text-underline-offset:5px; }
.faq-list details { border-bottom:1px solid var(--line); }
.faq-list details:first-child { border-top:1px solid var(--line); }
.faq-list summary {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:24px;
  min-height:72px;
  padding:18px 0;
  font-size:19px;
  font-weight:500;
  letter-spacing:-.01em;
  cursor:pointer;
  list-style:none;
}
.faq-list summary::-webkit-details-marker { display:none; }
.faq-list summary > span { position:relative; width:34px; height:34px; flex:none; border-radius:50%; border:1px solid var(--line-strong); transition:background .2s,transform .25s; }
.faq-list summary > span::before,.faq-list summary > span::after { content:''; position:absolute; left:50%; top:50%; width:12px; height:1.5px; background:var(--ink); transform:translate(-50%,-50%); }
.faq-list summary > span::after { transform:translate(-50%,-50%) rotate(90deg); transition:transform .25s; }
.faq-list details[open] summary > span { background:var(--orange); border-color:var(--orange); }
.faq-list details[open] summary > span::after { transform:translate(-50%,-50%) rotate(0); }
.faq-list summary:hover { color:var(--accent-ink); }
.faq-list details > p { padding:0 60px 24px 0; font-size:17px; color:var(--muted); animation:rise .3s ease both; }
.faq-list details > p small { display:block; margin-top:10px; font-size:14px; }

/* ---------- Contacto ---------- */
.contact { padding-block:var(--section); background:var(--orange); position:relative; overflow:hidden; }
.contact-grid { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:clamp(40px,6vw,96px); align-items:center; }
.contact-copy { position:relative; }
.contact .eyebrow { color:var(--ink); }
.contact h2 { font-size:clamp(44px,5.6vw,82px); margin:20px 0 24px; }
.contact h2 em { color:var(--ink); }
.contact .lead { color:#3d230e; max-width:500px; }
.next-steps { display:grid; gap:10px; margin-top:32px; }
.next-steps li { display:flex; align-items:center; gap:14px; font-size:17px; font-weight:500; }
.next-steps span { display:grid; place-items:center; width:32px; height:32px; flex:none; border-radius:50%; border:1.5px solid var(--ink); font-size:14px; font-weight:700; }
.direct-channels { display:flex; flex-wrap:wrap; gap:12px; margin-top:32px; }
.direct-channels .button { background:transparent; color:var(--ink); }
.direct-channels .button:hover { background:var(--ink); color:var(--paper); }
.contact-fly { position:absolute; width:min(200px,34%); right:4%; bottom:-70px; transform:rotate(-22deg); mix-blend-mode:multiply; opacity:.5; pointer-events:none; }
.contact-card { position:relative; padding:clamp(24px,3.4vw,44px); border-radius:28px; background:var(--paper); box-shadow:0 40px 80px -30px #6b2f0866; }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:0 16px; }
form label { display:block; margin-bottom:18px; font-size:15px; font-weight:600; }
form label > span { font-weight:400; color:var(--muted); }
input,textarea {
  display:block;
  width:100%;
  min-height:52px;
  margin-top:8px;
  padding:13px 16px;
  border:1px solid var(--line);
  border-radius:12px;
  background:var(--cream);
  font-size:17px;
  font-weight:400;
  transition:border-color .2s,background .2s,box-shadow .2s;
}
textarea { min-height:128px; resize:vertical; line-height:1.5; }
input::placeholder,textarea::placeholder { color:#857c72; }
input:hover,textarea:hover { border-color:var(--line-strong); }
input:focus,textarea:focus { outline:none; background:#fff; border-color:var(--accent-ink); box-shadow:0 0 0 4px #ff8e4133; }
input[aria-invalid=true],textarea[aria-invalid=true] { border-color:#b42318; }
.form-error { margin:-4px 0 16px; padding:12px 14px; border-radius:10px; background:#fdecea; color:#8a1c12; font-size:15px; }
.form-privacy { margin-top:14px; font-size:14px; color:var(--muted); text-align:center; }
.form-privacy a { color:var(--ink); text-underline-offset:3px; }
#form-result { margin-top:20px; padding:18px; border-radius:14px; background:var(--peach-50); font-size:16px; }
#form-result strong { display:block; margin-bottom:4px; }
#form-result p { color:var(--muted); font-size:15px; }
#form-result .text-link { font-size:15px; }

/* ---------- Footer ---------- */
.site-footer { background:var(--paper); padding-block:24px 20px; }
.footer-brandline { display:flex; align-items:center; gap:24px; border-bottom:1px solid var(--line); overflow:hidden; }
.footer-animation { width:min(380px,46%); padding-block:16px; }
.footer-animation video { width:100%; }
.footer-brandline > p { margin-left:auto; font-size:clamp(22px,2.4vw,32px); line-height:1.15; letter-spacing:-.02em; text-align:right; }
.motion-control { display:grid; place-items:center; width:44px; height:44px; flex:none; border:1px solid var(--line-strong); border-radius:50%; background:transparent; font-size:15px; }
.footer-bottom { display:flex; flex-wrap:wrap; align-items:center; gap:8px 28px; padding-top:14px; font-size:14px; color:var(--muted); }
.footer-bottom nav { display:flex; flex-wrap:wrap; gap:0 20px; }
.footer-bottom a { display:inline-flex; align-items:center; min-height:44px; text-decoration:none; }
.footer-bottom a:hover { color:var(--ink); text-decoration:underline; text-underline-offset:4px; }
.back-top { margin-left:auto; gap:10px; }

/* ---------- Páginas interiores ---------- */
.page-hero { background:var(--cream); }
.page-hero .wrap { display:grid; grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr); gap:clamp(40px,6vw,96px); align-items:center; padding-block:clamp(40px,6vw,88px); }
.page-hero h1 { font-size:clamp(46px,6vw,88px); margin:22px 0 26px; line-height:1; }
.page-hero .lead { max-width:580px; color:var(--ink-soft); }
.page-hero .text-link { margin-top:22px; }
.page-hero figure img { width:100%; aspect-ratio:4/5; object-fit:cover; object-position:50% 30%; border-radius:999px 999px 28px 28px; }
.page-hero figcaption { display:flex; justify-content:space-between; gap:12px; padding-top:14px; font-size:15px; color:var(--muted); }
.page-hero figcaption strong { color:var(--ink); font-weight:600; }
.story { padding-block:clamp(40px,6vw,80px) var(--section); }
.story-block { display:grid; grid-template-columns:minmax(0,.7fr) minmax(0,1.3fr); gap:24px 80px; padding-block:clamp(36px,5vw,64px); border-top:1px solid var(--line); }
.story-block h2 { font-size:clamp(32px,3.4vw,46px); margin-top:18px; }
.story-body p { font-size:18px; color:var(--muted); margin-bottom:20px; max-width:680px; }
.story-body p:last-child { margin-bottom:0; }
.story-body blockquote { margin:28px 0 0; padding-left:24px; border-left:3px solid var(--orange); font:italic 400 clamp(26px,2.6vw,34px)/1.25 var(--serif); }
.story-body .button { margin-top:12px; }
.plain-page { width:calc(100% - var(--gutter)*2); max-width:820px; margin:clamp(40px,6vw,80px) auto var(--section); }
.plain-page h1 { font-size:clamp(42px,5vw,68px); margin:22px 0 28px; line-height:1.02; }
.plain-page h2 { font-size:28px; margin:40px 0 14px; padding-top:28px; border-top:1px solid var(--line); }
.plain-page p:not(.eyebrow) { font-size:18px; color:var(--muted); margin-bottom:18px; }
.plain-page .text-link { margin-top:16px; }

/* ---------- Motion ---------- */
@keyframes rise { from { opacity:0; transform:translateY(14px); } }
@keyframes pop { from { opacity:0; transform:scale(.4); } }
@keyframes hover { 0%,100% { transform:translateY(0) rotate(-4deg); } 50% { transform:translateY(-6px) rotate(3deg); } }
@keyframes spin { to { transform:rotate(360deg); } }
@keyframes fill { to { transform:scaleX(1); } }

/* ---------- Responsive ---------- */
@media (max-width:1240px) {
  .tools-strip ul { justify-content:flex-start; gap:12px 28px; }
}

@media (max-width:1100px) {
  .site-header nav a { padding:10px 9px; font-size:14px; }
  .steps { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .idea-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}

@media (max-width:900px) {
  .header-inner { height:66px; gap:12px; }
  .brand { width:148px; }
  .header-cta { margin-left:auto; }
  .menu-toggle {
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:6px;
    width:46px;
    height:46px;
    flex:none;
    border:1px solid var(--line-strong);
    border-radius:50%;
    background:transparent;
  }
  .menu-toggle span { width:18px; height:1.5px; background:var(--ink); transition:transform .2s; }
  .menu-toggle[aria-expanded=true] span:first-child { transform:translateY(3.75px) rotate(45deg); }
  .menu-toggle[aria-expanded=true] span:last-child { transform:translateY(-3.75px) rotate(-45deg); }
  .site-header nav {
    display:none;
    position:absolute;
    top:calc(100% + 8px);
    left:var(--gutter);
    right:var(--gutter);
    flex-direction:column;
    gap:2px;
    padding:12px;
    border:1px solid var(--line);
    border-radius:18px;
    background:var(--paper);
    box-shadow:var(--shadow-lg);
  }
  .site-header nav.is-open { display:flex; }
  .site-header nav a { padding:14px 14px; font-size:17px; }

  .hero-grid { grid-template-columns:minmax(0,1fr); }
  .hero-visual { justify-self:center; max-width:440px; }
  .section-head.split { grid-template-columns:1fr; gap:0; }
  .section-head.split .lead { padding-bottom:0; margin-top:20px; }
  .before-after { grid-template-columns:1fr; gap:12px; }
  .ba-arrow { justify-self:center; }
  .ba-arrow img { width:56px; transform:rotate(180deg); }
  .process-extra { grid-template-columns:1fr; }
  .demo-cols { grid-template-columns:1fr; }
  .about-grid { grid-template-columns:1fr; }
  .about-photo { max-width:400px; width:100%; margin-inline:auto; }
  .faq-grid { grid-template-columns:1fr; }
  .contact-grid { grid-template-columns:1fr; }
  .page-hero .wrap { grid-template-columns:1fr; }
  .page-hero figure { max-width:400px; width:100%; margin-inline:auto; }
  .story-block { grid-template-columns:1fr; }
}

@media (max-width:640px) {
  body { font-size:17px; }
  .header-cta { padding:9px 16px; }
  .header-cta span { display:none; }
  .eyebrow { font-size:12px; gap:10px; }
  .hero-grid { padding-block:28px 40px; gap:44px; }
  .hero h1 { font-size:clamp(42px,11.6vw,60px); margin:18px 0 20px; }
  .hero-actions { flex-direction:column; align-items:stretch; gap:6px; margin-top:28px; }
  .hero-actions .button { width:100%; }
  .hero-actions .text-link { justify-content:center; }
  .hero-person { margin-top:28px; }
  .flow-card { padding:16px 18px; }
  .scene-tabs { width:100%; margin-bottom:20px; }
  .scene-tab { flex:1 1 auto; padding:8px 9px; font-size:13px; }
  .scene-tab i { left:9px; right:9px; }
  .done-num { min-width:38px; font-size:40px; }
  .flow-done { gap:12px; }
  .flow-out dl > div { font-size:14px; }
  .flow-link { height:60px; }
  .hero-steps { grid-template-columns:1fr; }
  .hero-steps a { padding:14px 0; }
  .hero-steps a + a { padding-left:0; border-left:0; border-top:1px solid var(--line); }
  .tools-strip .wrap { flex-direction:column; align-items:flex-start; gap:12px; }
  .tools-strip ul { justify-content:flex-start; gap:12px 20px; }
  .tools-strip li { font-size:14px; gap:8px; }
  .tools-strip svg { width:18px; height:18px; }
  .section-head h2 { font-size:clamp(38px,10.4vw,52px); }
  .ba-col li { font-size:16px; padding-block:10px; }
  .ba-col li::before { top:10px; }
  .ba-tabs { flex-wrap:nowrap; overflow-x:auto; scrollbar-width:none; margin-bottom:20px; }
  .ba-tabs::-webkit-scrollbar { display:none; }
  .ba-tabs button { flex:none; padding:10px 14px; font-size:14px; white-space:nowrap; }
  .ba-col { padding:24px 22px; }
  .ba-col h3 { font-size:26px; margin:16px 0 14px; }
  .ba-chip { font-size:13px; }
  .ba-more { font-size:17px; }
  .sector-filter { flex-wrap:nowrap; overflow-x:auto; margin-inline:calc(var(--gutter)*-1); padding-inline:var(--gutter); padding-bottom:6px; scrollbar-width:none; scroll-snap-type:x proximity; }
  .sector-filter::-webkit-scrollbar { display:none; }
  .sector-filter button { flex:none; scroll-snap-align:start; }
  .idea-grid { grid-template-columns:1fr; gap:14px; }
  .idea { padding:24px 22px 16px; }
  .ideas-cta { flex-direction:column; align-items:stretch; }
  .ideas-cta .button { width:100%; }
  .steps { grid-template-columns:1fr; gap:12px; }
  .step { padding:24px 22px; }
  .step-num { font-size:44px; }
  .step h3 { font-size:26px; margin-top:14px; }
  .demo-shell { margin-inline:calc(var(--gutter)*-.5); border-radius:22px; }
  .demo-tabs { display:flex; flex-wrap:nowrap; max-width:100%; overflow-x:auto; scrollbar-width:none; }
  .demo-tabs::-webkit-scrollbar { display:none; }
  .demo-tabs button { flex:none; padding:10px 14px; font-size:14px; white-space:nowrap; }
  .demo-out { min-height:0; }
  .demo-empty { min-height:120px; }
  .review { flex-wrap:wrap; }
  .demo-reset { margin-left:44px; }
  .data-list > div { font-size:14px; }
  .about-fly { width:90px; right:-10px; }
  .facts { grid-template-columns:1fr; }
  .faq-list summary { font-size:18px; min-height:68px; }
  .faq-list details > p { padding-right:0; font-size:16px; }
  .contact h2 { font-size:clamp(42px,11.4vw,60px); }
  .contact-fly { display:none; }
  .form-row { grid-template-columns:1fr; }
  .contact-card { margin-inline:calc(var(--gutter)*-.5); border-radius:22px; }
  .footer-brandline { gap:12px; }
  .footer-animation { width:60%; }
  .footer-brandline > p { display:none; }
  .motion-control { margin-left:auto; }
  .footer-bottom { font-size:14px; }
  .back-top { margin-left:0; }
}

@media (max-width:360px) {
  .header-inner { gap:8px; }
  .brand { width:118px; }
  .header-cta { min-height:42px; padding:8px 13px; font-size:14px; }
  .menu-toggle { width:42px; height:42px; }
  .scene-tab { padding:8px 6px; font-size:12.5px; }
  .scene-tab i { left:6px; right:6px; }
}

@media (prefers-reduced-motion:reduce) {
  html { scroll-behavior:auto; }
  *,*::before,*::after { animation:none!important; transition:none!important; }
}
