﻿
  :root {
    --azul: #1B4F8A;
    --azul-oscuro: #0d3060;
    --azul-claro: #2a6fc4;
    --dorado: #F5A800;
    --dorado-oscuro: #c98a00;
    --blanco: #ffffff;
    --gris-claro: #f0f4fa;
    --gris-med: #c8d6e8;
    --texto-oscuro: #0a1f3a;
    --sombra: rgba(11,31,66,0.18);
  }
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; overflow-x: hidden; }
  body { font-family: 'Barlow', sans-serif; background: var(--gris-claro); color: var(--texto-oscuro); overflow-x: hidden; }

  /* NAV */
  nav { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: rgba(11,30,62,0.97); backdrop-filter: blur(12px); border-bottom: 3px solid var(--dorado); display: flex; align-items: center; justify-content: space-between; padding: 0.55rem 2.5rem; box-shadow: 0 4px 24px var(--sombra); }
  .nav-logos { display: flex; align-items: center; gap: 1.4rem; }
  .nav-logos img { height: 42px; object-fit: contain; mix-blend-mode: screen; }
  .nav-sep { width: 1px; height: 32px; background: rgba(245,168,0,0.4); }
  .nav-links { display: flex; gap: 2rem; list-style: none; margin: 0; padding: 0; }
  .nav-links li { list-style: none; }
  .nav-links a { color: var(--gris-med); text-decoration: none; font-family: 'Barlow Condensed', sans-serif; font-weight: 600; font-size: 0.88rem; letter-spacing: 0.06em; text-transform: uppercase; transition: color .22s; }
  .nav-links a:hover { color: var(--dorado); }
  .nav-toggle { display:none; flex-direction:column; gap:5px; background:none; border:none; cursor:pointer; padding:8px; z-index:1001; flex-shrink:0; }
  .nav-toggle span { display:block; width:26px; height:2.5px; background:var(--dorado); border-radius:2px; transition:transform .3s, opacity .3s; }
  .nav-toggle.active span:nth-child(1) { transform:translateY(7.5px) rotate(45deg); }
  .nav-toggle.active span:nth-child(2) { opacity:0; transform:scaleX(0); }
  .nav-toggle.active span:nth-child(3) { transform:translateY(-7.5px) rotate(-45deg); }
  nav.compact .nav-toggle { display:flex; }
  nav.compact .nav-links { position:fixed; top:0; left:0; width:100%; height:100%; min-height:100dvh; background:rgba(5,12,28,.97); flex-direction:column; align-items:center; justify-content:center; gap:2.2rem; z-index:1001; display:none; padding:0; margin:0; }
  nav.compact .nav-links.open { display:flex; }
  nav.compact .nav-links li { list-style:none; }
  nav.compact .nav-links a { font-size:1.4rem; font-weight:700; color:var(--dorado); letter-spacing:0.08em; text-transform:uppercase; }
  nav.compact .nav-links a:hover { color:var(--blanco); }
  @media (max-width: 768px) { .nav-toggle { display:flex; } .nav-links { display:none; } }

  /* HERO */
  .hero {
    min-height: 100vh;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    padding: 120px 2rem 80px; text-align: center; position: relative; overflow: hidden;
    color: var(--blanco);
    background-image:
      linear-gradient(160deg, rgba(5,12,28,0.79) 0%, rgba(10,30,70,0.76) 50%, rgba(5,12,28,0.82) 100%),
      url('../img/Recoleccion.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }

  .hero::after {
    content: '';
    position: absolute; inset: 0; z-index: 0;
    background: radial-gradient(ellipse 80% 60% at 50% 40%, rgba(42,111,196,0.18) 0%, transparent 70%);
  }
  .hero-badge { display: inline-flex; align-items: center; gap: 0.5rem; background: rgba(245,168,0,0.15); border: 1px solid rgba(245,168,0,0.35); border-radius: 2rem; padding: 0.35rem 1.1rem; font-family: 'Barlow Condensed', sans-serif; font-weight: 600; font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dorado); margin-bottom: 1.6rem; position: relative; z-index: 1; }
  .hero h1 { font-family: 'Barlow Condensed', sans-serif; font-weight: 900; font-size: clamp(2.6rem, 6vw, 5rem); line-height: 1.05; letter-spacing: -0.01em; text-transform: uppercase; margin-bottom: 1rem; position: relative; z-index: 1; text-shadow: 0 2px 20px rgba(0,0,0,0.9), 0 4px 40px rgba(0,0,0,0.7); }
  .hero h1 em { display: block; color: var(--dorado); font-style: normal; }
  .hero-divider { width: 60px; height: 4px; background: var(--dorado); border-radius: 2px; margin: 1rem auto; position: relative; z-index: 1; }
  .hero-sub { max-width: 680px; font-size: 1.08rem; font-weight: 300; line-height: 1.7; color: var(--gris-med); position: relative; z-index: 1; text-shadow: 0 1px 12px rgba(0,0,0,0.85); }
  .hero-stats { display: flex; gap: 2.5rem; flex-wrap: wrap; justify-content: center; margin-top: 2.5rem; position: relative; z-index: 1; }
  .hero-stat { text-align: center; }
  .hero-stat .num { font-family: 'Barlow Condensed', sans-serif; font-weight: 900; font-size: 2.4rem; color: var(--dorado); line-height: 1; }
  .hero-stat .label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gris-med); margin-top: 0.2rem; }

  /* SECTIONS BASE */
  section { padding: 5rem 1.5rem; }
  section:nth-child(even):not(.hero) { background: var(--blanco); }
  .container { max-width: 1100px; margin: 0 auto; }
  .section-tag { display: inline-flex; align-items: center; gap: 0.45rem; font-family: 'Barlow Condensed', sans-serif; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--dorado); margin-bottom: 0.8rem; }
  .section-tag::before { content: ''; display: block; width: 22px; height: 3px; background: var(--dorado); border-radius: 2px; }
  .section-title { font-family: 'Barlow Condensed', sans-serif; font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; text-transform: uppercase; color: var(--azul-oscuro); line-height: 1.05; margin-bottom: 0.5rem; }
  .section-title span { color: var(--dorado); }
  .section-desc { font-size: 1rem; color: #4a6080; line-height: 1.75; max-width: 760px; margin-bottom: 2.5rem; }
  .reveal { opacity: 0; transform: translateY(28px); transition: opacity .55s ease, transform .55s ease; }
  .reveal.visible { opacity: 1; transform: none; }

  /* OBJETIVOS */

  /* SECTION SHARED */
  section { padding: 5rem 0; }
  .container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
  .section-tag { display: inline-block; font-family: 'Barlow Condensed', sans-serif; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--dorado); border: 1.5px solid var(--dorado); border-radius: 4px; padding: 0.25rem 0.8rem; margin-bottom: 0.8rem; }

  /* METODOLOGIA TIMELINE */
  .metodologia-section { background: var(--gris-claro); }
  .timeline { position: relative; max-width: 960px; margin: 3rem auto 0; }
  .timeline::before { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 3px; background: linear-gradient(to bottom, var(--dorado), var(--azul-claro), var(--dorado)); transform: translateX(-50%); border-radius: 4px; }
  .tl-item { display: grid; grid-template-columns: 1fr 80px 1fr; align-items: center; margin-bottom: 3.5rem; position: relative; }
  .tl-content { background: var(--blanco); border-radius: 16px; padding: 1.6rem 1.8rem; box-shadow: 0 4px 20px var(--sombra); }
  .tl-left .tl-content { border-right: 4px solid var(--dorado); text-align: right; }
  .tl-right .tl-content { border-left: 4px solid var(--azul-claro); text-align: left; }
  .tl-empty { height: 1px; }
  .tl-node { justify-self: center; width: 64px; height: 64px; border-radius: 50%; background: linear-gradient(135deg, var(--dorado), var(--dorado-oscuro)); color: var(--azul-oscuro); font-family: 'Barlow Condensed', sans-serif; font-size: 2rem; font-weight: 900; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 24px rgba(245,168,0,0.45); position: relative; z-index: 1; }
  .tl-content h3 { font-family: 'Barlow Condensed', sans-serif; font-size: 1.15rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; color: var(--azul-oscuro); margin-bottom: 0.8rem; }
  .tl-content p { font-size: 0.92rem; line-height: 1.65; color: #4a5568; }
  .tl-connector-left { display: block; height: 2px; background: var(--dorado); opacity: 0.5; margin: 0 -4px; }
  .tl-connector-right { display: block; height: 2px; background: var(--azul-claro); opacity: 0.5; margin: 0 -4px; }
  @media (max-width: 768px) {
    .timeline::before { left: 32px; }
    .tl-item { grid-template-columns: 64px 1fr; grid-template-rows: auto; gap: 0 1rem; }
    .tl-node { grid-column: 1; grid-row: 1; width: 48px; height: 48px; font-size: 1.5rem; }
    .tl-content { grid-column: 2; grid-row: 1; text-align: left !important; border-right: none !important; border-left: 4px solid var(--dorado) !important; }
    .tl-empty { display: none; }
  }
  /* FUMIGACIÓN */
  .fumigacion-section { background: var(--blanco); }
  .fumig-layout { display: grid; grid-template-columns: 1fr auto; gap: 3rem; align-items: center; margin-top: 2.5rem; }
  .fumig-text p { font-size: 1rem; line-height: 1.8; color: #3a4a5a; text-align: justify; }
  .fumig-img-wrap { flex-shrink: 0; }
  .fumig-img { width: 320px; filter: drop-shadow(0 8px 24px rgba(0,0,0,0.15)); display: block; }
  .fumig-lugar { margin-top: 3rem; display: grid; grid-template-columns: 1fr 1.6fr; gap: 2rem; align-items: center; background: var(--gris-claro); border-radius: 20px; overflow: hidden; }
  .fumig-lugar-label { padding: 2rem; }
  .fumig-lugar-label .section-tag { margin-bottom: 0.5rem; }
  .fumig-lugar-label strong { font-family: 'Barlow Condensed', sans-serif; font-size: 1.6rem; font-weight: 900; text-transform: uppercase; color: var(--azul-oscuro); display: block; margin-bottom: 0.8rem; letter-spacing: 0.03em; }
  .fumig-lugar-label p { font-size: 0.9rem; color: #4a6080; line-height: 1.6; }
  .fumig-lugar-foto { height: 280px; overflow: hidden; }
  .fumig-lugar-foto img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
  .fumig-foto-placeholder { height: 280px; display: flex; align-items: center; justify-content: center; background: var(--gris-med); color: #6a8098; font-size: 1rem; gap: 0.5rem; }
  @media (max-width: 768px) {
    .fumig-layout { grid-template-columns: 1fr; }
    .fumig-img { width: 100%; max-width: 280px; margin: 0 auto; }
    .fumig-lugar { grid-template-columns: 1fr; }
    .fumig-lugar-foto { height: 220px; }
  }

  /* CAMINO DEL PEREGRINO */
  .camino-section { background: var(--gris-claro); }
  .camino-title { font-family: 'Barlow Condensed', sans-serif; font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 800; text-transform: uppercase; color: var(--azul-oscuro); line-height: 1.1; margin-bottom: 3rem; }
  .camino-title span { color: var(--dorado); }
  .camino-stats-row { display: grid; gap: 2rem; margin-bottom: 2rem; }
  .camino-row-3 { grid-template-columns: repeat(3, 1fr); }
  .camino-row-2 { grid-template-columns: repeat(2, 1fr); max-width: 680px; margin-left: auto; margin-right: auto; margin-bottom: 0; }
  .camino-stat { text-align: center; padding: 2rem 1.5rem; background: var(--blanco); border-radius: 16px; box-shadow: 0 4px 20px var(--sombra); border-top: 4px solid var(--dorado); }
  .camino-num { font-family: 'Barlow Condensed', sans-serif; font-size: clamp(2.8rem, 5vw, 4rem); font-weight: 900; color: var(--azul-oscuro); line-height: 1; margin-bottom: 0.5rem; }
  .camino-unit { font-size: 0.55em; font-weight: 700; color: var(--dorado); vertical-align: middle; }
  .camino-label { font-family: 'Barlow Condensed', sans-serif; font-size: 1rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; color: var(--azul-oscuro); margin-bottom: 0.6rem; }
  .camino-desc { font-size: 0.88rem; color: #4a6080; line-height: 1.6; }
  @media (max-width: 768px) {
    .camino-row-3 { grid-template-columns: 1fr; }
    .camino-row-2 { grid-template-columns: 1fr; max-width: 100%; }
  }

  /* DESARROLLO OPERATIVO */
  .operativo-section { background: var(--gris-claro); }
  .operativo-layout { display: flex; flex-direction: column; gap: 2.5rem; margin-top: 2rem; }
  .operativo-map-wrap { border-radius: 16px; overflow: hidden; box-shadow: 0 6px 32px var(--sombra); border: 3px solid var(--azul-claro); }
  #mapa-operativo { width: 100%; height: 480px; }
  .op-leyenda { background: var(--azul-oscuro); padding: 0.8rem 1.2rem; display: flex; gap: 1.5rem; flex-wrap: wrap; }
  .op-ley-item { display: flex; align-items: center; gap: 0.4rem; font-family: 'Barlow Condensed', sans-serif; font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--blanco); }
  .ley-icon { font-size: 1rem; }
  .ley-camion { color: #1abc9c; }
  .ley-sup { color: var(--dorado); }
  .ley-barr { color: #a0b8d0; }
  .poly-label { background: rgba(5,12,28,0.82); color: #fff; border: none; border-radius: 4px; font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 0.8rem; letter-spacing: 0.06em; padding: 2px 6px; box-shadow: 0 2px 8px rgba(0,0,0,0.4); white-space: nowrap; }
  .poly-label::before { display: none; }
  .operativo-info { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
  .op-subtitle { font-family: 'Barlow Condensed', sans-serif; font-size: 1.3rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; color: var(--azul-oscuro); margin-bottom: 1rem; padding-bottom: 0.5rem; border-bottom: 3px solid var(--dorado); }
  .op-lista { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 0.6rem; }
  .op-lista li { font-size: 0.93rem; color: #3a4a5a; line-height: 1.5; padding-left: 1.4rem; position: relative; }
  .op-lista li::before { content: '▸'; position: absolute; left: 0; color: var(--dorado); font-size: 0.85rem; top: 1px; }
  .op-table { width: 100%; border-collapse: collapse; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 16px var(--sombra); }
  .op-table thead th { background: var(--dorado); color: var(--azul-oscuro); font-family: 'Barlow Condensed', sans-serif; font-size: 0.9rem; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.8rem 1rem; text-align: center; }
  .op-table tbody tr { border-bottom: 1px solid var(--gris-med); }
  .op-table tbody tr:last-child { border-bottom: none; }
  .op-table tbody tr:nth-child(even) { background: var(--gris-claro); }
  .op-table tbody td { padding: 0.7rem 1rem; font-size: 0.9rem; color: var(--texto-oscuro); text-align: center; }
  .op-table tbody td:first-child { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; color: var(--azul); }
  @media (max-width: 900px) { .operativo-info { grid-template-columns: 1fr; } #mapa-operativo { height: 320px; } }

  /* ESTRATEGIAS DE SECTORIZACIÓN */
  .sectoriz-section { background: var(--gris-claro) !important; }
  .sectoriz-section .section-tag { color: var(--azul); border-color: var(--azul); }
  .sectoriz-section .section-title { color: var(--azul-oscuro); }
  .sectoriz-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 2.5rem; }
  .sectoriz-card { background: var(--blanco); border-radius: 18px; padding: 2rem; display: flex; flex-direction: column; gap: 1rem; box-shadow: 0 4px 20px var(--sombra); border: 1.5px solid var(--gris-med); border-top: 4px solid var(--azul-claro); transition: transform .25s, box-shadow .25s, border-color .25s; }
  .sectoriz-card:hover { transform: translateY(-5px); box-shadow: 0 12px 36px rgba(27,79,138,0.18); border-top-color: var(--dorado); }
  .sectoriz-header { display: flex; align-items: center; gap: 1rem; }
  .sectoriz-num { width: 62px; height: 62px; border-radius: 50%; background: linear-gradient(135deg, var(--dorado), var(--dorado-oscuro)); color: var(--azul-oscuro); font-family: 'Barlow Condensed', sans-serif; font-size: 2.2rem; font-weight: 900; display: flex; align-items: center; justify-content: center; flex-shrink: 0; box-shadow: 0 3px 14px rgba(245,168,0,0.4); }
  .sectoriz-header h3 { font-family: 'Barlow Condensed', sans-serif; font-size: 1.15rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; color: var(--azul-oscuro); line-height: 1.2; }
  .sectoriz-card p { font-size: 0.92rem; color: #4a5568; line-height: 1.7; text-align: justify; flex: 1; }
  .sectoriz-icons { display: flex; justify-content: flex-end; gap: 0.8rem; margin-top: auto; padding-top: 0.8rem; border-top: 1px solid var(--gris-med); }
  .sectoriz-icons i { font-size: 2rem; }
  .sectoriz-icons .fa-recycle { color: #16a34a; }
  .sectoriz-icons .fa-truck-moving { color: var(--azul-claro); }
  @media (max-width: 900px) { .sectoriz-grid { grid-template-columns: 1fr; } }

  /* TURNO ÉTICO NOCTURNO */
  .nocturno-section { background-color: #0b1e3e !important; background-image: linear-gradient(160deg, #0a1628 0%, #0d2045 60%, #0a1628 100%) !important; }
  .nocturno-section .section-tag { color: var(--dorado); border-color: var(--dorado); }
  .nocturno-section .section-title { color: var(--blanco); }
  .nocturno-layout { display: grid; grid-template-columns: 1fr 380px; gap: 3rem; align-items: start; margin-top: 2.5rem; }
  .nocturno-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .nocturno-card { display: flex; gap: 1.2rem; align-items: flex-start; background: rgba(255,255,255,0.1); border-radius: 14px; padding: 1.5rem; border: 1px solid rgba(255,255,255,0.2); transition: background .25s, border-color .25s; }
  .nocturno-card:hover { background: rgba(255,255,255,0.09); border-color: rgba(245,168,0,0.3); }
  .noc-chevron { width: 52px; height: 52px; flex-shrink: 0; background: #2a6fc4; clip-path: polygon(0 0, 80% 0, 100% 50%, 80% 100%, 0 100%, 20% 50%); display: flex; align-items: center; justify-content: center; color: var(--blanco); font-size: 1.2rem; padding-left: 4px; }
  .noc-chevron--gold { background: linear-gradient(135deg, var(--dorado), var(--dorado-oscuro)); color: var(--azul-oscuro); }
  .noc-body h3 { font-family: 'Barlow Condensed', sans-serif; font-size: 1.05rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; color: var(--blanco); margin-bottom: 0.5rem; }
  .noc-body p { font-size: 0.88rem; color: rgba(255,255,255,0.88); line-height: 1.65; }
  .nocturno-horario { display: flex; flex-direction: column; gap: 1.5rem; }
  .noc-horario-header { display: flex; align-items: center; gap: 0.7rem; font-family: 'Barlow Condensed', sans-serif; font-size: 1.2rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; color: var(--dorado); }
  .noc-horario-header i { font-size: 1.4rem; }
  .nocturno-horario .op-table tbody td:first-child { color: var(--blanco); }
  .nocturno-horario .op-table tbody tr { border-color: rgba(255,255,255,0.1); background: transparent !important; }
  .nocturno-horario .op-table tbody tr:nth-child(even) { background: transparent !important; }
  .nocturno-horario .op-table tbody td { color: rgba(255,255,255,0.9) !important; background: rgba(255,255,255,0.04) !important; }
  .nocturno-horario .op-table tbody tr:nth-child(even) td { background: rgba(255,255,255,0.12) !important; }
  .noc-kpi-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
  .noc-kpi { background: rgba(245,168,0,0.1); border: 1px solid rgba(245,168,0,0.25); border-radius: 12px; padding: 1.2rem; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 0.3rem; }
  .noc-kpi i { font-size: 1.4rem; color: var(--dorado); }
  .noc-kpi-num { font-family: 'Barlow Condensed', sans-serif; font-size: 2.2rem; font-weight: 900; color: var(--blanco); line-height: 1; }
  .noc-kpi-lab { font-size: 0.78rem; font-family: 'Barlow Condensed', sans-serif; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--dorado); }
  @media (max-width: 1024px) { .nocturno-layout { grid-template-columns: 1fr; } }
  @media (max-width: 600px) { .nocturno-cards { grid-template-columns: 1fr; } }

  /* HIGIENE Y SEGURIDAD */
  .higiene-section { background: var(--blanco) !important; }
  .higiene-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 2.5rem; }
  .higiene-card { background: var(--gris-claro); border-radius: 18px; padding: 2.2rem 2rem; display: flex; flex-direction: column; gap: 1rem; box-shadow: 0 4px 20px var(--sombra); border: 1.5px solid var(--gris-med); transition: transform .25s, box-shadow .25s, border-color .25s; }
  .higiene-card:hover { transform: translateY(-5px); box-shadow: 0 12px 36px rgba(27,79,138,0.14); border-color: var(--dorado); }
  .higiene-icon { font-size: 2.6rem; color: var(--dorado); margin-bottom: 0.3rem; }
  .higiene-card h3 { font-family: 'Barlow Condensed', sans-serif; font-size: 1.15rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; color: var(--azul-oscuro); line-height: 1.2; }
  .higiene-card p { font-size: 0.92rem; color: #4a5568; line-height: 1.7; text-align: justify; }
  @media (max-width: 900px) { .higiene-grid { grid-template-columns: 1fr; } }

  /* INTERVENCIÓN FINAL - CIERRE */
  .cierre-section { background-color: rgba(11,30,62,0.97) !important; background-image: linear-gradient(160deg, #0a1628 0%, #0d2045 60%, #0a1628 100%) !important; }
  .cierre-section .section-tag { color: var(--dorado); border-color: var(--dorado); }
  .cierre-section .section-title { color: var(--blanco); }
  .cierre-sub { font-size: 1rem; color: rgba(200,214,232,0.8); margin-bottom: 2.5rem; }
  .cierre-layout { display: grid; grid-template-columns: 1fr auto 1fr; gap: 2.5rem; align-items: center; }
  .cierre-card { border-radius: 20px; padding: 2.2rem; display: flex; flex-direction: column; gap: 1.2rem; border: 1.5px solid rgba(255,255,255,0.15); backdrop-filter: blur(4px); box-shadow: 0 8px 32px rgba(0,0,0,0.35); }
  .cierre-card--verde { background: linear-gradient(145deg, rgba(45,80,28,0.9), rgba(34,60,20,0.95)); border-color: rgba(168,216,112,0.3); }
  .cierre-card--dorado { background: linear-gradient(145deg, rgba(180,120,0,0.9), rgba(201,138,0,0.95)); border-color: rgba(255,220,100,0.35); }
  .cierre-card-icon { font-size: 2.4rem; }
  .cierre-card--verde .cierre-card-icon { color: #a8d870; }
  .cierre-card--dorado .cierre-card-icon { color: rgba(255,255,255,0.95); }
  .cierre-card h3 { font-family: 'Barlow Condensed', sans-serif; font-size: 1.35rem; font-weight: 900; text-transform: uppercase; letter-spacing: 0.04em; line-height: 1.2; }
  .cierre-card--verde h3 { color: #d4f0a0; }
  .cierre-card--dorado h3 { color: var(--blanco); }
  .cierre-card p { font-size: 0.95rem; line-height: 1.7; color: rgba(255,255,255,0.88); }
  .cierre-fecha { display: flex; align-items: center; gap: 0.5rem; font-family: 'Barlow Condensed', sans-serif; font-size: 0.88rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; margin-top: auto; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.15); color: rgba(255,255,255,0.7); }
  .cierre-card--verde .cierre-fecha { color: #a8d870; }
  .cierre-card--dorado .cierre-fecha { color: rgba(255,255,200,0.9); }
  .cierre-center { display: flex; flex-direction: column; align-items: center; gap: 1.8rem; }
  .cierre-logo { width: 210px; mix-blend-mode: screen; filter: brightness(1.1) contrast(1.05); }
  .cierre-badge { display: flex; align-items: center; gap: 0.8rem; background: rgba(245,168,0,0.15); border: 1.5px solid rgba(245,168,0,0.4); color: var(--blanco); border-radius: 12px; padding: 1rem 1.5rem; }
  .cierre-badge i { font-size: 1.8rem; color: var(--dorado); flex-shrink: 0; }
  .cierre-badge span { font-family: 'Barlow Condensed', sans-serif; font-size: 0.95rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; line-height: 1.3; color: var(--blanco); }
  @media (max-width: 900px) { .cierre-layout { grid-template-columns: 1fr; } .cierre-center { order: -1; } }

/* PRESUPUESTO */
  .insumos-table { table-layout: auto; width: 100%; }
  .insumos-table td, .insumos-table th { white-space: nowrap; }
  .compras-table-title { display: flex; align-items: center; gap: 1.2rem; margin: 2.5rem 0 1.2rem; }
  .ctt-bar { flex: 1; height: 3px; background: linear-gradient(90deg, transparent, var(--azul)); border-radius: 2px; }
  .ctt-bar:last-child { background: linear-gradient(90deg, var(--azul), transparent); }
  .ctt-heading { font-family: 'Barlow Condensed', sans-serif; font-size: 1.25rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; color: var(--azul-oscuro); white-space: nowrap; padding: 0.4rem 1rem; border: 2px solid var(--azul); border-radius: 8px; background: rgba(27,79,138,0.05); }
  .presupuesto-section { background: var(--gris-claro); }
  .compras-table-wrap { overflow-x: auto; border-radius: 16px; box-shadow: 0 6px 32px rgba(27,79,138,0.10); border: 1.5px solid var(--gris-med); margin-top: 2rem; }
  .compras-table { width: 100%; border-collapse: collapse; font-size: 0.93rem; }
  .compras-table thead tr { background: linear-gradient(90deg, var(--azul-oscuro), var(--azul)); }
  .compras-table thead th { font-family: 'Barlow Condensed', sans-serif; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blanco); padding: 1rem 1.1rem; text-align: left; border: none; white-space: nowrap; }
  .compras-table thead th:first-child { border-radius: 14px 0 0 0; text-align: center; width: 46px; }
  .compras-table thead th:last-child { border-radius: 0 14px 0 0; text-align: right; }
  .compras-table thead th:nth-last-child(2) { text-align: right; }
  .compras-table thead th:nth-child(3) { text-align: center; width: 70px; }
  .compras-table tbody tr { border-bottom: 1px solid rgba(27,79,138,0.07); transition: background .18s; }
  .compras-table tbody tr:nth-child(odd) { background: var(--blanco); }
  .compras-table tbody tr:nth-child(even) { background: #f4f7fc; }
  .compras-table tbody tr:hover:not(.cat-row) { background: #e8f0fb; }
  .compras-table tbody td { padding: 0.8rem 1.1rem; vertical-align: middle; line-height: 1.45; border-right: 1px solid rgba(27,79,138,0.10); }
  .compras-table tbody td:last-child { border-right: none; }
  .compras-table thead th { border-right: 1px solid rgba(255,255,255,0.15); }
  .compras-table thead th:last-child { border-right: none; }
  .td-num { text-align: center !important; font-family: 'Barlow Condensed', sans-serif; font-weight: 700; color: #8a9ab0; font-size: 0.85rem; }
  .td-cant { text-align: center !important; font-family: 'Barlow Condensed', sans-serif; font-weight: 800; color: var(--azul); font-size: 1rem; }
  .td-item { white-space: normal; }
  .td-item .item-icon { margin-right: 0.45rem; }
  .td-item .item-name { font-weight: 600; color: var(--azul-oscuro); }
  .item-desc { font-size: 0.87rem; color: #4a6080; }
  .td-val { text-align: right !important; font-family: 'Barlow Condensed', sans-serif; font-weight: 700; color: var(--azul); white-space: nowrap; }
  .td-total { text-align: right !important; font-family: 'Barlow Condensed', sans-serif; font-weight: 800; color: var(--azul-oscuro); white-space: nowrap; }
  .cat-row { border-bottom: none !important; }
  .cat-row td { background: linear-gradient(90deg, rgba(13,48,96,0.07), rgba(13,48,96,0.02)) !important; padding: 0.55rem 1.1rem !important; border-left: 4px solid var(--dorado) !important; }
  .cat-row:nth-child(even) td, .cat-row:nth-child(odd) td { background: linear-gradient(90deg, rgba(13,48,96,0.07), rgba(13,48,96,0.02)) !important; }
  .cat-label { font-family: 'Barlow Condensed', sans-serif; font-weight: 900; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--azul-oscuro); display: flex; align-items: center; gap: 0.55rem; }
  .cat-label i { color: var(--dorado); font-size: 0.9rem; }
  .compras-table tfoot tr { background: linear-gradient(90deg, var(--azul-oscuro), var(--azul)); }
  .compras-table tfoot td { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; color: var(--blanco); padding: 1rem 1.1rem; }
  .td-total-label { text-align: right; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.88rem; opacity: 0.85; border-radius: 0 0 0 14px; }
  .td-total-sum { text-align: right !important; font-size: 1.15rem; color: var(--dorado) !important; font-weight: 900 !important; white-space: nowrap; border-radius: 0 0 14px 0; }
.alim-summary-row td { background: rgba(13,48,96,0.06) !important; border-top: 2px solid rgba(13,48,96,0.15) !important; }
  .alim-label { font-family: 'Barlow Condensed', sans-serif; font-weight: 900; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--azul-oscuro); }
  .alim-table { table-layout: auto; width: 100%; }
  .alim-table td, .alim-table th { white-space: nowrap; }

/* FOOTER */
  footer { background: var(--texto-oscuro); border-top: 3px solid var(--dorado); padding: 2.5rem 2rem; text-align: center; }
  footer img { height: 36px; object-fit: contain; opacity: 0.9; margin: 0 0.8rem; mix-blend-mode: screen; }
  .footer-copy { margin-top: 1.1rem; font-size: 0.82rem; color: #5a7898; letter-spacing: 0.04em; }
