/* ==========================================================================
   Nómada España — Madrugada Stylesheet
   --------------------------------------------------------------------------
   Madrid-after-midnight production design system: dark granate body, marfil
   type, amarillo accents. Cream "paper" sections for long-form readability.
   Playfair Display display + Inter sans, mirroring the Italy sister site.
   ========================================================================== */

:root {
  /* ── Spain brand tokens ─────────────────────────────────────────────── */
  --es-rojo:     #C60B1E;
  --es-amarillo: #FFC400;
  --es-granate:  #5B0E10;
  --es-granate-2:#3A0709;
  --es-ink:      #1F0A0C;          /* dominant dark surface */
  --es-oro:      #C9A227;
  --es-oro-soft: #E2C56A;
  --es-marfil:   #F4EEE0;          /* type on dark */
  --es-paper:    #FBF7EC;          /* cream content surface */
  --es-paper-2:  #F4EEE0;
  --es-line-d:   rgba(244, 238, 224, 0.10);
  --es-line-d2:  rgba(244, 238, 224, 0.18);
  --es-line-l:   rgba(31, 10, 12, 0.14);
  --es-line-l2:  rgba(31, 10, 12, 0.22);
  --es-shadow:   31, 10, 12;

  /* ── Legacy aliases (anything inherited keeps working) ─────────────── */
  --green-deep:  var(--es-amarillo);
  --green-mid:   var(--es-rojo);
  --green-soft:  var(--es-paper-2);
  --yellow:      var(--es-amarillo);
  --yellow-soft: var(--es-oro-soft);
  --yellow-deep: var(--es-oro);
  --blue-deep:   var(--es-ink);
  --blue-soft:   var(--es-paper-2);
  --blue-mid:    var(--es-granate);
  --orange:      var(--es-rojo);
  --ocean:       var(--es-ink);
  --ocean-deep:  var(--es-ink);
  --sand:        var(--es-paper);
  --ink:         var(--es-ink);
  --muted:       rgba(244,238,224,.65);
  --line:        var(--es-line-d);
  --white:       #FFFFFF;

  /* ── Typography ─────────────────────────────────────────────────────── */
  --font-serif:   'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-sans:    'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* ── Geometry ───────────────────────────────────────────────────────── */
  --radius:    0;
  --radius-sm: 0;
  --radius-lg: 0;
  --shadow-sm: 0 1px 2px rgba(var(--es-shadow), 0.18);
  --shadow-md: 0 8px 28px rgba(var(--es-shadow), 0.30);
  --shadow-lg: 0 22px 60px rgba(var(--es-shadow), 0.45);

  --maxw:        1280px;
  --maxw-narrow: 880px;
  --maxw-wide:   1440px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--es-marfil);
  background: var(--es-ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "kern", "ss01";
}

/* Tricolor flag border at the very top of every page —
   three palette colors as equal bands across the viewport. */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 4px;
  z-index: 1000;
  background: linear-gradient(90deg,
    var(--es-rojo) 0 33.333%,
    var(--es-amarillo) 33.333% 66.666%,
    var(--es-oro) 66.666% 100%);
  pointer-events: none;
}

img { max-width: 100%; display: block; }

/* ── Links ──────────────────────────────────────────────────────────────── */
a { color: inherit; text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--es-amarillo); }

/* ── Headings ──────────────────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--es-marfil);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 0.55em;
  font-weight: 500;
}
h1 { font-size: clamp(2.6rem, 5.4vw, 4.4rem); font-weight: 500; }
h2 { font-size: clamp(2rem, 3.8vw, 3rem); font-weight: 500; margin-top: 1.2em; }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); font-weight: 600; margin-top: 1.2em; }
h4 { font-size: 1.15rem; font-weight: 700; font-family: var(--font-sans); letter-spacing: 0; }

h1 em, h2 em, h3 em { font-style: italic; color: var(--es-amarillo); font-weight: 500; }

p { margin: 0 0 1em; }
p.lead {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.85vw, 1.5rem);
  line-height: 1.5;
  color: rgba(244,238,224,.85);
  font-weight: 400;
  letter-spacing: -0.005em;
}

ul, ol { margin: 0 0 1em; padding-left: 1.4rem; }
li + li { margin-top: .35em; }

hr { border: 0; height: 1px; background: var(--es-line-d); margin: 3rem 0; }

strong { font-weight: 700; color: var(--es-marfil); }

/* Editorial chapter mark */
.article__chapter {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--es-amarillo);
  letter-spacing: 0.04em;
  font-weight: 500;
  display: block;
  margin-bottom: 12px;
}

/* Eyebrow — small caps tracking label */
.eyebrow,
.hero__eyebrow,
.section__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--es-amarillo);
  margin-bottom: 28px;
}
.eyebrow::before,
.hero__eyebrow::before,
.section__eyebrow::before {
  content: '';
  display: inline-block;
  width: 36px; height: 1px;
  background: var(--es-amarillo);
}
.eyebrow--rojo  { color: var(--es-rojo); }
.eyebrow--rojo::before { background: var(--es-rojo); }
.eyebrow--muted { color: rgba(244,238,224,.55); }
.eyebrow--muted::before { background: rgba(244,238,224,.55); }

/* ── Layout ────────────────────────────────────────────────────────────── */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }
.container--narrow { max-width: var(--maxw-narrow); }
.container--wide   { max-width: var(--maxw-wide); }

.section { padding: 130px 0; }
.section--tight { padding: 80px 0; }

/* Tighter top padding when a paper-section follows directly after a hero —
   removes the awkward double-padding gap between hero and article body. */
.hero + .section--paper,
.hero--short + .section--paper,
.hero--editorial + .section--paper,
.checklist-page-hero + .section--paper {
  padding-top: 56px;
}
/* Sticky progress bar sits between the checklist hero and the phases;
   without this rule the section gets the full 130px default top padding. */
.progress + .section--paper { padding-top: 40px; }
.progress + .section--paper > .container > .phase:first-of-type { margin-top: 0; }
.hero + .section--paper > .container > .article > :first-child,
.hero--short + .section--paper > .container > .article > :first-child,
.hero--editorial + .section--paper > .container > .article > :first-child,
.hero + .section--paper > .container > .city-layout .city-main > :first-child,
.hero--short + .section--paper > .container > .city-layout .city-main > :first-child {
  margin-top: 0;
}

/* Cream content section — switches the colour scheme */
.section--paper {
  background: var(--es-paper);
  color: var(--es-ink);
}
.section--paper h1, .section--paper h2, .section--paper h3, .section--paper h4,
.section--paper strong { color: var(--es-ink); }
.section--paper h1 em, .section--paper h2 em, .section--paper h3 em { color: var(--es-rojo); }
.section--paper p { color: rgba(31,10,12,.82); }
.section--paper p.lead { color: var(--es-ink); }
.section--paper a { color: var(--es-rojo); }
.section--paper a:hover { color: var(--es-ink); }
.section--paper .eyebrow,
.section--paper .article__chapter { color: var(--es-rojo); }
.section--paper .eyebrow::before { background: var(--es-rojo); }

/* Marfil deeper variant for accent blocks on cream */
.section--marfil { background: var(--es-paper-2); color: var(--es-ink); }

/* ── Buttons ───────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.55em;
  padding: 16px 30px;
  font-family: var(--font-sans);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .22s ease, color .22s ease, border-color .22s ease, transform .15s ease;
  text-decoration: none;
  border-radius: 0;
}
.btn:hover { transform: translateY(-1px); }

.btn--primary { background: var(--es-amarillo); color: var(--es-ink); border-color: var(--es-amarillo); }
.btn--primary:hover { background: var(--es-marfil); border-color: var(--es-marfil); color: var(--es-ink); }

.btn--ghost { background: transparent; color: var(--es-marfil); border-color: var(--es-marfil); }
.btn--ghost:hover { background: var(--es-marfil); color: var(--es-ink); }

.btn--inverse { background: var(--es-marfil); color: var(--es-ink); border-color: var(--es-marfil); }
.btn--inverse:hover { background: var(--es-amarillo); border-color: var(--es-amarillo); color: var(--es-ink); }

.btn--small { padding: 12px 20px; font-size: 0.78rem; letter-spacing: 0.18em; }

.btn + .btn { margin-left: 10px; }

/* On cream sections, btn--primary inverts to dark */
.section--paper .btn--primary,
.section--paper .btn { background: var(--es-ink); color: var(--es-paper); border-color: var(--es-ink); }
.section--paper .btn--primary:hover,
.section--paper .btn:hover { background: var(--es-rojo); border-color: var(--es-rojo); color: var(--es-marfil); }
.section--paper .btn--ghost { background: transparent; color: var(--es-ink); border-color: var(--es-ink); }
.section--paper .btn--ghost:hover { background: var(--es-ink); color: var(--es-paper); }
.section--paper .btn--inverse { background: var(--es-amarillo); color: var(--es-ink); border-color: var(--es-amarillo); }
.section--paper .btn--inverse:hover { background: var(--es-ink); color: var(--es-paper); }

@media (max-width: 540px) {
  .btn + .btn { margin-left: 0; margin-top: 12px; }
  .btn { width: 100%; max-width: 360px; }
}

/* ── Site header (transparent over hero, sticky-dark elsewhere) ────────── */
.site-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: transparent;
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  padding: 22px 32px;
  max-width: var(--maxw-wide);
  margin: 0 auto;
  position: relative;
}
.nav__logo img { height: 64px; width: auto; }

.nav__links { display: flex; align-items: center; gap: 36px; flex-wrap: nowrap; }
.nav__links a {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  color: rgba(244,238,224,.85);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.nav__links a:hover { color: var(--es-amarillo); }
.nav__links a.is-active { color: var(--es-amarillo); }

.nav__cta {
  display: inline-flex; align-items: center;
  padding: 13px 24px;
  background: var(--es-amarillo);
  color: var(--es-ink) !important;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid var(--es-amarillo);
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.nav__cta:hover {
  background: var(--es-marfil);
  border-color: var(--es-marfil);
  color: var(--es-ink) !important;
}

.nav__toggle {
  display: none;
  background: transparent;
  border: 0;
  width: 44px; height: 44px;
  position: relative;
  cursor: pointer;
  padding: 0;
}
.nav__toggle span,
.nav__toggle span::before,
.nav__toggle span::after {
  content: '';
  display: block;
  position: absolute;
  left: 8px; right: 8px;
  height: 2.5px;
  background: var(--es-marfil);
  border-radius: 2px;
  transition: transform .2s ease, top .2s ease, opacity .2s ease, left .2s ease, right .2s ease, height .2s ease;
}
.nav__toggle span { top: 50%; margin-top: -1.25px; }
.nav__toggle span::before { top: -10px; }
.nav__toggle span::after  { top: 10px; }
.nav__toggle.is-active span { background: transparent; }
.nav__toggle.is-active span::before,
.nav__toggle.is-active span::after {
  /* Bigger X — bars span wider and thicker for visibility */
  left: 4px; right: 4px;
  height: 3px;
}
.nav__toggle.is-active span::before { top: 0; transform: rotate(45deg); }
.nav__toggle.is-active span::after  { top: 0; transform: rotate(-45deg); }

/* "On paper" header — when the page begins on a cream section instead of a hero */
.site-header--paper {
  position: sticky; top: 0;
  background: var(--es-paper);
  border-bottom: 1px solid var(--es-line-l);
}
.site-header--paper .nav__links a { color: var(--es-ink); }
.site-header--paper .nav__links a:hover { color: var(--es-rojo); }
.site-header--paper .nav__cta {
  background: var(--es-amarillo);
  color: var(--es-ink) !important;
  border-color: var(--es-amarillo);
}
.site-header--paper .nav__cta:hover {
  background: var(--es-ink);
  color: var(--es-paper) !important;
  border-color: var(--es-ink);
}
.site-header--paper .nav__toggle span,
.site-header--paper .nav__toggle span::before,
.site-header--paper .nav__toggle span::after { background: var(--es-ink); }

@media (max-width: 1180px) {
  .nav { padding: 18px 24px; }
  .nav__toggle { display: block; }
  .nav__links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--es-ink);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0 20px;
    border-top: 1px solid var(--es-line-d);
    box-shadow: var(--shadow-md);
    display: none;
  }
  .site-header--paper .nav__links { background: var(--es-paper); }
  .nav__links.is-open { display: flex; }
  .nav__links a {
    padding: 14px 24px;
    font-size: 16px;
    border-bottom: 1px solid var(--es-line-d);
    letter-spacing: 0.12em;
  }
  .site-header--paper .nav__links a { border-color: var(--es-line-l); }
  /* Mobile CTA — full-width amarillo button so "Open Checklist" never clips */
  .nav__cta {
    display: flex;
    margin: 16px 20px 4px;
    padding: 16px 20px;
    justify-content: center;
    background: var(--es-amarillo) !important;
    border-color: var(--es-amarillo) !important;
    color: var(--es-ink) !important;
    font-size: 13px;
    letter-spacing: 0.18em;
    border-bottom: 1px solid var(--es-amarillo) !important;
  }
  .nav__cta:hover {
    background: var(--es-marfil) !important;
    border-color: var(--es-marfil) !important;
    color: var(--es-ink) !important;
  }
}
@media (max-width: 540px) {
  .nav__logo img { height: 52px; }
}
body.has-nav-open { overflow: hidden; }

/* ── Hero (full-bleed dark photo by default) ───────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 200px 32px 110px;
  overflow: hidden;
  background: var(--es-ink);
  color: var(--es-marfil);
}
.hero__bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: contrast(1.05) saturate(1.1);
}
.hero__bg::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(31,10,12,.42) 0%, rgba(31,10,12,.7) 50%, rgba(31,10,12,.95) 100%);
}
.hero__inner {
  position: relative;
  z-index: 1;
  max-width: var(--maxw);
  margin: 0 auto;
}
.hero h1 {
  font-size: clamp(3.2rem, 8vw, 7.8rem);
  font-weight: 500;
  line-height: 0.96;
  letter-spacing: -0.025em;
  color: var(--es-marfil);
  margin: 0 0 36px;
  max-width: 16ch;
}
.hero h1 em { font-style: italic; color: var(--es-amarillo); font-weight: 500; }
.hero__sub,
.hero__lede {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.8vw, 1.45rem);
  line-height: 1.5;
  color: rgba(244,238,224,.85);
  max-width: 600px;
  margin: 0 0 44px;
  font-weight: 400;
}
.hero__sub strong, .hero__lede strong { color: var(--es-marfil); font-weight: 600; }
.hero__rule {
  width: 64px; height: 2px;
  background: var(--es-amarillo);
  margin: 0 0 32px;
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__credit {
  position: absolute;
  bottom: 28px; right: 32px;
  z-index: 2;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(244,238,224,.5);
}

/* Editorial hero (paired text + framed image, used on internal pages) */
.hero--editorial {
  min-height: 0;
  padding: 200px 32px 100px;
}
.hero--editorial .container {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero--editorial img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: contrast(1.04) saturate(1.05);
}
@media (max-width: 900px) {
  .hero--editorial .container { grid-template-columns: 1fr; gap: 36px; }
  .hero { padding: 160px 24px 80px; }
}

/* Hero used on long-form pages where article is dominant — shorter */
.hero--short { min-height: 60vh; padding: 180px 32px 80px; }

/* ── Stat tiles ────────────────────────────────────────────────────────── */
.stats { padding: 130px 0; background: var(--es-ink); border-top: 1px solid var(--es-line-d); }
.stats .container { max-width: var(--maxw); }
.stats__head {
  max-width: 760px;
  margin: 0 0 72px;
}
.stats__head h2 {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  margin-top: 0;
}
.stats__head p { color: rgba(244,238,224,.7); max-width: 540px; }
.stats__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-top: 1px solid var(--es-line-d2);
}
.stat-tile {
  padding: 40px 22px 32px 0;
  border-right: 1px solid var(--es-line-d);
  border-bottom: 1px solid var(--es-line-d);
}
.stat-tile:last-child { border-right: 0; }
.stat-tile__num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.4vw, 3.6rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--es-marfil);
  margin-bottom: 14px;
}
.stat-tile__num em { font-style: italic; color: var(--es-amarillo); font-weight: 500; }
.stat-tile__label {
  display: block;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(244,238,224,.55);
  max-width: 140px;
  line-height: 1.5;
}
@media (max-width: 900px) {
  .stats__grid { grid-template-columns: repeat(3, 1fr); }
  .stat-tile:nth-child(3n) { border-right: 0; }
  .stat-tile { border-right: 1px solid var(--es-line-d); }
}
@media (max-width: 540px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat-tile { border-right: 1px solid var(--es-line-d) !important; }
  .stat-tile:nth-child(2n) { border-right: 0 !important; }
}

/* Stats variant on cream */
.section--paper .stats { background: var(--es-paper); border-top: 1px solid var(--es-line-l); }
.section--paper .stat-tile { border-right-color: var(--es-line-l); border-bottom-color: var(--es-line-l); }
.section--paper .stat-tile__num { color: var(--es-ink); }
.section--paper .stat-tile__num em { color: var(--es-rojo); }
.section--paper .stat-tile__label { color: rgba(31,10,12,.55); }

/* ── Steps (3-column "how it works" on dark) ───────────────────────────── */
.steps__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  counter-reset: stepcount;
}
.step {
  position: relative;
  padding-top: 28px;
  border-top: 1px solid var(--es-line-d2);
  counter-increment: stepcount;
}
.step::before {
  content: counter(stepcount, upper-roman) '.';
  position: absolute;
  top: 0; left: 0;
  background: var(--es-ink);
  padding-right: 12px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--es-amarillo);
  line-height: 1;
  transform: translateY(-55%);
}
.step h3 { margin-top: 18px; font-size: 1.45rem; color: var(--es-marfil); }
.step p { color: rgba(244,238,224,.68); margin: 0; }
.section--paper .step { border-top-color: var(--es-line-l2); }
.section--paper .step::before { background: var(--es-paper); color: var(--es-rojo); }
.section--paper .step h3 { color: var(--es-ink); }
.section--paper .step p { color: rgba(31,10,12,.7); }
@media (max-width: 900px) { .steps__grid { grid-template-columns: 1fr; gap: 36px; } }

/* ── Cards ─────────────────────────────────────────────────────────────── */
.card {
  background: var(--es-granate-2);
  border: 1px solid var(--es-line-d);
  padding: 28px;
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
.card:hover { transform: translateY(-2px); border-color: var(--es-amarillo); }
.card h3 { color: var(--es-marfil); margin-top: 0; }
.card p { color: rgba(244,238,224,.7); }
.card-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--es-amarillo);
}
.card-link::after { content: '→'; transition: transform .2s ease; }
.card-link:hover::after { transform: translateX(3px); }

.section--paper .card { background: var(--es-paper-2); border-color: var(--es-line-l); }
.section--paper .card:hover { border-color: var(--es-rojo); }
.section--paper .card h3 { color: var(--es-ink); }
.section--paper .card p { color: rgba(31,10,12,.72); }
.section--paper .card-link { color: var(--es-rojo); }
.section--paper .card-link:hover { color: var(--es-ink); }

/* ── Tools section ─────────────────────────────────────────────────────── */
.toolbox { background: var(--es-granate-2); padding: 130px 0; }
.toolbox__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 24px; }
.tool {
  display: flex;
  flex-direction: column;
  background: var(--es-ink);
  border: 1px solid var(--es-line-d);
  padding: 32px 28px;
  height: 100%;
  transition: border-color .2s ease, transform .2s ease;
  color: var(--es-marfil);
}
.tool:hover { border-color: var(--es-amarillo); transform: translateY(-3px); color: var(--es-marfil); }
.tool__brand {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--es-marfil);
  margin-bottom: 4px;
}
.tool__tag {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--es-amarillo);
  margin-bottom: 16px;
}
.tool p { color: rgba(244,238,224,.7); margin: 0 0 20px; flex: 1; }
.tool__cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 20px;
  background: var(--es-amarillo);
  color: var(--es-ink);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  align-self: flex-start;
  border: 1px solid var(--es-amarillo);
}
.tool:hover .tool__cta { background: var(--es-marfil); border-color: var(--es-marfil); color: var(--es-ink); }
@media (max-width: 900px) { .toolbox__grid { grid-template-columns: 1fr; } }

/* ── Cities preview cards ──────────────────────────────────────────────── */
.cities-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: 16px;
}
.city-strip {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--es-granate-2);
  isolation: isolate;
  transition: transform .3s ease;
}
.city-strip:hover { transform: translateY(-4px); }
.city-strip img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(.88) contrast(1.05) saturate(1.08);
  transition: transform .8s ease, filter .3s ease;
}
.city-strip:hover img { transform: scale(1.05); filter: brightness(1) contrast(1.05) saturate(1.15); }
.city-strip::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(31,10,12,.92));
}
.city-strip__body {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 24px;
  z-index: 1;
  color: var(--es-marfil);
}
.city-strip .city-strip__name,
.section--paper .city-strip .city-strip__name {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1;
  margin: 0 0 6px;
  color: #ffffff;
}
.city-strip .city-strip__name em,
.section--paper .city-strip .city-strip__name em { font-style: italic; color: #ffffff; }
.city-strip__region {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(244,238,224,.6);
}
.city-strip__rule { width: 28px; height: 2px; background: var(--es-amarillo); margin-bottom: 10px; }
/* auto-fit + minmax handles all viewports — no explicit breakpoints needed */

/* ── Editorial feature spread ─────────────────────────────────────────── */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 110px 0;
}
.feature--reverse .feature__media { order: 2; }
.feature__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: contrast(1.04) saturate(1.05);
}
.feature__num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(3rem, 5vw, 4.8rem);
  font-weight: 500;
  color: var(--es-amarillo);
  line-height: 1;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}
.section--paper .feature__num { color: var(--es-rojo); }
.feature h2 { margin: 0 0 24px; }
.feature p { font-size: 1.05rem; }
@media (max-width: 900px) {
  .feature, .feature--reverse { grid-template-columns: 1fr; gap: 36px; padding: 64px 0; }
  .feature--reverse .feature__media { order: 0; }
}

/* ── Quote / Editor's Note ─────────────────────────────────────────────── */
.quote-bleed {
  position: relative;
  padding: 160px 32px;
  background: var(--es-ink);
  color: var(--es-marfil);
  text-align: center;
  border-top: 1px solid var(--es-line-d);
  overflow: hidden;
}
.quote-bleed--photo {
  background-image:
    linear-gradient(180deg, rgba(31,10,12,.78) 0%, rgba(31,10,12,.92) 100%),
    var(--quote-bg, none);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.quote-bleed::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, transparent 30%, rgba(31,10,12,.4) 100%);
  pointer-events: none;
}
.quote-bleed__inner { position: relative; max-width: 1100px; margin: 0 auto; z-index: 1; }
.quote-bleed__label {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--es-amarillo);
  margin-bottom: 36px;
  padding: 6px 14px;
  border: 1px solid var(--es-amarillo);
}
.quote-bleed blockquote {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.6vw, 3.8rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: -0.012em;
  color: var(--es-marfil);
  margin: 0;
}
.quote-bleed blockquote em { color: var(--es-amarillo); font-style: italic; font-weight: 500; }
.quote-bleed cite {
  display: block;
  margin-top: 36px;
  font-style: normal;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(244,238,224,.5);
}

/* ── FAQ accordion ─────────────────────────────────────────────────────── */
.faq-section { padding: 130px 0; background: var(--es-ink); }
.faq-grid { max-width: 880px; margin: 0 auto; }
.faq-card {
  border-bottom: 1px solid var(--es-line-d2);
  padding: 6px 0;
}
.faq-card:first-child { border-top: 1px solid var(--es-line-d2); }
.faq-card summary {
  list-style: none;
  cursor: pointer;
  padding: 24px 56px 24px 0;
  position: relative;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--es-marfil);
  line-height: 1.3;
  outline: none;
  display: flex;
  align-items: baseline;
  gap: 20px;
}
.faq-card__q { flex: 1 1 auto; }
.faq-card summary::-webkit-details-marker { display: none; }
.faq-card__num {
  flex: 0 0 auto;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--es-amarillo);
  letter-spacing: 0.04em;
  min-width: 1.6em;
}
.faq-card__icon {
  position: absolute;
  right: 8px; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  color: var(--es-amarillo);
  transition: transform .25s ease;
  font-size: 1.5rem;
  line-height: 1;
}
.faq-card[open] .faq-card__icon { transform: translateY(-50%) rotate(45deg); color: var(--es-rojo); }
.faq-card__body {
  padding: 4px 56px 28px calc(1.6em + 20px);
  color: rgba(244,238,224,.78);
  font-size: 1.02rem;
  line-height: 1.65;
}
.faq-card__body p { margin: 0 0 12px; }
.faq-card__body p:last-child { margin: 0; }
.faq-card__body strong { color: var(--es-marfil); }
.faq-card__body a { color: var(--es-amarillo); border-bottom: 1px solid rgba(255,196,0,.4); }
.faq-card__body a:hover { color: var(--es-marfil); border-color: var(--es-marfil); }

.section--paper .faq-card { border-color: var(--es-line-l2); }
.section--paper .faq-card summary { color: var(--es-ink); }
.section--paper .faq-card__num { color: var(--es-rojo); }
.section--paper .faq-card__icon { color: var(--es-rojo); }
.section--paper .faq-card__body { color: rgba(31,10,12,.75); }
.section--paper .faq-card__body strong { color: var(--es-ink); }
.section--paper .faq-card__body a { color: var(--es-rojo); border-bottom-color: rgba(198,11,30,.4); }

/* ── Callouts ──────────────────────────────────────────────────────────── */
.callout {
  background: var(--es-paper-2);
  border-left: 3px solid var(--es-amarillo);
  padding: 22px 26px;
  margin: 28px 0;
  color: var(--es-ink);
}
.callout--gold  { border-color: var(--es-amarillo); background: #FBF4DC; color: var(--es-ink); }
.callout--rojo  { border-color: var(--es-rojo); background: #FDEBEC; color: var(--es-ink); }
.callout--green { border-color: var(--es-amarillo); background: var(--es-paper-2); color: var(--es-ink); }
.callout--blue  { border-color: var(--es-ink); background: var(--es-paper-2); color: var(--es-ink); }
.callout p:last-child { margin: 0; }
.callout strong { color: var(--es-ink); }

/* On dark surfaces, callouts invert */
body > .callout,
.section:not(.section--paper) .callout {
  background: var(--es-granate-2);
  color: var(--es-marfil);
  border-left-color: var(--es-amarillo);
}
.section:not(.section--paper) .callout strong { color: var(--es-marfil); }

/* ── Post cards (resources / culture / cities listings) ────────────────── */
.post-card {
  background: var(--es-granate-2);
  border: 1px solid var(--es-line-d);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .25s ease, border-color .25s ease;
}
.post-card:hover { transform: translateY(-3px); border-color: var(--es-amarillo); }
.post-card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; filter: contrast(1.04) saturate(1.1); }
.post-card:hover .post-card__media img { transform: scale(1.04); }
.post-card__body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.post-card__tag {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--es-amarillo);
  margin-bottom: 12px;
}
.post-card h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--es-marfil);
  margin: 0 0 12px;
  line-height: 1.15;
}
.post-card p { color: rgba(244,238,224,.7); margin: 0 0 16px; flex: 1; }
.post-card__readmore {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--es-amarillo);
}
.post-card__readmore::after { content: '→'; transition: transform .2s ease; }
.post-card:hover .post-card__readmore::after { transform: translateX(4px); }

.section--paper .post-card { background: var(--es-paper-2); border-color: var(--es-line-l); }
.section--paper .post-card:hover { border-color: var(--es-rojo); }
.section--paper .post-card__tag { color: var(--es-rojo); }
.section--paper .post-card h3 { color: var(--es-ink); }
.section--paper .post-card p { color: rgba(31,10,12,.72); }
.section--paper .post-card__readmore { color: var(--es-rojo); }

/* ── Article (long-form pages, used on cream paper) ────────────────────── */
.article {
  max-width: var(--maxw-narrow);
  margin: 0 auto;
  font-size: 1.06rem;
  line-height: 1.75;
  color: var(--es-ink);
}
.article p { margin: 0 0 1.1em; color: rgba(31,10,12,.82); }
.article h2 {
  margin-top: 2em;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--es-line-l);
  color: var(--es-ink);
}
.article h2 em { font-style: italic; color: var(--es-rojo); }
.article h3 { margin-top: 1.6em; font-size: 1.3rem; color: var(--es-ink); }
.article ul, .article ol { padding-left: 1.5rem; }
.article li { margin-bottom: 0.5em; }
.article li::marker { color: var(--es-rojo); }
.article strong { color: var(--es-ink); }
.article a {
  color: var(--es-rojo);
  border-bottom: 1px solid rgba(198,11,30,.35);
}
.article a:hover { color: var(--es-ink); border-color: var(--es-ink); }
.article-img {
  margin: 2em 0;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.article-img img { width: 100%; }
.article-img figcaption {
  padding: 12px 16px;
  background: var(--es-paper-2);
  font-size: 0.86rem;
  color: rgba(31,10,12,.7);
  font-style: italic;
}

.article__toc {
  background: var(--es-paper-2);
  border: 1px solid var(--es-line-l);
  padding: 22px 26px;
  margin: 28px 0;
}
.article__toc h4 {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(31,10,12,.55);
  margin: 0 0 12px;
}
.article__toc ol { list-style: decimal; padding-left: 1.4rem; margin: 0; }
.article__toc li { margin-bottom: 6px; }
.article__toc a { color: var(--es-ink); border-bottom: 0; }
.article__toc a:hover { color: var(--es-rojo); }

/* ── Tables (used inside articles) ─────────────────────────────────────── */
.table-wrap { overflow-x: auto; margin: 1.5em 0; }
table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
th, td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--es-line-l); }
th {
  background: var(--es-paper-2);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(31,10,12,.65);
}
tbody tr:hover { background: var(--es-paper-2); }

/* ── Checklist (interactive) ───────────────────────────────────────────── */
.checklist-page-hero {
  position: relative;
  padding: 200px 32px 100px;
  background: var(--es-ink);
  color: var(--es-marfil);
  overflow: hidden;
}
.checklist-page-hero::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(31,10,12,.55) 0%, rgba(31,10,12,.92) 100%),
    url('images/puerta-de-alcala-madrid-spain.jpg') center/cover;
  z-index: 0;
  pointer-events: none;
}
.checklist-page-hero .container { position: relative; z-index: 1; }
.checklist-page-hero h1 { color: var(--es-marfil); }
.checklist-page-hero p { color: rgba(244,238,224,.85); }

/* Full-width sticky progress bar (sits above the article on the checklist) */
.progress {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--es-granate-2);
  border-bottom: 1px solid rgba(244, 238, 224, 0.10);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
  margin-bottom: 0;
}
.progress__inner {
  max-width: var(--maxw-wide);
  margin: 0 auto;
  padding: 14px 32px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
}
.progress__main {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  min-width: 0;
}
.progress__head { display: contents; }
.progress__title {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--es-amarillo);
  white-space: nowrap;
}
.progress__label {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  color: var(--es-marfil);
  white-space: nowrap;
}
.progress__track {
  height: 6px;
  background: rgba(244, 238, 224, 0.12);
  overflow: hidden;
  border-radius: 3px;
  min-width: 0;
}
.progress__bar {
  height: 100%; width: 0;
  background: var(--es-rojo);
  border-radius: 3px;
  transition: width .35s ease, background .35s ease;
}
/* Three-color palette progression: rojo → amarillo → oro */
.progress__bar.is-stage-1,
.progress__bar.is-stage-2 { background: var(--es-rojo); }
.progress__bar.is-stage-3 { background: var(--es-amarillo); }
.progress__bar.is-stage-4 { background: var(--es-oro); }
.progress__bar.is-stage-5 {
  background: linear-gradient(90deg, var(--es-rojo), var(--es-amarillo), var(--es-oro), var(--es-amarillo), var(--es-rojo));
  background-size: 200% 100%;
  animation: shimmer 2.4s linear infinite;
}
@keyframes shimmer { to { background-position: -200% 0; } }

/* Right-aligned action buttons on the dark progress bar */
.checklist-progress {
  display: flex;
  gap: 8px;
  margin: 0;
  justify-content: flex-end;
}
.checklist-progress__btn {
  padding: 9px 16px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid rgba(244, 238, 224, 0.5);
  background: transparent;
  color: var(--es-marfil);
  cursor: pointer;
  white-space: nowrap;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.checklist-progress__btn:hover {
  background: var(--es-marfil);
  border-color: var(--es-marfil);
  color: var(--es-ink);
}
.checklist-progress__btn--primary {
  background: var(--es-amarillo);
  border-color: var(--es-amarillo);
  color: var(--es-ink);
}
.checklist-progress__btn--primary:hover {
  background: var(--es-marfil);
  border-color: var(--es-marfil);
  color: var(--es-ink);
}
.checklist-progress__btn.is-pulsing { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 196, 0, 0.65); }
  50%      { box-shadow: 0 0 0 8px rgba(255, 196, 0, 0);   }
}

/* Mobile: stack the buttons under the bar */
@media (max-width: 820px) {
  .progress__inner {
    grid-template-columns: 1fr;
    padding: 12px 24px;
    gap: 10px;
  }
  .progress__main {
    grid-template-columns: 1fr auto;
    gap: 12px;
  }
  .progress__main .progress__track { grid-column: 1 / -1; order: 2; }
  .progress__title { order: 0; }
  .progress__label { order: 1; }
  .checklist-progress { justify-content: flex-end; }
  .checklist-progress__btn { padding: 8px 12px; font-size: 10px; letter-spacing: 0.14em; }
}

.phase {
  margin: 64px 0;
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 32px;
  align-items: start;
  color: var(--es-ink);
}
.phase__num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(4.5rem, 7vw, 6.4rem);
  line-height: 1;
  color: var(--es-rojo);
  font-weight: 500;
}
.phase__week {
  display: block;
  margin-top: 8px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(31,10,12,.55);
  font-style: normal;
}
.phase h2 {
  margin-top: 0;
  font-size: clamp(1.7rem, 2.6vw, 2.3rem);
  color: var(--es-ink);
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  border-top: 1px solid var(--es-line-l);
}
.checklist li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 14px;
  align-items: start;
  padding: 18px 0;
  border-bottom: 1px solid var(--es-line-l);
  transition: opacity .25s ease;
}
.checklist li.is-checked { opacity: .55; }
.checklist li.is-checked .checklist__label { text-decoration: line-through; }
.checklist input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 22px; height: 22px;
  border: 1.5px solid var(--es-line-l2);
  background: var(--es-paper);
  cursor: pointer;
  flex-shrink: 0;
  position: relative;
  margin-top: 3px;
  transition: border-color .2s ease, background .2s ease;
}
.checklist input[type="checkbox"]:hover { border-color: var(--es-amarillo); }
.checklist input[type="checkbox"]:checked { background: var(--es-amarillo); border-color: var(--es-amarillo); }
.checklist input[type="checkbox"]:checked::after {
  content: '✓';
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--es-ink);
  font-weight: 800;
  font-size: 14px;
}
.checklist__label {
  display: block;
  font-weight: 600;
  color: var(--es-ink);
  cursor: pointer;
  font-size: 1rem;
}
.checklist__desc {
  display: block;
  margin-top: 4px;
  color: rgba(31,10,12,.7);
  font-size: 0.94rem;
  cursor: pointer;
}
.checklist__desc a { color: var(--es-rojo); border-bottom: 1px solid rgba(198,11,30,.35); }
.checklist__desc a:hover { color: var(--es-ink); border-color: var(--es-ink); }
@media (max-width: 760px) {
  .phase { grid-template-columns: 1fr; gap: 8px; }
}

/* ── City layout ───────────────────────────────────────────────────────── */
.city-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 56px;
  align-items: start;
}
@media (max-width: 1000px) { .city-layout { grid-template-columns: 1fr; } }
.city-main { font-size: 1.04rem; line-height: 1.75; color: var(--es-ink); }
.city-main h2 {
  margin-top: 2em;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--es-line-l);
  color: var(--es-ink);
}
.city-main p { color: rgba(31,10,12,.82); }

/* ── City "At a glance" sidebar ─────────────────────────────────────────
   Granate header bar + cream body, red labels, ink values.
   Compatible with the existing <div class="quick-stats"><h4>…<dl>…</dl></div>
   markup on all 20 city pages. */
.quick-stats {
  background: var(--es-paper);
  border: 1px solid var(--es-line-l);
  border-radius: 6px;
  padding: 0;
  position: sticky; top: 110px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(31,10,12,.06);
}
.quick-stats h4 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0;
  padding: 22px 24px;
  background: var(--es-ink);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  text-transform: none;
  border: 0;
}
/* "2026" badge to the right of the title */
.quick-stats h4::after {
  content: '2026';
  flex: none;
  background: var(--es-rojo);
  color: #fff;
  font-family: var(--font-sans);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 3px;
  line-height: 1;
}

.quick-stats dl { margin: 0; padding: 8px 24px 24px; }
.quick-stats dt {
  font-family: var(--font-sans);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--es-rojo);
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px dotted rgba(31,10,12,.18);
}
.quick-stats dt:first-child { margin-top: 8px; padding-top: 0; border-top: 0; }
.quick-stats dd {
  margin: 8px 0 0;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--es-ink);
  line-height: 1.25;
  letter-spacing: -0.01em;
}
@media (max-width: 720px) {
  .quick-stats h4 { padding: 18px 20px; font-size: 1.4rem; }
  .quick-stats h4::after { font-size: .66rem; padding: 5px 10px; }
  .quick-stats dl { padding: 8px 20px 22px; }
  .quick-stats dd { font-size: 1.2rem; }
}

/* City photo gallery */
.city-gallery { margin: 36px 0; }
.city-gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.city-gallery__cell {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  cursor: pointer;
  margin: 0;
  background: var(--es-paper-2);
  transition: transform .25s ease;
}
.city-gallery__cell:hover { transform: scale(1.02); }
.city-gallery__cell img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s ease;
  filter: contrast(1.04) saturate(1.05);
}
.city-gallery__cell:hover img { transform: scale(1.06); }
.city-gallery__caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 10px 14px 12px;
  font-size: 0.82rem;
  color: var(--es-marfil);
  background: linear-gradient(180deg, transparent, rgba(31,10,12,.92));
  font-style: italic;
  line-height: 1.3;
}
.city-gallery__cell:nth-child(1),
.city-gallery__cell:nth-child(6) {
  grid-column: span 2; grid-row: span 2;
}
@media (max-width: 700px) {
  .city-gallery__grid { grid-template-columns: repeat(2, 1fr); }
  .city-gallery__cell:nth-child(1),
  .city-gallery__cell:nth-child(6) { grid-column: span 1; grid-row: span 1; }
}

/* Compact gallery variant — even thumbnails, no spans, smaller scale.
   Used after the "Why [city]?" section instead of the big masonry. */
.city-gallery--compact { margin: 28px 0 36px; }
.city-gallery--compact .city-gallery__grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.city-gallery--compact .city-gallery__cell {
  aspect-ratio: 4 / 3;
}
.city-gallery--compact .city-gallery__cell:nth-child(1),
.city-gallery--compact .city-gallery__cell:nth-child(6) {
  grid-column: auto; grid-row: auto;
  aspect-ratio: 4 / 3;
}
.city-gallery--compact .city-gallery__caption {
  font-size: 0.74rem;
  padding: 6px 10px 8px;
}
@media (max-width: 700px) {
  .city-gallery--compact .city-gallery__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .city-gallery--compact .city-gallery__grid { grid-template-columns: 1fr 1fr; }
}

/* ── Lightbox ──────────────────────────────────────────────────────────── */
.lightbox {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(31,10,12,.97);
  display: none;
  align-items: center; justify-content: center;
  padding: 60px 80px;
}
.lightbox.is-open { display: flex; }
.lightbox__img { max-width: 100%; max-height: 100%; }
.lightbox__caption {
  position: absolute;
  left: 0; right: 0; bottom: 24px;
  text-align: center;
  color: var(--es-marfil);
  padding: 0 60px;
  font-size: 0.95rem;
  font-style: italic;
}
.lightbox__counter {
  position: absolute;
  top: 24px; left: 24px;
  font-family: var(--font-display);
  font-style: italic;
  color: var(--es-amarillo);
  font-size: 1rem;
  letter-spacing: 0.06em;
}
.lightbox__close,
.lightbox__nav {
  position: absolute;
  background: transparent;
  border: 1px solid var(--es-marfil);
  color: var(--es-marfil);
  cursor: pointer;
  border-radius: 0;
}
.lightbox__close { top: 18px; right: 22px; width: 44px; height: 44px; font-size: 22px; line-height: 1; }
.lightbox__nav { top: 50%; transform: translateY(-50%); width: 52px; height: 52px; font-size: 24px; line-height: 1; }
.lightbox__nav--prev { left: 24px; }
.lightbox__nav--next { right: 24px; }
.lightbox__close:hover, .lightbox__nav:hover { background: var(--es-marfil); color: var(--es-ink); }

/* ── Forms ─────────────────────────────────────────────────────────────── */
.form { display: grid; gap: 18px; max-width: 640px; }
.form-field { display: grid; gap: 6px; }
.form-field label {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(244,238,224,.7);
}
.form-field input,
.form-field textarea,
.form-field select {
  font-family: var(--font-sans);
  font-size: 1rem;
  padding: 13px 16px;
  border: 1px solid var(--es-line-d2);
  background: rgba(244,238,224,.05);
  color: var(--es-marfil);
  outline: none;
  transition: border-color .2s ease;
  border-radius: 0;
}
.form-field input::placeholder, .form-field textarea::placeholder { color: rgba(244,238,224,.4); }
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { border-color: var(--es-amarillo); }
.form-field textarea { min-height: 160px; resize: vertical; }
.form-honeypot { position: absolute; left: -9999px; }
.form-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.form-status {
  margin-top: 12px;
  padding: 14px 18px;
  font-size: 0.95rem;
  display: none;
  border: 1px solid;
}
.form-status.is-success { display: block; background: rgba(255,196,0,.1); color: var(--es-amarillo); border-color: var(--es-amarillo); }
.form-status.is-error   { display: block; background: rgba(198,11,30,.12); color: #FFB1B6; border-color: var(--es-rojo); }

/* On paper sections, forms invert */
.section--paper .form-field label { color: rgba(31,10,12,.6); }
.section--paper .form-field input,
.section--paper .form-field textarea,
.section--paper .form-field select {
  background: var(--es-paper);
  color: var(--es-ink);
  border-color: var(--es-line-l2);
}
.section--paper .form-field input::placeholder { color: rgba(31,10,12,.4); }
.section--paper .form-field input:focus { border-color: var(--es-rojo); }

/* Email signup */
.signup { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.signup input[type="email"] {
  flex: 1 1 240px;
  padding: 16px 18px;
  border: 1px solid var(--es-line-d2);
  background: rgba(244,238,224,.06);
  color: var(--es-marfil);
  font-size: 1rem;
}
.signup input[type="email"]::placeholder { color: rgba(244,238,224,.45); }
.signup input[type="email"]:focus { outline: none; border-color: var(--es-amarillo); }
.signup button {
  padding: 16px 28px;
  background: var(--es-amarillo);
  color: var(--es-ink);
  border: 1px solid var(--es-amarillo);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.86rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 0;
}
.signup button:hover { background: var(--es-marfil); border-color: var(--es-marfil); }
.signup__status { width: 100%; margin-top: 8px; font-size: 0.92rem; color: rgba(244,238,224,.7); }
.signup__status.is-error { color: #FFB1B6; }

/* On paper, signup inverts */
.section--paper .signup input[type="email"] {
  background: var(--es-paper);
  color: var(--es-ink);
  border-color: var(--es-line-l2);
}
.section--paper .signup input[type="email"]::placeholder { color: rgba(31,10,12,.4); }
.section--paper .signup button { background: var(--es-ink); color: var(--es-paper); border-color: var(--es-ink); }
.section--paper .signup button:hover { background: var(--es-rojo); border-color: var(--es-rojo); }

/* ── Footer ────────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--es-ink);
  color: var(--es-marfil);
  padding: 96px 0 32px;
  border-top: 1px solid var(--es-line-d);
}
.site-footer .container { max-width: var(--maxw-wide); }
.site-footer a { color: rgba(244,238,224,.78); }
.site-footer a:hover { color: var(--es-amarillo); }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 56px;
  padding-bottom: 56px;
}
.footer__brand img { width: 240px; }
.footer__tag {
  margin-top: 16px;
  font-size: 0.92rem;
  color: rgba(244,238,224,.55);
  line-height: 1.55;
  max-width: 320px;
}
.footer-grid h4 {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--es-amarillo);
  margin: 0 0 18px;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a { font-size: 0.94rem; }
.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid var(--es-line-d);
  display: grid;
  gap: 18px;
}
.footer-bottom p { margin: 0; font-size: 0.82rem; color: rgba(244,238,224,.45); line-height: 1.55; }
.footer-bottom p strong { color: var(--es-amarillo); font-weight: 600; }
.footer-bottom__row {
  display: flex; flex-wrap: wrap; gap: 18px;
  align-items: center; justify-content: space-between;
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ── Resources page ────────────────────────────────────────────────────── */
.resource-group { margin: 56px 0; }
.resource-group__title {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(31,10,12,.55);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--es-line-l);
}
.resource {
  background: var(--es-paper-2);
  border: 1px solid var(--es-line-l);
  padding: 28px;
  margin-bottom: 18px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: start;
}
.resource__name { font-family: var(--font-display); font-size: 1.45rem; font-weight: 500; margin: 0 0 6px; color: var(--es-ink); }
.resource__meta { font-size: 0.82rem; color: rgba(31,10,12,.55); letter-spacing: 0.06em; text-transform: uppercase; font-weight: 600; }
.resource__body p { color: rgba(31,10,12,.72); margin: 12px 0 0; font-size: 0.96rem; }
.resource__cta,
.section--paper .resource__cta {
  align-self: center;
  padding: 12px 20px;
  background: var(--es-rojo);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
  border: 1px solid var(--es-rojo);
  text-decoration: none;
}
.resource__cta:hover,
.section--paper .resource__cta:hover { background: var(--es-ink); border-color: var(--es-ink); color: #ffffff; }
@media (max-width: 600px) { .resource { grid-template-columns: 1fr; } }

/* ── 404 page ─────────────────────────────────────────────────────────── */
.error-page { padding: 140px 0; text-align: center; }
.error-page__num {
  font-family: var(--font-display);
  font-size: clamp(6rem, 14vw, 12rem);
  line-height: 1;
  color: var(--es-amarillo);
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.02em;
}

/* ── Print cover page (checklist) ──────────────────────────────────────── */
.print-cover { display: none; }
.checklist-colophon {
  text-align: center;
  color: rgba(31, 10, 12, 0.55);
  font-style: italic;
  margin-top: 32px;
  font-size: 0.9rem;
}

/* ── Resources block on the checklist (screen) ─────────────────────────── */
.checklist-resources {
  margin: 80px 0 24px;
  padding-top: 64px;
  border-top: 1px solid var(--es-line-l);
  color: var(--es-ink);
}
.checklist-resources__head {
  margin-bottom: 40px;
}
.checklist-resources__head h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin: 0 0 12px;
}
.checklist-resources__head h2 em { font-style: italic; color: var(--es-rojo); }
.checklist-resources__head p {
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.55;
  color: rgba(31, 10, 12, 0.78);
  margin: 0;
  max-width: 720px;
}
.checklist-resources__group {
  margin: 36px 0;
  padding: 28px 30px;
  background: var(--es-paper-2);
  border: 1px solid var(--es-line-l);
}
.checklist-resources__group h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--es-ink);
  margin: 0 0 8px;
  letter-spacing: -0.012em;
}
.checklist-resources__group h3 em {
  font-style: italic;
  color: var(--es-rojo);
  font-weight: 500;
}
.checklist-resources__note {
  color: rgba(31, 10, 12, 0.7);
  font-size: 0.96rem;
  line-height: 1.55;
  margin: 0 0 16px;
}
.checklist-resources__note strong { color: var(--es-ink); font-weight: 700; }
.checklist-resources__note em { color: var(--es-rojo); font-style: italic; }
.checklist-resources__group ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}
.checklist-resources__group li {
  padding: 12px 0 12px 22px;
  border-top: 1px solid var(--es-line-l);
  position: relative;
  font-size: 0.96rem;
  line-height: 1.55;
  color: rgba(31, 10, 12, 0.82);
}
.checklist-resources__group li::before {
  content: '★';
  position: absolute;
  left: 0; top: 12px;
  color: var(--es-oro);
  font-size: 0.78rem;
}
.checklist-resources__group li strong { color: var(--es-ink); font-weight: 700; }
.checklist-resources__group li a {
  color: var(--es-rojo);
  border-bottom: 1px solid rgba(198, 11, 30, 0.35);
}
.checklist-resources__group li a:hover { color: var(--es-ink); border-color: var(--es-ink); }

@media (max-width: 700px) {
  .checklist-resources__group { padding: 22px 20px; }
}

/* ── Print styles ──────────────────────────────────────────────────────────
     Clean PDF output: cover page first, each phase on its own page,
     resources on the last page. Color logo on the cover.
     ─────────────────────────────────────────────────────────────────────── */
@media print {
  /* Page setup */
  @page {
    size: A4;
    margin: 18mm 15mm 18mm 15mm;
  }

  /* Cookie banner never appears in print — belt-and-suspenders against any
     site-wide print (PDF save) capturing the consent dialog. */
  #nm-cookie-banner { display: none !important; }

  /* Reset to b/w paper */
  html, body {
    background: #fff !important;
    color: #1A0708 !important;
    font-size: 11pt;
    line-height: 1.45;
  }
  body::before { display: none !important; }

  /* Hide everything chrome-y */
  .site-header,
  .site-footer,
  .nav,
  .nav__toggle,
  .checklist-page-hero,
  .progress,
  .checklist-progress,
  .hero__ctas,
  .signup,
  .toolbox,
  .quote-bleed,
  .ornament,
  .checklist-colophon {
    display: none !important;
  }

  /* Strip the dark / cream section colors */
  .section,
  .section--paper,
  .section--marfil {
    background: #fff !important;
    color: #1A0708 !important;
    padding: 0 !important;
    border: 0 !important;
  }
  .section--paper .container,
  .section--paper > .container {
    max-width: 100% !important;
    padding: 0 !important;
  }

  /* Print cover — visible only here */
  .print-cover {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 95vh;
    page-break-after: always;
    break-after: page;
    color: #1A0708;
  }
  .print-cover__inner { max-width: 540px; }
  .print-cover__logo {
    width: 360px;
    max-width: 80%;
    height: auto;
    margin: 0 auto 36px;
    display: block;
  }
  .print-cover__title {
    font-family: var(--font-display);
    font-size: 32pt;
    font-weight: 600;
    line-height: 1.05;
    color: #1A0708;
    margin: 0 0 14pt;
    letter-spacing: -0.02em;
  }
  .print-cover__title em {
    font-style: italic;
    color: #C60B1E;
    font-weight: 500;
  }
  .print-cover__lede {
    font-family: var(--font-display);
    font-size: 14pt;
    font-style: italic;
    color: #5B0E10;
    margin: 0 0 24pt;
  }
  .print-cover__rule {
    border: 0;
    height: 1pt;
    background: #C9A227;
    width: 80pt;
    margin: 24pt auto;
  }
  .print-cover__meta {
    font-family: var(--font-sans);
    font-size: 9pt;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #6F5A4E;
    margin: 0 0 10pt;
  }
  .print-cover__legal {
    font-size: 9pt;
    color: #6F5A4E;
    line-height: 1.4;
    max-width: 380pt;
    margin: 12pt auto 0;
  }

  /* Each phase starts on a new page */
  .phase {
    display: block !important;
    page-break-before: always;
    break-before: page;
    page-break-inside: avoid;
    margin: 0 !important;
    grid-template-columns: none !important;
  }
  .phase__num {
    display: block;
    color: #C60B1E !important;
    font-family: var(--font-display);
    font-style: italic;
    font-size: 38pt;
    line-height: 1;
    margin: 0 0 6pt;
    page-break-after: avoid;
  }
  .phase__week {
    display: block;
    margin-top: 6pt;
    font-family: var(--font-sans);
    font-size: 9pt;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #6F5A4E;
    font-style: normal;
  }
  .phase h2 {
    font-family: var(--font-display);
    font-size: 22pt;
    color: #1A0708 !important;
    margin: 8pt 0 4pt !important;
    page-break-after: avoid;
    border: 0 !important;
    padding: 0 !important;
  }
  .phase > div > p {
    color: #6F5A4E !important;
    font-size: 10pt;
    margin: 0 0 14pt;
  }

  /* Checklist items */
  .checklist {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
  }
  .checklist li {
    display: grid !important;
    grid-template-columns: 18pt 1fr;
    gap: 8pt;
    padding: 8pt 0;
    border-bottom: 1px solid #DDD8CC !important;
    page-break-inside: avoid;
    break-inside: avoid;
    align-items: start;
  }
  .checklist input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 12pt; height: 12pt;
    border: 1pt solid #1A0708 !important;
    background: #fff !important;
    margin-top: 1pt;
    /* Always print as empty boxes the user can tick by hand */
  }
  .checklist input[type="checkbox"]:checked {
    background: #FFC400 !important;
    border-color: #C9A227 !important;
  }
  .checklist input[type="checkbox"]:checked::after {
    content: '\2713';
    color: #1A0708 !important;
    font-weight: 800;
    font-size: 9pt;
    display: flex; align-items: center; justify-content: center;
  }
  .checklist__label {
    color: #1A0708 !important;
    font-weight: 700;
    font-size: 10.5pt;
    margin: 0;
  }
  .checklist__desc {
    display: block;
    margin-top: 3pt;
    color: #4A3A30 !important;
    font-size: 9pt;
    line-height: 1.45;
  }
  .checklist li.is-checked { opacity: 0.7; }
  .checklist li.is-checked .checklist__label { text-decoration: line-through; }

  /* Resources block — last page */
  .checklist-resources {
    page-break-before: always;
    break-before: page;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
  }
  .checklist-resources__head { margin-bottom: 16pt; }
  .checklist-resources__head h2 {
    font-size: 22pt;
    color: #1A0708 !important;
    margin: 0 0 6pt;
  }
  .checklist-resources__head h2 em { color: #C60B1E !important; }
  .checklist-resources__head p {
    font-size: 10pt;
    color: #4A3A30 !important;
    margin: 0;
  }
  .checklist-resources__group {
    page-break-inside: avoid;
    break-inside: avoid;
    background: #fff !important;
    border: 0 !important;
    border-top: 1pt solid #C9A227 !important;
    padding: 12pt 0 8pt !important;
    margin: 12pt 0 0 !important;
  }
  .checklist-resources__group h3 {
    font-size: 13pt;
    color: #1A0708 !important;
    margin: 0 0 4pt;
    page-break-after: avoid;
  }
  .checklist-resources__note {
    font-size: 9pt;
    color: #4A3A30 !important;
    margin: 0 0 8pt;
  }
  .checklist-resources__group ul {
    display: block;
    gap: 0;
  }
  .checklist-resources__group li {
    padding: 5pt 0 5pt 14pt;
    border-top: 0 !important;
    font-size: 9pt;
    color: #1A0708 !important;
    page-break-inside: avoid;
  }
  .checklist-resources__group li::before {
    color: #C9A227 !important;
    top: 5pt;
  }

  /* General link styling on print */
  a, a:visited {
    color: #1A0708 !important;
    text-decoration: none !important;
    border-bottom: 0 !important;
  }
  /* Show the URL after each link in resources for offline use */
  .checklist-resources a[href^="http"]::after {
    content: " — " attr(href);
    font-size: 8pt;
    color: #6F5A4E !important;
    word-break: break-all;
  }

  /* Generic article link cleanup */
  .article a, .checklist__desc a {
    border-bottom: 0 !important;
  }

  /* Hide the tricolor and any sticky elements that survive */
  .progress { display: none !important; }
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ── Related reading block (hub-and-spoke interlinking) ──────────────── */
.related-reads {
  margin: 56px 0 0;
  padding: 28px 28px 24px;
  background: var(--es-marfil);
  border: 1px solid var(--es-line-l);
  border-left: 3px solid var(--es-rojo);
  border-radius: 4px;
}
.related-reads__eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--es-rojo);
  margin-bottom: 14px;
}
.related-reads__list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.related-reads__list li {
  padding: 12px 0;
  border-top: 1px dotted rgba(31,10,12,.18);
  font-family: var(--font-sans);
  font-size: .96rem;
  line-height: 1.55;
  color: rgba(31,10,12,.75);
}
.related-reads__list li:first-child { border-top: 0; padding-top: 0; }
.related-reads__list li:last-child { padding-bottom: 0; }
.related-reads__list a {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--es-ink);
  text-decoration: none;
  letter-spacing: -0.01em;
  border-bottom: 1px solid transparent;
  transition: border-color .15s ease, color .15s ease;
}
.related-reads__list a:hover {
  color: var(--es-rojo);
  border-bottom-color: var(--es-rojo);
}
@media (max-width: 720px) {
  .related-reads { padding: 22px 20px 18px; }
  .related-reads__list a { font-size: 1.05rem; }
}

/* =====================================================================
   GDPR / ePrivacy cookie consent banner — Madrugada-palette adaptation
   ===================================================================== */
#nm-cookie-banner {
  position: fixed;
  left: 16px; right: 16px; bottom: 16px;
  max-width: 1080px;
  margin: 0 auto;
  background: var(--es-ink);
  color: var(--es-marfil);
  border-radius: 6px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.28);
  padding: 18px 22px;
  z-index: 9999;
  animation: nm-cookie-rise .35s ease-out;
  font-family: var(--font-sans);
  border: 1px solid rgba(255,196,0,0.18);
}
@keyframes nm-cookie-rise {
  from { transform: translateY(24px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
#nm-cookie-banner.is-dismissed {
  transform: translateY(24px);
  opacity: 0;
  transition: transform .25s ease-in, opacity .25s ease-in;
}
.nm-cookie-banner__inner {
  display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
}
.nm-cookie-banner__copy {
  margin: 0; flex: 1 1 380px;
  font-size: .92rem; line-height: 1.55;
  color: rgba(244,238,224,.92);
}
.nm-cookie-banner__copy a {
  color: var(--es-amarillo);
  text-decoration: underline; text-underline-offset: 2px;
}
.nm-cookie-banner__copy a:hover { color: #fff; }
.nm-cookie-banner__buttons { display: flex; gap: 10px; flex: none; }
.nm-cookie-banner__btn {
  display: inline-block;
  padding: 10px 18px;
  font-family: var(--font-sans);
  font-size: .76rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  border-radius: 3px; cursor: pointer;
  border: 1.5px solid transparent;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
  text-decoration: none !important;
}
.nm-cookie-banner__btn--decline {
  background: transparent;
  color: rgba(244,238,224,.92);
  border-color: rgba(244,238,224,.40);
}
.nm-cookie-banner__btn--decline:hover {
  border-color: rgba(244,238,224,.85);
  background: rgba(255,255,255,0.06);
}
.nm-cookie-banner__btn--accept {
  background: var(--es-rojo); color: #fff;
  border-color: var(--es-rojo);
}
.nm-cookie-banner__btn--accept:hover {
  background: #8C0916; border-color: #8C0916;
}
@media (max-width: 720px) {
  #nm-cookie-banner { left: 8px; right: 8px; bottom: 8px; padding: 16px 18px; }
  .nm-cookie-banner__inner { gap: 14px; }
  .nm-cookie-banner__copy { font-size: .88rem; flex-basis: 100%; }
  .nm-cookie-banner__buttons { width: 100%; }
  .nm-cookie-banner__btn { flex: 1; text-align: center; padding: 12px 14px; }
}
