/* ══════════════════════════════════════════════
       ROBERTH JIMÉNEZ · Candidato · Líder de Acción · Dashboard
       ══════════════════════════════════════════════ */
    :root {
      /* ── Paleta Conservadora ── */
      --azul-profundo: #141B2D;
      --azul-medio:   #1A2235;
      --azul-claro:   #1E2A3F;
      --msc-blue:            #0A4C9C;
      --msc-yellow:          #FFD200;
      --carchi-green:        #009639;
      --carchi-red:          #DA291C;
      --dorado:       #4A90E2;
      --dorado-suave: #5B9FE8;
      --dorado-claro: #73B5ED;
      --plateado:     #94A3B8;
      --plateado-claro: #CBD5E1;
      --blanco:       #FFFFFF;
      --blanco-oscuro: #E2E8F0;
      --acento:       #4A90E2;
      --acento-suave: #5B9FE8;

      /* ── Superficies ── */
      --card-bg:      rgba(20,27,45,0.80);
      --card-border:  rgba(74,144,226,0.18);
      --card-hover:   rgba(74,144,226,0.10);

      /* ── Sombras ── */
      --shadow-card:  0 4px 24px rgba(0,0,0,0.25);
      --shadow-btn:   0 2px 12px rgba(74,144,226,0.25);

      /* ── Tipografía ── */
      --font-display: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;

      /* ── Radios ── */
      --radius-sm: 8px;
      --radius-md: 12px;
      --radius-lg: 20px;
    }

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

    html {
      scroll-behavior: smooth;
      scroll-padding-top: 80px;
      font-size: 17px;
    }

    body {
      font-family: var(--font-display);
      background: var(--azul-profundo);
      color: var(--blanco);
      line-height: 1.72;
      overflow-x: hidden;
      -webkit-font-smoothing: antialiased;
    }

    /* ── Textura de fondo ── */
    body::before {
      content: '';
      position: fixed; top: 0; left: 0; width: 100%; height: 100%;
      background:
        radial-gradient(ellipse at 20% 10%, rgba(74,144,226,0.06) 0%, transparent 55%),
        radial-gradient(ellipse at 80% 70%, rgba(74,144,226,0.05) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 40%, rgba(74,144,226,0.3) 0%, transparent 70%);
      pointer-events: none; z-index: 0;
    }

    .container { max-width: 1120px; margin: 0 auto; padding: 0 1.5rem; position: relative; z-index: 1; }

    /* ═══════════════════════════════════════
       NAV — Sobrio y profesional
       ═══════════════════════════════════════ */
    nav {
      position: fixed; top: 0; left: 0; right: 0; z-index: 100;
      background: rgba(20,27,45,0.95);
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
      border-bottom: 1px solid var(--card-border);
      padding: 0.65rem 0;
      transition: all 0.3s;
    }
    .nav-inner {
      display: flex; justify-content: space-between; align-items: center;
      max-width: 1120px; margin: 0 auto; padding: 0 1.5rem;
    }
    .nav-logo {
      font-weight: 800; font-size: 1.25rem;
      color: var(--dorado);
      text-decoration: none;
      letter-spacing: -0.01em;
      display: flex; align-items: center; gap: 0.45rem;
    }
    .nav-logo .logo-dot {
      width: 8px; height: 8px; border-radius: 50%;
      background: var(--dorado);
      box-shadow: 0 0 10px rgba(74,144,226,0.5);
      flex-shrink: 0;
    }
    .nav-lista-badge {
      display: inline-flex; align-items: center; justify-content: center;
      width: 26px; height: 26px;
      background: var(--msc-blue);
      color: #FFFFFF;  /* BLANCO */
      border-radius: 50%;
      font-weight: 850; font-size: 0.72rem;
      letter-spacing: -0.02em;
      flex-shrink: 0;
    }
    .nav-links { display: flex; gap: 1.6rem; list-style: none; align-items: center; }
    .nav-links a {
      color: var(--plateado); text-decoration: none;
      font-size: 0.92rem; font-weight: 500;
      transition: color 0.2s; letter-spacing: 0.01em;
    }
    .nav-links a:hover { color: var(--dorado-claro); }
    .nav-links a.nav-active {
      color: var(--dorado);
      font-weight: 700;
    }
    .nav-cta {
      background: var(--dorado); color: var(--azul-profundo) !important;
      padding: 0.45rem 1.2rem; border-radius: 20px;
      font-weight: 700 !important; font-size: 0.85rem !important;
      min-height: 44px;
      transition: all 0.2s !important;
    }
    .nav-cta:hover {
      background: var(--dorado-suave) !important;
      color: var(--azul-profundo) !important;
      transform: translateY(-1px);
      box-shadow: var(--shadow-btn);
    }

    .hamburger {
      display: none; background: none; border: none; cursor: pointer;
      flex-direction: column; gap: 5px; padding: 6px; z-index: 101;
    }
    .hamburger span {
      display: block; width: 25px; height: 2.5px;
      background: var(--dorado); border-radius: 3px; transition: all 0.3s;
    }
    .hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5.5px,5.5px); }
    .hamburger.open span:nth-child(2) { opacity: 0; }
    .hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5.5px,-5.5px); }

    /* ═══════════════════════════════════════
       PAGE HEADER — Banner interno
       ═══════════════════════════════════════ */
    .page-header {
      min-height: 45vh;
      display: flex; align-items: center;
      padding: 5rem 0 3rem;
      position: relative; overflow: hidden;
      background:
        radial-gradient(ellipse at 65% 30%, rgba(74,144,226,0.1) 0%, transparent 60%),
        radial-gradient(ellipse at 35% 70%, rgba(74,144,226,0.05) 0%, transparent 50%),
        linear-gradient(170deg, #141B2D 0%, #141B2D 30%, #0F1626 100%);
      text-align: center;
    }
    .page-header::after {
      content: ''; position: absolute; bottom: -2px; left: 0; right: 0; height: 80px;
      background: linear-gradient(to top, var(--azul-profundo), transparent);
      z-index: 1;
    }
    .page-header-content { position: relative; z-index: 2; }
    .page-header h1 {
      font-size: clamp(2rem, 5vw, 3.2rem);
      font-weight: 850;
      color: var(--blanco);
      letter-spacing: -0.02em;
      margin-bottom: 0.4rem;
    }
    .page-header h1 .gold {
      color: var(--dorado);
      display: block;
      font-size: clamp(1.3rem, 3vw, 2rem);
      font-weight: 700;
      letter-spacing: 0.01em;
      margin-top: 0.1rem;
    }
    .msc-accent-heading {
      border-left: 3px solid var(--msc-blue);
      padding-left: 1rem;
    }
    .page-header .page-subtitle {
      color: var(--plateado);
      font-size: 1.05rem;
      font-weight: 500;
      margin-bottom: 0.5rem;
    }
    .page-header .page-breadcrumb {
      color: var(--plateado);
      font-size: 0.85rem;
      opacity: 0.7;
    }
    .page-header .page-breadcrumb a {
      color: var(--dorado-claro);
      text-decoration: none;
    }
    .page-header .page-breadcrumb a:hover {
      text-decoration: underline;
    }

    /* ═══════════════════════════════════════
       SECTIONS
       ═══════════════════════════════════════ */
    .section { padding: 5rem 0; position: relative; z-index: 1; }
    .section-alt {
      background: linear-gradient(180deg, rgba(26,34,53,0.5) 0%, rgba(15,22,38,0.5) 100%);
      border-top: 1px solid rgba(74,144,226,0.08);
      border-bottom: 1px solid rgba(74,144,226,0.08);
    }

    .section-title {
      text-align: center; margin-bottom: 3rem;
    }
    .section-title .icon-ring {
      display: inline-flex; align-items: center; justify-content: center;
      width: 56px; height: 56px; border-radius: 50%;
      background: rgba(74,144,226,0.12);
      margin-bottom: 1rem; font-size: 1.6rem;
    }
    .section-title h2 {
      font-size: clamp(1.7rem, 4vw, 2.4rem);
      color: var(--blanco);
      font-weight: 800;
      letter-spacing: -0.01em;
      margin-bottom: 0.5rem;
    }
    .section-title .subtitle {
      color: var(--plateado); font-size: 1.05rem; max-width: 600px; margin: 0 auto;
      line-height: 1.6;
    }

    /* ── Profile Layout ── */
    .profile-layout {
      display: grid;
      grid-template-columns: 300px 1fr;
      gap: 3rem;
      align-items: start;
    }
    .profile-sidebar {
      background: var(--card-bg);
      border-radius: var(--radius-lg);
      border: 1px solid var(--card-border);
      padding: 2rem;
      text-align: center;
      position: sticky; top: 5.5rem;
      backdrop-filter: blur(8px);
    }
    .profile-photo-placeholder {
      width: 180px; height: 210px;
      border-radius: var(--radius-md);
      background: linear-gradient(135deg, var(--azul-claro), var(--azul-medio));
      display: flex; align-items: center; justify-content: center;
      margin: 0 auto 1rem;
      box-shadow: 0 6px 30px rgba(0,0,0,0.3), 0 0 0 2px rgba(74,144,226,0.2);
      color: var(--dorado-claro);
      font-size: 3rem;
      font-weight: 300;
    }
    .profile-photo-label {
      display: block;
      color: var(--plateado);
      font-size: 0.78rem;
      font-style: italic;
      margin-top: 0.3rem;
    }
    .profile-name-sidebar {
      font-size: 1.2rem;
      font-weight: 800;
      color: var(--blanco);
      margin-bottom: 0.2rem;
    }
    .profile-cargo-sidebar {
      font-size: 0.85rem;
      color: var(--dorado);
      font-weight: 600;
      margin-bottom: 1.2rem;
    }
    .profile-list {
      display: flex; flex-direction: column; gap: 0.2rem;
      margin: 0; padding: 0; list-style: none;
    }
    .profile-list li {
      padding: 0.45rem 0;
      border-bottom: 1px solid rgba(74,144,226,0.08);
      font-size: 0.88rem;
      color: var(--plateado);
    }
    .profile-list li:last-child { border-bottom: none; }
    .profile-list li strong { color: var(--blanco); font-weight: 600; }

    .profile-content h3 {
      color: var(--dorado-claro);
      font-size: 1.4rem; font-weight: 700;
      margin-bottom: 1rem;
    }
    .profile-content p {
      color: var(--plateado);
      font-size: 1.02rem;
      line-height: 1.75;
      margin-bottom: 1.1rem;
    }
    .profile-content p strong {
      color: var(--blanco);
      font-weight: 700;
    }

    /* ── Highlight Block ── */
    .highlight-block {
      background: rgba(74,144,226,0.08);
      border-left: 3px solid var(--dorado);
      padding: 1rem 1.5rem;
      margin: 1.5rem 0;
      border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
      font-size: 0.98rem;
      color: var(--plateado);
      line-height: 1.65;
      font-style: italic;
    }

    /* ── Stats Bar ── */
    .stats-bar {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1.2rem;
      max-width: 780px;
      margin: 2rem auto 0;
    }
    .stat-card {
      text-align: center;
      padding: 1.8rem 1rem 1.3rem;
      background: var(--card-bg);
      border-radius: var(--radius-md);
      border: 1px solid var(--card-border);
      transition: all 0.3s;
      backdrop-filter: blur(8px);
    }
    .stat-card:hover {
      transform: translateY(-4px);
      border-color: rgba(74,144,226,0.3);
      box-shadow: 0 8px 32px rgba(0,0,0,0.2);
    }
    .stat-card .stat-icon {
      font-size: 1.8rem; margin-bottom: 0.4rem;
    }
    .stat-card .num {
      font-size: 2.6rem; font-weight: 850;
      background: linear-gradient(180deg, var(--dorado-claro) 0%, var(--dorado) 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      color: transparent;
      line-height: 1.1;
      margin-bottom: 0.4rem;
    }
    .stat-card .label {
      font-size: 0.85rem; color: var(--plateado); line-height: 1.35;
    }

    /* ── Timeline ── */
    .timeline {
      max-width: 700px;
      margin: 0 auto;
    }
    .timeline-item {
      display: grid;
      grid-template-columns: 90px 1fr;
      gap: 1.5rem;
      margin-bottom: 2rem;
    }
    .timeline-item:last-child { margin-bottom: 0; }
    .timeline-year {
      text-align: right;
      font-weight: 800;
      font-size: 1.1rem;
      color: var(--dorado);
      padding-top: 0.25rem;
    }
    .timeline-content {
      background: var(--card-bg);
      border-radius: var(--radius-md);
      border: 1px solid var(--card-border);
      padding: 1.2rem 1.5rem;
      position: relative;
      backdrop-filter: blur(8px);
    }
    .timeline-content::before {
      content: '';
      position: absolute; left: -8px; top: 1.1rem;
      width: 14px; height: 14px;
      background: var(--dorado);
      border-radius: 50%;
      transform: translateX(-50%);
    }
    .timeline-content h4 {
      color: var(--dorado-claro);
      font-size: 0.95rem;
      font-weight: 700;
      margin-bottom: 0.2rem;
    }
    .timeline-content p {
      color: var(--plateado);
      font-size: 0.9rem;
      line-height: 1.55;
    }

    /* ── CTA Section ── */
    .cta-section {
      text-align: center;
      background:
        radial-gradient(ellipse at center, rgba(74,144,226,0.4) 0%, transparent 70%),
        linear-gradient(180deg, rgba(20,27,45,0.8) 0%, rgba(15,22,38,0.9) 100%);
      border-top: 1px solid rgba(74,144,226,0.12);
      border-bottom: 1px solid rgba(74,144,226,0.12);
    }
    .cta-section h2 {
      font-size: clamp(1.8rem, 4vw, 2.5rem);
      color: var(--blanco);
      font-weight: 800;
      margin-bottom: 1rem;
      letter-spacing: -0.01em;
    }
    .cta-section .slogan {
      font-size: 1.6rem;
      color: var(--dorado);
      font-weight: 700;
      font-style: italic;
      margin-bottom: 2rem;
      letter-spacing: 0.02em;
    }
    .cta-section p {
      color: var(--plateado); font-size: 1.05rem; max-width: 640px;
      margin: 0 auto 2rem; line-height: 1.7;
    }

    /* ── Buttons ── */
    .btn {
      display: inline-flex; align-items: center; justify-content: center;
      padding: 0.85rem 2.2rem; border-radius: 30px;
      text-decoration: none; font-weight: 700; font-size: 1rem;
      letter-spacing: 0.02em; transition: all 0.25s;
      cursor: pointer; border: none;
    }
    .btn-primary {
      background: var(--dorado);
      color: var(--azul-profundo);
      box-shadow: 0 2px 14px rgba(74,144,226,0.3);
    }
    .btn-primary:hover {
      background: var(--dorado-suave);
      transform: translateY(-2px);
      box-shadow: 0 6px 24px rgba(74,144,226,0.35);
    }
    .btn-outline {
      border: 2px solid var(--dorado);
      color: var(--dorado-claro);
      background: transparent;
    }
    .btn-outline:hover {
      background: rgba(74,144,226,0.12);
      transform: translateY(-2px);
    }

    /* ── Footer ── */
    footer {
      padding: 3rem 0 2rem;
      text-align: center;
      background: var(--azul-profundo);
      border-top: 1px solid rgba(74,144,226,0.1);
    }
    footer .footer-movimiento {
      color: var(--dorado); font-weight: 700;
      font-size: 1.05rem; margin-bottom: 0.5rem;
    }
    footer .footer-info {
      color: var(--plateado); font-size: 0.85rem;
      line-height: 1.6;
    }
    footer .footer-info a {
      color: var(--dorado-claro); text-decoration: none;
    }
    footer .footer-info a:hover { text-decoration: underline; }

    /* ── Responsive ── */
    @media (max-width: 800px) {
      .hamburger { display: flex; }
      .nav-links {
        display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
        background: rgba(20,27,45,0.98); flex-direction: column;
        justify-content: center; align-items: center; gap: 2rem; z-index: 100;
      }
      .nav-links.open { display: flex; }
      .profile-layout { grid-template-columns: 1fr; }
      .profile-sidebar { position: static; max-width: 320px; margin: 0 auto; }
      .stats-bar { grid-template-columns: repeat(3, 1fr); gap: 0.8rem; }
      .timeline-item { grid-template-columns: 70px 1fr; gap: 1rem; }
    }

    @media (max-width: 480px) {
      .stats-bar { grid-template-columns: 1fr; }
      .timeline-item { grid-template-columns: 1fr; }
      .timeline-year { text-align: left; }
    }