/* ── TOP HEADER ── */
  .header{
      margin-bottom: 9rem !important; 
  }
  .site-header {
    background: var(--navy);
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 56px;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 16px rgba(0,0,0,0.25);
  }
  .site-header .logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    color: var(--white);
    letter-spacing: 0.04em;
    display: flex;
    align-items: center;
    gap: 0.75rem;
  }
  .logo-badge {
    background: #5a8a00;
    color: #fff;
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    padding: 3px 8px;
    border-radius: 4px;
  }
  .site-header nav {
    display: flex;
    gap: 1.5rem;
  }
  .site-header nav a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    transition: color 0.2s;
  }
  .site-header nav a:hover { color: var(--white); }

  /* ── HERO STRIP ── */
  .hero {
    background: linear-gradient(135deg, #4a5252 0%, #383f3f 60%, #536060 100%);
    padding: 3rem 2rem 2.5rem;
    position: relative;
    overflow: hidden;
  }
  .hero::before {
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 320px; height: 320px;
    background: radial-gradient(circle, rgba(141,198,63,0.14) 0%, transparent 70%);
    pointer-events: none;
  }
  .hero::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #8dc63f, transparent);
    opacity: 0.4;
  }
  .hero-inner { max-width: 1100px; margin: 0 auto; }
  .hero-eyebrow {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.6rem;
    opacity: 0.9;
  }
  .hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 0.5rem;
  }
  .hero-year-badge {
    display: inline-block;
    background: rgba(141,198,63,0.18);
    border: 1px solid rgba(141,198,63,0.4);
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 1.4rem;
  }
  .hero-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
  }
  .hero-stat {
    display: flex;
    flex-direction: column;
  }
  .hero-stat strong {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    color: var(--white);
    line-height: 1;
  }
  .hero-stat span {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.5);
    font-weight: 400;
    letter-spacing: 0.05em;
    margin-top: 2px;
  }

  /* ── YEAR TABS ── */
  .year-tabs-wrapper {
    background: var(--white);
    /*border-bottom: 1px solid;*/
    /*position: sticky;*/
    top: 56px;
    z-index: 90;
    box-shadow: 0px 0 18px rgba(0, 0, 0, 0.2);
  }
  .year-tabs {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0.65rem 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
  }
  .year-tab {
    padding: 0.38rem 1rem;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--text-secondary);
    cursor: pointer;
    border: 1.5px solid var(--border);
    background: var(--surface);
    border-radius: 20px;
    white-space: nowrap;
    transition: color 0.18s, border-color 0.18s, background 0.18s, box-shadow 0.18s;
  }
  .year-tab:hover {
    color: var(--blue);
    border-color: var(--blue-light);
    background: #e8edea;
  }
  .year-tab.active {
    color: var(--white);
    background: #a8d42e;
    border-color: var(--blue);
    box-shadow: 0 2px 10px rgba(90,138,0,0.25);
    color: white;
  }

  /* ── YEAR SELECT (mobile) ── */
  .year-select-wrapper {
    display: none;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0.65rem 1.25rem;
  }
  .year-select {
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--white);
    background: #5a8a00;
    border: none;
    border-radius: 10px;
    padding: 0.65rem 2.5rem 0.65rem 1rem;
    cursor: pointer;
    outline: none;
    box-shadow: 0 2px 10px rgba(90,138,0,0.25);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px;
  }
  .year-select option {
    background: var(--white);
    color: var(--text-primary);
    font-weight: 600;
  }

  @media (max-width: 600px) {
    .year-tabs { display: none; }
    .year-select-wrapper { display: block; }
  }

  /* ── MAIN CONTENT ── */
  .main {
    max-width: 1300px;
    margin: 0 auto;
    margin-top: -1rem !important;
    padding: 2rem 2rem 4rem;
  }
  .img-fluid2{    
    max-width: 100%;
    height: auto;
    display: block;
   }

  /* ── TOOLBAR ── */
  .toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
  }
  .toolbar-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
  }
  .toolbar-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    color: var(--text-primary);
  }
  .count-badge {
    background: #a8d42e;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 20px;
    letter-spacing: 0.05em;
  }
  .search-box {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--white);
    border: 1px solid;
    border-radius: 8px;
    padding: 0.45rem 0.85rem;
    box-shadow: var(--shadow-sm);
    transition: border-color 0.2s, box-shadow 0.2s;
  }
  .search-box:focus-within {
    border-color: var(--blue-light);
    box-shadow: 0 0 0 3px rgba(90,138,0,0.12);
  }
  .search-box svg { color: var(--text-muted); flex-shrink: 0; }
  .search-box input {
    border: none;
    outline: none;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.82rem;
    color: var(--text-primary);
    background: transparent;
    width: 200px;
  }
  .search-box input::placeholder { color: var(--text-muted); }

  /* ── TABLE ── */
  .table-card {
    background: var(--white);
    border-radius: 14px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    border: 1px solid var(--border);
  }
  .table-head {
    display: grid;
    grid-template-columns: 48px 160px 1fr 140px 140px 140px 130px;
    gap: 0;
    background: #e4e8e4;
    border-bottom: 2px solid var(--border);
    padding: 0 1.5rem;
  }
  .th {
    padding: 0.9rem 0.75rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-secondary);
  }
  .th:first-child { padding-left: 0; }

  /* rows */
  .table-body { display: flex; flex-direction: column; }
  .table-row {
    display: grid;
    grid-template-columns: 48px 160px 1fr 140px 140px 140px 130px;
    gap: 0;
    padding: 0 1.5rem;
    border-bottom: 1px solid var(--border);
    align-items: center;
    transition: background 0.15s;
    animation: rowIn 0.4s ease both;
  }
  .table-row:last-child { border-bottom: none; }
  .table-row:hover { background: #f0f2f0; }

  @keyframes rowIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  .td {
    padding: 1.1rem 0.75rem;
    font-size: 0.82rem;
    color: var(--text-primary);
  }
  .td:first-child { padding-left: 0; }

  .row-num {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 600;
  }
  .clave-chip {
    display: inline-block;
    background: #e4e8e0;
    color: var(--blue);
    font-size: 0.73rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 4px 9px;
    border-radius: 6px;
    white-space: nowrap;
  }
  .desc-text {
    font-size: 1.03rem;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.4;
  }

  /* Download button */
  .btn-dl {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #5a8a00;
    color: #fff;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    padding: 6px 12px;
    border-radius: 7px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s, transform 0.1s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(90,138,0,0.2);
    white-space: nowrap;
  }
  .btn-dl:hover {
    background: #5a8a00;
    box-shadow: 0 4px 14px rgba(90,138,0,0.35);
    transform: translateY(-1px);
  }
  .btn-dl:active { transform: translateY(0); }
  .btn-dl svg { flex-shrink: 0; }

  .btn-dl.empty {
    background: #edf0f8;
    color: var(--text-muted);
    box-shadow: none;
    pointer-events: none;
    opacity: 0.5;
  }

  /* ── STATUS DOT ── */
  .status-dot {
    display: inline-block;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--success);
    margin-right: 6px;
    animation: pulse 2s infinite;
  }
  @keyframes pulse {
    0%,100% { opacity:1; } 50% { opacity:0.4; }
  }

  /* ── FOOTER NOTE ── */
  .footer-note {
    margin-top: 2rem;
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.02em;
  }

  /* ── RESPONSIVE ── */
  @media (max-width: 900px) {
    .table-head, .table-row {
      grid-template-columns: 36px 130px 1fr 110px 110px 110px 110px;
    }
  }
  @media (max-width: 700px) {
    .table-head { display: none; }
    .table-row {
      grid-template-columns: 1fr;
      padding: 1rem 1.25rem;
      gap: 0;
    }
    .td {
      padding: 0;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 0.75rem;
      padding: 0.55rem 0;
      border-bottom: 1px dashed var(--border);
    }
    .td:last-child { border-bottom: none; }
    .td:first-child { border-bottom: 1px solid var(--border); padding-bottom: 0.65rem; margin-bottom: 0.1rem; }
    .td::before {
      content: attr(data-label);
      font-size: 0.68rem;
      font-weight: 700;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--text-muted);
      white-space: nowrap;
      flex-shrink: 0;
      min-width: 110px;
    }
    .hero-stats { gap: 1.2rem; }
    .toolbar { flex-direction: column; align-items: flex-start; }
    .search-box input { width: 160px; }
    .year-select-wrapper {color: white;}
    .header{margin-bottom: 4rem !important; }