 /* ─── Reset & Base ──────────────────────────────────────────── */
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    :root {
      --green-dark:   #1a3c2b;
      --green-mid:    #2d6a4f;
      --green-bright: #52b788;
      --green-light:  #95d5b2;
      --earth-brown:  #6b4226;
      --earth-tan:    #c8a97e;
      --earth-light:  #f0e6d3;
      --cream:        #faf7f2;
      --text-dark:    #1a2e1a;
      --text-light:   #e8f5e9;
      --shadow:       rgba(0,0,0,0.25);
      --nav-h:        64px;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      font-family: 'Lato', sans-serif;
      color: var(--text-dark);
      background: var(--green-dark);
      overflow-x: hidden;
    }

    /* ─── Scroll Container ──────────────────────────────────────── */
    .snap-container {
      height: 100vh;
      overflow-y: scroll;
      scroll-snap-type: y mandatory;
      scroll-behavior: smooth;
    }

    .snap-container::-webkit-scrollbar { width: 6px; }
    .snap-container::-webkit-scrollbar-track { background: var(--green-dark); }
    .snap-container::-webkit-scrollbar-thumb { background: var(--green-bright); border-radius: 3px; }

    /* ─── Sections ──────────────────────────────────────────────── */
    section {
      scroll-snap-align: start;
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      position: relative;
      overflow: hidden;
      padding: calc(var(--nav-h) + 2rem) 2rem 2rem;
    }

    /* ─── Fixed Navigation ──────────────────────────────────────── */
    nav {
      position: fixed;
      top: 0; left: 0; right: 0;
      height: var(--nav-h);
      z-index: 1000;
      background: rgba(26, 60, 43, 0.85);
      backdrop-filter: blur(12px);
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 2rem;
      transition: background 0.4s, box-shadow 0.4s;
    }

    nav.scrolled {
      background: rgba(26, 60, 43, 0.97);
      box-shadow: 0 2px 20px rgba(0,0,0,0.4);
    }

    .nav-logo {
      font-family: 'Montserrat', sans-serif;
      font-weight: 800;
      font-size: 1.1rem;
      color: var(--green-light);
      white-space: nowrap;
      display: flex;
      align-items: center;
      gap: 0.4rem;
    }

    .nav-links {
      display: flex;
      gap: 0.4rem;
      list-style: none;
      align-items: center;
      flex-wrap: wrap;
    }

    .nav-links a {
      text-decoration: none;
      color: var(--green-light);
      font-size: 0.78rem;
      font-weight: 600;
      padding: 0.3rem 0.65rem;
      border-radius: 20px;
      transition: background 0.25s, color 0.25s;
      white-space: nowrap;
    }

    .nav-links a:hover,
    .nav-links a.active {
      background: var(--green-bright);
      color: var(--green-dark);
    }

    .hamburger {
      display: none;
      flex-direction: column;
      cursor: pointer;
      gap: 5px;
    }

    .hamburger span {
      display: block;
      width: 24px;
      height: 2px;
      background: var(--green-light);
      border-radius: 2px;
      transition: transform 0.3s;
    }

    /* ─── Animate on Scroll ─────────────────────────────────────── */
    .anim {
      opacity: 0;
      transform: translateY(40px);
      transition: opacity 0.7s ease, transform 0.7s ease;
    }

    .anim.delay-1 { transition-delay: 0.1s; }
    .anim.delay-2 { transition-delay: 0.25s; }
    .anim.delay-3 { transition-delay: 0.4s; }
    .anim.delay-4 { transition-delay: 0.55s; }
    .anim.delay-5 { transition-delay: 0.7s; }
    .anim.delay-6 { transition-delay: 0.85s; }
    .anim.delay-7 { transition-delay: 0.90s; }

    .anim.visible {
      opacity: 1;
      transform: translateY(0);
    }

    .anim-left {
      opacity: 0;
      transform: translateX(-50px);
      transition: opacity 0.7s ease, transform 0.7s ease;
    }

    .anim-right {
      opacity: 0;
      transform: translateX(50px);
      transition: opacity 0.7s ease, transform 0.7s ease;
    }

    .anim-left.visible,
    .anim-right.visible {
      opacity: 1;
      transform: translateX(0);
    }

    /* ─── Section Titles ────────────────────────────────────────── */
    .section-badge {
      display: inline-block;
      background: var(--green-bright);
      color: var(--green-dark);
      font-size: 0.75rem;
      font-weight: 700;
      padding: 0.3rem 0.9rem;
      border-radius: 20px;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      margin-bottom: 0.75rem;
    }

    .section-title {
      font-family: 'Montserrat', sans-serif;
      font-weight: 800;
      text-align: center;
      line-height: 1.2;
      margin-bottom: 0.5rem;
    }

    .section-subtitle {
      text-align: center;
      max-width: 700px;
      line-height: 1.7;
      opacity: 0.85;
    }

    .divider {
      width: 60px;
      height: 4px;
      border-radius: 2px;
      background: var(--green-bright);
      margin: 1rem auto;
    }

    /* ─── Cards ─────────────────────────────────────────────────── */
    .card {
      background: rgba(255,255,255,0.07);
      border: 1px solid rgba(255,255,255,0.12);
      border-radius: 16px;
      padding: 1.5rem;
      backdrop-filter: blur(6px);
      transition: transform 0.3s, box-shadow 0.3s;
    }

    .card:hover {
      transform: translateY(-6px);
      box-shadow: 0 12px 30px rgba(0,0,0,0.3);
    }

    .card-icon {
      font-size: 2.2rem;
      margin-bottom: 0.75rem;
    }

    .card h3 {
      font-family: 'Montserrat', sans-serif;
      font-weight: 700;
      margin-bottom: 0.5rem;
      color: var(--green-light);
      font-size: 1rem;
    }

    .card p, .card ul {
      font-size: 0.875rem;
      line-height: 1.6;
      opacity: 0.9;
    }

    .card ul { padding-left: 1.1rem; }
    .card li { margin-bottom: 0.3rem; }

    /* ─── Grid helpers ───────────────────────────────────────────── */
    .grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
    .grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
    .grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }

    /* ─── ①  HERO ────────────────────────────────────────────────── */
    #hero {
      background:
        linear-gradient(170deg,
          rgba(10,30,15,0.92) 0%,
          rgba(26,60,43,0.80) 50%,
          rgba(45,106,79,0.70) 100%),
        url('https://images.unsplash.com/photo-1518531933037-91b2f5f229cc?w=1400&q=80') center/cover no-repeat;
      text-align: center;
      gap: 1.5rem;
      padding-top: var(--nav-h);
    }

    .hero-emoji {
      font-size: 5rem;
      filter: drop-shadow(0 4px 12px rgba(0,0,0,0.5));
      animation: floatEmoji 3.5s ease-in-out infinite;
    }

    @keyframes floatEmoji {
      0%, 100% { transform: translateY(0); }
      50%       { transform: translateY(-14px); }
    }

    #hero .section-title {
      font-size: clamp(1.8rem, 5vw, 3.5rem);
      color: #fff;
      text-shadow: 0 2px 20px rgba(0,0,0,0.5);
    }

    #hero .section-title span { color: var(--green-light); }

    .hero-sub {
      font-size: clamp(0.9rem, 2vw, 1.2rem);
      color: var(--earth-tan);
      letter-spacing: 0.12em;
      text-transform: uppercase;
      font-weight: 700;
    }

    .scroll-btn {
      display: inline-flex;
      flex-direction: column;
      align-items: center;
      gap: 0.4rem;
      background: none;
      border: 2px solid var(--green-bright);
      color: var(--green-bright);
      border-radius: 30px;
      padding: 0.75rem 1.75rem;
      font-size: 0.85rem;
      font-weight: 700;
      cursor: pointer;
      text-decoration: none;
      letter-spacing: 0.06em;
      transition: background 0.3s, color 0.3s;
      animation: pulseBtn 2.5s ease-in-out infinite;
      margin-top: 0.5rem;
    }

    .scroll-btn:hover {
      background: var(--green-bright);
      color: var(--green-dark);
      animation: none;
    }

    @keyframes pulseBtn {
      0%, 100% { box-shadow: 0 0 0 0 rgba(82,183,136,0.4); }
      50%       { box-shadow: 0 0 0 12px rgba(82,183,136,0); }
    }

    .scroll-arrow {
      display: inline-block;
      animation: bounceArrow 1.4s ease-in-out infinite;
      font-size: 1.1rem;
    }

    @keyframes bounceArrow {
      0%, 100% { transform: translateY(0); }
      50%       { transform: translateY(5px); }
    }

    /* ─── ②  PRESENTACIÓN ───────────────────────────────────────── */
    #presentacion {
      background:
        linear-gradient(135deg, var(--green-dark) 0%, #143020 100%);
      color: var(--text-light);
    }

    #presentacion .section-title { color: #fff; font-size: clamp(1.4rem, 3vw, 2.2rem); }

    .intro-card {
      max-width: 850px;
      background: rgba(82,183,136,0.08);
      border-left: 5px solid var(--green-bright);
      border-radius: 0 16px 16px 0;
      padding: 2rem 2.5rem;
      line-height: 1.85;
      font-size: clamp(0.88rem, 1.5vw, 1.02rem);
      color: var(--text-light);
      position: relative;
    }

    .intro-card::before {
      font-size: 5rem;
      font-family: Georgia, serif;
      color: var(--green-bright);
      opacity: 0.25;
      position: absolute;
      top: -0.5rem;
      left: 0.5rem;
      line-height: 1;
    }

    .intro-card strong { color: var(--green-light); }

    /* ─── ③  DIAGNÓSTICO ─────────────────────────────────────────── */
    #diagnostico {
      background:
        radial-gradient(ellipse at top left, #1e5c3a 0%, #0f2d1e 100%);
      color: var(--text-light);
    }

    #diagnostico .section-title { color: #fff; font-size: clamp(1.4rem, 3vw, 2rem); }

    .diag-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 1.25rem;
      max-width: 1000px;
      width: 100%;
    }

    /* ─── ④  CAUSAS Y CONSECUENCIAS ─────────────────────────────── */
    #causas {
      background:
        linear-gradient(160deg, #2c1a0e 0%, #3d2b10 40%, #1a3c2b 100%);
      color: var(--text-light);
    }

    #causas .section-title { color: #fff; font-size: clamp(1.4rem, 3vw, 2rem); }

    .causa-table {
      width: 100%;
      max-width: 820px;
      border-collapse: separate;
      border-spacing: 0;
      border-radius: 16px;
      overflow: hidden;
      font-size: 0.9rem;
    }

    .causa-table thead th {
      padding: 1rem 1.5rem;
      font-family: 'Montserrat', sans-serif;
      font-weight: 700;
      font-size: 0.85rem;
      letter-spacing: 0.06em;
      text-transform: uppercase;
    }

    .causa-table thead th:first-child {
      background: rgba(107,66,38,0.7);
    }

    .causa-table thead th:last-child {
      background: rgba(45,106,79,0.7);
    }

    .causa-table tbody tr:nth-child(odd) td {
      background: rgba(255,255,255,0.04);
    }

    .causa-table tbody tr:nth-child(even) td {
      background: rgba(255,255,255,0.08);
    }

    .causa-table td {
      padding: 0.9rem 1.5rem;
      line-height: 1.5;
      border-bottom: 1px solid rgba(255,255,255,0.06);
    }

    .causa-table td:first-child { border-right: 1px solid rgba(255,255,255,0.08); }

    .arrow-cell {
      text-align: center;
      font-size: 1.3rem;
    }

    .solucion-box {
      max-width: 820px;
      width: 100%;
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1rem;
    }

    .sol-pill {
      display: flex;
      align-items: center;
      gap: 0.6rem;
      background: rgba(82,183,136,0.15);
      border: 1px solid rgba(82,183,136,0.3);
      border-radius: 50px;
      padding: 0.65rem 1.1rem;
      font-size: 0.875rem;
      font-weight: 600;
      color: var(--green-light);
    }

    /* ─── ⑤  OBJETIVOS ───────────────────────────────────────────── */
    .objetivos {
      background:
        linear-gradient(135deg, #0b3320 0%, #1a5c35 60%, #0e2818 100%);
      color: var(--text-light);
    }

    .objetivos .section-title { color: #fff; font-size: clamp(1.3rem, 3vw, 2rem); }

    .obj-general {
      max-width: 820px;
      width: 100%;
      background: rgba(82,183,136,0.12);
      border: 1px solid rgba(82,183,136,0.3);
      border-radius: 16px;
      padding: 1.25rem 1.75rem;
      font-size: 0.95rem;
      line-height: 1.7;
    }

    .obj-general strong { color: var(--green-light); }

    .obj-especificos {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 1rem;
      max-width: 820px;
      width: 100%;
    }

    .obj-card {
      border-radius: 16px;
      padding: 1.25rem;
      border: 1px solid rgba(255,255,255,0.1);
      backdrop-filter: blur(6px);
    }

    .obj-card.ambiental { background: rgba(45,106,79,0.35); }
    .obj-card.social     { background: rgba(82,130,183,0.25); }
    .obj-card.educativo  { background: rgba(183,140,82,0.25); }
    .obj-card.economico  { background: rgba(82,183,136,0.2); }
    .obj-card.eduam  { background: rgba(100, 122, 36, 0.2); }
    .obj-card.mantenimiento  { background: rgba(183, 82, 82, 0.2); }

    .obj-card .label {
      font-size: 0.7rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      color: var(--green-light);
      margin-bottom: 0.5rem;
    }

    .obj-card p { font-size: 0.875rem; line-height: 1.55; }
    .obj-card .meta { font-size: 0.78rem; margin-top: 0.5rem; opacity: 0.75; }

    /* ─── ⑥  COMPARACIÓN ─────────────────────────────────────────── */
    #comparacion {
      background:
        linear-gradient(160deg, #1a2e10 0%, #2d4a1e 50%, #1a3c2b 100%);
      color: var(--text-light);
    }

    #comparacion .section-title { color: #fff; font-size: clamp(1.3rem, 3vw, 2rem); }

    .comp-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 1.5rem;
      max-width: 860px;
      width: 100%;
    }

    .comp-card {
      background: rgba(255,255,255,0.06);
      border: 1px solid rgba(255,255,255,0.1);
      border-radius: 16px;
      padding: 1.5rem;
    }

    .comp-card h3 {
      font-family: 'Montserrat', sans-serif;
      font-weight: 700;
      color: var(--green-light);
      font-size: 1rem;
      margin-bottom: 1rem;
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }

    .comp-card ul {
      font-size: 0.875rem;
      padding-left: 1.1rem;
      line-height: 1.7;
    }

    .tag {
      display: inline-block;
      font-size: 0.7rem;
      font-weight: 700;
      padding: 0.2rem 0.6rem;
      border-radius: 20px;
      margin-bottom: 0.4rem;
    }

    .tag-green  { background: rgba(82,183,136,0.2); color: var(--green-light); }
    .tag-yellow { background: rgba(200,169,126,0.2); color: var(--earth-tan); }

    /* ─── ⑦  IMPACTO ──────────────────────────────────────────────── */
    #impacto {
      background:
        radial-gradient(ellipse at bottom right, #1e3a1a 0%, #0a1f10 100%);
      color: var(--text-light);
    }

    #impacto .section-title { color: #fff; font-size: clamp(1.3rem, 3vw, 2rem); }

    .impact-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 1.5rem;
      max-width: 860px;
      width: 100%;
    }

    .impact-col h3 {
      font-family: 'Montserrat', sans-serif;
      font-weight: 700;
      font-size: 0.95rem;
      margin-bottom: 1rem;
      display: flex;
      align-items: center;
      gap: 0.5rem;
      padding-bottom: 0.5rem;
      border-bottom: 2px solid rgba(255,255,255,0.1);
    }

    .impact-item {
      display: flex;
      align-items: flex-start;
      gap: 0.75rem;
      margin-bottom: 0.9rem;
      font-size: 0.875rem;
      line-height: 1.55;
    }

    .impact-item .icon { font-size: 1.3rem; flex-shrink: 0; margin-top: 0.1rem; }

    /* ─── ⑧  RESUMEN ─────────────────────────────────────────────── */
    #resumen {
      background:
        linear-gradient(135deg, #0e2818 0%, #1a472a 60%, #143020 100%);
      color: var(--text-light);
    }

    #resumen .section-title { color: #fff; font-size: clamp(1.3rem, 3vw, 2rem); }

    .resumen-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
      gap: 1rem;
      max-width: 900px;
      width: 100%;
    }

    .res-card {
      border-radius: 20px;
      padding: 1.5rem 1.25rem;
      text-align: center;
      border: 1px solid rgba(255,255,255,0.1);
    }

    .res-card.ambiental { background: linear-gradient(145deg, rgba(45,106,79,0.4), rgba(20,80,40,0.5)); }
    .res-card.social     { background: linear-gradient(145deg, rgba(45,80,150,0.3), rgba(20,50,130,0.4)); }
    .res-card.educativo  { background: linear-gradient(145deg, rgba(150,120,45,0.3), rgba(130,90,20,0.4)); }
    .res-card.economico  { background: linear-gradient(145deg, rgba(82,183,136,0.2), rgba(45,130,90,0.35)); }
    .res-card.eduam  { background: rgba(100, 122, 36, 0.2); }
    .res-card.mantenimiento  { background: rgba(183, 82, 82, 0.2); }

    .res-card .icon { font-size: 2rem; margin-bottom: 0.5rem; }
    .res-card h3 {
      font-family: 'Montserrat', sans-serif;
      font-weight: 700;
      font-size: 0.95rem;
      color: var(--green-light);
      margin-bottom: 0.75rem;
    }

    .res-card ul {
      list-style: none;
      font-size: 0.82rem;
      line-height: 1.6;
      text-align: left;
    }

    .res-card li::before { content: '▸ '; color: var(--green-bright); }

    /* ─── ⑨  CONCLUSIÓN ──────────────────────────────────────────── */
    #conclusion {
      background:
        linear-gradient(170deg, #0a1f0e 0%, #1a3c2b 50%, #0f2d1e 100%);
      color: var(--text-light);
      text-align: center;
    }

    #conclusion .section-title { color: #fff; font-size: clamp(1.5rem, 3.5vw, 2.5rem); }

    .conclusion-text {
      max-width: 760px;
      line-height: 1.85;
      font-size: clamp(0.9rem, 1.6vw, 1.05rem);
      opacity: 0.9;
    }

    .cta-btn {
      display: inline-block;
      background: var(--green-bright);
      color: var(--green-dark);
      font-family: 'Montserrat', sans-serif;
      font-weight: 700;
      font-size: 0.95rem;
      padding: 1rem 2.5rem;
      border-radius: 50px;
      text-decoration: none;
      transition: transform 0.25s, box-shadow 0.25s;
      box-shadow: 0 6px 20px rgba(82,183,136,0.35);
      margin-top: 0.5rem;
    }

    .cta-btn:hover {
      transform: translateY(-3px);
      box-shadow: 0 10px 28px rgba(82,183,136,0.5);
    }

    /* ─── ⑩  FOOTER ──────────────────────────────────────────────── */
    #footer {
      min-height: auto;
      scroll-snap-align: end;
      background: #0a1a0f;
      color: rgba(255,255,255,0.6);
      padding: 3rem 2rem;
      flex-direction: row;
      flex-wrap: wrap;
      justify-content: space-between;
      align-items: flex-start;
      gap: 2rem;
    }

    .footer-brand {
      display: flex;
      flex-direction: column;
      gap: 0.5rem;
    }

    .footer-brand h4 {
      font-family: 'Montserrat', sans-serif;
      font-weight: 800;
      color: var(--green-light);
      font-size: 1rem;
    }

    .footer-brand p { font-size: 0.82rem; max-width: 280px; line-height: 1.6; }

    .footer-links h5 {
      font-family: 'Montserrat', sans-serif;
      font-weight: 700;
      color: var(--green-light);
      margin-bottom: 0.75rem;
      font-size: 0.85rem;
    }

    .footer-links ul {
      list-style: none;
      font-size: 0.82rem;
    }

    .footer-links li { margin-bottom: 0.4rem; }

    .footer-links a {
      color: rgba(255,255,255,0.55);
      text-decoration: none;
      transition: color 0.25s;
    }

    .footer-links a:hover { color: var(--green-bright); }

    .footer-bottom {
      width: 100%;
      text-align: center;
      font-size: 0.78rem;
      padding-top: 2rem;
      border-top: 1px solid rgba(255,255,255,0.06);
      margin-top: 1rem;
    }

    /* ─── Leaf decorations ───────────────────────────────────────── */
    .leaf-deco {
      position: absolute;
      opacity: 0.06;
      pointer-events: none;
      user-select: none;
      font-size: 12rem;
      line-height: 1;
    }

    .leaf-tl { top: -2rem; left: -2rem; transform: rotate(-20deg); }
    .leaf-br { bottom: -2rem; right: -2rem; transform: rotate(160deg); }

    /* ─── Responsive ─────────────────────────────────────────────── */
    @media (max-width: 768px) {
      :root { --nav-h: 56px; }

      .nav-links {
        display: none;
        flex-direction: column;
        position: fixed;
        top: var(--nav-h);
        left: 0; right: 0;
        background: rgba(26,60,43,0.98);
        padding: 1rem;
        gap: 0.5rem;
        backdrop-filter: blur(12px);
      }

      .nav-links.open { display: flex; }
      .hamburger { display: flex; }

      .grid-2, .grid-3, .grid-4,
      .solucion-box, .comp-grid, .impact-grid {
        grid-template-columns: 1fr;
      }

      .causa-table thead th, .causa-table td {
        padding: 0.65rem 0.8rem;
        font-size: 0.8rem;
      }

      .intro-card { padding: 1.25rem 1.25rem 1.25rem 1.5rem; }

      section { padding: calc(var(--nav-h) + 1rem) 1.25rem 1.25rem; }

      .hero-emoji { font-size: 3.5rem; }

      #footer {
        flex-direction: column;
        align-items: center;
        text-align: center;
      }

      .footer-brand p { max-width: 100%; }
    }

    @media (max-width: 480px) {
      .resumen-grid { grid-template-columns: 1fr 1fr; }
      .obj-especificos { grid-template-columns: 1fr 1fr; }
      .diag-grid { grid-template-columns: 1fr 1fr; }
    }