
/* ================================================================
   INVERTIR EN HERRERA - DOSSIER INSTITUCIONAL EUROPEO
   Sistema de diseño premium · Multiidioma · Accesible WCAG AA
   ================================================================ */

/* ================================================================
   RESET Y BASE
   ================================================================ */

*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern" 1, "liga" 1;
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-primary);
  background: var(--bg-primary);
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* ================================================================
   VARIABLES DE DISEÑO (Sistema del home)
   ================================================================ */
/* ================================================================
   VARIABLES DE DISEÑO ÉLITE - SISTEMA EUROPEO INSTITUCIONAL
   Inspirado en turismo mediterráneo profesional
   ================================================================ */

/* ================================================================
   VARIABLES DE DISEÑO ÉLITE - SISTEMA EUROPEO INSTITUCIONAL
   Inspirado en turismo mediterráneo profesional
   ================================================================ */

:root {
  /* ============================================================
     TIPOGRAFÍA
     ============================================================ */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Iowan Old Style", "Palatino Linotype", "URW Palladio L", P052, serif;

  /* Escala tipográfica */
  --text-xs: 0.8125rem;    /* 13px */
  --text-sm: 0.9375rem;    /* 15px */
  --text-base: 1.0625rem;  /* 17px */
  --text-lg: 1.1875rem;    /* 19px */
  --text-xl: 1.375rem;     /* 22px */
  --text-2xl: 1.625rem;    /* 26px */
  --text-3xl: 2rem;        /* 32px */
  --text-4xl: 2.5rem;      /* 40px */
  --text-5xl: 3rem;        /* 48px */

  /* Pesos de fuente */
  --font-normal: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;

  /* ============================================================
     COLOR PRIMARIO - Azul Institucional Mediterráneo
     Uso: Botones principales, enlaces, elementos clave
     ============================================================ */
  --primary-900: #0a2540;  /* Azul oscuro profundo */
  --primary-800: #0d3a5f;  /* Azul noche */
  --primary-700: #134e7e;  /* Azul institucional */
  --primary-600: #1a659e;  /* Azul principal */
  --primary-500: #2280bd;  /* Azul medio */
  --primary-400: #4a9dd4;  /* Azul claro */
  --primary-300: #7db9e8;  /* Azul suave */
  --primary-200: #b3d7f2;  /* Azul muy claro */
  --primary-100: #e0f0fb;  /* Azul pastel */
  --primary-50: #f0f8ff;   /* Azul casi blanco */

  /* ============================================================
     COLOR SECUNDARIO - Terracota REAL (arcilla/adobe)
     Tierra mediterránea - NO naranja marketing
     Uso: Secciones alternas, CTAs secundarios, diferenciación
     ============================================================ */
  --secondary-900: #5c2e1a;  /* Terracota oscuro */
  --secondary-800: #7d3e24;  /* Marrón cálido */
  --secondary-700: #8b4a2c;  /* Terracota medio REFINADO */
  --secondary-600: #a55a35;  /* Terracota principal REFINADO */
  --secondary-500: #bf6c43;  /* Arcilla cálido REFINADO */
  --secondary-400: #e59563;  /* Naranja suave */
  --secondary-300: #f0b385;  /* Melocotón */
  --secondary-200: #f7d1ac;  /* Crema cálido */
  --secondary-100: #fbe8d8;  /* Beige claro */
  --secondary-50: #fdf6f0;   /* Crema casi blanco */

  /* ============================================================
     COLOR DE ACENTO - Turquesa Mediterráneo REFINADO
     Mineral, sobrio, mar profundo - NO startup brillante
     Uso: Alertas, badges, indicadores, gráficos, highlights
     ============================================================ */
  --accent-900: #083c46;  /* Turquesa oscuro mineral */
  --accent-800: #0d5663;  /* Verde azulado profundo */
  --accent-700: #116e7c;  /* Turquesa institucional */
  --accent-600: #158696;  /* Turquesa principal REFINADO */
  --accent-500: #3fa2b1;  /* Mar mediterráneo */
  --accent-400: #6fbac6;  /* Turquesa claro */
  --accent-300: #9fd1da;  /* Cian suave */
  --accent-200: #cfe6ec;  /* Celeste */
  --accent-100: #e9f3f6;  /* Turquesa pastel */
  --accent-50: #f4fafc;   /* Turquesa casi blanco */

  /* ============================================================
     NEUTRALES - Grises CÁLIDOS Mediterráneos
     Uso: Fondos, bordes, textos, elementos estructurales
     ============================================================ */
  --neutral-900: #1c1f26;  /* Casi negro cálido REFINADO */
  --neutral-800: #2f3440;  /* Gris carbón REFINADO */
  --neutral-700: #424b5a;  /* Gris oscuro */
  --neutral-600: #5a6371;  /* Gris medio-oscuro */
  --neutral-500: #747d8c;  /* Gris medio */
  --neutral-400: #9499a3;  /* Gris medio-claro */
  --neutral-300: #b8bcc4;  /* Gris claro */
  --neutral-200: #d5d8de;  /* Gris muy claro */
  --neutral-100: #ebedf0;  /* Gris casi blanco */
  --neutral-50: #f7f8fa;   /* Blanco cálido */

  /* ============================================================
     BACKGROUNDS - Fondos Institucionales
     Efecto papel/dossier institucional
     ============================================================ */
  --bg-primary: #ffffff;    /* Fondo principal */
  --bg-secondary: #f7f6f3;  /* Papel mate cálido REFINADO */
  --bg-tertiary: #f1efeb;   /* Documento institucional REFINADO */
  --bg-elevated: #ffffff;   /* Elementos elevados */
  --bg-overlay: rgba(28, 31, 38, 0.75);  /* Overlay oscuro */

  /* ============================================================
     SURFACES & TINTS - Sistema de Capas Dossier
     Tintes sutiles para crear profundidad institucional
     Uso: Cards, secciones, overlays, estados hover
     ============================================================ */
  
  /* Tints sobre blanco - para capas sutiles */
  --surface-primary-tint: rgba(26, 101, 158, 0.04);     /* Tinte azul institucional */
  --surface-primary-tint-hover: rgba(26, 101, 158, 0.08);
  --surface-accent-tint: rgba(21, 134, 150, 0.04);      /* Tinte turquesa datos */
  --surface-accent-tint-hover: rgba(21, 134, 150, 0.08);
  --surface-secondary-tint: rgba(165, 90, 53, 0.04);    /* Tinte terracota editorial */
  --surface-secondary-tint-hover: rgba(165, 90, 53, 0.08);
  
  /* Superficies elevadas - para cards y paneles */
  --surface-card: #ffffff;
  --surface-card-hover: var(--bg-secondary);
  --surface-panel: var(--bg-secondary);
  --surface-section: var(--bg-tertiary);
  
  /* Overlays de color - para estados y highlights */
  --overlay-primary: rgba(26, 101, 158, 0.12);    /* Highlight azul */
  --overlay-accent: rgba(21, 134, 150, 0.12);     /* Highlight turquesa */
  --overlay-secondary: rgba(165, 90, 53, 0.12);   /* Highlight terracota */
  --overlay-neutral: rgba(28, 31, 38, 0.06);      /* Highlight neutro */

  /* ============================================================
     TEXTOS - Jerarquía Tipográfica
     ============================================================ */
  --text-primary: #1a1f2e;    /* Texto principal */
  --text-secondary: #424b5a;  /* Texto secundario */
  --text-tertiary: #5a6371;   /* Texto terciario */
  --text-muted: #747d8c;      /* Texto atenuado */
  --text-disabled: #9499a3;   /* Texto deshabilitado */
  --text-on-primary: #ffffff;   /* Texto sobre azul primario */
  --text-on-secondary: #ffffff; /* Texto sobre terracota */
  --text-on-accent: #ffffff;    /* Texto sobre turquesa */
  --text-on-dark: #ffffff;      /* Texto sobre fondos oscuros */

  /* ============================================================
     BORDES
     ============================================================ */
  --border-primary: #d5d8de;    /* Borde principal */
  --border-secondary: #ebedf0;  /* Borde secundario */
  --border-focus: #134e7e;      /* Borde en foco (primary-700) */

  /* ============================================================
     SOMBRAS - Sistema Elevación
     ============================================================ */
  --shadow-sm: 0 1px 3px 0 rgba(28, 31, 38, 0.04), 
               0 1px 2px 0 rgba(28, 31, 38, 0.02);
  --shadow-md: 0 4px 6px -1px rgba(28, 31, 38, 0.06), 
               0 2px 4px -1px rgba(28, 31, 38, 0.03);
  --shadow-lg: 0 10px 15px -3px rgba(28, 31, 38, 0.08), 
               0 4px 6px -2px rgba(28, 31, 38, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(28, 31, 38, 0.10), 
               0 10px 10px -5px rgba(28, 31, 38, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(28, 31, 38, 0.15);

  /* ============================================================
     COLORES SEMÁNTICOS - Estados
     ============================================================ */

  /* Success - Verde institucional */
  --success-900: #0a4d2e;
  --success-700: #0d6e42;
  --success-600: #0f9456;
  --success-500: #12b76a;
  --success-400: #3fce88;
  --success-300: #7de0a8;
  --success-200: #b3f0cd;
  --success-100: #e0f9ed;
  --success-50: #f0fcf5;

  /* Warning - Ámbar institucional */
  --warning-900: #5c3d0a;
  --warning-700: #8a5a0d;
  --warning-600: #b87710;
  --warning-500: #e69413;
  --warning-400: #f0ad3f;
  --warning-300: #f7c870;
  --warning-200: #fce3a8;
  --warning-100: #fef3d9;
  --warning-50: #fffaed;

  /* Error - Rojo institucional */
  --error-900: #5c0a0a;
  --error-700: #8a0d0d;
  --error-600: #b81010;
  --error-500: #e61313;
  --error-400: #f04444;
  --error-300: #f77676;
  --error-200: #fcafaf;
  --error-100: #fee0e0;
  --error-50: #fff0f0;

  /* Info - Azul cielo */
  --info-900: #0a2d5c;
  --info-700: #0d4a8a;
  --info-600: #1067b8;
  --info-500: #1384e6;
  --info-400: #44a3f0;
  --info-300: #76c2f7;
  --info-200: #afe0fc;
  --info-100: #e0f3fe;
  --info-50: #f0f9ff;

  /* ============================================================
     ESPACIADO - Escala Consistente
     ============================================================ */
  --space-1: 0.25rem;   /* 4px */
  --space-2: 0.5rem;    /* 8px */
  --space-3: 0.75rem;   /* 12px */
  --space-4: 1rem;      /* 16px */
  --space-5: 1.5rem;    /* 24px */
  --space-6: 2rem;      /* 32px */
  --space-8: 2.5rem;    /* 40px */
  --space-10: 3rem;     /* 48px */
  --space-12: 4rem;     /* 64px */
  --space-16: 5rem;     /* 80px */
  --space-20: 6rem;     /* 96px */
  --space-24: 8rem;     /* 128px */

  /* ============================================================
     TRANSICIONES - Curvas Premium
     ============================================================ */
  --transition-fast: 120ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 200ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slower: 500ms cubic-bezier(0.4, 0, 0.2, 1);

  /* ============================================================
     Z-INDEX - Sistema Capas
     ============================================================ */
  --z-base: 0;
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal-backdrop: 1040;
  --z-modal: 1050;
  --z-popover: 1060;
  --z-tooltip: 1070;

  /* ============================================================
     MEDIDAS ÚTILES
     ============================================================ */
  --touch-target: 48px;           /* Tamaño mínimo táctil WCAG */
  --max-width-content: 1280px;    /* Ancho máximo contenido */
  --max-width-text: 65ch;         /* Ancho óptimo lectura */
  --border-radius-sm: 4px;        /* Radio pequeño */
  --border-radius-md: 8px;        /* Radio medio */
  --border-radius-lg: 12px;       /* Radio grande */
  --border-radius-xl: 16px;       /* Radio extra grande */
  --border-radius-full: 9999px;   /* Radio completo (círculo) */

  /* ============================================================
     COLORES LEGACY (compatibilidad código actual)
     ============================================================ */
  --footer-bg: var(--neutral-900);
  --footer-text: rgba(255, 255, 255, 0.85);
  --footer-text-muted: rgba(255, 255, 255, 0.65);
  --footer-border: rgba(255, 255, 255, 0.15);
}
/* ================================================================
   UTILIDADES
   ================================================================ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ================================================================
   HEADER
   ================================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  background: var(--bg-elevated);
  backdrop-filter: blur(12px) saturate(180%);
  border-bottom: 1px solid var(--border-primary);
  transition: all var(--transition-base);
}

.header-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: var(--space-4);
}

.site-branding {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  color: inherit;
  transition: opacity var(--transition-fast);
  min-height: var(--touch-target);
  padding: var(--space-2) 0;
}

.site-branding:hover {
  opacity: 0.7;
}

.site-logo {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.site-title {
  font-family: var(--font-serif);
  font-size: var(--text-lg);
  font-weight: var(--font-bold);
  color: var(--text-primary);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.site-tagline {
  font-size: var(--text-xs);
  color: var(--text-tertiary);
  font-weight: var(--font-medium);
  letter-spacing: 0.02em;
  display: none;
}

@media (min-width: 480px) {
  .site-tagline {
    display: block;
  }
}

.header-controls {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}



/* ================================================================
   GUÍA DE USO - SISTEMA CROMÁTICO MEDITERRÁNEO PREMIUM
   Jerarquía institucional europea
   ================================================================ */

/* ============================================================
   JERARQUÍA DE COLOR - REGLAS DE ORO
   ============================================================ */

/**
 * 1. PRIMARY-700 → Color de ACCIÓN
 *    Uso: Botones principales, links, navegación activa
 *    Variable: --primary-700: #134e7e
 */
.btn-primary {
  background-color: var(--primary-700);
  color: var(--text-on-primary);
}

.link {
  color: var(--primary-700);
}

.nav-item.active {
  border-bottom: 2px solid var(--primary-700);
}

/**
 * 2. ACCENT → Solo para DATOS/INDICADORES/FOCUS
 *    Uso: Chips, badges, métricas, gráficos, estados focus
 *    Variable: --accent-600: #158696
 *    
 *    ❌ NUNCA usar para botones de acción
 *    ✅ Perfecto para visualización de datos
 */
.badge {
  background-color: var(--surface-accent-tint);
  color: var(--accent-700);
  border: 1px solid var(--accent-300);
}

.metric-value {
  color: var(--accent-600);
}

input:focus {
  border-color: var(--accent-600);
  box-shadow: 0 0 0 3px var(--surface-accent-tint);
}

/**
 * 3. SECONDARY → EDITORIAL/TERRITORIO
 *    Uso: Separadores, etiquetas territoriales, detalles editoriales
 *    Variable: --secondary-600: #a55a35
 *    
 *    Perfecto para dar carácter mediterráneo sin competir
 */
.section-divider {
  border-top: 3px solid var(--secondary-600);
}

.territory-tag {
  background-color: var(--surface-secondary-tint);
  color: var(--secondary-700);
}

.editorial-accent {
  border-left: 4px solid var(--secondary-500);
  background-color: var(--surface-secondary-tint);
}

/**
 * 4. NEUTRALES → PIEDRA/PAPEL
 *    Uso: Estructura, textos, bordes
 *    
 *    Grises cálidos que dan sensación terrestre
 */
.card {
  background: var(--surface-card);
  border: 1px solid var(--border-primary);
  color: var(--text-primary);
}

.text-secondary {
  color: var(--text-secondary);
}

/* ============================================================
   SURFACES & TINTS - SISTEMA DE CAPAS DOSSIER
   ============================================================ */

/**
 * TINTS - Para crear profundidad sutil
 * Opacidades muy bajas (4-8%) tipo documento institucional
 */

/* Ejemplo: Card con hover institucional */
.institutional-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-secondary);
  transition: all var(--transition-base);
}

.institutional-card:hover {
  background: var(--surface-primary-tint-hover);
  border-color: var(--primary-300);
}

/* Ejemplo: Sección destacada con tinte de color */
.featured-section {
  background: var(--surface-accent-tint);
  border-left: 3px solid var(--accent-600);
}

/* Ejemplo: Panel territorial */
.territory-panel {
  background: var(--surface-secondary-tint);
  border: 1px solid var(--secondary-200);
}

/**
 * OVERLAYS - Para highlights y estados
 * Opacidades medias (12%) para elementos activos
 */
.selected-item {
  background: var(--overlay-primary);
}

.data-highlight {
  background: var(--overlay-accent);
}

.editorial-callout {
  background: var(--overlay-secondary);
}

/* ============================================================
   REGLAS CRÍTICAS - EVITAR A TODA COSTA
   ============================================================ */
.data-button {
  background: var(--accent-600);      // Solo turquesa para datos
  border: 2px solid var(--accent-700);
}

.editorial-button {
  background: var(--secondary-600);   // Solo terracota para editorial
  border: 2px solid var(--secondary-700);
}

.cta-button {
  background: var(--primary-700);
  color: var(--text-on-primary);
}

/* ============================================================
   EJEMPLOS DE COMPOSICIÓN ÉLITE
   ============================================================ */

/**
 * HERO SECTION - Institucional premium
 */
.hero {
  background: linear-gradient(135deg, 
    var(--bg-primary) 0%, 
    var(--surface-primary-tint) 100%
  );
}

.hero__cta {
  background: var(--primary-700);
  color: var(--text-on-primary);
  box-shadow: var(--shadow-lg);
}

.hero__cta:hover {
  background: var(--primary-800);
}

/**
 * DATA DASHBOARD - Visualización profesional
 */
.dashboard-card {
  background: var(--surface-card);
  border: 1px solid var(--border-secondary);
}

.dashboard-metric {
  color: var(--accent-600);
  font-weight: var(--font-semibold);
}

.dashboard-badge {
  background: var(--surface-accent-tint);
  color: var(--accent-700);
}

/**
 * EDITORIAL CONTENT - Contenido territorial
 */
.editorial-section {
  background: var(--surface-panel);
  border-top: 3px solid var(--secondary-600);
}

.editorial-tag {
  background: var(--surface-secondary-tint);
  color: var(--secondary-700);
  border: 1px solid var(--secondary-300);
}

.editorial-quote {
  border-left: 4px solid var(--secondary-500);
  background: var(--overlay-secondary);
  padding: var(--space-4);
}

/* ============================================================
   SISTEMA DE FONDOS - DOSSIER INSTITUCIONAL
   ============================================================ */

.page {
  background: var(--bg-primary);
}

.page__section:nth-child(even) {
  background: var(--bg-secondary);
}

.page__footer {
  background: var(--bg-tertiary);
}

.page__card {
  background: var(--surface-card);
  border: 1px solid var(--border-primary);
}

.page__card--highlighted {
  background: var(--surface-primary-tint);
  border-color: var(--primary-200);
}

/* ================================================================
   SELECTOR DE IDIOMA
   ================================================================ */
.lang-selector {
  position: relative;
  display: inline-block;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  min-height: var(--touch-target);
  padding: var(--space-2) var(--space-4);
  background: var(--bg-tertiary);
  border: 1px solid var(--border-primary);
  color: var(--text-primary);
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.lang-btn:hover {
  background: var(--bg-secondary);
  border-color: var(--border-secondary);
}

.lang-btn:focus-visible {
  outline: 3px solid var(--accent-500);
  outline-offset: 2px;
}

.lang-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.lang-current {
  font-family: monospace;
  font-weight: var(--font-bold);
  letter-spacing: 0.05em;
}

.lang-chevron {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}

.lang-btn[aria-expanded="true"] .lang-chevron {
  transform: rotate(180deg);
}

.lang-menu {
  position: absolute;
  top: calc(100% + var(--space-2));
  right: 0;
  min-width: 160px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-primary);
  box-shadow: var(--shadow-lg);
  list-style: none;
  padding: var(--space-2);
  margin: 0;
  z-index: var(--z-dropdown);
}

.lang-menu[hidden] {
  display: none;
}

.lang-option {
  display: block;
  width: 100%;
  padding: var(--space-3) var(--space-4);
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  text-align: left;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.lang-option:hover {
  background: var(--accent-50);
  color: var(--accent-900);
}

.lang-option:focus-visible {
  outline: 2px solid var(--accent-500);
  outline-offset: -2px;
}

.lang-option.active {
  background: var(--accent-100);
  color: var(--accent-900);
  font-weight: var(--font-bold);
}

.lang-option.active::before {
  content: '✓ ';
  color: var(--accent-700);
}

/* ================================================================
   BOTONES DE TEMA
   ================================================================ */
.theme-controls {
  display: flex;
  gap: var(--space-1);
  align-items: center;
  padding: var(--space-1);
  background: var(--bg-tertiary);
  border: 1px solid var(--border-primary);
}

.theme-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--touch-target);
  height: var(--touch-target);
  padding: 0;
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-tertiary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.theme-btn:hover {
  background: var(--bg-secondary);
  color: var(--text-primary);
  border-color: var(--border-secondary);
}

.theme-btn:focus-visible {
  outline: 3px solid var(--accent-500);
  outline-offset: 2px;
}

.theme-btn.active {
  background: var(--accent-100);
  color: var(--accent-800);
  border-color: var(--accent-600);
}

.theme-btn svg {
  width: 22px;
  height: 22px;
}

/* ================================================================
   PÁGINA DE INVERSIÓN
   ================================================================ */
.invest-page {
  min-height: 100vh;
}

.invest-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-5);
}
/* ================================================================
   BLOQUE 1: HERO ÉLITE — SPLIT SCREEN MODERADO
   ================================================================ */

.invest-hero-elite {
  position: relative;
  background: var(--bg-secondary);
  border-bottom: 2px solid var(--border-primary);
}

.invest-hero-split {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 1400px;
  margin: 0 auto;
}

@media (min-width: 1024px) {
  .invest-hero-split {
    grid-template-columns: 1fr 1fr;
    min-height: 580px;
  }
}

/* ================================================================
   VISUAL: Imagen protagonista
   ================================================================ */

.invest-hero-visual-elite {
  position: relative;
  min-height: 450px;
  margin: 0;
  overflow: hidden;
  background: var(--bg-tertiary);
}

@media (min-width: 1024px) {
  .invest-hero-visual-elite {
    min-height: 100%;
  }
}

.invest-hero-image-elite {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.invest-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.02) 0%,
    rgba(0, 0, 0, 0.06) 100%
  );
  pointer-events: none;
}

/* ================================================================
   CONTENIDO: Texto
   ================================================================ */

.invest-hero-content-elite {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-10) var(--space-6);
  background: var(--bg-secondary);
}

@media (min-width: 768px) {
  .invest-hero-content-elite {
    padding: var(--space-12) var(--space-8);
  }
}

@media (min-width: 1024px) {
  .invest-hero-content-elite {
    padding: var(--space-14) var(--space-10);
  }
}

.invest-hero-inner {
  max-width: 540px;
  width: 100%;
}

/* ================================================================
   TIPOGRAFÍA
   ================================================================ */

.invest-eyebrow-elite {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: var(--font-bold);
  color: var(--accent-700);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-2);
  border-bottom: 2px solid var(--accent-200);
}

.invest-title-elite {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: var(--font-bold);
  color: var(--text-primary);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-5);
}

.invest-lead-elite {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: var(--space-8);
  font-weight: var(--font-normal);
}

/* ================================================================
   FEATURES
   ================================================================ */

.invest-features-elite {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
  padding: var(--space-5) 0;
  border-top: 1px solid var(--border-secondary);
  border-bottom: 1px solid var(--border-secondary);
}

@media (min-width: 640px) {
  .invest-features-elite {
    flex-direction: row;
    gap: var(--space-6);
  }
}

.invest-feature-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--text-secondary);
  font-weight: var(--font-medium);
}

.invest-feature-item svg {
  width: 18px;
  height: 18px;
  color: var(--accent-600);
  flex-shrink: 0;
}

/* ================================================================
   CTA
   ================================================================ */

.invest-cta-elite {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

@media (min-width: 640px) {
  .invest-cta-elite {
    flex-direction: row;
    align-items: center;
    gap: var(--space-5);
  }
}

.invest-btn-elite {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-7);
  font-size: var(--text-base);
  font-weight: var(--font-bold);
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
  min-height: var(--touch-target);
}

.invest-btn-primary-elite {
  background: var(--accent-700);
  color: var(--text-on-accent);
  border-color: var(--accent-700);
  box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.08);
}

.invest-btn-primary-elite:hover {
  background: var(--accent-800);
  border-color: var(--accent-800);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.12);
}

.invest-btn-primary-elite:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.08);
}

.invest-btn-primary-elite:focus-visible {
  outline: 3px solid var(--accent-500);
  outline-offset: 3px;
}

.invest-btn-elite svg {
  width: 18px;
  height: 18px;
  transition: transform 0.25s ease;
}

.invest-btn-primary-elite:hover svg {
  transform: translateX(3px);
}

.invest-link-elite {
  font-size: var(--text-sm);
  color: var(--accent-700);
  text-decoration: none;
  font-weight: var(--font-semibold);
  padding: var(--space-3) var(--space-2);
  transition: color 0.2s ease;
  display: inline-block;
}

.invest-link-elite:hover {
  color: var(--accent-900);
  text-decoration: underline;
}

.invest-link-elite:focus-visible {
  outline: 3px solid var(--accent-500);
  outline-offset: 3px;
}

/* ================================================================
   META
   ================================================================ */

.invest-meta-elite {
  font-size: var(--text-xs);
  color: var(--text-muted);
  line-height: 1.6;
  padding-top: var(--space-5);
  border-top: 1px solid var(--border-secondary);
  margin-top: var(--space-2);
}

/* ================================================================
   RESPONSIVE: Mobile
   ================================================================ */

@media (max-width: 1023px) {
  .invest-hero-visual-elite {
    order: 1;
    min-height: 400px;
  }
  
  .invest-hero-content-elite {
    order: 2;
  }
  
  .invest-title-elite {
    margin-bottom: var(--space-4);
  }
  
  .invest-lead-elite {
    margin-bottom: var(--space-6);
  }
  
  .invest-features-elite {
    margin-bottom: var(--space-6);
  }
}

/* ================================================================
   DARK MODE
   ================================================================ */

[data-theme="dark"] .invest-hero-image-elite {
  opacity: 0.88;
}

[data-theme="dark"] .invest-hero-overlay {
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.15) 0%,
    rgba(0, 0, 0, 0.3) 100%
  );
}

/* ================================================================
   ACCESIBILIDAD
   ================================================================ */

@media (prefers-reduced-motion: reduce) {
  .invest-btn-elite,
  .invest-btn-elite svg,
  .invest-link-elite {
    transition: none;
  }
  
  .invest-btn-primary-elite:hover {
    transform: none;
  }
  
  .invest-btn-primary-elite:hover svg {
    transform: none;
  }
}

/* ================================================================
   BLOQUE 2: POR QUÉ HERRERA ÉLITE
   Nivel: Dossier europeo - panorámica premium + cards élite
   ================================================================ */

.invest-why-elite {
  padding: var(--space-16) 0;
  background: var(--bg-primary);
}

/* ================================================================
   PANORÁMICA CON FRAMING EDITORIAL PREMIUM
   ================================================================ */

.invest-why-panoramic-elite {
  max-width: 1000px;
  margin: var(--space-10) auto var(--space-12);
  padding: 0;
}

.invest-panoramic-frame {
  position: relative;
  padding: var(--space-4);
  background: var(--bg-tertiary);
  border-radius: 8px;
}

@media (min-width: 768px) {
  .invest-panoramic-frame {
    padding: var(--space-5);
  }
}

.invest-panoramic-image-elite {
  width: 100%;
  height: auto;
  max-height: 280px;
  display: block;
  object-fit: cover;
  object-position: center;
  border-radius: 0px;
  border: 1px solid var(--border-secondary);
  box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.06), 
              0 1px 4px 0 rgba(0, 0, 0, 0.04);
}

.invest-panoramic-overlay {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  bottom: var(--space-4);
  left: var(--space-4);
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.02) 70%,
    rgba(0, 0, 0, 0.04) 100%
  );
  pointer-events: none;
  border-radius: 12px;
}

@media (min-width: 768px) {
  .invest-panoramic-overlay {
    top: var(--space-5);
    right: var(--space-5);
    bottom: var(--space-5);
    left: var(--space-5);
  }
}

/* Badge editorial */
.invest-panoramic-badge {
  position: absolute;
  bottom: var(--space-7);
  left: 50%;
  transform: translateX(-50%);
  padding: var(--space-2) var(--space-5);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-secondary);
  border-radius: 0px;
  font-size: 0.7rem;
  font-weight: var(--font-semibold);
  color: var(--text-secondary);
  letter-spacing: 0.02em;
  line-height: 1.3;
  box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.08);
  white-space: nowrap;
}

@media (min-width: 768px) {
  .invest-panoramic-badge {
    bottom: var(--space-8);
    font-size: var(--text-xs);
    padding: var(--space-3) var(--space-6);
  }
}

/* ================================================================
   GRID DE CARDS PREMIUM
   ================================================================ */

.invest-why-grid-elite {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  max-width: 1200px;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .invest-why-grid-elite {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .invest-why-grid-elite {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-5);
  }
}

/* ================================================================
   CARDS ÉLITE CON MICROINTERACCIONES PREMIUM
   ================================================================ */

.invest-why-card-elite {
  position: relative;
  padding: var(--space-7) var(--space-6);
  background: var(--bg-secondary);
  border: 1px solid var(--border-primary);
  border-top: 3px solid var(--accent-600);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

/* Efecto de fondo sutil en hover */
.invest-why-card-elite::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100px;
  background: radial-gradient(
    circle,
    var(--accent-100) 0%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.invest-why-card-elite:hover::before {
  opacity: 0.4;
}

.invest-why-card-elite:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px 0 rgba(0, 0, 0, 0.08),
              0 2px 8px 0 rgba(0, 0, 0, 0.04);
  border-color: var(--accent-600);
  border-top-width: 4px;
}

.invest-why-card-elite:active {
  transform: translateY(-1px);
}

/* ================================================================
   CONTENIDO CARDS
   ================================================================ */

.invest-why-icon-elite {
  width: 48px;
  height: 48px;
  margin-bottom: var(--space-5);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-50);
  border-radius: 0px;
  border: 1px solid var(--accent-200);
  transition: all 0.3s ease;
}

.invest-why-card-elite:hover .invest-why-icon-elite {
  background: var(--accent-100);
  border-color: var(--accent-300);
  transform: scale(1.05);
}

.invest-why-icon-elite svg {
  width: 24px;
  height: 24px;
  color: var(--accent-700);
  transition: color 0.3s ease;
}

.invest-why-card-elite:hover .invest-why-icon-elite svg {
  color: var(--accent-800);
}

.invest-why-title-elite {
  font-size: var(--text-lg);
  font-weight: var(--font-bold);
  color: var(--text-primary);
  margin-bottom: var(--space-3);
  line-height: 1.3;
  transition: color 0.3s ease;
}

.invest-why-card-elite:hover .invest-why-title-elite {
  color: var(--accent-800);
}

.invest-why-text-elite {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ================================================================
   RESPONSIVE: Mobile optimizado
   ================================================================ */

@media (max-width: 767px) {
  .invest-why-panoramic-elite {
    margin: var(--space-8) auto var(--space-10);
  }
  
  .invest-panoramic-image-elite {
    max-height: 200px;
  }
  
  .invest-panoramic-badge {
    font-size: 0.65rem;
    padding: var(--space-2) var(--space-4);
    bottom: var(--space-6);
  }
  
  .invest-why-card-elite {
    padding: var(--space-6);
  }
  
  .invest-why-icon-elite {
    width: 44px;
    height: 44px;
  }
  
  .invest-why-icon-elite svg {
    width: 22px;
    height: 22px;
  }
}

/* ================================================================
   DARK MODE
   ================================================================ */

[data-theme="dark"] .invest-panoramic-image-elite {
  opacity: 0.88;
  border-color: var(--border-primary);
}

[data-theme="dark"] .invest-panoramic-overlay {
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.05) 0%,
    rgba(0, 0, 0, 0.15) 70%,
    rgba(0, 0, 0, 0.25) 100%
  );
}

[data-theme="dark"] .invest-panoramic-badge {
  background: rgba(0, 0, 0, 0.85);
  border-color: var(--border-secondary);
  color: var(--text-secondary);
}

[data-theme="dark"] .invest-why-card-elite::before {
  opacity: 0;
}

[data-theme="dark"] .invest-why-card-elite:hover::before {
  opacity: 0.2;
}

[data-theme="dark"] .invest-why-icon-elite {
  background: var(--accent-900);
  border-color: var(--accent-800);
}

[data-theme="dark"] .invest-why-card-elite:hover .invest-why-icon-elite {
  background: var(--accent-800);
  border-color: var(--accent-700);
}

/* ================================================================
   ACCESIBILIDAD
   ================================================================ */

@media (prefers-reduced-motion: reduce) {
  .invest-panoramic-image-elite,
  .invest-why-card-elite,
  .invest-why-card-elite::before,
  .invest-why-icon-elite,
  .invest-why-icon-elite svg,
  .invest-why-title-elite {
    transition: none;
  }
  
  .invest-why-card-elite:hover {
    transform: none;
  }
  
  .invest-why-card-elite:hover .invest-why-icon-elite {
    transform: none;
  }
}

/* Focus states WCAG AA */
.invest-why-card-elite:focus-within {
  outline: 3px solid var(--accent-500);
  outline-offset: 3px;
}
/* ================================================================
   BLOQUE 3: CONECTIVIDAD ÉLITE
   Nivel: Dossier europeo - subsecciones con framing editorial
   ================================================================ */

.invest-connectivity-elite {
  padding: var(--space-16) 0;
  background: var(--bg-tertiary);
}

.invest-connectivity-item {
  margin-bottom: var(--space-10);
}

.invest-connectivity-item:last-of-type {
  margin-bottom: var(--space-8);
}

/* ================================================================
   SPLIT LAYOUT: Alternante izquierda/derecha
   ================================================================ */

.invest-connectivity-split {
  display: grid;
  grid-template-columns: 1fr;
  background: var(--bg-secondary);
  border: 1px solid var(--border-primary);
  border-left: 4px solid var(--accent-600);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

@media (min-width: 1024px) {
  .invest-connectivity-split {
    grid-template-columns: 1fr 1fr;
    min-height: 380px;
  }
  
  /* Reverse: imagen derecha, contenido izquierda */
  .invest-connectivity-split-reverse {
    grid-template-columns: 1fr 1fr;
  }
  
  .invest-connectivity-split-reverse .invest-connectivity-visual {
    order: 2;
  }
  
  .invest-connectivity-split-reverse .invest-connectivity-content {
    order: 1;
  }
}

/* ================================================================
   VISUAL: Imagen con framing editorial
   ================================================================ */

.invest-connectivity-visual {
  position: relative;
  min-height: 300px;
  margin: 0;
  overflow: hidden;
  background: var(--bg-tertiary);
  padding: var(--space-4);
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 1024px) {
  .invest-connectivity-visual {
    min-height: 100%;
    padding: var(--space-5);
  }
}

.invest-connectivity-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 0px;
  border: 1px solid var(--border-secondary);
  box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.06), 
              0 1px 4px 0 rgba(0, 0, 0, 0.04);
}

.invest-connectivity-overlay {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  bottom: var(--space-4);
  left: var(--space-4);
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.02) 70%,
    rgba(0, 0, 0, 0.04) 100%
  );
  pointer-events: none;
  border-radius: 0px;
}

@media (min-width: 1024px) {
  .invest-connectivity-overlay {
    top: var(--space-5);
    right: var(--space-5);
    bottom: var(--space-5);
    left: var(--space-5);
  }
}

/* Badge editorial */
.invest-connectivity-badge {
  position: absolute;
  bottom: var(--space-6);
  left: var(--space-6);
  padding: var(--space-2) var(--space-4);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-secondary);
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: var(--font-semibold);
  color: var(--text-secondary);
  letter-spacing: 0.02em;
  line-height: 1.3;
  box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.08);
  max-width: calc(100% - var(--space-12));
}

@media (min-width: 1024px) {
  .invest-connectivity-badge {
    bottom: var(--space-8);
    left: var(--space-8);
    font-size: var(--text-xs);
  }
}

/* ================================================================
   CONTENIDO: Texto con aire premium
   ================================================================ */

.invest-connectivity-content {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-8) var(--space-6);
  background: var(--bg-secondary);
}

@media (min-width: 768px) {
  .invest-connectivity-content {
    padding: var(--space-10) var(--space-8);
  }
}

@media (min-width: 1024px) {
  .invest-connectivity-content {
    padding: var(--space-10) var(--space-8);
  }
}

.invest-connectivity-inner {
  max-width: 480px;
  width: 100%;
}

/* ================================================================
   TIPOGRAFÍA CONECTIVIDAD
   ================================================================ */

.invest-connectivity-eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: var(--font-bold);
  color: var(--accent-700);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: var(--space-3);
}

@media (min-width: 768px) {
  .invest-connectivity-eyebrow {
    font-size: var(--text-xs);
  }
}

.invest-connectivity-title {
  font-family: var(--font-serif);
  font-size: clamp(1.375rem, 3vw, 1.75rem);
  font-weight: var(--font-bold);
  color: var(--text-primary);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-4);
}

.invest-connectivity-text {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-6);
  font-weight: var(--font-normal);
}

/* ================================================================
   FEATURES: Datos clave inline
   ================================================================ */

.invest-connectivity-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding-top: var(--space-5);
  border-top: 1px solid var(--border-secondary);
}

.invest-connectivity-feature {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.6;
}

.invest-connectivity-feature svg {
  width: 18px;
  height: 18px;
  color: var(--accent-600);
  flex-shrink: 0;
  margin-top: 2px;
}

.invest-connectivity-feature strong {
  color: var(--text-primary);
  font-weight: var(--font-bold);
}

/* ================================================================
   NOTA FINAL
   ================================================================ */

.invest-note {
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px solid var(--border-primary);
  font-size: var(--text-xs);
  color: var(--text-muted);
  font-style: italic;
  text-align: center;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* ================================================================
   RESPONSIVE: Mobile optimizado
   ================================================================ */

@media (max-width: 1023px) {
  .invest-connectivity-item {
    margin-bottom: var(--space-8);
  }
  
  .invest-connectivity-visual {
    order: 1;
    min-height: 280px;
  }
  
  .invest-connectivity-content {
    order: 2;
  }
  
  .invest-connectivity-title {
    margin-bottom: var(--space-3);
  }
  
  .invest-connectivity-text {
    margin-bottom: var(--space-5);
  }
  
  .invest-connectivity-features {
    padding-top: var(--space-4);
  }
  
  .invest-connectivity-badge {
    font-size: 0.65rem;
    padding: var(--space-2) var(--space-3);
  }
}

/* ================================================================
   DARK MODE
   ================================================================ */

[data-theme="dark"] .invest-connectivity-image {
  opacity: 0.88;
  border-color: var(--border-primary);
}

[data-theme="dark"] .invest-connectivity-overlay {
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.05) 0%,
    rgba(0, 0, 0, 0.15) 70%,
    rgba(0, 0, 0, 0.25) 100%
  );
}

[data-theme="dark"] .invest-connectivity-badge {
  background: rgba(0, 0, 0, 0.85);
  border-color: var(--border-secondary);
  color: var(--text-secondary);
}

/* ================================================================
   ACCESIBILIDAD
   ================================================================ */

@media (prefers-reduced-motion: reduce) {
  .invest-connectivity-image {
    transition: none;
  }
}
/* ================================================================
   BLOQUE DESTACADO: PARQUE EMPRESARIAL AVE ÉLITE
   Mismo nivel que Hero y Contacto - Diseño premium institucional
   ================================================================ */

.invest-park-elite {
  margin: var(--space-12) 0;
  position: relative;
}

.invest-park-split {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 1200px;
  margin: 0 auto;
  background: var(--bg-secondary);
  border: 2px solid var(--accent-600);
  border-left: 6px solid var(--accent-700);
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
}

@media (min-width: 1024px) {
  .invest-park-split {
    grid-template-columns: 0.8fr 1.2fr;
    min-height: 500px;
  }
}

/* Efecto de fondo sutil */
.invest-park-split::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(
    circle,
    var(--accent-100) 0%,
    transparent 70%
  );
  opacity: 0.2;
  pointer-events: none;
}

/* ================================================================
   VISUAL: Imagen estación AVE con framing editorial premium
   ================================================================ */

.invest-park-visual {
  position: relative;
  min-height: 400px;
  margin: 0;
  overflow: hidden;
  background: var(--bg-tertiary);
  padding: var(--space-5);
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 1024px) {
  .invest-park-visual {
    min-height: 100%;
    padding: var(--space-6);
  }
}

.invest-park-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 0px;
  border: 1px solid var(--border-secondary);
  box-shadow: 0 8px 24px 0 rgba(0, 0, 0, 0.08), 
              0 2px 8px 0 rgba(0, 0, 0, 0.04);
}

.invest-park-overlay {
  position: absolute;
  top: var(--space-5);
  right: var(--space-5);
  bottom: var(--space-5);
  left: var(--space-5);
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.02) 70%,
    rgba(0, 0, 0, 0.04) 100%
  );
  pointer-events: none;
  border-radius: 16px;
}

@media (min-width: 1024px) {
  .invest-park-overlay {
    top: var(--space-6);
    right: var(--space-6);
    bottom: var(--space-6);
    left: var(--space-6);
  }
}

/* Badge editorial */
.invest-park-badge {
  position: absolute;
  bottom: var(--space-8);
  left: var(--space-8);
  padding: var(--space-3) var(--space-5);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-secondary);
  border-radius: 8px;
  font-size: var(--text-xs);
  font-weight: var(--font-semibold);
  color: var(--accent-800);
  letter-spacing: 0.02em;
  line-height: 1.4;
  box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.08);
  max-width: calc(100% - var(--space-16));
}

@media (min-width: 1024px) {
  .invest-park-badge {
    bottom: var(--space-10);
    left: var(--space-10);
  }
}

/* ================================================================
   CONTENIDO: Información con aire premium
   ================================================================ */

.invest-park-content {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-10) var(--space-6);
  background: var(--bg-secondary);
}

@media (min-width: 768px) {
  .invest-park-content {
    padding: var(--space-12) var(--space-8);
  }
}

@media (min-width: 1024px) {
  .invest-park-content {
    padding: var(--space-12) var(--space-10);
  }
}

.invest-park-inner {
  max-width: 540px;
  width: 100%;
}

/* ================================================================
   TIPOGRAFÍA PARQUE AVE
   ================================================================ */

.invest-park-eyebrow {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: var(--font-bold);
  color: var(--accent-700);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-2);
  border-bottom: 2px solid var(--accent-300);
}

.invest-park-title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: var(--font-bold);
  color: var(--text-primary);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-top: var(--space-2);
  margin-bottom: var(--space-5);
}

.invest-park-lead {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: var(--space-8);
  font-weight: var(--font-normal);
}

/* ================================================================
   HIGHLIGHTS: Claim + Proof pattern (datos clave)
   ================================================================ */

.invest-park-highlights {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-bottom: var(--space-10);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--border-secondary);
}

.invest-park-highlight-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
}

.invest-park-highlight-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-100);
  border-radius: 8px;
  border: 1px solid var(--accent-200);
}

.invest-park-highlight-icon svg {
  width: 20px;
  height: 20px;
  color: var(--accent-700);
}

.invest-park-highlight-item > div {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  padding-top: var(--space-1);
}

.invest-park-highlight-claim {
  font-size: var(--text-sm);
  color: var(--text-primary);
  font-weight: var(--font-semibold);
  line-height: 1.4;
}

.invest-park-highlight-proof {
  font-size: var(--text-base);
  color: var(--accent-700);
  font-weight: var(--font-bold);
  line-height: 1.4;
}

/* ================================================================
   CTA PARQUE AVE
   ================================================================ */

.invest-park-cta {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

@media (min-width: 640px) {
  .invest-park-cta {
    flex-direction: row;
    align-items: center;
    gap: var(--space-5);
  }
}

/* ================================================================
   FUENTE: Disclaimer institucional
   ================================================================ */

.invest-park-source {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  padding-top: var(--space-5);
  border-top: 1px solid var(--border-secondary);
  font-size: var(--text-xs);
  color: var(--text-muted);
  line-height: 1.6;
  font-style: italic;
}

.invest-park-source svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ================================================================
   RESPONSIVE: Mobile optimizado
   ================================================================ */

@media (max-width: 1023px) {
  .invest-park-visual {
    order: 1;
    min-height: 350px;
  }
  
  .invest-park-content {
    order: 2;
  }
  
  .invest-park-eyebrow {
    margin-bottom: var(--space-3);
  }
  
  .invest-park-title {
    margin-top: 0;
    margin-bottom: var(--space-4);
  }
  
  .invest-park-lead {
    margin-bottom: var(--space-6);
  }
  
  .invest-park-highlights {
    gap: var(--space-3);
    margin-bottom: var(--space-8);
  }
  
  .invest-park-badge {
    font-size: 0.65rem;
    padding: var(--space-2) var(--space-4);
  }
}

/* ================================================================
   DARK MODE
   ================================================================ */

[data-theme="dark"] .invest-park-image {
  opacity: 0.88;
  border-color: var(--border-primary);
}

[data-theme="dark"] .invest-park-overlay {
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.05) 0%,
    rgba(0, 0, 0, 0.10) 70%,
    rgba(0, 0, 0, 0.15) 100%
  );
}

[data-theme="dark"] .invest-park-badge {
  background: rgba(0, 0, 0, 0.85);
  border-color: var(--border-secondary);
  color: var(--accent-400);
}

[data-theme="dark"] .invest-park-highlight-icon {
  background: var(--accent-900);
  border-color: var(--accent-800);
}

[data-theme="dark"] .invest-park-split::before {
  opacity: 0.1;
}

/* ================================================================
   ACCESIBILIDAD
   ================================================================ */

@media (prefers-reduced-motion: reduce) {
  .invest-park-split::before {
    animation: none;
  }
}

/* ================================================================
   BLOQUE 4: OPORTUNIDADES ÉLITE
   Nivel: Dossier europeo - cards sectores premium
   ================================================================ */

.invest-opportunities-elite {
  padding: var(--space-16) 0;
  background: var(--bg-tertiary);
}

/* ================================================================
   GRID OPORTUNIDADES
   ================================================================ */

.invest-opp-grid-elite {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  max-width: 1200px;
  margin: 0 auto var(--space-12);
}

@media (min-width: 768px) {
  .invest-opp-grid-elite {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
  }
}

/* ================================================================
   CARDS ÉLITE CON MICROINTERACCIONES PREMIUM
   ================================================================ */

.invest-opp-card-elite {
  position: relative;
  padding: var(--space-8) var(--space-6);
  background: var(--bg-secondary);
  border: 1px solid var(--border-primary);
  border-left: 4px solid var(--accent-600);
  box-shadow: var(--shadow-md);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Efecto de fondo sutil en hover */
.invest-opp-card-elite::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 150px;
  height: 150px;
  background: radial-gradient(
    circle,
    var(--accent-100) 0%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.invest-opp-card-elite:hover::before {
  opacity: 0.5;
}

.invest-opp-card-elite:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px 0 rgba(0, 0, 0, 0.1),
              0 4px 8px 0 rgba(0, 0, 0, 0.06);
  border-left-width: 5px;
  border-left-color: var(--accent-700);
}

.invest-opp-card-elite:active {
  transform: translateY(-2px);
}

/* ================================================================
   ICONOS PREMIUM
   ================================================================ */

.invest-opp-icon-elite {
  width: 56px;
  height: 56px;
  margin-bottom: var(--space-5);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-50);
  border-radius: 8px;
  border: 1px solid var(--accent-200);
  transition: all 0.3s ease;
}

.invest-opp-card-elite:hover .invest-opp-icon-elite {
  background: var(--accent-100);
  border-color: var(--accent-300);
  transform: scale(1.05) rotate(2deg);
}

.invest-opp-icon-elite svg {
  width: 28px;
  height: 28px;
  color: var(--accent-700);
  transition: color 0.3s ease;
}

.invest-opp-card-elite:hover .invest-opp-icon-elite svg {
  color: var(--accent-800);
}

/* ================================================================
   TÍTULO Y CONTENIDO
   ================================================================ */

.invest-opp-title-elite {
  font-size: var(--text-xl);
  font-weight: var(--font-bold);
  color: var(--text-primary);
  margin-bottom: var(--space-5);
  line-height: 1.3;
  transition: color 0.3s ease;
}

.invest-opp-card-elite:hover .invest-opp-title-elite {
  color: var(--accent-800);
}

.invest-opp-content {
  flex: 1;
}

/* ================================================================
   LISTAS PREMIUM (no bullets básicas)
   ================================================================ */

.invest-opp-list-elite {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.invest-opp-list-elite li {
  position: relative;
  padding-left: var(--space-6);
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: 1.6;
  transition: color 0.2s ease;
}

/* Bullet premium personalizado */
.invest-opp-list-elite li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  background: var(--accent-600);
  border-radius: 50%;
  transition: all 0.2s ease;
}

.invest-opp-card-elite:hover .invest-opp-list-elite li::before {
  background: var(--accent-700);
  transform: scale(1.3);
}

.invest-opp-card-elite:hover .invest-opp-list-elite li {
  color: var(--text-primary);
}

/* ================================================================
   DISCLAIMER ÉLITE (no bloque básico)
   ================================================================ */

.invest-disclaimer-elite {
  max-width: 1000px;
  margin: 0 auto;
  padding: var(--space-6) var(--space-7);
  background: var(--bg-secondary);
  border: 2px solid var(--accent-300);
  border-left: 5px solid var(--accent-600);
  display: flex;
  gap: var(--space-5);
  align-items: flex-start;
  box-shadow: var(--shadow-sm);
}

.invest-disclaimer-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-100);
  border-radius: 8px;
  border: 1px solid var(--accent-300);
}

.invest-disclaimer-icon svg {
  width: 22px;
  height: 22px;
  color: var(--accent-700);
}

.invest-disclaimer-content {
  flex: 1;
}

.invest-disclaimer-label {
  display: block;
  font-size: var(--text-xs);
  font-weight: var(--font-bold);
  color: var(--accent-800);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-2);
}

.invest-disclaimer-text {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
}

/* ================================================================
   RESPONSIVE: Mobile optimizado
   ================================================================ */

@media (max-width: 767px) {
  .invest-opp-grid-elite {
    gap: var(--space-5);
    margin-bottom: var(--space-10);
  }
  
  .invest-opp-card-elite {
    padding: var(--space-6) var(--space-5);
  }
  
  .invest-opp-icon-elite {
    width: 52px;
    height: 52px;
  }
  
  .invest-opp-icon-elite svg {
    width: 26px;
    height: 26px;
  }
  
  .invest-opp-title-elite {
    font-size: var(--text-lg);
    margin-bottom: var(--space-4);
  }
  
  .invest-opp-list-elite {
    gap: var(--space-2);
  }
  
  .invest-opp-list-elite li {
    font-size: var(--text-sm);
  }
  
  .invest-disclaimer-elite {
    flex-direction: column;
    padding: var(--space-5) var(--space-5);
    gap: var(--space-4);
  }
  
  .invest-disclaimer-icon {
    width: 36px;
    height: 36px;
  }
  
  .invest-disclaimer-icon svg {
    width: 20px;
    height: 20px;
  }
}

/* ================================================================
   DARK MODE
   ================================================================ */

[data-theme="dark"] .invest-opp-card-elite::before {
  opacity: 0;
}

[data-theme="dark"] .invest-opp-card-elite:hover::before {
  opacity: 0.2;
}

[data-theme="dark"] .invest-opp-icon-elite {
  background: var(--accent-900);
  border-color: var(--accent-800);
}

[data-theme="dark"] .invest-opp-card-elite:hover .invest-opp-icon-elite {
  background: var(--accent-800);
  border-color: var(--accent-700);
}

[data-theme="dark"] .invest-disclaimer-elite {
  border-color: var(--accent-700);
  border-left-color: var(--accent-600);
}

[data-theme="dark"] .invest-disclaimer-icon {
  background: var(--accent-900);
  border-color: var(--accent-700);
}

/* ================================================================
   ACCESIBILIDAD
   ================================================================ */

@media (prefers-reduced-motion: reduce) {
  .invest-opp-card-elite,
  .invest-opp-card-elite::before,
  .invest-opp-icon-elite,
  .invest-opp-icon-elite svg,
  .invest-opp-title-elite,
  .invest-opp-list-elite li,
  .invest-opp-list-elite li::before {
    transition: none;
  }
  
  .invest-opp-card-elite:hover {
    transform: none;
  }
  
  .invest-opp-card-elite:hover .invest-opp-icon-elite {
    transform: none;
  }
  
  .invest-opp-card-elite:hover .invest-opp-list-elite li::before {
    transform: none;
  }
}

/* Focus states WCAG AA */
.invest-opp-card-elite:focus-within {
  outline: 3px solid var(--accent-500);
  outline-offset: 3px;
}

/* ================================================================
   BLOQUE 5: DETALLES TÉCNICOS ÉLITE
   Nivel: Dossier europeo - accordions premium + datos técnicos
   ================================================================ */

.invest-details {
  padding: var(--space-16) 0;
  background: var(--bg-tertiary);
}

/* ================================================================
   PANEL ACCORDION ÉLITE
   ================================================================ */

.invest-detail-panel {
  background: var(--bg-secondary);
  border: 1px solid var(--border-primary);
  border-left: 4px solid var(--border-secondary);
  margin-bottom: var(--space-5);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.invest-detail-panel:hover {
  border-left-color: var(--accent-500);
  box-shadow: var(--shadow-sm);
}

.invest-detail-panel[open] {
  border-left-color: var(--accent-700);
  border-left-width: 5px;
  box-shadow: var(--shadow-md);
}

/* ================================================================
   TRIGGER (Summary) ÉLITE
   ================================================================ */

.invest-detail-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 64px;
  padding: var(--space-6) var(--space-6) var(--space-6) var(--space-5);
  background: var(--bg-secondary);
  border: none;
  cursor: pointer;
  list-style: none;
  transition: all 0.25s ease;
  position: relative;
}

.invest-detail-trigger::-webkit-details-marker {
  display: none;
}

/* Hover state premium */
.invest-detail-trigger:hover {
  background: var(--accent-50);
}

.invest-detail-trigger:hover .invest-detail-title {
  color: var(--accent-800);
}

.invest-detail-trigger:hover .invest-detail-icon {
  transform: scale(1.1);
  color: var(--accent-800);
}

/* Focus state WCAG AA */
.invest-detail-trigger:focus-visible {
  outline: 3px solid var(--accent-500);
  outline-offset: -3px;
}

/* Open state premium */
.invest-detail-panel[open] .invest-detail-trigger {
  background: var(--accent-100);
  border-bottom: 2px solid var(--accent-600);
}

.invest-detail-panel[open] .invest-detail-trigger .invest-detail-title {
  color: var(--accent-900);
}

/* ================================================================
   TÍTULO E ICONO
   ================================================================ */

.invest-detail-title {
  font-size: var(--text-lg);
  font-weight: var(--font-bold);
  color: var(--text-primary);
  transition: color 0.25s ease;
}

.invest-detail-icon {
  width: 24px;
  height: 24px;
  color: var(--accent-700);
  flex-shrink: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.invest-detail-panel[open] .invest-detail-icon {
  transform: rotate(180deg);
  color: var(--accent-800);
}


/* ================================================================
   IMAGEN POLÍGONO INDUSTRIAL EL BUJEO
   Dentro de panel desplegable - diseño centrado y destacado
   ================================================================ */

.invest-poligono-figure {
  margin: var(--space-6) auto;
  max-width: 500px;  
  text-align: center;
}

.invest-poligono-image {
  width: 100%;
  height: auto;
  max-height: 380px;  
  display: block;
  object-fit: cover;
  border: 2px solid var(--border-primary);
  box-shadow: var(--shadow-lg);
  transition: box-shadow var(--transition-base);
}

.invest-poligono-image:hover {
  box-shadow: var(--shadow-xl);
}

.invest-poligono-caption {
  margin-top: var(--space-3);
  font-size: var(--text-sm);
  color: var(--text-tertiary);
  font-weight: var(--font-semibold);
  font-style: italic;
  text-align: center;
}

/* Responsive móvil */
@media (max-width: 767px) {
  .invest-poligono-figure {
    margin: var(--space-5) 0;
  }
  
  .invest-poligono-image {
    max-height: 300px;
  }
  
  .invest-poligono-caption {
    font-size: var(--text-xs);
  }
}

/* Dark mode */
[data-theme="dark"] .invest-poligono-image {
  opacity: 0.88;
  border-color: var(--border-secondary);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .invest-poligono-image {
    transition: none;
  }
}

/* ================================================================
   CONTENIDO ÉLITE
   ================================================================ */

.invest-detail-content {
  padding: var(--space-8) var(--space-6);
  background: var(--bg-primary);
  border-top: 1px solid var(--border-primary);
}

.invest-subtitle {
  font-family: var(--font-serif);
  font-size: var(--text-xl);
  font-weight: var(--font-bold);
  color: var(--text-primary);
  margin-bottom: var(--space-4);
  margin-top: var(--space-6);
  line-height: 1.3;
}

.invest-subtitle:first-child {
  margin-top: 0;
}

.invest-detail-content p {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-5);
}

.invest-detail-content p:last-child {
  margin-bottom: 0;
}

/* ================================================================
   LISTAS PREMIUM (bullets personalizados)
   ================================================================ */

.invest-detail-list {
  list-style: none;
  padding: 0;
  margin: var(--space-5) 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.invest-detail-list li {
  position: relative;
  padding-left: var(--space-6);
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Bullet premium personalizado */
.invest-detail-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 6px;
  background: var(--accent-600);
  border-radius: 50%;
}

.invest-detail-list strong {
  color: var(--text-primary);
  font-weight: var(--font-bold);
}

/* ================================================================
   SUBLISTAS (ordered lists, etc)
   ================================================================ */

.invest-detail-steps {
  list-style: none;
  counter-reset: step-counter;
  padding: 0;
  margin: var(--space-6) 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.invest-detail-steps li {
  position: relative;
  padding-left: var(--space-10);
  counter-increment: step-counter;
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Número premium con background */
.invest-detail-steps li::before {
  content: counter(step-counter);
  position: absolute;
  left: 0;
  top: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-100);
  border: 2px solid var(--accent-300);
  border-radius: 50%;
  font-weight: var(--font-bold);
  font-size: var(--text-sm);
  color: var(--accent-800);
}

.invest-detail-steps strong {
  display: block;
  color: var(--text-primary);
  font-weight: var(--font-bold);
  margin-bottom: var(--space-2);
  font-size: var(--text-lg);
}

.invest-detail-sublist {
  list-style: none;
  padding: 0;
  margin: var(--space-3) 0 var(--space-3) var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.invest-detail-sublist li {
  position: relative;
  padding-left: var(--space-5);
  font-size: var(--text-sm);
  color: var(--text-tertiary);
  line-height: 1.6;
}

.invest-detail-sublist li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent-600);
  font-weight: var(--font-bold);
}

/* ================================================================
   IMAGEN POLÍGONO CON FRAMING EDITORIAL PREMIUM
   ================================================================ */

.invest-poligono-figure {
  margin: var(--space-6) auto;
  max-width: 900px;
  padding: 0;
}

.invest-poligono-image {
  width: 100%;
  height: auto;
  max-height: 380px;
  display: block;
  object-fit: cover;
  border: 2px solid var(--border-primary);
  box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.06), 
              0 1px 4px 0 rgba(0, 0, 0, 0.04);
}

.invest-poligono-caption {
  margin-top: var(--space-3);
  font-size: var(--text-sm);
  color: var(--text-tertiary);
  text-align: center;
  font-weight: var(--font-semibold);
  font-style: italic;
}

/* ================================================================
   GRID DE DATOS TÉCNICOS PREMIUM
   ================================================================ */

.invest-data-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  margin: var(--space-6) 0;
  padding: var(--space-6);
  background: var(--bg-secondary);
  border: 1px solid var(--border-primary);
  border-left: 4px solid var(--accent-600);
}

@media (min-width: 640px) {
  .invest-data-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .invest-data-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.invest-data-item {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  padding: var(--space-4);
  background: var(--bg-tertiary);
  border: 1px solid var(--border-secondary);
  transition: all 0.2s ease;
}

.invest-data-item:hover {
  background: var(--bg-primary);
  border-color: var(--accent-300);
}

.invest-data-label {
  font-size: var(--text-xs);
  font-weight: var(--font-semibold);
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.invest-data-value {
  font-size: var(--text-lg);
  font-weight: var(--font-bold);
  color: var(--accent-800);
}

/* ================================================================
   CALLOUT BOX ÉLITE
   ================================================================ */

.invest-callout {
  padding: var(--space-6);
  margin: var(--space-6) 0;
  background: var(--accent-50);
  border: 2px solid var(--accent-200);
  border-left: 5px solid var(--accent-600);
}

.invest-callout-title {
  display: block;
  font-size: var(--text-base);
  font-weight: var(--font-bold);
  color: var(--accent-900);
  margin-bottom: var(--space-3);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: var(--text-sm);
}

.invest-callout p {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
}

/* ================================================================
   DISCLAIMER TEXT ÉLITE
   ================================================================ */

.invest-disclaimer-text {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.7;
  padding: var(--space-5);
  background: var(--bg-secondary);
  border-left: 3px solid var(--accent-400);
  margin: var(--space-6) 0;
  font-style: italic;
}

.invest-disclaimer-text strong {
  color: var(--accent-800);
  font-weight: var(--font-bold);
  font-style: normal;
}

/* ================================================================
   RESPONSIVE: Mobile optimizado
   ================================================================ */

@media (max-width: 767px) {
  .invest-detail-trigger {
    min-height: 56px;
    padding: var(--space-5);
  }
  
  .invest-detail-title {
    font-size: var(--text-base);
  }
  
  .invest-detail-icon {
    width: 20px;
    height: 20px;
  }
  
  .invest-detail-content {
    padding: var(--space-6) var(--space-5);
  }
  
  .invest-poligono-image {
    max-height: 280px;
  }
  
  .invest-data-grid {
    grid-template-columns: 1fr;
    padding: var(--space-5);
  }
  
  .invest-data-item {
    padding: var(--space-3);
  }
  
  .invest-detail-steps li {
    padding-left: var(--space-8);
  }
  
  .invest-detail-steps li::before {
    width: 28px;
    height: 28px;
    font-size: 0.75rem;
  }
}

/* ================================================================
   DARK MODE
   ================================================================ */

[data-theme="dark"] .invest-detail-panel:hover {
  border-left-color: var(--accent-600);
}

[data-theme="dark"] .invest-detail-panel[open] {
  border-left-color: var(--accent-600);
}

[data-theme="dark"] .invest-poligono-image {
  opacity: 0.88;
  border-color: var(--border-primary);
}

[data-theme="dark"] .invest-data-item {
  background: var(--bg-primary);
}

[data-theme="dark"] .invest-data-item:hover {
  background: var(--bg-secondary);
}

[data-theme="dark"] .invest-detail-steps li::before {
  background: var(--accent-900);
  border-color: var(--accent-700);
  color: var(--accent-300);
}

/* ================================================================
   ACCESIBILIDAD
   ================================================================ */

@media (prefers-reduced-motion: reduce) {
  .invest-detail-panel,
  .invest-detail-trigger,
  .invest-detail-icon,
  .invest-data-item {
    transition: none;
  }
  
  .invest-detail-trigger:hover .invest-detail-icon {
    transform: none;
  }
  
  .invest-detail-panel[open] .invest-detail-icon {
    transform: rotate(180deg);
    transition: none;
  }
}

/* SVG fix dentro de detalles */
.invest-details svg {
  max-width: 24px;
  max-height: 24px;
}

.invest-detail-icon {
  width: 24px !important;
  height: 24px !important;
}

/* ================================================================
   BLOQUE 6: DATOS Y CONTEXTO ECONÓMICO ÉLITE
   Nivel: Dossier europeo - tabs/accordions premium + data grids
   ================================================================ */

.invest-data-section {
  padding: var(--space-16) 0;
  background: var(--bg-primary);
}

/* ================================================================
   HEADER CON CHIPS PREMIUM
   ================================================================ */

.invest-data-header {
  margin-bottom: var(--space-10);
  text-align: center;
}

/* Data Chips Premium */
.data-chips {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
  justify-content: center;
  margin-top: var(--space-6);
}

.data-chip {
  display: inline-flex;
  align-items: center;
  padding: var(--space-2) var(--space-5);
  background: var(--accent-50);
  border: 1px solid var(--accent-200);
  border-radius: 6px;
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  color: var(--accent-900);
  white-space: nowrap;
  transition: all 0.2s ease;
}

.data-chip:hover {
  background: var(--accent-100);
  border-color: var(--accent-300);
  transform: translateY(-1px);
}

/* ================================================================
   INDICADOR DE PROGRESO PREMIUM
   ================================================================ */

.data-progress {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  max-width: 400px;
  margin: 0 auto var(--space-10);
}

.data-progress-text {
  font-size: var(--text-sm);
  font-weight: var(--font-bold);
  color: var(--accent-700);
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.data-progress-bar {
  flex: 1;
  height: 6px;
  background: var(--border-primary);
  border-radius: 3px;
  position: relative;
  overflow: hidden;
}

.data-progress-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: linear-gradient(
    to right,
    var(--accent-600) 0%,
    var(--accent-700) 100%
  );
  transition: width 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ================================================================
   TABS NAVEGACIÓN ÉLITE (desktop)
   ================================================================ */

.data-tabs-wrapper {
  max-width: 1200px;
  margin: 0 auto;
}

.data-tabs-nav {
  display: none;
  gap: var(--space-2);
  margin-bottom: var(--space-8);
  border-bottom: 2px solid var(--border-primary);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

@media (min-width: 768px) {
  .data-tabs-nav {
    display: flex;
  }
}

.data-tab {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  min-width: 120px;
  padding: var(--space-4) var(--space-4);
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  color: var(--text-tertiary);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  position: relative;
}

.data-tab::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent-600);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}

.data-tab:hover {
  background: var(--bg-tertiary);
  color: var(--text-primary);
}

.data-tab:hover::before {
  transform: scaleX(0.3);
}

.data-tab:focus-visible {
  outline: 3px solid var(--accent-500);
  outline-offset: -3px;
}

.data-tab.active {
  color: var(--accent-800);
  border-bottom-color: var(--accent-700);
  background: var(--accent-50);
}

.data-tab.active::before {
  transform: scaleX(1);
}

.data-tab-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--accent-200);
  color: var(--accent-700);
  border-radius: 50%;
  font-size: var(--text-xs);
  font-weight: var(--font-bold);
  transition: all 0.25s ease;
}

.data-tab:hover .data-tab-number {
  background: var(--accent-300);
  transform: scale(1.1);
}

.data-tab.active .data-tab-number {
  background: var(--accent-700);
  color: var(--text-on-accent);
  transform: scale(1.15);
}

.data-tab-label {
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
}

/* ================================================================
   PANELS
   ================================================================ */

.data-panel {
  display: none;
}

.data-panel.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

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

@media (max-width: 767px) {
  .data-panel {
    display: block;
  }
}

/* ================================================================
   ACCORDION ÉLITE (móvil y fallback)
   ================================================================ */

.data-accordion {
  background: var(--bg-secondary);
  border: 1px solid var(--border-primary);
  border-left: 4px solid var(--border-secondary);
  margin-bottom: var(--space-5);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.data-accordion:hover {
  border-left-color: var(--accent-500);
  box-shadow: var(--shadow-sm);
}

.data-accordion[open] {
  border-left-color: var(--accent-700);
  border-left-width: 5px;
  box-shadow: var(--shadow-md);
}

.data-accordion-trigger {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  width: 100%;
  min-height: 64px;
  padding: var(--space-5) var(--space-6);
  background: var(--bg-secondary);
  border: none;
  cursor: pointer;
  list-style: none;
  transition: all 0.25s ease;
}

.data-accordion-trigger::-webkit-details-marker {
  display: none;
}

.data-accordion-trigger:hover {
  background: var(--accent-50);
}

.data-accordion-trigger:hover .data-accordion-title {
  color: var(--accent-800);
}

.data-accordion-trigger:hover .data-accordion-icon {
  transform: scale(1.1);
  color: var(--accent-800);
}

.data-accordion-trigger:focus-visible {
  outline: 3px solid var(--accent-500);
  outline-offset: -3px;
}

.data-accordion[open] .data-accordion-trigger {
  background: var(--accent-100);
  border-bottom: 2px solid var(--accent-600);
}

.data-accordion[open] .data-accordion-trigger .data-accordion-title {
  color: var(--accent-900);
}

.data-accordion-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  background: var(--accent-700);
  color: var(--text-on-accent);
  border-radius: 50%;
  font-size: var(--text-sm);
  font-weight: var(--font-bold);
  font-family: var(--font-serif);
  transition: all 0.25s ease;
}

.data-accordion:hover .data-accordion-number {
  transform: scale(1.05);
}

.data-accordion[open] .data-accordion-number {
  background: var(--accent-800);
  transform: scale(1.1);
}

.data-accordion-title {
  flex: 1;
  font-size: var(--text-lg);
  font-weight: var(--font-bold);
  color: var(--text-primary);
  text-align: left;
  transition: color 0.25s ease;
}

.data-accordion-icon {
  width: 24px !important;
  height: 24px !important;
  color: var(--accent-700);
  flex-shrink: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.data-accordion[open] .data-accordion-icon {
  transform: rotate(180deg);
  color: var(--accent-800);
}

@media (min-width: 768px) {
  .data-accordion-trigger {
    display: none;
  }
}

/* ================================================================
   CONTENIDO ACCORDION ÉLITE
   ================================================================ */

.data-accordion-content {
  padding: var(--space-8) var(--space-6);
  background: var(--bg-primary);
  border-top: 1px solid var(--border-primary);
}

.data-intro {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-6);
  font-weight: var(--font-medium);
}

/* ================================================================
   DATA GRID PREMIUM (tabla de datos)
   ================================================================ */

.data-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-1);
  margin-bottom: var(--space-6);
  border: 1px solid var(--border-primary);
  overflow: hidden;
}

@media (min-width: 640px) {
  .data-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.data-grid-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-4) var(--space-5);
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-primary);
  transition: all 0.2s ease;
}

.data-grid-item:hover {
  background: var(--accent-50);
}

.data-grid-item:last-child,
.data-grid-item:nth-last-child(2):nth-child(odd) {
  border-bottom: none;
}

.data-grid-label {
  font-size: var(--text-sm);
  color: var(--text-tertiary);
  font-weight: var(--font-semibold);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.data-grid-value {
  font-size: var(--text-base);
  color: var(--accent-800);
  font-weight: var(--font-bold);
}

/* ================================================================
   LISTAS PREMIUM (bullets personalizados)
   ================================================================ */

.data-list {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-6) 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.data-list li {
  position: relative;
  padding-left: var(--space-6);
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Bullet premium personalizado */
.data-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 6px;
  background: var(--accent-600);
  border-radius: 50%;
}

/* ================================================================
   CALLOUT PREMIUM (advertencias)
   ================================================================ */

.data-callout {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  padding: var(--space-5) var(--space-6);
  background: var(--accent-50);
  border: 2px solid var(--accent-200);
  border-left: 5px solid var(--accent-600);
  margin-top: var(--space-6);
}

.data-callout svg {
  width: 22px !important;
  height: 22px !important;
  flex-shrink: 0;
  color: var(--accent-700);
  margin-top: 2px;
}

.data-callout p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
  font-style: italic;
  font-weight: var(--font-medium);
}

/* ================================================================
   BOTONERA DE ACCIONES
   ================================================================ */

.data-actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-top: var(--space-10);
  padding-top: var(--space-10);
  border-top: 2px solid var(--border-primary);
}

.data-pending-label {
  font-size: var(--text-xs);
  color: var(--text-muted);
  font-weight: var(--font-normal);
}

/* ================================================================
   RESPONSIVE: Mobile optimizado
   ================================================================ */

@media (max-width: 767px) {
  .data-chips {
    gap: var(--space-2);
  }
  
  .data-chip {
    padding: var(--space-2) var(--space-4);
    font-size: 0.75rem;
  }
  
  .data-progress {
    max-width: 100%;
  }
  
  .data-accordion-trigger {
    min-height: 56px;
    padding: var(--space-4) var(--space-5);
    gap: var(--space-3);
  }
  
  .data-accordion-number {
    width: 32px;
    height: 32px;
  }
  
  .data-accordion-title {
    font-size: var(--text-base);
  }
  
  .data-accordion-icon {
    width: 20px !important;
    height: 20px !important;
  }
  
  .data-accordion-content {
    padding: var(--space-6) var(--space-5);
  }
  
  .data-grid {
    grid-template-columns: 1fr;
  }
  
  .data-grid-item {
    padding: var(--space-3) var(--space-4);
  }
  
  .data-callout {
    padding: var(--space-4) var(--space-5);
    gap: var(--space-3);
  }
}

/* ================================================================
   DARK MODE
   ================================================================ */

[data-theme="dark"] .data-chip {
  background: var(--accent-900);
  border-color: var(--accent-700);
  color: var(--accent-300);
}

[data-theme="dark"] .data-chip:hover {
  background: var(--accent-800);
  border-color: var(--accent-600);
}

[data-theme="dark"] .data-tab-number {
  background: var(--accent-800);
  color: var(--accent-200);
}

[data-theme="dark"] .data-tab.active .data-tab-number {
  background: var(--accent-600);
  color: var(--text-on-accent);
}

[data-theme="dark"] .data-accordion:hover {
  border-left-color: var(--accent-600);
}

[data-theme="dark"] .data-accordion[open] {
  border-left-color: var(--accent-600);
}

[data-theme="dark"] .data-grid-item:hover {
  background: var(--bg-primary);
}

[data-theme="dark"] .data-callout {
  background: var(--accent-900);
  border-color: var(--accent-700);
  border-left-color: var(--accent-600);
}

/* ================================================================
   ACCESIBILIDAD
   ================================================================ */

@media (prefers-reduced-motion: reduce) {
  .data-chip,
  .data-tab,
  .data-tab::before,
  .data-tab-number,
  .data-accordion,
  .data-accordion-number,
  .data-accordion-icon,
  .data-accordion-title,
  .data-progress-fill,
  .data-grid-item,
  .data-panel.active {
    transition: none;
    animation: none;
  }
  
  .data-chip:hover,
  .data-tab:hover .data-tab-number,
  .data-accordion:hover .data-accordion-number {
    transform: none;
  }
  
  .data-accordion-trigger:hover .data-accordion-icon {
    transform: none;
  }
  
  .data-accordion[open] .data-accordion-icon {
    transform: rotate(180deg);
  }
}

/* SVG fix dentro de datos económicos */
.invest-data-section svg {
  max-width: 24px;
  max-height: 24px;
}


/* ================================================================
   BLOQUE 6: CONTACTO ÉLITE — MISMO NIVEL QUE HERO
   Ingeniería premium: framing editorial + psicología institucional
   ================================================================ */

.invest-contact-elite {
  position: relative;
  background: var(--bg-primary);
  border-top: 2px solid var(--border-primary);
  padding: var(--space-16) 0;
}

.invest-contact-split {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 1400px;
  margin: 0 auto;
  background: var(--bg-secondary);
  border: 2px solid var(--border-primary);
}

@media (min-width: 1024px) {
  .invest-contact-split {
    grid-template-columns: 1fr 1fr;
    min-height: 600px;
  }
}

/* ================================================================
   VISUAL: Imagen Ayuntamiento con framing editorial premium
   ================================================================ */

.invest-contact-visual {
  position: relative;
  min-height: 450px;
  margin: 0;
  overflow: hidden;
  background: var(--bg-tertiary);
  padding: var(--space-5);
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 1024px) {
  .invest-contact-visual {
    min-height: 100%;
    padding: var(--space-6);
  }
}

.invest-contact-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
  border-radius: 0px;
  border: 1px solid var(--border-secondary);
  box-shadow: 0 8px 24px 0 rgba(0, 0, 0, 0.08), 
              0 2px 8px 0 rgba(0, 0, 0, 0.04);
}

.invest-contact-overlay {
  position: absolute;
  top: var(--space-5);
  left: var(--space-5);
  bottom: var(--space-5);
  right: var(--space-5);
  background: linear-gradient(
    to left,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.03) 70%,
    rgba(0, 0, 0, 0.05) 100%
  );
  pointer-events: none;
  border-radius: 16px;
}

@media (min-width: 1024px) {
  .invest-contact-overlay {
    top: var(--space-6);
    left: var(--space-6);
    bottom: var(--space-6);
    right: var(--space-6);
  }
}

/* Badge editorial */
.invest-contact-badge {
  position: absolute;
  bottom: var(--space-8);
  left: var(--space-8);
  padding: var(--space-3) var(--space-5);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-secondary);
  border-radius: 8px;
  font-size: var(--text-xs);
  font-weight: var(--font-semibold);
  color: var(--text-secondary);
  letter-spacing: 0.02em;
  line-height: 1.4;
  box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.08);
  max-width: calc(100% - var(--space-16));
}

@media (min-width: 1024px) {
  .invest-contact-badge {
    bottom: var(--space-10);
    left: var(--space-10);
  }
}

/* ================================================================
   CONTENIDO: Información con aire premium
   ================================================================ */

.invest-contact-content {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-10) var(--space-6);
  background: var(--bg-secondary);
}

@media (min-width: 768px) {
  .invest-contact-content {
    padding: var(--space-12) var(--space-8);
  }
}

@media (min-width: 1024px) {
  .invest-contact-content {
    padding: var(--space-14) var(--space-10);
  }
}

.invest-contact-inner {
  max-width: 520px;
  width: 100%;
}

/* ================================================================
   TIPOGRAFÍA CONTACTO
   ================================================================ */

.invest-contact-eyebrow {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: var(--font-bold);
  color: var(--accent-700);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-2);
  border-bottom: 2px solid var(--accent-200);
}

.invest-contact-title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: var(--font-bold);
  color: var(--text-primary);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-top: var(--space-2);
  margin-bottom: var(--space-5);
}

.invest-contact-lead {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: var(--space-8);
  font-weight: var(--font-normal);
}

/* ================================================================
   DETALLES DE CONTACTO: Claim + Proof pattern
   ================================================================ */

.invest-contact-details {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  margin-bottom: var(--space-10);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--border-secondary);
}

.invest-contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
}

.invest-contact-item svg {
  width: 20px;
  height: 20px;
  color: var(--accent-600);
  flex-shrink: 0;
  margin-top: 2px;
}

.invest-contact-item > div {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.invest-contact-claim {
  font-size: var(--text-sm);
  color: var(--text-primary);
  font-weight: var(--font-semibold);
  line-height: 1.4;
}

.invest-contact-proof {
  font-size: var(--text-sm);
  color: var(--text-tertiary);
  font-weight: var(--font-normal);
  line-height: 1.5;
}

/* Enlaces dentro de proof */
.invest-contact-proof a {
  color: var(--accent-700);
  text-decoration: none;
  transition: color 0.2s ease;
}

.invest-contact-proof a:hover {
  color: var(--accent-900);
  text-decoration: underline;
}

/* ================================================================
   CTA CONTACTO
   ================================================================ */

.invest-contact-cta {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}

@media (min-width: 640px) {
  .invest-contact-cta {
    flex-direction: row;
    align-items: center;
    gap: var(--space-5);
  }
}

/* ================================================================
   PROCESO Y COMPROMISO: Minimalista
   ================================================================ */

.invest-contact-process {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding-top: var(--space-6);
  border-top: 1px solid var(--border-secondary);
}

.invest-process-item {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.invest-process-item strong {
  font-size: var(--text-xs);
  color: var(--text-primary);
  font-weight: var(--font-bold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.invest-process-item span {
  font-size: var(--text-sm);
  color: var(--text-tertiary);
  line-height: 1.6;
  font-weight: var(--font-normal);
}

/* ================================================================
   RESPONSIVE: Mobile optimizado
   ================================================================ */

@media (max-width: 1023px) {
  .invest-contact-visual {
    order: 1;
    min-height: 400px;
  }
  
  .invest-contact-content {
    order: 2;
  }
  
  .invest-contact-eyebrow {
    margin-bottom: var(--space-3);
  }
  
  .invest-contact-title {
    margin-top: 0;
    margin-bottom: var(--space-4);
  }
  
  .invest-contact-lead {
    margin-bottom: var(--space-6);
  }
  
  .invest-contact-details {
    gap: var(--space-4);
    margin-bottom: var(--space-8);
  }
  
  .invest-contact-badge {
    font-size: 0.65rem;
    padding: var(--space-2) var(--space-4);
  }
}

/* ================================================================
   DARK MODE
   ================================================================ */

[data-theme="dark"] .invest-contact-image {
  opacity: 0.88;
  border-color: var(--border-primary);
}

[data-theme="dark"] .invest-contact-overlay {
  background: linear-gradient(
    to left,
    rgba(0, 0, 0, 0.05) 0%,
    rgba(0, 0, 0, 0.15) 70%,
    rgba(0, 0, 0, 0.25) 100%
  );
}

[data-theme="dark"] .invest-contact-badge {
  background: rgba(0, 0, 0, 0.85);
  border-color: var(--border-secondary);
  color: var(--text-secondary);
}

/* ================================================================
   ACCESIBILIDAD
   ================================================================ */

@media (prefers-reduced-motion: reduce) {
  .invest-contact-proof a {
    transition: none;
  }
}

/* ================================================================
   CSS ADICIONAL PARA DETALLES TÉCNICOS ÉLITE
   Añadir al final del CSS principal (antes de @media print)
   ================================================================ */

/* Subtítulos dentro de paneles */
.invest-subtitle {
  font-family: var(--font-serif);
  font-size: var(--text-lg);
  font-weight: var(--font-bold);
  color: var(--text-primary);
  margin: var(--space-6) 0 var(--space-4);
  line-height: 1.3;
}

.invest-subtitle:first-child {
  margin-top: 0;
}

/* Enlaces institucionales */
.invest-link {
  color: var(--accent-700);
  text-decoration: none;
  font-weight: var(--font-semibold);
  transition: color var(--transition-fast);
}

.invest-link:hover {
  color: var(--accent-900);
  text-decoration: underline;
}

.invest-link:focus-visible {
  outline: 2px solid var(--accent-500);
  outline-offset: 2px;
}

/* Texto de disclaimer */
.invest-disclaimer-text {
  margin-top: var(--space-6);
  padding-top: var(--space-5);
  border-top: 1px solid var(--border-primary);
  font-size: var(--text-sm);
  color: var(--text-tertiary);
}

.invest-disclaimer-text strong {
  color: var(--text-primary);
  font-weight: var(--font-bold);
}

/* Lista ordenada (pasos numerados) */
.invest-detail-steps {
  list-style: none;
  counter-reset: step-counter;
  padding: 0;
  margin: var(--space-5) 0;
}

.invest-detail-steps li {
  position: relative;
  padding-left: var(--space-10);
  margin-bottom: var(--space-6);
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: 1.7;
  counter-increment: step-counter;
}

.invest-detail-steps li::before {
  content: counter(step-counter);
  position: absolute;
  left: 0;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--accent-700);
  color: var(--text-on-accent);
  font-size: var(--text-base);
  font-weight: var(--font-bold);
  font-family: var(--font-serif);
}

.invest-detail-steps li:last-child {
  margin-bottom: 0;
}

.invest-detail-steps li strong {
  color: var(--text-primary);
  font-weight: var(--font-bold);
}

/* Sublista (dentro de listas) */
.invest-detail-sublist {
  list-style: none;
  padding: 0;
  margin: var(--space-3) 0 0 0;
}

.invest-detail-sublist li {
  position: relative;
  padding-left: var(--space-5);
  margin-bottom: var(--space-2);
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.6;
}

.invest-detail-sublist li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--accent-700);
  font-weight: var(--font-bold);
  font-size: 1.3em;
}

.invest-detail-sublist li:last-child {
  margin-bottom: 0;
}

/* Caja de contacto destacada */
.invest-callout {
  margin-top: var(--space-6);
  padding: var(--space-5);
  background: var(--bg-tertiary);
  border-left: 3px solid var(--accent-600);
}

.invest-callout p {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
}

.invest-callout-title {
  color: var(--text-primary);
  display: block;
  margin-bottom: var(--space-2);
  font-weight: var(--font-bold);
}

/* Grid de datos técnicos */
.invest-data-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-1);
  margin: var(--space-6) 0;
  border: 1px solid var(--border-primary);
  overflow: hidden;
}

@media (min-width: 640px) {
  .invest-data-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .invest-data-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.invest-data-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-4);
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-primary);
  min-height: 80px;
}

@media (min-width: 640px) {
  .invest-data-item:nth-child(2n) {
    border-left: 1px solid var(--border-primary);
  }
}

@media (min-width: 1024px) {
  .invest-data-item:nth-child(2n) {
    border-left: none;
  }
  .invest-data-item:nth-child(3n+2),
  .invest-data-item:nth-child(3n) {
    border-left: 1px solid var(--border-primary);
  }
}

.invest-data-item:last-child,
.invest-data-item:nth-last-child(2):nth-child(odd),
.invest-data-item:nth-last-child(3):nth-child(3n+1) {
  border-bottom: none;
}

.invest-data-label {
  font-size: var(--text-xs);
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: var(--font-semibold);
  margin-bottom: var(--space-2);
}

.invest-data-value {
  font-size: var(--text-lg);
  color: var(--text-primary);
  font-weight: var(--font-bold);
  font-family: var(--font-serif);
}

/* Responsive móvil */
@media (max-width: 640px) {
  .invest-detail-steps li {
    padding-left: var(--space-8);
  }
  
  .invest-detail-steps li::before {
    width: 28px;
    height: 28px;
    font-size: var(--text-sm);
  }
}


/* ================================================================
   BLOQUE 1: HERO ÉLITE — INGENIERÍA PREMIUM
   Nivel: Dossier europeo institucional
   ================================================================ */

.invest-hero-elite {
  position: relative;
  background: var(--bg-secondary);
  border-bottom: 2px solid var(--border-primary);
}

.invest-hero-split {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 1400px;
  margin: 0 auto;
}

@media (min-width: 1024px) {
  .invest-hero-split {
    grid-template-columns: 1fr 1fr;
    min-height: 580px;
  }
}

/* ================================================================
   VISUAL: Collage con framing editorial premium
   ================================================================ */

.invest-hero-visual-elite {
  position: relative;
  min-height: 450px;
  margin: 0;
  overflow: hidden;
  background: var(--bg-tertiary);
  padding: var(--space-5);
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 1024px) {
  .invest-hero-visual-elite {
    min-height: 100%;
    padding: var(--space-6);
  }
}

.invest-hero-image-elite {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  display: block;
  border-radius: 0px;
  border: 1px solid var(--border-secondary);
  box-shadow: 0 8px 24px 0 rgba(0, 0, 0, 0.08), 
              0 2px 8px 0 rgba(0, 0, 0, 0.04);
}

.invest-hero-overlay {
  position: absolute;
  top: var(--space-5);
  right: var(--space-5);
  bottom: var(--space-5);
  left: var(--space-5);
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.03) 70%,
    rgba(0, 0, 0, 0.05) 100%
  );
  pointer-events: none;
  border-radius: 16px;
}

@media (min-width: 1024px) {
  .invest-hero-overlay {
    top: var(--space-6);
    right: var(--space-6);
    bottom: var(--space-6);
    left: var(--space-6);
  }
}

/* Caption tipo badge editorial */
.invest-hero-badge {
  position: absolute;
  bottom: var(--space-8);
  left: var(--space-8);
  padding: var(--space-3) var(--space-5);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-secondary);
  border-radius: 8px;
  font-size: var(--text-xs);
  font-weight: var(--font-semibold);
  color: var(--text-secondary);
  letter-spacing: 0.02em;
  line-height: 1.4;
  box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.08);
  max-width: calc(100% - var(--space-16));
}

@media (min-width: 1024px) {
  .invest-hero-badge {
    bottom: var(--space-10);
    left: var(--space-10);
  }
}

/* ================================================================
   CONTENIDO: Texto con aire premium
   ================================================================ */

.invest-hero-content-elite {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-10) var(--space-6);
  background: var(--bg-secondary);
}

@media (min-width: 768px) {
  .invest-hero-content-elite {
    padding: var(--space-12) var(--space-8);
  }
}

@media (min-width: 1024px) {
  .invest-hero-content-elite {
    padding: var(--space-14) var(--space-10);
  }
}

.invest-hero-inner {
  max-width: 520px;
  width: 100%;
}

/* ================================================================
   TIPOGRAFÍA: Aire y ritmo profesional
   ================================================================ */

.invest-eyebrow-elite {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: var(--font-bold);
  color: var(--accent-700);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-2);
  border-bottom: 2px solid var(--accent-200);
}

.invest-title-elite {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: var(--font-bold);
  color: var(--text-primary);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-top: var(--space-2);
  margin-bottom: var(--space-6);
}

.invest-lead-elite {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: var(--space-8);
  font-weight: var(--font-normal);
  max-width: 480px;
}

/* ================================================================
   FEATURES: Claim + Microprueba (reduce riesgo percibido)
   ================================================================ */

.invest-features-elite {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-bottom: var(--space-10);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--border-secondary);
}

@media (min-width: 640px) {
  .invest-features-elite {
    flex-direction: row;
    gap: var(--space-6);
  }
}

.invest-feature-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  flex: 1;
}

.invest-feature-item svg {
  width: 20px;
  height: 20px;
  color: var(--accent-600);
  flex-shrink: 0;
  margin-top: 2px;
}

.invest-feature-item > div {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.invest-feature-claim {
  font-size: var(--text-sm);
  color: var(--text-primary);
  font-weight: var(--font-semibold);
  line-height: 1.4;
}

.invest-feature-proof {
  font-size: var(--text-xs);
  color: var(--text-tertiary);
  font-weight: var(--font-medium);
  line-height: 1.4;
}

/* ================================================================
   CTA: Primario + Secundario útil (reduce incertidumbre)
   ================================================================ */

.invest-cta-elite {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

@media (min-width: 640px) {
  .invest-cta-elite {
    flex-direction: row;
    align-items: center;
    gap: var(--space-5);
  }
}

.invest-btn-elite {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-7);
  font-size: var(--text-base);
  font-weight: var(--font-bold);
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
  min-height: var(--touch-target);
}

.invest-btn-primary-elite {
  background: var(--accent-700);
  color: var(--text-on-accent);
  border-color: var(--accent-700);
  box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.08);
}

.invest-btn-primary-elite:hover {
  background: var(--accent-800);
  border-color: var(--accent-800);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.12);
}

.invest-btn-primary-elite:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.08);
}

.invest-btn-primary-elite:focus-visible {
  outline: 3px solid var(--accent-500);
  outline-offset: 3px;
}

.invest-btn-elite svg {
  width: 18px;
  height: 18px;
  transition: transform 0.25s ease;
}

.invest-btn-primary-elite:hover svg {
  transform: translateX(3px);
}

.invest-link-elite {
  font-size: var(--text-sm);
  color: var(--accent-700);
  text-decoration: none;
  font-weight: var(--font-semibold);
  padding: var(--space-3) var(--space-2);
  transition: color 0.2s ease;
  display: inline-block;
}

.invest-link-secondary-elite {
  color: var(--text-secondary);
}

.invest-link-elite:hover {
  color: var(--accent-900);
}

.invest-link-secondary-elite:hover {
  color: var(--text-primary);
  text-decoration: underline;
}

.invest-link-elite:focus-visible {
  outline: 3px solid var(--accent-500);
  outline-offset: 3px;
}



/* ================================================================
   FIX: SVGs en botones y elementos (tamaño consistente)
   ================================================================ */

/* SVGs dentro de botones élite */
.invest-btn-elite svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

/* SVGs dentro de features */
.invest-feature-item svg,
.invest-contact-item svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* SVGs dentro de links */
.invest-link-elite svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* SVGs dentro de eyebrow o disclaimer */
.invest-eyebrow-elite svg,
.invest-meta-elite svg,
.invest-contact-eyebrow svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* Asegurar que TODOS los SVGs tengan límite máximo */
.invest-hero-elite svg,
.invest-contact-elite svg {
  max-width: 24px;
  max-height: 24px;
}
/* ================================================================
   META: Disclaimer minimalista
   ================================================================ */

.invest-meta-elite {
  font-size: var(--text-xs);
  color: var(--text-muted);
  line-height: 1.6;
  padding-top: var(--space-5);
  border-top: 1px solid var(--border-secondary);
  margin-top: var(--space-2);
}

/* ================================================================
   RESPONSIVE: Mobile optimizado
   ================================================================ */

@media (max-width: 1023px) {
  .invest-hero-visual-elite {
    order: 1;
    min-height: 400px;
  }
  
  .invest-hero-content-elite {
    order: 2;
  }
  
  .invest-eyebrow-elite {
    margin-bottom: var(--space-4);
  }
  
  .invest-title-elite {
    margin-top: 0;
    margin-bottom: var(--space-5);
  }
  
  .invest-lead-elite {
    margin-bottom: var(--space-6);
  }
  
  .invest-features-elite {
    margin-bottom: var(--space-8);
    gap: var(--space-3);
  }
  
  .invest-hero-badge {
    font-size: 0.65rem;
    padding: var(--space-2) var(--space-4);
  }
}

/* ================================================================
   DARK MODE
   ================================================================ */

[data-theme="dark"] .invest-hero-image-elite {
  opacity: 0.88;
  border-color: var(--border-primary);
}

[data-theme="dark"] .invest-hero-overlay {
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.05) 0%,
    rgba(0, 0, 0, 0.15) 70%,
    rgba(0, 0, 0, 0.25) 100%
  );
}

[data-theme="dark"] .invest-hero-badge {
  background: rgba(0, 0, 0, 0.85);
  border-color: var(--border-secondary);
  color: var(--text-secondary);
}

/* ================================================================
   ACCESIBILIDAD
   ================================================================ */

@media (prefers-reduced-motion: reduce) {
  .invest-btn-elite,
  .invest-btn-elite svg,
  .invest-link-elite {
    transition: none;
  }
  
  .invest-btn-primary-elite:hover {
    transform: none;
  }
  
  .invest-btn-primary-elite:hover svg {
    transform: none;
  }
}
/* ================================================================
   FOCUS STATES: WCAG AA compliance
   ================================================================ */

.invest-btn-elite:focus-visible,
.invest-link-elite:focus-visible {
  outline: 3px solid var(--accent-500);
  outline-offset: 3px;
}

/* ================================================================
   TRANSLATION NOTICE
   ================================================================ */
.translation-notice {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  padding: var(--space-4);
  background: var(--bg-tertiary);
  border-left: 3px solid var(--accent-600);
  font-size: var(--text-xs);
  color: var(--text-muted);
  line-height: 1.6;
  margin-top: var(--space-10);
}

.translation-notice svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ================================================================
   FOOTER ÉLITE - SISTEMA MEDITERRÁNEO INSTITUCIONAL
   Nivel: Dossier europeo - estructura institucional premium
   ================================================================ */

.site-footer {
  background: linear-gradient(180deg, var(--neutral-900) 0%, #0f1419 100%);
  color: var(--neutral-100);
  padding: clamp(5rem, 10vw, 7rem) 0 clamp(2.5rem, 5vw, 3.5rem);
  margin-top: auto;
  border-top: 1px solid rgba(125, 185, 232, 0.12);
  position: relative;
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.15);
}

/* Barra de acento superior élite */
.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--accent-600) 15%,
    var(--primary-500) 50%,
    var(--accent-600) 85%,
    transparent 100%
  );
  opacity: 0.6;
}

/* Efecto radial decorativo sutil */
.site-footer::after {
  content: '';
  position: absolute;
  top: -200px;
  right: 10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(74, 159, 212, 0.03) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2rem);
  position: relative;
  z-index: 1;
}

/* ============================================================
   GRID PRINCIPAL - 3 COLUMNAS INSTITUCIONALES
   ============================================================ */

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(3.5rem, 7vw, 5rem);
  padding-bottom: clamp(3.5rem, 7vw, 5rem);
  position: relative;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: clamp(3rem, 6vw, 5rem);
  }
}

/* ============================================================
   COLUMNA PRINCIPAL - BRAND INSTITUCIONAL
   ============================================================ */

.footer-col-main {
  display: flex;
  flex-direction: column;
  gap: clamp(1.5rem, 3vw, 2rem);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  padding-bottom: var(--space-4);
  border-bottom: 2px solid rgba(74, 159, 212, 0.15);
}

.footer-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: var(--font-bold);
  color: #ffffff;
  margin: 0;
  letter-spacing: -0.03em;
  line-height: 1.05;
  background: linear-gradient(135deg, #ffffff 0%, var(--primary-200) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.footer-brand:hover .footer-title {
  background: linear-gradient(135deg, #ffffff 0%, var(--accent-300) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-subtitle {
  font-size: var(--text-sm);
  color: var(--neutral-400);
  font-weight: var(--font-medium);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0;
  opacity: 0.85;
}

.footer-description {
  font-size: var(--text-base);
  line-height: 1.75;
  color: var(--neutral-300);
  margin: 0;
  max-width: 45ch;
  font-weight: var(--font-normal);
}

/* ============================================================
   COLUMNAS SECUNDARIAS
   ============================================================ */

.footer-col {
  display: flex;
  flex-direction: column;
  gap: clamp(1.25rem, 2.5vw, 1.75rem);
}

.footer-heading {
  font-size: var(--text-xs);
  font-weight: var(--font-bold);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-400);
  margin: 0;
  padding-bottom: var(--space-3);
  border-bottom: 1px solid rgba(125, 185, 232, 0.15);
  position: relative;
}

/* Línea de acento bajo el heading */
.footer-heading::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 3.5rem;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-600), var(--primary-500));
}

/* ============================================================
   CONTACTO - INSTITUCIONAL PREMIUM
   ============================================================ */

.footer-contact {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.footer-contact-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-base);
  color: var(--neutral-200);
  text-decoration: none;
  font-weight: var(--font-medium);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  width: fit-content;
  padding: var(--space-2) 0;
  position: relative;
}

/* Línea decorativa al hover */
.footer-contact-link::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-600), var(--primary-500));
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-contact-link:hover::before {
  width: 100%;
}

.footer-contact-link:hover {
  color: #ffffff;
  transform: translateX(4px);
}

.footer-contact-link:focus-visible {
  outline: 2px solid var(--accent-500);
  outline-offset: 6px;
}

/* Icon decorativo inline SVG */
.footer-contact-link svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--accent-500);
  transition: all 0.25s ease;
}

.footer-contact-link:hover svg {
  color: var(--accent-400);
  transform: scale(1.1);
}

.footer-contact-hours {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  color: var(--neutral-500);
  margin-top: var(--space-2);
  padding: var(--space-3) var(--space-4);
  background: rgba(255, 255, 255, 0.02);
  border-left: 3px solid var(--accent-600);
  font-weight: var(--font-normal);
}

.footer-contact-hours svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--accent-500);
}

/* ============================================================
   NAVEGACIÓN - LINKS INSTITUCIONALES
   ============================================================ */

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-nav a {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--neutral-300);
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  width: fit-content;
  font-weight: var(--font-normal);
  padding: var(--space-1) 0;
  position: relative;
}

/* Bullet decorativo */
.footer-nav a::before {
  content: '';
  width: 5px;
  height: 5px;
  background: var(--accent-600);
  flex-shrink: 0;
  transition: all 0.25s ease;
  opacity: 0.6;
}

.footer-nav a:hover {
  color: #ffffff;
  transform: translateX(6px);
}

.footer-nav a:hover::before {
  background: var(--accent-400);
  transform: scale(1.4);
  opacity: 1;
  box-shadow: 0 0 8px rgba(74, 159, 212, 0.5);
}

.footer-nav a:focus-visible {
  outline: 2px solid var(--accent-500);
  outline-offset: 6px;
}

/* ============================================================
   SEPARADOR ÉLITE - GRADIENTE HORIZONTAL
   ============================================================ */

.footer-separator {
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(125, 185, 232, 0.25) 15%,
    rgba(125, 185, 232, 0.25) 85%,
    transparent 100%
  );
  margin: clamp(3rem, 5vw, 4rem) 0;
  position: relative;
}

/* Punto central decorativo */
.footer-separator::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  background: var(--accent-600);
  box-shadow: 0 0 20px rgba(74, 159, 212, 0.6),
              0 0 40px rgba(74, 159, 212, 0.3);
  border: 2px solid var(--neutral-900);
}

/* ============================================================
   FOOTER BOTTOM - LEGAL + CRÉDITOS INSTITUCIONALES
   ============================================================ */

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: clamp(1.75rem, 3.5vw, 2.5rem);
  padding-top: clamp(2.5rem, 5vw, 3rem);
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

/* ============================================================
   LEGAL
   ============================================================ */

.footer-legal {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

@media (min-width: 768px) {
  .footer-legal {
    flex-direction: row;
    align-items: center;
    gap: var(--space-8);
  }
}

.footer-copyright {
  font-size: var(--text-xs);
  color: var(--neutral-500);
  margin: 0;
  font-weight: var(--font-normal);
  line-height: 1.6;
}

.footer-legal-nav {
  display: flex;
  gap: var(--space-5);
  font-size: var(--text-xs);
  flex-wrap: wrap;
}

.footer-legal-nav a {
  color: var(--neutral-500);
  text-decoration: none;
  transition: all 0.2s ease;
  font-weight: var(--font-normal);
  position: relative;
  padding-bottom: 2px;
}

/* Underline animado */
.footer-legal-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent-500);
  transition: width 0.25s ease;
}

.footer-legal-nav a:hover {
  color: var(--neutral-200);
}

.footer-legal-nav a:hover::after {
  width: 100%;
}

.footer-legal-nav a:focus-visible {
  outline: 2px solid var(--accent-500);
  outline-offset: 4px;
}

/* ============================================================
   CRÉDITOS ÉLITE - ARQUITECH INSTITUCIONAL PREMIUM
   ============================================================ */

.footer-credits {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-xs);
  flex-wrap: wrap;
}

@media (max-width: 767px) {
  .footer-credits {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-2);
  }
}

.footer-credits-label {
  color: var(--neutral-500);
  font-weight: var(--font-normal);
}

.footer-credits-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-5);
  background: linear-gradient(135deg, rgba(74, 159, 212, 0.06) 0%, rgba(34, 165, 183, 0.06) 100%);
  border: 1px solid rgba(125, 185, 232, 0.15);
  border-left: 3px solid var(--accent-600);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

/* Efecto de brillo deslizante premium */
.footer-credits-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.08) 50%,
    transparent 100%
  );
  transition: left 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-credits-link:hover::before {
  left: 100%;
}

.footer-credits-link:hover {
  background: linear-gradient(135deg, rgba(74, 159, 212, 0.12) 0%, rgba(34, 165, 183, 0.12) 100%);
  border-color: rgba(125, 185, 232, 0.3);
  border-left-width: 4px;
  border-left-color: var(--accent-500);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(74, 159, 212, 0.2);
}

.footer-credits-link:active {
  transform: translateY(0);
}

.footer-credits-link:focus-visible {
  outline: 2px solid var(--accent-500);
  outline-offset: 4px;
}

.footer-credits-link strong {
  font-size: var(--text-sm);
  font-weight: var(--font-bold);
  color: #ffffff;
  letter-spacing: 0.03em;
  background: linear-gradient(135deg, #ffffff 0%, var(--primary-200) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: all 0.3s ease;
}

.footer-credits-link:hover strong {
  background: linear-gradient(135deg, #ffffff 0%, var(--accent-300) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-credits-sep {
  color: var(--neutral-600);
  font-weight: var(--font-light);
  font-size: var(--text-sm);
}

.footer-credits-tagline {
  color: var(--neutral-400);
  font-weight: var(--font-normal);
  font-size: var(--text-xs);
  letter-spacing: 0.03em;
  transition: color 0.3s ease;
}

.footer-credits-link:hover .footer-credits-tagline {
  color: var(--accent-300);
}

/* ============================================================
   RESPONSIVE REFINAMIENTO - MOBILE FIRST
   ============================================================ */

@media (max-width: 767px) {
  .site-footer {
    padding: var(--space-16) 0 var(--space-10);
  }
  
  .footer-title {
    font-size: 2rem;
  }
  
  .footer-grid {
    gap: var(--space-10);
    padding-bottom: var(--space-10);
  }
  
  .footer-legal {
    align-items: flex-start;
  }
  
  .footer-contact-hours {
    width: fit-content;
  }
}

/* ============================================================
   DARK MODE (ya está optimizado para dark por defecto)
   ============================================================ */

[data-theme="light"] .site-footer {
  background: linear-gradient(180deg, var(--neutral-100) 0%, var(--neutral-50) 100%);
  color: var(--neutral-900);
  border-top-color: var(--border-primary);
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .site-footer::before {
  opacity: 0.5;
}

[data-theme="light"] .site-footer::after {
  background: radial-gradient(
    circle,
    rgba(74, 159, 212, 0.05) 0%,
    transparent 70%
  );
}

[data-theme="light"] .footer-title {
  color: var(--neutral-900);
  background: linear-gradient(135deg, var(--primary-700) 0%, var(--accent-600) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

[data-theme="light"] .footer-subtitle {
  color: var(--neutral-600);
}

[data-theme="light"] .footer-description {
  color: var(--neutral-700);
}

[data-theme="light"] .footer-heading {
  color: var(--accent-700);
  border-bottom-color: var(--border-secondary);
}

[data-theme="light"] .footer-contact-link,
[data-theme="light"] .footer-nav a {
  color: var(--neutral-700);
}

[data-theme="light"] .footer-contact-link:hover,
[data-theme="light"] .footer-nav a:hover {
  color: var(--neutral-900);
}

[data-theme="light"] .footer-contact-hours {
  background: rgba(0, 0, 0, 0.02);
  color: var(--neutral-600);
}

[data-theme="light"] .footer-separator {
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--border-primary) 15%,
    var(--border-primary) 85%,
    transparent 100%
  );
}

[data-theme="light"] .footer-separator::after {
  background: var(--accent-600);
  border-color: white;
}

[data-theme="light"] .footer-copyright,
[data-theme="light"] .footer-legal-nav a,
[data-theme="light"] .footer-credits-label {
  color: var(--neutral-600);
}

[data-theme="light"] .footer-legal-nav a:hover {
  color: var(--neutral-900);
}

[data-theme="light"] .footer-credits-link {
  background: linear-gradient(135deg, rgba(74, 159, 212, 0.08) 0%, rgba(34, 165, 183, 0.08) 100%);
  border-color: var(--accent-200);
}

[data-theme="light"] .footer-credits-link:hover {
  background: linear-gradient(135deg, rgba(74, 159, 212, 0.15) 0%, rgba(34, 165, 183, 0.15) 100%);
  border-color: var(--accent-300);
}

[data-theme="light"] .footer-credits-link strong {
  color: var(--neutral-900);
  background: linear-gradient(135deg, var(--primary-700) 0%, var(--accent-600) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

[data-theme="light"] .footer-credits-tagline {
  color: var(--neutral-600);
}

[data-theme="light"] .footer-credits-link:hover .footer-credits-tagline {
  color: var(--accent-700);
}

/* ============================================================
   ACCESIBILIDAD - WCAG AAA COMPLIANCE
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
  .footer-title,
  .footer-contact-link,
  .footer-contact-link::before,
  .footer-contact-link svg,
  .footer-nav a,
  .footer-nav a::before,
  .footer-legal-nav a,
  .footer-legal-nav a::after,
  .footer-credits-link,
  .footer-credits-link::before,
  .footer-credits-link strong,
  .footer-credits-tagline {
    transition: none;
  }
  
  .footer-contact-link:hover,
  .footer-nav a:hover,
  .footer-credits-link:hover {
    transform: none;
  }
  
  .footer-contact-link:hover svg {
    transform: none;
  }
  
  .footer-nav a:hover::before {
    transform: none;
  }
  
  .footer-credits-link:hover::before {
    left: 0;
  }
}

/* ============================================================
   PRINT - OPTIMIZADO PARA IMPRESIÓN
   ============================================================ */

@media print {
  .site-footer {
    background: white;
    color: black;
    border-top: 3px solid var(--neutral-900);
    margin-top: 3rem;
    padding: 2rem 0 1.5rem;
    box-shadow: none;
  }
  
  .site-footer::before,
  .site-footer::after {
    display: none;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding-bottom: 2rem;
  }
  
  .footer-separator {
    background: #ddd;
    margin: 1.5rem 0;
  }
  
  .footer-separator::after {
    display: none;
  }
  
  .footer-credits-link {
    border: 1px solid #ddd;
    background: transparent;
  }
  
  .footer-title,
  .footer-credits-link strong {
    color: black;
    background: none;
    -webkit-text-fill-color: initial;
  }
}

/* ============================================================
   SVG FIX - TAMAÑOS CONSISTENTES
   ============================================================ */

.site-footer svg {
  max-width: 24px;
  max-height: 24px;
}

.footer-contact-link svg {
  width: 20px !important;
  height: 20px !important;
}

.footer-contact-hours svg {
  width: 16px !important;
  height: 16px !important;
}

.footer-nav a svg {
  width: 18px !important;
  height: 18px !important;
}
/* ============================================================
   ACCESIBILIDAD - WCAG AAA COMPLIANCE
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
  .footer-title,
  .footer-contact-link,
  .footer-contact-link::before,
  .footer-contact-link svg,
  .footer-nav a,
  .footer-nav a::before,
  .footer-legal-nav a,
  .footer-legal-nav a::after,
  .footer-credits-link,
  .footer-credits-link::before,
  .footer-credits-link strong,
  .footer-credits-tagline {
    transition: none;
  }
  
  .footer-contact-link:hover,
  .footer-nav a:hover,
  .footer-credits-link:hover {
    transform: none;
  }
  
  .footer-contact-link:hover svg {
    transform: none;
  }
  
  .footer-nav a:hover::before {
    transform: none;
  }
  
  .footer-credits-link:hover::before {
    left: 0;
  }
}

/* ============================================================
   PRINT - OPTIMIZADO PARA IMPRESIÓN
   ============================================================ */

@media print {
  .site-footer {
    background: white;
    color: black;
    border-top: 3px solid var(--neutral-900);
    margin-top: 3rem;
    padding: 2rem 0 1.5rem;
    box-shadow: none;
  }
  
  .site-footer::before,
  .site-footer::after {
    display: none;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding-bottom: 2rem;
  }
  
  .footer-separator {
    background: #ddd;
    margin: 1.5rem 0;
  }
  
  .footer-separator::after {
    display: none;
  }
  
  .footer-credits-link {
    border: 1px solid #ddd;
    background: transparent;
  }
  
  .footer-title,
  .footer-credits-link strong {
    color: black;
    background: none;
    -webkit-text-fill-color: initial;
  }
}

/* ============================================================
   SVG FIX - TAMAÑOS CONSISTENTES
   ============================================================ */

.site-footer svg {
  max-width: 24px;
  max-height: 24px;
}

.footer-contact-link svg {
  width: 20px !important;
  height: 20px !important;
}

.footer-contact-hours svg {
  width: 16px !important;
  height: 16px !important;
}

.footer-nav a svg {
  width: 18px !important;
  height: 18px !important;
}



/* ================================================================
   BLOQUE 7: INVERSIONES RECIENTES Y ECOSISTEMA EMPRESARIAL ÉLITE
   Nivel: Dossier europeo - showcase inversiones premium
   ================================================================ */

.invest-ecosystem-section {
  padding: var(--space-16) 0;
  background: var(--bg-primary);
}

/* ================================================================
   HEADER
   ================================================================ */

.ecosystem-header {
  text-align: center;
  margin-bottom: var(--space-10);
}

.ecosystem-header strong {
  color: var(--accent-700);
  font-weight: var(--font-bold);
}

/* ================================================================
   CIFRA DESTACADA ÉLITE (40M€)
   ================================================================ */

.ecosystem-highlight {
  max-width: 900px;
  margin: 0 auto var(--space-12);
  padding: var(--space-10);
  background: linear-gradient(
    135deg,
    var(--accent-50) 0%,
    var(--bg-secondary) 50%,
    var(--accent-50) 100%
  );
  border: 2px solid var(--accent-300);
  border-top: 6px solid var(--accent-700);
  box-shadow: var(--shadow-lg);
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Efecto decorativo sutil */
.ecosystem-highlight::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(
    circle,
    var(--accent-100) 0%,
    transparent 70%
  );
  opacity: 0.3;
  pointer-events: none;
}

.ecosystem-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
  position: relative;
  z-index: 1;
}

.ecosystem-stat-number {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 8vw, 4.5rem);
  font-weight: var(--font-bold);
  color: var(--accent-700);
  line-height: 1;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.ecosystem-stat-label {
  font-size: var(--text-lg);
  font-weight: var(--font-bold);
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.ecosystem-stat-text {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* ================================================================
   GRID DE INVERSIONES ÉLITE
   ================================================================ */

.ecosystem-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  margin-bottom: var(--space-12);
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .ecosystem-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ================================================================
   CARDS DE INVERSIÓN ÉLITE
   ================================================================ */

.ecosystem-card {
  padding: var(--space-7) var(--space-6);
  background: var(--bg-secondary);
  border: 1px solid var(--border-primary);
  border-left: 4px solid var(--accent-600);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

/* Efecto de fondo sutil en hover */
.ecosystem-card::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 150px;
  height: 150px;
  background: radial-gradient(
    circle,
    var(--accent-100) 0%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.ecosystem-card:hover::before {
  opacity: 0.4;
}

.ecosystem-card:hover {
  border-left-width: 5px;
  border-left-color: var(--accent-700);
  box-shadow: 0 12px 24px 0 rgba(0, 0, 0, 0.1),
              0 4px 8px 0 rgba(0, 0, 0, 0.06);
  transform: translateY(-3px);
}

.ecosystem-card:active {
  transform: translateY(-1px);
}

/* ================================================================
   HEADER DE CARD ÉLITE
   ================================================================ */

.ecosystem-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--space-5);
  gap: var(--space-4);
}

.ecosystem-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  background: var(--accent-700);
  color: var(--text-on-accent);
  border-radius: 8px;
  border: 2px solid var(--accent-600);
  transition: all 0.3s ease;
}

.ecosystem-card:hover .ecosystem-card-icon {
  background: var(--accent-800);
  border-color: var(--accent-700);
  transform: scale(1.05) rotate(-2deg);
}

.ecosystem-card-icon svg {
  width: 26px !important;
  height: 26px !important;
}

.ecosystem-card-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--space-2);
}

.ecosystem-card-badge {
  display: inline-block;
  padding: var(--space-2) var(--space-4);
  background: var(--accent-100);
  color: var(--accent-900);
  font-size: var(--text-xs);
  font-weight: var(--font-bold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 4px;
  border: 1px solid var(--accent-200);
  transition: all 0.2s ease;
}

.ecosystem-card:hover .ecosystem-card-badge {
  background: var(--accent-200);
  border-color: var(--accent-300);
}

.ecosystem-card-amount {
  font-family: var(--font-serif);
  font-size: var(--text-2xl);
  font-weight: var(--font-bold);
  color: var(--accent-700);
  line-height: 1;
  transition: color 0.2s ease;
}

.ecosystem-card:hover .ecosystem-card-amount {
  color: var(--accent-800);
}

/* ================================================================
   CONTENIDO CARD ÉLITE
   ================================================================ */

.ecosystem-card-title {
  font-family: var(--font-serif);
  font-size: var(--text-xl);
  font-weight: var(--font-bold);
  color: var(--text-primary);
  margin-bottom: var(--space-4);
  line-height: 1.3;
  transition: color 0.2s ease;
}

.ecosystem-card:hover .ecosystem-card-title {
  color: var(--accent-800);
}

.ecosystem-card-text {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-5);
}

/* ================================================================
   LISTAS PREMIUM (bullets personalizados)
   ================================================================ */

.ecosystem-card-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.ecosystem-card-list li {
  position: relative;
  padding-left: var(--space-6);
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Bullet premium personalizado (círculo coherente) */
.ecosystem-card-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  background: var(--accent-600);
  border-radius: 50%;
}

.ecosystem-card-list strong {
  color: var(--text-primary);
  font-weight: var(--font-bold);
}

/* ================================================================
   RESPONSIVE: Mobile optimizado
   ================================================================ */

@media (max-width: 767px) {
  .ecosystem-highlight {
    padding: var(--space-8) var(--space-5);
  }
  
  .ecosystem-stat-number {
    font-size: 2.5rem;
  }
  
  .ecosystem-stat-label {
    font-size: var(--text-base);
  }
  
  .ecosystem-grid {
    gap: var(--space-5);
  }
  
  .ecosystem-card {
    padding: var(--space-6) var(--space-5);
  }
  
  .ecosystem-card-header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .ecosystem-card-meta {
    align-items: flex-start;
    width: 100%;
  }
  
  .ecosystem-card-icon {
    width: 48px;
    height: 48px;
  }
  
  .ecosystem-card-icon svg {
    width: 24px !important;
    height: 24px !important;
  }
  
  .ecosystem-card-amount {
    font-size: var(--text-xl);
  }
  
  .ecosystem-card-title {
    font-size: var(--text-lg);
  }
}

/* ================================================================
   DARK MODE
   ================================================================ */

[data-theme="dark"] .ecosystem-highlight::before,
[data-theme="dark"] .ecosystem-card::before {
  opacity: 0;
}

[data-theme="dark"] .ecosystem-card:hover::before {
  opacity: 0.15;
}

[data-theme="dark"] .ecosystem-card-icon {
  background: var(--accent-600);
  border-color: var(--accent-500);
}

[data-theme="dark"] .ecosystem-card:hover .ecosystem-card-icon {
  background: var(--accent-700);
  border-color: var(--accent-600);
}

[data-theme="dark"] .ecosystem-card-badge {
  background: var(--accent-900);
  border-color: var(--accent-700);
  color: var(--accent-300);
}

[data-theme="dark"] .ecosystem-card:hover .ecosystem-card-badge {
  background: var(--accent-800);
  border-color: var(--accent-600);
}

/* ================================================================
   ACCESIBILIDAD
   ================================================================ */

@media (prefers-reduced-motion: reduce) {
  .ecosystem-card,
  .ecosystem-card::before,
  .ecosystem-card-icon,
  .ecosystem-card-badge,
  .ecosystem-card-amount,
  .ecosystem-card-title {
    transition: none;
  }
  
  .ecosystem-card:hover {
    transform: none;
  }
  
  .ecosystem-card:hover .ecosystem-card-icon {
    transform: none;
  }
}

/* SVG fix dentro de inversiones */
.invest-ecosystem-section svg {
  max-width: 28px;
  max-height: 28px;
}

.ecosystem-card-icon svg {
  width: 26px !important;
  height: 26px !important;
}

/* ================================================================
   BLOQUE REFERENTE: OLEOESTEPA ÉLITE CON IMAGEN
   Nivel: Dossier europeo - split-screen editorial premium
   ================================================================ */

.ecosystem-reference-elite {
  margin-bottom: var(--space-12);
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* ================================================================
   BADGE SUPERIOR PREMIUM
   ================================================================ */

.ecosystem-reference-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-5);
  background: var(--accent-700);
  color: var(--text-on-accent);
  border-radius: 4px;
  border: 2px solid var(--accent-600);
  font-size: var(--text-sm);
  font-weight: var(--font-bold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-6);
  box-shadow: 0 2px 8px rgba(43, 108, 176, 0.2);
  transition: all 0.2s ease;
}

.ecosystem-reference-badge:hover {
  background: var(--accent-800);
  border-color: var(--accent-700);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(43, 108, 176, 0.3);
}

.ecosystem-reference-badge svg {
  width: 16px !important;
  height: 16px !important;
}

/* ================================================================
   SPLIT LAYOUT ÉLITE (como Hero/Contacto)
   ================================================================ */
.ecosystem-reference-split {
  display: grid;
  grid-template-columns: 1fr;
  background: var(--bg-tertiary);
  border: 2px solid var(--accent-600);
  border-left: 6px solid var(--accent-700);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (min-width: 1024px) {
  .ecosystem-reference-split {
    grid-template-columns: 0.8fr 1.2fr; /* Imagen más pequeña (40% / 60%) */
    min-height: 450px; /* Reducido */
  }
}

.ecosystem-reference-split:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-2px);
}

/* Efecto decorativo premium (esquina superior derecha) */
.ecosystem-reference-split::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 350px;
  height: 350px;
  background: radial-gradient(
    circle,
    var(--accent-100) 0%,
    transparent 70%
  );
  opacity: 0.25;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 0;
}

.ecosystem-reference-split:hover::before {
  opacity: 0.35;
}

/* ================================================================
   VISUAL: Imagen con framing editorial premium
   ================================================================ */

.ecosystem-reference-visual {
  position: relative;
  min-height: 400px;
  margin: 0;
  overflow: hidden;
  background: var(--bg-primary);
  padding: var(--space-5);
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 1024px) {
  .ecosystem-reference-visual {
    min-height: 100%;
    padding: var(--space-6);
  }
}

.ecosystem-reference-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 0px;
  border: 1px solid var(--border-secondary);
  box-shadow: 0 8px 24px 0 rgba(0, 0, 0, 0.08), 
              0 2px 8px 0 rgba(0, 0, 0, 0.04);
}

.ecosystem-reference-overlay {
  position: absolute;
  top: var(--space-5);
  right: var(--space-5);
  bottom: var(--space-5);
  left: var(--space-5);
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.02) 70%,
    rgba(0, 0, 0, 0.04) 100%
  );
  pointer-events: none;
  border-radius: 12px;
}

@media (min-width: 1024px) {
  .ecosystem-reference-overlay {
    top: var(--space-6);
    right: var(--space-6);
    bottom: var(--space-6);
    left: var(--space-6);
  }
}

/* Badge editorial dentro de la imagen */
.ecosystem-reference-image-badge {
  position: absolute;
  bottom: var(--space-8);
  left: var(--space-8);
  padding: var(--space-3) var(--space-5);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-secondary);
  border-radius: 8px;
  font-size: var(--text-xs);
  font-weight: var(--font-semibold);
  color: var(--accent-800);
  letter-spacing: 0.02em;
  line-height: 1.4;
  box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.08);
  max-width: calc(100% - var(--space-16));
}

@media (min-width: 1024px) {
  .ecosystem-reference-image-badge {
    bottom: var(--space-10);
    left: var(--space-10);
  }
}

/* ================================================================
   CONTENIDO: Texto + Stats
   ================================================================ */

.ecosystem-reference-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-10) var(--space-6);
  background: var(--bg-tertiary);
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .ecosystem-reference-content {
    padding: var(--space-10) var(--space-8);
  }
}

@media (min-width: 1024px) {
  .ecosystem-reference-content {
    padding: var(--space-10);
  }
}

.ecosystem-reference-title {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: var(--font-bold);
  color: var(--text-primary);
  margin-bottom: var(--space-6);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.ecosystem-reference-body {
  margin-bottom: var(--space-8);
}

.ecosystem-reference-body p {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-5);
}

.ecosystem-reference-body p:last-child {
  margin-bottom: 0;
}

.ecosystem-reference-body strong {
  color: var(--text-primary);
  font-weight: var(--font-bold);
}

/* ================================================================
   HIGHLIGHT PREMIUM
   ================================================================ */

.ecosystem-reference-highlight {
  padding: var(--space-5);
  margin: var(--space-6) 0 0;
  background: var(--accent-50);
  border: 1px solid var(--accent-200);
  border-left: 4px solid var(--accent-700);
  font-weight: var(--font-medium);
  line-height: 1.7;
  transition: all 0.2s ease;
}

.ecosystem-reference-highlight:hover {
  background: var(--accent-100);
  border-left-width: 5px;
  transform: translateX(3px);
}

/* ================================================================
   STATS HORIZONTAL PREMIUM
   ================================================================ */

.ecosystem-reference-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  padding-top: var(--space-8);
  border-top: 2px solid var(--border-primary);
}

@media (max-width: 767px) {
  .ecosystem-reference-stats {
    gap: var(--space-3);
  }
}

/* ================================================================
   STAT CARDS PREMIUM
   ================================================================ */

.ecosystem-reference-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--space-5) var(--space-4);
  background: var(--bg-secondary);
  border: 1px solid var(--border-primary);
  border-top: 3px solid var(--accent-600);
  text-align: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

/* Efecto top bar */
.ecosystem-reference-stat::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent-700);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease;
}

.ecosystem-reference-stat:hover::before {
  transform: scaleX(1);
}

.ecosystem-reference-stat:hover {
  border-top-width: 4px;
  border-top-color: var(--accent-700);
  box-shadow: 0 8px 20px 0 rgba(0, 0, 0, 0.08),
              0 2px 8px 0 rgba(0, 0, 0, 0.04);
  transform: translateY(-3px);
}

.ecosystem-reference-stat:active {
  transform: translateY(-1px);
}

.ecosystem-reference-stat-value {
  font-family: var(--font-serif);
  font-size: clamp(1.875rem, 5vw, 2.5rem);
  font-weight: var(--font-bold);
  color: var(--accent-700);
  line-height: 1;
  margin-bottom: var(--space-2);
  transition: all 0.3s ease;
}

.ecosystem-reference-stat:hover .ecosystem-reference-stat-value {
  color: var(--accent-800);
  transform: scale(1.05);
}

.ecosystem-reference-stat-label {
  font-size: var(--text-xs);
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: var(--font-semibold);
  transition: color 0.2s ease;
}

.ecosystem-reference-stat:hover .ecosystem-reference-stat-label {
  color: var(--text-secondary);
}

/* ================================================================
   RESPONSIVE: Mobile optimizado
   ================================================================ */

@media (max-width: 1023px) {
  .ecosystem-reference-visual {
    order: 1;
    min-height: 350px;
  }
  
  .ecosystem-reference-content {
    order: 2;
    padding: var(--space-8) var(--space-5);
  }
  
  .ecosystem-reference-title {
    margin-bottom: var(--space-5);
  }
  
  .ecosystem-reference-body {
    margin-bottom: var(--space-6);
  }
  
  .ecosystem-reference-stats {
    padding-top: var(--space-6);
  }
  
  .ecosystem-reference-stat {
    padding: var(--space-4) var(--space-3);
  }
  
  .ecosystem-reference-stat-value {
    font-size: 1.75rem;
  }
  
  .ecosystem-reference-stat-label {
    font-size: 0.65rem;
  }
  
  .ecosystem-reference-image-badge {
    font-size: 0.65rem;
    padding: var(--space-2) var(--space-4);
    bottom: var(--space-6);
    left: var(--space-6);
  }
}

/* ================================================================
   DARK MODE
   ================================================================ */

[data-theme="dark"] .ecosystem-reference-image {
  opacity: 0.88;
  border-color: var(--border-primary);
}

[data-theme="dark"] .ecosystem-reference-overlay {
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.05) 0%,
    rgba(0, 0, 0, 0.10) 70%,
    rgba(0, 0, 0, 0.15) 100%
  );
}

[data-theme="dark"] .ecosystem-reference-image-badge {
  background: rgba(0, 0, 0, 0.85);
  border-color: var(--border-secondary);
  color: var(--accent-400);
}

[data-theme="dark"] .ecosystem-reference-split::before {
  opacity: 0.1;
}

[data-theme="dark"] .ecosystem-reference-split:hover::before {
  opacity: 0.15;
}

[data-theme="dark"] .ecosystem-reference-badge {
  background: var(--accent-600);
  border-color: var(--accent-500);
}

[data-theme="dark"] .ecosystem-reference-badge:hover {
  background: var(--accent-700);
  border-color: var(--accent-600);
}

[data-theme="dark"] .ecosystem-reference-highlight {
  background: var(--accent-900);
  border-color: var(--accent-800);
  border-left-color: var(--accent-600);
}

[data-theme="dark"] .ecosystem-reference-highlight:hover {
  background: var(--accent-800);
}

[data-theme="dark"] .ecosystem-reference-stat::before {
  background: var(--accent-600);
}

/* ================================================================
   ACCESIBILIDAD
   ================================================================ */

@media (prefers-reduced-motion: reduce) {
  .ecosystem-reference-split,
  .ecosystem-reference-split::before,
  .ecosystem-reference-badge,
  .ecosystem-reference-highlight,
  .ecosystem-reference-stat,
  .ecosystem-reference-stat::before,
  .ecosystem-reference-stat-value,
  .ecosystem-reference-stat-label {
    transition: none;
  }
  
  .ecosystem-reference-split:hover,
  .ecosystem-reference-stat:hover {
    transform: none;
  }
  
  .ecosystem-reference-badge:hover {
    transform: none;
  }
  
  .ecosystem-reference-highlight:hover {
    transform: none;
  }
  
  .ecosystem-reference-stat:hover .ecosystem-reference-stat-value {
    transform: none;
  }
}

/* Focus states WCAG AA */
.ecosystem-reference-stat:focus-within {
  outline: 3px solid var(--accent-500);
  outline-offset: 3px;
}

/* SVG fix dentro de Oleoestepa */
.ecosystem-reference-elite svg {
  max-width: 20px;
  max-height: 20px;
}

.ecosystem-reference-badge svg {
  width: 16px !important;
  height: 16px !important;
}
/* ================================================================
   AYUDAS Y SUBVENCIONES ÉLITE
   Nivel: Dossier europeo - cards institucionales premium
   ================================================================ */

.ecosystem-support {
  margin-bottom: var(--space-12);
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.ecosystem-support-title {
  font-family: var(--font-serif);
  font-size: clamp(1.375rem, 3vw, 1.875rem);
  font-weight: var(--font-bold);
  color: var(--text-primary);
  text-align: center;
  margin-bottom: var(--space-8);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.ecosystem-support-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

@media (min-width: 640px) {
  .ecosystem-support-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .ecosystem-support-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ================================================================
   CARDS ÉLITE CON MICROINTERACCIONES
   ================================================================ */

.ecosystem-support-card {
  padding: var(--space-7) var(--space-6);
  background: var(--bg-secondary);
  border: 1px solid var(--border-primary);
  border-left: 4px solid var(--accent-600);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

/* Efecto de fondo sutil en hover */
.ecosystem-support-card::before {
  content: '';
  position: absolute;
  top: -50px;
  left: 50%;
  transform: translateX(-50%);
  width: 150px;
  height: 150px;
  background: radial-gradient(
    circle,
    var(--accent-100) 0%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.ecosystem-support-card:hover::before {
  opacity: 0.5;
}

.ecosystem-support-card:hover {
  border-left-width: 5px;
  border-left-color: var(--accent-700);
  box-shadow: 0 8px 20px 0 rgba(0, 0, 0, 0.08),
              0 2px 8px 0 rgba(0, 0, 0, 0.04);
  transform: translateY(-3px);
}

.ecosystem-support-card:active {
  transform: translateY(-1px);
}

/* ================================================================
   ICONOS PREMIUM
   ================================================================ */

.ecosystem-support-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin: 0 auto var(--space-5);
  background: var(--accent-100);
  border: 2px solid var(--accent-200);
  border-radius: 8px;
  color: var(--accent-700);
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.ecosystem-support-card:hover .ecosystem-support-icon {
  background: var(--accent-200);
  border-color: var(--accent-300);
  transform: scale(1.08) rotate(3deg);
}

.ecosystem-support-icon svg {
  width: 28px !important;
  height: 28px !important;
  transition: color 0.3s ease;
}

.ecosystem-support-card:hover .ecosystem-support-icon svg {
  color: var(--accent-800);
}

/* ================================================================
   CONTENIDO CARD
   ================================================================ */

.ecosystem-support-card-title {
  font-size: var(--text-lg);
  font-weight: var(--font-bold);
  color: var(--text-primary);
  margin-bottom: var(--space-3);
  line-height: 1.3;
  transition: color 0.2s ease;
  position: relative;
  z-index: 1;
}

.ecosystem-support-card:hover .ecosystem-support-card-title {
  color: var(--accent-800);
}

.ecosystem-support-card-text {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

/* ================================================================
   SOURCE LINK PREMIUM
   ================================================================ */

.source-link {
  font-size: var(--text-xs);
  color: var(--accent-600);
  text-decoration: underline;
  white-space: nowrap;
  opacity: 0.75;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
}

.source-link:hover {
  opacity: 1;
  color: var(--accent-700);
  text-decoration-color: var(--accent-700);
}

/* ================================================================
   CTA FINAL ÉLITE
   ================================================================ */

.ecosystem-cta {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--space-8) var(--space-7);
  background: var(--bg-secondary);
  border: 2px solid var(--accent-300);
  border-left: 5px solid var(--accent-600);
  box-shadow: var(--shadow-md);
  text-align: center;
}

.ecosystem-cta-text {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-6);
  font-weight: var(--font-medium);
}

.ecosystem-cta-actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  justify-content: center;
}

/* ================================================================
   RESPONSIVE: Mobile optimizado
   ================================================================ */

@media (max-width: 767px) {
  .ecosystem-support-title {
    margin-bottom: var(--space-6);
  }
  
  .ecosystem-support-grid {
    gap: var(--space-5);
  }
  
  .ecosystem-support-card {
    padding: var(--space-6) var(--space-5);
  }
  
  .ecosystem-support-icon {
    width: 52px;
    height: 52px;
  }
  
  .ecosystem-support-icon svg {
    width: 26px !important;
    height: 26px !important;
  }
  
  .ecosystem-support-card-title {
    font-size: var(--text-base);
  }
  
  .ecosystem-cta {
    padding: var(--space-6) var(--space-5);
  }
  
  .ecosystem-cta-actions {
    flex-direction: column;
    gap: var(--space-3);
  }
  
  .ecosystem-cta-actions .invest-btn-elite {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .invest-ecosystem-section {
    padding: var(--space-12) 0;
  }
}

/* ================================================================
   DARK MODE
   ================================================================ */

[data-theme="dark"] .ecosystem-support-card::before {
  opacity: 0;
}

[data-theme="dark"] .ecosystem-support-card:hover::before {
  opacity: 0.2;
}

[data-theme="dark"] .ecosystem-support-icon {
  background: var(--accent-900);
  border-color: var(--accent-800);
}

[data-theme="dark"] .ecosystem-support-card:hover .ecosystem-support-icon {
  background: var(--accent-800);
  border-color: var(--accent-700);
}

[data-theme="dark"] .ecosystem-cta {
  border-color: var(--accent-700);
  border-left-color: var(--accent-600);
}

/* ================================================================
   ACCESIBILIDAD
   ================================================================ */

@media (prefers-reduced-motion: reduce) {
  .ecosystem-support-card,
  .ecosystem-support-card::before,
  .ecosystem-support-icon,
  .ecosystem-support-icon svg,
  .ecosystem-support-card-title,
  .source-link {
    transition: none;
  }
  
  .ecosystem-support-card:hover {
    transform: none;
  }
  
  .ecosystem-support-card:hover .ecosystem-support-icon {
    transform: none;
  }
}

/* Focus states WCAG AA */
.ecosystem-support-card:focus-within {
  outline: 3px solid var(--accent-500);
  outline-offset: 3px;
}

/* SVG fix dentro de ayudas */
.ecosystem-support svg {
  max-width: 28px;
  max-height: 28px;
}

.ecosystem-support-icon svg {
  width: 28px !important;
  height: 28px !important;
}



/* ================================================================
   BLOQUE 7: FAQ ÉLITE
   Nivel: Dossier europeo - accordions institucionales premium
   ================================================================ */

.invest-faq-section {
  padding: var(--space-16) 0;
  background: var(--bg-tertiary);
}

.invest-faq-header {
  text-align: center;
  margin-bottom: var(--space-10);
}

/* ================================================================
   INDICADOR DE PROGRESO PREMIUM
   ================================================================ */

.faq-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  max-width: 400px;
  margin: 0 auto var(--space-10);
}

.faq-progress-text {
  font-size: var(--text-sm);
  font-weight: var(--font-bold);
  color: var(--accent-700);
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.faq-progress-bar {
  flex: 1;
  height: 6px;
  background: var(--border-primary);
  border-radius: 3px;
  position: relative;
  overflow: hidden;
}

.faq-progress-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: linear-gradient(
    to right,
    var(--accent-600) 0%,
    var(--accent-700) 100%
  );
  transition: width 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-progress-count {
  font-size: var(--text-sm);
  font-weight: var(--font-bold);
  color: var(--accent-700);
  min-width: 3ch;
}

/* ================================================================
   GRID DE FAQs
   ================================================================ */

.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  max-width: 900px;
  margin: 0 auto;
}

/* ================================================================
   FAQ ITEM ÉLITE
   ================================================================ */

.faq-item {
  background: var(--bg-secondary);
  border: 1px solid var(--border-primary);
  border-left: 4px solid var(--accent-600);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

/* Efecto radial sutil */
.faq-item::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 150px;
  height: 150px;
  background: radial-gradient(
    circle,
    var(--accent-100) 0%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.faq-item:hover::before {
  opacity: 0.3;
}

.faq-item:hover {
  border-left-width: 5px;
  border-left-color: var(--accent-700);
  box-shadow: var(--shadow-md);
}

.faq-item[open] {
  border-left-width: 5px;
  border-left-color: var(--accent-700);
  box-shadow: var(--shadow-lg);
}

.faq-item[open]::before {
  opacity: 0.4;
}

/* ================================================================
   FAQ TRIGGER ÉLITE
   ================================================================ */

.faq-trigger {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  min-height: 72px;
  padding: var(--space-5) var(--space-6);
  cursor: pointer;
  list-style: none;
  transition: all 0.25s ease;
  user-select: none;
}

.faq-trigger::-webkit-details-marker {
  display: none;
}

.faq-trigger:hover {
  background: var(--accent-50);
}

.faq-trigger:hover .faq-question {
  color: var(--accent-800);
}

.faq-trigger:hover .faq-icon {
  transform: scale(1.05);
}

.faq-trigger:hover .faq-chevron {
  transform: scale(1.1);
  color: var(--accent-800);
}

.faq-trigger:focus-visible {
  outline: 3px solid var(--accent-500);
  outline-offset: -3px;
}

.faq-item[open] .faq-trigger {
  background: var(--accent-100);
  padding-bottom: var(--space-5);
  border-bottom: 2px solid var(--accent-200);
}

/* ================================================================
   FAQ ICON PREMIUM (cuadrado institucional)
   ================================================================ */

.faq-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background: var(--accent-700);
  color: var(--text-on-accent);
  border: 2px solid var(--accent-600);
  border-radius: 4px;
  transition: all 0.25s ease;
}

.faq-item[open] .faq-icon {
  background: var(--accent-800);
  border-color: var(--accent-700);
  transform: scale(1.08);
}

.faq-icon svg {
  width: 20px !important;
  height: 20px !important;
}

/* ================================================================
   FAQ QUESTION
   ================================================================ */

.faq-question {
  flex: 1;
  font-size: var(--text-lg);
  font-weight: var(--font-bold);
  color: var(--text-primary);
  line-height: 1.4;
  transition: color 0.2s ease;
}

/* ================================================================
   FAQ CHEVRON
   ================================================================ */

.faq-chevron {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--accent-700);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-chevron svg {
  width: 24px !important;
  height: 24px !important;
}

.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
  color: var(--accent-800);
}

/* ================================================================
   FAQ ANSWER ÉLITE
   ================================================================ */

.faq-answer {
  padding: var(--space-7) var(--space-6);
  padding-top: var(--space-5);
  background: var(--bg-primary);
  animation: faq-expand 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

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

.faq-answer p {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-5);
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.faq-answer strong {
  color: var(--text-primary);
  font-weight: var(--font-bold);
}

/* ================================================================
   FAQ DATA BOX PREMIUM
   ================================================================ */

.faq-data-box {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  margin: var(--space-6) 0;
  padding: var(--space-5);
  background: var(--bg-tertiary);
  border: 1px solid var(--border-primary);
  border-left: 4px solid var(--accent-600);
}

@media (max-width: 640px) {
  .faq-data-box {
    grid-template-columns: 1fr;
    gap: var(--space-3);
  }
}

.faq-data-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--space-3);
  transition: all 0.2s ease;
}

.faq-data-item:hover {
  transform: translateY(-2px);
}

.faq-data-value {
  font-family: var(--font-serif);
  font-size: var(--text-3xl);
  font-weight: var(--font-bold);
  color: var(--accent-700);
  line-height: 1;
  margin-bottom: var(--space-2);
}

.faq-data-label {
  font-size: var(--text-xs);
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: var(--font-semibold);
}

/* ================================================================
   FAQ INVESTMENT HIGHLIGHT PREMIUM
   ================================================================ */

.faq-investment-highlight {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  margin: var(--space-6) 0;
  padding: var(--space-6);
  background: var(--accent-50);
  border: 2px solid var(--accent-200);
  border-left: 5px solid var(--accent-700);
  box-shadow: var(--shadow-sm);
}

@media (max-width: 640px) {
  .faq-investment-highlight {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-3);
  }
}

.faq-investment-amount {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: var(--font-bold);
  color: var(--accent-700);
  line-height: 1;
  flex-shrink: 0;
}

.faq-investment-desc {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ================================================================
   FAQ REFERENCE BOX PREMIUM
   ================================================================ */

.faq-reference-box {
  padding: var(--space-6);
  margin: var(--space-6) 0;
  background: var(--bg-tertiary);
  border: 2px solid var(--accent-600);
  border-radius: 0;
  position: relative;
}

.faq-reference-badge {
  display: inline-block;
  padding: var(--space-2) var(--space-4);
  background: var(--accent-700);
  color: var(--text-on-accent);
  font-size: var(--text-xs);
  font-weight: var(--font-bold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-4);
  border-radius: 4px;
}

.faq-reference-title {
  font-family: var(--font-serif);
  font-size: var(--text-xl);
  font-weight: var(--font-bold);
  color: var(--text-primary);
  margin-bottom: var(--space-4);
}

.faq-reference-text {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-4);
}

.faq-reference-text:last-of-type {
  margin-bottom: 0;
}

/* ================================================================
   FAQ PROGRAMS GRID PREMIUM
   ================================================================ */

.faq-programs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  margin: var(--space-6) 0;
}

@media (min-width: 640px) {
  .faq-programs-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.faq-program {
  padding: var(--space-5);
  background: var(--bg-tertiary);
  border: 1px solid var(--border-primary);
  border-left: 4px solid var(--accent-600);
  transition: all 0.2s ease;
}

.faq-program:hover {
  border-left-color: var(--accent-700);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.faq-program strong {
  display: block;
  font-size: var(--text-base);
  color: var(--text-primary);
  font-weight: var(--font-bold);
  margin-bottom: var(--space-3);
}

/* ================================================================
   FAQ LISTAS PREMIUM (círculos coherentes)
   ================================================================ */

.faq-list {
  list-style: none;
  padding: 0;
  margin: var(--space-5) 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.faq-list li {
  position: relative;
  padding-left: var(--space-6);
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Bullet premium personalizado (círculo coherente) */
.faq-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 6px;
  background: var(--accent-600);
  border-radius: 50%;
}

.faq-list-compact {
  list-style: none;
  padding: 0;
  margin: var(--space-3) 0 0 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.faq-list-compact li {
  position: relative;
  padding-left: var(--space-5);
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.6;
}

.faq-list-compact li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  background: var(--accent-600);
  border-radius: 50%;
}

/* ================================================================
   FAQ TIMELINE PREMIUM
   ================================================================ */

.faq-timeline {
  list-style: none;
  padding: 0;
  margin: var(--space-5) 0;
  position: relative;
}

.faq-timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--accent-200);
}

.faq-timeline li {
  position: relative;
  padding-left: var(--space-8);
  margin-bottom: var(--space-5);
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: 1.7;
}

.faq-timeline li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 18px;
  height: 18px;
  background: var(--accent-700);
  border: 3px solid var(--bg-primary);
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--accent-200);
}

.faq-timeline li:last-child {
  margin-bottom: 0;
}

.faq-timeline li strong {
  display: block;
  color: var(--text-primary);
  font-weight: var(--font-bold);
  margin-bottom: var(--space-1);
}

/* ================================================================
   FAQ PROCESS LIST PREMIUM (números cuadrados)
   ================================================================ */

.faq-process-list {
  list-style: none;
  counter-reset: process-counter;
  padding: 0;
  margin: var(--space-5) 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.faq-process-list li {
  position: relative;
  padding-left: var(--space-8);
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: 1.7;
  counter-increment: process-counter;
}

.faq-process-list li::before {
  content: counter(process-counter);
  position: absolute;
  left: 0;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  background: var(--accent-700);
  color: var(--text-on-accent);
  font-size: var(--text-sm);
  font-weight: var(--font-bold);
  font-family: var(--font-serif);
  border-radius: 4px;
}

/* ================================================================
   FAQ NOTE PREMIUM
   ================================================================ */

.faq-note {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-4);
  background: var(--bg-tertiary);
  border-left: 3px solid var(--accent-600);
  font-size: var(--text-sm);
  color: var(--text-tertiary);
  line-height: 1.7;
  font-style: italic;
  margin-top: var(--space-5);
}

.faq-note svg {
  width: 18px !important;
  height: 18px !important;
  flex-shrink: 0;
  color: var(--accent-700);
  margin-top: 2px;
}

/* ================================================================
   FAQ CONTACT BOX PREMIUM
   ================================================================ */

.faq-contact-box {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  margin: var(--space-5) 0;
  padding: var(--space-5);
  background: var(--bg-tertiary);
  border: 1px solid var(--border-primary);
  border-left: 4px solid var(--accent-600);
}

@media (min-width: 640px) {
  .faq-contact-box {
    grid-template-columns: repeat(2, 1fr);
  }
}

.faq-contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
}

.faq-contact-item svg {
  width: 24px !important;
  height: 24px !important;
  flex-shrink: 0;
  color: var(--accent-700);
  margin-top: 2px;
}

.faq-contact-item div {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.6;
}

.faq-contact-item strong {
  display: block;
  color: var(--text-primary);
  font-weight: var(--font-bold);
  margin-bottom: var(--space-1);
}

.faq-contact-item a {
  color: var(--accent-700);
  text-decoration: none;
  font-weight: var(--font-semibold);
  transition: color 0.2s ease;
}

.faq-contact-item a:hover {
  color: var(--accent-900);
  text-decoration: underline;
}

/* ================================================================
   FAQ INLINE LINK
   ================================================================ */

.faq-inline-link {
  color: var(--accent-700);
  text-decoration: none;
  font-weight: var(--font-semibold);
  transition: color 0.2s ease;
}

.faq-inline-link:hover {
  color: var(--accent-900);
  text-decoration: underline;
}

.faq-inline-link:focus-visible {
  outline: 2px solid var(--accent-500);
  outline-offset: 2px;
}

/* ================================================================
   FAQ FOOTER PREMIUM
   ================================================================ */

.faq-footer {
  max-width: 800px;
  margin: var(--space-12) auto 0;
  padding: var(--space-8);
  background: var(--accent-50);
  border: 2px solid var(--accent-300);
  border-left: 5px solid var(--accent-600);
  box-shadow: var(--shadow-md);
  text-align: center;
}

.faq-footer-text {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-6);
  text-align: left;
}

.faq-footer-text svg {
  width: 20px !important;
  height: 20px !important;
  flex-shrink: 0;
  color: var(--accent-700);
  margin-top: 2px;
}

.faq-cta-text {
  padding-top: var(--space-4);
  border-top: 1px solid var(--border-primary);
  font-size: var(--text-sm);
  color: var(--text-tertiary);
}

/* ================================================================
   FAQ EXPAND TRIGGER PREMIUM (si existe modo colapsado)
   ================================================================ */

.faq-collapsed-header {
  max-width: 900px;
  margin: 0 auto;
}

.faq-header-content {
  text-align: center;
  margin-bottom: var(--space-8);
}

.faq-expand-trigger {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  width: 100%;
  padding: var(--space-8);
  background: linear-gradient(135deg, var(--accent-50) 0%, var(--bg-secondary) 100%);
  border: 2px solid var(--accent-600);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-md);
}

.faq-expand-trigger:hover {
  border-color: var(--accent-700);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.faq-expand-trigger:focus-visible {
  outline: 3px solid var(--accent-500);
  outline-offset: 3px;
}

.faq-expand-trigger[aria-expanded="true"] {
  background: var(--accent-100);
  border-color: var(--accent-700);
  margin-bottom: var(--space-8);
}

.faq-expand-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  background: var(--accent-700);
  color: var(--text-on-accent);
  border-radius: 4px;
  transition: all 0.3s ease;
}

.faq-expand-trigger:hover .faq-expand-icon {
  background: var(--accent-800);
  transform: scale(1.05);
}

.faq-expand-icon svg {
  width: 28px !important;
  height: 28px !important;
}

.faq-expand-text {
  flex: 1;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.faq-expand-label {
  font-size: var(--text-xl);
  font-weight: var(--font-bold);
  color: var(--text-primary);
  line-height: 1.3;
}

.faq-expand-count {
  font-size: var(--text-sm);
  color: var(--text-tertiary);
  font-weight: var(--font-medium);
}

.faq-expand-chevron {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  color: var(--accent-700);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-expand-chevron svg {
  width: 32px !important;
  height: 32px !important;
}

.faq-expand-trigger[aria-expanded="true"] .faq-expand-chevron {
  transform: rotate(180deg);
}

.faq-content {
  animation: faq-slide-down 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-content[hidden] {
  display: none;
}

@keyframes faq-slide-down {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ================================================================
   BLOQUE 8: RESUMEN EJECUTIVO ÉLITE
   Nivel: Dossier europeo - cards institucionales premium
   ================================================================ */

.invest-executive-summary {
  padding: var(--space-20) 0 var(--space-16);
  background: linear-gradient(180deg, var(--bg-tertiary) 0%, var(--bg-secondary) 100%);
  position: relative;
  overflow: hidden;
}

.invest-executive-summary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1280px;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--accent-600) 50%, transparent 100%);
}

.executive-header {
  text-align: center;
  margin-bottom: var(--space-12);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.executive-intro {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  line-height: 1.75;
  margin: 0 auto;
  max-width: 800px;
}

.executive-intro strong {
  color: var(--text-primary);
  font-weight: var(--font-bold);
}

/* ================================================================
   EXECUTIVE GRID ÉLITE
   ================================================================ */

.executive-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  margin-bottom: var(--space-12);
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 640px) {
  .executive-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .executive-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ================================================================
   EXECUTIVE CARDS ÉLITE (cuadradas institucionales)
   ================================================================ */

.executive-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--space-8);
  background: var(--bg-primary);
  border: 2px solid var(--border-primary);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

/* Top bar effect */
.executive-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--accent-600);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Radial effect */
.executive-card::after {
  content: '';
  position: absolute;
  top: -50px;
  left: 50%;
  transform: translateX(-50%);
  width: 150px;
  height: 150px;
  background: radial-gradient(
    circle,
    var(--accent-100) 0%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.executive-card:hover::after {
  opacity: 0.4;
}

.executive-card:hover {
  border-color: var(--accent-600);
  box-shadow: 0 12px 24px 0 rgba(0, 0, 0, 0.1),
              0 4px 8px 0 rgba(0, 0, 0, 0.06);
  transform: translateY(-4px);
}

.executive-card:hover::before {
  transform: scaleX(1);
}

.executive-card:active {
  transform: translateY(-2px);
}

/* ================================================================
   EXECUTIVE ICON ÉLITE (cuadrado institucional)
   ================================================================ */

.executive-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  margin-bottom: var(--space-5);
  background: linear-gradient(135deg, var(--accent-600) 0%, var(--accent-700) 100%);
  color: var(--text-on-accent);
  border-radius: 4px;
  border: 2px solid var(--accent-500);
  box-shadow: 0 4px 12px rgba(43, 108, 176, 0.2);
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.executive-card:hover .executive-card-icon {
  transform: scale(1.1) rotate(-3deg);
  box-shadow: 0 6px 16px rgba(43, 108, 176, 0.3);
  border-color: var(--accent-600);
}

.executive-card-icon svg {
  width: 32px !important;
  height: 32px !important;
}

/* ================================================================
   EXECUTIVE CONTENT
   ================================================================ */

.executive-card-title {
  font-family: var(--font-serif);
  font-size: var(--text-xl);
  font-weight: var(--font-bold);
  color: var(--text-primary);
  margin-bottom: var(--space-4);
  line-height: 1.3;
  position: relative;
  z-index: 1;
  transition: color 0.2s ease;
}

.executive-card:hover .executive-card-title {
  color: var(--accent-800);
}

.executive-card-text {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 280px;
  position: relative;
  z-index: 1;
}

/* ================================================================
   EXECUTIVE CONCLUSION PREMIUM
   ================================================================ */

.executive-conclusion {
  max-width: 900px;
  margin: 0 auto;
  padding: var(--space-10);
  background: var(--bg-primary);
  border: 2px solid var(--accent-600);
  border-left: 6px solid var(--accent-700);
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
}

.executive-conclusion::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle at top right, var(--accent-100) 0%, transparent 60%);
  opacity: 0.3;
  pointer-events: none;
}

.executive-conclusion-text {
  position: relative;
  z-index: 1;
  font-size: var(--text-lg);
  color: var(--text-secondary);
  line-height: 1.8;
  text-align: center;
  margin-bottom: var(--space-8);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.executive-conclusion-text strong {
  color: var(--text-primary);
  font-weight: var(--font-bold);
}

.executive-actions {
  position: relative;
  z-index: 1;
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  justify-content: center;
  padding-top: var(--space-6);
  border-top: 1px solid var(--border-primary);
}

/* ================================================================
   RESPONSIVE: Mobile optimizado
   ================================================================ */

@media (max-width: 767px) {
  .invest-faq-section {
    padding: var(--space-12) 0;
  }
  
  .faq-trigger {
    gap: var(--space-3);
    padding: var(--space-4) var(--space-5);
    min-height: 64px;
  }
  
  .faq-icon {
    width: 36px;
    height: 36px;
  }
  
  .faq-icon svg {
    width: 18px !important;
    height: 18px !important;
  }
  
  .faq-question {
    font-size: var(--text-base);
  }
  
  .faq-chevron {
    width: 20px;
    height: 20px;
  }
  
  .faq-chevron svg {
    width: 20px !important;
    height: 20px !important;
  }
  
  .faq-answer {
    padding: var(--space-5) var(--space-4);
  }
  
  .faq-programs-grid {
    grid-template-columns: 1fr;
  }
  
  .faq-footer {
    padding: var(--space-6) var(--space-5);
  }
  
  .faq-expand-trigger {
    flex-direction: column;
    gap: var(--space-4);
    padding: var(--space-6);
  }
  
  .faq-expand-text {
    text-align: center;
  }
  
  .faq-expand-icon {
    width: 48px;
    height: 48px;
  }
  
  .faq-expand-icon svg {
    width: 24px !important;
    height: 24px !important;
  }
  
  .faq-expand-label {
    font-size: var(--text-lg);
  }
  
  .invest-executive-summary {
    padding: var(--space-16) 0 var(--space-12);
  }
  
  .executive-header {
    margin-bottom: var(--space-10);
  }
  
  .executive-intro {
    font-size: var(--text-base);
  }
  
  .executive-card {
    padding: var(--space-6);
  }
  
  .executive-card-icon {
    width: 64px;
    height: 64px;
  }
  
  .executive-card-icon svg {
    width: 28px !important;
    height: 28px !important;
  }
  
  .executive-conclusion {
    padding: var(--space-7) var(--space-5);
  }
  
  .executive-conclusion-text {
    font-size: var(--text-base);
  }
  
  .executive-actions {
    flex-direction: column;
  }
  
  .executive-actions .invest-btn-elite {
    width: 100%;
    justify-content: center;
  }
}

/* ================================================================
   DARK MODE
   ================================================================ */

[data-theme="dark"] .faq-item::before,
[data-theme="dark"] .executive-card::after {
  opacity: 0;
}

[data-theme="dark"] .faq-item:hover::before,
[data-theme="dark"] .faq-item[open]::before {
  opacity: 0.15;
}

[data-theme="dark"] .executive-card:hover::after {
  opacity: 0.2;
}

[data-theme="dark"] .faq-icon {
  background: var(--accent-600);
  border-color: var(--accent-500);
}

[data-theme="dark"] .faq-item[open] .faq-icon {
  background: var(--accent-700);
  border-color: var(--accent-600);
}

[data-theme="dark"] .executive-card-icon {
  border-color: var(--accent-600);
}

[data-theme="dark"] .executive-card:hover .executive-card-icon {
  border-color: var(--accent-700);
}

/* ================================================================
   ANIMACIONES ENTRADA (solo si no prefers-reduced-motion)
   ================================================================ */

@media (prefers-reduced-motion: no-preference) {
  .executive-card {
    animation: executive-card-enter 600ms cubic-bezier(0.4, 0, 0.2, 1) backwards;
  }
  
  .executive-card:nth-child(1) { animation-delay: 100ms; }
  .executive-card:nth-child(2) { animation-delay: 200ms; }
  .executive-card:nth-child(3) { animation-delay: 300ms; }
  .executive-card:nth-child(4) { animation-delay: 400ms; }
  
  @keyframes executive-card-enter {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

/* ================================================================
   ACCESIBILIDAD
   ================================================================ */

@media (prefers-reduced-motion: reduce) {
  .faq-item,
  .faq-item::before,
  .faq-trigger,
  .faq-icon,
  .faq-chevron,
  .faq-progress-fill,
  .faq-expand-trigger,
  .faq-expand-icon,
  .faq-expand-chevron,
  .executive-card,
  .executive-card::before,
  .executive-card::after,
  .executive-card-icon {
    transition: none;
    animation: none;
  }
  
  .faq-answer {
    animation: none;
  }
  
  .faq-content {
    animation: none;
  }
  
  .faq-item:hover,
  .executive-card:hover {
    transform: none;
  }
  
  .faq-trigger:hover .faq-icon,
  .faq-expand-trigger:hover .faq-expand-icon,
  .executive-card:hover .executive-card-icon {
    transform: none;
  }
  
  .faq-item[open] .faq-chevron,
  .faq-expand-trigger[aria-expanded="true"] .faq-expand-chevron {
    transform: rotate(180deg);
  }
}

/* SVG fix global para FAQ y Resumen */
.invest-faq-section svg,
.invest-executive-summary svg {
  max-width: 32px;
  max-height: 32px;
}


