/* ═══════════════════════════════════════════════════════════════
   verificarepuve.com.mx — CSS Global · Dark Mode
   ═══════════════════════════════════════════════════════════════ */

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

/* ── Variables ──────────────────────────────────────────────── */
:root {
  --bg: #171717;
  --bg-card: #1F2937;
  --bg-elevated: #374151;
  --border: #4B5563;
  --texto: #F9FAFB;
  --texto-muted: #9CA3AF;
  --azul: #2563EB;
  --azul-hover: #3B82F6;
  --azul-dark: #1E3A8A;
  --azul-subtle: #172554;
  --verde: #10B981;
  --verde-dark: #064E3B;
  --rojo: #EF4444;
  --rojo-dark: #450A0A;
  --ambar: #F59E0B;
  --blanco: #FFFFFF;
  --max-w: 1160px;
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-xl: 24px;
  --sombra-azul: 0 0 0 3px rgba(37,99,235,.35);
}

/* ── Reset + Base ──────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--texto);
  background: var(--bg);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--azul-hover);
  text-decoration: none;
  transition: color .15s;
}

a:hover {
  color: var(--azul);
  text-decoration: underline;
}

p { margin-bottom: 1rem; }
h1, h2, h3, h4, h5, h6 { color: var(--texto); }

ul, ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

li { margin-bottom: .4rem; }

strong, b {
  font-weight: 700;
  color: var(--texto);
}

/* ── Layout ────────────────────────────────────────────────── */
.contenedor {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 40px);
}

.seccion {
  padding: clamp(48px, 7vw, 88px) 0;
}

.seccion-alt {
  background: var(--bg-card);
}

.layout-2col {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: start;
}

@media (max-width: 900px) {
  .layout-2col {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ── Disclaimer Bar ────────────────────────────────────────── */
.barra-aviso {
  background: var(--azul-dark);
  border-bottom: 1px solid rgba(37,99,235,.25);
  padding: 10px 16px;
  font-size: .8rem;
  color: var(--texto-muted);
  text-align: center;
  line-height: 1.5;
}

.barra-aviso a {
  color: var(--azul-hover);
  font-weight: 600;
}

/* ── Header ────────────────────────────────────────────────── */
.site-header {
  background: rgba(23, 23, 23, .92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 clamp(16px, 4vw, 40px);
  max-width: var(--max-w);
  margin: 0 auto;
}

.logo-texto {
  font-family: 'Inter', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--texto);
  text-decoration: none;
}

.logo-texto:hover {
  text-decoration: none;
}

.logo-texto span {
  color: var(--azul);
}

.nav-principal ul {
  list-style: none;
  display: flex;
  gap: 4px;
  padding: 0;
  margin: 0;
}

.nav-principal a {
  color: var(--texto-muted);
  font-size: .875rem;
  font-weight: 500;
  padding: 7px 13px;
  border-radius: var(--r-md);
  transition: all .18s;
  display: inline-block;
}

.nav-principal a:hover {
  background: var(--bg-card);
  color: var(--texto);
  text-decoration: none;
}

.nav-principal a.activo {
  background: var(--azul-dark);
  color: var(--azul-hover);
}

.btn-cta-nav {
  background: var(--azul) !important;
  color: var(--blanco) !important;
  border-radius: var(--r-md) !important;
  font-weight: 600 !important;
}

.btn-cta-nav:hover {
  background: var(--azul-hover) !important;
  text-decoration: none !important;
}

/* ── Mobile Nav ────────────────────────────────────────────── */
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  cursor: pointer;
  padding: 8px 10px;
  flex-direction: column;
  gap: 4px;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--texto-muted);
  border-radius: 2px;
  transition: all .25s;
}

.nav-toggle.activo span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle.activo span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.activo span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

@media (max-width: 767px) {
  .nav-principal {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--bg-card);
    padding: 16px;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 16px 32px rgba(0,0,0,.4);
  }

  .nav-principal.abierto {
    display: block;
  }

  .nav-principal ul {
    flex-direction: column;
    gap: 4px;
  }

  .nav-principal a {
    display: block;
    padding: 12px 16px;
    border-radius: var(--r-md);
  }

  .nav-toggle {
    display: flex;
  }
}

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
  background: var(--bg);
  padding: clamp(56px, 10vw, 100px) 0 clamp(48px, 8vw, 88px);
  position: relative;
  overflow: hidden;
}

.hero-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-imagen img {
  border-radius: var(--r-xl);
  border: 1px solid var(--border);
  box-shadow: 0 20px 40px rgba(0,0,0,.4), 0 0 0 1px rgba(37,99,235,.2);
  max-width: 100%;
  height: auto;
  transition: transform .3s ease;
}

.hero-imagen img:hover {
  transform: scale(1.02);
}

@media (max-width: 900px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 32px;
  }
  
  .hero-imagen {
    max-width: 500px;
    margin: 0 auto;
  }
  
  .hero-btns, .hero-stats {
    justify-content: center;
  }
}

.hero::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 500px;
  background: radial-gradient(ellipse at center, rgba(37,99,235,.12) 0%, transparent 65%);
  pointer-events: none;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--azul-dark);
  border: 1px solid rgba(37,99,235,.4);
  color: var(--azul-hover);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.hero h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: var(--texto);
  line-height: 1.15;
  margin-bottom: 18px;
}

.hero h1 em {
  font-style: italic;
  color: var(--azul);
}

.hero-desc {
  font-size: clamp(.95rem, 2vw, 1.1rem);
  color: var(--texto-muted);
  max-width: 600px;
  margin-bottom: 32px;
  line-height: 1.75;
}

.hero-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.hero-stats {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.hero-stat {
  font-size: .85rem;
  color: var(--texto-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-stat strong {
  color: var(--texto);
  font-weight: 600;
}

/* ── Page Hero (internal pages) ────────────────────────────── */
.page-hero {
  background: var(--bg);
  padding: clamp(40px, 6vw, 72px) 0 clamp(32px, 5vw, 56px);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 350px;
  background: radial-gradient(ellipse at center, rgba(37,99,235,.08) 0%, transparent 65%);
  pointer-events: none;
}

.page-hero h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.2;
  margin-bottom: 14px;
}

.page-hero h1 em {
  font-style: italic;
  color: var(--azul);
}

.page-hero-desc {
  font-size: clamp(.92rem, 1.8vw, 1.05rem);
  color: var(--texto-muted);
  max-width: 640px;
  line-height: 1.7;
}

/* ── Breadcrumb ────────────────────────────────────────────── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  color: var(--texto-muted);
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--azul-hover);
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb-sep {
  color: var(--border);
  font-size: .7rem;
}

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: .9rem;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--r-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .2s;
  text-decoration: none;
  line-height: 1.4;
}

.btn:hover {
  text-decoration: none;
}

.btn-primario {
  background: var(--azul);
  color: var(--blanco);
  border-color: var(--azul);
}

.btn-primario:hover {
  background: var(--azul-hover);
  border-color: var(--azul-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(37,99,235,.3);
  color: var(--blanco);
}

.btn-outline {
  background: transparent;
  color: var(--texto);
  border-color: var(--border);
}

.btn-outline:hover {
  background: var(--bg-card);
  color: var(--texto);
}

.btn-verde {
  background: var(--verde-dark);
  color: var(--verde);
  border-color: rgba(16,185,129,.3);
}

.btn-verde:hover {
  background: #065F46;
  color: var(--verde);
}

.btn-sm {
  font-size: .82rem;
  padding: 8px 16px;
}

.btn-lg {
  font-size: 1rem;
  padding: 16px 32px;
  border-radius: var(--r-lg);
}

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

/* ── Cards ─────────────────────────────────────────────────── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px;
  transition: all .25s;
}

.card:hover {
  border-color: var(--azul);
  box-shadow: 0 0 0 1px var(--azul), 0 8px 24px rgba(0,0,0,.3);
  transform: translateY(-2px);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr));
  gap: 16px;
}

.card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.card p {
  color: var(--texto-muted);
  font-size: .9rem;
  margin-bottom: 12px;
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 14px;
  background: var(--azul-dark);
}

/* ── Estado Cards ──────────────────────────────────────────── */
.estado-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  transition: all .2s;
}

.estado-card:hover {
  border-color: var(--azul);
  background: var(--azul-dark);
  text-decoration: none;
  transform: translateY(-1px);
}

.estado-nombre {
  font-size: .95rem;
  font-weight: 600;
  color: var(--texto);
}

.estado-flecha {
  color: var(--azul);
  font-size: 1.1rem;
  transition: transform .2s;
}

.estado-card:hover .estado-flecha {
  transform: translateX(3px);
}

.estado-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr));
  gap: 12px;
}

/* ── Form consulta ─────────────────────────────────────────── */
.form-consulta {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 28px;
}

.form-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  margin-bottom: 24px;
}

.form-tab {
  background: var(--bg-elevated);
  color: var(--texto-muted);
  border: none;
  padding: 11px;
  font-family: 'Inter', sans-serif;
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
}

.form-tab.activo {
  background: var(--azul);
  color: var(--blanco);
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: .8rem;
  font-weight: 600;
  color: var(--texto-muted);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 8px;
}

.form-input {
  width: 100%;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 13px 16px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 1rem;
  color: var(--texto);
  transition: border-color .2s, box-shadow .2s;
}

.form-input:focus {
  outline: none;
  border-color: var(--azul);
  box-shadow: var(--sombra-azul);
}

.form-input::placeholder {
  color: var(--border);
  font-family: 'Inter', sans-serif;
}

.form-hint {
  font-size: .78rem;
  color: var(--texto-muted);
  margin-top: 6px;
}

/* ── Badges resultado ──────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 100px;
  padding: 8px 20px;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .02em;
}

.badge-libre {
  background: var(--verde-dark);
  color: var(--verde);
  border: 1px solid var(--verde);
}

.badge-robado {
  background: var(--rojo-dark);
  color: var(--rojo);
  border: 1px solid var(--rojo);
}

.badge-recup {
  background: #451A03;
  color: var(--ambar);
  border: 1px solid var(--ambar);
}

/* ── Steps / Pasos ─────────────────────────────────────────── */
.pasos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  counter-reset: paso;
}

.paso {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  position: relative;
  counter-increment: paso;
  transition: all .25s;
}

.paso:hover {
  border-color: var(--azul);
  transform: translateY(-2px);
}

.paso-num {
  width: 40px;
  height: 40px;
  background: var(--azul-dark);
  border: 1px solid rgba(37,99,235,.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  font-weight: 700;
  color: var(--azul-hover);
  margin-bottom: 16px;
}

.paso h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.paso p {
  font-size: .9rem;
  color: var(--texto-muted);
  margin-bottom: 0;
}

/* ── Alert boxes ───────────────────────────────────────────── */
.alert {
  border-radius: 0 var(--r-md) var(--r-md) 0;
  padding: 16px 20px;
  font-size: .9rem;
  margin: 20px 0;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  line-height: 1.65;
}

.alert-azul {
  background: var(--azul-subtle);
  border-left: 3px solid var(--azul);
  color: var(--azul-hover);
}

.alert-verde {
  background: var(--verde-dark);
  border-left: 3px solid var(--verde);
  color: var(--verde);
}

.alert-rojo {
  background: var(--rojo-dark);
  border-left: 3px solid var(--rojo);
  color: var(--rojo);
}

.alert-ambar {
  background: #451A03;
  border-left: 3px solid var(--ambar);
  color: var(--ambar);
}

/* ── FAQ Accordion ─────────────────────────────────────────── */
.faq-lista {
  display: flex;
  flex-direction: column;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item:first-child {
  border-top: 1px solid var(--border);
}

.faq-btn {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 18px 0;
  font-family: 'Inter', sans-serif;
  font-size: .97rem;
  font-weight: 600;
  color: var(--texto);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  line-height: 1.4;
  transition: color .15s;
}

.faq-btn:hover {
  color: var(--azul-hover);
}

.faq-icono {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-elevated);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--azul);
  flex-shrink: 0;
  transition: all .25s;
}

.faq-item.abierto .faq-icono {
  background: var(--azul);
  color: var(--blanco);
  transform: rotate(45deg);
}

.faq-respuesta {
  display: none;
  padding: 0 0 18px;
  font-size: .92rem;
  color: var(--texto-muted);
  line-height: 1.8;
}

.faq-item.abierto .faq-respuesta {
  display: block;
}

/* ── Content styling ───────────────────────────────────────── */
.contenido {
  padding: clamp(40px, 6vw, 72px) 0;
}

.contenido h2 {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1.3rem, 2.8vw, 1.8rem);
  font-weight: 700;
  margin-bottom: 16px;
  margin-top: 40px;
  line-height: 1.3;
}

.contenido h2:first-child {
  margin-top: 0;
}

.contenido h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 12px;
  margin-top: 28px;
}

.contenido p {
  color: var(--texto-muted);
  line-height: 1.85;
}

.contenido ul, .contenido ol {
  color: var(--texto-muted);
  margin-bottom: 1.2rem;
}

.contenido li {
  line-height: 1.7;
  margin-bottom: .5rem;
}

.contenido img {
  border-radius: var(--r-lg);
  margin: 24px 0;
  border: 1px solid var(--border);
}

/* ── Table ─────────────────────────────────────────────────── */
.tabla-wrapper {
  overflow-x: auto;
  margin: 20px 0;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
}

.tabla {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
}

.tabla th {
  background: var(--bg-elevated);
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
  color: var(--texto);
  white-space: nowrap;
}

.tabla td {
  padding: 12px 16px;
  border-top: 1px solid var(--border);
  color: var(--texto-muted);
}

.tabla tr:hover td {
  background: rgba(37,99,235,.04);
}

/* ── Sidebar ───────────────────────────────────────────────── */
.sidebar {
  position: sticky;
  top: 90px;
}

.sidebar-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px;
  margin-bottom: 16px;
}

.sidebar-card h4 {
  font-size: .95rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--texto);
}

.sidebar-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-card li {
  margin-bottom: 8px;
}

.sidebar-card li a {
  font-size: .87rem;
  color: var(--texto-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  transition: color .15s;
}

.sidebar-card li a:hover {
  color: var(--azul-hover);
  text-decoration: none;
}

/* ── CTA Section ───────────────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, var(--azul-dark) 0%, var(--azul-subtle) 100%);
  border: 1px solid rgba(37,99,235,.3);
  border-radius: var(--r-xl);
  padding: clamp(40px, 6vw, 64px);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(37,99,235,.15) 0%, transparent 65%);
  pointer-events: none;
}

.cta-section h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  margin-bottom: 14px;
  position: relative;
}

.cta-section p {
  color: var(--texto-muted);
  font-size: 1.05rem;
  max-width: 500px;
  margin: 0 auto 28px;
  position: relative;
}

/* ── Office / Module Cards ─────────────────────────────────── */
.oficina-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 20px;
  margin-bottom: 12px;
}

.oficina-card h4 {
  font-size: .95rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--texto);
}

.oficina-dato {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: .87rem;
  color: var(--texto-muted);
  margin-bottom: 6px;
  line-height: 1.5;
}

.oficina-dato-icono {
  flex-shrink: 0;
  width: 18px;
  text-align: center;
}

/* ── Footer ────────────────────────────────────────────────── */
.site-footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 56px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-col h5 {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--azul);
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col li a {
  font-size: .87rem;
  color: var(--texto-muted);
  transition: color .15s;
}

.footer-col li a:hover {
  color: var(--texto);
  text-decoration: none;
}

.footer-desc {
  font-size: .85rem;
  line-height: 1.7;
  max-width: 280px;
  color: var(--texto-muted);
  margin-top: 12px;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .8rem;
  color: var(--texto-muted);
}

.footer-bottom a {
  color: var(--texto-muted);
}

.footer-bottom a:hover {
  color: var(--azul-hover);
}

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

@media (max-width: 520px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ── Legal pages ───────────────────────────────────────────── */
.legal-content {
  max-width: 760px;
}

.legal-content h2 {
  font-size: 1.3rem;
  margin-top: 36px;
  margin-bottom: 12px;
}

.legal-content h3 {
  font-size: 1.05rem;
  margin-top: 24px;
  margin-bottom: 10px;
}

.legal-content p,
.legal-content li {
  color: var(--texto-muted);
  font-size: .92rem;
  line-height: 1.85;
}

/* ── Utility ───────────────────────────────────────────────── */
.text-azul { color: var(--azul-hover); }
.text-verde { color: var(--verde); }
.text-rojo { color: var(--rojo); }
.text-ambar { color: var(--ambar); }
.text-muted { color: var(--texto-muted); }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.hidden { display: none; }

/* ── Animations ────────────────────────────────────────────── */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeInUp .5s ease-out both;
}

.fade-in-delay-1 { animation-delay: .1s; }
.fade-in-delay-2 { animation-delay: .2s; }
.fade-in-delay-3 { animation-delay: .3s; }

/* ── Print ─────────────────────────────────────────────────── */
@media print {
  .site-header, .barra-aviso, .site-footer, .nav-toggle {
    display: none;
  }
  body {
    background: #fff;
    color: #000;
  }
}
