/* ==========================================================================
   BANCA VIRTUAL BOGOTÁ — SISTEMA DE DISEÑO EDITORIAL Y CORPORATIVO
   ========================================================================== */

:root {
  /* Paleta cromática institucional */
  --bg-main: #FBFBF9;
  --bg-surface: #FFFFFF;
  --bg-subtle: #F3F4F6;
  --bg-accent-subtle: #EBF4F2;
  --bg-highlight: #F9F9FB;

  --text-main: #121316;
  --text-body: #2B2F37;
  --text-muted: #5B6370;
  --text-light: #7A8494;

  --border-main: #E2E4E8;
  --border-light: #EDF0F3;
  --border-strong: #CBD0D8;

  /* Color de Acento Institucional Único: Pino Financiero Profundo */
  --accent: #0C4A42;
  --accent-hover: #07352F;
  --accent-active: #042420;
  --accent-tint: #E8F3F1;
  --accent-border: #88B9B1;

  /* Alertas editoriales de seguridad y prevención */
  --danger-accent: #942020;
  --danger-bg: #FCF4F4;
  --danger-border: #F0C4C4;

  --warning-accent: #8F520B;
  --warning-bg: #FDF9EE;
  --warning-border: #F3DE9A;

  /* Escala de espaciado estricta */
  --space-4: 4px;
  --space-8: 8px;
  --space-12: 12px;
  --space-16: 16px;
  --space-24: 24px;
  --space-32: 32px;
  --space-48: 48px;
  --space-64: 64px;
  --space-80: 80px;
  --space-96: 96px;

  /* Contenedores */
  --container-max: 1240px;
  --editorial-max: 760px;
  --header-height: 68px;

  /* Tipografía */
  --font-serif: "Newsreader", "Georgia", "Times New Roman", serif;
  --font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", Consolas, monospace;

  /* Transiciones */
  --transition-fast: 160ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-base: 220ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset y base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-body);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Enlaces */
a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(12, 74, 66, 0.4);
  transition: color var(--transition-fast), text-decoration-color var(--transition-fast);
}

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

/* Skip link de accesibilidad */
.skip-link {
  position: absolute;
  top: -100px;
  left: var(--space-16);
  background: var(--text-main);
  color: #FFFFFF;
  padding: var(--space-8) var(--space-16);
  z-index: 9999;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus {
  top: var(--space-8);
}

/* Tipografía jerárquica */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.025em;
  margin-bottom: var(--space-16);
}

h2 {
  font-family: var(--font-sans);
  font-size: clamp(1.4rem, 2.4vw, 1.95rem);
  font-weight: 700;
  line-height: 1.28;
  margin-top: var(--space-48);
  margin-bottom: var(--space-16);
  letter-spacing: -0.02em;
  padding-bottom: var(--space-8);
  border-bottom: 1px solid var(--border-light);
}

h3 {
  font-size: clamp(1.15rem, 1.8vw, 1.35rem);
  font-weight: 600;
  line-height: 1.35;
  margin-top: var(--space-32);
  margin-bottom: var(--space-12);
}

h4 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-top: var(--space-24);
  margin-bottom: var(--space-8);
}

p {
  margin-bottom: var(--space-24);
  font-size: 1.0625rem;
  color: var(--text-body);
}

ul, ol {
  margin-bottom: var(--space-24);
  padding-left: var(--space-24);
}

li {
  margin-bottom: var(--space-8);
  font-size: 1.02rem;
}

code {
  font-family: var(--font-mono);
  font-size: 0.88em;
  background: var(--bg-subtle);
  padding: 2px 6px;
  border-radius: 2px;
  border: 1px solid var(--border-light);
}

/* Indicador de progreso de lectura */
.reading-progress-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: transparent;
  z-index: 1000;
}
.reading-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--accent);
  transition: width 80ms ease-out;
}

/* Banner de aviso legal superior obligatorio */
.top-notice-bar {
  background-color: #1A1C20;
  color: #D2D5DC;
  font-size: 0.785rem;
  padding: var(--space-8) var(--space-16);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.top-notice-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-8);
}
.top-notice-bar .notice-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-4);
  color: #90D3C5;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.top-notice-bar .notice-text {
  color: #C0C5CF;
}

/* Contenedor central */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-24);
  padding-right: var(--space-24);
}

.container-editorial {
  width: 100%;
  max-width: var(--editorial-max);
  margin-left: auto;
  margin-right: auto;
}

/* Header corporativo */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(251, 251, 249, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-main);
  z-index: 900;
  transition: border-color var(--transition-fast);
}

.header-inner {
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-16);
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: var(--space-12);
  text-decoration: none;
  color: var(--text-main);
}

.brand-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: var(--text-main);
  color: #FFFFFF;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  border-radius: 2px;
  border: 1px solid var(--text-main);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-main);
  line-height: 1.15;
}

.brand-subtitle {
  font-size: 0.725rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-muted);
  font-weight: 600;
}

/* Navegación desktop */
.nav-desktop {
  display: flex;
  align-items: center;
  gap: var(--space-24);
}

.nav-desktop a {
  text-decoration: none;
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--text-body);
  padding: var(--space-4) 0;
  position: relative;
  transition: color var(--transition-fast);
}

.nav-desktop a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--transition-fast);
}

.nav-desktop a:hover {
  color: var(--text-main);
}

.nav-desktop a:hover::after,
.nav-desktop a.active::after {
  width: 100%;
}

.nav-desktop a.active {
  color: var(--accent);
  font-weight: 600;
}

/* Botón de búsqueda en header */
.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-12);
}

.search-trigger {
  display: inline-flex;
  align-items: center;
  gap: var(--space-8);
  background: var(--bg-surface);
  border: 1px solid var(--border-main);
  border-radius: 4px;
  padding: var(--space-8) var(--space-12);
  font-size: 0.85rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.search-trigger:hover {
  border-color: var(--border-strong);
  color: var(--text-main);
  background: #FFFFFF;
}

.search-shortcut {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  background: var(--bg-subtle);
  padding: 1px 5px;
  border-radius: 2px;
  border: 1px solid var(--border-main);
}

/* Botón menú móvil */
.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-main);
  border-radius: 4px;
  padding: var(--space-8);
  cursor: pointer;
  color: var(--text-main);
}

/* Breadcrumbs */
.breadcrumbs {
  margin-top: var(--space-24);
  margin-bottom: var(--space-16);
  font-size: 0.84rem;
  color: var(--text-muted);
}
.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: var(--space-8);
}
.breadcrumbs li {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: var(--space-8);
}
.breadcrumbs li + li::before {
  content: "/";
  color: var(--border-strong);
  font-size: 0.75rem;
}
.breadcrumbs a {
  color: var(--text-muted);
  text-decoration: none;
}
.breadcrumbs a:hover {
  color: var(--text-main);
  text-decoration: underline;
}
.breadcrumbs [aria-current="page"] {
  color: var(--text-main);
  font-weight: 500;
}

/* Etiqueta de categoría de cabecera */
.category-eyebrow {
  display: inline-block;
  font-size: 0.785rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-8);
}

/* Meta del artículo (Autor, fecha, tiempo) */
.article-meta-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-16) var(--space-24);
  padding: var(--space-16) 0;
  margin-top: var(--space-16);
  margin-bottom: var(--space-32);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  font-size: 0.85rem;
  color: var(--text-muted);
}
.meta-item {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}
.meta-item strong {
  color: var(--text-body);
  font-weight: 600;
}

/* Componentes Editoriales Propios */
.callout {
  margin: var(--space-32) 0;
  padding: var(--space-20) var(--space-24);
  background: var(--bg-surface);
  border: 1px solid var(--border-main);
  border-left-width: 4px;
  border-radius: 2px;
}
.callout > *:last-child {
  margin-bottom: 0;
}
.callout-header {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--space-8);
}

.callout-nota {
  border-left-color: var(--text-main);
  background: #F9F9F8;
}
.callout-nota .callout-header {
  color: var(--text-main);
}

.callout-importante {
  border-left-color: #945F00;
  background: #FAF7F0;
  border-color: #EBDCBD;
}
.callout-importante .callout-header {
  color: #7D4F00;
}

.callout-seguridad {
  border-left-color: var(--accent);
  background: #F2F7F6;
  border-color: #D3E4E1;
}
.callout-seguridad .callout-header {
  color: var(--accent);
}

.callout-peligro {
  border-left-color: var(--danger-accent);
  background: var(--danger-bg);
  border-color: var(--danger-border);
}
.callout-peligro .callout-header {
  color: var(--danger-accent);
}

.callout-ejemplo {
  border-left-color: #4B5563;
  background: #F8F9FA;
  border-style: dashed;
  border-left-style: solid;
}
.callout-ejemplo .callout-header {
  color: #374151;
}

.callout-definicion {
  border-left-color: #2F3E46;
  background: #F7F8F9;
}
.callout-definicion dt {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-main);
  margin-bottom: var(--space-4);
}
.callout-definicion dd {
  font-size: 0.975rem;
  color: var(--text-body);
}

.callout-fuente {
  border-left-color: var(--border-strong);
  background: #FAFAFA;
  padding: var(--space-12) var(--space-16);
  font-size: 0.85rem;
  color: var(--text-muted);
}
.callout-fuente strong {
  color: var(--text-main);
}

/* Tablas Editoriales */
.editorial-table-wrapper {
  margin: var(--space-32) 0;
  overflow-x: auto;
  border: 1px solid var(--border-main);
  background: var(--bg-surface);
}

.editorial-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.935rem;
  text-align: left;
}

.editorial-table th {
  background: var(--bg-subtle);
  color: var(--text-main);
  font-weight: 700;
  padding: var(--space-12) var(--space-16);
  border-bottom: 2px solid var(--border-main);
  letter-spacing: -0.01em;
}

.editorial-table td {
  padding: var(--space-12) var(--space-16);
  border-bottom: 1px solid var(--border-light);
  color: var(--text-body);
  vertical-align: top;
}

.editorial-table tr:last-child td {
  border-bottom: none;
}

.editorial-table tr:hover td {
  background-color: var(--bg-highlight);
}

/* Layout Editorial con Sidebar */
.editorial-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: var(--space-48);
  margin-top: var(--space-32);
  align-items: start;
}

.editorial-article {
  max-width: var(--editorial-max);
}

.editorial-sidebar {
  position: sticky;
  top: calc(var(--header-height) + var(--space-24));
  background: var(--bg-surface);
  border: 1px solid var(--border-main);
  padding: var(--space-24);
  border-radius: 2px;
}

.sidebar-title {
  font-size: 0.785rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: var(--space-16);
  padding-bottom: var(--space-8);
  border-bottom: 1px solid var(--border-light);
}

.toc-nav ol {
  list-style: none;
  padding: 0;
  margin: 0;
}

.toc-nav li {
  margin-bottom: var(--space-8);
  font-size: 0.885rem;
  line-height: 1.4;
}

.toc-link {
  color: var(--text-muted);
  text-decoration: none;
  display: block;
  padding: var(--space-4) 0 var(--space-4) var(--space-12);
  border-left: 2px solid transparent;
  transition: all var(--transition-fast);
}

.toc-link:hover {
  color: var(--text-main);
  border-left-color: var(--border-strong);
}

.toc-link.active {
  color: var(--accent);
  font-weight: 600;
  border-left-color: var(--accent);
}

.sidebar-security-badge {
  margin-top: var(--space-24);
  padding-top: var(--space-16);
  border-top: 1px solid var(--border-light);
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* Home: Composición Asimétrica Editorial */
.hero-editorial {
  padding: var(--space-48) 0 var(--space-48) 0;
  border-bottom: 1px solid var(--border-main);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: var(--space-48);
  align-items: center;
}

.hero-lead {
  font-size: 1.22rem;
  line-height: 1.6;
  color: var(--text-body);
  margin-bottom: var(--space-32);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-16);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  font-size: 0.95rem;
  font-weight: 600;
  padding: var(--space-12) var(--space-24);
  border-radius: 3px;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-primary {
  background: var(--accent);
  color: #FFFFFF;
  border: 1px solid var(--accent);
}
.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #FFFFFF;
}

.btn-secondary {
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--border-strong);
}
.btn-secondary:hover {
  background: var(--bg-surface);
  border-color: var(--text-main);
  color: var(--text-main);
}

/* Panel técnico del hero */
.hero-technical-panel {
  background: var(--bg-surface);
  border: 1px solid var(--border-main);
  padding: var(--space-32);
  position: relative;
}

.hero-technical-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
}

.tech-panel-title {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: var(--space-16);
}

.tech-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tech-checklist li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-12);
  margin-bottom: var(--space-16);
  font-size: 0.925rem;
  line-height: 1.45;
  color: var(--text-body);
}

.tech-checklist-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--accent);
  margin-top: 2px;
}

/* Sección Editorial Asimétrica (Artículo destacado + 3 columnas) */
.section-editorial {
  padding: var(--space-64) 0;
  border-bottom: 1px solid var(--border-main);
}

.section-header-editorial {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: var(--space-32);
  padding-bottom: var(--space-16);
  border-bottom: 2px solid var(--text-main);
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 2.5vw, 2.1rem);
  font-weight: 600;
  margin: 0;
  padding: 0;
  border: none;
}

.section-more-link {
  font-size: 0.885rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}
.section-more-link:hover {
  text-decoration: underline;
}

.editorial-asymmetric-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: var(--space-48);
  align-items: stretch;
}

.lead-article-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-main);
  padding: var(--space-32);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.lead-article-tag {
  font-size: 0.785rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: var(--space-12);
}

.lead-article-title {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  line-height: 1.25;
  margin-bottom: var(--space-16);
}

.lead-article-title a {
  color: var(--text-main);
  text-decoration: none;
}
.lead-article-title a:hover {
  color: var(--accent);
}

.stacked-editorial-list {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--space-24);
}

.stacked-article-item {
  border-bottom: 1px solid var(--border-main);
  padding-bottom: var(--space-20);
}

.stacked-article-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.stacked-article-number {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: var(--space-4);
}

.stacked-article-title {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: var(--space-6);
}

.stacked-article-title a {
  color: var(--text-main);
  text-decoration: none;
}
.stacked-article-title a:hover {
  color: var(--accent);
}

.stacked-article-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Sección Seguridad */
.security-cluster-section {
  padding: var(--space-64) 0;
  background: #F4F6F7;
  border-bottom: 1px solid var(--border-main);
}

.security-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-24);
}

.security-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-main);
  padding: var(--space-24);
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.security-card:hover {
  border-color: var(--accent);
}

.security-card-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--danger-accent);
  margin-bottom: var(--space-8);
}

.security-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: var(--space-8);
}

.security-card-title a {
  color: var(--text-main);
  text-decoration: none;
}

.security-card-title a:hover {
  color: var(--accent);
}

/* Preguntas Frecuentes (FAQ) */
.faq-list {
  margin: var(--space-32) 0;
}

.faq-item {
  border: 1px solid var(--border-main);
  background: var(--bg-surface);
  margin-bottom: var(--space-12);
  border-radius: 2px;
}

.faq-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  padding: var(--space-16) var(--space-20);
  background: none;
  border: none;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  gap: var(--space-16);
}

.faq-trigger:hover {
  background: var(--bg-subtle);
}

.faq-icon {
  transition: transform var(--transition-fast);
  flex-shrink: 0;
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
}

.faq-content {
  display: none;
  padding: 0 var(--space-20) var(--space-20) var(--space-20);
  color: var(--text-body);
  border-top: 1px solid var(--border-light);
  padding-top: var(--space-16);
}

.faq-item.open .faq-content {
  display: block;
}

/* Footer corporativo */
.site-footer {
  background: #111316;
  color: #C2C7D0;
  padding: var(--space-64) 0 var(--space-32) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: auto;
}

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

.footer-col-title {
  font-size: 0.825rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: #FFFFFF;
  margin-bottom: var(--space-20);
  padding-bottom: var(--space-8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav-list li {
  margin-bottom: var(--space-10);
  font-size: 0.9rem;
}

.footer-nav-list a {
  color: #A6ACB8;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-nav-list a:hover {
  color: #FFFFFF;
  text-decoration: underline;
}

.footer-disclaimer-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: var(--space-24);
  margin-bottom: var(--space-32);
  border-radius: 2px;
}

.disclaimer-title {
  font-size: 0.785rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #90D3C5;
  margin-bottom: var(--space-8);
}

.disclaimer-body {
  font-size: 0.85rem;
  color: #9DA3AF;
  line-height: 1.55;
  margin-bottom: 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-16);
  padding-top: var(--space-24);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.825rem;
  color: #7B828E;
}

.footer-bottom-links {
  display: flex;
  gap: var(--space-16);
}
.footer-bottom-links a {
  color: #8D94A1;
  text-decoration: none;
}
.footer-bottom-links a:hover {
  color: #FFFFFF;
}

/* Modal de Búsqueda */
.search-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(18, 19, 22, 0.7);
  backdrop-filter: blur(4px);
  z-index: 2000;
  align-items: flex-start;
  justify-content: center;
  padding-top: 10vh;
  padding-left: var(--space-16);
  padding-right: var(--space-16);
}

.search-modal.active {
  display: flex;
}

.search-dialog {
  background: var(--bg-surface);
  border: 1px solid var(--border-main);
  width: 100%;
  max-width: 640px;
  border-radius: 4px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.search-input-wrapper {
  display: flex;
  align-items: center;
  padding: var(--space-16);
  border-bottom: 1px solid var(--border-main);
  gap: var(--space-12);
}

.search-input {
  flex: 1;
  border: none;
  background: transparent;
  font-family: var(--font-sans);
  font-size: 1.1rem;
  color: var(--text-main);
  outline: none;
}

.search-close-btn {
  background: none;
  border: 1px solid var(--border-main);
  border-radius: 2px;
  padding: 4px 8px;
  font-size: 0.75rem;
  cursor: pointer;
  color: var(--text-muted);
}

.search-results-list {
  max-height: 420px;
  overflow-y: auto;
  list-style: none;
  padding: var(--space-8) 0;
  margin: 0;
}

.search-result-item {
  padding: var(--space-12) var(--space-16);
  border-bottom: 1px solid var(--border-light);
  cursor: pointer;
}

.search-result-item:hover,
.search-result-item.selected {
  background: var(--bg-subtle);
}

.search-result-title {
  font-weight: 600;
  font-size: 0.985rem;
  color: var(--text-main);
  margin-bottom: 2px;
}

.search-result-snippet {
  font-size: 0.825rem;
  color: var(--text-muted);
  line-height: 1.35;
}

/* Modal Móvil de Navegación */
.mobile-nav-drawer {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(18, 19, 22, 0.6);
  z-index: 1500;
}

.mobile-nav-drawer.active {
  display: block;
}

.mobile-drawer-content {
  position: absolute;
  top: 0;
  right: 0;
  width: 82%;
  max-width: 340px;
  height: 100%;
  background: var(--bg-surface);
  border-left: 1px solid var(--border-main);
  padding: var(--space-24);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.mobile-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: var(--space-16);
  border-bottom: 1px solid var(--border-main);
  margin-bottom: var(--space-24);
}

.mobile-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-nav-list li {
  margin-bottom: var(--space-16);
}

.mobile-nav-list a {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-main);
  text-decoration: none;
  display: block;
  padding: var(--space-4) 0;
}

.mobile-nav-list a:hover {
  color: var(--accent);
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .editorial-layout {
    grid-template-columns: 1fr;
  }
  .editorial-sidebar {
    display: none;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-32);
  }
}

@media (max-width: 768px) {
  .nav-desktop {
    display: none;
  }
  .menu-toggle {
    display: inline-flex;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: var(--space-32);
  }
  .editorial-asymmetric-grid {
    grid-template-columns: 1fr;
    gap: var(--space-32);
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-32);
  }
  .search-shortcut {
    display: none;
  }
  .top-notice-bar {
    font-size: 0.72rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding-left: var(--space-16);
    padding-right: var(--space-16);
  }
  .hero-ctas {
    flex-direction: column;
    width: 100%;
  }
  .hero-ctas .btn {
    width: 100%;
  }
}
