/* ==========================================================
   InfoEstima — sistema visual basado en el anillo 3×3 del logo
   ========================================================== */
:root {
  --bg: #faf8f3;
  --bg-2: #f2eee5;
  --white: #ffffff;
  --ink: #2b2b26;          /* tinta del logo */
  --ink-soft: #4a4a43;
  --muted: #74746b;
  --line: #e3ded2;

  /* colores del anillo */
  --teal: #229a8a;
  --yellow: #fdc641;
  --crimson: #e5094f;
  --blue: #78a5dc;
  --teal-d: #177a6d;
  --blue-d: #3f73b5;
  --crimson-d: #c00742;
  --yellow-d: #b98500;
  --teal-t: #e3f3f0;
  --yellow-t: #fff5d9;
  --crimson-t: #fde6ee;
  --blue-t: #ebf2fb;

  /* alias para páginas internas */
  --red: var(--crimson); --green: var(--teal);
  --red-t: var(--crimson-t); --green-t: var(--teal-t);

  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1200px;
  --radius: 10px;
  --gap: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--yellow); color: var(--ink); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
[id] { scroll-margin-top: 92px; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 999; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; }

h1, h2, h3 { font-family: var(--font); font-stretch: 112%; font-weight: 800; letter-spacing: -.02em; line-height: 1.04; margin: 0; }
h4 { margin: 0; }
p { margin: 0 0 1em; }
.eyebrow, .kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 18px; }
.eyebrow::before, .kicker::before { content: ""; width: 14px; height: 14px; background: var(--k, var(--teal)); border-radius: 0 0 0 14px; }
.muted { color: var(--muted); }
.mono { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.serif { font-style: normal; }
mark { background: linear-gradient(transparent 58%, var(--yellow) 58%, var(--yellow) 92%, transparent 92%); color: inherit; padding: 0 .06em; }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; text-decoration: none; }
.logo img { height: 38px; width: auto; }

/* ---------- Cabecera ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(250,248,243,.95); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.site-header.scrolled { border-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 80px; gap: 24px; }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; font-size: 15.5px; font-weight: 600; color: var(--ink-soft); padding: 6px 0; position: relative; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--yellow); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }

.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 6px; background: var(--ink); color: #fff; font-weight: 700; font-size: 15.5px; line-height: 1.2; text-decoration: none; border: 2px solid var(--ink); transition: background .2s, color .2s, border-color .2s, transform .2s; }
.btn:hover { background: var(--teal); border-color: var(--teal); }
.btn.outline, .btn.ghost { background: transparent; color: var(--ink); }
.btn.outline:hover, .btn.ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn.dark { background: var(--ink); color: #fff; }
.btn.sm { padding: 10px 18px; font-size: 15px; }
.btn .arrow { width: 14px; height: 14px; }

.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 6px; border: 1px solid var(--line); position: relative; background: var(--white); }
.menu-toggle span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink); transition: transform .3s, top .3s; }
.menu-toggle span:nth-child(1) { top: 16px; }
.menu-toggle span:nth-child(2) { top: 25px; }
.menu-open .menu-toggle span:nth-child(1) { top: 20.5px; transform: rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { top: 20.5px; transform: rotate(-45deg); }
.mobile-menu { display: none; }


/* ---------- Secciones ---------- */
.section { padding: clamp(72px, 9vw, 124px) 0; }
.section.alt { background: var(--bg-2); }
.section.white { background: var(--white); }
.light { background: var(--bg-2); }
.section-head { max-width: 780px; margin-bottom: clamp(40px, 5vw, 64px); }
.h2 { font-size: clamp(32px, 4vw, 54px); }
.lead { font-size: clamp(18px, 1.4vw, 20px); color: var(--ink-soft); }
.section-head .lead { margin-top: 20px; }

/* Quiénes somos */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 80px); align-items: end; }
.about-quote { font-size: clamp(21px, 2vw, 26px); line-height: 1.45; color: var(--ink); margin: 0; font-weight: 500; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); margin-top: clamp(44px, 5vw, 64px); }
.value { background: var(--white); padding: 32px 30px; position: relative; border-radius: 4px; }
.values .value:first-child { border-radius: 40px 4px 4px 4px; }
.values .value:last-child { border-radius: 4px 40px 4px 4px; }
.value::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--c); border-radius: inherit; border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.value .ico { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 18px; background: var(--ct); border-radius: 0 0 0 24px; }
.value h3 { font-size: 25px; margin-bottom: 12px; }
.value p { color: var(--ink-soft); font-size: 16px; margin: 0; }
.value p + p { margin-top: 12px; }
.value .quote { font-weight: 600; color: var(--ink); font-size: 17px; }
.ngo { margin-top: var(--gap); border-radius: 4px 4px 40px 40px; background: var(--teal-t); padding: clamp(26px, 3.5vw, 40px); display: grid; grid-template-columns: auto 1fr auto; gap: clamp(20px, 3vw, 36px); align-items: center; }
.ngo .heart { width: 60px; height: 60px; border-radius: 50%; background: var(--white); display: grid; place-items: center; }
.ngo h3 { font-size: clamp(22px, 2vw, 27px); margin-bottom: 8px; }
.ngo p { margin: 0; color: var(--ink-soft); max-width: 64ch; }

/* Servicios: la cuadrícula del anillo */
.ring-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.cell { position: relative; background: var(--ct); padding: clamp(24px, 2.6vw, 36px); min-height: 280px; display: flex; flex-direction: column; text-align: left; border-radius: 4px; transition: transform .25s, box-shadow .25s; text-decoration: none; color: var(--ink); }
button.cell { width: 100%; }
.cell:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(43,43,38,.10); }
.cell h3 { font-size: clamp(22px, 2vw, 27px); margin: 18px 0 10px; }
.cell p { color: var(--ink-soft); font-size: 16px; margin: 0; }
.cell .ico { width: 48px; height: 48px; display: grid; place-items: center; background: var(--white); border-radius: 50%; }
.cell .ico svg { width: 24px; height: 24px; color: var(--cd); }
.cell .more { margin-top: auto; padding-top: 20px; font-weight: 700; font-size: 15px; display: inline-flex; gap: 8px; align-items: center; }
.cell .more svg { transition: transform .2s; }
.cell:hover .more svg { transform: translateX(4px); }
/* bordes exteriores coloreados, como el anillo */
.c00 { box-shadow: inset 7px 7px 0 var(--c); border-top-left-radius: 70px; }
.c10 { box-shadow: inset 0 7px 0 var(--c); }
.c20 { box-shadow: inset -7px 7px 0 var(--c); border-top-right-radius: 70px; }
.c01 { box-shadow: inset 7px 0 0 var(--c); }
.c21 { box-shadow: inset -7px 0 0 var(--c); }
.c02 { box-shadow: inset 7px -7px 0 var(--c); border-bottom-left-radius: 70px; }
.c12 { box-shadow: inset 0 -7px 0 var(--c); }
.c22 { box-shadow: inset -7px -7px 0 var(--c); border-bottom-right-radius: 70px; }
.c00 .ico, .c02 .ico { margin-left: 22px; }
.c20 h3, .c20 .ico { margin-right: 22px; }
.cell-center { display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 24px; min-height: 280px; background: var(--bg); border-radius: 50%; }
.cell-center h2 { font-size: clamp(24px, 2.4vw, 32px); }
.cell-center p { margin: 12px 0 0; color: var(--muted); font-size: 15px; max-width: 24ch; }
.services-intro { max-width: 70ch; margin: 0 auto clamp(36px, 4vw, 52px); text-align: center; color: var(--ink-soft); font-size: clamp(17px, 1.3vw, 19px); }
.cell.cta { background: var(--crimson); color: #fff; }
.cell.cta p { color: rgba(255,255,255,.9); }
.cell.cta .ico { background: rgba(255,255,255,.18); }
.cell.cta .ico svg { color: #fff; }

/* Diálogo de servicio */
dialog.svc-dialog { border: 0; padding: 0; border-radius: 6px 40px 6px 40px; width: min(880px, calc(100vw - 32px)); max-height: calc(100vh - 48px); background: var(--white); color: var(--ink); box-shadow: 0 30px 80px rgba(43,43,38,.25); }
dialog.svc-dialog::backdrop { background: rgba(43,43,38,.5); }
.dlg-head { padding: 34px 40px 22px; box-shadow: inset 0 8px 0 var(--c); display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; position: sticky; top: 0; background: var(--white); }
.dlg-head h3 { font-size: clamp(28px, 3vw, 38px); }
.dlg-close { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); flex: none; font-size: 22px; line-height: 1; }
.dlg-close:hover { background: var(--bg-2); }
.dlg-body { padding: 0 40px 40px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 36px; }
.dlg-body p { color: var(--ink-soft); font-size: 16.5px; }
.dlg-body h4 { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.dlg-body ul { list-style: none; margin: 0; padding: 0; }
.dlg-body li { padding: 10px 0 10px 26px; border-top: 1px solid var(--line); font-size: 15.5px; position: relative; color: var(--ink-soft); }
.dlg-body li::before { content: ""; position: absolute; left: 0; top: 17px; width: 12px; height: 12px; background: var(--c); border-radius: 0 0 0 12px; }

/* Método */
.steps { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--gap); list-style: none; margin: 0; padding: 0; counter-reset: s; }
.step { counter-increment: s; background: var(--white); padding: 26px 22px; border-radius: 4px; box-shadow: inset 0 6px 0 var(--c, var(--yellow)); }
.step:first-child { border-top-left-radius: 36px; } .step:last-child { border-top-right-radius: 36px; }
.step::before { content: "0" counter(s); display: block; font-weight: 800; font-stretch: 125%; font-size: 34px; line-height: 1; color: var(--c); margin: 10px 0 22px; }
.step h3 { font-size: 20px; margin-bottom: 8px; }
.step p { margin: 0; color: var(--ink-soft); font-size: 15px; line-height: 1.5; }
.method-note { margin-top: 44px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.method-note .big { font-size: clamp(24px, 2.4vw, 32px); font-weight: 800; font-stretch: 112%; line-height: 1.15; margin: 0; letter-spacing: -.01em; }
.method-note p { margin: 0; color: var(--ink-soft); }

/* Kit Digital */
.kit { background: var(--yellow-t); }
.kit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.kit-card { background: var(--white); padding: 30px 28px; display: flex; flex-direction: column; gap: 12px; text-decoration: none; border-radius: 4px; box-shadow: inset 0 6px 0 var(--c); transition: transform .25s; }
.kit-grid .kit-card:first-child { border-top-left-radius: 40px; } .kit-grid .kit-card:last-child { border-top-right-radius: 40px; }
.kit-card:hover { transform: translateY(-3px); }
.kit-card .tag { align-self: flex-start; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 5px 10px; border-radius: 3px; background: var(--ct); margin-top: 8px; }
.kit-card h3 { font-size: 24px; }
.kit-card p { margin: 0; color: var(--ink-soft); font-size: 16px; }
.kit-card .price { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: baseline; }
.kit-card .price strong { font-size: 24px; font-weight: 800; font-stretch: 112%; }
.kit-card .price small { color: var(--muted); }
.bono { margin-top: var(--gap); border-radius: 4px 4px 40px 40px; padding: clamp(26px, 3.5vw, 40px); background: var(--yellow); color: var(--ink); display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.bono h3 { font-size: clamp(24px, 2.6vw, 34px); max-width: 26ch; }

/* Contacto */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 6vw, 80px); }
.contact-info h2 { font-size: clamp(40px, 5vw, 66px); margin-bottom: 18px; }
.contact-info .lead { margin-bottom: 36px; }
.contact-list { display: grid; gap: 22px; }
.contact-list .item { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: start; }
.contact-list .ico { width: 48px; height: 48px; display: grid; place-items: center; background: var(--ct); border-radius: 0 0 0 24px; }
.contact-list .ico svg { width: 22px; height: 22px; color: var(--c); }
.contact-list .label { font-size: 12.5px; color: var(--muted); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; display: block; margin-bottom: 2px; }
.contact-list a, .contact-list address { font-style: normal; font-size: 18px; font-weight: 600; text-decoration: none; color: var(--ink); line-height: 1.45; }
.contact-list a:hover { color: var(--teal-d); }
.form-card { background: var(--white); border-radius: 4px 40px 4px 40px; padding: clamp(24px, 3.5vw, 44px); box-shadow: inset 0 7px 0 var(--teal); }
.form-card h3 { font-size: 26px; margin-bottom: 24px; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14.5px; font-weight: 600; color: var(--ink-soft); }
.field input, .field textarea { width: 100%; font: inherit; font-size: 16.5px; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 6px; padding: 12px 14px; transition: border-color .2s, background .2s, box-shadow .2s; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--teal); background: var(--white); box-shadow: 0 0 0 3px var(--teal-t); }
.hp { position: absolute; left: -9999px; }
.consent { grid-column: 1 / -1; display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: var(--ink-soft); line-height: 1.5; margin-top: 4px; }
.consent input { width: 19px; height: 19px; margin: 2px 0 0; accent-color: var(--teal); flex: none; }
.consent a { color: var(--ink); }
.legal-mini { grid-column: 1 / -1; font-size: 12.5px; color: var(--muted); line-height: 1.55; margin: 0; }
.form-foot { grid-column: 1 / -1; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.form-status { margin: 0; font-size: 15px; }
.form-status.ok { color: var(--teal-d); }
.form-status.err { color: var(--crimson-d); }

/* Pie */
.site-footer { background: var(--bg-2); padding: clamp(56px, 7vw, 84px) 0 30px; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 44px; }
.footer-top h4 { font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.footer-top ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-top a { text-decoration: none; color: var(--ink-soft); }
.footer-top a:hover { color: var(--teal-d); }
.footer-top .tag { font-size: 17px; font-weight: 600; color: var(--ink-soft); margin: 18px 0 0; max-width: 24ch; line-height: 1.4; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.footer-bottom nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { color: var(--ink); }
.colorbar { display: grid; grid-template-columns: 2fr 2fr 2fr 2fr; gap: 4px; height: 8px; background: var(--bg-2); }
.colorbar i:nth-child(1) { background: var(--teal); } .colorbar i:nth-child(2) { background: var(--yellow); } .colorbar i:nth-child(3) { background: var(--crimson); } .colorbar i:nth-child(4) { background: var(--blue); }
.funding { background: #fff; padding: 22px 0; border-top: 1px solid var(--line); }
.funding img { width: 100%; max-width: 900px; margin: 0 auto; height: auto; }

/* Aparición suave */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .06s; } .reveal.d2 { transition-delay: .12s; } .reveal.d3 { transition-delay: .18s; } .reveal.d4 { transition-delay: .24s; } .reveal.d5 { transition-delay: .3s; }

/* ---------- Páginas internas ---------- */
.page-hero { padding: clamp(50px, 7vw, 90px) 0 clamp(40px, 5vw, 60px); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(40px, 6vw, 76px); }
.page-hero h1 .serif { background: linear-gradient(transparent 58%, var(--yellow) 58%, var(--yellow) 92%, transparent 92%); }
.page-hero .lead { margin-top: 22px; max-width: 48ch; }
.breadcrumb { display: flex; gap: 8px; margin-bottom: 20px; }
.breadcrumb a { text-decoration: none; color: var(--muted); }
.breadcrumb a:hover { color: var(--ink); }

.solution { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(30px, 5vw, 70px); padding: clamp(46px, 6vw, 80px) 0; border-top: 1px solid var(--line); }
.solution:first-child { border-top: 0; padding-top: 0; }
.solution .side { position: sticky; top: 110px; align-self: start; }
.solution .side .badge { display: inline-flex; align-items: center; gap: 8px; }
.solution .side .badge i { width: 14px; height: 14px; background: var(--c); border-radius: 0 0 0 14px; }
.solution h2 { margin: 18px 0 14px; font-size: clamp(30px, 3.4vw, 46px); }
.solution .side p { color: var(--ink-soft); margin: 0 0 24px; max-width: 42ch; }
.solution .price-tag { display: inline-block; padding: 18px 22px; border-radius: 4px 24px 4px 24px; background: var(--white); box-shadow: inset 6px 0 0 var(--c); }
.solution .price-tag strong { display: block; font-size: 28px; font-weight: 800; font-stretch: 112%; }
.solution .price-tag span { color: var(--muted); font-size: 13.5px; }
.checklist { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 30px; }
.checklist li { break-inside: avoid; display: flex; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 15.5px; color: var(--ink-soft); }
.checklist li svg { flex: none; width: 18px; height: 18px; margin-top: 3px; color: var(--c); }
.solution .extra { margin-top: 24px; padding: 18px 22px; border-radius: 4px; background: var(--white); }
.solution h4 { margin: 30px 0 6px; }
.solution h4:first-child { margin-top: 0; }
.solution[style*="--blue"] { --c: var(--blue-d); }

.bonus-table { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); margin: 10px 0 50px; }
.bonus-cell { border-radius: 4px; padding: 28px; background: var(--white); box-shadow: inset 0 6px 0 var(--c); }
.bonus-table .bonus-cell:first-child { border-top-left-radius: 40px; } .bonus-table .bonus-cell:last-child { border-top-right-radius: 40px; }
.bonus-cell strong { display: block; font-size: clamp(44px, 5vw, 66px); font-weight: 800; font-stretch: 112%; line-height: 1; margin: 18px 0 6px; }
.bonus-cell strong sup { font-size: .45em; }
.bonus-cell span { color: var(--muted); }
.req { list-style: none; margin: 0; padding: 0; counter-reset: r; display: grid; grid-template-columns: 1fr 1fr; gap: 0 36px; }
.req li { counter-increment: r; display: grid; grid-template-columns: 48px 1fr; padding: 16px 0; border-top: 1px solid var(--line); color: var(--ink-soft); }
.req li::before { content: "0" counter(r); font-weight: 800; font-stretch: 125%; color: var(--teal); }

.legal { padding: clamp(50px, 7vw, 90px) 0 clamp(70px, 9vw, 120px); }
.legal-body { max-width: 760px; }
.legal-body h2 { font-size: clamp(22px, 2.1vw, 28px); margin: 2em 0 .5em; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body h3 { font-size: 18px; font-stretch: 100%; font-weight: 700; margin: 1.6em 0 .4em; }
.legal-body p, .legal-body li { color: var(--ink-soft); }
.legal-body ul { padding-left: 1.2em; }
.legal-body li { margin: .35em 0; }
.legal-body .card { background: var(--white); border-radius: 4px 24px 4px 24px; padding: 20px 24px; margin: 1.2em 0; box-shadow: inset 6px 0 0 var(--teal); }
.legal-body .card p { margin: .2em 0; }
.legal-layout { display: grid; grid-template-columns: 220px 1fr; gap: 56px; }
.legal-nav { position: sticky; top: 110px; align-self: start; display: grid; gap: 10px; }
.legal-nav a { text-decoration: none; color: var(--muted); }
.legal-nav a[aria-current="page"] { color: var(--ink); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
  .step:nth-child(3) { border-top-right-radius: 36px; } .step:last-child { border-top-right-radius: 4px; }
  .kit-grid { grid-template-columns: 1fr; }
  .kit-grid .kit-card:last-child { border-top-right-radius: 4px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .solution { grid-template-columns: 1fr; }
  .solution .side { position: static; }
}
@media (max-width: 860px) {
  body { font-size: 16px; }
  .nav-links, .nav > .btn { display: none; }
  .menu-toggle { display: block; }
  .nav { height: 68px; }
  .logo img { height: 30px; }
  .mobile-menu { display: block; position: fixed; inset: 68px 0 0 0; z-index: 45; background: var(--bg); padding: 24px var(--gutter); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s, visibility .25s; }
  .menu-open .mobile-menu { opacity: 1; transform: none; visibility: visible; }
  .mobile-menu ul { list-style: none; margin: 0 0 30px; padding: 0; }
  .mobile-menu li a { display: block; text-decoration: none; font-weight: 800; font-stretch: 112%; font-size: 28px; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .mobile-menu .contact-mini { display: grid; gap: 8px; color: var(--ink-soft); }
  .mobile-menu .contact-mini a { text-decoration: none; }
  .hero-grid, .about, .contact-grid, .method-note, .bono, .ngo { grid-template-columns: 1fr; }
  .hero-ring { max-width: 210px; margin: 0 0 8px; order: -1; }
  .values { grid-template-columns: 1fr; }
  .values .value:first-child { border-radius: 40px 40px 4px 4px; } .values .value:last-child { border-radius: 4px; }
  .ring-grid { grid-template-columns: 1fr 1fr; }
  .cell-center { grid-column: 1 / -1; order: -1; border-radius: 4px; min-height: 0; padding: 0 0 18px; background: transparent; align-items: flex-start; text-align: left; }
  .cell, .c00, .c10, .c20, .c01, .c21, .c02, .c12, .c22 { border-radius: 4px; box-shadow: inset 0 6px 0 var(--c); min-height: 0; }
  .c00 .ico, .c02 .ico { margin-left: 0; } .c20 h3, .c20 .ico { margin-right: 0; }
  .form { grid-template-columns: 1fr; }
  .bonus-table, .req { grid-template-columns: 1fr; }
  .checklist { columns: 1; }
  .dlg-head { padding: 26px 22px 18px; }
  .dlg-body { grid-template-columns: 1fr; padding: 0 22px 28px; gap: 20px; }
  .legal-layout { grid-template-columns: 1fr; gap: 24px; }
  .legal-nav { position: static; display: flex; flex-wrap: wrap; gap: 8px 18px; }
}
@media (max-width: 600px) {
  .ring-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step:nth-child(2) { border-top-right-radius: 36px; } .step:nth-child(3) { border-top-right-radius: 4px; }
  .footer-top { grid-template-columns: 1fr; }
  .hero-ctas .btn { flex: 1 1 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .001s !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Aviso de cookies ---------- */
.cookie-box { position: fixed; left: 16px; bottom: 16px; z-index: 200; width: min(460px, calc(100vw - 32px)); background: var(--white); color: var(--ink); border-radius: 4px 32px 4px 32px; box-shadow: inset 0 7px 0 var(--teal), 0 20px 50px rgba(43,43,38,.22); padding: 28px 26px 22px; opacity: 0; transform: translateY(14px); transition: opacity .25s, transform .25s; }
.cookie-box.show { opacity: 1; transform: none; }
.cookie-box h2 { font-size: 21px; margin: 4px 0 10px; }
.cookie-box p { font-size: 14.5px; line-height: 1.55; color: var(--ink-soft); margin: 0 0 16px; }
.cookie-box p a { color: var(--ink); }
.cookie-prefs { display: grid; gap: 10px; margin: 0 0 16px; }
.cookie-opt { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 14px; background: var(--bg); border-radius: 6px; cursor: pointer; }
.cookie-opt strong { display: block; font-size: 15px; }
.cookie-opt small { display: block; font-size: 13px; color: var(--muted); line-height: 1.4; }
.cookie-opt input { appearance: none; -webkit-appearance: none; width: 44px; height: 26px; border-radius: 13px; background: var(--line); position: relative; flex: none; cursor: pointer; transition: background .2s; margin: 0; }
.cookie-opt input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .2s; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.cookie-opt input:checked { background: var(--teal); }
.cookie-opt input:checked::after { transform: translateX(18px); }
.cookie-opt input:disabled { opacity: .6; cursor: default; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.cookie-actions .btn { flex: 1 1 auto; justify-content: center; }
.cookie-link { font-weight: 700; font-size: 14.5px; text-decoration: underline; text-underline-offset: 3px; padding: 8px 6px; }
@media (max-width: 600px) { .cookie-box { left: 8px; right: 8px; bottom: 8px; width: auto; padding: 24px 18px 18px; } }
.cookie-box[hidden], .cookie-box [hidden] { display: none !important; }

/* ---------- Bandas fotográficas ---------- */
.photo-band { padding: clamp(8px, 2vw, 24px) 0 clamp(56px, 7vw, 96px); }
.pb { position: relative; margin: 0; }
.pb-img { position: relative; overflow: hidden; aspect-ratio: 1600 / 459; border-radius: 4px 120px 4px 4px; background: var(--bg-2); }
.pb-r .pb-img { border-radius: 120px 4px 4px 4px; }
.pb-img img { position: absolute; left: 0; top: -9%; width: 100%; height: 118%; object-fit: cover; will-change: transform; }
.pb figcaption { position: absolute; left: clamp(16px, 4vw, 48px); bottom: 0; transform: translateY(50%); background: var(--white); padding: 18px 24px 18px 22px; border-radius: 0 0 0 28px; max-width: min(460px, calc(100% - 32px)); display: flex; flex-direction: column; gap: 4px; box-shadow: 0 18px 40px rgba(43,43,38,.10); }
.pb-r figcaption { left: auto; right: clamp(16px, 4vw, 48px); border-radius: 0 0 28px 0; }
.pb figcaption strong { font-size: clamp(26px, 2.6vw, 36px); font-weight: 800; font-stretch: 118%; line-height: 1; letter-spacing: -.02em; }
.pb figcaption span { color: var(--ink-soft); font-size: 15.5px; line-height: 1.45; }
.pb figcaption::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: var(--c, var(--teal)); }
.photo-band:nth-of-type(odd) .pb { --c: var(--yellow); }
.photo-band[aria-label="Cruzar."] .pb { --c: var(--blue); }
.photo-band[aria-label="Crear."] .pb { --c: var(--crimson); }
.photo-band[aria-label="Crecer."] .pb { --c: var(--teal); }

/* ==========================================================
   v8 · Portada de estudio de diseño y desarrollo web
   ========================================================== */

/* ---------- Marco de navegador reutilizable ---------- */
.bw { background: var(--white); border-radius: 12px; overflow: hidden; box-shadow: 0 1px 0 var(--line), 0 30px 60px -28px rgba(43,43,38,.38); }
.bw-bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; background: #f1ede4; border-bottom: 1px solid var(--line); flex: none; }
.bw-bar i { width: 9px; height: 9px; border-radius: 50%; background: #d9d3c5; }
.bw-bar i:nth-child(1) { background: var(--crimson); } .bw-bar i:nth-child(2) { background: var(--yellow); } .bw-bar i:nth-child(3) { background: var(--teal); }
.bw-url { margin-left: 10px; flex: 1; max-width: 240px; height: 18px; border-radius: 9px; background: var(--white); font-size: 11px; line-height: 18px; padding: 0 10px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- Portada ---------- */
.hero { padding: clamp(36px, 5vw, 72px) 0 clamp(64px, 8vw, 110px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(36px, 3.9vw, 56px); font-weight: 780; letter-spacing: -.025em; }
.hero .lead { font-size: clamp(18px, 1.4vw, 20px); color: var(--ink-soft); max-width: 46ch; margin: 26px 0 34px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-points { list-style: none; margin: 34px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 24px; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: var(--ink-soft); }
.hero-copy > * { animation: rise .8s cubic-bezier(.2,.8,.2,1) both; }
.hero-copy > :nth-child(2) { animation-delay: .08s; } .hero-copy > :nth-child(3) { animation-delay: .16s; } .hero-copy > :nth-child(4) { animation-delay: .24s; } .hero-copy > :nth-child(5) { animation-delay: .32s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }

.hero-visual { position: relative; container-type: inline-size; aspect-ratio: 1 / .84; }
/* fondo: el anillo convertido en cuatro losetas */
.hv-blob { position: absolute; inset: 2% 0 2% 12%; }
.hv-blob { background:
  linear-gradient(var(--teal-t), var(--teal-t)) 0 0 / calc(50% - 3px) calc(50% - 3px) no-repeat,
  linear-gradient(var(--yellow-t), var(--yellow-t)) 100% 0 / calc(50% - 3px) calc(50% - 3px) no-repeat,
  linear-gradient(var(--blue-t), var(--blue-t)) 0 100% / calc(50% - 3px) calc(50% - 3px) no-repeat,
  linear-gradient(var(--crimson-t), var(--crimson-t)) 100% 100% / calc(50% - 3px) calc(50% - 3px) no-repeat;
  border-radius: 22cqw 4px 22cqw 4px; animation: rise 1s .1s both; }

.hv-browser { position: absolute; left: 0; top: 9%; width: 84%; container-type: inline-size; animation: rise .9s .15s cubic-bezier(.2,.8,.2,1) both; }
.wf { position: relative; padding: 4cqw 5cqw 5cqw; }
.wf-nav { display: flex; align-items: center; justify-content: space-between; gap: 3cqw; }
.wf-nav span { display: flex; gap: 2.4cqw; margin-left: auto; }
.wf-nav span i { width: 7cqw; height: 1.3cqw; border-radius: 1cqw; background: #e3ded2; }
.wf-logo { width: 14cqw; height: 3cqw; border-radius: .8cqw; background: var(--ink); }
.wf-btn { width: 10cqw; height: 3.6cqw; border-radius: .9cqw; background: var(--ink); }
.wf-hero { display: grid; grid-template-columns: 1.15fr .85fr; gap: 5cqw; align-items: center; margin-top: 6cqw; }
.wf-text { display: grid; gap: 1.8cqw; }
.wf .l1, .wf .l2 { height: 3.8cqw; border-radius: .8cqw; background: var(--ink); }
.wf .l1 { width: 100%; } .wf .l2 { width: 72%; }
.wf .l3 { width: 88%; height: 1.5cqw; border-radius: .8cqw; background: #d9d3c5; margin-top: 1cqw; }
.wf-cta { width: 18cqw; height: 5cqw; border-radius: 1.1cqw; background: var(--crimson); margin-top: 1.6cqw; }
.wf-img { aspect-ratio: 1; border-radius: 1.4cqw 9cqw 1.4cqw 1.4cqw; background: var(--yellow-t); display: grid; place-items: center; }
.wf-img img { width: 66%; height: auto; }
.wf-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.4cqw; margin-top: 6cqw; }
.wf-cards i { height: 13cqw; border-radius: 1cqw; background: color-mix(in srgb, var(--c) 16%, white); box-shadow: inset 0 .8cqw 0 var(--c); }

/* animación de construcción */
.hero-visual .b { animation: build .7s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(var(--i) * .13s + .45s); }
.hero-visual .l1, .hero-visual .l2, .hero-visual .l3 { transform-origin: left center; animation-name: grow; }
@keyframes build { from { opacity: 0; transform: translateY(10px) scale(.94); } }
@keyframes grow { from { opacity: 0; transform: scaleX(0); } }
/* el cursor «diseña»: pulsa el botón y elige una tarjeta */
.hv-cursor { position: absolute; left: 0; top: 0; z-index: 3; filter: drop-shadow(0 3px 4px rgba(0,0,0,.2)); animation: cursor 8s 2.2s cubic-bezier(.45,0,.25,1) infinite both; }
@keyframes cursor {
  0%   { transform: translate(70cqw, 70cqw); opacity: 0; }
  6%   { opacity: 1; }
  24%  { transform: translate(15cqw, 44cqw); }
  28%  { transform: translate(15cqw, 44cqw) scale(.82); }
  32%  { transform: translate(15cqw, 44cqw); }
  56%  { transform: translate(48cqw, 61cqw); }
  80%  { transform: translate(48cqw, 61cqw); }
  94%  { transform: translate(84cqw, 30cqw); opacity: 1; }
  100% { transform: translate(84cqw, 30cqw); opacity: 0; }
}
.hv-browser .wf-cta { animation: build .7s cubic-bezier(.2,.8,.2,1) calc(4 * .13s + .45s) both, press 8s 2.2s infinite; }
@keyframes press { 0%, 26% { transform: none; filter: none; } 29% { transform: scale(.93); filter: brightness(1.12); } 33%, 100% { transform: none; filter: none; } }
.hv-browser .wf-cards i:nth-child(2) { animation: build .7s cubic-bezier(.2,.8,.2,1) calc(6 * .13s + .45s) both, pick 8s 2.2s infinite; }
@keyframes pick { 0%, 54% { transform: none; box-shadow: inset 0 .8cqw 0 var(--c); } 60%, 82% { transform: translateY(-1.6cqw); box-shadow: inset 0 .8cqw 0 var(--c), 0 3cqw 4cqw -2cqw rgba(43,43,38,.35); } 90%, 100% { transform: none; box-shadow: inset 0 .8cqw 0 var(--c); } }

.hv-phone { position: absolute; right: 2%; bottom: 0; width: 25%; aspect-ratio: 9 / 18.5; padding: 1.1cqw; background: var(--ink); border-radius: 4.4cqw; box-shadow: 0 30px 50px -24px rgba(43,43,38,.5); animation: rise .9s .5s cubic-bezier(.2,.8,.2,1) both, float 7s 1.6s ease-in-out infinite; }
.wf-m { height: 100%; background: var(--white); border-radius: 3.4cqw; padding: 3cqw 2.2cqw; display: grid; align-content: start; gap: 1.8cqw; overflow: hidden; }
.wf-m .wf-logo { width: 8cqw; height: 1.8cqw; }
.wf-burger { width: 3.4cqw; height: 2cqw; border-radius: .4cqw; background: linear-gradient(var(--ink) 0 22%, transparent 22% 39%, var(--ink) 39% 61%, transparent 61% 78%, var(--ink) 78%); }
.wf-m .wf-img { border-radius: 1cqw 5cqw 1cqw 1cqw; margin-top: 1cqw; }
.wf-m .l1, .wf-m .l2 { height: 2cqw; border-radius: .5cqw; }
.wf-m .wf-cta { width: 100%; height: 3.4cqw; margin: .6cqw 0 0; border-radius: .8cqw; }
.wf-m .wf-card { height: 9cqw; border-radius: 1cqw; background: color-mix(in srgb, var(--c) 16%, white); box-shadow: inset 0 .6cqw 0 var(--c); margin-top: .6cqw; }

.hv-chip { position: absolute; z-index: 4; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px 9px 11px; background: var(--white); border-radius: 999px; font-size: 14px; font-weight: 700; white-space: nowrap; box-shadow: 0 12px 28px -12px rgba(43,43,38,.35), 0 0 0 1px var(--line); }
.hv-chip svg { color: var(--c); }
.chip-a { left: 50%; top: 2%; animation: rise .7s 1.5s both, float 6s 2.2s ease-in-out infinite; }
.chip-b { right: 23%; bottom: 7%; animation: rise .7s 1.75s both, float 6.5s 2.5s ease-in-out infinite reverse; }
.chip-c { left: -2%; bottom: 13%; animation: rise .7s 2s both, float 7s 2.8s ease-in-out infinite; }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }

/* ---------- Productos (trabajo propio) ---------- */
.work-section { padding-top: clamp(40px, 5vw, 72px); }
.work { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: clamp(32px, 5vw, 76px); align-items: center; margin-bottom: clamp(72px, 9vw, 128px); }
.work-r .work-visual { order: -1; }
.work-text { display: flex; flex-direction: column; gap: 14px; }
.work-text .tag { align-self: flex-start; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 5px 10px; border-radius: 3px; background: var(--ct); }
.prod-name { font-size: clamp(36px, 3.6vw, 52px); font-weight: 600; font-stretch: 112%; letter-spacing: -.025em; line-height: 1; margin-top: 4px; }
.prod-name b { font-weight: 800; color: var(--cd); }
.prod-claim { margin: 0; font-size: clamp(19px, 1.6vw, 22px); font-weight: 650; line-height: 1.35; }
.work-text p:not(.prod-claim) { margin: 0; color: var(--ink-soft); }
.ticks { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 9px; font-size: 16px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .15em; width: 20px; height: 20px; border-radius: 50%; background: var(--ct) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12.5 4 4L18 8.5' fill='none' stroke='%232b2b26' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.prod-foot { margin-top: 10px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.prod-price { font-size: 15px; font-weight: 600; color: var(--muted); }
.work .btn:hover { background: var(--cd); border-color: var(--cd); }

.work-visual { position: relative; padding: 8% 12% 10% 6%; }
.work-visual::before { content: ""; position: absolute; inset: 0; background: var(--ct); border-radius: 4px 140px 4px 140px; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.work-r .work-visual { padding: 8% 6% 10% 12%; }
.work-r .work-visual::before { border-radius: 140px 4px 140px 4px; }
.frame-desk { position: relative; transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.frame-desk img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.frame-phone { position: absolute; right: 3%; bottom: 3%; width: 23%; padding: 5px; background: var(--ink); border-radius: 22px; box-shadow: 0 24px 40px -18px rgba(43,43,38,.55); transform: translateY(calc(var(--py, 0) * 1px)); transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.work-r .frame-phone { right: auto; left: 3%; }
.frame-phone img { width: 100%; height: auto; aspect-ratio: 9 / 18; object-fit: cover; object-position: top; border-radius: 17px; }
.work:hover .frame-desk { transform: translateY(-6px); }
.work:hover .work-visual::before { transform: scale(1.015); }
.work-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: clamp(24px, 3vw, 34px) clamp(24px, 3.5vw, 40px); background: var(--white); border-radius: 4px 40px 4px 40px; box-shadow: inset 7px 0 0 var(--yellow); }
.work-cta p { margin: 0; font-size: 18px; color: var(--ink-soft); max-width: 62ch; }
.work-cta strong { color: var(--ink); }

/* ---------- Diseño adaptable (demo interactiva) ---------- */
.rs-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.rs-copy .lead { margin: 20px 0 26px; }
.rs-tabs { display: inline-flex; gap: 4px; padding: 4px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; }
.rs-tab { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 8px; font-weight: 700; font-size: 15px; color: var(--ink-soft); transition: background .2s, color .2s; }
.rs-tab:hover { color: var(--ink); background: var(--bg-2); }
.rs-tab[aria-pressed="true"] { background: var(--ink); color: #fff; }
.feat { list-style: none; margin: 34px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 22px 26px; }
.feat li { display: flex; gap: 14px; align-items: flex-start; }
.feat .fi { flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--ct); color: var(--c); }
.feat strong { display: block; font-size: 17px; line-height: 1.3; }
.feat span:not(.fi) { display: block; color: var(--ink-soft); font-size: 15px; line-height: 1.5; margin-top: 2px; }

.rs-stage { position: relative; height: clamp(380px, 40vw, 540px); display: grid; place-items: center; border-radius: 4px 48px 4px 48px; background-color: var(--white); background-image: radial-gradient(#d9d3c5 1.2px, transparent 1.3px); background-size: 22px 22px; box-shadow: 0 0 0 1px var(--line); overflow: hidden; }
.rs-device { display: flex; flex-direction: column; width: 92%; height: 76%; background: var(--white); border: 0 solid var(--ink); border-radius: 12px; overflow: hidden; box-shadow: 0 1px 0 var(--line), 0 30px 60px -28px rgba(43,43,38,.4); transition: width .7s cubic-bezier(.65,0,.25,1), height .7s cubic-bezier(.65,0,.25,1), border-width .5s, border-radius .7s; }
.rs-device[data-mode="tab"] { width: min(62%, 380px); height: 90%; border-width: 10px; border-radius: 26px; }
.rs-device[data-mode="mob"] { width: min(40%, 220px); height: 90%; border-width: 8px; border-radius: 30px; }
.rs-device .bw-bar { transition: margin .5s; }
.rs-device:not([data-mode="desk"]) .bw-bar { margin-top: -31px; }
.rs-page { flex: 1; min-height: 0; overflow: hidden; container-type: inline-size; }
.rp { padding: 16px 20px 22px; display: grid; gap: 18px; }
.rs-device[data-mode="mob"] .rp { animation: rpScroll 7s 1s ease-in-out infinite alternate; }
@keyframes rpScroll { 0%, 15% { transform: none; } 85%, 100% { transform: translateY(-38%); } }
.rp-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.rp-nav .wf-logo { width: 74px; height: 14px; border-radius: 4px; }
.rp-links { display: flex; gap: 12px; }
.rp-links i { width: 38px; height: 7px; border-radius: 4px; background: #e3ded2; }
.rp .wf-burger { display: none; width: 18px; height: 12px; }
.rp-hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 20px; align-items: center; }
.rp-text { display: grid; gap: 9px; }
.rp-text i { height: 16px; border-radius: 4px; background: var(--ink); }
.rp-text .l2 { width: 70%; } .rp-text .l3 { height: 8px; width: 90%; background: #d9d3c5; margin-top: 4px; }
.rp-btns { display: flex; gap: 8px; margin-top: 8px; }
.rp-btns b { width: 76px; height: 24px; border-radius: 6px; background: var(--crimson); }
.rp-btns b + b { background: transparent; box-shadow: inset 0 0 0 2px var(--ink); }
.rp-img { aspect-ratio: 4 / 3; border-radius: 6px 34px 6px 6px; overflow: hidden; background: var(--teal-t); }
.rp-img img { width: 100%; height: 100% !important; object-fit: cover; }
.rp-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.rp-cards div { padding: 14px 12px; border-radius: 6px; background: color-mix(in srgb, var(--c) 15%, white); box-shadow: inset 0 4px 0 var(--c); display: grid; gap: 7px; }
.rp-cards b { width: 22px; height: 22px; border-radius: 50%; background: var(--white); }
.rp-cards i { height: 7px; border-radius: 4px; background: rgba(43,43,38,.55); }
.rp-cards i + i { width: 70%; background: rgba(43,43,38,.22); }
.rp-foot { display: flex; justify-content: space-between; padding-top: 14px; border-top: 1px solid var(--line); }
.rp-foot i { width: 30%; height: 7px; border-radius: 4px; background: #e3ded2; }
@container (max-width: 470px) {
  .rp-hero { grid-template-columns: 1fr; }
  .rp-img { aspect-ratio: 16 / 9; order: -1; }
}
@container (max-width: 300px) {
  .rp { padding: 14px 14px 20px; gap: 14px; }
  .rp-links { display: none; }
  .rp .wf-burger { display: block; }
  .rp-img { aspect-ratio: 4 / 3; }
  .rp-btns { flex-direction: column; } .rp-btns b { width: 100%; height: 28px; }
  .rp-cards { grid-template-columns: 1fr; }
  .rp-cards div { padding: 16px 12px; }
}

/* ---------- Método: línea de tiempo ---------- */
.timeline { --dot: 46px; position: relative; display: grid; grid-template-columns: repeat(6, 1fr); gap: 22px; list-style: none; margin: 0; padding: 0; counter-reset: s; }
.timeline::before, .timeline::after { content: ""; position: absolute; top: calc(var(--dot) / 2 - 2px); left: calc(var(--dot) / 2); right: calc(100% / 6 - var(--dot) / 2); height: 4px; border-radius: 2px; background: var(--line); }
.timeline::after { background: linear-gradient(90deg, var(--teal), var(--yellow), var(--crimson), var(--blue), var(--teal), var(--yellow)); transform: scaleX(0); transform-origin: left; transition: transform 1.6s cubic-bezier(.65,0,.25,1); }
.timeline.in::after { transform: none; }
.timeline li { counter-increment: s; position: relative; padding-top: calc(var(--dot) + 22px); opacity: 0; transform: translateY(14px); transition: opacity .6s, transform .6s; transition-delay: calc(var(--n, 0) * .2s + .1s); }
.timeline.in li { opacity: 1; transform: none; }
.timeline li::before { content: counter(s); position: absolute; left: 0; top: 0; z-index: 1; width: var(--dot); height: var(--dot); border-radius: 50%; display: grid; place-items: center; background: var(--white); box-shadow: inset 0 0 0 4px var(--c); font-weight: 800; font-stretch: 112%; font-size: 18px; }
.timeline li:nth-child(1) { --n: 0; } .timeline li:nth-child(2) { --n: 1; } .timeline li:nth-child(3) { --n: 2; } .timeline li:nth-child(4) { --n: 3; } .timeline li:nth-child(5) { --n: 4; } .timeline li:nth-child(6) { --n: 5; }
.timeline h3 { font-size: 21px; margin-bottom: 8px; }
.timeline p { margin: 0; color: var(--ink-soft); font-size: 15.5px; line-height: 1.5; }

/* ---------- Responsive v8 ---------- */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-visual { max-width: 640px; width: 100%; margin: 8px auto 0; }
  .rs-grid { grid-template-columns: minmax(0, 1fr); }
  .work, .work-r { grid-template-columns: minmax(0, 1fr); }
  .work-r .work-visual { order: 0; }
  .work-visual { max-width: 720px; }
  .timeline { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .timeline::before, .timeline::after { display: none; }
}
@media (max-width: 860px) {
  .hero-ring { display: none; }
  .hv-chip { font-size: 12.5px; padding: 7px 11px 7px 9px; }
  .feat { grid-template-columns: 1fr; }
  .rs-tabs { display: flex; } .rs-tab { flex: 1; justify-content: center; padding: 0 10px; }
}
@media (max-width: 600px) {
  .chip-c { display: none; }
  .chip-a { left: auto; right: 0; }
  .work-visual, .work-r .work-visual { padding: 7% 14% 9% 5%; }
  .work-visual::before, .work-r .work-visual::before { border-radius: 4px 64px 4px 64px; }
  .work-r .frame-phone { left: auto; right: 3%; }
  .frame-phone { width: 27%; border-radius: 16px; padding: 4px; } .frame-phone img { border-radius: 12px; }
  .bw-bar { height: 22px; padding: 0 8px; gap: 4px; } .bw-bar i { width: 6px; height: 6px; } .bw-url { height: 13px; line-height: 13px; font-size: 9px; }
  .rs-device:not([data-mode="desk"]) .bw-bar { margin-top: -23px; }
  .prod-foot { flex-direction: column; align-items: flex-start; }
  .rs-stage { height: 420px; }
  .rs-device[data-mode="tab"] { width: 78%; } .rs-device[data-mode="mob"] { width: 58%; }
  .timeline { grid-template-columns: 1fr; row-gap: 0; }
  .timeline::before, .timeline::after { display: block; top: 0; bottom: 0; left: calc(var(--dot) / 2 - 2px); right: auto; width: 4px; height: auto; }
  .timeline::after { transform: scaleY(0); transform-origin: top; background: linear-gradient(180deg, var(--teal), var(--yellow), var(--crimson), var(--blue), var(--teal), var(--yellow)); }
  .timeline.in::after { transform: none; }
  .timeline li { padding: 6px 0 28px calc(var(--dot) + 18px); min-height: var(--dot); }
  .work-cta { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-copy > *, .hv-blob, .hv-browser, .hv-phone, .hv-chip, .hero-visual .b, .hv-browser .wf-cta, .hv-browser .wf-cards i:nth-child(2), .rs-device .rp { animation: none !important; }
  .hv-cursor { display: none; }
  .timeline li, .timeline::after { transition: none; opacity: 1; transform: none; }
}
/* Salvaguarda: si el navegador no llega a ejecutar la entrada, todo queda visible */
.intro-done .hero-copy > *, .intro-done .hv-blob, .intro-done .hv-browser, .intro-done .hero-visual .b { animation: none; }
.intro-done .hv-browser .wf-cta { animation: press 8s infinite; }
.intro-done .hv-browser .wf-cards i:nth-child(2) { animation: pick 8s infinite; }
.intro-done .hv-phone { animation: float 7s ease-in-out infinite; }
.intro-done .hv-chip { animation: float 6.5s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .intro-done .hv-browser .wf-cta, .intro-done .hv-browser .wf-cards i, .intro-done .hv-phone, .intro-done .hv-chip { animation: none; } }
