/* ============================================================
   FINANZAS REALES — Design System
   Tipografía: Poppins + DM Serif Display
   Paleta: Azul Marino #0D2359 · Dorado #F5C842 · Azul vivo #1877F2
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800;900&family=DM+Serif+Display:ital@0;1&family=DM+Sans:wght@400;500&display=swap');

/* ============================================================
   TOKENS
   ============================================================ */
:root {
  /* Marca */
  --navy:        #0D2359;
  --navy-mid:    #1A3A7A;
  --navy-light:  #2451A8;
  --gold:        #F5C842;
  --gold-dark:   #D4A82E;
  --gold-light:  #FFF3B0;
  --blue-vivid:  #1877F2;
  --blue-bright: #3B9EFF;

  /* Modo claro */
  --bg:          #FFFFFF;
  --bg-soft:     #F4F6FB;
  --bg-card:     #FFFFFF;
  --border:      #E2E8F4;
  --border-soft: #EEF2FA;

  --text-1:      #0A1628;
  --text-2:      #3D5170;
  --text-3:      #8898B3;

  /* UI */
  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   20px;
  --radius-xl:   28px;

  --shadow-1: 0 1px 4px rgba(13,35,89,.06);
  --shadow-2: 0 6px 24px rgba(13,35,89,.10);
  --shadow-3: 0 16px 48px rgba(13,35,89,.14);
  --shadow-gold: 0 8px 24px rgba(245,200,66,.35);

  /* Tipografía */
  --font-ui:    'Poppins', sans-serif;
  --font-read:  'DM Sans', sans-serif;
  --font-serif: 'DM Serif Display', serif;

  /* Espaciado */
  --gap-1: 0.5rem;
  --gap-2: 1rem;
  --gap-3: 1.5rem;
  --gap-4: 2.5rem;
  --gap-5: 4rem;
  --gap-6: 6rem;

  --ease: cubic-bezier(.4,0,.2,1);
  --dur: 200ms;
}

/* Modo oscuro */
[data-theme="dark"] {
  --bg:          #050D1E;
  --bg-soft:     #0B1530;
  --bg-card:     #0D1A3A;
  --border:      #142040;
  --border-soft: #0F1C38;

  --text-1:      #EEF2FF;
  --text-2:      #94A8CC;
  --text-3:      #4A6080;

  --navy:        #1A3A7A;
  --navy-mid:    #2451A8;

  --shadow-1: 0 1px 4px rgba(0,0,0,.4);
  --shadow-2: 0 6px 24px rgba(0,0,0,.5);
  --shadow-3: 0 16px 48px rgba(0,0,0,.6);
}

/* ============================================================
   RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font-read);
  background: var(--bg);
  color: var(--text-1);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background .3s var(--ease), color .3s var(--ease);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

img { max-width: 100%; height: auto; display: block; }
a   { color: var(--blue-vivid); text-decoration: none; transition: color var(--dur) var(--ease); }
a:hover { color: var(--navy); text-decoration: underline; }
[data-theme="dark"] a:hover { color: var(--blue-bright); }
hr  { border: none; border-top: 1px solid var(--border); }
p   { margin-bottom: var(--gap-3); color: var(--text-1); }
ul, ol { padding-left: var(--gap-4); margin-bottom: var(--gap-3); }
li { margin-bottom: var(--gap-1); }

h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-ui);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-1);
}

code {
  font-family: 'Menlo','Monaco','Consolas',monospace;
  font-size: .85em;
  background: rgba(13,35,89,.08);
  color: var(--navy);
  padding: .15em .45em;
  border-radius: 4px;
}

[data-theme="dark"] code {
  background: rgba(255,255,255,.08);
  color: var(--blue-bright);
}

pre {
  background: #071324;
  border-radius: var(--radius-md);
  border-left: 3px solid var(--gold);
  padding: 1.5rem 1.5rem 1.5rem 1.75rem;
  overflow-x: auto;
  margin: var(--gap-4) 0;
  box-shadow: var(--shadow-3);
  position: relative;
}

pre code {
  background: none;
  color: #c8d8f0;
  font-size: .875rem;
  line-height: 1.8;
  font-family: 'Menlo','Monaco','Consolas',monospace;
  padding: 0;
  border-radius: 0;
}

blockquote {
  border-left: 3px solid var(--gold);
  padding: var(--gap-2) var(--gap-3);
  margin: var(--gap-3) 0;
  background: linear-gradient(90deg, rgba(245,200,66,.08) 0%, transparent 100%);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--text-2);
  font-style: italic;
}

blockquote p:last-child { margin: 0; }

table { width: 100%; border-collapse: collapse; margin-bottom: var(--gap-3); }
th,td { padding: .75rem 1rem; border-bottom: 1px solid var(--border); text-align: left; font-size: .95rem; }
th { font-family: var(--font-ui); font-weight: 600; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; background: var(--bg-soft); color: var(--text-2); }
tr:hover td { background: rgba(13,35,89,.03); }

/* ============================================================
   LAYOUT
   ============================================================ */
.wrapper {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: var(--gap-4);
}

.wrapper--narrow {
  max-width: 760px;
  margin-inline: auto;
  padding-inline: var(--gap-4);
}

main { flex: 1; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--dur) var(--ease);
}

[data-theme="dark"] .site-header {
  background: rgba(5,13,30,.9);
}

.site-header--scrolled { box-shadow: var(--shadow-2); }

.site-header .wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: var(--gap-3);
}

/* Logo */
.site-title {
  display: inline-flex;
  align-items: center;
  gap: .625rem;
  font-family: var(--font-ui);
  font-weight: 800;
  font-size: 1.0625rem;
  color: var(--navy);
  letter-spacing: -.02em;
  text-decoration: none;
  flex-shrink: 0;
}

[data-theme="dark"] .site-title { color: var(--text-1); }
.site-title:hover { color: var(--blue-vivid); text-decoration: none; }

.site-title__icon {
  width: 34px; height: 34px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--gold);
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

/* Favicon SVG usado como logo en el header */
.site-title-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  flex-shrink: 0;
  display: block;
}

/* Nav */
.header-right {
  display: flex;
  align-items: center;
  gap: var(--gap-2);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: .25rem;
  padding: 0; margin: 0;
}

.nav-link {
  display: block;
  padding: .4rem .875rem;
  font-family: var(--font-ui);
  font-size: .875rem;
  font-weight: 500;
  color: var(--text-2);
  border-radius: var(--radius-sm);
  transition: background var(--dur), color var(--dur);
  text-decoration: none;
}

.nav-link:hover, .nav-link.active {
  color: var(--navy);
  background: var(--bg-soft);
  text-decoration: none;
}

[data-theme="dark"] .nav-link:hover,
[data-theme="dark"] .nav-link.active {
  color: var(--text-1);
  background: var(--bg-soft);
}

/* Toggle */
.theme-toggle {
  width: 38px; height: 38px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
  color: var(--text-2);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background var(--dur), border-color var(--dur), color var(--dur);
  flex-shrink: 0;
}

.theme-toggle:hover { border-color: var(--navy-light); color: var(--navy); background: var(--border-soft); }
.theme-toggle svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; }

.icon-sun  { display: none; }
.icon-moon { display: block; }
[data-theme="dark"] .icon-sun  { display: block; }
[data-theme="dark"] .icon-moon { display: none; }

/* Mobile nav */
.nav-toggle { display: none; }
.nav-toggle-label {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px; height: 36px;
  cursor: pointer;
}
.nav-toggle-label span {
  display: block; width: 20px; height: 2px;
  background: var(--text-1); border-radius: 2px;
  transition: transform .2s, opacity .2s;
}

/* ============================================================
   BOTONES
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .65rem 1.5rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-ui);
  font-size: .875rem;
  font-weight: 600;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur), color var(--dur);
  white-space: nowrap;
  letter-spacing: .01em;
}

.btn-primary {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

.btn-primary:hover {
  background: var(--navy-mid);
  border-color: var(--navy-mid);
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(13,35,89,.35);
}

.btn-gold {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}

.btn-gold:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  color: var(--navy);
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.btn-ghost {
  background: transparent;
  color: var(--text-2);
  border-color: var(--border);
}

.btn-ghost:hover {
  background: var(--bg-soft);
  color: var(--navy);
  border-color: var(--navy);
  text-decoration: none;
}

.btn-outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.5);
}

.btn-outline-white:hover {
  background: rgba(255,255,255,.15);
  border-color: #fff;
  color: #fff;
  text-decoration: none;
}

/* ============================================================
   COMPONENTES
   ============================================================ */

.badge {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .04em;
  padding: .25rem .75rem;
  border-radius: 999px;
  background: rgba(13,35,89,.08);
  color: var(--navy);
  text-decoration: none;
}

[data-theme="dark"] .badge {
  background: rgba(24,119,242,.2);
  color: var(--blue-bright);
}

.badge--gold {
  background: rgba(245,200,66,.18);
  color: #8B6900;
}

[data-theme="dark"] .badge--gold {
  background: rgba(245,200,66,.15);
  color: var(--gold);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-ui);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue-vivid);
}

[data-theme="dark"] .eyebrow { color: var(--blue-bright); }

.eyebrow::before {
  content: '';
  display: inline-block;
  width: 20px; height: 2px;
  background: currentColor;
  border-radius: 2px;
}

.tag {
  font-family: var(--font-ui);
  font-size: .72rem;
  font-weight: 500;
  color: var(--text-2);
  background: var(--bg-soft);
  border: 1px solid var(--border);
  padding: .2rem .6rem;
  border-radius: 4px;
  text-decoration: none;
  transition: background var(--dur), color var(--dur), border-color var(--dur);
}

.tag:hover { background: var(--navy); color: #fff; border-color: var(--navy); text-decoration: none; }

/* ============================================================
   HOME — HERO
   ============================================================ */
/* ============================================================
   HOME — HERO (full-bleed dark)
   ============================================================ */
.home-hero {
  position: relative;
  background: #070F22;
  overflow: hidden;
  padding: 7rem var(--gap-4) 6rem;
  text-align: center;
}

/* Dot grid overlay */
.home-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
}

/* Radial glow — animado */
.home-hero__glow {
  position: absolute;
  top: -20%; left: 50%;
  transform: translateX(-50%);
  width: 1000px; height: 800px;
  background: radial-gradient(ellipse at center,
    rgba(245,200,66,.13) 0%,
    rgba(24,119,242,.10) 35%,
    transparent 65%);
  animation: hero-glow 9s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes hero-glow {
  from { transform: translateX(-50%) scale(1);    opacity: .75; }
  to   { transform: translateX(-50%) scale(1.18); opacity: 1;   }
}

.home-hero__content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
}

/* Badge pulsante */
.home-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-ui);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  padding: .4rem 1rem;
  border-radius: 100px;
  margin-bottom: 2.25rem;
}

.hero-badge-dot {
  width: 7px; height: 7px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulse-dot 2.2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1;  box-shadow: 0 0 0 0 rgba(245,200,66,.6); }
  50%       { opacity: .7; box-shadow: 0 0 0 5px rgba(245,200,66,0); }
}

/* Headline */
.home-hero__title {
  font-family: var(--font-ui);
  font-size: clamp(2.75rem, 8vw, 5.25rem);
  font-weight: 900;
  letter-spacing: -.045em;
  line-height: 1.0;
  color: #fff;
  margin-bottom: 1.625rem;
}

.home-hero__title .hero-accent {
  color: var(--gold);
  display: block;
}

/* Sub */
.home-hero__sub {
  font-family: var(--font-ui);
  font-size: clamp(.9375rem, 2vw, 1.125rem);
  color: rgba(255,255,255,.58);
  line-height: 1.72;
  max-width: 560px;
  margin: 0 auto 2.75rem;
}

/* Pill form */
.home-hero__form { margin-bottom: .875rem; }

.hero-form-pill {
  display: flex;
  align-items: center;
  max-width: 500px;
  margin: 0 auto;
  background: rgba(255,255,255,.07);
  border: 1.5px solid rgba(255,255,255,.16);
  border-radius: 100px;
  padding: .375rem .375rem .375rem 1.375rem;
  transition: border-color .2s, box-shadow .2s;
}

.hero-form-pill:focus-within {
  border-color: rgba(245,200,66,.5);
  box-shadow: 0 0 0 4px rgba(245,200,66,.08);
}

.hero-form-pill input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: #fff;
  font-family: var(--font-ui);
  font-size: .9375rem;
  min-width: 0;
}

.hero-form-pill input::placeholder { color: rgba(255,255,255,.3); }

.hero-form-pill button {
  background: var(--gold);
  color: var(--navy);
  font-family: var(--font-ui);
  font-size: .875rem;
  font-weight: 800;
  padding: .6875rem 1.5rem;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--dur), transform var(--dur), box-shadow var(--dur);
  letter-spacing: -.01em;
}

.hero-form-pill button:hover {
  background: var(--gold-dark);
  transform: scale(1.03);
  box-shadow: 0 4px 16px rgba(245,200,66,.4);
}

.home-hero__disclaimer {
  font-family: var(--font-ui);
  font-size: .75rem;
  color: rgba(255,255,255,.28);
  margin-bottom: 3.5rem;
}

/* Stats */
.home-hero__stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
}

.hero-stat {
  text-align: center;
  padding: 0 2rem;
}

.hero-stat + .hero-stat {
  border-left: 1px solid rgba(255,255,255,.12);
}

.hero-stat__num {
  display: block;
  font-family: var(--font-ui);
  font-size: 1.75rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: -.04em;
  line-height: 1;
  margin-bottom: .25rem;
}

.hero-stat__num span { color: var(--gold); }

.hero-stat__label {
  font-family: var(--font-ui);
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255,255,255,.38);
}

/* Separador entre hero y lo que sigue */
.home-hero + * { border-top: none; }

@media (max-width: 680px) {
  .home-hero { padding: 5rem var(--gap-3) 4rem; }
  .hero-form-pill { flex-direction: column; border-radius: var(--radius-lg); padding: .75rem; gap: .5rem; }
  .hero-form-pill input { width: 100%; text-align: center; }
  .hero-form-pill button { width: 100%; border-radius: var(--radius-md); }
  .hero-stat { padding: .75rem 1.25rem; }
  .hero-stat + .hero-stat { border-left: none; border-top: 1px solid rgba(255,255,255,.1); }
  .home-hero__stats { flex-direction: column; }
}

/* ============================================================
   HOME — POST DESTACADO
   ============================================================ */
.home-featured {
  padding: var(--gap-5) var(--gap-4);
  background: var(--bg-soft);
}

.home-featured__label {
  max-width: 1000px;
  margin-inline: auto;
  margin-bottom: var(--gap-4);
}

.home-featured__inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--gap-5);
  align-items: center;
  max-width: 1000px;
  margin-inline: auto;
}

.home-featured__img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--border);
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-3);
  position: relative;
}

.home-featured__img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13,35,89,.15) 0%, transparent 50%);
  border-radius: var(--radius-lg);
}

.home-featured__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}

.home-featured__img:hover img { transform: scale(1.04); }

.home-featured__body {
  display: flex;
  flex-direction: column;
  gap: var(--gap-3);
}

.home-featured__title {
  font-family: var(--font-ui);
  font-size: clamp(1.5rem, 3vw, 2.125rem);
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.2;
  margin: 0;
  color: var(--navy);
}

[data-theme="dark"] .home-featured__title { color: var(--text-1); }
.home-featured__title a { color: inherit; text-decoration: none; }
.home-featured__title a:hover { color: var(--blue-vivid); text-decoration: none; }

.home-featured__excerpt {
  font-size: 1rem;
  color: var(--text-2);
  line-height: 1.75;
  margin: 0;
}

.home-featured__meta {
  display: flex;
  align-items: center;
  gap: .625rem;
  font-family: var(--font-ui);
  font-size: .8rem;
  color: var(--text-3);
  font-weight: 500;
}

.home-featured__meta .sep { color: var(--border); }

/* ============================================================
   HOME — GRID
   ============================================================ */
.home-posts { padding: var(--gap-5) var(--gap-4); }

.home-posts__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1000px;
  margin-inline: auto;
  margin-bottom: var(--gap-4);
}

.home-posts__title { font-family: var(--font-ui); font-size: 1.25rem; font-weight: 700; margin: 0; color: var(--navy); }
[data-theme="dark"] .home-posts__title { color: var(--text-1); }

.home-posts__link { font-family: var(--font-ui); font-size: .875rem; font-weight: 600; color: var(--blue-vivid); text-decoration: none; }
.home-posts__link:hover { text-decoration: none; color: var(--navy); }

.home-posts__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--gap-3);
  max-width: 1000px;
  margin-inline: auto;
}

/* ============================================================
   CARD DE POST
   ============================================================ */
.post-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease),
              border-color var(--dur);
}

.post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-3);
  border-color: var(--navy-light);
}

.post-card__img {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--bg-soft);
  position: relative;
}

.post-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.post-card:hover .post-card__img img { transform: scale(1.06); }

/* Línea de color en hover */
.post-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--navy) 0%, var(--blue-vivid) 50%, var(--gold) 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
}

.post-card { position: relative; }
.post-card:hover::before { transform: scaleX(1); }

.post-card__body {
  padding: var(--gap-3);
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--gap-2);
}

.post-card__meta { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.post-card__meta time { font-family: var(--font-ui); font-size: .75rem; color: var(--text-3); font-weight: 500; }

.post-card__title {
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  margin: 0;
  color: var(--navy);
}

[data-theme="dark"] .post-card__title { color: var(--text-1); }
.post-card__title a { color: inherit; text-decoration: none; }
.post-card__title a:hover { color: var(--blue-vivid); text-decoration: none; }

.post-card__excerpt { font-size: .875rem; color: var(--text-2); line-height: 1.65; flex: 1; }

.post-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--gap-2);
  border-top: 1px solid var(--border-soft);
  margin-top: auto;
}

.post-card__readtime { font-family: var(--font-ui); font-size: .75rem; color: var(--text-3); font-weight: 500; }
.post-card__link { font-family: var(--font-ui); font-size: .825rem; font-weight: 700; color: var(--blue-vivid); text-decoration: none; letter-spacing: .01em; }
.post-card__link:hover { color: var(--navy); text-decoration: none; }

/* ============================================================
   BLOG — LISTA DE POSTS
   ============================================================ */
.posts-list { display: flex; flex-direction: column; gap: var(--gap-4); }

.post-preview {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: var(--gap-3);
  padding: var(--gap-3);
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color var(--dur), box-shadow var(--dur), transform var(--dur);
}

.post-preview:hover { border-color: var(--navy-light); box-shadow: var(--shadow-2); transform: translateY(-2px); }

.post-preview-image { width: 210px; height: 150px; border-radius: var(--radius-sm); overflow: hidden; background: var(--bg-soft); flex-shrink: 0; }
.post-preview-image img { width: 100%; height: 100%; object-fit: cover; }

.post-preview-content { display: flex; flex-direction: column; }
.post-preview-meta { display: flex; align-items: center; gap: .5rem; margin-bottom: .5rem; flex-wrap: wrap; }
.post-preview-date { font-family: var(--font-ui); font-size: .75rem; color: var(--text-3); font-weight: 500; }

.post-preview-title { font-family: var(--font-ui); font-size: 1.0625rem; font-weight: 700; line-height: 1.3; margin: 0 0 .5rem; color: var(--navy); }
[data-theme="dark"] .post-preview-title { color: var(--text-1); }
.post-preview-title a { color: inherit; text-decoration: none; }
.post-preview-title a:hover { color: var(--blue-vivid); text-decoration: none; }

.post-preview-excerpt { font-size: .875rem; color: var(--text-2); line-height: 1.65; flex: 1; margin-bottom: .75rem; }
.post-preview-footer { display: flex; justify-content: space-between; align-items: center; }

/* ============================================================
   ARTÍCULO
   ============================================================ */
.reading-progress-bar {
  position: fixed;
  top: 64px; left: 0;
  width: 0%; height: 3px;
  background: linear-gradient(90deg, var(--navy) 0%, var(--blue-vivid) 60%, var(--gold) 100%);
  z-index: 199;
  transition: width .1s linear;
}

.post-layout { max-width: 760px; margin-inline: auto; }

.post-header {
  padding-bottom: var(--gap-4);
  margin-bottom: var(--gap-4);
  border-bottom: 1px solid var(--border);
}

.post-eyebrow { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; margin-bottom: var(--gap-3); }

.post-title {
  font-family: var(--font-ui);
  font-size: clamp(2rem, 5.5vw, 3rem);
  font-weight: 900;
  letter-spacing: -.035em;
  line-height: 1.12;
  margin: 0 0 var(--gap-3);
  color: var(--navy);
}

[data-theme="dark"] .post-title { color: var(--text-1); }

.post-meta {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-family: var(--font-ui);
  font-size: .85rem;
  color: var(--text-2);
  flex-wrap: wrap;
}

.post-meta-sep { color: var(--border); }

.post-image { margin: var(--gap-4) 0; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-2); }
.post-image img { width: 100%; }

.post-content {
  font-family: var(--font-read);
  font-size: 1.0625rem;
  line-height: 1.9;
  color: var(--text-1);
}

.post-content h2,
.post-content h3,
.post-content h4 { font-family: var(--font-ui); margin-top: 2.75rem; margin-bottom: .875rem; color: var(--navy); }
[data-theme="dark"] .post-content h2,
[data-theme="dark"] .post-content h3 { color: var(--text-1); }
.post-content p { margin-bottom: 1.5rem; }
.post-content img { border-radius: var(--radius-md); margin: var(--gap-3) 0; }
.post-content a { font-weight: 600; color: var(--blue-vivid); }
.post-content a:hover { color: var(--navy); }

.post-tags { margin-top: var(--gap-4); padding-top: var(--gap-3); border-top: 1px solid var(--border); }
.post-tags-label { font-family: var(--font-ui); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--text-3); margin-bottom: .625rem; }
.post-tags-list { display: flex; flex-wrap: wrap; gap: .5rem; }

.post-footer { margin-top: var(--gap-6); padding-top: var(--gap-4); padding-bottom: var(--gap-6); border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: var(--gap-5); }

.author-card {
  display: flex;
  gap: var(--gap-3);
  padding: var(--gap-3);
  background: linear-gradient(135deg, rgba(13,35,89,.04) 0%, rgba(24,119,242,.04) 100%);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
}

[data-theme="dark"] .author-card { background: var(--bg-soft); }

.author-card__avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue-vivid) 100%);
  color: var(--gold);
  display: grid;
  place-items: center;
  font-family: var(--font-ui);
  font-weight: 800;
  font-size: .95rem;
  flex-shrink: 0;
}

.author-card__info h4 { font-family: var(--font-ui); font-size: .9375rem; font-weight: 700; margin: 0 0 .3rem; color: var(--navy); }
[data-theme="dark"] .author-card__info h4 { color: var(--text-1); }
.author-card__info p { font-size: .875rem; color: var(--text-2); margin: 0; line-height: 1.55; }

.share-section { text-align: center; }
.share-section h4 { font-family: var(--font-ui); font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: var(--text-3); margin-bottom: 1.25rem; }
.share-btns { display: flex; gap: .75rem; flex-wrap: wrap; justify-content: center; }
.share-btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .6rem 1.375rem;
  border-radius: 100px;
  border: 1.5px solid;
  font-family: var(--font-ui); font-size: .825rem; font-weight: 600;
  text-decoration: none;
  transition: background var(--dur), color var(--dur), border-color var(--dur), box-shadow var(--dur), transform var(--dur);
  background: transparent;
}
.share-btn svg { flex-shrink: 0; }
.share-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); text-decoration: none; }
.share-btn.twitter  { color: #1d9bf0; border-color: rgba(29,155,240,.35); }
.share-btn.twitter:hover  { background: #1d9bf0; color: #fff; border-color: #1d9bf0; }
.share-btn.linkedin { color: #0a66c2; border-color: rgba(10,102,194,.35); }
.share-btn.linkedin:hover { background: #0a66c2; color: #fff; border-color: #0a66c2; }
.share-btn.facebook { color: #1877f2; border-color: rgba(24,119,242,.35); }
.share-btn.facebook:hover { background: #1877f2; color: #fff; border-color: #1877f2; }
.share-btn.copy-link { color: var(--text-2); border-color: var(--border); }
.share-btn.copy-link:hover { background: var(--bg-soft); border-color: var(--navy); color: var(--navy); }
[data-theme="dark"] .share-btn.copy-link:hover { color: var(--text-1); border-color: var(--text-1); }

/* ============================================================
   PÁGINAS ESTÁTICAS
   ============================================================ */
article.page {
  padding-top: var(--gap-5);
  padding-bottom: var(--gap-6);
}

.page-header {
  padding-bottom: var(--gap-4);
  margin-bottom: var(--gap-4);
  border-bottom: 1px solid var(--border);
}

.page-title {
  font-family: var(--font-ui);
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 900;
  letter-spacing: -.03em;
  color: var(--navy);
}

[data-theme="dark"] .page-title { color: var(--text-1); }

.page-content { font-size: 1rem; line-height: 1.8; }
.page-content h2 { font-family: var(--font-ui); color: var(--navy); margin-top: 2.5rem; }
[data-theme="dark"] .page-content h2 { color: var(--text-1); }

/* ============================================================
   FORMULARIO DE CONTACTO
   ============================================================ */
.contact-form {
  background: var(--bg-soft);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--gap-4);
  margin-top: var(--gap-4);
}

.contact-form legend {
  font-family: var(--font-ui);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: var(--gap-4);
  display: block;
}

[data-theme="dark"] .contact-form legend { color: var(--text-1); }

.form-group { margin-bottom: var(--gap-3); }

.form-group label {
  display: block;
  font-family: var(--font-ui);
  font-size: .825rem;
  font-weight: 600;
  color: var(--text-2);
  margin-bottom: .4rem;
  letter-spacing: .01em;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: .75rem 1rem;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-1);
  font-family: var(--font-ui);
  font-size: .9rem;
  font-weight: 500;
  transition: border-color var(--dur), box-shadow var(--dur);
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-3); }

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--blue-vivid);
  box-shadow: 0 0 0 4px rgba(24,119,242,.1);
}

.form-group textarea { min-height: 150px; resize: vertical; }

.form-group select { cursor: pointer; }

.form-submit { margin-top: var(--gap-3); }

.btn-block { width: 100%; justify-content: center; }

/* Contacto — layout de página */
.contact-page { padding: var(--gap-4) 0 var(--gap-6); }

.contact-intro {
  max-width: 600px;
  margin-bottom: var(--gap-4);
}

.contact-intro p {
  font-family: var(--font-ui);
  font-size: 1.0625rem;
  color: var(--text-2);
  line-height: 1.75;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: var(--gap-4);
  align-items: start;
}

.contact-form-wrap .contact-form { margin-top: 0; }

.contact-card {
  background: var(--bg-soft);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--gap-3) var(--gap-3) var(--gap-4);
  margin-bottom: var(--gap-3);
}

.contact-card__title {
  font-family: var(--font-ui);
  font-size: .875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-3);
  margin: 0 0 var(--gap-2);
}

.contact-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .625rem; }

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-ui);
  font-size: .9rem;
  font-weight: 500;
  color: var(--text-2);
  text-decoration: none;
  transition: color var(--dur);
}

.contact-link:hover { color: var(--blue-vivid); text-decoration: none; }

.contact-link svg { flex-shrink: 0; color: var(--navy); }
[data-theme="dark"] .contact-link svg { color: var(--blue-bright); }

.contact-faq { display: flex; flex-direction: column; gap: var(--gap-2); }

.faq-item { border-left: 3px solid var(--gold); padding-left: 1rem; }

.faq-q {
  font-family: var(--font-ui);
  font-size: .875rem;
  font-weight: 600;
  color: var(--text-1);
  margin: 0 0 .25rem;
}

.faq-a {
  font-family: var(--font-ui);
  font-size: .8rem;
  color: var(--text-2);
  margin: 0;
  line-height: 1.55;
}

@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   PAGINACIÓN
   ============================================================ */
.pagination { display: flex; justify-content: center; align-items: center; gap: .375rem; margin-top: var(--gap-5); flex-wrap: wrap; }
.pagination a,
.pagination span {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 38px; height: 38px; padding: 0 .75rem;
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  font-family: var(--font-ui); font-size: .875rem; font-weight: 600;
  color: var(--text-2); text-decoration: none;
  transition: background var(--dur), border-color var(--dur), color var(--dur);
}
.pagination a:hover { border-color: var(--navy); color: var(--navy); background: var(--bg-soft); text-decoration: none; }
.pagination .current { background: var(--navy); border-color: var(--navy); color: #fff; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--navy);
  border-top: none;
  padding: var(--gap-5) 0 var(--gap-4);
  margin-top: auto;
  color: rgba(255,255,255,.7);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--gap-4);
  margin-bottom: var(--gap-4);
}

.footer-brand .site-title {
  color: #fff;
  margin-bottom: var(--gap-2);
}

.footer-brand .site-title:hover { color: var(--gold); }

.footer-brand p { font-size: .875rem; color: rgba(255,255,255,.6); line-height: 1.7; }

.footer-col h4 {
  font-family: var(--font-ui);
  font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em;
  color: var(--gold);
  margin: 0 0 var(--gap-2);
}

.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: .625rem; }
.footer-col a { font-size: .875rem; color: rgba(255,255,255,.6); text-decoration: none; transition: color var(--dur); }
.footer-col a:hover { color: var(--gold); text-decoration: none; }

.footer-social { display: flex; gap: .5rem; margin-top: var(--gap-2); }
.social-link {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius-sm);
  display: grid; place-items: center;
  color: rgba(255,255,255,.6);
  transition: border-color var(--dur), color var(--dur), background var(--dur);
  text-decoration: none;
}

.social-link:hover { border-color: var(--gold); color: var(--gold); background: rgba(245,200,66,.1); text-decoration: none; }
.social-link svg { width: 15px; height: 15px; fill: currentColor; pointer-events: none; }

.footer-bottom {
  padding-top: var(--gap-3);
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--gap-2);
}

.footer-copy        { font-family: var(--font-ui); font-size: .78rem; color: rgba(255,255,255,.4); margin: 0; }
.footer-disclaimer  { font-family: var(--font-ui); font-size: .78rem; color: rgba(255,255,255,.4); font-style: italic; margin: 0; }

/* ============================================================
   UTILIDADES
   ============================================================ */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.text-muted { color: var(--text-2); }
.empty-state { text-align: center; padding: var(--gap-6) var(--gap-4); color: var(--text-2); font-family: var(--font-ui); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 860px) {
  .home-featured__inner { grid-template-columns: 1fr; }
  .home-featured__img { aspect-ratio: 16/9; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1/-1; }
}

@media (max-width: 680px) {
  .wrapper, .wrapper--narrow { padding-inline: var(--gap-3); }
  .home-hero { padding: var(--gap-5) var(--gap-3) var(--gap-4); }
  .home-hero__form { flex-direction: column; }
  .home-featured { padding: var(--gap-4) var(--gap-3); }
  .home-posts { padding: var(--gap-4) var(--gap-3); }
  .home-posts__grid { grid-template-columns: 1fr; }
  .post-preview { grid-template-columns: 1fr; }
  .post-preview-image { width: 100%; height: 200px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .author-card { flex-direction: column; }
  .nav-toggle-label { display: flex; }
  .nav-menu { display: none; width: 100%; flex-direction: column; padding: .5rem 0; border-top: 1px solid var(--border); margin-top: .5rem; }
  .nav-toggle:checked ~ .header-right .nav-menu { display: flex; }
  .nav-toggle:checked ~ .header-right .nav-toggle-label span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .nav-toggle:checked ~ .header-right .nav-toggle-label span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked ~ .header-right .nav-toggle-label span:nth-child(3) { transform: rotate(-45deg) translate(4px, -4px); }
  .header-right { flex-wrap: wrap; }
  .site-header .wrapper { height: auto; padding-block: .75rem; flex-wrap: wrap; }
}

@media (max-width: 480px) {
  .home-hero__title { font-size: 2.25rem; }
  .post-title { font-size: 1.875rem; }
  .share-btns { flex-direction: column; }
  .contact-form { padding: var(--gap-3); }
}

/* ============================================================
   HOME — FAQ
   ============================================================ */
.home-faq {
  max-width: 780px;
  margin: 0 auto;
  padding: var(--gap-6) var(--gap-4);
}

.home-faq__header { text-align: center; margin-bottom: var(--gap-5); }

.home-faq__eyebrow {
  font-family: var(--font-ui);
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--gold-dark);
  margin-bottom: .5rem;
}

[data-theme="dark"] .home-faq__eyebrow { color: var(--gold); }

.home-faq__title {
  font-family: var(--font-ui);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 900;
  letter-spacing: -.03em;
  color: var(--navy);
  margin-bottom: .75rem;
}

[data-theme="dark"] .home-faq__title { color: var(--text-1); }

.home-faq__sub {
  font-family: var(--font-ui);
  font-size: .9375rem;
  color: var(--text-2);
  line-height: 1.65;
  max-width: 560px;
  margin: 0 auto;
}

.faq-list { display: flex; flex-direction: column; gap: .75rem; }

.faq-item {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-card);
  transition: border-color var(--dur), box-shadow var(--dur);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.125rem 1.25rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-ui);
  font-size: .9375rem;
  font-weight: 700;
  color: var(--text-1);
  line-height: 1.4;
  transition: color var(--dur);
}

.faq-question:hover { color: var(--navy); }
[data-theme="dark"] .faq-question:hover { color: var(--blue-bright); }

.faq-chevron {
  flex-shrink: 0;
  color: var(--text-3);
  transition: transform var(--dur) var(--ease), color var(--dur);
}

.faq-question[aria-expanded="true"] .faq-chevron {
  transform: rotate(180deg);
  color: var(--navy);
}

[data-theme="dark"] .faq-question[aria-expanded="true"] .faq-chevron { color: var(--blue-bright); }

.faq-item.is-open { border-color: var(--navy); box-shadow: var(--shadow-1); }
[data-theme="dark"] .faq-item.is-open { border-color: var(--navy-mid); }

.faq-answer {
  display: none;
  padding: 0 1.25rem 1.25rem;
  border-top: 1px solid var(--border-soft);
}

.faq-answer.is-open { display: block; }

.faq-answer p {
  font-family: var(--font-ui);
  font-size: .9rem;
  color: var(--text-2);
  line-height: 1.75;
  margin: .875rem 0 0;
}

.faq-answer a { color: var(--blue-vivid); text-underline-offset: 3px; }
.faq-answer strong { color: var(--text-1); font-weight: 600; }

@media (max-width: 680px) {
  .home-faq { padding: var(--gap-5) var(--gap-3); }
  .faq-question { font-size: .875rem; padding: 1rem; }
  .faq-answer { padding: 0 1rem 1rem; }
}

/* ============================================================
   BANNER DE COOKIES
   ============================================================ */
.cookie-banner {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9999;
  padding: 1rem;
  animation: slide-up .35s var(--ease);
}

@keyframes slide-up {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

.cookie-banner.is-visible { display: block; }

.cookie-banner__inner {
  max-width: 900px;
  margin: 0 auto;
  background: var(--navy);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 -4px 32px rgba(0,0,0,.25);
  flex-wrap: wrap;
}

.cookie-banner__icon {
  color: var(--gold);
  flex-shrink: 0;
  display: flex;
}

.cookie-banner__text {
  flex: 1;
  min-width: 200px;
}

.cookie-banner__text p {
  font-family: var(--font-ui);
  font-size: .875rem;
  color: rgba(255,255,255,.8);
  margin: 0;
  line-height: 1.5;
}

.cookie-banner__text a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-banner__actions {
  display: flex;
  gap: .625rem;
  flex-shrink: 0;
}

.cookie-btn {
  font-family: var(--font-ui);
  font-size: .8rem;
  font-weight: 600;
  padding: .5rem 1.125rem;
  border-radius: 100px;
  border: 1.5px solid;
  cursor: pointer;
  transition: background var(--dur), color var(--dur), border-color var(--dur);
}

.cookie-btn--accept {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
}

.cookie-btn--accept:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
}

.cookie-btn--decline {
  background: transparent;
  border-color: rgba(255,255,255,.3);
  color: rgba(255,255,255,.7);
}

.cookie-btn--decline:hover {
  border-color: rgba(255,255,255,.6);
  color: #fff;
}

@media (max-width: 600px) {
  .cookie-banner__inner { flex-direction: column; align-items: flex-start; }
  .cookie-banner__actions { width: 100%; }
  .cookie-btn { flex: 1; text-align: center; }
}

/* ============================================================
   PÁGINAS LEGALES (privacidad / cookies)
   ============================================================ */
.legal-page { max-width: 720px; }

.legal-updated {
  font-family: var(--font-ui);
  font-size: .8rem;
  color: var(--text-3);
  margin-bottom: var(--gap-4);
}

.legal-intro {
  background: linear-gradient(135deg, rgba(13,35,89,.05) 0%, rgba(24,119,242,.05) 100%);
  border-left: 3px solid var(--blue-vivid);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: var(--gap-2) var(--gap-3);
  margin-bottom: var(--gap-4);
}

[data-theme="dark"] .legal-intro { background: rgba(24,119,242,.08); }

.legal-intro p { font-family: var(--font-ui); font-size: .9375rem; color: var(--text-1); margin: 0; line-height: 1.65; }

.legal-section { margin-bottom: var(--gap-4); }

.legal-section h2 {
  font-family: var(--font-ui);
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: var(--gap-2);
  padding-bottom: .5rem;
  border-bottom: 1px solid var(--border);
}

[data-theme="dark"] .legal-section h2 { color: var(--text-1); }

.legal-section h3 {
  font-family: var(--font-ui);
  font-size: .9375rem;
  font-weight: 700;
  color: var(--text-1);
  margin: var(--gap-3) 0 .5rem;
}

.legal-section p, .legal-section li {
  font-family: var(--font-ui);
  font-size: .9rem;
  color: var(--text-2);
  line-height: 1.75;
}

.legal-section ul { padding-left: 1.25rem; margin: .5rem 0 var(--gap-2); }
.legal-section li { margin-bottom: .375rem; }
.legal-section a { color: var(--blue-vivid); }

/* Tabla de cookies */
.cookie-table-wrap { overflow-x: auto; margin: var(--gap-3) 0; }

.cookie-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-ui);
  font-size: .85rem;
}

.cookie-table th {
  background: var(--navy);
  color: #fff;
  padding: .625rem 1rem;
  text-align: left;
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.cookie-table th:first-child { border-radius: var(--radius-sm) 0 0 0; }
.cookie-table th:last-child  { border-radius: 0 var(--radius-sm) 0 0; }

.cookie-table td {
  padding: .625rem 1rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-2);
  vertical-align: top;
}

.cookie-table tr:last-child td { border-bottom: none; }
.cookie-table tr:nth-child(even) { background: var(--bg-soft); }
