:root {
    --gold: #c5a059;
    --gold-light: rgba(197, 160, 89, 0.15);
    --gold-border: rgba(197, 160, 89, 0.3);
    --dark: #2c3e50;
    --dark2: #34495e;
    --muted: #7f8c8d;
    --light-bg: #f8f9fa;
    --white: #ffffff;
  }

  /* ===== BREADCRUMBS ===== */
  .breadcrumbs {
    background: var(--light-bg);
    padding: 15px 20px;
    border-bottom: 1px solid var(--gold-border);
  }

  .breadcrumbs-container {
    max-width: 1100px;
    margin: 0 auto;
  }

  .breadcrumbs-list {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .breadcrumbs-item {
    display: flex;
    align-items: center;
    color: var(--muted);
    font-size: 0.95rem;
  }

  .breadcrumbs-item a {
    color: var(--dark);
    text-decoration: none;
    transition: color 0.3s ease;
  }

  .breadcrumbs-item a:hover { color: var(--gold); }

  .breadcrumbs-item.active {
    color: var(--gold);
    font-weight: 500;
  }

  .breadcrumbs-separator {
    margin-left: 10px;
    color: var(--gold);
    font-size: 0.8rem;
  }

  /* ===== HERO ===== */
  .crono-hero {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark2) 100%);
    border-bottom: 3px solid var(--gold);
    padding: 60px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
  }

  .crono-hero::before {
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 300px; height: 300px;
    border-radius: 50%;
    border: 60px solid var(--gold-border);
    pointer-events: none;
  }

  .crono-hero::after {
    content: '';
    position: absolute;
    bottom: -80px; left: -40px;
    width: 220px; height: 220px;
    border-radius: 50%;
    border: 40px solid var(--gold-border);
    pointer-events: none;
  }

  .crono-hero-inner {
    position: relative;
    z-index: 2;
  }

  .crono-hero .badge-modalidad {
    display: inline-block;
    background: var(--gold-light);
    border: 1px solid var(--gold-border);
    color: var(--gold);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 6px 18px;
    border-radius: 50px;
    margin-bottom: 20px;
  }

  .crono-hero h1 {
    font-size: 2.8rem;
    font-weight: 300;
    color: #ecf0f1;
    margin: 0 0 12px;
    letter-spacing: 2px;
  }

  .crono-hero h1 span { color: var(--gold); font-weight: 500; }

  .crono-hero p {
    color: #b0bec5;
    font-size: 1.1rem;
    font-weight: 300;
    margin: 0;
  }

  /* ===== LAYOUT PRINCIPAL ===== */
  .crono-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 20px 80px;
  }

  /* ===== TIMELINE ===== */
  .timeline {
    position: relative;
    padding-left: 0;
  }

  /* Línea vertical central */
  .timeline::before {
    content: '';
    position: absolute;
    left: 28px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--gold), var(--gold-border), transparent);
  }

  /* ===== ITEM DE TIMELINE ===== */
  .tl-item {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    animation: slideUp 0.5s ease forwards;
  }

  /* Animación escalonada */
  .tl-item:nth-child(1)  { animation-delay: 0.05s; }
  .tl-item:nth-child(2)  { animation-delay: 0.10s; }
  .tl-item:nth-child(3)  { animation-delay: 0.15s; }
  .tl-item:nth-child(4)  { animation-delay: 0.20s; }
  .tl-item:nth-child(5)  { animation-delay: 0.25s; }
  .tl-item:nth-child(6)  { animation-delay: 0.30s; }
  .tl-item:nth-child(7)  { animation-delay: 0.35s; }
  .tl-item:nth-child(8)  { animation-delay: 0.40s; }
  .tl-item:nth-child(9)  { animation-delay: 0.45s; }
  .tl-item:nth-child(10) { animation-delay: 0.50s; }
  .tl-item:nth-child(11) { animation-delay: 0.55s; }
  .tl-item:nth-child(12) { animation-delay: 0.60s; }

  @keyframes slideUp {
    to { opacity: 1; transform: translateY(0); }
  }

  /* ===== PUNTO / ICONO DEL TIMELINE ===== */
  .tl-dot {
    flex-shrink: 0;
    width: 58px;
    height: 58px;
    background: var(--white);
    border: 2px solid var(--gold-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 1.3rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    z-index: 2;
    position: relative;
  }

  .tl-item:hover .tl-dot {
    background: var(--gold);
    color: var(--white);
    border-color: var(--gold);
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(197, 160, 89, 0.3);
  }

  /* Ítem especial — destacado */
  .tl-item.highlight .tl-dot {
    background: var(--gold);
    color: var(--white);
    border-color: var(--gold);
    box-shadow: 0 6px 20px rgba(197, 160, 89, 0.35);
  }

  /* ===== TARJETA DEL EVENTO ===== */
  .tl-card {
    flex: 1;
    background: var(--white);
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 16px;
    padding: 24px 28px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
  }

  .tl-card::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 4px;
    background: var(--gold-border);
    transition: background 0.3s ease;
  }

  .tl-item:hover .tl-card {
    box-shadow: 0 12px 30px rgba(197, 160, 89, 0.12);
    border-color: var(--gold-border);
    transform: translateX(4px);
  }

  .tl-item:hover .tl-card::before,
  .tl-item.highlight .tl-card::before {
    background: var(--gold);
  }

  /* Fecha */
  .tl-fecha {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 10px;
  }

  /* Título del evento */
  .tl-titulo {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark);
    margin: 0 0 6px;
    line-height: 1.4;
  }

  /* Descripción principal */
  .tl-desc {
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0 0 4px;
  }

  /* Sub-nota (lugar, sistema, etc.) */
  .tl-nota {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    color: #95a5a6;
    margin-top: 6px;
  }

  .tl-nota i { color: var(--gold); font-size: 0.75rem; }

  /* ===== CHIPS DE CARRERA ===== */
  .tl-carreras {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
  }

  .carrera-chip {
    background: var(--light-bg);
    border: 1px solid var(--gold-border);
    border-radius: 10px;
    padding: 10px 16px;
    flex: 1 1 200px;
  }

  .carrera-chip .chip-nombre {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 3px;
  }

  .carrera-chip .chip-actividad {
    font-size: 0.9rem;
    color: var(--dark);
    font-weight: 500;
  }

  /* ===== LISTA NUMERADA (exámenes CODEIC) ===== */
  .tl-lista {
    margin: 10px 0 0;
    padding-left: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
  }

  .tl-lista li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--muted);
    font-size: 0.93rem;
  }

  .tl-lista li .num {
    width: 22px;
    height: 22px;
    background: var(--gold-light);
    border: 1px solid var(--gold-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--gold);
    flex-shrink: 0;
  }

  /* ===== ÍTEM FINAL (highlight especial) ===== */
  .tl-item.highlight .tl-card {
    background: linear-gradient(135deg, #fffdf7, var(--white));
    border-color: var(--gold-border);
  }

  .tl-item.final-item .tl-card {
    background: linear-gradient(135deg, var(--dark), var(--dark2));
    border-color: var(--gold);
  }

  .tl-item.final-item .tl-fecha,
  .tl-item.final-item .tl-titulo,
  .tl-item.final-item .tl-desc,
  .tl-item.final-item .tl-nota { color: #ecf0f1; }

  .tl-item.final-item .tl-titulo { color: var(--gold); }
  .tl-item.final-item .tl-nota { color: #b0bec5; }
  .tl-item.final-item .tl-fecha { color: var(--gold); }

  .tl-item.final-item .tl-dot {
    background: var(--gold);
    color: var(--white);
    border-color: var(--gold);
  }

  /* ===== RESPONSIVE ===== */
  @media (max-width: 600px) {
    .crono-hero h1 { font-size: 2rem; }
    .tl-item { gap: 18px; }
    .tl-dot { width: 46px; height: 46px; font-size: 1.1rem; }
    .timeline::before { left: 22px; }
    .tl-card { padding: 18px 18px; }
    .carrera-chip { flex: 1 1 100%; }
  }

    .hero-section {
        position: relative;
        min-height: 100vh;
        background: linear-gradient(rgba(44, 62, 80, 0.7), rgba(44, 62, 80, 0.8)), 
                    url('img/intro_01.jpg');
        background-size: cover;
        background-position: center;
        background-attachment: fixed;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        color: #fff;
        margin-top: -4px;
    }

    /* Overlay elegante con patrón sutil */
    .hero-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: radial-gradient(circle at 20% 50%, rgba(197, 160, 89, 0.1) 0%, transparent 50%);
        pointer-events: none;
    }

    /* Contenedor del contenido del hero */
    .hero-content {
        position: relative;
        z-index: 2;
        max-width: 900px;
        padding: 0 20px;
        animation: fadeInUp 1.2s ease;
    }

    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(30px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* Texto UNAM */
    .hero-unam {
        font-size: 3.5rem;
        font-weight: 300;
        letter-spacing: 4px;
        margin-bottom: 30px;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
        color: #ecf0f1;
        line-height: 1.3;
    }

    .hero-unam span {
        color: #c5a059;
        font-weight: 400;
        display: block;
        font-size: 2rem;
        letter-spacing: 2px;
        margin-top: 10px;
    }

    /* Logo indirecto */
    .hero-logo {
        margin-bottom: 50px;
    }

    .hero-logo img {
        max-width: 300px;
        height: auto;
        filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
        transition: all 0.3s ease;
    }

    .hero-logo img:hover {
        transform: scale(1.02);
        filter: drop-shadow(0 6px 12px rgba(197, 160, 89, 0.2));
    }

    /* Sección de bienvenida */
    .welcome-message {
        background: linear-gradient(135deg, #2c3e50, #34495e);
        padding: 40px 20px;
        text-align: center;
        color: #ecf0f1;
        border-bottom: 1px solid rgba(197, 160, 89, 0.3);
    }

    .welcome-message h2 {
        font-size: 2.2rem;
        font-weight: 300;
        letter-spacing: 2px;
        margin-bottom: 15px;
        color: #c5a059;
    }

    .welcome-message p {
        font-size: 1.2rem;
        font-weight: 300;
        max-width: 800px;
        margin: 0 auto;
        line-height: 1.8;
    }

    /* Sección de selección de sede */
    .sede-section {
        padding: 80px 20px;
        background: #f8f9fa;
        position: relative;
    }

    .sede-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 1px;
        background: linear-gradient(90deg, transparent, #c5a059, transparent);
    }

    .section-title {
        text-align: center;
        margin-bottom: 60px;
    }

    .section-title h3 {
        font-size: 2.5rem;
        font-weight: 300;
        color: #2c3e50;
        margin-bottom: 15px;
        letter-spacing: 2px;
    }

    .section-title p {
        font-size: 1.1rem;
        color: #7f8c8d;
        max-width: 600px;
        margin: 0 auto;
        line-height: 1.6;
    }

    .section-title .gold-text {
        color: #c5a059;
        font-weight: 400;
    }

    /* ========== RESPONSIVE MEJORADO ========== */
    /* Tablets y dispositivos medianos */
    @media (max-width: 992px) {
        .hero-section {
            min-height: 70vh;
            background-attachment: scroll;
        }
        
        .hero-unam {
            font-size: 3rem;
        }
        
        .hero-unam span {
            font-size: 1.8rem;
        }
        
        .hero-logo img {
            max-width: 250px;
        }
    }

    /* Móviles grandes */
    @media (max-width: 768px) {
        .hero-section {
            min-height: 60vh;
        }
        
        .hero-unam {
            font-size: 2.5rem;
            margin-bottom: 20px;
        }
        
        .hero-unam span {
            font-size: 1.5rem;
        }
        
        .hero-logo {
            margin-bottom: 30px;
        }
        
        .hero-logo img {
            max-width: 200px;
        }
        
        .welcome-message h2 {
            font-size: 1.8rem;
        }
        
        .welcome-message p {
            font-size: 1rem;
        }
        
        .section-title h3 {
            font-size: 2rem;
        }
    }

    /* Móviles pequeños */
    @media (max-width: 576px) {
        .hero-section {
            min-height: 50vh;
            background-attachment: scroll;
            background-position: center 30%;
        }
        
        .hero-content {
            padding: 0 15px;
        }
        
        .hero-unam {
            font-size: 1.8rem;
            letter-spacing: 2px;
            margin-bottom: 15px;
        }
        
        .hero-unam span {
            font-size: 1.2rem;
            margin-top: 5px;
        }
        
        .hero-logo {
            margin-bottom: 20px;
        }
        
        .hero-logo img {
            max-width: 150px;
        }
    }

    /* Móviles muy pequeños */
    @media (max-width: 480px) {
        .hero-section {
            min-height: 45vh;
            background-position: center 40%;
        }
        
        .hero-unam {
            font-size: 1.5rem;
            letter-spacing: 1.5px;
        }
        
        .hero-unam span {
            font-size: 1rem;
        }
        
        .hero-logo img {
            max-width: 130px;
        }
    }

    /* Ajuste para pantallas muy pequeñas */
    @media (max-width: 360px) {
        .hero-section {
            min-height: 40vh;
        }
        
        .hero-unam {
            font-size: 1.3rem;
        }
        
        .hero-unam span {
            font-size: 0.9rem;
        }
        
        .hero-logo img {
            max-width: 110px;
        }
    }





    /*CSS General*/
    .btn-resultado-pendiente {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      padding: 9px 18px;
      background: transparent;
      border: 2px solid var(--gold-border);
      color: var(--muted);
      border-radius: 50px;
      font-size: 0.82rem;
      font-weight: 600;
      white-space: nowrap;
      cursor: pointer;
    
  }
  *, ::after, ::before {
      box-sizing: border-box;
  }