/* ==========================================================================
   Martxi Miraz — styles.css
   Marca: negro #0B0B0B · blanco · lima #C8F03C · Archivo + Inter
   ========================================================================== */

/* ---------- Fuentes (alojadas en el propio servidor: rápidas y RGPD) ---------- */
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-var.woff2") format("woff2");
  font-weight: 500 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-var.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --ink: #0b0b0b;
  --ink-2: #161616;
  --ink-3: #242424;
  --paper: #ffffff;
  --bone: #f4f4f1;
  --line: #e2e2dc;
  --line-dark: #2c2c2c;
  --text: #0b0b0b;
  --muted: #555551;
  --muted-dark: #a9a9a3;
  --lime: #c8f03c;
  --lime-hover: #b6e01f;
  --whatsapp: #25d366;

  --f-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --container: 1240px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(72px, 10vw, 136px);
  --radius: 4px;
  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg, picture { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 800; line-height: 1.04; letter-spacing: -0.025em; margin: 0; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 2px; }
.on-light :focus-visible, .s-light :focus-visible { outline-color: var(--ink); }
::selection { background: var(--lime); color: var(--ink); }

.visually-hidden {
  position: absolute !important; 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: 16px; top: -60px; z-index: 1000;
  background: var(--lime); color: var(--ink); padding: 12px 18px; font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; position: relative; }
.s-dark { background: var(--ink); color: var(--paper); }
.s-bone { background: var(--bone); }
.s-light { background: var(--paper); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--f-body); font-size: .8125rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
  margin: 0 0 22px;
}
.eyebrow::before { content: ""; width: 10px; height: 10px; background: var(--lime); flex: none; }
.s-light .eyebrow::before, .s-bone .eyebrow::before { background: var(--ink); }
.s-dark .eyebrow { color: var(--muted-dark); }
.s-dark .eyebrow::before { background: var(--lime); }
.eyebrow .num { color: inherit; opacity: .7; }

.h-display { font-size: clamp(2.5rem, 6.4vw, 5.75rem); }
.h-1 { font-size: clamp(2.125rem, 4.6vw, 4rem); }
.h-2 { font-size: clamp(1.625rem, 3vw, 2.5rem); }
.h-3 { font-size: clamp(1.25rem, 1.8vw, 1.5rem); letter-spacing: -0.015em; line-height: 1.15; }
.dot { color: var(--lime); }
.s-light .dot, .s-bone .dot { color: var(--ink); }
.lead { font-size: clamp(1.125rem, 1.5vw, 1.3125rem); line-height: 1.6; color: var(--muted); max-width: 46ch; }
.s-dark .lead { color: #cfcfc9; }
.mark { background: linear-gradient(transparent 62%, var(--lime) 62%); padding: 0 .08em; }
.s-dark .mark { background: none; color: var(--lime); padding: 0; }

.section-head { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; margin-bottom: clamp(40px, 6vw, 72px); max-width: 860px; }
.section-head--split { max-width: none; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: end; gap: 40px; }
.section-head p { margin: 0; }
@media (max-width: 860px) { .section-head--split { grid-template-columns: minmax(0, 1fr); gap: 20px; } }

/* ---------- Botones ---------- */
.btn {
  --bg: var(--ink); --fg: var(--paper); --bd: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  font-family: var(--f-body); font-size: 1rem; font-weight: 600; line-height: 1.2;
  text-decoration: none; text-align: center;
  color: var(--fg); background: var(--bg); border: 2px solid var(--bd); border-radius: var(--radius);
  cursor: pointer; transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--lime { --bg: var(--lime); --fg: var(--ink); --bd: var(--lime); }
.btn--lime:hover { --bg: var(--lime-hover); --bd: var(--lime-hover); }
.btn--dark:hover { --bg: var(--ink-3); --bd: var(--ink-3); }
.btn--ghost { --bg: transparent; --fg: var(--ink); --bd: var(--ink); }
.btn--ghost:hover { --bg: var(--ink); --fg: var(--paper); }
.s-dark .btn--ghost, .btn--ghost-light { --bg: transparent; --fg: var(--paper); --bd: rgba(255,255,255,.45); }
.s-dark .btn--ghost:hover, .btn--ghost-light:hover { --bg: var(--paper); --fg: var(--ink); --bd: var(--paper); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: .9375rem; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none;
  border-bottom: 2px solid currentColor; padding-bottom: 2px;
}
.link-arrow span { transition: transform .2s var(--ease); }
.link-arrow:hover span { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(11, 11, 11, .92);
  -webkit-backdrop-filter: saturate(160%) blur(12px); backdrop-filter: saturate(160%) blur(12px);
  color: var(--paper);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line-dark); }
.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; flex: none; }
.brand svg { height: 22px; width: auto; }
.brand .brand-mono { display: none; height: 36px; }
.main-nav ul { list-style: none; display: flex; align-items: center; gap: clamp(16px, 2.4vw, 32px); }
.main-nav a {
  text-decoration: none; font-size: .9375rem; font-weight: 500; color: #d9d9d4;
  padding: 8px 0; position: relative; transition: color .2s;
}
.main-nav a:hover, .main-nav a[aria-current="true"], .main-nav a[aria-current="page"] { color: var(--paper); }
.main-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--lime);
  transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.main-nav a:hover::after, .main-nav a[aria-current="true"]::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); }
.header-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle {
  display: none; width: 48px; height: 48px; border: 0; background: transparent; cursor: pointer;
  align-items: center; justify-content: center; color: var(--paper);
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 24px; height: 2px; background: currentColor; position: relative; transition: transform .3s var(--ease), background .3s;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -8px; }
.nav-toggle span::after { top: 8px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(8px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 960px) {
  .site-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--ink); }
  .nav-toggle { display: inline-flex; }
  .header-cta .btn { display: none; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 0 0; background: var(--ink);
    padding: 32px var(--gutter) 40px; overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s .25s;
  }
  .nav-open .main-nav { opacity: 1; visibility: visible; transform: none; transition: opacity .25s var(--ease), transform .25s var(--ease); }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav li { border-bottom: 1px solid var(--line-dark); }
  .main-nav a { display: block; font-family: var(--f-display); font-weight: 800; font-size: 1.75rem; letter-spacing: -0.02em; padding: 16px 0; color: var(--paper); }
  .main-nav a::after { display: none; }
  .main-nav .nav-mobile-cta { display: grid; gap: 12px; margin-top: 28px; border: 0; }
  .main-nav .nav-mobile-cta a { display: flex; color: var(--fg); font-family: var(--f-body); font-size: 1rem; font-weight: 600; letter-spacing: 0; padding: 0 26px; }
  body.nav-open { overflow: hidden; }
}
@media (min-width: 961px) { .nav-mobile-cta { display: none !important; } }
/* Logotipo completo en todos los móviles (antes se cambiaba por el monograma por debajo de 420px) */
.brand .brand-full { display: block; height: 22px; width: 243px; flex: none; }
@media (max-width: 1140px) { .brand .brand-full { height: 18px; width: 199px; } }
@media (max-width: 360px) { .brand .brand-full { height: 16px; width: 177px; } }

/* ---------- Hero ---------- */
.hero { padding: clamp(48px, 8vw, 104px) 0 0; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: stretch; }
.hero-copy { padding-bottom: clamp(48px, 7vw, 96px); }
.hero h1 { margin-bottom: 28px; font-size: clamp(2.5rem, 5.4vw, 4.75rem); line-height: 1; }
.hero h1 .line { display: block; }
.hero .lead { margin-bottom: 36px; max-width: 54ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 48px; }
.hero-proof { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line-dark); }
.hero-proof li { padding: 22px 20px 0 0; }
.hero-proof li + li { padding-left: 20px; border-left: 1px solid var(--line-dark); }
.hero-proof strong { display: block; font-family: var(--f-display); font-weight: 800; font-size: clamp(1.75rem, 3vw, 2.2rem); letter-spacing: -0.03em; line-height: 1; color: var(--lime); margin-bottom: 8px; }
.hero-proof span { font-size: .875rem; color: var(--muted-dark); line-height: 1.45; display: block; }
.hero-photo { position: relative; align-self: stretch; }
.hero-photo picture { height: 100%; }
.hero-photo img { width: 100%; height: 100%; min-height: 520px; object-fit: cover; object-position: center top; }
.hero-photo::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 30%;
  background: linear-gradient(to top, var(--ink), transparent); pointer-events: none;
}
.hero-badge {
  position: absolute; left: -20px; bottom: 56px; z-index: 2;
  background: var(--lime); color: var(--ink); padding: 14px 18px; max-width: 240px;
  font-size: .875rem; line-height: 1.35; font-weight: 600;
  display: flex; gap: 10px; align-items: flex-start;
}
.hero-badge .pulse { width: 10px; height: 10px; background: var(--ink); border-radius: 50%; margin-top: 4px; flex: none; animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-copy { padding-bottom: 0; }
  .hero-photo { max-width: 460px; margin: 0 auto; width: 100%; }
  .hero-photo img { height: auto; min-height: 0; aspect-ratio: 4 / 5; }
  .hero-badge { left: 0; }
}
@media (max-width: 560px) {
  .hero-actions .btn { width: 100%; }
  .hero-proof { grid-template-columns: minmax(0, 1fr); }
  .hero-proof li, .hero-proof li + li { padding: 18px 0; border-left: 0; border-bottom: 1px solid var(--line-dark); display: flex; align-items: baseline; gap: 14px; }
  .hero-proof strong { margin: 0; min-width: 84px; }
}

/* ---------- Clientes (marquee) ---------- */
.clients { padding: 40px 0 48px; border-top: 1px solid var(--line-dark); }
.clients-title { font-size: .8125rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-dark); text-align: center; margin: 0 0 28px; font-weight: 600; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 36s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee ul { list-style: none; display: flex; align-items: center; gap: clamp(48px, 6vw, 88px); padding-right: clamp(48px, 6vw, 88px); }
.marquee img { height: 44px; width: auto; opacity: .72; transition: opacity .2s; }
.marquee img:hover { opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Problemas ---------- */
.pain-grid { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.pain-grid li { background: var(--paper); padding: 32px 28px; display: flex; flex-direction: column; gap: 16px; }
.pain-grid .ico { width: 44px; height: 44px; display: grid; place-items: center; background: var(--bone); }
.pain-grid .ico svg { width: 22px; height: 22px; }
.pain-grid p { margin: 0; font-size: 1.0625rem; line-height: 1.5; font-weight: 500; }
.pain-foot { margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; }
.pain-foot p { margin: 0; font-family: var(--f-display); font-weight: 800; font-size: clamp(1.25rem, 2vw, 1.625rem); letter-spacing: -0.02em; line-height: 1.2; }
@media (max-width: 900px) { .pain-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .pain-grid { grid-template-columns: minmax(0, 1fr); } .pain-grid li { padding: 24px 20px; flex-direction: row; align-items: flex-start; } .pain-grid .ico { flex: none; } }

/* ---------- Servicios ---------- */
.services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.service {
  background: var(--paper); border: 1px solid var(--line); padding: clamp(28px, 3.4vw, 44px);
  display: flex; flex-direction: column; gap: 18px; position: relative;
  transition: border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.service:hover { border-color: var(--ink); transform: translateY(-4px); box-shadow: 0 18px 40px -24px rgba(0,0,0,.35); }
.service-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.service-num { font-family: var(--f-display); font-weight: 800; font-size: .875rem; letter-spacing: .08em; background: var(--ink); color: var(--lime); padding: 6px 10px; }
.service-ico { width: 48px; height: 48px; }
.service h3 { font-size: clamp(1.375rem, 2.2vw, 1.875rem); }
.service > p { color: var(--muted); margin: 0; }
.service ul { list-style: none; display: grid; gap: 10px; margin-top: 4px; }
.service li { display: flex; gap: 12px; font-size: .9875rem; line-height: 1.45; }
.service li::before { content: ""; width: 8px; height: 8px; background: var(--lime); outline: 1px solid var(--ink); outline-offset: 0; margin-top: 7px; flex: none; }
.service-result { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); font-size: .9375rem; }
.service-result strong { font-weight: 600; }
.services-extra { margin-top: 20px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; background: var(--ink); color: var(--paper); padding: 28px clamp(24px, 3.4vw, 44px); }
.services-extra p { margin: 0; max-width: 64ch; color: #d6d6d0; }
.services-extra strong { color: var(--paper); font-family: var(--f-display); font-size: 1.25rem; letter-spacing: -0.015em; display: block; margin-bottom: 4px; }
@media (max-width: 860px) { .services { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Sobre mí ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.about-quote { font-family: var(--f-display); font-weight: 800; font-size: clamp(1.75rem, 3.4vw, 2.875rem); line-height: 1.08; letter-spacing: -0.025em; margin: 0 0 32px; }
.about-body p { color: var(--muted); }
.about-body p strong { color: var(--text); font-weight: 600; }
.diff-list { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 32px; margin-top: 40px; padding-top: 36px; border-top: 1px solid var(--line); }
.diff-list h3 { font-size: 1.125rem; letter-spacing: -0.01em; line-height: 1.2; margin-bottom: 8px; display: flex; gap: 10px; align-items: baseline; }
.diff-list h3::before { content: ""; width: 10px; height: 10px; background: var(--lime); outline: 1px solid var(--ink); flex: none; transform: translateY(-1px); }
.diff-list p { margin: 0; font-size: .9375rem; color: var(--muted); line-height: 1.55; }
.career { position: sticky; top: calc(var(--header-h) + 32px); }
.career h3 { font-size: .8125rem; letter-spacing: .14em; text-transform: uppercase; font-family: var(--f-body); font-weight: 600; color: var(--muted); margin: 0 0 18px; }
.timeline { list-style: none; border-left: 2px solid var(--ink); margin-bottom: 40px; }
.timeline li { position: relative; padding: 0 0 22px 24px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px; background: var(--paper); border: 2px solid var(--ink); }
.timeline li.current::before { background: var(--lime); }
.timeline strong { display: block; font-family: var(--f-display); font-size: 1.125rem; letter-spacing: -0.01em; line-height: 1.25; }
.timeline span { display: block; font-size: .9375rem; color: var(--muted); line-height: 1.45; }
.timeline em { font-style: normal; font-size: .8125rem; color: var(--muted); }
.edu { list-style: none; display: grid; gap: 12px; }
.edu li { display: grid; grid-template-columns: minmax(0, 1fr); padding: 14px 16px; background: var(--bone); }
.edu strong { font-weight: 600; font-size: .9375rem; line-height: 1.35; }
.edu span { font-size: .875rem; color: var(--muted); }
@media (max-width: 900px) { .about-grid { grid-template-columns: minmax(0, 1fr); } .career { position: static; } }
@media (max-width: 560px) { .diff-list { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Método ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: step; border-top: 1px solid var(--line-dark); }
.step { padding: 32px 28px 8px 0; position: relative; }
.step + .step { padding-left: 28px; border-left: 1px solid var(--line-dark); }
.step-num { font-family: var(--f-display); font-weight: 800; font-size: clamp(3rem, 5vw, 4.5rem); line-height: 1; letter-spacing: -0.04em; color: var(--lime); display: block; margin-bottom: 20px; }
.step h3 { font-size: 1.375rem; margin-bottom: 12px; }
.step p { color: #c9c9c3; font-size: .9875rem; margin: 0; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } .step:nth-child(3) { padding-left: 0; border-left: 0; } .step:nth-child(n+3) { border-top: 1px solid var(--line-dark); } }
@media (max-width: 560px) { .steps { grid-template-columns: minmax(0, 1fr); } .step, .step + .step { padding: 28px 0; border-left: 0; } .step + .step { border-top: 1px solid var(--line-dark); } .step-num { font-size: 2.75rem; margin-bottom: 12px; } }

/* ---------- Formatos ---------- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.plan { border: 1px solid var(--line); padding: clamp(28px, 3vw, 40px); display: flex; flex-direction: column; gap: 16px; background: var(--paper); }
.plan--featured { background: var(--ink); color: var(--paper); border-color: var(--ink); position: relative; }
.plan-tag { position: absolute; top: -14px; left: clamp(28px, 3vw, 40px); background: var(--lime); color: var(--ink); font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; padding: 6px 10px; }
.plan h3 { font-size: 1.75rem; }
.plan-for { font-size: .9375rem; color: var(--muted); margin: 0; }
.plan--featured .plan-for { color: #c9c9c3; }
.plan ul { list-style: none; display: grid; gap: 10px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.plan--featured ul { border-color: var(--line-dark); }
.plan li { display: flex; gap: 12px; font-size: .9375rem; line-height: 1.45; }
.plan li svg { width: 18px; height: 18px; flex: none; margin-top: 2px; }
.plan .btn { margin-top: auto; }
.plan-meta { font-size: .875rem; color: var(--muted); margin: 0; }
.plan--featured .plan-meta { color: #c9c9c3; }
@media (max-width: 960px) { .plans { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin: 0 auto; } .plan--featured { margin-top: 10px; } }

/* ---------- Testimonios ---------- */
.testimonials { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.testimonial { background: var(--paper); padding: clamp(28px, 3vw, 40px); display: flex; flex-direction: column; gap: 24px; margin: 0; border: 1px solid var(--line); }
.testimonial svg.q { width: 34px; height: 34px; }
.testimonial blockquote { margin: 0; font-size: 1.0625rem; line-height: 1.6; }
.testimonial figcaption { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.testimonial figcaption img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; filter: grayscale(1); }
.testimonial figcaption strong { display: block; font-weight: 600; line-height: 1.3; }
.testimonial figcaption span { display: block; font-size: .875rem; color: var(--muted); }
@media (max-width: 760px) {
  .testimonials { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 12px; scrollbar-width: thin; }
  .testimonial { flex: 0 0 86%; scroll-snap-align: start; }
}
.scroll-hint { display: none; font-size: .875rem; color: var(--muted); margin-top: 8px; }
@media (max-width: 760px) { .scroll-hint { display: block; } }

/* ---------- Artículos ---------- */
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.post-card { display: flex; flex-direction: column; gap: 16px; text-decoration: none; position: relative; }
.post-card .thumb { overflow: hidden; background: var(--bone); aspect-ratio: 16 / 9; }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.post-card:hover .thumb img { transform: scale(1.04); }
.post-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; font-size: .8125rem; color: var(--muted); }
.post-cat { font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--ink); background: var(--lime); padding: 3px 8px; }
.post-card h3 { font-size: 1.375rem; letter-spacing: -0.015em; line-height: 1.15; }
.post-card h3 a { text-decoration: none; }
.post-card h3 a::after { content: ""; position: absolute; inset: 0; }
.post-card h3 a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.post-card p { color: var(--muted); font-size: .9875rem; margin: 0; }
.posts-foot { margin-top: 48px; }
@media (max-width: 960px) { .posts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .posts { grid-template-columns: minmax(0, 1fr); } }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-list { border-top: 2px solid var(--ink); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  list-style: none; cursor: pointer; padding: 24px 48px 24px 0; position: relative;
  font-family: var(--f-display); font-weight: 800; font-size: clamp(1.0625rem, 1.6vw, 1.25rem); letter-spacing: -0.01em; line-height: 1.3;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 16px; height: 16px; margin-top: -8px;
  background: linear-gradient(var(--ink), var(--ink)) center / 100% 2px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 2px 100% no-repeat;
  transition: transform .25s var(--ease);
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list .answer { padding: 0 0 24px; color: var(--muted); max-width: 64ch; }
.faq-list .answer p:last-child { margin: 0; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Contacto ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(40px, 6vw, 88px); align-items: start; }
.contact-intro { margin-bottom: 40px; }
.contact-intro h2 { margin-bottom: 20px; }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.field { display: grid; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .875rem; font-weight: 600; color: #e6e6e0; }
.field label .opt { font-weight: 400; color: var(--muted-dark); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 14px 16px;
  background: var(--ink-2); color: var(--paper);
  border: 1px solid #3a3a3a; border-radius: var(--radius);
  transition: border-color .2s, background .2s; font-size: 1rem;
}
.field textarea { min-height: 150px; resize: vertical; line-height: 1.5; }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23c8f03c' stroke-width='3'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 44px; }
.field input::placeholder, .field textarea::placeholder { color: #8a8a85; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #5a5a5a; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--lime); background: #1b1b1b; box-shadow: 0 0 0 3px rgba(200, 240, 60, .22); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: #ff8a7a; }
.field .err { font-size: .8125rem; color: #ffb0a4; min-height: 0; }
.check { grid-column: 1 / -1; display: flex; gap: 12px; align-items: flex-start; font-size: .875rem; color: #cfcfc9; line-height: 1.5; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--lime); flex: none; }
.check a { color: var(--paper); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.form-actions small { color: var(--muted-dark); font-size: .8125rem; }
.form-status { grid-column: 1 / -1; padding: 16px 18px; border-radius: var(--radius); font-size: .9375rem; display: none; }
.form-status.is-ok { display: block; background: var(--lime); color: var(--ink); font-weight: 500; }
.form-status.is-error { display: block; background: #3a1712; color: #ffd2ca; border: 1px solid #7a2c22; }
.btn[aria-busy="true"] { opacity: .7; pointer-events: none; }
.btn .spinner { width: 18px; height: 18px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; display: none; }
.btn[aria-busy="true"] .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.legal-mini { grid-column: 1 / -1; font-size: .75rem; line-height: 1.55; color: #9a9a94; margin: 0; }
.legal-mini a { color: #cfcfc9; }

.channels { display: grid; gap: 12px; }
.channel {
  display: flex; align-items: center; gap: 16px; padding: 18px 20px; text-decoration: none;
  border: 1px solid var(--line-dark); background: var(--ink-2); transition: border-color .2s, transform .2s var(--ease);
}
.channel:hover { border-color: var(--lime); transform: translateX(4px); }
.channel .c-ico { width: 44px; height: 44px; display: grid; place-items: center; background: var(--ink-3); flex: none; }
.channel .c-ico svg { width: 22px; height: 22px; }
.channel--wa .c-ico { background: var(--whatsapp); color: #062e14; }
.channel strong { display: block; font-weight: 600; line-height: 1.3; }
.channel span { display: block; font-size: .875rem; color: var(--muted-dark); }
.contact-aside h3 { font-size: .8125rem; letter-spacing: .14em; text-transform: uppercase; font-family: var(--f-body); font-weight: 600; color: var(--muted-dark); margin: 0 0 16px; }
.social { list-style: none; display: flex; gap: 10px; margin-top: 28px; }
.social a { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid var(--line-dark); transition: background .2s, color .2s, border-color .2s; }
.social a:hover { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.social svg { width: 20px; height: 20px; }
.response-note { margin-top: 28px; padding: 18px 20px; border-left: 3px solid var(--lime); background: var(--ink-2); font-size: .9375rem; color: #d6d6d0; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) { .form { grid-template-columns: minmax(0, 1fr); } .form-actions .btn { width: 100%; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #cfcfc9; padding: 72px 0 32px; border-top: 1px solid var(--line-dark); }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-bottom: 48px; border-bottom: 1px solid var(--line-dark); }
.footer-brand svg { height: 64px; width: auto; margin-bottom: 20px; }
.footer-brand p { font-size: .9375rem; max-width: 34ch; margin: 0; }
.site-footer h2 { font-family: var(--f-body); font-size: .8125rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--paper); margin: 0 0 16px; }
.site-footer ul { list-style: none; display: grid; gap: 6px; }
.site-footer a { text-decoration: none; font-size: .9375rem; display: inline-block; padding: 4px 0; }
.site-footer a:hover { color: var(--lime); }
.footer-bottom { padding-top: 28px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; font-size: .8125rem; color: #8f8f89; }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.footer-bottom a { font-size: .8125rem; }
@media (max-width: 860px) { .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-top { grid-template-columns: minmax(0, 1fr); } }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  display: inline-flex; align-items: center; gap: 10px; height: 58px; padding: 0 20px 0 16px;
  background: var(--whatsapp); color: #062e14; text-decoration: none; font-weight: 600; font-size: .9375rem;
  border-radius: 999px; box-shadow: 0 10px 30px -8px rgba(0,0,0,.45);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), opacity .3s, visibility .3s;
}
.wa-float:hover { transform: translateY(-3px); box-shadow: 0 16px 36px -10px rgba(0,0,0,.5); }
.wa-float svg { width: 28px; height: 28px; }
.wa-float.is-hidden { opacity: 0; visibility: hidden; transform: translateY(12px); }
@media (max-width: 600px) { .wa-float { width: 58px; padding: 0; justify-content: center; right: 16px; bottom: 16px; } .wa-float .wa-label { display: none; } }

/* ---------- Páginas interiores ---------- */
.page-hero { padding: clamp(56px, 8vw, 104px) 0 clamp(40px, 6vw, 72px); }
.page-hero h1 { max-width: 18ch; }
.page-hero .lead { margin-top: 20px; }
.breadcrumb { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; font-size: .875rem; color: var(--muted-dark); margin-bottom: 28px; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; opacity: .6; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--lime); }
.s-light .breadcrumb, .s-bone .breadcrumb { color: var(--muted); }

/* Artículo */
.article-head { padding: clamp(48px, 7vw, 96px) 0 clamp(36px, 5vw, 56px); }
.article-head h1 { font-size: clamp(2.125rem, 5vw, 4rem); max-width: 22ch; margin: 18px 0 24px; }
.article-head .standfirst { font-size: clamp(1.125rem, 1.6vw, 1.3125rem); color: #cfcfc9; max-width: 60ch; margin: 0 0 28px; }
.byline { display: flex; align-items: center; gap: 14px; font-size: .9375rem; color: var(--muted-dark); }
.byline img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: top; }
.byline strong { color: var(--paper); font-weight: 600; }
.article-cover { margin: 0; background: linear-gradient(var(--ink) 50%, var(--paper) 50%); }
.article-cover picture, .article-cover img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.article-cover figcaption { font-size: .875rem; color: var(--muted); padding-top: 12px; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 720px) minmax(0, 1fr); gap: 32px; padding-top: clamp(40px, 6vw, 72px); padding-bottom: var(--section); }
.prose { grid-column: 2; font-size: 1.1875rem; line-height: 1.75; }
.prose > * { margin-top: 0; margin-bottom: 0; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-top: 2em; line-height: 1.12; }
.prose h3 { font-size: 1.375rem; margin-top: 1.6em; }
.prose a { text-decoration-thickness: 2px; text-underline-offset: 3px; text-decoration-color: var(--lime); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose .lead-p { font-size: 1.375rem; line-height: 1.6; font-weight: 500; }
.prose .highlight { font-family: var(--f-display); font-weight: 800; font-size: clamp(1.375rem, 2.2vw, 1.75rem); line-height: 1.2; letter-spacing: -0.02em; padding-left: 22px; border-left: 6px solid var(--lime); }
.prose blockquote { margin: 2em 0; padding: 28px 32px; background: var(--bone); border-left: 6px solid var(--ink); font-size: 1.1875rem; font-style: italic; }
.prose blockquote p { margin: 0; }
.prose .data { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); margin: 2em 0; }
.prose .data div { background: var(--paper); padding: 22px; font-size: 1rem; line-height: 1.5; }
.prose .data strong { display: block; font-family: var(--f-display); font-size: 1.25rem; margin-bottom: 6px; }
.prose .closing { font-weight: 600; padding-top: 1.4em; border-top: 1px solid var(--line); margin-top: 2em; }
.share { grid-column: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding-top: 32px; border-top: 1px solid var(--line); }
.share > span { font-size: .875rem; font-weight: 600; margin-right: 8px; }
.share a, .share button { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line); background: var(--paper); cursor: pointer; transition: background .2s, border-color .2s; }
.share a:hover, .share button:hover { background: var(--lime); border-color: var(--ink); }
.share svg { width: 18px; height: 18px; }
.share .copied { font-size: .8125rem; color: var(--muted); }
.author-box { grid-column: 2; display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 24px; padding: 32px; background: var(--ink); color: var(--paper); margin-top: 16px; }
.author-box img { width: 88px; height: 88px; object-fit: cover; object-position: top; }
.author-box h2 { font-size: 1.375rem; margin-bottom: 8px; }
.author-box p { color: #cfcfc9; font-size: .9875rem; margin: 0 0 18px; }
@media (max-width: 560px) { .author-box { grid-template-columns: minmax(0, 1fr); padding: 24px; } .prose { font-size: 1.0625rem; } .prose .lead-p { font-size: 1.1875rem; } .prose blockquote { padding: 20px; } }
@media (max-width: 860px) { .article-layout { grid-template-columns: minmax(0, 1fr); } .prose, .share, .author-box { grid-column: 1; } }

/* Banda CTA */
.cta-band { padding: clamp(56px, 8vw, 96px) 0; }
.cta-band .inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 28px 48px; }
.cta-band h2 { max-width: 20ch; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Legales */
.legal { padding: clamp(48px, 7vw, 88px) 0 var(--section); }
.legal .prose { grid-column: auto; max-width: 760px; font-size: 1.0625rem; }
.legal .prose h2 { font-size: 1.5rem; }
.placeholder { background: #fff3a8; padding: 0 4px; font-weight: 600; }

/* 404 / gracias */
.center-page { min-height: 70vh; display: grid; align-items: center; padding: var(--section) 0; }
.center-page h1 { font-size: clamp(2.5rem, 7vw, 6rem); margin-bottom: 24px; }

/* ---------- Animaciones de entrada ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
  .marquee { overflow-x: auto; }
}

@media print {
  .site-header, .wa-float, .site-footer, .share, .cta-band { display: none !important; }
  body { color: #000; }
}

/* ==========================================================================
   v2 · Posicionamiento "Menos ruido. Más criterio."
   ========================================================================== */
.hero h1 .hero-sub { display: block; font-size: .46em; line-height: 1.1; letter-spacing: -0.02em; color: #d9d9d4; margin-top: .45em; }
.hero-claim { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.0625rem, 1.5vw, 1.25rem); line-height: 1.4; letter-spacing: -0.01em; max-width: 46ch; margin: -12px 0 36px; padding-left: 18px; border-left: 4px solid var(--lime); }
.mark-lime { color: var(--lime); }

/* Problema */
.problem-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.problem-lead { font-size: clamp(1.1875rem, 1.6vw, 1.375rem); line-height: 1.55; font-weight: 500; color: var(--text) !important; }
.problem-body p { color: var(--muted); }
.problem-body p strong { color: var(--text); }
.chaos { margin-top: clamp(48px, 7vw, 88px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
.chaos-col { position: relative; border: 1px dashed #c9c9c2; padding: 56px 28px 32px; min-height: 260px; background: var(--paper); }
.chaos-col--ok { border: 2px solid var(--ink); background: var(--bone); }
.chaos-label { position: absolute; top: 18px; left: 28px; font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.chaos-col--ok .chaos-label { color: var(--ink); }
.chaos-noise { list-style: none; display: flex; flex-wrap: wrap; gap: 18px 22px; justify-content: center; align-items: center; padding-top: 8px; }
.chaos-noise li { transform: rotate(var(--r)); border: 1px solid #c9c9c2; color: #6a6a65; padding: 8px 14px; font-size: .9375rem; font-weight: 500; background: var(--paper); }
.chaos-order { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.chaos-order li { background: var(--ink); color: var(--paper); padding: 10px 8px; font-size: .875rem; font-weight: 500; text-align: center; }
.chaos-goal { display: block; margin-top: 18px; background: var(--lime); color: var(--ink); font-family: var(--f-display); font-weight: 800; font-size: 1.125rem; padding: 14px 18px; text-align: center; letter-spacing: -0.01em; }
.answer-band { margin-top: 20px; background: var(--ink); color: var(--paper); padding: clamp(28px, 4vw, 48px); display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 16px 48px; align-items: start; }
.answer-title { font-family: var(--f-display); font-weight: 800; font-size: clamp(1.625rem, 3vw, 2.5rem); line-height: 1.05; letter-spacing: -0.025em; margin: 0; grid-row: span 2; }
.answer-band > p:not(.answer-title) { color: #d6d6d0; margin: 0; font-size: 1.0625rem; }
.answer-nots { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 10px; }
.answer-nots li { border: 1px solid var(--line-dark); padding: 6px 12px; font-size: .875rem; color: var(--lime); }
@media (max-width: 860px) {
  .problem-grid, .chaos, .answer-band { grid-template-columns: minmax(0, 1fr); }
  .answer-title { grid-row: auto; }
}
@media (max-width: 480px) { .chaos-order { grid-template-columns: repeat(2, minmax(0, 1fr)); } .chaos-col { padding: 52px 18px 24px; } }

/* Interlocutor */
.inter-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.questions { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--line-dark); }
.questions li { font-family: var(--f-display); font-weight: 800; font-size: clamp(1.25rem, 2.2vw, 1.75rem); letter-spacing: -0.02em; line-height: 1.2; padding: 20px 0; border-bottom: 1px solid var(--line-dark); display: flex; gap: 16px; align-items: baseline; }
.questions li::before { content: ""; width: 12px; height: 12px; background: var(--lime); flex: none; transform: translateY(-2px); }
.inter-answer { margin-top: 32px; padding: 28px; background: var(--lime); color: var(--ink); }
.inter-answer p { margin: 0; }
.inter-answer p + p { margin-top: 10px; font-size: .9875rem; }
.inter-answer strong { font-family: var(--f-display); font-size: 1.25rem; letter-spacing: -0.015em; line-height: 1.25; display: block; }
@media (max-width: 900px) { .inter-grid { grid-template-columns: minmax(0, 1fr); } }

/* Servicios v2 */
.service-top { align-items: center; }
.service-kicker { font-size: .875rem; font-weight: 600; color: var(--muted); text-align: right; }
@media (max-width: 480px) { .service-top { flex-direction: column; align-items: flex-start; gap: 10px; } .service-kicker { text-align: left; } }

/* Tres verdades */
.truths { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.truths li { border-top: 6px solid var(--ink); padding: 28px 0 0; position: relative; }
.t-n { font-family: var(--f-display); font-weight: 800; font-size: .875rem; background: var(--lime); padding: 4px 10px; display: inline-block; margin-bottom: 20px; }
.t-no { font-size: 1.0625rem; color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(0,0,0,.35); margin: 0 0 10px; }
.t-yes { font-family: var(--f-display); font-weight: 800; font-size: clamp(1.375rem, 2.2vw, 1.75rem); line-height: 1.15; letter-spacing: -0.02em; margin: 0; }
@media (max-width: 860px) { .truths { grid-template-columns: minmax(0, 1fr); gap: 32px; } }

/* Diferencial */
.diffs { list-style: none; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); }
.diffs li { background: var(--ink); padding: clamp(24px, 3vw, 36px); grid-column: span 2; display: flex; flex-direction: column; gap: 12px; }
.diffs li:nth-child(4), .diffs li:nth-child(5) { grid-column: span 3; }
.diff-n { font-family: var(--f-display); font-weight: 800; color: var(--lime); font-size: 1rem; }
.diffs h3 { font-size: clamp(1.375rem, 2.2vw, 1.75rem); }
.diffs p { margin: 0; color: #c9c9c3; font-size: .9875rem; }
@media (max-width: 900px) { .diffs { grid-template-columns: minmax(0, 1fr); } .diffs li, .diffs li:nth-child(4), .diffs li:nth-child(5) { grid-column: auto; } }

/* Método en claro */
.steps--light { border-top-color: var(--line); }
.steps--light .step + .step { border-left-color: var(--line); }
.steps--light .step-num { color: var(--ink); -webkit-text-stroke: 0; position: relative; display: inline-block; }
.steps--light .step-num::after { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: .28em; background: var(--lime); z-index: -1; }
.steps--light .step-num { z-index: 0; }
.steps--light .step p { color: var(--muted); }
@media (max-width: 960px) { .steps--light .step:nth-child(n+3) { border-top-color: var(--line); } }
@media (max-width: 560px) { .steps--light .step + .step { border-top-color: var(--line); } }
.plans-note { text-align: center; margin: 32px 0 0; color: var(--muted); font-size: .9375rem; }

/* Sobre mí v2 */
.about-photo { margin-bottom: 36px; background: var(--ink); }
.about-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; }
.s-bone .edu li { background: var(--paper); }
.s-bone .timeline li::before { background: var(--bone); }
.s-bone .timeline li.current::before { background: var(--lime); }
.about-quote { margin: 40px 0 0; padding-top: 32px; border-top: 2px solid var(--ink); font-size: clamp(1.5rem, 2.8vw, 2.25rem); }

/* Contacto v2 */
.contact-promise { margin: 24px 0 0; font-family: var(--f-display); font-weight: 700; font-size: 1.125rem; letter-spacing: -0.01em; color: var(--lime); }
@media (max-width: 900px) { .about-photo { display: none; } }

/* ==========================================================================
   v4 · Header con imagen, logos fijos, interlineado 1.2, menú en mayúsculas
   ========================================================================== */
/* Menú en mayúsculas */
.main-nav a { text-transform: uppercase; font-size: .78125rem; font-weight: 600; letter-spacing: .09em; }
@media (max-width: 960px) {
  .main-nav a { font-size: 1.5rem; letter-spacing: .02em; }
}

/* Header con imagen */
.hero { position: relative; padding: 0; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; display: block; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #0b0b0b 0%, rgba(11,11,11,.92) 30%, rgba(11,11,11,.55) 48%, rgba(11,11,11,0) 64%), linear-gradient(0deg, rgba(11,11,11,.85) 0%, rgba(11,11,11,0) 22%); }
.hero-grid { grid-template-columns: minmax(0, 1fr); min-height: min(86vh, 860px); align-items: center; }
.hero-copy { max-width: 640px; padding: clamp(72px, 9vw, 120px) 0 clamp(56px, 7vw, 96px); }
.hero .clients { position: relative; background: var(--ink); }
@media (min-width: 1700px) { .hero-bg img { object-position: 85% center; } }
@media (max-width: 900px) {
  .hero-bg { position: relative; inset: auto; z-index: 0; aspect-ratio: 1083 / 793; max-height: 62vh; overflow: hidden; }
  .hero-bg img { object-position: 55% 20%; }
  .hero-bg::after { background: linear-gradient(0deg, #0b0b0b 0%, rgba(11,11,11,0) 45%); }
  .hero-grid { min-height: 0; }
  .hero-copy { padding: 8px 0 56px; margin-top: -40px; position: relative; }
}

/* Logos fijos (sin carrusel) */
.clients-grid { list-style: none; display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 24px 28px; align-items: center; justify-items: center; }
.clients-grid img { width: 100%; max-width: 120px; height: auto; opacity: .75; transition: opacity .2s; }
.clients-grid img:hover { opacity: 1; }
@media (max-width: 1100px) { .clients-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (max-width: 600px) { .clients-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 20px; } }

/* Interlineado 1.2 en todos los textos de párrafo */
body, p, li, blockquote, dd, figcaption, .lead, .prose, .prose p, .prose .lead-p, .prose blockquote,
.testimonial blockquote, .faq-list .answer, .problem-lead, .service li, .plan li, .step p, .diffs p, .diff-list p,
.timeline span, .edu span, .post-card p, .hero-proof span, .legal-mini, .check, .channel span, .response-note,
.answer-band p, .inter-answer p, .chaos-noise li, .services-extra p, .footer-brand p, .author-box p, .article-head .standfirst { line-height: 1.2; }
.prose > * + * { margin-top: 1em; }
.about-body p, .problem-body p { margin-bottom: 1em; }
@media (min-width: 901px) {
  .hero-grid { min-height: 0; }
  .hero-copy { max-width: 600px; padding: clamp(64px, 7vw, 96px) 0 clamp(48px, 6vw, 80px); }
  .hero-bg img { object-position: right center; }
}
@media (min-width: 901px) {
  .hero-bg { left: 28%; }
  .hero-bg img { object-position: 78% center; }
  .hero-bg::after { background: linear-gradient(90deg, #0b0b0b 0%, rgba(11,11,11,.75) 18%, rgba(11,11,11,0) 42%), linear-gradient(0deg, rgba(11,11,11,.8) 0%, rgba(11,11,11,0) 20%); }
}
.main-nav a { white-space: nowrap; }
@media (min-width: 961px) and (max-width: 1140px) {
  .main-nav ul { gap: 18px; }
  .main-nav a { font-size: .71875rem; letter-spacing: .06em; }
}
@media (min-width: 901px) and (max-width: 1200px) {
  .hero-copy { max-width: 500px; }
  .hero-bg { left: 38%; }
}

/* ==========================================================================
   Aviso y configuración de cookies (assets/js/consent.js)
   ========================================================================== */
.cc-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 300;
  max-width: 1080px; margin: 0 auto;
  background: var(--ink); color: var(--paper); border: 1px solid var(--line-dark);
  box-shadow: 0 24px 60px -20px rgba(0,0,0,.6);
  opacity: 0; transform: translateY(16px); transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.cc-banner.is-in { opacity: 1; transform: none; }
.cc-banner[hidden] { display: none; }
.cc-banner-inner { display: flex; align-items: center; gap: 20px 32px; padding: 22px 26px; }
.cc-text { flex: 1 1 auto; min-width: 0; }
.cc-text p { margin: 0; font-size: .9375rem; line-height: 1.35; color: #d6d6d0; }
.cc-text a { color: var(--paper); text-decoration-color: var(--lime); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.cc-title { font-family: var(--f-display); font-weight: 800; font-size: 1.25rem !important; letter-spacing: -0.015em; color: var(--paper) !important; margin-bottom: 6px !important; }
.cc-dot { color: var(--lime); }
.cc-actions { display: flex; gap: 10px; flex: none; }
.cc-btn {
  min-height: 46px; padding: 0 20px; border-radius: var(--radius); border: 2px solid transparent;
  font: 600 .9375rem/1.2 var(--f-body); cursor: pointer; white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s;
}
.cc-btn--primary { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.cc-btn--primary:hover { background: var(--lime-hover); border-color: var(--lime-hover); }
.cc-btn--ghost { background: transparent; border-color: rgba(255,255,255,.45); color: var(--paper); }
.cc-btn--ghost:hover { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.cc-btn--ghost-dark { background: transparent; border-color: var(--ink); color: var(--ink); }
.cc-btn--ghost-dark:hover { background: var(--ink); color: var(--paper); }
.cc-btn:focus-visible, .cc-close:focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; }
.cc-dialog .cc-btn:focus-visible, .cc-dialog .cc-close:focus-visible { outline-color: var(--ink); }

.cc-modal { position: fixed; inset: 0; z-index: 400; display: grid; place-items: center; padding: 16px; }
.cc-modal[hidden] { display: none; }
.cc-overlay { position: absolute; inset: 0; background: rgba(11,11,11,.72); }
.cc-dialog {
  position: relative; width: 100%; max-width: 620px; max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px);
  background: var(--paper); color: var(--ink); display: flex; flex-direction: column; outline: none;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.6);
}
.cc-dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 26px; border-bottom: 1px solid var(--line); }
.cc-dialog-head h2 { font-size: 1.5rem; }
.cc-close { width: 44px; height: 44px; display: grid; place-items: center; border: 0; background: transparent; cursor: pointer; color: var(--ink); }
.cc-close svg { width: 22px; height: 22px; }
.cc-dialog-body { padding: 20px 26px; overflow-y: auto; }
.cc-dialog-body > p { font-size: .9375rem; color: var(--muted); margin: 0 0 16px; line-height: 1.35; }
.cc-cat { border: 1px solid var(--line); padding: 16px 18px; margin-bottom: 12px; }
.cc-cat-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 8px; }
.cc-cat h3 { font-size: 1.0625rem; letter-spacing: -0.01em; }
.cc-cat p { margin: 0; font-size: .875rem; color: var(--muted); line-height: 1.35; }
.cc-always { font-size: .8125rem; font-weight: 600; color: var(--ink); background: var(--bone); padding: 4px 10px; }
.cc-switch { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; position: relative; }
.cc-switch input { position: absolute; opacity: 0; width: 52px; height: 30px; margin: 0; cursor: pointer; }
.cc-slider { width: 52px; height: 30px; background: #c9c9c2; border-radius: 999px; position: relative; transition: background .2s; flex: none; }
.cc-slider::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; background: var(--paper); border-radius: 50%; transition: transform .2s var(--ease); box-shadow: 0 1px 3px rgba(0,0,0,.3); }
.cc-switch input:checked + .cc-slider { background: var(--ink); }
.cc-switch input:checked + .cc-slider::after { transform: translateX(22px); background: var(--lime); }
.cc-switch input:focus-visible + .cc-slider { outline: 3px solid var(--ink); outline-offset: 2px; }
.cc-state { font-size: .8125rem; font-weight: 600; min-width: 92px; }
.cc-more { margin: 4px 0 0 !important; }
.cc-more a { color: var(--ink); font-size: .875rem; }
.cc-dialog-foot { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; padding: 18px 26px; border-top: 1px solid var(--line); background: var(--bone); }
html.cc-lock, html.cc-lock body { overflow: hidden; }

@media (max-width: 860px) {
  .cc-banner-inner { flex-direction: column; align-items: stretch; padding: 20px; }
  .cc-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .cc-actions [data-cc="accept"] { grid-column: 1 / -1; grid-row: 1; }
}
@media (max-width: 520px) {
  .cc-banner { left: 8px; right: 8px; bottom: 8px; }
  .cc-dialog-head, .cc-dialog-body, .cc-dialog-foot { padding-left: 18px; padding-right: 18px; }
  .cc-dialog-foot { display: grid; grid-template-columns: 1fr; }
  .cc-dialog-foot [data-cc="accept"] { order: -1; }
  .cc-state { display: none; }
}
@media print { .cc-banner, .cc-modal { display: none !important; } }

/* Tabla de cookies */
.cookie-table-wrap { overflow-x: auto; border: 1px solid var(--line); margin: 1.5em 0; }
.cookie-table { width: 100%; border-collapse: collapse; font-size: .9375rem; min-width: 640px; }
.cookie-table th, .cookie-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; line-height: 1.3; }
.cookie-table th { background: var(--ink); color: var(--paper); font-weight: 600; font-size: .8125rem; letter-spacing: .06em; text-transform: uppercase; }
.cookie-table tr:last-child td { border-bottom: 0; }
.cookie-table td:first-child { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .875rem; white-space: nowrap; }
