
@font-face { font-family: "Bricolage Grotesque"; src: url("/brand/fonts/BricolageGrotesque-Variable.ttf") format("truetype"); font-style: normal; font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Plus Jakarta Sans"; src: url("/brand/fonts/PlusJakartaSans-Variable.ttf") format("truetype"); font-style: normal; font-weight: 200 800; font-display: swap; }

:root {
  --terracotta: #B84F35;
  --ivory: #FFF8EB;
  --forest: #24483E;
  --maize: #E8BA59;
  --turquoise: #A9D7D1;
  --rule: rgba(36, 72, 62, 0.20);
  --paper: #FFFDF7;
  --display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --body: "Plus Jakarta Sans", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --line: 1.5px solid var(--forest);
  --r: 14px;
  --wrap: 76rem;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-padding-top: calc(76px + env(safe-area-inset-top, 0px)); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--ivory); color: var(--forest); font-family: var(--body); font-size: 1rem; line-height: 1.6; overflow-wrap: break-word; }
h1, h2, h3 { font-family: var(--display); line-height: 1.02; margin: 0; text-wrap: balance; letter-spacing: -0.025em; }
p { margin: 0; }
a { color: inherit; }
img, video { display: block; max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid var(--forest); outline-offset: 3px; box-shadow: 0 0 0 6px var(--ivory); border-radius: 6px; }
.show :focus-visible, .uno :focus-visible, footer :focus-visible { outline-color: var(--maize); box-shadow: 0 0 0 6px var(--forest); }
.uno :focus-visible { box-shadow: 0 0 0 6px var(--terracotta); }
[hidden] { display: none !important; }
.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: absolute; left: 12px; top: -80px; z-index: 40; background: var(--forest); color: var(--ivory); padding: .75rem 1.1rem; border-radius: 999px; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; }
main:focus { outline: none; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.eyebrow { font-weight: 700; font-size: .8125rem; letter-spacing: .1em; text-transform: uppercase; }
.small { font-size: .875rem; }
.ico, .xolo-icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.chip { display: inline-flex; align-items: center; gap: .4rem; padding: .25rem .7rem; border-radius: 999px; border: var(--line); font-weight: 700; font-size: .75rem; line-height: 1.3; white-space: nowrap; color: var(--forest); }
.chip .ico, .chip .xolo-icon { width: 13px; height: 13px; }
.chip--maize { background: var(--maize); }
.chip--turq, .chip--impl { background: var(--turquoise); }
.chip--plain { background: transparent; }
.uno .chip { border-color: var(--ivory); }
.uno .chip--maize { border-color: var(--forest); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 48px; padding: .75rem 1.35rem; border-radius: 999px; border: var(--line); background: var(--forest); color: var(--ivory); font: 700 1rem/1.2 var(--body); text-decoration: none; cursor: pointer; transition: background-color .18s ease, color .18s ease, border-color .18s ease; }
.btn:hover { background: var(--terracotta); border-color: var(--terracotta); }
.btn--ghost { background: transparent; color: var(--forest); }
.btn--ghost:hover { background: var(--forest); color: var(--ivory); border-color: var(--forest); }
.btn .ico { width: 18px; height: 18px; }
.ulink { font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; display: inline-flex; gap: .4rem; align-items: center; min-height: 44px; transition: color .18s ease; }
.ulink:hover { color: var(--terracotta); }
.ulink .ico { width: 18px; height: 18px; }

/* ---- Cabecera ---- */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--ivory); border-bottom: var(--line); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 21; background: var(--ivory); }
.top .wrap { display: flex; align-items: center; gap: 1.75rem; min-height: 68px; }
.logo { display: inline-flex; align-items: center; min-height: 44px; }
.logo img { width: 96px; height: auto; }
.top nav.main ul { display: flex; gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
.top nav.main a { text-decoration: none; font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; border-bottom: 2px solid transparent; transition: border-color .18s ease; }
.top nav.main a:hover { border-bottom-color: var(--terracotta); }
.top nav.main a[aria-current="page"] { border-bottom-color: var(--forest); }
.top .cta { margin-left: auto; display: flex; gap: .75rem 1rem; align-items: center; }
.menu { display: none; }
.menu summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; padding: .35rem 1rem; border: var(--line); border-radius: 999px; font-weight: 700; transition: background-color .18s ease, color .18s ease; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary:hover, .menu[open] summary { background: var(--forest); color: var(--ivory); }
.menu summary .ico { width: 18px; height: 18px; }
.menu .on { display: none; }
.menu[open] .on { display: inline; }
.menu[open] .off { display: none; }
.menu-panel { position: absolute; left: 0; right: 0; top: 100%; background: var(--ivory); border-bottom: var(--line); padding: 1rem max(16px, env(safe-area-inset-right, 0px)) 1.5rem max(16px, env(safe-area-inset-left, 0px)); display: grid; gap: 1rem; max-height: calc(100svh - 70px); overflow-y: auto; }
.menu-panel ul { list-style: none; margin: 0; padding: 0; display: grid; }
.menu-panel li { border-bottom: 1.5px solid var(--rule); }
.menu-panel li a { display: flex; align-items: center; min-height: 48px; font-weight: 700; text-decoration: none; font-size: 1.125rem; }
.menu-panel li a[aria-current="page"] { color: var(--terracotta); text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.menu-panel .btn { justify-self: start; }
@media (max-width: 900px) { .top nav.main { display: none; } .menu { display: block; } }
@media (max-width: 560px) { .top .cta > .ulink, .top .cta > .btn { display: none; } .top .wrap { gap: 1rem; } }

/* ---- Hero partido ---- */
.hero { border-bottom: var(--line); }
.hero .grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.hero-copy { padding-block: 4rem; padding-left: max(16px, env(safe-area-inset-left, 0px), calc((100vw - var(--wrap)) / 2 + 16px)); padding-right: 3rem; display: grid; gap: 1.6rem; align-content: center; min-width: 0; }
.hero-copy > .chip, .hero-copy > .eyebrow { justify-self: start; }
.hero h1 { font-size: clamp(2.5rem, 6.6vw, 5.6rem); font-weight: 800; }
.hero h1.sm { font-size: clamp(2.25rem, 5.2vw, 4.4rem); }
.hero h1 em, .page-title em { font-style: normal; color: var(--terracotta); }
.hero .lead { font-size: 1.1875rem; max-width: 33rem; }
.hero .actions { display: flex; flex-wrap: wrap; gap: .75rem 1.25rem; align-items: center; }
.hero .fine { font-size: .875rem; max-width: 32rem; border-top: 1.5px solid var(--rule); padding-top: 1rem; }
.hero-side { background: var(--maize); border-left: var(--line); position: relative; display: grid; place-items: center; padding-block: 3.5rem; padding-left: 3rem; padding-right: max(16px, env(safe-area-inset-right, 0px), calc((100vw - var(--wrap)) / 2 + 16px)); min-width: 0; }
.hero-side.turq { background: var(--turquoise); }
.hero-side.forest { background: var(--forest); color: var(--ivory); }
.hero-side.terra { background: var(--terracotta); color: var(--ivory); }
.hero-side.ivory { background: var(--paper); }
.hero-side .guide { position: absolute; right: max(12px, calc((100vw - var(--wrap)) / 2 - 40px)); bottom: 0; width: 8.5rem; pointer-events: none; }
.hero-side .art-big { max-height: 18rem; width: auto; }
.crumb { font-size: .875rem; display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; }
.crumb a { font-weight: 600; text-underline-offset: 3px; }
.big-k { display: grid; gap: .5rem; justify-items: center; text-align: center; }
.big-k b { font: 800 clamp(5rem, 13vw, 10rem)/.85 var(--display); letter-spacing: -.04em; color: var(--maize); }
.big-k span { font-weight: 600; max-width: 18rem; }
.five { font-family: var(--display); font-weight: 800; font-size: clamp(8rem, 20vw, 16rem); line-height: .8; letter-spacing: -0.05em; color: var(--ivory); }
.five small { font-size: .4em; letter-spacing: 0; color: var(--maize); }
@media (max-width: 960px) {
  .hero .grid { grid-template-columns: 1fr; }
  .hero-copy { padding: 2.75rem max(16px, env(safe-area-inset-right, 0px)) 2.75rem max(16px, env(safe-area-inset-left, 0px)); }
  .hero-side { border-left: 0; border-top: var(--line); padding: 2.5rem max(16px, env(safe-area-inset-right, 0px)) 2.5rem max(16px, env(safe-area-inset-left, 0px)); }
  .hero-side.has-guide { padding-bottom: 6.5rem; }
  .hero-side .guide { width: 6rem; right: 16px; }
}

/* ---- Demo plana ---- */
.demo { width: min(100%, 26rem); background: var(--paper); border: var(--line); border-radius: var(--r); overflow: hidden; position: relative; z-index: 1; color: var(--forest); }
.demo-bar { display: flex; align-items: center; gap: .6rem; padding: .65rem 1rem; border-bottom: var(--line); font-size: .75rem; font-weight: 600; }
.demo-bar .dots { display: flex; gap: .3rem; }
.demo-bar .dots i { width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid var(--forest); }
.demo-bar .url { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.demo-body { padding: 1.4rem; display: grid; gap: 1rem; min-height: 21rem; align-content: start; }
.demo-head { display: flex; justify-content: space-between; gap: .5rem; align-items: center; flex-wrap: wrap; }
.step { display: grid; gap: 1rem; }
.file { display: flex; gap: .9rem; align-items: center; padding: .85rem 1rem; border: var(--line); border-radius: 10px; background: var(--ivory); }
.file .ext { width: 40px; height: 48px; border: var(--line); border-radius: 6px 12px 6px 6px; display: grid; place-items: center; font: 800 .7rem/1 var(--display); background: var(--turquoise); flex: none; }
.file b { display: block; word-break: break-all; }
.file small { font-size: .8125rem; }
.pause { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: center; }
.ring { width: 84px; height: 84px; position: relative; }
.ring svg { width: 84px; height: 84px; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 8; }
.ring .track { stroke: var(--rule); }
.ring .bar { stroke: var(--terracotta); stroke-linecap: round; stroke-dasharray: 214; stroke-dashoffset: 0; }
.ring span { position: absolute; inset: 0; display: grid; place-items: center; font: 800 2rem/1 var(--display); font-variant-numeric: tabular-nums; }
.pause h3 { font-size: 1.375rem; }
.hint { border-left: 4px solid var(--terracotta); background: var(--ivory); padding: .9rem 1rem; display: grid; gap: .3rem; }
.hint strong { font-family: var(--display); font-size: 1.125rem; }
.hint mark { background: none; color: var(--terracotta); font-weight: 800; }
.choices { display: grid; gap: .6rem; }
.result { border-left: 4px solid var(--forest); background: var(--turquoise); padding: .9rem 1rem; display: grid; gap: .3rem; }
.result strong { font-family: var(--display); font-size: 1.125rem; }
.linkbtn { background: none; border: 0; padding: .5rem 0; font: 700 .9375rem var(--body); color: var(--forest); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; justify-self: start; min-height: 44px; }
.linkbtn:hover { color: var(--terracotta); }
html:not(.js) #demo-start { display: none; }
html.js .demo-nojs { display: none; }

/* ---- Secciones genéricas ---- */
section.band { padding-block: 5.5rem; }
.band-paper { background: var(--paper); border-block: var(--line); }
.band-turq { background: var(--turquoise); border-block: var(--line); }
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem 3rem; align-items: end; margin-bottom: 3rem; padding-bottom: 1.5rem; border-bottom: var(--line); }
.sec-head .l { display: grid; gap: .75rem; }
.sec-head .r { display: grid; gap: 1rem; justify-items: start; }
.sec-head h2 { font-size: clamp(2rem, 4.6vw, 3.5rem); font-weight: 800; }
.sec-head p { font-size: 1.0625rem; max-width: 34rem; }
.legend { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; font-size: .875rem; align-items: center; }
.legend span { display: inline-flex; gap: .5rem; align-items: center; flex-wrap: wrap; }
@media (max-width: 860px) { .sec-head { grid-template-columns: 1fr; } section.band { padding-block: 3.5rem; } }
.stack { display: grid; gap: 1rem; }

/* ---- Showcase de video ---- */
.show { background: var(--forest); color: var(--ivory); border-bottom: var(--line); }
.show-bar { display: flex; justify-content: space-between; align-items: center; gap: 1rem 1.5rem; flex-wrap: wrap; padding-block: 1.25rem; }
.show-bar .ttl { display: flex; align-items: baseline; gap: .5rem 1rem; flex-wrap: wrap; }
.show-bar h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 800; }
.show-bar .eyebrow { color: var(--maize); }
.show-bar .ctrls { display: flex; gap: .75rem; flex-wrap: wrap; }
.stage-video { position: relative; width: min(100%, calc((100svh - 240px - env(safe-area-inset-top, 0px)) * 16 / 9)); min-width: min(100%, 36rem); aspect-ratio: 16 / 9; max-width: 100%; margin-inline: auto; background: var(--forest); overflow: hidden; }
html.js .stage-video { cursor: pointer; }
.stage-video video { width: 100%; height: 100%; object-fit: contain; }
.sound { display: inline-flex; align-items: center; gap: .7rem; min-height: 48px; padding: .35rem 1.1rem .35rem .35rem; border-radius: 999px; border: 1.5px solid var(--ivory); background: transparent; color: var(--ivory); font: 700 .9375rem/1.2 var(--body); cursor: pointer; transition: background-color .18s ease, color .18s ease; }
.sound:hover { background: var(--ivory); color: var(--forest); }
.sound .disc { width: 38px; height: 38px; border-radius: 50%; background: var(--maize); color: var(--forest); display: grid; place-items: center; flex: none; }
.sound .disc .ico { width: 20px; height: 20px; }
.sound .eq { display: none; gap: 2px; align-items: end; height: 14px; }
.sound .eq i { width: 3px; background: currentColor; border-radius: 2px; height: 40%; animation: eq 0.9s ease-in-out infinite; }
.sound .eq i:nth-child(2) { animation-delay: -.3s; } .sound .eq i:nth-child(3) { animation-delay: -.6s; }
@keyframes eq { 0%, 100% { height: 30%; } 50% { height: 100%; } }
.sound[data-on="true"] .eq { display: inline-flex; }
.sound .on, .sound[data-on="true"] .off { display: none; }
.sound[data-on="true"] .on { display: inline; }
.sound .ico-on { display: none; }
.sound[data-on="true"] .ico-on { display: block; }
.sound[data-on="true"] .ico-off { display: none; }
.sound[data-playing="true"] .ico-play, .sound[data-playing="false"] .ico-pause { display: none; }
html:not(.js) .show .ctrls, html:not(.js) .chapters { display: none; }
.chapters { list-style: none; margin: 0; padding: 0 0 1.25rem; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0 .75rem; }
.chapters li { min-width: 0; }
.chapters button { position: relative; width: 100%; text-align: left; background: none; border: 0; color: var(--ivory); padding: 1rem 0 0; cursor: pointer; display: grid; gap: .15rem; font: 600 .9375rem/1.3 var(--body); min-height: 48px; transition: color .18s ease; }
.chapters button::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: rgba(255, 248, 235, .3); }
.chapters button .fill { position: absolute; top: 0; left: 0; height: 3px; width: 0; background: var(--maize); }
.chapters button span { font-size: .75rem; font-variant-numeric: tabular-nums; opacity: .85; }
.chapters button[aria-current="true"], .chapters button:hover { color: var(--maize); }
@media (max-width: 760px) { .chapters { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: .5rem; } .stage-video { min-width: 0; } }

/* ---- Tres momentos ---- */
.moments { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.moment { display: grid; gap: .9rem; align-content: start; padding: 0 2rem 0 0; min-width: 0; }
.moment + .moment { padding-left: 2rem; border-left: 1.5px solid var(--rule); }
.moment .num { font: 800 4.5rem/0.9 var(--display); letter-spacing: -0.04em; }
.moment:nth-child(1) .num { color: var(--maize); }
.moment:nth-child(2) .num { color: var(--forest); }
.moment:nth-child(3) .num { color: var(--terracotta); }
.moment .when { display: flex; justify-content: space-between; gap: .5rem; flex-wrap: wrap; align-items: center; }
.moment h3 { font-size: 1.75rem; }
.moment .quote { font-family: var(--display); font-weight: 600; font-size: 1.0625rem; color: var(--terracotta); }
@media (max-width: 860px) { .moments { grid-template-columns: 1fr; gap: 2.25rem; } .moment, .moment + .moment { padding: 0; border-left: 0; } .moment + .moment { padding-top: 2.25rem; border-top: 1.5px solid var(--rule); } }

/* ---- Vistas previas de las apps ---- */
.apps-band { background: var(--turquoise); border-block: var(--line); }
.apps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; align-items: start; }
.app { display: grid; gap: 1rem; min-width: 0; }
.app .meta { display: grid; gap: .3rem; }
.app h3 { font-size: 1.5rem; }
.screen { background: var(--paper); border: var(--line); border-radius: 22px; padding: 1rem; display: grid; gap: .8rem; font-size: .875rem; aspect-ratio: 4 / 5; align-content: start; overflow: hidden; max-width: 100%; }
.screen.wide { border-radius: var(--r); }
.screen .sbar { display: flex; justify-content: space-between; align-items: center; font-weight: 700; font-size: .75rem; }
.screen .hello { display: flex; gap: .6rem; align-items: center; font: 700 1rem var(--display); }
.screen .av { width: 34px; height: 34px; border-radius: 50%; background: var(--maize); border: var(--line); overflow: hidden; display: grid; place-items: center; }
.screen .av img { width: 30px; }
.screen .mission { border: var(--line); border-radius: 12px; padding: .9rem; display: grid; gap: .5rem; background: var(--ivory); }
.screen .mission b { font: 800 1.25rem/1.1 var(--display); }
.screen .progress { height: 8px; border-radius: 99px; background: var(--rule); overflow: hidden; }
.screen .progress i { display: block; height: 100%; width: 33%; background: var(--terracotta); }
.screen .sbtn { background: var(--forest); color: var(--ivory); border-radius: 99px; text-align: center; padding: .6rem; font-weight: 700; }
.screen .tabs { display: flex; justify-content: space-around; border-top: 1.5px solid var(--rule); padding-top: .6rem; font-size: .75rem; font-weight: 600; margin-top: auto; }
.screen .item { display: flex; justify-content: space-between; gap: .5rem; align-items: center; border-bottom: 1.5px solid var(--rule); padding-block: .55rem; }
.screen .item:last-child { border-bottom: 0; }
.screen .q { background: var(--maize); border-radius: 10px; padding: .7rem .8rem; font-weight: 600; }
.screen .q.t { background: var(--turquoise); }
.screen .toast { border: var(--line); border-radius: 12px; background: var(--ivory); padding: .9rem; display: grid; gap: .55rem; }
.screen .toast .t { display: flex; gap: .6rem; align-items: center; font: 800 1.0625rem var(--display); }
.screen .mini-ring { width: 34px; height: 34px; border-radius: 50%; border: 4px solid var(--terracotta); border-right-color: var(--rule); display: grid; place-items: center; font: 800 .875rem var(--display); flex: none; }
.screen .page { display: grid; gap: .45rem; opacity: .55; }
.screen .page i { display: block; height: 9px; border-radius: 99px; background: var(--rule); }
.screen .w70 { width: 70%; } .screen .w85 { width: 85%; } .screen .w60 { width: 60%; } .screen .w80 { width: 80%; } .screen .w55 { width: 55%; }
@media (max-width: 960px) { .apps { grid-template-columns: 1fr; max-width: 26rem; margin-inline: auto; } }

/* ---- Caminos ---- */
.paths { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: var(--line); }
.path { display: grid; grid-template-rows: 9rem auto 1fr auto; gap: .9rem; padding: 2rem 2rem 2rem 0; text-decoration: none; min-width: 0; }
.path + .path { padding-left: 2rem; border-left: var(--line); }
.path .art { display: flex; align-items: end; }
.path .art img { max-height: 9rem; width: auto; }
.path .art .gov { width: 7rem; height: 7rem; border-radius: 50%; background: var(--maize); display: grid; place-items: center; }
.path .art .gov .ico { width: 50px; height: 50px; }
.path h3 { font-size: 1.875rem; }
.path:hover h3 { color: var(--terracotta); }
.path .ulink { text-decoration-color: currentColor; }
@media (max-width: 860px) { .paths { grid-template-columns: 1fr; } .path, .path + .path { padding: 2rem 0; border-left: 0; } .path + .path { border-top: var(--line); } .path { grid-template-rows: 7rem auto auto auto; } .path .art img { max-height: 7rem; } }

/* ---- Lista tipo carta (compromisos, aviso simplificado) ---- */
.letter-band { background: var(--paper); border-block: var(--line); }
.letter { display: grid; margin: 0; padding: 0; list-style: none; }
.letter .row { display: grid; grid-template-columns: 3rem minmax(0, 1fr) auto; gap: 1.25rem; align-items: baseline; padding-block: 1.25rem; border-bottom: 1.5px solid var(--rule); }
.letter .row .n { font: 800 1rem var(--display); color: var(--terracotta); font-variant-numeric: tabular-nums; }
.letter .row b { font-family: var(--display); font-size: clamp(1.25rem, 2.4vw, 1.75rem); font-weight: 700; display: block; line-height: 1.2; letter-spacing: -0.01em; }
.letter .row p { margin-top: .3rem; }
.letter .sign { padding-top: 1.5rem; display: flex; gap: 1rem 2rem; flex-wrap: wrap; justify-content: space-between; font-size: .9375rem; }
@media (max-width: 560px) { .letter .row { grid-template-columns: 2rem minmax(0, 1fr); } .letter .row .chip { grid-column: 2; justify-self: start; } }

/* ---- Uno por Uno ---- */
.uno { background: var(--terracotta); color: var(--ivory); }
.uno .wrap { padding-block: 5rem; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3rem; align-items: center; }
.uno.top-aligned .wrap { align-items: start; }
.uno .five { font-size: clamp(7rem, 20vw, 15rem); }
.uno h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; }
.uno .eyebrow { color: var(--ivory); }
.uno .col-l { display: grid; gap: 1.25rem; justify-items: start; }
.uno .col-r { display: grid; gap: 1.75rem; }
.uno .steps { display: grid; border-top: 1.5px solid rgba(255, 248, 235, .5); }
.uno .step { display: grid; grid-template-columns: 2.5rem minmax(0, 1fr); gap: 1rem; padding-block: 1rem; border-bottom: 1.5px solid rgba(255, 248, 235, .5); }
.uno .step .n { font: 800 1.5rem/1.2 var(--display); color: var(--ivory); }
.uno .btn { background: var(--ivory); color: var(--forest); border-color: var(--ivory); }
.uno .btn:hover { background: var(--maize); border-color: var(--maize); }
.uno a:not(.btn) { text-underline-offset: 3px; }
.arco { counter-reset: arco; list-style: none; margin: 0; padding: 0; display: grid; border-top: 1.5px solid rgba(255,248,235,.5); }
.arco li { counter-increment: arco; display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: 1rem; padding-block: 1.1rem; border-bottom: 1.5px solid rgba(255,248,235,.5); }
.arco li::before { content: counter(arco, decimal-leading-zero); font: 800 1.25rem/1.4 var(--display); color: var(--ivory); }
@media (max-width: 860px) { .uno .wrap { grid-template-columns: 1fr; padding-block: 3.5rem; } }

/* ---- FAQ y cierre ---- */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 3rem; }
.faq-grid h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; }
.faq-grid .l { display: grid; gap: .75rem; align-content: start; }
.faq { border-top: var(--line); }
.faq details { border-bottom: var(--line); }
.faq summary { cursor: pointer; padding: 1.15rem 0; font-family: var(--display); font-weight: 700; font-size: 1.25rem; display: flex; justify-content: space-between; gap: 1rem; list-style: none; min-height: 48px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--terracotta); }
.faq details[open] summary::after { content: "\2013"; }
.faq summary:hover { color: var(--terracotta); }
.faq details p { padding: 0 0 1.25rem; max-width: 40rem; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; gap: 1.5rem; } }
.closing { background: var(--maize); border-top: var(--line); }
.closing .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem; align-items: end; padding-top: 4rem; }
.closing .txt { display: grid; gap: 1.1rem; padding-bottom: 4rem; }
.closing h2 { font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 800; max-width: 18ch; }
.closing .ulink:hover { color: var(--forest); text-decoration-thickness: 3px; }
.closing .acts { display: flex; flex-wrap: wrap; gap: .75rem 1.25rem; align-items: center; }
.closing img { width: 12rem; }
@media (max-width: 640px) { .closing .wrap { grid-template-columns: 1fr; padding-top: 2.5rem; } .closing .txt { padding-bottom: 0; } .closing img { width: 8rem; justify-self: end; } }

footer { background: var(--forest); color: var(--ivory); }
footer .wrap { padding-block: 2.5rem; display: grid; gap: 1rem; font-size: .875rem; }
footer .links { display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; }
footer .links a { display: inline-flex; align-items: center; min-height: 32px; text-underline-offset: 3px; }
footer a:hover { color: var(--maize); }
footer .tag { font-family: var(--display); font-weight: 700; font-size: 1.25rem; }

/* ---- Columnas con reglas (sin tarjetas) ---- */
.cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cols--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cols--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.col { display: grid; gap: .8rem; align-content: start; padding-right: 2rem; min-width: 0; }
.col + .col { padding-left: 2rem; border-left: 1.5px solid var(--rule); }
.cols--4 .col { padding-right: 1.25rem; } .cols--4 .col + .col { padding-left: 1.25rem; }
.col .ic { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; border: var(--line); }
.col .ic.m { background: var(--maize); } .col .ic.t { background: var(--turquoise); } .col .ic.r { background: var(--terracotta); color: var(--ivory); } .col .ic.p { background: var(--paper); }
.col h3 { font-size: 1.5rem; }
.col .top-row { display: flex; justify-content: space-between; align-items: center; gap: .5rem; flex-wrap: wrap; }
@media (max-width: 1100px) { .cols--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2rem; } .cols--4 .col:nth-child(odd) { padding-left: 0; border-left: 0; } .cols--4 .col:nth-child(n+3) { padding-top: 2rem; border-top: 1.5px solid var(--rule); } }
@media (max-width: 860px) { .cols, .cols--2, .cols--4 { grid-template-columns: 1fr; gap: 2rem; } .col, .col + .col, .cols--4 .col, .cols--4 .col + .col { padding: 0; border-left: 0; } .col + .col, .cols--4 .col:nth-child(n+3) { padding-top: 2rem; border-top: 1.5px solid var(--rule); } .cols--4 .col:nth-child(2) { padding-top: 2rem; border-top: 1.5px solid var(--rule); } }

/* ---- Banda de dos columnas: texto | ejemplo ---- */
.duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3rem; align-items: center; }
.duo.top-aligned { align-items: start; }
.duo .txt { display: grid; gap: 1rem; justify-items: start; }
.duo h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; }
@media (max-width: 860px) { .duo { grid-template-columns: 1fr; gap: 2rem; } }
.example { border: var(--line); border-radius: var(--r); background: var(--paper); overflow: hidden; margin: 0; }
.example .ex-head { display: flex; justify-content: space-between; align-items: center; gap: .5rem; flex-wrap: wrap; padding: .7rem 1rem; border-bottom: var(--line); font-size: .8125rem; font-weight: 700; }
.example .ex-body { padding: 1.25rem; display: grid; gap: 1rem; }
.signal { display: grid; gap: .25rem; border-left: 4px solid var(--terracotta); padding: .25rem 0 .25rem 1rem; }
.signal.next { border-left-color: var(--forest); }
.signal .lbl { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.signal b { font-family: var(--display); font-size: 1.1875rem; line-height: 1.25; }

/* ---- Tablas planas ---- */
.xolo-table-wrap { overflow-x: auto; max-width: 100%; }
.xolo-table-wrap + .xolo-table-wrap { margin-top: 2.5rem; }
table.flat { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
table.flat caption { text-align: left; font-weight: 700; padding-bottom: .75rem; }
table.flat th, table.flat td { text-align: left; padding: .9rem 1rem .9rem 0; border-bottom: 1.5px solid var(--rule); vertical-align: top; }
table.flat thead th { border-bottom: var(--line); font-size: .8125rem; letter-spacing: .06em; text-transform: uppercase; }
table.flat td.num, table.flat th.num { text-align: right; padding-right: 0; white-space: nowrap; }
table.flat tbody th { font-family: var(--display); font-weight: 700; font-size: 1.0625rem; }
table.flat.wide { min-width: 44rem; }

/* ---- Precios de referencia ---- */
.prices { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: var(--line); }
.price { padding: 1.5rem 1.5rem 1.5rem 0; display: grid; gap: .6rem; align-content: start; min-width: 0; }
.price + .price { padding-left: 1.5rem; border-left: 1.5px solid var(--rule); }
.price h3 { font-size: 1.25rem; }
.price .amt { font: 800 clamp(1.75rem, 2.4vw, 2.25rem)/1 var(--display); overflow-wrap: anywhere; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.price .per { font-size: .875rem; }
.price .ulink { justify-self: start; }
.price.featured .amt { color: var(--terracotta); }
@media (max-width: 960px) { .prices { grid-template-columns: repeat(2, minmax(0, 1fr)); } .price:nth-child(3) { padding-left: 0; border-left: 0; } .price:nth-child(n+3) { border-top: 1.5px solid var(--rule); } }
@media (max-width: 520px) { .prices { grid-template-columns: 1fr; } .price, .price + .price { padding: 1.25rem 0; border-left: 0; } .price + .price { border-top: 1.5px solid var(--rule); } }
.validate { display: flex; gap: .75rem; align-items: flex-start; font-size: .9375rem; padding: 1rem 0; }
.validate .ico { margin-top: 2px; }
.after { display: grid; gap: .5rem; justify-items: start; margin-top: .5rem; }

/* ---- Gráfica k >= 10 (ejemplo ilustrativo) ---- */
.kchart svg { width: 100%; height: auto; display: block; }
.kchart .bar { fill: var(--turquoise); stroke: var(--forest); stroke-width: 1.5; }
.kchart .bar.hide { fill: var(--paper); stroke-dasharray: 5 4; }
.kchart text { fill: var(--forest); font-family: var(--body); font-size: 13px; }
.kchart .val { font-weight: 700; font-variant-numeric: tabular-nums; }
.kchart .axis { stroke: var(--forest); stroke-width: 1.5; }
.kchart .grid { stroke: var(--rule); stroke-width: 1; }
.kchart .warn { fill: var(--terracotta); font-weight: 700; }

/* ---- Avisos de estado y cifras ---- */
.notice { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1rem; padding: 1.25rem; border: var(--line); border-radius: var(--r); background: var(--paper); align-items: start; }
.notice .ico { width: 26px; height: 26px; }
.notice b { font-family: var(--display); font-size: 1.25rem; display: block; }
.notice[data-state="error"] { border-width: 2.5px; border-color: var(--terracotta); }
.notice[data-state="error"] .ico { color: var(--terracotta); }
.notice[data-state="warning"] { background: var(--maize); }
.notice[data-state="success"] { background: var(--turquoise); }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: var(--line); margin-top: 2rem; }
.stats > div { padding: 1.25rem 1.25rem 1.25rem 0; display: grid; gap: .3rem; min-width: 0; align-content: start; }
.stats > div + div { padding-left: 1.25rem; border-left: 1.5px solid var(--rule); }
.stats .xolo-stat__value { font: 800 2.5rem/1 var(--display); font-variant-numeric: tabular-nums; }
.stats .xolo-stat__value.empty { color: rgba(36, 72, 62, .6); }
.stats .xolo-stat__label { font-size: .875rem; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .stats > div:nth-child(3) { padding-left: 0; border-left: 0; } .stats > div:nth-child(n+3) { border-top: 1.5px solid var(--rule); } }

/* ---- Calculadora ---- */
.page-intro { padding-block: 3.5rem 2.5rem; }
.calc-section { padding-bottom: 2.5rem; }
.calc-links { padding-bottom: 4rem; }
.calc-links .wrap { display: grid; gap: .5rem; justify-items: start; }
.calc-section .wrap { display: grid; gap: 1rem; }
.page-intro .wrap { display: grid; gap: 1.25rem; justify-items: start; }
.page-intro .chips { display: flex; gap: .5rem; flex-wrap: wrap; }
.page-title { font-size: clamp(2.25rem, 5.5vw, 4.5rem); font-weight: 800; max-width: 18ch; }
.page-lead { font-size: 1.1875rem; max-width: 40rem; }
.calc { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); border: var(--line); border-radius: var(--r); overflow: hidden; background: var(--paper); }
.calc form { padding: 2rem; display: grid; gap: 1.5rem; align-content: start; min-width: 0; }
.calc .out { background: var(--maize); border-left: var(--line); padding: 2rem; display: grid; gap: 1rem; align-content: start; min-width: 0; }
.seg { display: flex; flex-wrap: wrap; border: var(--line); border-radius: 999px; padding: 4px; gap: 4px; width: fit-content; max-width: 100%; }
.seg button { min-height: 44px; border: 0; border-radius: 999px; padding: .5rem 1.1rem; background: transparent; color: var(--forest); font: 700 .9375rem var(--body); cursor: pointer; display: inline-flex; gap: .45rem; align-items: center; transition: background-color .18s ease, color .18s ease; }
.seg button .ico { width: 18px; height: 18px; }
.seg button:hover { background: var(--turquoise); }
.seg button[aria-pressed="true"] { background: var(--forest); color: var(--ivory); }
.field { display: grid; gap: .45rem; min-width: 0; align-content: start; }
.field label, .field legend { font-weight: 700; }
.field select, .field input[type="range"], .field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="number"], .field textarea { width: 100%; min-height: 48px; font: 600 1rem var(--body); color: var(--forest); }
.field select, .field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="number"], .field textarea { border: var(--line); border-radius: 10px; background: var(--ivory); padding: 0 .9rem; }
.field textarea { padding: .75rem .9rem; line-height: 1.5; resize: vertical; }
.field select { appearance: auto; }
.field input[type="range"] { accent-color: var(--terracotta); }
.field .help { font-size: .875rem; }
.field .err { display: flex; gap: .4rem; align-items: center; color: var(--terracotta); font-weight: 700; font-size: .9375rem; margin: 0; }
.field .err .ico { width: 18px; height: 18px; }
.field [aria-invalid="true"] { border-color: var(--terracotta); border-width: 2.5px; }
.row2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.25rem; align-items: start; }
.grp { display: grid; gap: 1.5rem; }
@media (max-width: 520px) { .row2 { grid-template-columns: 1fr; } }
.out .total { font: 800 clamp(2.5rem, 5vw, 3.5rem)/1 var(--display); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.out dl { margin: 0; display: grid; border-top: var(--line); }
.out dl div { display: flex; justify-content: space-between; gap: 1rem; padding-block: .6rem; border-bottom: 1.5px solid rgba(36,72,62,.25); font-variant-numeric: tabular-nums; }
.out dt { font-weight: 600; } .out dd { margin: 0; font-weight: 700; }
.out .uxu { border-left: 4px solid var(--forest); padding-left: .9rem; font-size: .9375rem; display: grid; gap: .5rem; }
.out .uxu .head { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.out .btn { justify-self: start; }
.out .btn:hover { color: var(--ivory); }
@media (max-width: 860px) { .calc { grid-template-columns: 1fr; } .calc .out { border-left: 0; border-top: var(--line); } .calc form, .calc .out { padding: 1.5rem; } }

/* ---- Centro de Privacidad y documentos legales ---- */
.subnav { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; border-bottom: var(--line); padding-block: .5rem; }
.subnav a { font-weight: 700; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; border-bottom: 2px solid transparent; transition: border-color .18s ease; }
.subnav a:hover { border-bottom-color: var(--terracotta); }
.kids { display: grid; grid-template-columns: minmax(0, .45fr) minmax(0, 1.55fr); gap: 2.5rem; align-items: start; }
.kids .art img { max-height: 20rem; width: auto; }
.kids h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; }
.kid-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2rem; margin: 0; padding: 0; list-style: none; }
.kid { display: grid; gap: .4rem; padding-block: 1.25rem; border-top: 1.5px solid var(--rule); min-width: 0; align-content: start; justify-items: start; }
.kid h3 { font-size: 1.375rem; }
@media (max-width: 860px) { .kids { grid-template-columns: 1fr; } .kids .art img { max-height: 12rem; } .kid-list { grid-template-columns: 1fr; } }
.legend-row { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; align-items: center; font-size: .9375rem; }
.legal-doc { max-width: 46rem; display: grid; gap: 1.5rem; }
.legal-doc h3 { font-size: 1.375rem; }
.legal-doc ul { margin: .5rem 0 0; padding-left: 1.25rem; display: grid; gap: .3rem; }
.legal-doc .stack { gap: .6rem; }
.legal-page { max-width: 52rem; display: grid; gap: 1.5rem; }
.legal-page h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); font-weight: 800; }
.legal-page .links { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; }
.markdown summary { cursor: pointer; font-weight: 700; min-height: 48px; display: flex; align-items: center; }
.markdown pre { white-space: pre-wrap; overflow-x: auto; background: var(--paper); border: var(--line); border-radius: 10px; padding: 1rem; font-size: .875rem; }
.card-flat { border: var(--line); border-radius: var(--r); background: var(--paper); padding: 1.5rem; display: grid; gap: 1rem; justify-items: start; }

/* ---- Formulario de contacto ---- */
.form { display: grid; gap: 1.25rem; max-width: 44rem; }
.form-wrap { display: grid; gap: 1.5rem; }
.form-wrap h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); font-weight: 800; }
.btn:disabled, .btn[aria-disabled="true"] { cursor: not-allowed; opacity: .65; }
.check { display: flex; gap: .75rem; align-items: center; min-height: 48px; cursor: pointer; font-weight: 600; }
.check input { min-height: 1.5rem; width: 1.5rem; flex-shrink: 0; margin: 0; cursor: pointer; accent-color: var(--forest); }
.hp { position: absolute; inset-inline-start: -10000px; width: 1px; height: 1px; overflow: hidden; }

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

/* ---- Inicio: hero compacto ---- */
.hero:has(#demo) .hero-copy { padding-block: 2rem 2.75rem; gap: 1.1rem; }
.hero:has(#demo) .lead { font-size: 1.125rem; }
.hero:has(#demo) .fine { padding-top: .75rem; }
.hero:has(#demo) .hero-side { padding-block: 2.5rem; }
@media (max-width: 960px) { .hero:has(#demo) .hero-copy { padding-block: 2.25rem; } }

/* ---- Inicio: barra de hechos verificables bajo el hero ---- */
.hm-factbar { background: var(--paper); border-bottom: var(--line); }
.hm-factbar .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.5rem; min-height: 56px; padding-block: .6rem; }
.hm-factbar > .wrap > .chip { flex: none; }
.hm-factbar ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem 1.75rem; flex: 1 1 auto; min-width: 0; }
.hm-factbar li { display: inline-flex; align-items: center; gap: .45rem; font-size: .9375rem; font-weight: 600; min-width: 0; }
.hm-factbar li .ico { width: 18px; height: 18px; }
@media (max-width: 640px) { .hm-factbar ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem 1rem; } }

/* ---- Inicio: cifras de contexto ---- */
.hm-stats .xolo-stat__label { font-size: .9375rem; }
.hm-stats .hm-src { font-size: .8125rem; }
.hm-stats .hm-src a { text-underline-offset: 3px; }
.hm-stats .hm-src a:hover { color: var(--terracotta); }
.hm-close { margin-top: 2.5rem; font-family: var(--display); font-weight: 600; font-size: clamp(1.125rem, 2.2vw, 1.5rem); line-height: 1.3; max-width: 44rem; border-left: 4px solid var(--terracotta); padding-left: 1.25rem; }
@media (max-width: 420px) {
  .hm-stats { grid-template-columns: minmax(0, 1fr); }
  .hm-stats > div, .hm-stats > div + div { padding: 1.25rem 0; border-left: 0; }
  .hm-stats > div + div { border-top: 1.5px solid var(--rule); }
}

/* ---- Inicio: rejillas de 6 (motor y aprender) ---- */
.hm-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem 2.5rem; }
.hm-grid article { display: grid; gap: .6rem; align-content: start; min-width: 0; padding-top: 1.25rem; border-top: 1.5px solid var(--rule); justify-items: start; }
.hm-grid .hm-row { display: flex; justify-content: space-between; align-items: center; gap: .5rem; flex-wrap: wrap; width: 100%; }
.hm-grid .ic { width: 48px; height: 48px; border-radius: 50%; border: var(--line); display: grid; place-items: center; background: var(--maize); flex: none; }
.hm-grid .ic.t { background: var(--turquoise); } .hm-grid .ic.r { background: var(--terracotta); color: var(--ivory); } .hm-grid .ic.p { background: var(--paper); }
.hm-grid h3 { font-size: 1.375rem; }
.hm-grid code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .9em; background: var(--paper); border: 1.5px solid var(--rule); border-radius: 6px; padding: .05em .35em; white-space: nowrap; }
.hm-grid .ulink { justify-self: start; }
@media (max-width: 960px) { .hm-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .hm-grid { grid-template-columns: 1fr; gap: 1.5rem; } }
.hm-foot { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem; align-items: start; margin-top: 3rem; }
.hm-foot--one { grid-template-columns: minmax(0, 1fr); }
.hm-foot .duo h3 { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 800; }
.hm-foot code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .9em; background: var(--ivory); border: 1.5px solid var(--rule); border-radius: 6px; padding: .05em .35em; overflow-wrap: anywhere; }
@media (max-width: 860px) { .hm-foot { grid-template-columns: 1fr; } }

/* ---- Inicio: ecosistema textual bajo las maquetas ---- */
.hm-eco { list-style: none; margin: 2.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2.5rem; border-top: var(--line); }
.hm-eco li { display: grid; gap: .5rem; padding-block: 1.25rem; border-bottom: 1.5px solid var(--rule); min-width: 0; align-content: start; }
.hm-eco .hm-row { display: flex; justify-content: space-between; gap: .5rem; align-items: center; flex-wrap: wrap; }
.hm-eco h3 { font-size: 1.375rem; }
@media (max-width: 760px) { .hm-eco { grid-template-columns: 1fr; } }

/* ---- Inicio: tablas planas con desplazamiento horizontal seguro ---- */
.hm-tablewrap { overflow-x: auto; margin-top: 2.5rem; }
.hm-tablewrap table.flat { min-width: 38rem; }
.hm-tablewrap table.flat caption { font-family: var(--display); font-size: 1.25rem; }
.hm-tablewrap td .chip { white-space: nowrap; }
.hm-tablewrap th[scope="row"] { min-width: 11rem; }
.hm-compare thead th:nth-child(3), .hm-compare td:nth-child(3) { background: var(--paper); padding-left: 1rem; }

/* ---- Inicio: línea de tiempo ---- */
.hm-timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 1.5rem; counter-reset: etapa; }
.hm-timeline li { counter-increment: etapa; position: relative; display: grid; gap: .6rem; align-content: start; justify-items: start; padding-top: 1.75rem; margin-top: 1rem; border-top: var(--line); min-width: 0; }
.hm-timeline li::before { content: counter(etapa); position: absolute; top: -1rem; left: 0; width: 2rem; height: 2rem; border-radius: 50%; border: var(--line); background: var(--ivory); display: grid; place-items: center; font: 800 .9375rem/1 var(--display); }
.hm-timeline li[data-now="true"]::before { background: var(--maize); }
.hm-timeline h3 { font-size: 1.25rem; }
.hm-note { margin-top: 2rem; max-width: 40rem; font-size: .9375rem; font-weight: 600; }
@media (max-width: 860px) { .hm-timeline { grid-template-columns: 1fr; gap: 1.5rem 0; } }

/* ---- Familias: lo que viven las familias ---- */
.fm-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 0; margin-bottom: 3rem; }
.fm-stats .fm-src { font-size: .8125rem; }
.fm-stats .fm-src a { text-underline-offset: 3px; display: inline-flex; align-items: center; min-height: 32px; }
.fm-stats .fm-src a:hover { color: var(--terracotta); }
@media (max-width: 760px) { .fm-stats { grid-template-columns: 1fr; } .fm-stats > div, .fm-stats > div + div { padding: 1rem 0; border-left: 0; } .fm-stats > div + div { border-top: 1.5px solid var(--rule); } }
.fm-scene .fm-you { font-family: var(--display); font-weight: 600; font-size: 1.0625rem; color: var(--terracotta); }
.fm-note { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1.5px solid var(--rule); max-width: 46rem; font-weight: 600; }
/* ---- Familias: una semana con Xolo ---- */
.fm-week { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: var(--line); }
.fm-day { display: grid; gap: .7rem; align-content: start; padding: 1.75rem 1.25rem 1.75rem 0; min-width: 0; }
.fm-day + .fm-day { padding-left: 1.25rem; border-left: 1.5px solid var(--rule); }
.fm-day .fm-when { font: 800 1.75rem/1 var(--display); letter-spacing: -0.02em; }
.fm-day:nth-child(odd) .fm-when { color: var(--terracotta); }
.fm-day h3 { font-size: 1.25rem; }
.fm-day .fm-where { display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; }
.fm-day .fm-aside { font-size: .875rem; font-weight: 600; }
.fm-day.fm-always { background: var(--maize); padding: 1.75rem 1.25rem; border-left: 0; margin-left: 0; }
@media (max-width: 1100px) { .fm-week { grid-template-columns: repeat(2, minmax(0, 1fr)); } .fm-day:nth-child(odd) { padding-left: 0; border-left: 0; } .fm-day:nth-child(n+3) { border-top: 1.5px solid var(--rule); } .fm-day.fm-always, .fm-day.fm-always:nth-child(odd) { grid-column: 1 / -1; padding: 1.75rem 1.25rem; } }
@media (max-width: 640px) { .fm-week { grid-template-columns: 1fr; } .fm-day, .fm-day + .fm-day { padding: 1.5rem 0; border-left: 0; } .fm-day + .fm-day { border-top: 1.5px solid var(--rule); } .fm-day.fm-always, .fm-day.fm-always:nth-child(odd) { padding: 1.5rem 1rem; } }
.fm-try { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; align-items: center; margin-top: 2rem; padding-top: 1.25rem; border-top: 1.5px solid var(--rule); }
.fm-try p { max-width: 40rem; }
/* ---- Familias: sobremesa, lo que no verás ---- */
.fm-not { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.fm-not li { display: flex; gap: .6rem; align-items: center; font-weight: 600; }
.fm-not .ico { width: 20px; height: 20px; flex: none; color: var(--terracotta); }
/* ---- Familias: lo que configura la familia ---- */
.fm-control .row p { max-width: 44rem; }
/* ---- Familias: objeciones ---- */
.fm-obj .row { grid-template-columns: 3rem minmax(0, 1fr); align-items: start; }
.fm-obj .row p { max-width: 48rem; }
@media (max-width: 560px) { .fm-obj .row { grid-template-columns: 2rem minmax(0, 1fr); } }

/* ---- Escuelas: contexto (cifras INEGI) ---- */
.sc-stats { margin-top: 0; margin-bottom: 2.5rem; }
.sc-stats .sc-src { font-size: .8125rem; }
.sc-stats .sc-src a { display: inline-flex; align-items: center; min-height: 44px; text-underline-offset: 3px; }
.sc-stats .sc-src a:hover { color: var(--terracotta); }
@media (max-width: 1000px) { .sc-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .sc-stats > div:nth-child(odd) { padding-left: 0; border-left: 0; } .sc-stats > div:nth-child(n+3) { border-top: 1.5px solid var(--rule); } }
@media (max-width: 560px) { .sc-stats { grid-template-columns: minmax(0, 1fr); } .sc-stats > div:nth-child(n) { padding: 1.1rem 0; border-left: 0; } .sc-stats > div:nth-child(n+2) { border-top: 1.5px solid var(--rule); } }
.sc-takeaway { display: grid; gap: .6rem; max-width: 52rem; border-left: 4px solid var(--terracotta); padding: .25rem 0 .25rem 1.25rem; }
.sc-takeaway b { font-family: var(--display); font-size: clamp(1.25rem, 2.6vw, 1.625rem); line-height: 1.2; }
.sc-takeaway p { font-size: 1.0625rem; }
/* ---- Escuelas: cómo funcionaría ---- */
.sc-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: var(--line); }
.sc-step { display: grid; gap: .75rem; align-content: start; padding: 1.75rem 1.25rem 1.75rem 0; min-width: 0; }
.sc-step + .sc-step { padding-left: 1.25rem; border-left: 1.5px solid var(--rule); }
.sc-step .sc-n { font: 800 3rem/.9 var(--display); letter-spacing: -0.03em; color: var(--forest); }
.sc-step:nth-child(odd) .sc-n { color: var(--terracotta); }
.sc-step h3 { font-size: 1.375rem; }
.sc-step .sc-state { margin-top: .25rem; }
@media (max-width: 1100px) { .sc-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } .sc-step:nth-child(odd) { padding-left: 0; border-left: 0; } .sc-step:nth-child(n+3) { border-top: 1.5px solid var(--rule); } }
@media (max-width: 640px) { .sc-steps { grid-template-columns: minmax(0, 1fr); } .sc-step:nth-child(n) { padding: 1.5rem 0; border-left: 0; } .sc-step:nth-child(n+2) { border-top: 1.5px solid var(--rule); } }
/* ---- Escuelas: para el salón ---- */
.sc-row2 { margin-top: 2.5rem; padding-top: 2.5rem; border-top: 1.5px solid var(--rule); }
@media (min-width: 861px) { .sc-row2 .cols--2 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 860px) { .sc-row2 { margin-top: 2rem; padding-top: 2rem; } }
/* ---- Escuelas: privacidad institucional ---- */
.sc-privacy { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 3rem; align-items: start; }
.sc-rows .row { grid-template-columns: 2.5rem minmax(0, 1fr); align-items: start; padding-block: 1.1rem; }
.sc-rows .row:first-child { padding-top: 0; }
.sc-rows .row b { font-size: 1.25rem; }
.sc-rows .row p { max-width: 38rem; }
.sc-rows .row .sc-state { margin-top: .6rem; }
.sc-example .ex-body { gap: .75rem; }
.sc-example .xolo-table-wrap { margin: 0; }
table.flat.sc-table { font-size: .9375rem; }
table.flat.sc-table th, table.flat.sc-table td { padding: .7rem .75rem .7rem 0; }
table.flat.sc-table tbody th { font-size: 1rem; }
table.flat.sc-table thead th:first-child { padding-left: calc(.6rem + 4px); }
table.flat.sc-table tbody th { border-left: 4px solid transparent; padding-left: .6rem; }
table.flat.sc-table .sc-supp > * { background: var(--ivory); }
table.flat.sc-table .sc-supp th { border-left-color: var(--terracotta); }
.sc-hide { display: inline-flex; gap: .4rem; align-items: baseline; font-weight: 700; }
.sc-hide .ico { width: 16px; height: 16px; color: var(--terracotta); align-self: center; }
@media (min-width: 961px) { .sc-example { position: sticky; top: calc(76px + 1.5rem); } }
@media (max-width: 960px) { .sc-privacy { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; } }
@media (max-width: 480px) { .sc-example .ex-body { padding: 1rem; } table.flat.sc-table { font-size: .8125rem; } table.flat.sc-table th, table.flat.sc-table td { padding: .6rem .5rem .6rem 0; } table.flat.sc-table tbody th { font-size: .875rem; } table.flat.sc-table thead th { font-size: .6875rem; letter-spacing: 0; } table.flat.sc-table thead th:first-child { padding-left: calc(.5rem + 4px); } table.flat.sc-table tbody th { padding-left: .5rem; } }
/* ---- Escuelas: qué datos se piden ---- */
.sc-data-wrap { margin: 0; }
table.flat.sc-data { font-variant-numeric: normal; }
table.flat.sc-data th, table.flat.sc-data td { padding: 1rem 1rem 1rem 0; }
table.flat.sc-data tbody th { font-size: 1.125rem; }
.sc-ask { white-space: nowrap; }
.sc-yn { display: inline-flex; gap: .4rem; align-items: center; font-weight: 800; white-space: nowrap; }
.sc-yn .ico { width: 18px; height: 18px; }
.sc-yn.sc-no .ico { color: var(--terracotta); }
.sc-after { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; align-items: center; font-size: .9375rem; }
@media (max-width: 560px) { table.flat.sc-data { font-size: .875rem; } table.flat.sc-data th, table.flat.sc-data td { padding: .85rem .6rem .85rem 0; } table.flat.sc-data tbody th { font-size: 1rem; } table.flat.sc-data thead th { font-size: .75rem; letter-spacing: .03em; } }
/* ---- Escuelas: Uno por Uno ---- */
.sc-uno .wrap { padding-block: 3.5rem; }
.sc-uno .five { font-size: clamp(6rem, 16vw, 11rem); }
.sc-uno .col-r p { max-width: 34rem; }
@media (max-width: 860px) { .sc-uno .wrap { padding-block: 3rem; } }
/* ---- Escuelas: objeciones ---- */
.sc-obj .row { grid-template-columns: 3rem minmax(0, 1fr); align-items: start; }
.sc-obj .row p { max-width: 48rem; }
.sc-obj .row .ulink { margin-top: .35rem; }
@media (max-width: 560px) { .sc-obj .row { grid-template-columns: 2rem minmax(0, 1fr); } }
/* ---- Escuelas: cierre ---- */
.sc-closing h2 { max-width: 20ch; }
.sc-closing .txt p { max-width: 38rem; font-size: 1.125rem; }
.sc-closing .btn { min-height: 56px; padding: .9rem 2rem; font-size: 1.1875rem; }

/* ---- Uno por Uno, contacto institucional y planes (prefijo .im-) ---- */
.im-jump { display: flex; flex-wrap: wrap; gap: 0 1.25rem; border-top: 1.5px solid var(--rule); padding-top: .35rem; max-width: 36rem; }
.im-jump a { font-size: .9375rem; font-weight: 600; text-underline-offset: 4px; display: inline-flex; align-items: center; min-height: 44px; }
.im-jump a:hover { color: var(--terracotta); }

.im-points { list-style: none; margin: 0; padding: 0; display: grid; border-top: var(--line); }
.im-points li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.1rem; align-items: start; padding-block: 1.35rem; border-bottom: 1.5px solid var(--rule); }
.im-points .im-ic { width: 48px; height: 48px; border-radius: 50%; border: var(--line); display: grid; place-items: center; background: var(--maize); }
.im-points li:nth-child(2) .im-ic { background: var(--turquoise); }
.im-points li:nth-child(3) .im-ic { background: var(--paper); }
.im-points h3 { font-size: 1.375rem; margin-bottom: .35rem; }
.im-points p { max-width: 34rem; }

.im-note { margin-top: 2rem; border-top: 1.5px solid var(--rule); }
.im-cols .ulink { justify-self: start; }
.im-cols .col p { max-width: 30rem; }

.im-yn { display: inline-flex; gap: .5rem; align-items: flex-start; }
.im-yn .ico { margin-top: 3px; }
table.flat.im-table th, table.flat.im-table td { padding-right: 1.5rem; }
table.flat.im-table td:last-child { padding-right: 0; }
@media (min-width: 721px) { table.flat.im-table tbody th { width: 24%; } }
@media (max-width: 720px) {
  table.flat.im-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
  table.flat.im-table, table.flat.im-table tbody, table.flat.im-table tr, table.flat.im-table th, table.flat.im-table td { display: block; width: 100%; }
  table.flat.im-table tr { padding-block: 1rem; border-bottom: 1.5px solid var(--rule); }
  table.flat.im-table th, table.flat.im-table td { border: 0; padding: .2rem 0; }
  table.flat.im-table td::before { content: attr(data-label); display: block; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
  table.flat.im-table td { margin-top: .35rem; }
}

/* ---- Menú: entre 901 y 1069 px el menú principal ya no cabe en una línea (medido), así que «Blog» queda solo en el pie y en el menú móvil ---- */
@media (min-width: 901px) and (max-width: 1069px) { .top nav.main li:has(> a[href="/blog"]) { display: none; } }

/* ---- Cabecera de índice, audiencia y etiqueta ---- */
section.band.blog-head { padding-block: 3.5rem 2.75rem; }
.blog-head .wrap { display: grid; gap: 1.1rem; }
.blog-head .lead, .post-wrap .lead { font-size: 1.1875rem; max-width: 40rem; }
.blog-head .page-title { max-width: 20ch; }
.blog-filter ul { list-style: none; margin: .5rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem .75rem; }
.blog-filter a { display: inline-flex; align-items: center; min-height: 48px; padding: .5rem 1.15rem; border: var(--line); border-radius: 999px; font-weight: 700; text-decoration: none; transition: background-color .18s ease, color .18s ease; }
.blog-filter a:hover { background: var(--maize); }
.blog-filter a[aria-current="page"] { background: var(--forest); color: var(--ivory); }

/* ---- Artículo destacado (reutiliza la rejilla .hero) ---- */
.post-featured .hero-copy { gap: 1.1rem; }
.post-featured h2 { font-size: clamp(2rem, 4.6vw, 3.6rem); font-weight: 800; }
.post-featured h2 a { text-decoration: none; }
.post-featured h2 a:hover { color: var(--terracotta); }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1rem; font-size: .875rem; font-weight: 600; }

/* ---- Filas de listado ---- */
section.band.blog-list { padding-block: 3rem 4rem; }
.blog-list .blog-more { font-size: clamp(1.75rem, 3.4vw, 2.5rem); font-weight: 800; margin-bottom: 1.5rem; }
.post-list { list-style: none; margin: 0; padding: 0; border-top: var(--line); }
.post-row { position: relative; display: grid; grid-template-columns: 8rem minmax(0, 1fr) auto; gap: 1.25rem; align-items: baseline; padding-block: 1.5rem; border-bottom: 1.5px solid var(--rule); }
.post-date { font: 800 .9375rem var(--display); color: var(--terracotta); font-variant-numeric: tabular-nums; }
.post-main { display: grid; gap: .45rem; min-width: 0; }
.post-main h2, .post-main h3 { font-size: clamp(1.375rem, 2.6vw, 1.875rem); font-weight: 700; line-height: 1.15; }
.post-main h2 a, .post-main h3 a { text-decoration: none; }
.post-main h2 a::after, .post-main h3 a::after { content: ""; position: absolute; inset: 0; }
.post-row:hover h2 a, .post-row:hover h3 a { color: var(--terracotta); }
.post-main p { max-width: 44rem; }
.post-aud { display: flex; flex-wrap: wrap; gap: .4rem; justify-content: flex-end; }
@media (max-width: 720px) {
  .post-row { grid-template-columns: minmax(0, 1fr); gap: .5rem; }
  .post-aud { justify-content: flex-start; order: -1; }
  .post-date { order: -2; }
}

/* ---- Etiquetas ---- */
.post-tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .1rem 1rem; font-size: .875rem; font-weight: 600; }
.post-tags a, .post-tag-link { position: relative; z-index: 1; display: inline-flex; align-items: center; min-height: 36px; text-underline-offset: 3px; }
.post-tags a:hover, .post-tag-link:hover { color: var(--terracotta); }
.post-tags--big { gap: .5rem 1.5rem; font-size: 1.0625rem; }
.post-tags--big a { min-height: 44px; }
.blog-topics h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); font-weight: 800; margin-bottom: 1rem; }
section.band.blog-topics { padding-block: 3rem; }

/* ---- Artículo ---- */
.post-wrap { max-width: 52rem; display: grid; gap: 1.25rem; }
.post-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem 1rem; font-size: .875rem; font-weight: 600; }
.post-title { font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 800; max-width: 22ch; }
.post-byline { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; padding-top: 1rem; border-top: 1.5px solid var(--rule); font-size: .9375rem; font-weight: 600; }
section.band.post-body { padding-block: 3.5rem 4.5rem; }
.post-grid { display: grid; grid-template-columns: 15rem minmax(0, 42rem); gap: 3.5rem; align-items: start; }
.post-grid.no-toc { grid-template-columns: minmax(0, 42rem); }
.toc { position: sticky; top: calc(92px + env(safe-area-inset-top, 0px)); display: grid; gap: .5rem; border-top: var(--line); padding-top: 1rem; font-size: .9375rem; }
.toc b { font-size: .8125rem; letter-spacing: .1em; text-transform: uppercase; }
.toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; display: grid; }
.toc li { counter-increment: toc; }
.toc a { display: flex; align-items: baseline; gap: .6rem; min-height: 44px; padding-block: .6rem; border-bottom: 1.5px solid var(--rule); text-decoration: none; font-weight: 600; line-height: 1.3; }
.toc a::before { content: counter(toc, decimal-leading-zero); font: 800 .8125rem var(--display); color: var(--terracotta); font-variant-numeric: tabular-nums; }
.toc a:hover { color: var(--terracotta); }
@media (max-width: 960px) {
  .post-grid, .post-grid.no-toc { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .toc { display: none; }
}

/* ---- Cuerpo del artículo ---- */
.prose { display: grid; gap: 1.25rem; min-width: 0; font-size: 1.125rem; line-height: 1.7; }
.prose > * { margin: 0; }
.prose h2 { font-size: clamp(1.75rem, 3.4vw, 2.25rem); font-weight: 800; line-height: 1.1; margin-top: 1.75rem; }
.prose h3 { font-size: 1.5rem; font-weight: 700; line-height: 1.15; margin-top: .75rem; }
.prose a { font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.prose a:hover { color: var(--terracotta); }
.prose ul, .prose ol { padding-left: 1.4rem; display: grid; gap: .5rem; }
.prose li::marker { color: var(--terracotta); font-weight: 700; }
.prose blockquote { border-left: 4px solid var(--terracotta); background: var(--ivory); padding: .9rem 1.1rem; display: grid; gap: .5rem; }
.prose blockquote p { margin: 0; }
.prose hr { border: 0; border-top: var(--line); width: 100%; margin: .75rem 0; }
.prose code { font-size: .9em; background: var(--ivory); border: 1.5px solid var(--rule); border-radius: 6px; padding: .1em .4em; }
.prose pre { white-space: pre-wrap; overflow-x: auto; background: var(--ivory); border: var(--line); border-radius: 10px; padding: 1rem; font-size: .875rem; line-height: 1.5; }
.prose pre code { border: 0; background: none; padding: 0; font-size: inherit; }
.prose table.flat { font-size: 1rem; }
.prose table.flat th, .prose table.flat td { padding-right: .75rem; }
.prose table.flat code { overflow-wrap: anywhere; }
@media (max-width: 560px) {
  .prose table.flat { font-size: .875rem; }
  .prose table.flat th, .prose table.flat td { padding: .7rem .5rem .7rem 0; }
  .prose table.flat thead th { font-size: .75rem; letter-spacing: .03em; }
}

/* ---- Imágenes del cuerpo (figure con dimensiones reservadas) ---- */
.prose figure { margin: .5rem 0; display: grid; gap: .6rem; }
.prose figure img { display: block; width: 100%; height: auto; border: var(--line); border-radius: var(--r); }
.prose figcaption { font-size: .875rem; font-weight: 600; }

/* ---- Compartir ---- */
.post-col { min-width: 0; display: grid; gap: 2.5rem; }
.post-share { display: grid; gap: .75rem; padding-top: 1.25rem; border-top: var(--line); }
.post-share ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem .75rem; }
.post-share a { display: inline-flex; align-items: center; min-height: 48px; padding: .5rem 1.15rem; border: var(--line); border-radius: 999px; font-weight: 700; text-decoration: none; transition: background-color .18s ease, color .18s ease; }
.post-share a:hover { background: var(--maize); }

/* ---- Paginación ---- */
.blog-pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1rem; margin-top: 2.5rem; }
.blog-pager-status { font-weight: 700; font-variant-numeric: tabular-nums; }
@media (max-width: 560px) { .blog-pager-status { order: -1; width: 100%; } }
