/* self-hosted fonts (restored after polish strip) */
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/PlayfairDisplay-400-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/PlayfairDisplay-400-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/PlayfairDisplay-600-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/PlayfairDisplay-600-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/PlayfairDisplay-400-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/PlayfairDisplay-400-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/PlayfairDisplay-500-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/PlayfairDisplay-500-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/PlayfairDisplay-600-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/PlayfairDisplay-600-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/PlayfairDisplay-700-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/PlayfairDisplay-700-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ============================================================
   Don Aníbal · Cebador a domicilio — Mendoza
   Longread editorial · hilo de vapor
   ============================================================ */

:root {
  --bg: #14100E;
  --bg-deep: #0D0A09;
  --surface: #221B17;
  --surface-2: #2C231D;
  --surface-3: #362A22;
  --ink: #F3E9DD;
  --ink-soft: #BEB0A2;
  --ink-faint: #8B7E72;
  --accent: #C6A15B;
  --accent-warm: #DDBB74;
  --accent-2: #6E8B74;
  --accent-2-soft: #8FA894;
  --line: #3A2F27;
  --line-strong: #55453A;

  --font-display: 'Playfair Display', Baskerville, "Book Antiqua", "Palatino Linotype", Palatino, "Times New Roman", serif;
  --font-body: "Lucida Grande", "Segoe UI", "Lucida Sans Unicode", "Helvetica Neue", sans-serif;
  --font-mono: "Courier New", Courier, monospace;

  --maxw: 1240px;
  --measure: 68ch;
  --gutter: clamp(22px, 5vw, 72px);
  --header-h: 76px;

  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-2: cubic-bezier(.4, 0, .2, 1);

  interpolate-size: allow-keywords;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
html, body {
  overflow-x: hidden;
  max-width: 100vw;
  margin: 0;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 19px;
  line-height: 1.85;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

/* grano cálido sobre todo el fondo */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: .5;
  background-image:
    radial-gradient(circle at 18% 12%, rgba(198, 161, 91, .07), transparent 42%),
    radial-gradient(circle at 82% 78%, rgba(110, 139, 116, .05), transparent 48%);
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.12;
  margin: 0;
}

p { margin: 0 0 1.15em; }

::selection { background: var(--accent); color: var(--bg); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 2px;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.measure { max-width: var(--measure); margin-inline: auto; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 10000;
  background: var(--accent);
  color: var(--bg);
  padding: 12px 20px;
  font-size: 15px;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ============================================================
   Tipografía editorial
   ============================================================ */

.eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 22px;
  display: block;
}
.eyebrow--green { color: var(--accent-2-soft); }

.chapter-num {
  font-family: var(--font-display);
  font-variant: small-caps;
  font-feature-settings: "smcp" 1;
  text-transform: lowercase;
  letter-spacing: .16em;
  font-size: 15px;
  font-style: normal;
  color: var(--accent);
  display: inline-block;
  margin: 0 0 18px;
}
.chapter-num::before {
  content: "";
  display: inline-block;
  width: 34px;
  height: 1px;
  background: var(--accent);
  vertical-align: middle;
  margin-right: 14px;
  opacity: .6;
}

.chapter-title {
  font-style: italic;
  font-size: clamp(2.1rem, 4.6vw, 3.6rem);
  letter-spacing: -.012em;
  margin: 0 0 .55em;
  color: var(--ink);
}

.prose { max-width: var(--measure); }
.prose p { color: var(--ink-soft); }
.prose p.lead {
  font-size: 1.14em;
  color: var(--ink);
  line-height: 1.7;
}
.prose strong { font-weight: 400; color: var(--ink); }
.prose em { color: var(--accent-warm); font-style: italic; }

.dropcap::first-letter {
  font-family: var(--font-display);
  font-style: italic;
  float: left;
  font-size: 4.1em;
  line-height: .82;
  padding: .06em .12em 0 0;
  color: var(--accent);
}

/* anotación al margen (verde apagado) */
.margin-note {
  font-size: 14px;
  line-height: 1.6;
  color: var(--accent-2-soft);
  font-style: italic;
  border-left: 1px solid var(--accent-2);
  padding-left: 16px;
  margin: 28px 0;
  max-width: 34ch;
}
.margin-note span {
  display: block;
  font-style: normal;
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 6px;
}

/* Manifiesto / cita gigante */
.manifest {
  padding: clamp(64px, 11vw, 140px) 0;
  position: relative;
}
.manifest blockquote {
  margin: 0 auto;
  max-width: 22ch;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(3.4rem, 8.6vw, 7rem);
  line-height: .98;
  letter-spacing: -.022em;
  color: var(--ink);
  text-align: center;
}
.manifest blockquote em { color: var(--accent); font-style: italic; }
.manifest cite {
  display: block;
  margin-top: 34px;
  text-align: center;
  font-style: normal;
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* ============================================================
   Separador · hilo de vapor + punto cobre
   ============================================================ */

.sep {
  position: relative;
  height: 74px;
  margin: clamp(48px, 7vw, 96px) auto;
  max-width: var(--maxw);
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: center;
}
.sep::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 6px rgba(198, 161, 91, .10), 0 0 22px rgba(198, 161, 91, .5);
  z-index: 2;
}
.sep svg {
  width: 100%;
  height: 74px;
  display: block;
  overflow: visible;
}
.sep .steam-line {
  fill: none;
  stroke: var(--line);
  stroke-width: 1;
  stroke-linecap: round;
}
.sep .steam-line--hot { stroke: rgba(198, 161, 91, .38); }

/* ============================================================
   Header
   ============================================================ */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1080;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(20, 16, 14, 0.92);
  border-bottom: 1px solid transparent;
  transition: background 240ms var(--ease-2), height 240ms var(--ease-2),
              box-shadow 240ms var(--ease-2), border-color 240ms var(--ease-2);
}
.site-header.scrolled {
  background: rgba(20, 16, 14, .98);
  height: 64px;
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px -16px rgba(0, 0, 0, .8);
}
.header-inner {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 32px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.brand-mark {
  width: 30px; height: 30px;
  flex: 0 0 30px;
  color: var(--accent);
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  min-width: 0;
}
.brand-name {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 20px;
  color: var(--ink);
  white-space: nowrap;
}
.brand-sub {
  font-size: 9.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-faint);
  white-space: nowrap;
}

.nav-desktop { display: none; }
@media (min-width: 1024px) {
  .nav-desktop {
    display: flex;
    align-items: center;
    gap: clamp(18px, 2vw, 30px);
  }
}
.nav-desktop a {
  position: relative;
  font-size: 14px;
  letter-spacing: .04em;
  color: var(--ink-soft);
  padding: 6px 0;
  transition: color 240ms var(--ease-2);
}
.nav-desktop a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width 260ms var(--ease);
}
.nav-desktop a:hover { color: var(--ink); }
.nav-desktop a:hover::after,
.nav-desktop a.is-active::after { width: 100%; }
.nav-desktop a.is-active { color: var(--accent); }
.nav-desktop .nav-cta::after { display: none; }

.nav-cta {
  border: 1px solid var(--accent);
  color: var(--accent) !important;
  padding: 10px 20px !important;
  font-size: 13px !important;
  letter-spacing: .1em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: background 240ms var(--ease-2), color 240ms var(--ease-2), transform 240ms var(--ease-2);
}
.nav-cta:hover, .nav-cta:focus-visible {
  background: var(--accent);
  color: var(--bg) !important;
  transform: translateY(-2px);
}

.nav-toggle {
  position: relative;
  z-index: 1100;
  width: 44px; height: 44px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 0;
}
@media (min-width: 1024px) { .nav-toggle { display: none; } }
.nav-toggle span {
  display: block;
  width: 24px; height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 300ms var(--ease), opacity 200ms var(--ease-2), width 300ms var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; width: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Drawer */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1040;
  background: rgba(0, 0, 0, .55);
  opacity: 0;
  visibility: hidden;
  transition: opacity 240ms var(--ease-2), visibility 240ms;
}
.drawer-backdrop.is-open { opacity: 1; visibility: visible; }

.drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  z-index: 1050;
  width: min(360px, 92vw);
  background: #1B1512;
  border-left: 1px solid var(--line);
  transform: translateX(100%);
  transition: transform 320ms var(--ease);
  padding: 96px 30px 40px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.drawer.is-open { transform: translateX(0); }
.drawer a {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 26px;
  color: var(--ink);
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  transition: color 240ms var(--ease-2), padding-left 240ms var(--ease-2);
}
.drawer a:hover, .drawer a.is-active { color: var(--accent); padding-left: 8px; }
.drawer-foot {
  margin-top: auto;
  padding-top: 34px;
  font-size: 14px;
  color: var(--ink-faint);
  line-height: 1.7;
}
.drawer-foot a {
  display: inline;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 14px;
  border: 0;
  padding: 0;
  color: var(--accent);
}

/* ============================================================
   Hero
   ============================================================ */

main { padding-top: var(--header-h); }

.hero {
  position: relative;
  min-height: min(94vh, 860px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
  background: var(--bg-deep);
}
.hero-media {
  position: absolute;
  inset: -8% 0 -8% 0;
  z-index: 0;
  will-change: transform;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .62;
  animation: slow-zoom 22s var(--ease-2) infinite alternate;
}
@keyframes slow-zoom {
  from { transform: scale(1); }
  to   { transform: scale(1.07); }
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(70% 58% at 34% 62%, rgba(214, 158, 84, .34), transparent 62%),
    radial-gradient(120% 90% at 80% 10%, rgba(20, 16, 14, .25), transparent 55%),
    linear-gradient(to top, var(--bg) 4%, rgba(20, 16, 14, .72) 40%, rgba(20, 16, 14, .35) 100%);
}

/* hilo de vapor que asciende del mate */
.hero-steam {
  position: absolute;
  left: 30%;
  bottom: 12%;
  width: 220px;
  height: 68%;
  z-index: 1;
  pointer-events: none;
  overflow: visible;
  opacity: .75;
}
.hero-steam path {
  fill: none;
  stroke: rgba(243, 233, 221, .32);
  stroke-width: 1;
  stroke-linecap: round;
  stroke-dasharray: 3 220;
  animation: steam-rise 9s linear infinite;
}
.hero-steam path:nth-child(2) { stroke: rgba(198, 161, 91, .38); animation-duration: 11.5s; animation-delay: -3s; }
.hero-steam path:nth-child(3) { stroke: rgba(243, 233, 221, .18); animation-duration: 13s; animation-delay: -6.5s; }
@keyframes steam-rise {
  0%   { stroke-dasharray: 0 6 90 400; opacity: 0; }
  12%  { opacity: .9; }
  80%  { opacity: .5; }
  100% { stroke-dasharray: 0 380 90 30; opacity: 0; }
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 0 var(--gutter) clamp(48px, 7vw, 92px);
}
.hero h1 {
  font-style: italic;
  font-size: clamp(2.9rem, 8.2vw, 4.5rem);
  line-height: .96;
  letter-spacing: -.024em;
  margin: 0 0 26px;
  max-width: 15ch;
}
.hero h1 .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(28px);
  animation: word-in 900ms var(--ease) forwards;
  animation-delay: calc(180ms + var(--w) * 90ms);
}
@keyframes word-in {
  to { opacity: 1; transform: none; }
}
.hero-sub {
  max-width: 46ch;
  color: var(--ink-soft);
  font-size: clamp(17px, 1.35vw, 20px);
  margin: 0 0 34px;
  opacity: 0;
  animation: word-in 900ms var(--ease) 620ms forwards;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  opacity: 0;
  animation: word-in 900ms var(--ease) 760ms forwards;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  opacity: 0;
  animation: word-in 900ms var(--ease) 900ms forwards;
}
.trust-strip li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  letter-spacing: .06em;
  color: var(--ink-faint);
  list-style: none;
}
.trust-strip svg { width: 15px; height: 15px; color: var(--accent-2-soft); flex: 0 0 15px; }
.trust-strip { padding-left: 0; margin-bottom: 0; }

/* ============================================================
   Botones
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 400;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 16px 30px;
  min-height: 52px;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: background 260ms var(--ease-2), color 260ms var(--ease-2),
              transform 260ms var(--ease-2), border-color 260ms var(--ease-2),
              box-shadow 260ms var(--ease-2);
}
.btn svg { width: 16px; height: 16px; transition: transform 260ms var(--ease); }
.btn:hover svg { transform: translateX(4px); }

.btn-primary {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
}
.btn-primary:hover, .btn-primary:focus-visible {
  background: var(--accent-warm);
  color: var(--bg);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -18px rgba(198, 161, 91, .9);
}
/* agua que sube al presionar */
.btn-primary::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 0;
  background: rgba(255, 255, 255, .18);
  transition: height 420ms var(--ease);
}
.btn-primary:active::before { height: 100%; }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost:hover, .btn-ghost:focus-visible {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.btn-block { width: 100%; }
@media (min-width: 720px) { .btn-block { width: auto; } }

/* ============================================================
   Capítulos · longread
   ============================================================ */

.chapter {
  padding: clamp(40px, 6vw, 80px) 0;
  position: relative;
}
.chapter-head { max-width: var(--measure); margin-inline: auto; }
.chapter-body { max-width: var(--measure); margin-inline: auto; }

@media (min-width: 1100px) {
  .chapter-body.with-notes {
    max-width: none;
    display: grid;
    grid-template-columns: 1fr minmax(0, var(--measure)) 1fr;
    column-gap: 40px;
    align-items: start;
  }
  .chapter-body.with-notes > .prose { grid-column: 2; min-width: 0; }
  .chapter-body.with-notes > .margin-note {
    grid-column: 3;
    margin-top: 12px;
    position: sticky;
    top: calc(var(--header-h) + 40px);
  }
  .chapter-body.with-notes > .margin-note--left {
    grid-column: 1;
    justify-self: end;
    text-align: right;
    border-left: 0;
    border-right: 1px solid var(--accent-2);
    padding-left: 0;
    padding-right: 16px;
  }
}

.figure {
  max-width: clamp(900px, 90%, 1280px);
  margin: clamp(38px, 5vw, 68px) auto;
  position: relative;
}
.figure img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 2px;
  filter: saturate(.86) contrast(1.04);
  transition: transform 700ms var(--ease), filter 700ms var(--ease);
}
.figure--tall img { aspect-ratio: 4 / 5; }
.figure:hover img { transform: scale(1.02); filter: saturate(1) contrast(1.06); }
.figure figcaption {
  margin-top: 14px;
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--ink-faint);
  font-style: italic;
  max-width: 52ch;
}
.figure figcaption b {
  font-style: normal;
  font-weight: 400;
  color: var(--accent);
  font-variant: small-caps;
  letter-spacing: .1em;
  margin-right: 8px;
}

/* superposición asimétrica (capítulo dos) */
.overlap {
  display: grid;
  gap: 24px;
  align-items: center;
  margin: clamp(40px, 6vw, 80px) 0;
}
@media (min-width: 900px) {
  .overlap {
    grid-template-columns: 1.15fr .95fr;
    gap: 0;
  }
  .overlap > .overlap-img { grid-column: 1; grid-row: 1; }
  .overlap > .overlap-card {
    grid-column: 2; grid-row: 1;
    margin-left: -12%;
    z-index: 2;
  }
}
.overlap-img img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 2px;
  filter: saturate(.85);
}
.overlap-card {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: clamp(26px, 3.4vw, 44px);
  border-radius: 2px;
  box-shadow: 0 40px 80px -50px #000;
}
.overlap-card h3 {
  font-style: italic;
  font-size: 1.65rem;
  margin-bottom: 20px;
}

/* lista de la estación */
.kit-list { list-style: none; margin: 0; padding: 0; }
.kit-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 16px;
  align-items: start;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  min-width: 0;
}
.kit-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.kit-list svg {
  width: 24px; height: 24px;
  flex: 0 0 24px;
  color: var(--accent);
  margin-top: 5px;
  grid-row: 1 / span 2;
  transition: transform 240ms var(--ease-2), color 240ms var(--ease-2);
}
.kit-list li:hover svg { transform: scale(1.1); color: var(--accent-warm); }
.kit-list h4 {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  letter-spacing: .02em;
  color: var(--ink);
  margin: 0;
  grid-column: 2;
  min-width: 0;
  overflow-wrap: break-word;
}
.kit-list p {
  grid-column: 2;
  margin: 4px 0 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-faint);
  min-width: 0;
}

/* ============================================================
   Cifras
   ============================================================ */

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: clamp(20px, 3vw, 44px);
  padding: clamp(40px, 5vw, 64px) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: clamp(40px, 6vw, 80px) 0;
}
.stat b {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(2.4rem, 4.4vw, 3.5rem);
  line-height: 1;
  color: var(--accent);
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
}
.stat span {
  display: block;
  margin-top: 12px;
  font-size: 12.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-faint);
  line-height: 1.5;
}

/* ============================================================
   Eventos · flujo editorial (no card-grid)
   ============================================================ */

.event {
  display: grid;
  gap: clamp(22px, 3vw, 52px);
  align-items: center;
  padding: clamp(34px, 4.6vw, 64px) 0;
  border-top: 1px solid var(--line);
}
@media (min-width: 900px) {
  .event { grid-template-columns: 1fr 1fr; }
  .event:nth-child(even) .event-media { order: 2; }
}
.event-media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 2px;
  filter: saturate(.84) contrast(1.03);
  transition: transform 700ms var(--ease);
}
.event:hover .event-media img { transform: scale(1.025); }
.event-media { overflow: hidden; border-radius: 2px; }
.event h3 {
  font-style: italic;
  font-size: clamp(1.7rem, 2.8vw, 2.4rem);
  margin-bottom: 16px;
}
.event p { color: var(--ink-soft); font-size: 17.5px; }
.event .tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent-2-soft);
  border: 1px solid var(--accent-2);
  border-radius: 999px;
  padding: 5px 13px;
  margin-bottom: 18px;
}

/* ============================================================
   Paquetes
   ============================================================ */

.plans { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 2px; }
@media (min-width: 980px) { .plans { grid-template-columns: repeat(3, 1fr); } }
.plan {
  background: var(--surface);
  padding: clamp(26px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  min-width: 0;
  transition: background 300ms var(--ease-2), transform 300ms var(--ease-2);
}
.plan:hover { background: var(--surface-2); transform: translateY(-2px); }
.plan--featured { background: var(--surface-2); position: relative; }
.plan--featured::before {
  content: "El más pedido";
  position: absolute;
  top: 0; left: 0;
  background: var(--accent);
  color: var(--bg);
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: 5px 12px;
}
.plan h3 {
  font-style: italic;
  font-size: 1.75rem;
  margin: 10px 0 6px;
  overflow-wrap: break-word;
}
.plan .plan-meta {
  font-size: 12.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 22px;
}
.plan .price {
  font-family: var(--font-mono);
  font-size: clamp(1.9rem, 3vw, 2.35rem);
  color: var(--accent);
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  overflow-wrap: anywhere;
}
.plan .price small {
  display: block;
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--ink-faint);
  margin-top: 10px;
  text-transform: none;
}
.plan hr { border: 0; border-top: 1px solid var(--line); margin: 26px 0; }
.plan h4 {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent-2-soft);
  margin: 0 0 12px;
}
.plan ul { list-style: none; margin: 0 0 22px; padding: 0; }
.plan li {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--ink-soft);
  padding: 6px 0 6px 22px;
  position: relative;
  min-width: 0;
  overflow-wrap: break-word;
}
.plan li::before {
  content: "";
  position: absolute;
  left: 2px; top: 15px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
}
.plan .excl li::before { background: transparent; box-shadow: inset 0 0 0 1px var(--ink-faint); }
.plan .excl li { color: var(--ink-faint); }
.plan .btn { margin-top: auto; }
.price-note {
  margin-top: 22px;
  font-size: 13px;
  color: var(--ink-faint);
  font-style: italic;
  text-align: center;
}

/* ============================================================
   Proceso · timeline vertical
   ============================================================ */

.timeline { position: relative; max-width: 860px; margin-inline: auto; }
.timeline::before {
  content: "";
  position: absolute;
  left: 11px; top: 12px; bottom: 12px;
  width: 1px;
  background: linear-gradient(to bottom, var(--accent), var(--line) 30%, var(--line) 70%, var(--accent-2));
}
@media (min-width: 720px) { .timeline::before { left: 15px; } }
.step {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: clamp(20px, 3vw, 38px);
  padding: 0 0 clamp(30px, 4vw, 48px) 0;
  min-width: 0;
}
.step-dot {
  position: relative;
  width: 23px; height: 23px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  margin-top: 6px;
  grid-row: 1 / span 3;
}
@media (min-width: 720px) { .step-dot { width: 31px; height: 31px; } }
.step-dot i {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  transition: transform 300ms var(--ease), box-shadow 300ms var(--ease);
}
.step:hover .step-dot i { transform: scale(1.6); box-shadow: 0 0 14px var(--accent); }
.step-when {
  grid-column: 2;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent-2-soft);
  margin-bottom: 4px;
}
.step h3 {
  grid-column: 2;
  font-style: italic;
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  margin: 0 0 10px;
  min-width: 0;
  overflow-wrap: break-word;
}
.step p { grid-column: 2; margin: 0; color: var(--ink-soft); font-size: 16.5px; line-height: 1.75; }

/* ============================================================
   Testimonios · grilla editorial irregular
   ============================================================ */

.voices { display: grid; gap: clamp(20px, 2.6vw, 34px); }
@media (min-width: 900px) {
  .voices { grid-template-columns: 1.08fr .92fr; align-items: start; }
  .voice:nth-child(1) { grid-row: span 2; }
  .voice:nth-child(3) { margin-top: -18px; }
}
.voice {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: clamp(24px, 3vw, 42px);
  position: relative;
  min-width: 0;
  transition: transform 300ms var(--ease-2), border-color 300ms var(--ease-2), background 300ms var(--ease-2);
}
.voice:hover { transform: translateY(-4px); border-color: var(--line-strong); background: var(--surface-2); }
.voice::before {
  content: "\201C";
  font-family: var(--font-display);
  font-style: italic;
  position: absolute;
  top: 6px; right: 20px;
  font-size: 6rem;
  line-height: 1;
  color: var(--accent);
  opacity: .12;
}
.voice p {
  font-size: 17px;
  line-height: 1.8;
  color: var(--ink-soft);
  position: relative;
  overflow-wrap: break-word;
}
.voice p:first-of-type { color: var(--ink); }
.voice .voice-crit { font-size: 15px; color: var(--ink-faint); font-style: italic; }
.voice footer {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--ink-faint);
}
.voice footer b {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 18px;
  letter-spacing: 0;
  color: var(--ink);
  margin-bottom: 3px;
}

/* ============================================================
   FAQ · pure CSS
   ============================================================ */

.faq { max-width: 860px; margin-inline: auto; }
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 24px clamp(6px, 1vw, 12px) 24px 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.15rem, 1.9vw, 1.45rem);
  color: var(--ink);
  transition: color 240ms var(--ease-2);
  min-width: 0;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent); }
.faq summary::after {
  content: "";
  flex: 0 0 12px;
  width: 12px; height: 12px;
  margin-top: 6px;
  background:
    linear-gradient(var(--accent), var(--accent)) center / 12px 1px no-repeat,
    linear-gradient(var(--accent), var(--accent)) center / 1px 12px no-repeat;
  transition: transform 360ms var(--ease-2);
}
.faq details[open] summary::after { transform: rotate(135deg); }
.faq .answer {
  height: 0;
  padding: 0 clamp(18px, 3vw, 28px) 0 0;
  overflow: hidden;
  transition: height 360ms var(--ease-2), padding-block-end 360ms var(--ease-2);
}
.faq details[open] .answer { height: auto; padding-block-end: 26px; }
.faq .answer p { color: var(--ink-soft); font-size: 16.5px; margin: 0 0 .9em; }
.faq .answer p:last-child { margin-bottom: 0; }

/* ============================================================
   Banda de contraste
   ============================================================ */

.band {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(56px, 8vw, 110px) 0;
  position: relative;
  overflow: hidden;
}
.band--ink { background: var(--bg-deep); }
.band::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .4;
  background-image: radial-gradient(rgba(198, 161, 91, .16) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(70% 70% at 50% 50%, #000, transparent 76%);
  -webkit-mask-image: radial-gradient(70% 70% at 50% 50%, #000, transparent 76%);
}
.band > .container { position: relative; z-index: 1; }

.section-title {
  font-style: italic;
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  letter-spacing: -.012em;
  margin: 0 0 .5em;
}
.section-intro { max-width: 60ch; color: var(--ink-soft); margin-bottom: clamp(34px, 4.5vw, 60px); }

/* ============================================================
   Brasas / partículas
   ============================================================ */

.embers { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; }
.ember {
  position: absolute;
  bottom: -12px;
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0;
  animation: ember-float 13s linear infinite;
  animation-delay: calc(var(--i) * -2.1s);
  left: calc(var(--i) * 11% + 4%);
}
.ember:nth-child(even) { background: var(--accent-2-soft); width: 2px; height: 2px; }
@keyframes ember-float {
  0%   { transform: translate3d(0, 0, 0) scale(.6); opacity: 0; }
  14%  { opacity: .85; }
  50%  { transform: translate3d(18px, -46vh, 0) scale(1); }
  85%  { opacity: .25; }
  100% { transform: translate3d(-14px, -92vh, 0) scale(.4); opacity: 0; }
}

/* ============================================================
   Contratar / formulario
   ============================================================ */

.hire-grid { display: grid; gap: clamp(34px, 5vw, 70px); }
@media (min-width: 1000px) { .hire-grid { grid-template-columns: .92fr 1.08fr; align-items: start; } }

.form { display: grid; gap: 20px; }
@media (min-width: 720px) {
  .form .row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
}
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field > span {
  font-size: 11.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.field input,
.field select,
.field textarea {
  font-family: var(--font-body);
  font-size: 16.5px;
  font-weight: 300;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  padding: 12px 2px;
  width: 100%;
  min-width: 0;
  border-radius: 0;
  transition: border-color 240ms var(--ease-2), background 240ms var(--ease-2);
}
.field select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 49%, var(--accent) 50%), linear-gradient(-45deg, transparent 49%, var(--accent) 50%); background-size: 6px 6px, 6px 6px; background-position: right 8px center, right 3px center; background-repeat: no-repeat; }
.field select option { background: var(--surface); color: var(--ink); }
.field textarea { resize: vertical; min-height: 130px; line-height: 1.7; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--accent);
  background: rgba(198, 161, 91, .05);
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-faint); opacity: .55; }

.field-check {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-soft);
  cursor: pointer;
}
.field input[type="checkbox"] {
  appearance: auto;
  -webkit-appearance: auto;
  width: 18px; height: 18px;
  min-width: 18px; min-height: 18px;
  padding: 0; border: 0; margin: 4px 0 0;
  accent-color: var(--accent);
}
.field-check a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

.form-note { font-size: 13px; color: var(--ink-faint); font-style: italic; }

/* Canales de contacto (cards) */
.channels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(14px, 1.8vw, 22px);
}
.channel {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px;
  background: var(--surface);
  min-width: 0;
  transition: transform 260ms var(--ease-2), box-shadow 260ms var(--ease-2), border-color 260ms var(--ease-2);
}
.channel:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: 0 22px 44px -30px rgba(198, 161, 91, .55);
}
.channel-ico {
  width: 48px; height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(198, 161, 91, .10);
  border: 1px solid rgba(198, 161, 91, .3);
  color: var(--accent);
  margin-bottom: 16px;
  transition: transform 260ms var(--ease-2), background 260ms var(--ease-2);
}
.channel:hover .channel-ico { transform: scale(1.06); background: rgba(198, 161, 91, .18); }
.channel-ico svg { width: 20px; height: 20px; }
.channel h3 {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 11.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin: 0 0 8px;
}
.channel a, .channel .val {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 21px;
  color: var(--ink);
  overflow-wrap: anywhere;
  word-break: break-word;
  transition: color 240ms var(--ease-2);
}
.channel a:hover { color: var(--accent); }
.channel small {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  color: var(--ink-faint);
  line-height: 1.55;
}

/* Horario */
.hours { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 2px; }
.hours div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  background: var(--surface);
  padding: 13px 18px;
  font-size: 15px;
  color: var(--ink-soft);
  font-variant-numeric: tabular-nums;
}
.hours div b { font-weight: 400; color: var(--ink); }
.hours div.is-today { background: var(--surface-2); color: var(--ink); }
.hours div.is-today b { color: var(--accent); }

/* ============================================================
   Footer
   ============================================================ */

.site-footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--line);
  padding: clamp(52px, 6vw, 84px) 0 28px;
  font-size: 15px;
  color: var(--ink-faint);
  position: relative;
  z-index: 2;
}
.footer-grid {
  display: grid;
  gap: clamp(30px, 4vw, 56px);
  grid-template-columns: 1fr;
}
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; } }
.footer-grid h4 {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent-2-soft);
  margin: 0 0 18px;
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a { transition: color 240ms var(--ease-2); overflow-wrap: anywhere; }
.footer-grid a:hover { color: var(--accent); }
.footer-brand p { max-width: 40ch; line-height: 1.75; margin-top: 18px; }
.footer-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; padding: 0; list-style: none; }
.footer-badges li {
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
  color: var(--ink-faint);
  margin: 0;
}
.footer-notes {
  margin-top: clamp(38px, 5vw, 60px);
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  justify-content: space-between;
  font-size: 13px;
}
.footer-notes p { margin: 0; }

/* ============================================================
   Cookie
   ============================================================ */

.cookie-banner {
  position: fixed;
  bottom: 16px; left: 16px; right: 16px;
  max-width: 520px;
  margin: 0 auto;
  z-index: 9999;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  padding: 22px;
  box-shadow: 0 30px 70px -30px #000;
  transform: translateY(140%);
  opacity: 0;
  transition: transform 280ms var(--ease), opacity 240ms;
}
@media (min-width: 900px) { .cookie-banner { left: 24px; right: auto; max-width: 420px; } }
.cookie-banner.is-visible { transform: translateY(0); opacity: 1; }
.cookie-banner h2 {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.3rem;
  margin: 0 0 10px;
}
.cookie-banner p { font-size: 14.5px; line-height: 1.65; color: var(--ink-soft); margin: 0 0 18px; }
.cookie-banner p a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.cookie-actions { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; }
.cookie-actions .btn { padding: 12px 14px; min-height: 44px; font-size: 11.5px; letter-spacing: .1em; }
.cookie-actions .btn:nth-child(3) { grid-column: 1 / -1; }
.cookie-panel { display: none; margin: 18px 0 0; border-top: 1px solid var(--line); padding-top: 16px; }
.cookie-panel.is-open { display: block; }
.cookie-panel label {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
  font-size: 14px;
  color: var(--ink-soft);
  margin-bottom: 12px;
}
.cookie-panel input[type="checkbox"] {
  appearance: auto; -webkit-appearance: auto;
  width: 18px; height: 18px; min-width: 18px; min-height: 18px;
  margin: 3px 0 0; padding: 0; border: 0;
  accent-color: var(--accent);
}
.cookie-panel label b { display: block; font-weight: 400; color: var(--ink); }
.cookie-panel label small { display: block; font-size: 12.5px; color: var(--ink-faint); line-height: 1.5; }

/* ============================================================
   Tablas
   ============================================================ */

.table-scroll {
  display: block; width: 100%; max-width: 100%; min-width: 0;
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  margin: 18px 0;
  border: 1px solid var(--line);
  border-radius: 6px;
}
.table-scroll > table { margin: 0 !important; min-width: 480px; width: 100%; }
:where(*:has(> .table-scroll), *:has(> * > .table-scroll), *:has(> * > * > .table-scroll)) { min-width: 0; }

table { border-collapse: collapse; font-size: 15.5px; }
th, td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent-2-soft);
  background: var(--surface);
}
tbody td { color: var(--ink-soft); }
tbody tr:last-child td { border-bottom: 0; }

/* ============================================================
   Páginas de texto (legales)
   ============================================================ */

.page-hero {
  min-height: 240px;
  display: flex;
  align-items: flex-end;
  padding: clamp(56px, 9vw, 120px) 0 clamp(34px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(80% 120% at 12% 100%, rgba(198, 161, 91, .13), transparent 60%),
    var(--bg-deep);
}
.page-hero h1 {
  font-style: italic;
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  letter-spacing: -.02em;
  max-width: 18ch;
}
.page-hero p { margin: 22px 0 0; max-width: 58ch; color: var(--ink-soft); }

.legal { padding: clamp(48px, 6vw, 90px) 0; }
.legal .measure > h2 {
  font-style: italic;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  margin: 52px 0 18px;
}
.legal .measure > h2:first-child { margin-top: 0; }
.legal .measure > h3 {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  letter-spacing: .04em;
  color: var(--accent);
  margin: 30px 0 12px;
}
.legal p, .legal li { color: var(--ink-soft); font-size: 17.5px; }
.legal ul, .legal ol { padding-left: 22px; }
.legal li { margin-bottom: 10px; }
.legal .updated {
  font-size: 13px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-faint);
  border-left: 1px solid var(--accent-2);
  padding-left: 14px;
  margin-bottom: 40px;
}

/* Mapa del sitio */
.sitemap-grid { display: grid; gap: clamp(24px, 3vw, 44px); grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.sitemap-col h2 { font-style: italic; font-size: 1.5rem; margin-bottom: 18px; }
.sitemap-col ul { list-style: none; padding: 0; margin: 0; }
.sitemap-col li { border-bottom: 1px solid var(--line); }
.sitemap-col a {
  display: block;
  padding: 13px 0;
  color: var(--ink-soft);
  font-size: 16px;
  transition: color 240ms var(--ease-2), padding-left 240ms var(--ease-2);
}
.sitemap-col a:hover { color: var(--accent); padding-left: 8px; }

/* Gracias / 404 */
.centered-note {
  min-height: 62vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: clamp(60px, 9vw, 130px) 0;
}
.centered-note h1 {
  font-style: italic;
  font-size: clamp(2.4rem, 6.4vw, 4.5rem);
  letter-spacing: -.02em;
  margin-bottom: 22px;
}
.centered-note p { max-width: 52ch; margin-inline: auto; color: var(--ink-soft); }
.centered-note .btn { margin-top: 20px; }
.centered-note .code {
  font-family: var(--font-mono);
  font-size: clamp(4rem, 14vw, 9rem);
  color: var(--accent);
  opacity: .22;
  line-height: 1;
  letter-spacing: -.04em;
  margin-bottom: 10px;
}

/* Equipo (nosotros) */
.team { display: grid; gap: clamp(24px, 3vw, 44px); }
@media (min-width: 900px) { .team { grid-template-columns: repeat(3, 1fr); } }
.member { min-width: 0; }
.member img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 2px;
  filter: saturate(.8) contrast(1.05);
  margin-bottom: 20px;
  transition: filter 500ms var(--ease);
}
.member:hover img { filter: saturate(1) contrast(1.05); }
.member h3 { font-style: italic; font-size: 1.5rem; margin-bottom: 4px; overflow-wrap: break-word; }
.member .role {
  font-size: 11.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.member p { font-size: 16px; line-height: 1.75; color: var(--ink-soft); }

/* Notas / bitácora */
.notes { list-style: none; margin: 0; padding: 0; max-width: 720px; }
.notes li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  min-width: 0;
}
.notes time {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .06em;
  color: var(--accent-2-soft);
  white-space: nowrap;
  grid-row: 1 / span 2;
}
.notes b { font-weight: 400; color: var(--ink); font-size: 16.5px; min-width: 0; overflow-wrap: break-word; }
.notes span { color: var(--ink-faint); font-size: 15px; line-height: 1.6; grid-column: 2; }
@media (max-width: 560px) {
  .notes li { grid-template-columns: 1fr; }
  .notes time { grid-row: auto; }
  .notes span { grid-column: 1; }
}

/* ============================================================
   Reveal
   ============================================================ */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.reveal.is-in { opacity: 1; transform: none; }
html.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hero h1 .word, .hero-sub, .hero-actions, .trust-strip { opacity: 1 !important; animation: none !important; transform: none !important; }
  .hero-media img { animation: none !important; }
  .hero-steam path, .ember { animation: none !important; }
  .faq .answer { transition: none; }
  * { scroll-behavior: auto !important; }
}

/* ============================================================
   Responsive fine-tuning
   ============================================================ */

@media (max-width: 640px) {
  body { font-size: 17.5px; line-height: 1.8; }
  :root { --header-h: 66px; }
  .hero { min-height: 88vh; }
  .hero-steam { left: 16%; width: 150px; }
  .channel { padding: 18px; }
  .channel-ico { width: 40px; height: 40px; }
  .channel-ico svg { width: 18px; height: 18px; }
  .plan { padding: 24px 20px; }
  .voice { padding: 22px 20px; }
  .overlap-card { padding: 24px 20px; }
  .figure { margin-left: 0; margin-right: 0; }
  .cookie-actions { grid-template-columns: 1fr; }
  .footer-notes { flex-direction: column; }
  .manifest blockquote { max-width: 14ch; }
}

@media (max-width: 400px) {
  .brand-sub { display: none; }
  .brand-name { font-size: 18px; }
}

.long { word-break: break-word; overflow-wrap: anywhere; }

.scroll-progress{position:fixed;top:0;left:0;height:3px;width:0;background:var(--accent);z-index:9998;transition:width 80ms linear;pointer-events:none}

/* header-cta-padding-guard v1 */
.nav-desktop a.nav-cta, header a.nav-cta, .site-header a.nav-cta {
  padding: 10px 18px;
}
