/* ============================================================
   KIMUN — Dossier digital · por Nicolás Gaper
   ============================================================ */

:root {
  --bg: #F4F1EA;            /* blanco roto */
  --bg-2: #EDE8DE;
  --black: #0A0908;         /* negro no puro (portada) */
  --ink: #17140F;
  --ink-70: rgba(23, 20, 15, 0.7);
  --ink-55: rgba(23, 20, 15, 0.55);
  --ink-48: rgba(23, 20, 15, 0.48);
  --ink-40: rgba(23, 20, 15, 0.4);
  --prose: #35302A;
  --soft: #4A443B;
  --wine: #6B1F2A;
  --wine-soft: #C9808A;
  --dark: #17140F;
  --paper: #F4F1EA;
  --hair: rgba(23, 20, 15, 0.12);
  --hair-light: rgba(244, 241, 234, 0.14);
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --times: 'Times New Roman', Times, Georgia, serif;
  --sans: Arial, 'Helvetica Neue', Helvetica, system-ui, sans-serif;
  --pad-x: clamp(24px, 7vw, 96px);
  --ease: cubic-bezier(0.22, 0.61, 0.24, 1);
  --wrap: 1180px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  overflow-x: hidden;
}

::selection { background: var(--wine); color: var(--paper); }
::placeholder { color: rgba(23, 20, 15, 0.26); }

a { color: inherit; }
a:hover { color: var(--wine); }
img { display: block; max-width: 100%; }

:focus-visible { outline: 2px solid var(--wine); outline-offset: 3px; border-radius: 1px; }
a:focus:not(:focus-visible),
button:focus:not(:focus-visible),
input:focus:not(:focus-visible),
select:focus:not(:focus-visible),
textarea:focus:not(:focus-visible) { outline: none; }
h1, h2, h3, h4, p, ul, ol { margin: 0; }
ul, ol { list-style: none; padding: 0; }
input, textarea, select, button { font-family: inherit; }
input:focus, textarea:focus, select:focus { outline: none; }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1.5s var(--ease), transform 1.5s var(--ease);
  transition-delay: var(--delay, 0s);
}
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  * { scroll-behavior: auto !important; }
}

/* ============================================================
   Preloader — silencioso
   ============================================================ */
#preloader {
  position: fixed; inset: 0; z-index: 1000;
  background: var(--black);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 1s var(--ease);
}
#preloader.is-done { opacity: 0; pointer-events: none; }
#preloader[hidden] { display: none !important; }
.pl__word {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(1.6rem, 6vw, 2.6rem); letter-spacing: 0.55em;
  padding-left: 0.55em; color: var(--paper);
  opacity: 0; transition: opacity 1.1s var(--ease);
}
#preloader.is-in .pl__word { opacity: 1; }
body.is-loading { overflow: hidden; }

/* ============================================================
   Brand mark — discreto, aparece tras la portada
   ============================================================ */
.brand {
  position: fixed; top: clamp(20px, 3vw, 34px); left: var(--pad-x); z-index: 200;
  font-family: var(--serif); font-weight: 500;
  font-size: 15px; letter-spacing: 0.42em; padding-left: 0.42em;
  color: var(--ink); text-decoration: none;
  opacity: 0; transform: translateY(-8px); pointer-events: none;
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease), color 0.5s ease;
  mix-blend-mode: normal;
}
.brand.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.brand:hover { color: var(--wine); }

/* Scroll progress — muy fino */
.progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 0%;
  background: var(--wine); z-index: 300;
  transition: width 0.1s linear;
}

/* ============================================================
   Slide base
   ============================================================ */
.slide {
  padding: clamp(96px, 17vh, 200px) var(--pad-x);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
}
.slide__inner { max-width: 760px; width: 100%; margin: 0 auto; }
.slide--tight { padding-top: clamp(64px, 9vh, 120px); padding-bottom: clamp(64px, 9vh, 120px); }

/* Spaced section title (ESTRUCTURA, MANIFIESTO...) */
.stitle {
  font-family: var(--sans); font-weight: 700;
  font-size: clamp(1.05rem, 2.6vw, 1.6rem);
  letter-spacing: 0.42em; padding-left: 0.42em;
  text-transform: uppercase; color: var(--ink);
  line-height: 1.2;
}
.stitle--wine { color: var(--wine); }

/* Intro editorial lead */
.intro-mark {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(2.4rem, 8vw, 4.6rem);
  letter-spacing: 0.14em; padding-left: 0.14em;
  color: var(--ink); line-height: 1; margin-bottom: clamp(28px, 5vh, 52px);
}
.intro-lead {
  font-family: var(--times); font-weight: 400;
  font-size: clamp(1.5rem, 3.6vw, 2.35rem);
  line-height: 1.32; color: var(--ink); letter-spacing: -0.005em;
  text-wrap: balance; max-width: 24ch; margin: 0 auto;
}
.intro-lead + .intro-lead { margin-top: clamp(6px, 1.2vh, 12px); }

/* Serif italic subtitle */
.ssub {
  font-family: var(--times); font-style: italic; font-weight: 400;
  font-size: clamp(1.15rem, 2.6vw, 1.7rem);
  color: var(--ink); line-height: 1.35; text-wrap: balance;
  margin-top: clamp(16px, 2.6vh, 26px);
}

/* Body text (Times, editorial) */
.stext {
  font-family: var(--times); font-weight: 400;
  font-size: clamp(1.08rem, 2vw, 1.4rem);
  line-height: 1.62; color: var(--prose); text-wrap: pretty;
  max-width: 36ch; margin: 0 auto;
}
.stext + .stext { margin-top: clamp(20px, 3.4vh, 34px); }
.stext--wide { max-width: 46ch; }

/* Concept line (ANÁLISIS + COMPRENSIÓN...) */
.concept {
  font-family: var(--sans); font-weight: 700;
  font-size: clamp(0.9rem, 1.8vw, 1.2rem);
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--wine);
  line-height: 1.5; text-wrap: balance;
}

/* Editorial closing phrase */
.close {
  font-family: var(--times); font-style: italic; font-weight: 700;
  font-size: clamp(1.4rem, 3.2vw, 2.25rem);
  line-height: 1.3; color: var(--ink); letter-spacing: -0.005em;
  text-wrap: balance; max-width: 24ch; margin: 0 auto;
}

/* Thin rule separator */
.rule { width: 44px; height: 1px; background: var(--wine); margin: clamp(30px, 5vh, 52px) auto; opacity: 0.75; }
.rule--soft { background: var(--hair); }

/* Vertical rhythm helpers */
.mt-s { margin-top: clamp(20px, 3.4vh, 34px); }
.mt-m { margin-top: clamp(34px, 6vh, 64px); }
.mt-l { margin-top: clamp(52px, 9vh, 104px); }

/* ============================================================
   Slide 1 — Portada
   ============================================================ */
.cover {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  background: var(--black); color: var(--paper);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: var(--pad-x);
  text-align: center;
}
.cover__logo-h1 { margin: 0; }
.cover__logo {
  width: clamp(300px, 52vw, 560px); height: auto;
  opacity: 0; transform: translateY(14px);
}
body.is-ready .cover__logo { animation: coverIn 1.4s var(--ease) 0.25s forwards; }
@media (prefers-reduced-motion: reduce) {
  .cover__logo { opacity: 1 !important; transform: none !important; animation: none !important; }
}
.cover__cue {
  position: absolute; left: 50%; bottom: clamp(24px, 5vh, 48px);
  transform: translateX(-50%);
  width: 1px; height: clamp(38px, 6vh, 64px);
  background: linear-gradient(to bottom, transparent, rgba(244,241,234,0.5));
  overflow: hidden;
}
.cover__cue::after {
  content: ''; position: absolute; top: -100%; left: 0; width: 1px; height: 100%;
  background: rgba(244,241,234,0.95);
  animation: cueSlide 2.6s var(--ease) infinite;
}
@keyframes cueSlide { 0% { top: -100%; } 60%,100% { top: 100%; } }
@media (prefers-reduced-motion: reduce) { .cover__cue::after { animation: none; } }

/* Cover intro sequence */
body.is-ready .cover__cue { opacity: 1; }
@keyframes coverIn { to { opacity: 1; transform: none; } }

/* ============================================================
   Slide 3 — Estructura (tres pilares)
   ============================================================ */
.triad {
  display: flex; flex-direction: column; align-items: center;
  gap: clamp(40px, 8vh, 88px);
  margin: clamp(48px, 8vh, 92px) 0;
}
.pillar__over {
  font-family: var(--sans); font-weight: 400;
  font-size: clamp(1rem, 2vw, 1.3rem); color: var(--ink);
  letter-spacing: 0.01em;
}
.pillar__concept {
  font-family: var(--sans); font-weight: 700;
  font-size: clamp(1.4rem, 4vw, 2.4rem);
  letter-spacing: 0.14em; padding-left: 0.14em;
  text-transform: uppercase; color: var(--wine);
  margin: clamp(6px, 1vh, 12px) 0;
  line-height: 1.1;
}
.pillar__verb {
  font-family: var(--times); font-style: italic; font-weight: 400;
  font-size: clamp(1.15rem, 2.4vw, 1.6rem); color: var(--ink);
}

/* ============================================================
   Slide 6 — Academy list
   ============================================================ */
.alist {
  display: inline-flex; flex-direction: column; gap: 0;
  margin: clamp(14px, 2.4vh, 24px) auto 0;
  text-align: center;
}
.alist__cap {
  font-family: var(--sans); font-weight: 700; font-size: clamp(0.85rem, 1.6vw, 1.05rem);
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--wine);
  margin-top: clamp(30px, 5vh, 52px); white-space: nowrap;
}
.alist li {
  font-family: var(--times); font-size: clamp(1.1rem, 2.1vw, 1.4rem);
  line-height: 1; color: var(--ink);
  padding: clamp(15px, 2.4vh, 22px) 0;
  border-top: 1px solid var(--hair);
}
.alist li:last-child { border-bottom: 1px solid var(--hair); }
/* Academy list — plain, compact, no rules */
.alist--plain {
  display: flex; flex-flow: row wrap; justify-content: center;
  gap: clamp(8px, 1.4vh, 14px) clamp(20px, 3vw, 34px);
  margin-top: clamp(16px, 2.6vh, 26px);
}
.alist--plain li {
  border: none; padding: 0;
  font-family: var(--times); font-size: clamp(1.05rem, 2vw, 1.35rem);
  color: var(--prose); line-height: 1.4;
}
.alist--plain li:last-child { border: none; }

/* ============================================================
   Slide 7 — Contacto / formulario
   ============================================================ */
.wrap--form { max-width: 720px; margin: 0 auto; width: 100%; }
.contact__lead {
  font-family: var(--times); font-size: clamp(1.05rem, 1.7vw, 1.2rem);
  line-height: 1.65; color: var(--ink-55); max-width: 42ch;
  margin: clamp(24px, 4vh, 40px) auto clamp(48px, 8vh, 78px);
}

.form { display: flex; flex-direction: column; gap: clamp(26px, 4.6vh, 40px); text-align: left; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(26px, 5vw, 46px); }
.field { display: flex; flex-direction: column; gap: 11px; }
.field > span { font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; font-weight: 700; color: rgba(23, 20, 15, 0.5); }
.field input, .field select, .field textarea {
  border: none; border-bottom: 1px solid rgba(23, 20, 15, 0.24);
  background: transparent; padding: 11px 0;
  font-family: var(--times); font-size: 1.25rem; color: var(--ink);
  transition: border-color 0.5s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { border-bottom-color: var(--wine); }
.field textarea { resize: vertical; }
.form__foot { display: flex; flex-direction: column; align-items: center; gap: 18px; margin-top: clamp(10px, 2vh, 22px); }
.btn {
  border: 1px solid var(--wine); background: transparent; cursor: pointer;
  padding: 18px 50px; color: var(--wine);
  font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; font-weight: 700;
  transition: background 0.5s ease, color 0.5s ease;
}
.btn:hover { background: var(--wine); color: var(--paper); }
.form__reassure { font-size: 11px; letter-spacing: 0.02em; color: var(--ink-48); text-align: center; }
.form-success { text-align: center; padding: clamp(40px, 7vh, 80px) 0; }
.form-success p:first-child { font-family: var(--serif); font-weight: 300; font-size: clamp(2rem, 4vw, 3rem); color: var(--wine); }
.form-success p:last-child { margin-top: 16px; font-family: var(--times); font-size: clamp(1rem, 1.3vw, 1.15rem); color: var(--soft); }
.hidden { display: none !important; }

.cta-line {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--sans); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 700;
  color: var(--wine); text-decoration: none; background: none; border: none; cursor: pointer;
  border-bottom: 1px solid rgba(107,31,42,0.4); padding: 0 0 4px; transition: gap 0.5s var(--ease), border-color 0.4s ease;
}
.cta-line:hover { gap: 20px; border-bottom-color: var(--wine); }

/* ============================================================
   Form consent
   ============================================================ */
.consent { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; }
.consent input {
  appearance: none; -webkit-appearance: none;
  width: 18px; height: 18px; margin: 2px 0 0; flex: 0 0 auto;
  border: 1px solid rgba(23,20,15,0.35); background: transparent;
  border-radius: 2px; cursor: pointer; position: relative;
  transition: border-color 0.4s ease, background 0.4s ease;
}
.consent input:checked { background: var(--wine); border-color: var(--wine); }
.consent input:checked::after {
  content: ''; position: absolute; left: 5px; top: 1px;
  width: 5px; height: 10px; border: solid var(--paper);
  border-width: 0 1.5px 1.5px 0; transform: rotate(45deg);
}
.consent__text { font-size: 0.9rem; line-height: 1.55; color: var(--soft); }
.consent__text a { color: var(--wine); text-decoration: none; border-bottom: 1px solid rgba(107,31,42,0.4); transition: border-color 0.4s ease; }
.consent__text a:hover { border-bottom-color: var(--wine); }
.form__privacy { font-size: 0.8rem; line-height: 1.6; color: var(--ink-48); max-width: 60ch; }

/* ============================================================
   Footer
   ============================================================ */
.footer { background: var(--dark); color: var(--paper); padding: clamp(64px, 10vh, 110px) var(--pad-x) clamp(36px, 5vh, 54px); }
.footer__phrase {
  margin-bottom: clamp(52px, 9vh, 96px); text-align: center;
  font-family: var(--times); font-style: italic; font-weight: 400;
  font-size: clamp(1.5rem, 4vw, 2.6rem); line-height: 1.2; letter-spacing: -0.01em;
  color: rgba(244, 241, 234, 0.92);
}
.footer__mark {
  text-align: center;
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(1.4rem, 4vw, 2rem); letter-spacing: 0.4em; padding-left: 0.4em;
  color: var(--paper);
}
.footer__triad { text-align: center; margin-top: 16px; font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase; color: rgba(244, 241, 234, 0.5); }
.footer__bottom {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px 32px;
  margin-top: clamp(48px, 8vh, 80px);
  padding-top: clamp(24px, 3vh, 34px);
  border-top: 1px solid var(--hair-light);
}
.footer__legal { margin: 0; font-size: 11px; letter-spacing: 0.06em; color: rgba(244,241,234,0.36); }
.footer__legal-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }
.footer__legal-nav a,
.footer__cookie-btn {
  font-family: var(--sans);
  font-size: 11px; letter-spacing: 0.06em;
  color: rgba(244,241,234,0.5); text-decoration: none;
  background: none; border: none; padding: 0; cursor: pointer;
  transition: color 0.5s ease;
}
.footer__legal-nav a:hover,
.footer__cookie-btn:hover { color: var(--paper); }
.footer__credit {
  margin: clamp(28px, 4vh, 42px) 0 0; text-align: center;
  font-size: 11px; letter-spacing: 0.06em; color: rgba(244,241,234,0.36);
}
.footer__credit a { color: rgba(244,241,234,0.55); text-decoration: none; border-bottom: 1px solid rgba(244,241,234,0.2); transition: color 0.5s ease, border-color 0.5s ease; }
.footer__credit a:hover { color: var(--wine-soft); border-bottom-color: var(--wine-soft); }

/* ============================================================
   Cookie banner
   ============================================================ */
.cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 400;
  padding: clamp(18px, 3vw, 26px) var(--pad-x);
  background: rgba(244,241,234,0.95);
  backdrop-filter: saturate(140%) blur(16px);
  -webkit-backdrop-filter: saturate(140%) blur(16px);
  border-top: 1px solid var(--hair);
  transform: translateY(110%);
  transition: transform 0.9s var(--ease);
}
.cookie-banner[hidden] { display: none !important; }
.cookie-banner.is-in { transform: none; }
.cookie-banner__inner {
  max-width: var(--wrap); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: clamp(18px, 4vw, 56px); flex-wrap: wrap;
}
.cookie-banner__text { margin: 0; font-size: 0.88rem; line-height: 1.6; color: var(--prose); max-width: 66ch; }
.cookie-banner__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cookie-btn {
  font-family: var(--sans);
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700;
  padding: 13px 26px; cursor: pointer;
  background: var(--ink); color: var(--paper); border: 1px solid var(--ink);
  transition: background 0.45s ease, color 0.45s ease, border-color 0.45s ease;
}
.cookie-btn:hover { background: var(--wine); border-color: var(--wine); }
.cookie-btn--ghost { background: transparent; color: var(--ink); }
.cookie-btn--ghost:hover { background: transparent; color: var(--wine); border-color: var(--wine); }

/* Cookie modal — hidden = fuera del flujo y sin capturar clicks */
.cookie-modal { position: fixed; inset: 0; z-index: 500; display: none; align-items: center; justify-content: center; padding: var(--pad-x); }
.cookie-modal.is-open { display: flex; }
.cookie-modal[hidden] { display: none !important; }
.cookie-modal__overlay { position: absolute; inset: 0; background: rgba(23,20,15,0.4); opacity: 0; transition: opacity 0.5s ease; }
.cookie-modal.is-open .cookie-modal__overlay { opacity: 1; }
.cookie-modal__panel {
  position: relative; z-index: 1;
  width: 100%; max-width: 560px; max-height: 88vh; overflow-y: auto;
  background: var(--bg); padding: clamp(30px, 5vw, 50px);
  border: 1px solid var(--hair);
  transform: translateY(20px); opacity: 0;
  transition: transform 0.6s var(--ease), opacity 0.6s var(--ease);
}
.cookie-modal.is-open .cookie-modal__panel { transform: none; opacity: 1; }
.cookie-modal__close {
  position: absolute; top: 16px; right: 20px;
  background: none; border: none; cursor: pointer;
  font-family: var(--serif); font-weight: 300; font-size: 32px; line-height: 1; color: var(--ink);
}
.eyebrow--wine { font-family: var(--sans); font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; font-weight: 700; color: var(--wine); }
.cookie-modal__title {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(1.9rem, 4vw, 2.6rem); line-height: 1.05; letter-spacing: -0.02em;
  margin: 12px 0 16px;
}
.cookie-modal__intro { font-size: 0.92rem; line-height: 1.6; color: var(--soft); margin-bottom: clamp(26px, 4vh, 38px); }
.cookie-cat { padding: clamp(20px, 3vh, 26px) 0; border-top: 1px solid var(--hair); }
.cookie-cat__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 10px; }
.cookie-cat__name { font-family: var(--serif); font-weight: 400; font-size: clamp(1.3rem, 2.2vw, 1.6rem); }
.cookie-cat__state { font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-48); }
.cookie-cat__desc { font-size: 0.88rem; line-height: 1.55; color: var(--soft); max-width: 52ch; }
.switch { display: inline-flex; align-items: center; cursor: pointer; }
.switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.switch__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.switch__track {
  width: 44px; height: 24px; border-radius: 100px;
  background: rgba(23,20,15,0.2); position: relative; transition: background 0.4s ease;
}
.switch__track::after {
  content: ''; position: absolute; top: 3px; left: 3px;
  width: 18px; height: 18px; border-radius: 50%; background: var(--paper);
  transition: transform 0.4s var(--ease);
}
.switch input:checked + .switch__track { background: var(--wine); }
.switch input:checked + .switch__track::after { transform: translateX(20px); }
.switch input:focus-visible + .switch__track { outline: 2px solid var(--wine); outline-offset: 3px; }
.cookie-modal__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: clamp(26px, 4vh, 38px); }
.cta-line--muted { color: var(--ink-48); border-bottom-color: rgba(23,20,15,0.2); }
.cta-line--muted:hover { color: var(--wine); }

/* ============================================================
   Legal pages
   ============================================================ */
.legal { padding: clamp(120px, 20vh, 200px) var(--pad-x) clamp(80px, 12vh, 140px); }
.legal__wrap { max-width: 760px; margin: 0 auto; }
.legal__label { font-family: var(--sans); font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; font-weight: 700; color: var(--ink-48); margin-bottom: clamp(20px, 3vh, 32px); }
.legal__title {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(2.4rem, 6.4vw, 4.4rem); line-height: 1.0; letter-spacing: -0.025em;
  margin-bottom: clamp(16px, 2.5vh, 26px);
}
.legal__updated { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-48); margin-bottom: clamp(48px, 8vh, 90px); }
.legal__body h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.15; letter-spacing: -0.015em;
  margin: clamp(44px, 7vh, 72px) 0 clamp(16px, 2.4vh, 22px);
}
.legal__body h2:first-child { margin-top: 0; }
.legal__body h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.2rem, 2vw, 1.4rem); margin: clamp(28px, 4vh, 40px) 0 10px; }
.legal__body p, .legal__body li { font-family: var(--times); font-size: 1.05rem; line-height: 1.72; color: var(--prose); }
.legal__body p { margin: 0 0 1.1em; }
.legal__body ul { margin: 0 0 1.4em; padding: 0; }
.legal__body li { position: relative; padding-left: 22px; margin-bottom: 0.5em; }
.legal__body li::before { content: ''; position: absolute; left: 0; top: 0.7em; width: 6px; height: 1px; background: var(--wine); }
.legal__body a { color: var(--wine); text-decoration: none; border-bottom: 1px solid rgba(107,31,42,0.4); transition: border-color 0.4s ease; }
.legal__body a:hover { border-bottom-color: var(--wine); }
.legal__body strong { font-weight: 700; }
.placeholder {
  font-family: var(--sans); font-size: 0.88em; letter-spacing: 0.02em;
  color: var(--wine); background: rgba(107,31,42,0.07);
  padding: 1px 7px; border-radius: 2px; white-space: nowrap;
}
.legal__back { margin-top: clamp(60px, 10vh, 100px); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 900px) {
  .slide { padding: clamp(80px, 13vh, 130px) var(--pad-x); }
}

@media (max-width: 640px) {
  :root { --pad-x: 26px; }
  .slide { padding: clamp(72px, 12vh, 104px) var(--pad-x); }
  .brand { font-size: 13px; }
  .stext { max-width: 30ch; }
  .close { max-width: 18ch; }
  .form__row { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .cover__by { margin-top: 20px; }
  /* Los saltos editoriales se mantienen también en móvil. Ocultarlos hacía
     que Safari concatenase fragmentos como "Academysignifica". */
}

@media (max-width: 700px) {
  .cookie-banner__inner { flex-direction: column; align-items: flex-start; }
  .cookie-banner__actions { width: 100%; }
  .cookie-btn { flex: 1; text-align: center; padding: 14px 16px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; text-align: left; }
  .cookie-modal__actions { flex-direction: column; align-items: flex-start; gap: 18px; }
  .cookie-modal__actions .btn { width: 100%; }
}
