/* ==========================================================================
   PORTAL MARCA CIUDAD SALTOS DEL GUAIRÁ - ESTILOS INSTITUCIONALES
   Paleta: 
   Azul Institucional: #0B2545
   Rojo Patriótico Guaraní: #8B0000 / #A61C1C
   Verde Reserva Natural: #1B4332
   Blanco / Gris Platino: #F8F9FA
   Dorado Acento: #D4AF37
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@600;700;800;900&family=Inter:wght@300;400;500;600;700&family=Merriweather:ital,wght@0,300;0,400;0,700;1,300;1,400&family=Montserrat:wght@500;600;700;800;900&display=swap');

:root {
  /* Paleta cromática oficial */
  --color-primary: #0B2545;        /* Azul Institucional */
  --color-primary-dark: #061527;
  --color-primary-light: #133966;
  --color-secondary: #8B0000;      /* Rojo Patriótico Guaraní */
  --color-secondary-bright: #A61C1C;
  --color-secondary-light: #FDF2F2;
  --color-accent-green: #1B4332;   /* Verde Reserva Natural */
  --color-accent-green-light: #2D6A4F;
  --color-gold: #D4AF37;           /* Dorado Acento */
  --color-gold-light: #F4E8C1;
  --color-gold-hover: #BF9B2D;
  
  /* Neutros y Superficies */
  --color-bg-body: #F8F9FA;        /* Gris Platino / Blanco institucional */
  --color-surface: #FFFFFF;
  --color-surface-subtle: #F1F4F8;
  --color-surface-card: #FFFFFF;
  --color-border: #E2E8F0;
  --color-border-subtle: #EEF2F6;
  --color-text-main: #1E293B;
  --color-text-muted: #64748B;
  --color-text-light: #94A3B8;
  --color-text-inverse: #FFFFFF;

  /* Sombras y elevaciones */
  --shadow-sm: 0 1px 3px rgba(11, 37, 69, 0.06);
  --shadow-md: 0 4px 14px rgba(11, 37, 69, 0.08);
  --shadow-lg: 0 10px 25px rgba(11, 37, 69, 0.12);
  --shadow-xl: 0 20px 40px rgba(11, 37, 69, 0.18);
  --shadow-gold: 0 8px 24px rgba(212, 175, 55, 0.25);

  /* Tipografías */
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-narrative: 'Merriweather', serif;

  /* Bordes y transiciones */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 9999px;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: var(--font-body);
  color: var(--color-text-main);
  background-color: var(--color-bg-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* Utilidades de Contenedor */
.container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.container-narrow {
  max-width: 960px;
}

/* ==========================================================================
   1. BARRA SUPERIOR INSTITUCIONAL Y NAVEGACIÓN
   ========================================================================== */
.top-institutional-bar {
  background-color: var(--color-primary-dark);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.8125rem;
  padding: 0.4rem 0;
  border-bottom: 2px solid var(--color-gold);
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.tricolor-stripe {
  display: inline-flex;
  height: 10px;
  width: 28px;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 0 2px rgba(0,0,0,0.4);
}

.stripe-red { background: #D52B1E; flex: 1; }
.stripe-white { background: #FFFFFF; flex: 1; }
.stripe-blue { background: #0038A8; flex: 1; }

.seal-text {
  font-weight: 500;
  letter-spacing: 0.03em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.portal-date {
  color: var(--color-gold-light);
  font-size: 0.75rem;
}

/* Header Principal */
.main-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.brand-identity {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand-emblem-wrapper {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid var(--color-gold);
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
  background: white;
}

.brand-emblem-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.brand-supertitle {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 700;
  color: var(--color-secondary);
}

.brand-maintitle {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.brand-subtitle {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

/* ==========================================================================
   SISTEMA DE NAVEGACIÓN MULTI-PÁGINA & DROPDOWNS CLEAN
   ========================================================================== */
.clean-navbar-wrapper {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 2px 12px rgba(11, 37, 69, 0.05);
}

.clean-nav-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.clean-brand-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  flex-shrink: 0;
}

.clean-brand-logo {
  height: 48px;
  width: auto;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(212, 175, 55, 0.5);
  box-shadow: var(--shadow-sm);
}

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

.clean-brand-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--color-primary);
  line-height: 1.15;
  letter-spacing: 0.04em;
}

.clean-brand-sub {
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--color-gold);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* Lista principal de enlaces con gap-7 / gap-8 */
.clean-nav-list {
  display: flex;
  align-items: center;
  gap: 1.75rem; /* ~28px espaciado limpio sin superposición */
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (max-width: 1100px) {
  .clean-nav-list {
    gap: 1rem;
  }
}

.clean-nav-item {
  position: relative;
  display: flex;
  align-items: center;
  height: 76px;
}

/* Enlace principal de cada ítem */
.clean-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  color: #334155;
  text-decoration: none;
  padding: 0.5rem 0.65rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  white-space: nowrap;
  position: relative;
}

.clean-nav-link:hover {
  color: var(--color-primary);
  background-color: rgba(11, 37, 69, 0.04);
}

/* Indicador de página activa */
.clean-nav-link.active-page {
  color: var(--color-primary);
  font-weight: 800;
}

.clean-nav-link.active-page::after {
  content: "";
  position: absolute;
  bottom: -18px;
  left: 0.65rem;
  right: 0.65rem;
  height: 3px;
  background: var(--color-gold);
  border-radius: 2px;
}

/* Chevron indicador de dropdown */
.dropdown-chevron {
  width: 14px;
  height: 14px;
  fill: currentColor;
  opacity: 0.65;
  transition: transform var(--transition-fast);
}

.clean-nav-item:hover .dropdown-chevron {
  transform: rotate(180deg);
  opacity: 1;
  color: var(--color-gold);
}

/* Menú flotante desplegable (Dropdown) */
.clean-dropdown-menu {
  position: absolute;
  top: calc(100% - 8px);
  left: 0;
  width: 320px;
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-top: 3px solid var(--color-gold);
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 36px rgba(11, 37, 69, 0.15), 0 4px 12px rgba(0, 0, 0, 0.05);
  padding: 1.15rem 0.85rem 1rem;
  display: none;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 105;
  pointer-events: none;
}

/* Puente invisible para evitar que el cursor pierda el hover */
.clean-nav-item::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 15px;
}

.clean-nav-item:hover .clean-dropdown-menu {
  display: block;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Encabezado interno del dropdown */
.dropdown-header-block {
  padding: 0 0.5rem 0.65rem 0.5rem;
  border-bottom: 1px solid var(--color-border-subtle);
  margin-bottom: 0.5rem;
}

.dropdown-tomo-tag {
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-gold);
  display: block;
  margin-bottom: 0.15rem;
}

.dropdown-tomo-title {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.25;
}

/* Ítems del submenú */
.dropdown-items-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.dropdown-item-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.65rem;
  border-radius: var(--radius-sm);
  color: #334155;
  text-decoration: none;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.3;
  transition: all var(--transition-fast);
}

.dropdown-item-num {
  font-size: 0.725rem;
  font-weight: 800;
  color: var(--color-secondary);
  font-family: var(--font-heading);
  min-width: 20px;
}

.dropdown-item-link:hover {
  background-color: #F8FAFC;
  color: var(--color-primary);
  padding-left: 0.85rem;
}

.dropdown-item-link:hover .dropdown-item-num {
  color: var(--color-gold);
}

/* Botón CTA a la derecha */
.clean-nav-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.btn-clean-cta {
  background: var(--color-secondary);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.65rem 1.15rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  box-shadow: 0 4px 12px rgba(139, 0, 0, 0.25);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-clean-cta:hover {
  background: #6B0000;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(139, 0, 0, 0.35);
  color: #FFFFFF;
}

/* Botón Hamburguesa */
.btn-mobile-toggle {
  display: none;
  background: none;
  border: 1px solid var(--color-border);
  padding: 0.5rem;
  border-radius: var(--radius-md);
  color: var(--color-primary);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.btn-mobile-toggle:hover {
  background: rgba(11, 37, 69, 0.05);
  border-color: var(--color-gold);
}

@media (max-width: 1024px) {
  .clean-nav-list { display: none !important; }
  .btn-clean-cta { display: none !important; }
  .btn-mobile-toggle { display: inline-flex !important; }
  .clean-nav-actions { gap: 0; }
}

@media (min-width: 1025px) {
  .clean-nav-list { display: flex !important; }
  .btn-clean-cta { display: inline-flex !important; }
  .btn-mobile-toggle { display: none !important; }
  .clean-mobile-drawer { display: none !important; }
}

/* Mobile Drawer */
.clean-mobile-drawer {
  background: #FFFFFF;
  border-top: 1px solid var(--color-border);
  border-bottom: 3px solid var(--color-gold);
  padding: 1.25rem 1.5rem;
  display: none;
  flex-direction: column;
  gap: 1rem;
  box-shadow: 0 16px 36px rgba(11, 37, 69, 0.15);
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  animation: drawerSlideDown 0.25s ease-out forwards;
}

@keyframes drawerSlideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.clean-mobile-drawer.is-open {
  display: flex !important;
}

/* Botón Destacado Dossier PDF en Menú Móvil */
.mobile-drawer-cta-wrap {
  margin-top: 0.5rem;
  padding-top: 0.75rem;
  border-top: 2px dashed rgba(212, 175, 55, 0.4);
}

.mobile-drawer-dossier-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  width: 100%;
  padding: 0.85rem 1.25rem;
  background: linear-gradient(135deg, #D4AF37 0%, #B48A05 100%);
  color: #0B2545 !important;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: var(--radius-md);
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.35);
  transition: all var(--transition-fast);
}

.mobile-drawer-dossier-btn:hover {
  background: linear-gradient(135deg, #DFBE4E 0%, #C69A10 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(212, 175, 55, 0.45);
}

@media (max-width: 640px) {
  .clean-nav-container {
    padding: 0 1rem;
    height: 68px;
    justify-content: space-between;
  }
  .clean-brand-link {
    gap: 0.65rem;
    max-width: calc(100% - 50px);
  }
  .clean-brand-logo {
    height: 42px;
  }
  .clean-brand-title {
    font-size: 0.95rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .clean-brand-sub {
    font-size: 0.625rem;
  }
  .clean-mobile-drawer {
    padding: 1rem 1.25rem;
  }
}

@media (max-width: 380px) {
  .clean-nav-container {
    padding: 0 0.75rem;
    height: 64px;
  }
  .clean-brand-logo {
    height: 36px;
  }
  .clean-brand-title {
    font-size: 0.85rem;
  }
  .clean-brand-sub {
    font-size: 0.55rem;
  }
}

@media (max-width: 340px) {
  .clean-nav-container {
    padding: 0 0.5rem;
    height: 58px;
  }
  .clean-brand-link {
    gap: 0.45rem;
    max-width: calc(100% - 46px);
  }
  .clean-brand-logo {
    height: 32px;
  }
  .clean-brand-title {
    font-size: 0.78rem;
    letter-spacing: 0.01em;
  }
  .clean-brand-sub {
    font-size: 0.5rem;
    letter-spacing: 0.05em;
  }
  .btn-mobile-toggle {
    padding: 0.35rem;
  }
  .btn-mobile-toggle svg {
    width: 20px;
    height: 20px;
  }
}

.mobile-tomo-group {
  border-bottom: 1px solid var(--color-border-subtle);
  padding-bottom: 0.75rem;
}

.mobile-tomo-main-link {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--color-primary);
  display: block;
  margin-bottom: 0.4rem;
  text-decoration: none;
}

.mobile-tomo-sub-list {
  list-style: none;
  padding-left: 0.75rem;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.mobile-tomo-sub-link {
  font-size: 0.825rem;
  color: var(--color-text-muted);
  text-decoration: none;
  display: block;
  padding: 0.25rem 0;
}

.mobile-tomo-sub-link:hover {
  color: var(--color-secondary);
}

/* ==========================================================================
   2. HERO SECTION INSTITUCIONAL
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  color: white;
  background-color: var(--color-primary-dark);
  overflow: hidden;
  padding: 5rem 0 4rem;
}

.hero-background-media {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.02);
  transition: transform 10s ease;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(11, 37, 69, 0.94) 0%,
    rgba(11, 37, 69, 0.82) 45%,
    rgba(139, 0, 0, 0.75) 100%
  );
  z-index: 2;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(212, 175, 55, 0.15) 1px, transparent 1px);
  background-size: 24px 24px;
  z-index: 2;
  opacity: 0.4;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
}

.hero-badge-container {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.5);
  backdrop-filter: blur(8px);
  padding: 0.45rem 1rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1.5rem;
}

.hero-badge-icon {
  color: var(--color-gold);
  display: flex;
}

.hero-badge-text {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-gold-light);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.hero-title .highlight-gold {
  color: var(--color-gold);
  background: linear-gradient(135deg, #FFE28A 0%, var(--color-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  color: rgba(255, 255, 255, 0.92);
  font-weight: 400;
  margin-bottom: 2.25rem;
  line-height: 1.5;
  max-width: 780px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.4);
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 3.5rem;
}

.btn-primary-hero {
  background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-hover) 100%);
  color: var(--color-primary-dark);
  font-size: 1rem;
  font-weight: 800;
  padding: 1rem 1.85rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-gold);
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  transition: all var(--transition-fast);
}

.btn-primary-hero:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(212, 175, 55, 0.4);
  background: linear-gradient(135deg, #FFE28A 0%, var(--color-gold) 100%);
}

.btn-secondary-hero {
  background: rgba(255, 255, 255, 0.12);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.35);
  font-size: 1rem;
  font-weight: 700;
  padding: 1rem 1.85rem;
  border-radius: var(--radius-md);
  backdrop-filter: blur(8px);
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  transition: all var(--transition-fast);
}

.btn-secondary-hero:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: white;
  transform: translateY(-2px);
}

/* Stat Grid en Hero */
.hero-stats-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-stat-card {
  display: flex;
  flex-direction: column;
}

.stat-value {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-gold);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.stat-label {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ==========================================================================
   3. SECCIÓN MANIFIESTO Y NARRATIVA PATRIÓTICA
   ========================================================================== */
.manifesto-section {
  padding: 5rem 0;
  background-color: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  position: relative;
}

.manifesto-wrapper {
  background: linear-gradient(180deg, #FFFFFF 0%, var(--color-surface-subtle) 100%);
  border: 1px solid var(--color-border);
  border-left: 6px solid var(--color-secondary);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-md);
  position: relative;
}

.manifesto-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-secondary);
  font-weight: 700;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1rem;
}

.manifesto-quote {
  font-family: var(--font-narrative);
  font-size: clamp(1.2rem, 2.2vw, 1.7rem);
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-primary);
  font-style: italic;
  margin-bottom: 1.75rem;
}

.manifesto-author {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--color-border);
  padding-top: 1.25rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.author-info h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary);
}

.author-info p {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

.manifesto-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.badge-tag {
  background: white;
  border: 1px solid var(--color-border);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-primary);
}

/* ==========================================================================
   4. COMPONENTES COMUNES: TITULARES DE SECCIÓN
   ========================================================================== */
.section-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 3.5rem;
}

.section-pretitle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-secondary);
  margin-bottom: 0.75rem;
  padding: 0.3rem 0.85rem;
  background: var(--color-secondary-light);
  border-radius: var(--radius-pill);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.2;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.section-description {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   5. MÓDULO INTERACTIVO: LOS 7 SALTOS DEL DESARROLLO (PILARES)
   ========================================================================== */
.pillars-section {
  padding: 6rem 0;
  background-color: var(--color-bg-body);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

@media (max-width: 1200px) {
  .pillars-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
  }
}

@media (max-width: 1024px) {
  .pillars-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
  }
}

@media (max-width: 640px) {
  .pillars-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.pilar-card, .pillar-card {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  border-top: 5px solid var(--color-primary);
  padding: 2rem 1.75rem;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

.pilar-card:hover, .pillar-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.pilar-card.active-pillar, .pillar-card.active-pillar {
  box-shadow: 0 12px 30px rgba(11, 37, 69, 0.15);
  border-color: #CBD5E1;
}

/* Colores de Borde Superior */
.border-red { border-top-color: #8B0000 !important; }
.border-blue { border-top-color: #0038A8 !important; }
.border-gold { border-top-color: #D4AF37 !important; }
.border-navy { border-top-color: #0B2545 !important; }
.border-green { border-top-color: #1B4332 !important; }
.border-cyan { border-top-color: #0891B2 !important; }
.border-emerald { border-top-color: #059669 !important; }

/* Headers de Pilar */
.pilar-header {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.border-red .pilar-header { color: #8B0000; }
.border-blue .pilar-header { color: #0038A8; }
.border-gold .pilar-header { color: #B48A05; }
.border-navy .pilar-header { color: #0B2545; }
.border-green .pilar-header { color: #1B4332; }
.border-cyan .pilar-header { color: #0891B2; }
.border-emerald .pilar-header { color: #059669; }

/* Icono del Pilar */
.pilar-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.5rem;
}

.border-red .pilar-icon { background: #FDF2F2; color: #8B0000; }
.border-blue .pilar-icon { background: #EFF6FF; color: #0038A8; }
.border-gold .pilar-icon { background: #FEFCE8; color: #B48A05; }
.border-navy .pilar-icon { background: #F1F4F8; color: #0B2545; }
.border-green .pilar-icon { background: #F0FDF4; color: #1B4332; }
.border-cyan .pilar-icon { background: #ECFEFF; color: #0891B2; }
.border-emerald .pilar-icon { background: #ECFDF5; color: #059669; }

/* Tipografía de las Tarjetas */
.pilar-card h3, .pillar-card h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 0.35rem;
  line-height: 1.25;
}

.pilar-card h4, .pillar-card h4 {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

.pilar-card p, .pillar-card p {
  font-size: 0.875rem;
  color: var(--color-text-main);
  line-height: 1.55;
  margin-bottom: 1.25rem;
}

/* Quote Box estilizado */
.quote-box {
  background: #F8FAFC;
  border-left: 3px solid #0038A8;
  padding: 0.85rem 1rem;
  border-radius: 0 8px 8px 0;
  margin-bottom: 1.25rem;
  font-family: var(--font-narrative);
  font-size: 0.8125rem;
  line-height: 1.55;
  color: #334155;
}

.quote-box p {
  margin-bottom: 0 !important;
  color: #334155 !important;
}

/* Caja de Estadísticas */
.pilar-stats-box, .pillar-metrics {
  background: var(--color-surface-subtle);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  display: flex;
  justify-content: space-around;
  gap: 1rem;
  margin-top: auto;
  margin-bottom: 1.25rem;
  border: 1px solid var(--color-border);
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.stat-number {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.3rem;
  color: var(--color-primary);
  line-height: 1.1;
  margin-bottom: 0.2rem;
}

.stat-label {
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Enlaces de Acción */
.btn-link, .pillar-cta-link {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all var(--transition-fast);
  text-decoration: none;
  margin-top: 0.25rem;
}

.btn-link:hover, .pillar-cta-link:hover {
  color: var(--color-secondary);
  transform: translateX(4px);
}

.pillar-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.pillar-focus {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

.pillar-card-body {
  padding: 0 1.5rem 1.5rem;
  flex: 1;
}

.pillar-description {
  font-size: 0.875rem;
  color: var(--color-text-main);
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

.pillar-metrics {
  background: var(--color-surface-subtle);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}

.metric-item {
  display: flex;
  flex-direction: column;
}

.metric-num {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--color-primary);
}

.metric-desc {
  font-size: 0.6875rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
}

.pillar-cta-link {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  transition: gap var(--transition-fast);
}

.pillar-card:hover .pillar-cta-link {
  gap: 0.6rem;
  color: var(--color-secondary);
}

/* Panel de Detalle Dinámico de Pilar */
.pillar-detail-panel {
  background: white;
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-lg);
  padding: 2.5rem;
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.detail-content-left h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.detail-content-left p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.detail-initiatives-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1.75rem;
}

.detail-initiatives-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--color-text-main);
}

.check-icon {
  color: var(--color-accent-green);
  flex-shrink: 0;
  margin-top: 2px;
}

.detail-content-right {
  background: var(--color-surface-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  border: 1px solid var(--color-border);
}

.kpi-box-title {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-primary);
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.kpi-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.65rem 0;
  gap: 1.25rem;
  border-bottom: 1px solid #E2E8F0;
}

.kpi-row:last-child {
  border-bottom: none;
}

.kpi-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: #334155;
  text-align: left;
  flex: 1;
}

.kpi-val {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: #0B2545;
  text-align: right;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ==========================================================================
   6. MÓDULO DE DIAGNÓSTICO Y MEMORIA TERRITORIAL (TOMO I)
   ========================================================================== */
.diagnostic-section {
  padding: 6rem 0;
  background-color: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.diagnostic-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.chart-card {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.chart-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.chart-card-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-primary);
}

.chart-card-subtitle {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

.chart-wrapper {
  position: relative;
  height: 280px;
  width: 100%;
}

.chart-legend-box {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border-subtle);
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  display: flex;
  justify-content: space-around;
}

/* Matriz de Intervenciones 30-60-90 Días */
.interventions-wrapper {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.interventions-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.interventions-tabs {
  display: flex;
  background: var(--color-surface-subtle);
  border-radius: var(--radius-pill);
  padding: 0.35rem;
  gap: 0.35rem;
}

.tab-btn {
  padding: 0.55rem 1.25rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--color-text-muted);
  border-radius: var(--radius-pill);
  transition: all var(--transition-fast);
}

.tab-btn.active {
  background: var(--color-primary);
  color: white;
  box-shadow: 0 2px 8px rgba(11, 37, 69, 0.2);
}

.timeline-items-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
  gap: 1.75rem;
}

@media (max-width: 640px) {
  .timeline-items-container {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

.timeline-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  background: #FCFDFE;
  transition: all var(--transition-fast);
  position: relative;
}

.timeline-card:hover {
  border-color: var(--color-gold);
  background: white;
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.timeline-badge-phase {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.phase-30 { background: #FEF3C7; color: #92400E; }
.phase-60 { background: #E0E7FF; color: #3730A3; }
.phase-90 { background: #D1FAE5; color: #065F46; }

.timeline-card h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.timeline-card p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

.timeline-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--color-border-subtle);
  font-size: 0.75rem;
}

.meta-point {
  display: flex;
  flex-direction: column;
}

.meta-point span:first-child {
  color: var(--color-text-light);
  font-weight: 600;
  text-transform: uppercase;
}

.meta-point span:last-child {
  color: var(--color-primary);
  font-weight: 700;
}

/* ==========================================================================
   7. MÓDULO ESTRATEGIA (TOMO II) Y IDENTIDAD VISUAL (TOMO III)
   ========================================================================== */
.strategy-identity-section {
  padding: 6rem 0;
  background-color: var(--color-bg-body);
}

.identity-showcase {
  background: white;
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
  padding: 3rem;
  margin-bottom: 4rem;
}

.palette-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1.25rem;
  margin: 2rem 0 3rem;
}

.color-swatch-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  background: white;
}

.swatch-color {
  height: 90px;
  width: 100%;
}

.swatch-info {
  padding: 1rem;
}

.swatch-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--color-primary);
  margin-bottom: 0.2rem;
}

.swatch-hex {
  font-family: monospace;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  font-weight: 600;
}

.swatch-symbolism {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-top: 0.5rem;
  line-height: 1.4;
}

/* Visual Mockups & Brand Assets */
.brand-applications-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.app-card {
  background: var(--color-surface-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: all var(--transition-normal);
}

.app-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.app-image-wrap {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.app-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.app-card:hover .app-image-wrap img {
  transform: scale(1.05);
}

.app-body {
  padding: 1.25rem;
}

.app-tag {
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--color-secondary);
  letter-spacing: 0.08em;
  margin-bottom: 0.35rem;
}

.app-body h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.4rem;
}

.app-body p {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

/* ==========================================================================
   8. MÓDULO PLAN MAESTRO DE ACTIVACIÓN (TOMO IV) - CALENDARIO & EVENTOS
   ========================================================================== */
.activation-section {
  padding: 6rem 0;
  background-color: var(--color-surface);
  border-top: 1px solid var(--color-border);
}

.calendar-controls-box {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.filter-label {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  margin-right: 0.25rem;
}

.btn-filter-pill {
  padding: 0.45rem 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-text-muted);
  background: var(--color-surface-subtle);
  border-radius: var(--radius-pill);
  transition: all var(--transition-fast);
  border: 1px solid transparent;
}

.btn-filter-pill:hover {
  background: #E2E8F0;
  color: var(--color-primary);
}

.btn-filter-pill.active {
  background: var(--color-secondary);
  color: white;
  box-shadow: 0 2px 6px rgba(139, 0, 0, 0.25);
}

/* Eventos Ancla Grid */
.events-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.event-anchor-card {
  background: white;
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  position: relative;
}

.event-anchor-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--color-gold);
}

.event-card-header {
  padding: 1.5rem 1.5rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 1px solid var(--color-border-subtle);
}

.event-season-badge {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
}

.season-verano { background: #FEF3C7; color: #B45309; }
.season-otono { background: #FFEDD5; color: #C2410C; }
.season-invierno { background: #E0F2FE; color: #0369A1; }
.season-primavera { background: #DCFCE7; color: #15803D; }

.event-type-badge {
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--color-text-muted);
  text-transform: uppercase;
}

.event-card-body {
  padding: 1.5rem;
  flex: 1;
}

.event-card-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.event-card-desc {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.event-kpi-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  background: var(--color-surface-subtle);
  padding: 1rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
}

.event-kpi-item span:first-child {
  display: block;
  font-size: 0.6875rem;
  color: var(--color-text-light);
  text-transform: uppercase;
  font-weight: 600;
}

.event-kpi-item span:last-child {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--color-primary);
}

.event-card-footer {
  padding: 1rem 1.5rem 1.5rem;
  border-top: 1px solid var(--color-border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.btn-event-detail {
  width: 100%;
  text-align: center;
  background: var(--color-surface-subtle);
  color: var(--color-primary);
  font-size: 0.8125rem;
  font-weight: 700;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-event-detail:hover {
  background: var(--color-primary);
  color: white;
}

/* ==========================================================================
   9. MÓDULO GOBERNANZA Y TRANSPARENCIA (TOMO V)
   ========================================================================== */
.governance-section {
  padding: 6rem 0;
  background-color: var(--color-bg-body);
}

.governance-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.2fr;
  gap: 3rem;
  align-items: center;
}

.ente-mixto-card {
  background: white;
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.ente-mixto-card h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}

.ente-mixto-card p {
  color: var(--color-text-muted);
  font-size: 0.925rem;
  margin-bottom: 1.75rem;
}

.ente-structure-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.structure-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  background: var(--color-surface-subtle);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--color-primary);
}

.structure-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: white;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}

.structure-content h5 {
  font-family: var(--font-heading);
  font-size: 0.925rem;
  font-weight: 700;
  color: var(--color-primary);
}

.structure-content p {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin-bottom: 0;
}

/* Gráfico de Presupuesto Fondo Ley 5404/15 */
.fund-card {
  background: white;
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.fund-card-header {
  margin-bottom: 1.5rem;
}

.fund-card-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 0.25rem;
}

.fund-card-sub {
  font-size: 0.8125rem;
  color: var(--color-secondary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ==========================================================================
   10. CENTRO DE DESCARGAS Y REPOSITORIO DE TOMOS (PDF)
   ========================================================================== */
.downloads-section {
  padding: 6rem 0;
  background: linear-gradient(180deg, var(--color-surface) 0%, #F1F5F9 100%);
  border-top: 1px solid var(--color-border);
}

.dossier-featured-banner {
  background: linear-gradient(135deg, var(--color-primary) 0%, #061527 100%);
  border-radius: var(--radius-xl);
  padding: 3rem;
  color: white;
  margin-bottom: 4rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2.5rem;
  align-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

@media (max-width: 1024px) {
  .dossier-featured-banner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .featured-content-right {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .dossier-featured-banner {
    padding: 2rem 1.25rem;
  }
  .featured-actions {
    flex-direction: column;
    width: 100%;
  }
  .featured-actions button,
  .featured-actions a {
    width: 100%;
    justify-content: center;
  }
}

.dossier-featured-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.featured-content-left {
  position: relative;
  z-index: 2;
}

.featured-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(212, 175, 55, 0.2);
  border: 1px solid var(--color-gold);
  color: var(--color-gold-light);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.featured-title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 800;
  color: white;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.featured-desc {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.featured-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.featured-content-right {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
}

.dossier-book-mockup {
  width: 240px;
  background: white;
  border-radius: 6px;
  box-shadow: -15px 20px 40px rgba(0, 0, 0, 0.5), inset 3px 0 6px rgba(0,0,0,0.2);
  padding: 2rem 1.5rem;
  color: var(--color-primary);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 320px;
  border-left: 8px solid var(--color-secondary);
  transform: perspective(600px) rotateY(-8deg);
  transition: transform var(--transition-normal);
}

.dossier-book-mockup:hover {
  transform: perspective(600px) rotateY(0deg) scale(1.02);
}

.mockup-header-emblem {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 1rem;
}

.mockup-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--color-primary);
}

.mockup-sub {
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--color-secondary);
  font-weight: 700;
  margin-top: 0.25rem;
}

.mockup-footer {
  font-size: 0.6875rem;
  color: var(--color-text-muted);
  border-top: 1px solid var(--color-border);
  padding-top: 0.75rem;
}

/* Grid de Tomos Individuales */
.tomos-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

@media (max-width: 1024px) {
  .tomos-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
  }
}

@media (max-width: 640px) {
  .tomos-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.tomo-card {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-fast);
  position: relative;
}

.tomo-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary);
}

.tomo-number-tag {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--color-secondary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.tomo-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.tomo-meta {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-bottom: 1.25rem;
}

.tomo-summary {
  font-size: 0.8125rem;
  color: var(--color-text-main);
  line-height: 1.5;
  margin-bottom: 1.5rem;
  flex: 1;
}

.tomo-actions {
  display: flex;
  gap: 0.5rem;
}

.btn-tomo-preview {
  flex: 1;
  background: var(--color-surface-subtle);
  color: var(--color-primary);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.6rem;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  transition: all var(--transition-fast);
}

.btn-tomo-preview:hover {
  background: var(--color-primary);
  color: white;
}

.btn-tomo-download {
  width: 36px;
  background: var(--color-surface-subtle);
  color: var(--color-secondary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.btn-tomo-download:hover {
  background: var(--color-secondary);
  color: white;
}

/* ==========================================================================
   11. MODAL VISOR DE PDF / DOCUMENTOS INTERACTIVO
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 37, 69, 0.75);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.modal-overlay.open {
  display: flex;
  opacity: 1;
}

.modal-container {
  background: white;
  width: 100%;
  max-width: 960px;
  max-height: 90vh;
  border-radius: var(--radius-xl);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: modalPop 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalPop {
  0% { transform: scale(0.95) translateY(10px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}

.modal-header {
  background: var(--color-primary);
  color: white;
  padding: 1.25rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid var(--color-gold);
}

.modal-header-titles h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
}

.modal-header-titles p {
  font-size: 0.75rem;
  color: var(--color-gold-light);
}

.btn-close-modal {
  color: white;
  font-size: 1.5rem;
  padding: 0.25rem;
  opacity: 0.8;
  transition: opacity var(--transition-fast);
}

.btn-close-modal:hover {
  opacity: 1;
}

.modal-toolbar {
  background: #EEF2F6;
  padding: 0.75rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.8125rem;
}

.modal-page-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-page-nav {
  background: white;
  border: 1px solid var(--color-border);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  color: var(--color-primary);
}

.modal-body {
  padding: 2.5rem;
  overflow-y: auto;
  flex: 1;
  background: #FAFBFD;
}

.pdf-simulated-sheet {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  box-shadow: var(--shadow-md);
  padding: 3rem;
  min-height: 500px;
  font-family: var(--font-body);
}

.sheet-header {
  border-bottom: 2px solid var(--color-primary);
  padding-bottom: 1.5rem;
  margin-bottom: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sheet-logo-area {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.sheet-logo-area img {
  width: 44px;
  height: 44px;
}

.sheet-body-content h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.sheet-body-content p {
  font-size: 0.925rem;
  line-height: 1.7;
  color: #334155;
  margin-bottom: 1.25rem;
}

.sheet-callout {
  background: var(--color-secondary-light);
  border-left: 4px solid var(--color-secondary);
  padding: 1rem 1.25rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 1.5rem 0;
  font-size: 0.875rem;
  color: #551414;
}

.modal-footer {
  background: white;
  padding: 1.25rem 2rem;
  border-top: 1px solid var(--color-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ==========================================================================
   12. FOOTER INSTITUCIONAL
   ========================================================================== */
.main-footer {
  background-color: var(--color-primary-dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 5rem 0 2rem;
  border-top: 4px solid var(--color-gold);
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand-col p {
  font-size: 0.875rem;
  line-height: 1.6;
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--color-gold);
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links-list a {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
  transition: color var(--transition-fast);
}

.footer-links-list a:hover {
  color: var(--color-gold);
}

.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.6);
}

/* ==========================================================================
   13. RESPONSIVE / MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-title { font-size: 2.5rem; }
  .diagnostic-grid { grid-template-columns: 1fr; }
  .governance-grid { grid-template-columns: 1fr; }
  .pillar-detail-panel { grid-template-columns: 1fr; }
  .dossier-featured-banner { grid-template-columns: 1fr; }
  .footer-top-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .top-institutional-bar { display: none; }
  .header-inner { height: 70px; }
  .main-nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: white;
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
    border-bottom: 2px solid var(--color-gold);
  }
  .main-nav.mobile-active { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; }
  .mobile-menu-btn { display: block; }
  .hero-stats-strip { grid-template-columns: repeat(2, 1fr); }
  .manifesto-wrapper { padding: 1.75rem; }
  .footer-top-grid { grid-template-columns: 1fr; }
  .modal-container { max-height: 96vh; }
  .pdf-simulated-sheet { padding: 1.5rem; }
  .gantt-progress-track { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .gantt-progress-track { grid-template-columns: 1fr; }
}

/* ==========================================================================
   SECCIÓN: PLAN MAESTRO DE IMPLEMENTACIÓN POR FASES (GANTT INTERACTIVO)
   ========================================================================== */
#plan-implementacion {
  padding: 5rem 0;
  background-color: #F8FAFC;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.gantt-progress-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.gantt-phase-bar {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.gantt-phase-bar:hover, .gantt-phase-bar.active {
  border-color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.gantt-phase-bar.active {
  border-left: 4px solid var(--color-gold);
  background: #FCFDFE;
}

.gantt-bar-title {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 800;
  color: var(--color-primary);
  display: block;
}

.gantt-bar-sub {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.gantt-indicator {
  height: 5px;
  background: #E2E8F0;
  border-radius: 3px;
  margin-top: 0.75rem;
  overflow: hidden;
}

.gantt-indicator-fill {
  height: 100%;
  border-radius: 3px;
}

.phase-fill-1 { width: 100%; background: #D97706; }
.phase-fill-2 { width: 75%; background: #2563EB; }
.phase-fill-3 { width: 50%; background: #059669; }
.phase-fill-4 { width: 30%; background: #0B2545; }

/* Filtros por Fase */
.filter-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.filter-btn {
  padding: 0.55rem 1.25rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--color-primary);
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.filter-btn:hover {
  border-color: var(--color-primary);
  background: var(--color-surface-subtle);
}

.filter-btn.active {
  background: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
  box-shadow: 0 2px 8px rgba(11, 37, 69, 0.25);
}

/* Tabla de Acciones */
.table-responsive-container {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  overflow-x: auto;
  box-shadow: var(--shadow-sm);
}

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

.implementation-table thead {
  background-color: var(--color-primary);
  color: white;
}

.implementation-table th {
  padding: 1rem 1.5rem;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-bottom: 2px solid var(--color-gold);
}

.implementation-table td {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--color-border);
  vertical-align: middle;
}

.implementation-table tbody tr:hover {
  background-color: #F8FAFC;
}

.badge-status-programado {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 800;
  background-color: #FEF3C7;
  color: #92400E;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.badge-status-encurso {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 800;
  background-color: #DBEAFE;
  color: #1E40AF;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Clases de utilidad y soporte de tabla para el Plan Maestro */
#plan-implementacion.py-12 {
  padding-top: 4.5rem;
  padding-bottom: 5rem;
}

.bg-gray-50 {
  background-color: #F8FAFC;
}

.max-w-7xl {
  max-width: 1280px;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.px-4 {
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.text-3xl {
  font-size: 2rem;
  line-height: 1.2;
}

.font-bold {
  font-weight: 800;
}

.text-navy-900 {
  color: #0B2545;
  font-family: var(--font-heading);
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.text-gray-600 {
  color: #475569;
}

.mb-8 {
  margin-bottom: 2rem;
}

.flex {
  display: flex;
}

.space-x-2 > * + * {
  margin-left: 0.5rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.bg-white {
  background-color: #ffffff;
}

.shadow {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
}

.rounded-lg {
  border-radius: 0.5rem;
}

.overflow-hidden {
  overflow: hidden;
}

.min-w-full {
  min-width: 100%;
  width: 100%;
  border-collapse: collapse;
}

.divide-y > * + * {
  border-top: 1px solid #E2E8F0;
}

.divide-gray-200 > * + * {
  border-top: 1px solid #E2E8F0;
}

.bg-navy-900 {
  background-color: #0B2545;
}

.text-white {
  color: #ffffff;
}

.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.py-3 {
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
}

.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.px-2 {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.py-1 {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}

.text-left {
  text-align: left;
}

.text-xs {
  font-size: 0.75rem;
  line-height: 1rem;
}

.text-sm {
  font-size: 0.875rem;
  line-height: 1.45;
}

.font-medium {
  font-weight: 600;
}

.font-semibold {
  font-weight: 700;
}

.uppercase {
  text-transform: uppercase;
}

.tracking-wider {
  letter-spacing: 0.06em;
}

.text-gray-900 {
  color: #0F172A;
}

.bg-yellow-100 {
  background-color: #FEF3C7;
}

.text-yellow-800 {
  color: #92400E;
}

.bg-blue-100 {
  background-color: #DBEAFE;
}

.text-blue-800 {
  color: #1E40AF;
}

.bg-green-100 {
  background-color: #DCFCE7;
}

.text-green-800 {
  color: #166534;
}

.rounded {
  border-radius: 0.25rem;
}

#table-body tr:hover {
  background-color: #F8FAFC;
}

/* ==========================================================================
   BANNER DESTACADO MANIFIESTO DE SEGURIDAD (FULL WIDTH)
   ========================================================================== */
.w-full {
  width: 100%;
}

.bg-\[\#0B2545\] {
  background-color: #0B2545 !important;
}

.border-y-4 {
  border-top: 4px solid #D4AF37;
  border-bottom: 4px solid #D4AF37;
}

.border-\[\#D4AF37\] {
  border-color: #D4AF37 !important;
}

.text-\[\#D4AF37\] {
  color: #D4AF37 !important;
}

.py-16 {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.my-12 {
  margin-top: 3rem;
  margin-bottom: 3rem;
}

.shadow-xl {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.25), 0 10px 10px -5px rgba(0, 0, 0, 0.1);
}

.max-w-4xl {
  max-width: 56rem;
}

.text-center {
  text-align: center;
}

.space-y-6 > * + * {
  margin-top: 1.5rem;
}

.text-6xl {
  font-size: 4.5rem;
  line-height: 1;
}

.font-serif {
  font-family: var(--font-quote), 'Merriweather', Georgia, serif;
}

.leading-none {
  line-height: 1;
}

.text-xl {
  font-size: 1.25rem;
  line-height: 1.75rem;
}

@media (min-width: 768px) {
  .md\:text-2xl {
    font-size: 1.5rem;
    line-height: 2.25rem;
  }
}

.font-light {
  font-weight: 300;
}

.italic {
  font-style: italic;
}

.leading-relaxed {
  line-height: 1.75;
}

.tracking-wide {
  letter-spacing: 0.025em;
}

.text-gray-100 {
  color: #F1F5F9;
}

.pt-4 {
  padding-top: 1rem;
}

.border-t {
  border-top-width: 1px;
}

.border-gray-700 {
  border-top: 1px solid #334155;
}

.max-w-xs {
  max-width: 20rem;
}

.tracking-widest {
  letter-spacing: 0.12em;
}

.text-gray-300 {
  color: #CBD5E1;
}

/* ==========================================================================
   UTILIDADES PARA LA CAJA DE KPIs DE IMPACTO
   ========================================================================== */
.bg-\[\#F3F6F9\] {
  background-color: #F3F6F9 !important;
}

.border-gray-200 {
  border-color: #E2E8F0 !important;
}

.border-gray-300 {
  border-color: #CBD5E1 !important;
}

.rounded-2xl {
  border-radius: 1rem !important;
}

.p-6 {
  padding: 1.5rem !important;
}

.shadow-sm {
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05) !important;
}

.max-w-lg {
  max-width: 32rem !important;
  width: 100%;
}

.justify-between {
  justify-content: space-between !important;
}

.items-center {
  align-items: center !important;
}

.pb-4 {
  padding-bottom: 1rem !important;
}

.mb-4 {
  margin-bottom: 1rem !important;
}

.border-b {
  border-bottom-width: 1px !important;
  border-bottom-style: solid !important;
}

.space-y-4 > * + * {
  margin-top: 0.85rem !important;
}

.py-2 {
  padding-top: 0.5rem !important;
  padding-bottom: 0.5rem !important;
}

.text-gray-700 {
  color: #334155 !important;
}

.text-base {
  font-size: 1rem !important;
  line-height: 1.5rem !important;
}

.text-right {
  text-align: right !important;
}

.whitespace-nowrap {
  white-space: nowrap !important;
}

.text-\[\#0B2545\] {
  color: #0B2545 !important;
}

/* ==========================================================================
   SECCIÓN DE REORDENAMIENTO VIAL Y CIRCUITO COMERCIAL (AV. PARAGUAY)
   ========================================================================== */
.max-w-6xl {
  max-width: 72rem !important;
}

.mt-1 {
  margin-top: 0.25rem !important;
}

.mt-2 {
  margin-top: 0.5rem !important;
}

.max-w-3xl {
  max-width: 48rem !important;
}

.border-l-4 {
  border-left-width: 4px !important;
  border-left-style: solid !important;
}

.border-\[\#0B2545\] {
  border-color: #0B2545 !important;
}

.rounded-r-xl {
  border-top-right-radius: 0.75rem !important;
  border-bottom-right-radius: 0.75rem !important;
}

.mb-10 {
  margin-bottom: 2.5rem !important;
}

.items-start {
  align-items: flex-start !important;
}

.space-x-4 > * + * {
  margin-left: 1rem !important;
}

.grid {
  display: grid !important;
}

.gap-6 {
  gap: 1.5rem !important;
}

@media (min-width: 768px) {
  .md\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

.rounded-xl {
  border-radius: 0.75rem !important;
}

.w-10 {
  width: 2.5rem !important;
}

.h-10 {
  height: 2.5rem !important;
}

.rounded-full {
  border-radius: 9999px !important;
}

.justify-center {
  justify-content: center !important;
}

.text-lg {
  font-size: 1.125rem !important;
  line-height: 1.75rem !important;
}

.transition-shadow {
  transition: box-shadow 0.2s ease, transform 0.2s ease !important;
}

.hover\:shadow-md:hover {
  box-shadow: 0 6px 12px -2px rgba(11, 37, 69, 0.1), 0 3px 6px -2px rgba(0, 0, 0, 0.05) !important;
  transform: translateY(-2px);
}

/* ==========================================================================
   UTILIDADES PARA TARJETAS RESTRUCTURADAS DE ETAPAS / INTERVENCIONES
   ========================================================================== */
.grid-cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

.border-gray-100 {
  border-color: #F1F5F9 !important;
}

.text-gray-400 {
  color: #94A3B8 !important;
}

.text-gray-800 {
  color: #1E293B !important;
}

.text-green-600 {
  color: #16A34A !important;
}

.px-3 {
  padding-left: 0.75rem !important;
  padding-right: 0.75rem !important;
}

.mb-6 {
  margin-bottom: 1.5rem !important;
}

.transition-all {
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.block {
  display: block !important;
}

.inline-block {
  display: inline-block !important;
}

/* ==========================================================================
   UTILIDADES ADICIONALES PARA METADATOS DE TARJETA (ESPACIADO Y TIPOGRAFÍA)
   ========================================================================== */
.pt-6 {
  padding-top: 1.5rem !important;
}

.mt-6 {
  margin-top: 1.5rem !important;
}

.border-t {
  border-top-width: 1px !important;
  border-top-style: solid !important;
}

.border-gray-200 {
  border-color: #E2E8F0 !important;
}

.space-y-5 > * + * {
  margin-top: 1.25rem !important;
}

.grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
}

@media (min-width: 768px) {
  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

.gap-x-6 {
  column-gap: 1.5rem !important;
}

.gap-y-5 {
  row-gap: 1.25rem !important;
}

.text-\[11px\] {
  font-size: 11px !important;
  line-height: 1.15rem !important;
}

.tracking-widest {
  letter-spacing: 0.1em !important;
}

.mb-1 {
  margin-bottom: 0.35rem !important;
}

.text-sm {
  font-size: 0.875rem !important;
}

.leading-snug {
  line-height: 1.375 !important;
}

.px-2\.5 {
  padding-left: 0.625rem !important;
  padding-right: 0.625rem !important;
}

.py-1 {
  padding-top: 0.25rem !important;
  padding-bottom: 0.25rem !important;
}

.font-extrabold {
  font-weight: 800 !important;
}

.text-emerald-800 {
  color: #065F46 !important;
}

.bg-emerald-100 {
  background-color: #D1FAE5 !important;
}

.rounded-md {
  border-radius: 0.375rem !important;
}

/* ==========================================================================
   MÓDULO DE AUTENTICACIÓN Y SEGURIDAD: GATEKEEPING LANDING
   ========================================================================== */
html.auth-locked, 
body.auth-locked {
  overflow: hidden !important;
  height: 100vh !important;
}

.auth-gatekeeper-overlay {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: radial-gradient(circle at 50% 20%, #153A6B 0%, #0B2545 60%, #061527 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  overflow-y: auto;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.auth-overlay-exit {
  opacity: 0;
  transform: scale(0.98);
  pointer-events: none;
}

.auth-modal-card {
  width: 100%;
  max-width: 540px;
  background: rgba(11, 37, 69, 0.85);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 1.25rem;
  padding: 2.5rem 2rem 2rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.65), 0 0 40px rgba(212, 175, 55, 0.15);
  text-align: center;
  position: relative;
  margin: auto;
  color: #FFFFFF;
}

.auth-emblem-wrapper {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  padding: 4px;
  background: linear-gradient(135deg, #D4AF37 0%, #8B0000 50%, #0B2545 100%);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-brand-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid #FFFFFF;
}

.auth-badge-pill {
  display: inline-block;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.5);
  color: #D4AF37;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  padding: 0.35rem 1rem;
  border-radius: 9999px;
  margin-bottom: 0.85rem;
  text-transform: uppercase;
}

.auth-title {
  font-size: 1.375rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.3;
  margin-bottom: 0.4rem;
  font-family: var(--font-heading, inherit);
}

.auth-subtitle {
  font-size: 0.8125rem;
  color: #94A3B8;
  margin-bottom: 1.75rem;
  letter-spacing: 0.02em;
}

.auth-form {
  margin-bottom: 1.75rem;
  text-align: left;
}

.auth-input-group {
  margin-bottom: 1.25rem;
}

.auth-input-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #CBD5E1;
  margin-bottom: 0.5rem;
}

.auth-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.auth-lock-icon {
  position: absolute;
  left: 1rem;
  color: #D4AF37;
  pointer-events: none;
}

.auth-input-field {
  width: 100%;
  background: rgba(15, 23, 42, 0.75);
  border: 1.5px solid rgba(212, 175, 55, 0.4);
  color: #FFFFFF;
  border-radius: 0.75rem;
  padding: 0.85rem 3rem 0.85rem 2.85rem;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.auth-input-field:focus {
  outline: none;
  border-color: #D4AF37;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.25);
  background: rgba(15, 23, 42, 0.95);
}

.auth-input-error {
  border-color: #EF4444 !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.3) !important;
  animation: authShake 0.4s ease;
}

@keyframes authShake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-6px); }
  40%, 80% { transform: translateX(6px); }
}

.auth-pwd-toggle {
  position: absolute;
  right: 0.85rem;
  background: transparent;
  border: none;
  color: #94A3B8;
  cursor: pointer;
  padding: 0.4rem;
  border-radius: 0.375rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
}

.auth-pwd-toggle:hover {
  color: #FFFFFF;
}

.auth-error-msg {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #F87171;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  padding: 0.65rem 0.85rem;
  border-radius: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  margin-top: 0.65rem;
  letter-spacing: 0.02em;
}

.auth-submit-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  background: linear-gradient(135deg, #D4AF37 0%, #B89025 100%);
  color: #0B2545;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  padding: 0.9rem 1.5rem;
  border: none;
  border-radius: 0.75rem;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.auth-submit-btn:hover {
  background: linear-gradient(135deg, #E5C358 0%, #C49B2C 100%);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.45);
  transform: translateY(-1px);
}

.auth-submit-btn:active {
  transform: translateY(1px);
}

.auth-disclaimer-box {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.75rem;
  padding: 1rem 1.15rem;
  text-align: left;
}

.auth-disclaimer-title {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.625rem;
  font-weight: 800;
  color: #D4AF37;
  letter-spacing: 0.08em;
  margin-bottom: 0.45rem;
  text-transform: uppercase;
}

.auth-disclaimer-text {
  font-size: 0.6875rem;
  line-height: 1.5;
  color: #94A3B8;
  margin: 0;
}

/* ==========================================================================
   BOTÓN EN BARRA INSTITUCIONAL SUPERIOR
   ========================================================================== */
.top-bar-logout-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #E2E8F0;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.65rem;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-left: 0.5rem;
}

.top-bar-logout-btn:hover {
  background: rgba(139, 0, 0, 0.35);
  border-color: rgba(239, 68, 68, 0.4);
  color: #FFFFFF;
}

/* ==========================================================================
   DISCLAIMER EN PIE DE PÁGINA (FOOTER)
   ========================================================================== */
.footer-disclaimer-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-left: 4px solid #D4AF37;
  border-radius: 0.75rem;
  padding: 1.25rem 1.5rem;
  margin: 2.5rem 0 1.5rem;
}

.footer-disclaimer-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-gold, #D4AF37);
  margin-bottom: 0.5rem;
}

.footer-disclaimer-title {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-disclaimer-text {
  font-size: 0.75rem;
  line-height: 1.6;
  color: #94A3B8;
  margin: 0;
}

/* ==========================================================================
   HEADER FLOTANTE RESPONSIVO, MENÚ AGRUPADO Y DRAWER MOBILE (UI/UX)
   ========================================================================== */
.sticky {
  position: sticky !important;
}

.top-0 {
  top: 0 !important;
}

.z-40 {
  z-index: 40 !important;
}

.bg-white\/95 {
  background-color: rgba(255, 255, 255, 0.95) !important;
}

.backdrop-blur-md {
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
}

.max-w-7xl {
  max-width: 80rem !important;
}

.mx-auto {
  margin-left: auto !important;
  margin-right: auto !important;
}

.px-4 {
  padding-left: 1rem !important;
  padding-right: 1rem !important;
}

.px-6 {
  padding-left: 1.5rem !important;
  padding-right: 1.5rem !important;
}

.py-6 {
  padding-top: 1.5rem !important;
  padding-bottom: 1.5rem !important;
}

.py-2 {
  padding-top: 0.5rem !important;
  padding-bottom: 0.5rem !important;
}

.py-3 {
  padding-top: 0.75rem !important;
  padding-bottom: 0.75rem !important;
}

.py-2\.5 {
  padding-top: 0.625rem !important;
  padding-bottom: 0.625rem !important;
}

.px-5 {
  padding-left: 1.25rem !important;
  padding-right: 1.25rem !important;
}

.pl-3 {
  padding-left: 0.75rem !important;
}

.h-20 {
  height: 5rem !important;
}

.h-12 {
  height: 3rem !important;
}

.w-auto {
  width: auto !important;
}

.w-56 {
  width: 14rem !important;
}

.w-60 {
  width: 15rem !important;
}

.w-7 {
  width: 1.75rem !important;
}

.h-7 {
  height: 1.75rem !important;
}

.w-4 {
  width: 1rem !important;
}

.h-4 {
  height: 1rem !important;
}

.shrink-0 {
  flex-shrink: 0 !important;
}

.object-contain {
  object-fit: contain !important;
}

.space-x-8 > * + * {
  margin-left: 2rem !important;
}

.space-x-4 > * + * {
  margin-left: 1rem !important;
}

.space-x-3 > * + * {
  margin-left: 0.75rem !important;
}

.space-x-1 > * + * {
  margin-left: 0.25rem !important;
}

.space-y-1 > * + * {
  margin-top: 0.25rem !important;
}

.space-y-2 > * + * {
  margin-top: 0.5rem !important;
}

.space-y-4 > * + * {
  margin-top: 1rem !important;
}

.leading-none {
  line-height: 1 !important;
}

.tracking-wider {
  letter-spacing: 0.05em !important;
}

.text-\[10px\] {
  font-size: 10px !important;
}

.cursor-pointer {
  cursor: pointer !important;
}

.text-gray-700 {
  color: #374151 !important;
}

.text-gray-600 {
  color: #4B5563 !important;
}

.text-gray-800 {
  color: #1F2937 !important;
}

.text-\[\#0B2545\] {
  color: #0B2545 !important;
}

.text-\[\#D4AF37\] {
  color: #D4AF37 !important;
}

.hover\:text-\[\#0B2545\]:hover {
  color: #0B2545 !important;
}

.bg-\[\#8B0000\] {
  background-color: #8B0000 !important;
}

.hover\:bg-\[\#6b0000\]:hover {
  background-color: #6B0000 !important;
}

.hover\:bg-gray-50:hover {
  background-color: #F9FAFB !important;
}

.hover\:bg-gray-100:hover {
  background-color: #F3F4F6 !important;
}

.border-b {
  border-bottom-width: 1px !important;
  border-bottom-style: solid !important;
}

.border-gray-200 {
  border-color: #E5E7EB !important;
}

.shadow-sm {
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05) !important;
}

.shadow-md {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.05) !important;
}

.shadow-xl {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.04) !important;
}

.rounded-lg {
  border-radius: 0.5rem !important;
}

.relative {
  position: relative !important;
}

.absolute {
  position: absolute !important;
}

.left-0 {
  left: 0 !important;
}

.top-full {
  top: 100% !important;
}

.fill-current {
  fill: currentColor !important;
}

.hidden {
  display: none !important;
}

/* Dropdowns Desktop con animación suave */
.group {
  position: relative;
}

.group:hover > .dropdown-menu,
.group:hover > .group-hover\:block {
  display: block !important;
  animation: dropdownSlideIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.group:hover svg {
  transform: rotate(180deg);
}

.group svg {
  transition: transform 0.2s ease;
}

@keyframes dropdownSlideIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dropdown-menu {
  z-index: 50;
  border-radius: 0.75rem;
  margin-top: 0.25rem;
}

/* Drawer Mobile con animación */
#mobileMenu:not(.hidden) {
  animation: mobileDrawerSlide 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes mobileDrawerSlide {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Breakpoint Queries Responsivos */
@media (min-width: 640px) {
  .sm\:block {
    display: block !important;
  }
  .sm\:px-6 {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
  }
}

@media (max-width: 639px) {
  .sm\:block {
    display: none !important;
  }
}

@media (min-width: 1024px) {
  .lg\:px-8 {
    padding-left: 2rem !important;
    padding-right: 2rem !important;
  }
}

/* xl breakpoint: 1280px */
@media (min-width: 1280px) {
  .xl\:flex {
    display: flex !important;
  }
  .xl\:hidden {
    display: none !important;
  }
}

@media (max-width: 1279px) {
  .xl\:flex {
    display: none !important;
  }
  .xl\:hidden {
    display: block !important;
  }
  button.xl\:hidden {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
  }
}

/* ==========================================================================
   TOMO II: PLATAFORMA ESTRATÉGICA, POSICIONAMIENTO Y RELATO DE CIUDAD
   Estilos específicos para las 5 secciones de lectura (2026 - 2031)
   ========================================================================== */

/* 1. Encabezado del Módulo Tomo II & Barra de Navegación Interna */
.tomo2-master-header {
  background: linear-gradient(135deg, #061527 0%, #0B2545 60%, #133966 100%);
  color: #FFFFFF;
  padding: 4.5rem 0 3.5rem;
  border-top: 4px solid var(--color-gold);
  border-bottom: 1px solid rgba(212, 175, 55, 0.3);
  position: relative;
  overflow: hidden;
}

.tomo2-master-header::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.tomo2-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.45);
  color: var(--color-gold);
  font-size: 0.8125rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.45rem 1.15rem;
  border-radius: 9999px;
  margin-bottom: 1.25rem;
}

.tomo2-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 900;
  color: #FFFFFF;
  line-height: 1.15;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

@media (min-width: 768px) {
  .tomo2-title {
    font-size: 3.25rem;
  }
}

.tomo2-subtitle {
  font-size: 1.15rem;
  color: #CBD5E1;
  max-width: 860px;
  line-height: 1.7;
  font-weight: 400;
  margin-bottom: 2.25rem;
}

/* Barra de Navegación Interna por Capítulos */
.tomo2-nav-wrapper {
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 0.75rem 1rem;
  margin-top: 1rem;
}

.tomo2-nav-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  justify-content: flex-start;
}

.tomo2-nav-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 1.1rem;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #E2E8F0;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.25s ease;
  white-space: nowrap;
}

.tomo2-nav-pill:hover {
  background: rgba(212, 175, 55, 0.2);
  border-color: var(--color-gold);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.tomo2-nav-pill .pill-num {
  color: var(--color-gold);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.75rem;
  background: rgba(212, 175, 55, 0.15);
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
}

/* Secciones Generales del Tomo II */
.tomo2-section-block {
  padding: 5rem 0;
  position: relative;
}

.tomo2-section-header {
  margin-bottom: 3rem;
  max-width: 900px;
}

.tomo2-section-pretitle {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-gold);
  margin-bottom: 0.5rem;
}

.tomo2-section-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.25;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .tomo2-section-title {
    font-size: 2.6rem;
  }
}

.tomo2-section-desc {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* 2. Sección 01: Visión Estratégica y Soberanía Territorial */
.vision-manifest-box {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-left: 6px solid var(--color-secondary);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2.25rem;
  box-shadow: var(--shadow-md);
  margin-bottom: 3rem;
  position: relative;
}

.vision-lead-text {
  font-size: 1.15rem;
  color: var(--color-primary);
  line-height: 1.8;
  font-weight: 500;
}

.vision-lead-text strong {
  color: var(--color-secondary);
  font-weight: 700;
}

.vision-axes-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
}

@media (max-width: 1024px) {
  .vision-axes-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
  }
}

@media (max-width: 640px) {
  .vision-axes-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

.vision-axis-card {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.vision-axis-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: #CBD5E1;
}

.axis-icon-badge {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.axis-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.axis-desc {
  font-size: 0.925rem;
  color: var(--color-text-main);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.axis-bullet-list {
  list-style: none;
  padding: 0;
  margin-top: auto;
  border-top: 1px solid var(--color-border-subtle);
  padding-top: 1rem;
}

.axis-bullet-list li {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  line-height: 1.45;
}

.axis-bullet-list li::before {
  content: "•";
  color: var(--color-gold);
  font-weight: bold;
  font-size: 1.1rem;
}

/* 3. Sección 02: Grilla de los 7 Saltos (3 cols desktop, 2 cols tablet, 1 col mobile) */
.saltos-3col-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (max-width: 1024px) {
  .saltos-3col-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
  }
}

@media (max-width: 767px) {
  .saltos-3col-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

.border-amber { border-top-color: #D97706 !important; }
.border-amber .pilar-header { color: #D97706; }
.border-amber .pilar-icon { background: #FEF3C7; color: #D97706; }

/* 4. Sección 03: Manifiesto Maestro (Fondo Claro con Imagen Histórica de las 7 Caídas) */
.manifesto-master-banner {
  width: 100%;
  background-color: #F8FAFC;
  background-image: 
    linear-gradient(to bottom, rgba(255, 255, 255, 0.94) 0%, rgba(248, 250, 252, 0.82) 35%, rgba(241, 245, 249, 0.85) 70%, rgba(255, 255, 255, 0.97) 100%),
    radial-gradient(ellipse at center, rgba(255, 255, 255, 0.5) 0%, rgba(248, 250, 252, 0.88) 100%),
    url('../assets/images/saltos-historico-waterfalls.jpg');
  background-position: center 30%;
  background-size: cover;
  background-repeat: no-repeat;
  color: #0B2545;
  padding: 6.5rem 1.5rem;
  border-top: 1px solid rgba(212, 175, 55, 0.45);
  border-bottom: 1px solid rgba(212, 175, 55, 0.45);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 10px 30px rgba(11, 37, 69, 0.04);
  position: relative;
  text-align: center;
  overflow: hidden;
}

.manifesto-filigrana-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 15%, rgba(212, 175, 55, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.manifesto-inner-container {
  max-width: 960px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.manifesto-master-quote-mark {
  font-family: 'Cinzel', 'Merriweather', Georgia, serif;
  font-size: 5.5rem;
  line-height: 1;
  color: #D4AF37;
  opacity: 0.85;
  margin-bottom: -1rem;
  filter: drop-shadow(0 2px 4px rgba(212, 175, 55, 0.25));
  user-select: none;
}

.manifesto-master-text {
  font-family: 'Merriweather', 'Cinzel', Georgia, serif;
  font-style: italic;
  font-size: 1.25rem;
  line-height: 1.95;
  color: #0B2545; /* Azul Institucional Profundo */
  font-weight: 400;
  letter-spacing: 0.01em;
  margin-bottom: 2rem;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.95), 0 2px 8px rgba(11, 37, 69, 0.05);
}

@media (min-width: 768px) {
  .manifesto-master-text {
    font-size: 1.5rem;
    line-height: 2.15;
  }
}

.manifesto-master-text p {
  margin-bottom: 1.75rem;
}

/* Cierre / Slogan Final Destacado */
.manifesto-slogan-wrap {
  margin-top: 2.5rem;
  display: inline-block;
  position: relative;
  padding: 0.5rem 1.5rem;
}

.manifesto-slogan-highlight {
  font-family: var(--font-heading);
  font-style: normal;
  font-weight: 800;
  font-size: 1.5rem;
  line-height: 1.4;
  color: #0B2545;
  letter-spacing: 0.02em;
  margin: 0;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.9);
}

@media (min-width: 768px) {
  .manifesto-slogan-highlight {
    font-size: 1.85rem;
  }
}

.manifesto-slogan-prefix {
  color: #0B2545;
}

.manifesto-slogan-accent {
  color: #B48A1C; /* Dorado Soberano de Alto Contraste */
  position: relative;
  display: inline-block;
  border-bottom: 2.5px solid #D4AF37;
  padding-bottom: 2px;
}

/* Pie Institucional */
.manifesto-master-footer {
  margin-top: 2.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(212, 175, 55, 0.35);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}

.manifesto-master-tag {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(11, 37, 69, 0.75); /* Azul Muted */
}

.manifesto-master-authority {
  font-size: 0.875rem;
  color: #475569;
  font-weight: 600;
}

/* 5. Sección 04: Plan de Fluidización Vial y Redistribución Comercial */
.vial-initiator-card {
  background: linear-gradient(135deg, #FFFFFF 0%, #F8FAFC 100%);
  border: 1px solid var(--color-border);
  border-left: 6px solid var(--color-primary);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 2.5rem;
}

.vial-axes-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  margin-bottom: 2.5rem;
}

@media (max-width: 1024px) {
  .vial-axes-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
  }
}

@media (max-width: 640px) {
  .vial-axes-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

.vial-axis-card {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.vial-axis-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.vial-badge-flow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
}

.flow-in { background: #EFF6FF; color: #1E40AF; border: 1px solid #BFDBFE; }
.flow-out { background: #ECFDF5; color: #065F46; border: 1px solid #A7F3D0; }
.flow-commercial { background: #FFFBEB; color: #92400E; border: 1px solid #FDE68A; }

/* 6. Sección 05: Arquitectura de Submarcas Territoriales */
.subbrands-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  margin-bottom: 2.5rem;
}

@media (max-width: 1024px) {
  .subbrands-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
  }
}

@media (max-width: 640px) {
  .subbrands-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

.subbrand-card {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.subbrand-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: #CBD5E1;
}

.subbrand-card-header {
  padding: 2rem 1.75rem 1.5rem;
  border-bottom: 1px solid var(--color-border-subtle);
  position: relative;
}

.subbrand-header-turismo {
  background: linear-gradient(135deg, #1B4332 0%, #2D6A4F 100%);
  color: #FFFFFF;
}

.subbrand-header-invierte {
  background: linear-gradient(135deg, #0B2545 0%, #1E3A8A 100%);
  color: #FFFFFF;
}

.subbrand-header-cultura {
  background: linear-gradient(135deg, #8B0000 0%, #A61C1C 100%);
  color: #FFFFFF;
}

.subbrand-endorsement-tag {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-gold);
  margin-bottom: 0.5rem;
  display: block;
}

.subbrand-name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 900;
  color: #FFFFFF;
  line-height: 1.2;
}

.subbrand-card-body {
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.subbrand-focus-desc {
  font-size: 0.95rem;
  color: var(--color-text-main);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.subbrand-meta-box {
  background: var(--color-surface-subtle);
  border-radius: var(--radius-md);
  padding: 1.15rem;
  margin-top: auto;
  border-left: 3px solid var(--color-primary);
}

.subbrand-meta-label {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  display: block;
  margin-bottom: 0.25rem;
}

.subbrand-meta-val {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-primary);
}

/* ==========================================================================
   DIAGRAMAS TÉCNICOS & RECURSOS VISUALES DEL TOMO II
   ========================================================================== */

/* Diagrama 01: Conexión Histórica 7 Caídas -> 7 Saltos del Desarrollo */
.diagram-saltos-wrapper {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-md);
  margin-bottom: 3.5rem;
  position: relative;
  overflow: hidden;
}

.diagram-saltos-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: linear-gradient(180deg, #8B0000 0%, #0038A8 50%, #D4AF37 100%);
}

.diagram-saltos-header {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 2.5rem;
}

.diagram-saltos-flow {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.caidas-origin-node {
  background: linear-gradient(135deg, #0B2545 0%, #133966 100%);
  color: #FFFFFF;
  padding: 1.5rem 2rem;
  border-radius: var(--radius-lg);
  border: 2px solid var(--color-gold);
  box-shadow: 0 10px 25px rgba(11, 37, 69, 0.2);
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

.caidas-origin-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.caidas-origin-sub {
  font-size: 0.875rem;
  color: #CBD5E1;
  margin-top: 0.35rem;
}

.saltos-cascade-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 1rem;
}

@media (max-width: 1024px) {
  .saltos-cascade-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .saltos-cascade-grid {
    grid-template-columns: 1fr;
  }
}

.cascade-step-card {
  background: #F8FAFC;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1rem;
  text-align: center;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cascade-step-card:hover {
  background: #FFFFFF;
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #CBD5E1;
}

.cascade-num-badge {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.8rem;
  margin-bottom: 0.75rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.cascade-title {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.25;
  margin-bottom: 0.35rem;
}

.cascade-focus {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  line-height: 1.35;
}

/* Diagrama 02: Organigrama Jerárquico de Arquitectura de Submarcas */
.organigram-container {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 3rem 2rem;
  box-shadow: var(--shadow-md);
  margin-bottom: 3rem;
  text-align: center;
}

.organigram-master-node {
  background: linear-gradient(135deg, #0B2545 0%, #133966 100%);
  color: #FFFFFF;
  border: 2px solid var(--color-gold);
  border-radius: 16px;
  padding: 1.75rem 2.5rem;
  max-width: 520px;
  margin: 0 auto;
  box-shadow: 0 12px 30px rgba(11, 37, 69, 0.25);
  position: relative;
}

.organigram-master-badge {
  display: inline-block;
  background: rgba(212, 175, 55, 0.2);
  color: var(--color-gold);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  border: 1px solid rgba(212, 175, 55, 0.4);
  margin-bottom: 0.5rem;
}

.organigram-master-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.organigram-connector-line {
  width: 2px;
  height: 40px;
  background: var(--color-gold);
  margin: 0 auto;
  position: relative;
}

.organigram-branch-horizontal {
  height: 2px;
  background: var(--color-gold);
  max-width: 780px;
  margin: 0 auto;
  position: relative;
}

.organigram-subnodes-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  margin-top: 40px;
  position: relative;
}

@media (max-width: 768px) {
  .organigram-subnodes-grid {
    grid-template-columns: 1fr;
    margin-top: 20px;
  }
  .organigram-branch-horizontal {
    display: none;
  }
}

.organigram-subnode {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.25rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  position: relative;
}

.organigram-subnode::before {
  content: "";
  position: absolute;
  top: -40px;
  left: 50%;
  width: 2px;
  height: 40px;
  background: var(--color-gold);
}

@media (max-width: 768px) {
  .organigram-subnode::before {
    display: none;
  }
}

.organigram-subnode:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

/* Mapa Infográfico 03: Plan Vial Av. Paraguay */
.vial-map-card {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-bottom: 3rem;
}

.vial-map-header {
  background: #0B2545;
  color: #FFFFFF;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.vial-map-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.vial-map-svg-wrap {
  background: #F1F5F9;
  padding: 2.5rem 1.5rem 3.5rem 1.5rem;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
}

.vial-rotonda-bar {
  background: #07172B;
  border: 2px solid var(--color-gold);
  box-shadow: 0 12px 35px rgba(7, 23, 43, 0.4);
}

@media (max-width: 768px) {
  .vial-rotonda-bar {
    flex-direction: column;
    gap: 1.25rem;
    text-align: center;
    padding: 1.5rem 1rem !important;
    margin-left: 0.5rem !important;
    margin-right: 0.5rem !important;
  }
  .vial-rotonda-bar span {
    font-size: 0.75rem !important;
    width: 100%;
    justify-content: center;
    white-space: normal;
    word-break: break-word;
    line-height: 1.4;
  }
}

.vial-map-svg {
  width: 100%;
  min-width: 760px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.vial-map-legend {
  padding: 1.5rem 2rem;
  background: #FFFFFF;
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-main);
}

.legend-badge-sample {
  width: 24px;
  height: 8px;
  border-radius: 4px;
}

/* Hero Banner Manifiesto con Filigrana Dorada de Fondo */
.manifesto-filigrana-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 15% 20%, rgba(212, 175, 55, 0.07) 0%, transparent 40%),
    radial-gradient(circle at 85% 80%, rgba(212, 175, 55, 0.07) 0%, transparent 40%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23D4AF37' fill-opacity='0.04' fill-rule='evenodd'%3E%3Cpath d='M30 30L15 15H0v15l15 15 15-15zm0 0l15 15h15V30L45 15 30 30zm0 0L15 45v15h15l15-15-15-15zm0 0l15-15V0H30L15 15l15 15z'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

/* Galería Fotográfica de Apoyo del Tomo II */
.tomo2-gallery-section {
  padding: 4.5rem 0;
  background: #F8FAFC;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.tomo2-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
}

@media (max-width: 1024px) {
  .tomo2-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
  }
}

@media (max-width: 640px) {
  .tomo2-gallery-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

.tomo2-gallery-card {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.tomo2-gallery-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: #CBD5E1;
}

.gallery-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0B2545;
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.tomo2-gallery-card:hover .gallery-img {
  transform: scale(1.05);
}

.gallery-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(11, 37, 69, 0.85);
  backdrop-filter: blur(8px);
  color: var(--color-gold);
  border: 1px solid rgba(212, 175, 55, 0.5);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
}

.gallery-body {
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.gallery-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
  line-height: 1.35;
}

.gallery-caption {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   TOMO III: MANUAL DE IDENTIDAD VISUAL - ESTILOS DEDICADOS
   ========================================================================== */

/* 1. Header y Doctrinas */
.tomo3-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(212, 175, 55, 0.18);
  border: 1px solid rgba(212, 175, 55, 0.45);
  color: var(--color-gold);
  padding: 0.35rem 0.95rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.tomo3-nav-pills {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.tomo3-pill-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.45rem 1rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 700;
  transition: all var(--transition-fast);
}

.tomo3-pill-link:hover {
  background: var(--color-gold);
  color: #0B2545;
  border-color: var(--color-gold);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.35);
}

.doctrine-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem;
  margin-top: 2rem;
}

@media (max-width: 1024px) {
  .doctrine-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
  }
}

@media (max-width: 640px) {
  .doctrine-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

.doctrine-card {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 2.25rem 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.doctrine-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: #CBD5E1;
}

.doctrine-card-top-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
}

.doctrine-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.5rem;
}

.doctrine-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.doctrine-desc {
  font-size: 0.8875rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.doctrine-badge {
  font-size: 0.725rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: 9999px;
  align-self: flex-start;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* 2. Isotipo Interactivo */
.isotipo-interactive-box {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-top: 2rem;
}

.isotipo-layout-grid {
  display: grid;
  grid-template-columns: 460px 1fr;
  min-height: 540px;
}

@media (max-width: 1024px) {
  .isotipo-layout-grid {
    grid-template-columns: 1fr;
  }
}

.isotipo-visual-stage {
  background: radial-gradient(circle at center, #133966 0%, #061527 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 2rem;
  position: relative;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.isotipo-display-card {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 20px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  max-width: 320px;
  width: 100%;
}

.isotipo-main-img {
  width: 190px;
  height: 190px;
  object-fit: contain;
  border-radius: 12px;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.35));
  transition: all 0.4s ease;
}

.isotipo-caption-pill {
  margin-top: 1.25rem;
  background: rgba(212, 175, 55, 0.2);
  color: var(--color-gold);
  border: 1px solid rgba(212, 175, 55, 0.5);
  font-size: 0.725rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.3rem 0.85rem;
  border-radius: 9999px;
}

.isotipo-controls-panel {
  padding: 2.5rem 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.isotipo-tab-selector {
  display: flex;
  gap: 0.5rem;
  background: #F1F5F9;
  padding: 0.35rem;
  border-radius: 12px;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.isotipo-tab-btn {
  flex: 1;
  min-width: 130px;
  padding: 0.65rem 0.85rem;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #475569;
  text-align: center;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.isotipo-tab-btn.active {
  background: #0B2545;
  color: #FFFFFF;
  box-shadow: 0 3px 10px rgba(11, 37, 69, 0.2);
}

.isotipo-detail-content {
  animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.isotipo-detail-title {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.isotipo-detail-desc {
  font-size: 0.95rem;
  color: #334155;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.isotipo-spec-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 640px) {
  .isotipo-spec-grid {
    grid-template-columns: 1fr;
  }
}

.isotipo-spec-item {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  padding: 1rem;
}

.isotipo-spec-label {
  font-size: 0.7rem;
  font-weight: 800;
  color: #64748B;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.25rem;
}

.isotipo-spec-val {
  font-size: 0.875rem;
  font-weight: 700;
  color: #0F172A;
}

/* 3. Paleta Cromática Interactiva */
.palette-interactive-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

@media (max-width: 1024px) {
  .palette-interactive-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .palette-interactive-grid {
    grid-template-columns: 1fr;
  }
}

.color-swatch-premium {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.color-swatch-premium:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: #CBD5E1;
}

.color-swatch-canvas {
  height: 170px;
  width: 100%;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
  transition: all 0.3s ease;
}

.color-swatch-chip {
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  font-family: monospace;
}

.color-swatch-body {
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.color-swatch-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 0.25rem;
}

.color-swatch-role {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}

.color-swatch-meaning {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.55;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.color-codes-table {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  padding: 0.75rem;
  font-size: 0.775rem;
  margin-bottom: 1.25rem;
}

.color-code-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.25rem 0;
  border-bottom: 1px dashed #E2E8F0;
}

.color-code-row:last-child {
  border-bottom: none;
}

.color-code-key {
  font-weight: 700;
  color: #64748B;
}

.color-code-value {
  font-family: monospace;
  font-weight: 700;
  color: #0F172A;
}

.color-copy-actions {
  display: flex;
  gap: 0.5rem;
}

.btn-copy-code {
  flex: 1;
  background: #EFF6FF;
  color: #1E40AF;
  border: 1px solid #BFDBFE;
  padding: 0.5rem 0.5rem;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.btn-copy-code:hover {
  background: #1E40AF;
  color: #FFFFFF;
  border-color: #1E40AF;
}

/* Simulador de Contraste */
.contrast-simulator-box {
  background: #0B2545;
  color: #FFFFFF;
  border-radius: var(--radius-xl);
  padding: 2.25rem 2rem;
  margin-top: 2.5rem;
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.contrast-preview-stage {
  padding: 2.5rem 2rem;
  border-radius: var(--radius-lg);
  margin-top: 1.5rem;
  transition: background-color 0.3s ease, color 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* 4. Sistema Tipográfico */
.type-showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

@media (max-width: 1024px) {
  .type-showcase-grid {
    grid-template-columns: 1fr;
  }
}

.type-specimen-card {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.type-specimen-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: #CBD5E1;
}

.type-preview-banner {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 1.5rem;
  margin: 1.25rem 0;
  overflow-x: auto;
}

.type-alphabet-sample {
  font-size: 1.15rem;
  color: #1E293B;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
  line-height: 1.5;
}

/* 5. Submarcas Tomo III */
.submarcas-tomo3-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem;
  margin-top: 2rem;
}

@media (max-width: 1024px) {
  .submarcas-tomo3-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
  }
}

@media (max-width: 640px) {
  .submarcas-tomo3-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

.submarca-tomo3-card {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.submarca-tomo3-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.submarca-tomo3-head {
  padding: 1.75rem 1.5rem;
  color: #FFFFFF;
  position: relative;
}

.submarca-tomo3-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.2);
  margin-bottom: 0.5rem;
}

.submarca-tomo3-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1.2;
}

.submarca-tomo3-body {
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.submarca-tagline-box {
  background: #F8FAFC;
  border-left: 3px solid;
  padding: 0.75rem 1rem;
  border-radius: 0 8px 8px 0;
  margin-bottom: 1.25rem;
  font-size: 0.85rem;
  font-weight: 700;
}

.submarca-pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1rem;
}

.submarca-pill {
  font-size: 0.725rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  background: #F1F5F9;
  color: #475569;
}

/* 6. Sello de Calidad y Mobiliario */
.sello-calidad-card {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-top: 2rem;
}

.sello-grid-layout {
  display: grid;
  grid-template-columns: 460px 1fr;
}

@media (max-width: 1024px) {
  .sello-grid-layout {
    grid-template-columns: 1fr;
  }
}

.sello-image-col {
  background: #111827;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem;
}

.sello-img {
  max-width: 100%;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  border: 2px solid rgba(212, 175, 55, 0.4);
}

.sello-info-col {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.totem-showcase-card {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-top: 2.5rem;
}

.totem-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0B2545;
}

.totem-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.totem-schematic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  padding: 2rem;
  background: #F8FAFC;
  border-top: 1px solid #E2E8F0;
}

@media (max-width: 1024px) {
  .totem-schematic-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 1.5rem;
  }
}

@media (max-width: 640px) {
  .totem-schematic-grid {
    grid-template-columns: 1fr;
    padding: 1.25rem 1rem;
  }
}

.totem-spec-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 1.5rem;
}

/* Toast de Copiado */
.toast-notification {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: #0B2545;
  color: #FFFFFF;
  border: 1px solid var(--color-gold);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  padding: 0.85rem 1.4rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  z-index: 99999;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.toast-notification.show {
  transform: translateY(0);
  opacity: 1;
}

/* ==========================================================================
   TOMO IV: MOVILIDAD, CATASTRO Y GOBERNANZA - ESTILOS DEDICADOS
   ========================================================================== */

.tomo4-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(212, 175, 55, 0.18);
  border: 1px solid rgba(212, 175, 55, 0.45);
  color: var(--color-gold);
  padding: 0.35rem 0.95rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.tomo4-nav-pills {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.tomo4-pill-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.45rem 1rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 700;
  transition: all var(--transition-fast);
}

.tomo4-pill-link:hover {
  background: var(--color-gold);
  color: #0B2545;
  border-color: var(--color-gold);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.35);
}

/* Grid de Características del Plan Vial */
.vial-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

@media (max-width: 1024px) {
  .vial-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .vial-feature-grid {
    grid-template-columns: 1fr;
  }
}

.vial-feature-card {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.vial-feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: #CBD5E1;
}

/* Catastro Showcase */
.catastro-showcase-box {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-top: 2rem;
}

.catastro-grid-layout {
  display: grid;
  grid-template-columns: 460px 1fr;
}

@media (max-width: 1024px) {
  .catastro-grid-layout {
    grid-template-columns: 1fr;
  }
}

.catastro-image-col {
  background: #0B2545;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem;
}

.catastro-img {
  max-width: 100%;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
  border: 2px solid rgba(212, 175, 55, 0.4);
}

.catastro-info-col {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Nomenclatura Grid */
.nomenclatura-showcase-box {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-top: 2rem;
}

.nomenclatura-grid-layout {
  display: grid;
  grid-template-columns: 1fr 460px;
}

@media (max-width: 1024px) {
  .nomenclatura-grid-layout {
    grid-template-columns: 1fr;
  }
}

.nomenclatura-image-col {
  background: #0F172A;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem;
}

.nomenclatura-img {
  max-width: 100%;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
  border: 2px solid rgba(212, 175, 55, 0.4);
}

/* Gobernanza & Ente Mixto CDMC */
.cdmc-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem;
  margin-top: 2rem;
}

@media (max-width: 1024px) {
  .cdmc-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
  }
}

@media (max-width: 640px) {
  .cdmc-card-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

.cdmc-card {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.cdmc-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: #CBD5E1;
}

/* Tabla de Impacto y Beneficios Urbanos */
.impact-table-card {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-top: 2.5rem;
}

.impact-table-wrap {
  overflow-x: auto;
}

.impact-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.impact-table th {
  background: #0B2545;
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 0.825rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 1.15rem 1.25rem;
  border-bottom: 2px solid var(--color-gold);
}

.impact-table td {
  padding: 1.15rem 1.25rem;
  font-size: 0.85rem;
  color: #334155;
  border-bottom: 1px solid #E2E8F0;
  line-height: 1.6;
}

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

.impact-table tr:hover td {
  background-color: #F8FAFC;
}

.impact-beneficiary-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 800;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
}

/* ==========================================================================
   GLOBAL RESPONSIVE REINFORCEMENT & FLUID LAYOUT
   ========================================================================== */
html, body {
  overflow-x: hidden !important;
  max-width: 100vw;
}

/* Tablas, infografías y diagramas con scroll horizontal suave en mobile */
.impact-table-wrap,
.vial-map-svg-wrap,
.overflow-x-auto {
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
}

/* Prevenir desbordamiento de títulos largos en pantallas pequeñas */
h1, h2, h3, h4, h5, h6,
.tomo2-title,
.tomo2-section-title,
.hero-title,
.section-title {
  overflow-wrap: break-word;
  word-break: break-word;
}

@media (max-width: 640px) {
  .container {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  
  .tomo2-section-title {
    font-size: 1.75rem !important;
    line-height: 1.25 !important;
  }

  .tomo2-title {
    font-size: 2rem !important;
    line-height: 1.2 !important;
  }

  .hero-title {
    font-size: 2.15rem !important;
    line-height: 1.2 !important;
  }

  .manifesto-master-text {
    font-size: 1.15rem !important;
    line-height: 1.75 !important;
  }

  .manifesto-master-quote-mark {
    font-size: 3.5rem !important;
  }

  .manifesto-master-banner {
    padding: 4rem 1rem !important;
  }

  .manifesto-slogan-highlight {
    font-size: 1.25rem !important;
    line-height: 1.4 !important;
  }

  .manifesto-slogan-wrap {
    padding: 0.25rem 0.5rem !important;
    margin-top: 2rem !important;
  }

  .catastro-info-col,
  .nomenclatura-image-col,
  .catastro-image-col {
    padding: 1.5rem !important;
  }

  .tomo2-nav-pills {
    flex-direction: column;
    align-items: stretch;
  }

  .tomo2-nav-pill {
    width: 100%;
    justify-content: flex-start;
  }
}

/* ==========================================================================
   ECOSISTEMA CIRCULAR DE LOS 7 SALTOS DEL DESARROLLO (INDEX.HTML)
   ========================================================================== */
.ecosistema-section {
  position: relative;
  background: radial-gradient(circle at 50% 25%, #102C4E 0%, #07172B 55%, #030D18 100%);
  color: #FFFFFF;
  padding: 6.5rem 0 7rem;
  overflow: hidden;
  border-top: 1px solid rgba(212, 175, 55, 0.3);
  border-bottom: 2px solid var(--color-gold);
}

.ecosistema-bg-mesh {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: 
    radial-gradient(circle at 15% 20%, rgba(212, 175, 55, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 85% 80%, rgba(0, 56, 168, 0.15) 0%, transparent 45%),
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 40px 40px, 40px 40px;
  opacity: 0.85;
}

.ecosistema-radial-glow {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 950px;
  height: 950px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, rgba(11, 37, 69, 0) 70%);
  pointer-events: none;
  z-index: 1;
}

.ecosistema-header {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 880px;
  margin: 0 auto 3.5rem;
}

.ecosistema-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.45);
  color: var(--color-gold);
  padding: 0.45rem 1.25rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  box-shadow: 0 0 25px rgba(212, 175, 55, 0.2);
}

.ecosistema-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}

.ecosistema-title .gold-accent {
  color: #D4AF37;
  background: linear-gradient(135deg, #FFE79A 0%, #D4AF37 50%, #B88B12 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ecosistema-subtitle {
  font-size: 1.1rem;
  color: #CBD5E1;
  line-height: 1.7;
  max-width: 780px;
  margin: 0 auto;
}

/* Núcleo Central Institucional */
.ecosistema-core-hub {
  position: relative;
  z-index: 2;
  background: linear-gradient(135deg, rgba(11, 37, 69, 0.85) 0%, rgba(4, 18, 36, 0.95) 100%);
  border: 2px solid rgba(212, 175, 55, 0.5);
  border-radius: 24px;
  padding: 2rem 2.5rem;
  margin-bottom: 3rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45), 0 0 35px rgba(212, 175, 55, 0.18);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.ecosistema-core-left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex: 1;
  min-width: 300px;
}

.core-emblem-orb {
  position: relative;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0B2545 0%, #163868 100%);
  border: 2px solid var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 25px rgba(212, 175, 55, 0.4);
}

.core-emblem-orb img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 50%;
}

.core-orbit-ring {
  position: absolute;
  inset: -8px;
  border: 1px dashed rgba(212, 175, 55, 0.55);
  border-radius: 50%;
  animation: rotateOrbit 16s linear infinite;
}

@keyframes rotateOrbit {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.core-hub-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 900;
  color: #FFFFFF;
  line-height: 1.25;
}

.core-hub-title span {
  display: block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 0.25rem;
}

.core-hub-desc {
  font-size: 0.875rem;
  color: #94A3B8;
  line-height: 1.55;
  margin-top: 0.35rem;
}

.btn-ecosistema-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #D4AF37 0%, #B48A05 100%);
  color: #0B2545;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(212, 175, 55, 0.35);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-ecosistema-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.5);
  color: #07172B;
}

/* Grilla Circular de los 7 Nodos Interconectados */
.ecosistema-nodes-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}

/* Tarjeta Nodo de Salto (Glassmorphism) */
.eco-node-card {
  position: relative;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  text-decoration: none;
  color: #FFFFFF;
  cursor: pointer;
}

.eco-node-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: transparent;
  transition: all 0.3s ease;
}

/* Acentos de Borde Superior por Salto */
.eco-node-card.salto-1::before { background: linear-gradient(90deg, #8B0000, #D4AF37); }
.eco-node-card.salto-2::before { background: linear-gradient(90deg, #0038A8, #38BDF8); }
.eco-node-card.salto-3::before { background: linear-gradient(90deg, #D4AF37, #F59E0B); }
.eco-node-card.salto-4::before { background: linear-gradient(90deg, #D97706, #FBBF24); }
.eco-node-card.salto-5::before { background: linear-gradient(90deg, #0B2545, #3B82F6); }
.eco-node-card.salto-6::before { background: linear-gradient(90deg, #1B4332, #10B981); }
.eco-node-card.salto-7::before { background: linear-gradient(90deg, #059669, #06B6D4); }

/* Hover y Efecto de Aro Dorado */
.eco-node-card:hover,
.eco-node-card.is-hovered {
  transform: translateY(-6px) scale(1.02);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(212, 175, 55, 0.65);
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.5), 0 0 25px rgba(212, 175, 55, 0.45);
}

.ecosistema-core-hub.core-hub-pulse {
  border-color: rgba(212, 175, 55, 0.6);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45), 0 0 30px rgba(212, 175, 55, 0.25);
}

/* Cabecera del Nodo */
.eco-node-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.15rem;
}

.eco-node-badge {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.2rem 0.65rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #CBD5E1;
}

.eco-node-card:hover .eco-node-badge {
  background: rgba(212, 175, 55, 0.2);
  border-color: rgba(212, 175, 55, 0.5);
  color: var(--color-gold);
}

.eco-node-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: all var(--transition-fast);
}

.eco-node-card:hover .eco-node-icon {
  transform: scale(1.1) rotate(4deg);
  border-color: var(--color-gold);
  background: rgba(212, 175, 55, 0.15);
}

.eco-node-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 0.35rem;
  line-height: 1.3;
}

.eco-node-focus {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-gold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
  display: block;
}

.eco-node-desc {
  font-size: 0.825rem;
  color: #94A3B8;
  line-height: 1.55;
  margin-bottom: 1.25rem;
  flex: 1;
}

/* Synergy & Metrics Footer */
.eco-node-footer {
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.725rem;
}

.eco-metric-tag {
  font-weight: 800;
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.05);
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.eco-link-arrow {
  color: var(--color-gold);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: transform var(--transition-fast);
}

.eco-node-card:hover .eco-link-arrow {
  transform: translateX(4px);
}

/* Salto 07: Cierre Maestro del Ecosistema */
.eco-node-card.salto-highlight {
  grid-column: span 3;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.08) 0%, rgba(11, 37, 69, 0.7) 100%);
  border-color: rgba(212, 175, 55, 0.4);
}

.eco-highlight-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

/* Bucle de Conexión Circular al Pie */
.ecosistema-circular-loop {
  position: relative;
  z-index: 2;
  margin-top: 3.5rem;
  padding: 1.25rem 1.75rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 9999px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.loop-track {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}

.loop-pulse {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 10px #10B981;
  animation: pulseLoop 2s infinite;
}

@keyframes pulseLoop {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.3); }
}

.loop-text {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-gold);
}

/* Responsividad de la Matriz */
@media (max-width: 1024px) {
  .ecosistema-nodes-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .eco-node-card.salto-highlight {
    grid-column: span 2;
  }
  .eco-highlight-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

@media (max-width: 767px) {
  .ecosistema-section {
    padding: 4.5rem 0 5rem;
  }
  .ecosistema-nodes-grid {
    grid-template-columns: 1fr;
    gap: 1.15rem;
  }
  .eco-node-card.salto-highlight {
    grid-column: span 1;
  }
  .ecosistema-core-hub {
    padding: 1.5rem;
    flex-direction: column;
    text-align: center;
    gap: 1.25rem;
  }
  .ecosistema-core-left {
    flex-direction: column;
    text-align: center;
    min-width: unset;
  }
  .btn-ecosistema-cta {
    width: 100%;
    justify-content: center;
  }
  .ecosistema-circular-loop {
    border-radius: 16px;
    padding: 1rem;
  }
  .loop-text {
    font-size: 0.6875rem;
  }
}

/* ==========================================================================
   MÓDULO: PROYECTOS DE REIVINDICACIÓN Y ESTADO DE OBRAS (PLAN PILOTO & AGENDA)
   ========================================================================== */
.reivindicacion-section {
  position: relative;
  background-color: #F8FAFC;
  padding: 5.5rem 0 6rem;
  border-top: 1px solid rgba(212, 175, 55, 0.35);
  border-bottom: 1px solid rgba(212, 175, 55, 0.35);
}

.reivindicacion-header {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 3rem;
}

.reivindicacion-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  background: rgba(11, 37, 69, 0.06);
  color: var(--color-primary);
  border: 1px solid rgba(11, 37, 69, 0.15);
  margin-bottom: 1rem;
}

.reivindicacion-title {
  font-family: var(--font-heading);
  font-size: clamp(1.85rem, 3.2vw, 2.6rem);
  font-weight: 900;
  color: #0B2545;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.reivindicacion-subtitle {
  font-size: 1.05rem;
  color: #475569;
  line-height: 1.65;
  margin: 0 auto;
}

.reivindicacion-dashboard {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.75rem;
}

@media (max-width: 1024px) {
  .reivindicacion-dashboard {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

.reivindicacion-kpi-card {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 1.5rem 1.75rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 1.25rem;
  transition: all var(--transition-normal);
}

.reivindicacion-kpi-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: #CBD5E1;
}

.kpi-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.kpi-icon-red { background: #FEF2F2; color: #8B0000; border: 1px solid #FECACA; }
.kpi-icon-blue { background: #EFF6FF; color: #0038A8; border: 1px solid #BFDBFE; }
.kpi-icon-gold { background: #FEFCE8; color: #B45309; border: 1px solid #FDE68A; }

.kpi-val {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 900;
  color: #0B2545;
  line-height: 1.1;
}

.kpi-lbl {
  font-size: 0.785rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748B;
  margin-top: 0.2rem;
}

.reivindicacion-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.filter-reiv-btn {
  font-family: var(--font-heading);
  font-size: 0.825rem;
  font-weight: 700;
  padding: 0.65rem 1.25rem;
  border-radius: 9999px;
  background: #FFFFFF;
  color: #475569;
  border: 1px solid #CBD5E1;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-reiv-btn:hover {
  border-color: #0B2545;
  color: #0B2545;
}

.filter-reiv-btn.active {
  background: #0B2545;
  color: #FFFFFF;
  border-color: #0B2545;
  box-shadow: 0 4px 12px rgba(11, 37, 69, 0.2);
}

.reivindicacion-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

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

.reivindicacion-card {
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  border: 1px solid #E2E8F0;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.reivindicacion-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.reivindicacion-card.card-ejecutado {
  border-left: 5px solid #8B0000;
}

.reivindicacion-card.card-agenda {
  border-left: 5px solid #0B2545;
}

.reiv-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.reiv-card-category {
  font-size: 0.725rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #64748B;
}

.reiv-card-badge {
  font-size: 0.725rem;
  font-weight: 800;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.badge-ejecutado {
  background: #FEF2F2;
  color: #8B0000;
  border: 1px solid #FECACA;
}

.badge-agenda {
  background: #EFF6FF;
  color: #1E3A8A;
  border: 1px solid #BFDBFE;
}

.reiv-card-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: #0F172A;
  line-height: 1.4;
  margin-bottom: 0.5rem;
}

.reiv-card-desc {
  font-size: 0.875rem;
  color: #475569;
  line-height: 1.6;
  margin-top: auto;
}

