/* lasman.co — sistema visual David Lasman (spec v1.0 §2) */

:root {
  --ink: #101010;
  --paper: #FFFFFF;
  --paper-cold: #F8FAFC;
  --ice: #E4ECF6;
  --blue: #356BFF;
  --blue-soft: #C7D7EF;
  --blue-mid: #A7BCDF;
  --graphite: #343A40;
  --muted: #667085;
  --line: #D9E0E8;
  --footer-muted: #9DA6B1;
  --axis-green: #1FAE3F;
  --axis-light: #A8E5B5;

  --font-display: 'Exo 2', 'Helvetica Neue', Arial, sans-serif;
  --font-body: Montserrat, 'Helvetica Neue', Arial, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --shadow: 0 20px 48px rgba(16, 16, 16, .10);
  --gutter: clamp(20px, 4vw, 48px);
  --section-y: clamp(72px, 9vw, 112px);
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-body); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; display: block; }
iframe { border: 0; display: block; }
figure, blockquote { margin: 0; }
h1, h2, h3, p { margin: 0; }
a { color: var(--ink); text-decoration-color: var(--blue); text-underline-offset: 4px; }
a:hover { color: var(--blue); }
::selection { background: var(--blue-soft); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--blue); color: #fff; padding: 10px 16px; border-radius: 8px; text-decoration: none; }
.skip:focus { top: 12px; color: #fff; }

.is-bw { filter: grayscale(1) contrast(1.05); }

/* Layout */
.container { max-width: 1280px; margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section.is-cold { background: var(--paper-cold); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section.is-last { border-top: 0; }
.stack { display: flex; flex-direction: column; gap: clamp(40px, 5vw, 64px); }
.stack--lg { gap: clamp(48px, 6vw, 80px); }
.stack-10, .stack-20, .stack-24, .stack-28, .stack-32, .stack-48 { display: flex; flex-direction: column; }
.stack-10 { gap: 10px; } .stack-20 { gap: 20px; } .stack-24 { gap: 24px; }
.stack-28 { gap: 28px; } .stack-32 { gap: 32px; } .stack-48 { gap: 48px; }
.split5 { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 48px; align-items: center; }
.split5.is-top { align-items: start; }
.span2 { grid-column: span 2; min-width: 0; }
.span3 { grid-column: span 3; min-width: 0; }
.grid-300 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 32px; }
.grid-300--24 { gap: 24px; }
.grid-340 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 32px; }
.grid-400 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); gap: 48px; }
.grid-420 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 48px; }
@media (max-width: 860px) {
  .split5 { grid-template-columns: 1fr; }
  .span2, .span3 { grid-column: auto; }
}

/* Tipografía */
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--blue); }
.eyebrow a { color: var(--blue); text-decoration: underline; }
.eyebrow a:hover { color: var(--ink); }
.rule { width: 40px; height: 3px; background: var(--blue); display: block; }
.h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(34px, 4vw, 52px); line-height: 1.04; letter-spacing: -.025em; text-wrap: balance; }
.h2--sm { font-size: clamp(30px, 3.2vw, 40px); letter-spacing: -.02em; }
.h3 { font-family: var(--font-display); font-weight: 700; font-size: 22px; letter-spacing: -.01em; }
.h3--sm { font-size: 21px; line-height: 1.2; }
.h3--lg { font-size: 24px; }
.intro { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.5; color: var(--muted); max-width: 640px; }
.body { font-size: 17px; line-height: 1.7; color: var(--graphite); }

.sec-head { display: flex; flex-direction: column; gap: 14px; }
.sec-head.is-center { align-items: center; text-align: center; }
.sec-head.is-center .h2 { max-width: 20ch; }
.stack-24 > .sec-head { gap: 24px; }

/* Componentes */
.card { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; }
.card--top { border-top: 3px solid var(--blue); padding: 32px; display: flex; flex-direction: column; gap: 20px; }
.card p { font-size: 15px; line-height: 1.65; color: var(--graphite); }
.icon-box { width: 56px; height: 56px; border-radius: 8px; background: var(--paper-cold); display: grid; place-items: center; flex: none; }
.icon-box--sm { width: 48px; height: 48px; }

.photo { position: relative; overflow: hidden; border-radius: 12px; background: var(--ice); }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.photo:hover img { transform: scale(1.04); }
.photo picture { display: contents; }
.ratio-3-4 { aspect-ratio: 3 / 4; }
.ratio-1 { aspect-ratio: 1 / 1; }
.ratio-music { aspect-ratio: 445 / 384; }
.ratio-music img { object-position: center 30%; }
.node { position: absolute; right: 0; bottom: 0; width: 12px; height: 12px; border-radius: 3px; background: var(--blue); }

.btn { align-self: flex-start; display: inline-flex; align-items: center; gap: 12px; background: var(--ink); color: #fff; text-decoration: none; font-size: 14px; font-weight: 600; padding: 16px 22px; border-radius: 8px; transition: background .25s, color .25s, transform .25s; }
.btn:hover { background: var(--blue); color: #fff; transform: translateY(-2px); }
.btn__node { width: 8px; height: 8px; background: var(--blue); display: block; }
.btn:hover .btn__node { background: #fff; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 5px; background: var(--paper-cold); border: 1px solid var(--line); }

/* Hover de tarjetas */
.card--top, .project, .story { transition: opacity .8s var(--ease), transform .8s var(--ease), box-shadow .3s, border-color .3s; }
.card--top:hover, .project:hover { border-color: var(--blue); }
.card--top:hover, .project:hover, .story:hover { transform: translateY(-6px); box-shadow: var(--shadow); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(16, 16, 16, .94); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-bottom: 1px solid var(--graphite); color: #fff; }
.site-header__inner { padding-block: 12px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.site-header__logo { display: block; line-height: 0; }
.site-header__logo img { height: 44px; width: auto; }
.nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); font-size: 13px; font-weight: 500; overflow-x: auto; max-width: 100%; scrollbar-width: none; }
.nav::-webkit-scrollbar { display: none; }
.nav a { color: #fff; text-decoration: none; white-space: nowrap; transition: color .2s, background .2s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--blue-mid); }
.nav .nav__cta { padding: 10px 16px; border-radius: 6px; background: var(--blue); font-weight: 600; font-size: 12px; letter-spacing: .08em; }
.nav .nav__cta:hover { background: #fff; color: var(--ink); }
@media (max-width: 760px) {
  .site-header__inner { gap: 10px; position: relative; }
  .site-header__logo img { height: 36px; }
  .nav { width: 100%; padding-bottom: 4px; gap: clamp(6px, 2vw, 12px); font-size: clamp(11px, 3.25vw, 13px); justify-content: space-between; }
  /* "MI BLOG" sube a la fila del logo; los enlaces quedan solos en la segunda fila y caben sin deslizar. */
  .nav .nav__cta { position: absolute; top: 13px; right: var(--gutter); padding: 9px 14px; }
}
@media (max-width: 340px) {
  .nav { flex-wrap: wrap; justify-content: center; gap: 4px 14px; font-size: 11.5px; }   /* teléfonos muy angostos: dos filas */
}

/* Hero */
.hero { position: relative; background: var(--ink); color: #fff; overflow: hidden; min-height: min(72vh, 600px); display: flex; align-items: center; justify-content: center; text-align: center; padding: clamp(56px, 7vw, 88px) var(--gutter); }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; opacity: .6; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16,16,16,.35) 0%, rgba(16,16,16,.55) 55%, rgba(16,16,16,.9) 100%); }
.hero__body { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 28px; max-width: 960px; }
.hero__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(48px, 7vw, 96px); line-height: .98; letter-spacing: -.03em; }
.hero__tagline { font-family: var(--font-display); font-weight: 300; font-size: clamp(18px, 2vw, 26px); line-height: 1.4; text-wrap: balance; }
.hero__tagline span { color: var(--blue-mid); font-weight: 500; }
.hero__phrase { font-family: var(--font-display); font-style: italic; font-weight: 400; font-size: clamp(17px, 1.6vw, 22px); }
.hero__down { margin-top: 16px; width: 44px; height: 44px; border-radius: 8px; border: 1px solid rgba(255,255,255,.5); display: grid; place-items: center; color: #fff; text-decoration: none; font-size: 18px; transition: background .25s, border-color .25s; }
.hero__down:hover { background: var(--blue); border-color: var(--blue); color: #fff; }

.role { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 8px; border: 1px solid rgba(255,255,255,.28); background: rgba(255,255,255,.08); font-size: 13px; font-weight: 600; }
.role__icon { width: 28px; height: 28px; border-radius: 5px; background: var(--blue); display: grid; place-items: center; overflow: hidden; }
.role__text { display: inline-grid; min-width: 190px; text-align: center; justify-items: center; }
.role .is-in { animation: roleIn .5s var(--ease) both; }
@keyframes roleIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.strike { position: relative; display: inline-block; }
.strike i { position: absolute; left: -.08em; top: 52%; height: 2px; width: 0; background: var(--blue); animation: strikeEn 4s var(--ease) 1s infinite; }
@keyframes strikeEn { 0%, 20% { width: 0; opacity: 1; } 45%, 75% { width: 100%; opacity: 1; } 90%, 100% { width: 100%; opacity: 0; } }

/* Sobre mí */
.prose { display: flex; flex-direction: column; gap: 24px; font-size: 17px; line-height: 1.7; color: var(--graphite); }
.prose strong { color: var(--ink); font-weight: 600; }
.quote { margin-top: 8px; padding: 24px 28px; background: var(--paper-cold); border-left: 3px solid var(--blue); border-radius: 10px; font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.5; color: var(--ink); }

/* Capitalismo */
.checks { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 20px; }
.checks li { display: grid; grid-template-columns: 28px 1fr; gap: 16px; align-items: start; }
.checks li > div { display: flex; flex-direction: column; gap: 4px; }
.checks h3 { font-family: var(--font-display); font-weight: 600; font-size: 18px; }
.checks p { font-size: 15px; line-height: 1.6; color: var(--graphite); }
.check { width: 28px; height: 28px; border-radius: 5px; background: var(--blue); display: grid; place-items: center; margin-top: 2px; }
.podcast { background: var(--ink); padding: 16px; border-radius: 12px; border-top: 3px solid var(--blue); }
.podcast iframe { border-radius: 12px; }

/* SISTEL */
.sistel-logo { width: min(100%, 300px); height: auto; }
.highlight { background: var(--paper); border: 1px solid var(--line); border-left: 3px solid var(--blue); border-radius: 10px; padding: 28px 32px; display: flex; flex-direction: column; gap: 14px; }
.highlight__lead { font-family: var(--font-display); font-weight: 600; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.4; }
.highlight p:not(.highlight__lead) { font-size: 16px; line-height: 1.7; color: var(--graphite); }

.pitch { display: flex; flex-direction: column; gap: 12px; }
.pitch__wrap { position: relative; }
.pitch-frame { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 12px; background: var(--ink); display: grid; place-items: center; text-decoration: none; object-fit: cover; }
.pitch-frame.is-axis { background: #000; }
.pitch-frame .play { width: 64px; height: 64px; background: var(--blue); color: #fff; display: grid; place-items: center; transition: transform .25s; }
.pitch-frame:hover .play { transform: scale(1.06); }
.pitch figcaption { position: relative; text-align: center; font-family: var(--font-display); font-style: italic; font-size: 13px; color: var(--muted); }

.infografia { aspect-ratio: 16 / 9; overflow: hidden; border-radius: 12px; background: var(--ink); border-top: 3px solid var(--blue); }
.infografia img { width: 100%; height: 100%; object-fit: cover; filter: none; }

/* Proyectos */
.project { display: flex; flex-direction: column; min-width: 0; overflow: hidden; }
.yt { position: relative; display: block; width: 100%; height: 200px; padding: 0; border: 0; background: var(--ink); cursor: pointer; border-radius: 9px 9px 0 0; overflow: hidden; }
.yt img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), opacity .3s; opacity: .92; }
.yt:hover img { transform: scale(1.04); opacity: 1; }
.yt__play { position: absolute; left: 50%; top: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px; background: var(--blue); color: #fff; display: grid; place-items: center; border-radius: 8px; transition: transform .25s; }
.yt:hover .yt__play { transform: scale(1.08); }
iframe.yt { cursor: auto; }
.project__body { padding: 24px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.project__link { margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 8px; color: var(--blue); font-size: 14px; font-weight: 600; text-decoration: none; }
.project__link span { font-size: 11px; }
.project__link:hover { color: var(--ink); }

/* AXIS */
.axis { position: relative; overflow: hidden; background: var(--ink); color: #fff; }
.axis a { color: inherit; }
.axis__circle { position: absolute; left: -12vw; top: -16vw; width: 40vw; height: 40vw; border-radius: 50%; background: rgba(31,174,63,.07); }
.axis__inner { position: relative; z-index: 1; display: flex; flex-direction: column; gap: clamp(32px, 4vw, 48px); }
.axis__brand { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.axis__logo { background: #fff; border-radius: 8px; padding: 12px 18px; display: block; line-height: 0; }
.axis__logo img { height: 52px; width: auto; }
.axis__badge { font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--axis-light); border: 1px solid rgba(168,229,181,.4); border-radius: 6px; padding: 7px 12px; }
.axis__text { font-size: 17px; line-height: 1.7; color: var(--blue-soft); max-width: 640px; }
.acronym { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); gap: 12px; }
.acronym__item, .benefit { border: 1px solid rgba(168,229,181,.18); border-radius: 10px; display: flex; flex-direction: column; min-width: 0; transition: opacity .8s var(--ease), transform .3s, border-color .3s; }
.acronym__item { background: rgba(255,255,255,.06); padding: 16px; gap: 6px; }
.acronym__item:hover, .benefit:hover { transform: translateY(-4px); border-color: var(--axis-green); }
.acronym__item b { font-family: var(--font-display); font-weight: 800; font-size: 30px; line-height: 1; color: var(--axis-green); }
.acronym__item h3 { margin-top: 6px; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.acronym__item p { font-size: 12px; line-height: 1.5; color: var(--blue-soft); }
.btn-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.axis .btn--green { background: var(--axis-green); color: var(--ink); gap: 10px; }
.axis .btn--green:hover { background: #fff; color: var(--ink); }
.axis .btn--outline-green { background: transparent; border: 1px solid var(--axis-green); color: var(--axis-light); padding: 15px 22px; }
.axis .btn--outline-green:hover { background: var(--axis-green); color: var(--ink); }
.pitch--axis { position: relative; padding: 0 16px 16px 0; }
.pitch__plane { position: absolute; inset: 16px 0 44px 16px; border-radius: 12px; background: var(--axis-green); opacity: .9; }
.pitch--axis .play { background: #fff; color: var(--ink); }
.pitch--axis figcaption { color: var(--blue-soft); }
.benefit { background: rgba(255,255,255,.04); padding: 24px; gap: 12px; }
.benefit h3 { margin-top: 8px; font-family: var(--font-display); font-weight: 700; font-size: 19px; }
.benefit p { font-size: 14px; line-height: 1.6; color: var(--blue-soft); }
.axis__close { border-top: 1px solid rgba(255,255,255,.12); padding-top: 20px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.axis__close a { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-size: 14px; font-weight: 500; }
.axis__close a:hover { color: var(--axis-light); }
.axis__close p { font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--axis-light); }

/* Música */
.story { padding: 32px; display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.story__head { display: flex; align-items: center; gap: 16px; }
.story__head > div { display: flex; flex-direction: column; gap: 2px; }
.story__head p { font-size: 15px; color: var(--muted); }
.card .story__text { font-size: 15px; line-height: 1.7; }
.dots { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; font-size: 14px; color: var(--muted); }
.dots li { display: flex; align-items: center; gap: 10px; }
.dots li::before { content: ''; width: 6px; height: 6px; background: var(--blue); flex: none; }
.playlists__title { text-align: center; font-family: var(--font-display); font-weight: 700; font-size: 26px; letter-spacing: -.01em; }
.playlist { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.playlist p { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.playlist iframe { border-radius: 12px; }

/* Footer */
.footer { background: var(--ink); color: #fff; padding: clamp(56px, 7vw, 88px) 0 32px; }
.footer__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 40px; }
.footer__cols > div { min-width: 0; }
.footer__logo { height: 64px; width: auto; align-self: flex-start; }
.footer__text { font-size: 15px; line-height: 1.7; color: var(--blue-soft); max-width: 360px; }
.footer__phrase { font-family: var(--font-display); font-style: italic; font-size: 15px; color: var(--blue-mid); }
.footer__title { font-family: var(--font-display); font-weight: 600; font-size: 18px; }
.footer__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; font-size: 15px; }
.footer__list a { color: #fff; text-decoration: none; }
.footer__list a:hover { color: var(--blue-mid); }
.social { display: inline-flex; align-items: center; gap: 12px; }
.social__icon { width: 36px; height: 36px; border-radius: 8px; border: 1px solid var(--graphite); display: grid; place-items: center; transition: border-color .2s; }
.social:hover .social__icon { border-color: var(--blue-mid); }
.footer__contact { color: var(--blue-soft); }
.footer__contact li { display: flex; align-items: flex-start; gap: 12px; }
.footer__contact svg { margin-top: 4px; flex: none; }
.footer__legal { border-top: 1px solid var(--graphite); padding-top: 20px; display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; font-size: 12px; color: var(--footer-muted); }
.footer__legal div { display: flex; gap: 20px; flex-wrap: wrap; }
.footer__legal a { color: var(--footer-muted); text-decoration: none; }
.footer__legal a:hover { color: #fff; }

/* Reveal on scroll (solo con JS activo) */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease), box-shadow .3s, border-color .3s; }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.js .card--top[data-reveal].is-visible:hover, .js .project[data-reveal].is-visible:hover, .js .story[data-reveal].is-visible:hover { transform: translateY(-6px); }
.js .acronym__item[data-reveal].is-visible:hover, .js .benefit[data-reveal].is-visible:hover { transform: translateY(-4px); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .strike i, .role .is-in { animation: none; }
  .photo img, .yt img { transition: none; }
}

/* Páginas legales */
.legal-hero { background: var(--ink); color: #fff; padding: clamp(48px, 6vw, 80px) 0 clamp(40px, 5vw, 64px); border-bottom: 3px solid var(--blue); }
.legal-hero__date { font-size: 13px; color: var(--footer-muted); }
.legal { padding-block: clamp(48px, 6vw, 80px); }
.legal__grid { display: grid; grid-template-columns: 220px minmax(0, 760px); gap: clamp(32px, 5vw, 72px); align-items: start; }
.legal__nav { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 4px; border-left: 1px solid var(--line); }
.legal__nav a { padding: 8px 16px; margin-left: -1px; border-left: 3px solid transparent; color: var(--muted); font-size: 14px; font-weight: 500; text-decoration: none; }
.legal__nav a:hover { color: var(--ink); }
.legal__nav a[aria-current="page"] { color: var(--ink); font-weight: 600; border-left-color: var(--blue); }
.legal__body { display: flex; flex-direction: column; gap: 40px; font-size: 16px; line-height: 1.75; color: var(--graphite); }
.legal__body section { display: flex; flex-direction: column; gap: 14px; }
.legal__body h2 { font-family: var(--font-display); font-weight: 700; font-size: 22px; letter-spacing: -.01em; color: var(--ink); }
.legal__body ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }
.legal__body li::marker { color: var(--blue); }
.legal__body strong { color: var(--ink); font-weight: 600; }
.legal__body a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--blue); }
.legal__body a:hover { color: var(--blue); }
.legal__body .facts { list-style: none; padding: 20px 24px; background: var(--paper-cold); border-left: 3px solid var(--blue); border-radius: 10px; gap: 6px; }
.legal__body .facts span { display: inline-block; min-width: 110px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; }
.legal__body table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.55; }
.legal__body th, .legal__body td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.legal__body th { background: var(--paper-cold); font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.legal__body tr:last-child td { border-bottom: 0; }
@media (max-width: 860px) {
  .legal__grid { grid-template-columns: 1fr; }
  .legal__nav { position: static; flex-direction: row; flex-wrap: wrap; border-left: 0; border-bottom: 1px solid var(--line); }
  .legal__nav a { margin: 0 0 -1px; border-left: 0; border-bottom: 3px solid transparent; padding: 8px 12px; }
  .legal__nav a[aria-current="page"] { border-bottom-color: var(--blue); }
}

/* Café Consciente (/cafe) */
.cafe-center { text-align: center; margin-inline: auto; }
.cafe-serv[hidden], .cafe-timer[hidden] { display: none; }
.cafe-center-row { justify-content: center; }
.cafe-link { background: none; border: 0; padding: 0; font: inherit; font-size: 14px; font-weight: 600; color: inherit; text-decoration: underline; text-decoration-color: var(--blue); text-underline-offset: 5px; cursor: pointer; }
.cafe-link:hover { color: var(--blue); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--blue); color: #fff; }
.cafe-hero { background: var(--ink); color: #fff; padding-block: clamp(48px, 7vw, 96px); }
.cafe-hero .eyebrow { color: var(--blue-mid); }
.cafe-hero__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(44px, 6vw, 80px); line-height: .98; letter-spacing: -.03em; }
.cafe-hero .hero__tagline { color: rgba(255, 255, 255, .86); }
.cafe-hero .cafe-link { color: #fff; }
.cafe-hero__photo { aspect-ratio: 3 / 2; border-radius: 14px; }
.cafe-hero__photo img { transition: none; }
.cafe-hero__photo:hover img { transform: none; }
.cafe-notes { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.cafe-notes li { font-size: 13px; font-weight: 500; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .22); color: #fff; }
.cafe-caption { font-size: 13px; font-weight: 600; color: var(--muted); }
.cafe-spec { margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.cafe-spec__item { background: var(--paper); padding: 22px 24px; display: flex; flex-direction: column; gap: 6px; }
.cafe-spec__item.is-wide { grid-column: 1 / -1; }
.cafe-spec__item.is-2 { grid-column: span 2; }
.cafe-spec dt { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.cafe-spec dd { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: 19px; line-height: 1.3; }
.cafe-labels { display: grid; grid-template-columns: 0.89fr 1fr; gap: 32px; align-items: end; }
.cafe-label { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.cafe-label img { width: 100%; height: auto; border-radius: 18px; box-shadow: var(--shadow); }
.cafe-label figcaption { font-size: 13px; color: var(--muted); text-align: center; }
.cafe-trace { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 24px; counter-reset: none; }
.cafe-trace__step { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 28px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
.cafe-trace__step .icon-box { margin-bottom: 8px; }
.cafe-trace__step p { font-size: 15px; line-height: 1.5; color: var(--graphite); }
.cafe-trace__n { position: absolute; top: 24px; right: 24px; font-family: var(--font-display); font-weight: 800; font-size: 32px; line-height: 1; color: var(--ice); }
.cafe-serv { display: inline-flex; align-self: center; padding: 4px; border-radius: 10px; background: var(--paper); border: 1px solid var(--line); }
.cafe-serv button { border: 0; background: none; font: inherit; font-size: 14px; font-weight: 600; padding: 10px 20px; border-radius: 7px; cursor: pointer; color: var(--graphite); }
.cafe-serv button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.cafe-recipe { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.cafe-recipe__item { background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--blue); border-radius: 10px; padding: 18px 20px; display: flex; flex-direction: column; gap: 4px; }
.cafe-recipe__item > span { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.cafe-recipe__item b { font-family: var(--font-display); font-weight: 700; font-size: 22px; line-height: 1.25; }
.cafe-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.cafe-steps li { display: grid; grid-template-columns: 64px 1fr; gap: 16px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); transition: border-color .3s, box-shadow .3s; }
.cafe-steps li.is-current { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
.cafe-steps__time { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--blue); padding-top: 2px; }
.cafe-steps h4 { font-family: var(--font-display); font-weight: 600; font-size: 18px; margin: 0 0 4px; }
.cafe-steps p { font-size: 15px; line-height: 1.6; color: var(--graphite); }
.cafe-timer { position: sticky; top: 104px; background: var(--ink); color: #fff; border-radius: 14px; padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.cafe-timer .eyebrow { color: var(--blue-mid); }
.cafe-timer__clock { font-family: var(--font-display); font-weight: 800; font-size: 64px; line-height: 1; font-variant-numeric: tabular-nums; }
.cafe-timer__now { font-size: 16px; font-weight: 600; line-height: 1.45; min-height: 3em; }
.cafe-timer__next { font-size: 13px; color: var(--footer-muted); min-height: 2.6em; }
.cafe-timer .btn { background: #fff; color: var(--ink); border: 0; cursor: pointer; font: inherit; font-size: 14px; font-weight: 600; }
.cafe-timer .btn:hover { background: var(--blue); color: #fff; }
.cafe-timer .cafe-link { color: #fff; }
.cafe-gear { padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.cafe-gear ul { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 8px; font-size: 15px; color: var(--graphite); }
.cafe-adjust { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--paper); }
.cafe-adjust__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 24px; padding: 16px 24px; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.5; }
.cafe-adjust__row:first-child { border-top: 0; }
.cafe-adjust__row.is-head { background: var(--paper-cold); font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.cafe-adjust__row span:first-child { font-weight: 600; }
.cafe-close { background: var(--ink); color: #fff; padding-block: clamp(64px, 8vw, 104px); }
.cafe-close .intro { color: rgba(255, 255, 255, .78); margin-inline: auto; }
.cafe-tips { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 24px; }
.cafe-close .cafe-link { color: #fff; }
@media (max-width: 860px) {
  .cafe-timer { position: static; }
  .cafe-aside { order: -1; }          /* en el teléfono: qué necesitas, cronómetro y luego los pasos */
  .cafe-aside .cafe-gear { order: -1; }
  .cafe-spec { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .cafe-labels { grid-template-columns: 1fr; }
  .cafe-recipe { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cafe-adjust__row { grid-template-columns: 1fr; gap: 4px; }
  .cafe-adjust__row.is-head { display: none; }
  .cafe-steps li { grid-template-columns: 52px 1fr; gap: 12px; padding: 16px; }
  .cafe-timer__clock { font-size: 52px; }
}
