
    /* ─── DESIGN TOKENS ─────────────────────────────── */
    :root {
      --pine:      #1A3C2E;   /* Fondo oscuro principal */
      --forest:    #2E5D43;   /* Verde bosque medio    */
      --meadow:    #3D7A56;   /* Verde prado accent    */
      --amber:     #E8A030;   /* Señalización montaña  */
      --amber-lt:  #F5C877;   /* Amber claro           */
      --stone:     #8A9E8E;   /* Piedra / muted        */
      --mist:      #F2F5F0;   /* Blanco niebla / bg    */
      --earth:     #2D1F0A;   /* Tierra oscura         */
      --surface:   #E8EDE8;   /* Superficie clara      */
      --border:    #C8D5C8;   /* Bordes                */
      --white:     #FFFFFF;
      /* Status colors */
      --ok:        #2E7D32;
      --ok-bg:     #E8F5E9;
      --warn:      #E65100;
      --warn-bg:   #FFF3E0;
      --bad:       #B71C1C;
      --bad-bg:    #FFEBEE;
      /* Type */
      --ff-display: 'Space Grotesk', system-ui, sans-serif;
      --ff-body:    'Inter', system-ui, sans-serif;
      /* Geometry */
      --r:          6px;
      --r-lg:       12px;
      --shadow:     0 2px 16px rgba(26,60,46,.10);
      --shadow-lg:  0 8px 40px rgba(26,60,46,.16);
      --trans:      .25s ease;
    }
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; }
    body {
      font-family: var(--ff-body);
      background: var(--mist);
      color: var(--pine);
      font-size: 16px;
      line-height: 1.6;
      overflow-x: hidden;
    }
    a { color: inherit; text-decoration: none; }
    ul { list-style: none; }
    button { font-family: var(--ff-body); }
    img { display: block; max-width: 100%; }

    /* ─── PAGE SYSTEM (SPA) ─────────────────────────── */
    .page { display: none; }
    .page.active { display: block; }

    /* ─── HEADER ────────────────────────────────────── */
    header {
      position: sticky; top: 0; z-index: 100;
      background: var(--pine);
      padding: 0 5vw;
    }
    .header-inner {
      display: flex; align-items: center; justify-content: space-between;
      height: 64px; gap: 24px;
    }
    .logo {
      font-family: var(--ff-display); font-size: 1.4rem; font-weight: 700;
      color: var(--white); letter-spacing: -.01em; cursor: pointer;
      display: flex; align-items: center; gap: 8px;
    }
    .logo-mark {
      width: 30px; height: 30px;
      background: var(--amber); border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      font-size: 1rem; flex-shrink: 0;
    }
    nav { display: flex; align-items: center; gap: 2px;}
    nav a {
      padding: 7px 14px; border-radius: var(--r);
      font-size: .875rem; font-weight: 500;
      color: rgba(255,255,255,.7); cursor: pointer;
      transition: color var(--trans), background var(--trans);
    }
    nav a:hover, nav a.nav-active { color: var(--white); background: rgba(255,255,255,.1); }

    /* ─── MENÚ HAMBURGUESA (móvil) ───────────────────── */
    .menu-toggle {
      display: none;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      gap: 5px;
      width: 40px; height: 40px;
      background: none; border: none; cursor: pointer;
      padding: 8px; flex-shrink: 0;
    }
    .menu-toggle span {
      display: block; width: 100%; height: 2px;
      background: var(--white); border-radius: 2px;
      transition: transform var(--trans), opacity var(--trans);
    }
    .menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .menu-toggle.active span:nth-child(2) { opacity: 0; }
    .menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    .header-right { display: flex; align-items: center; gap: 12px; }
    .nav-profile {
      width: 34px; height: 34px; border-radius: 50%;
      background: var(--forest); border: 2px solid var(--meadow);
      display: flex; align-items: center; justify-content: center;
      font-size: 1rem; cursor: pointer; color: var(--white);
      transition: border-color var(--trans);
    }
    .nav-profile:hover { border-color: var(--amber); }

    /* ─── TOAST ─────────────────────────────────────── */
    .toast {
      position: fixed; bottom: 24px; left: 50%; z-index: 500;
      transform: translateX(-50%) translateY(80px);
      background: var(--pine); color: var(--white);
      padding: 12px 20px; border-radius: 50px;
      font-size: .875rem; font-weight: 500;
      box-shadow: var(--shadow-lg);
      transition: transform .3s ease, opacity .3s ease;
      pointer-events: none; opacity: 0;
    }
    .toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }

    /* ─── STATUS BADGE ──────────────────────────────── */
    /* Signature element: the status pill used across all route cards */
    .status-pill {
      display: inline-flex; align-items: center; gap: 5px;
      padding: 3px 10px; border-radius: 50px;
      font-size: .75rem; font-weight: 600; letter-spacing: .02em;
      font-family: var(--ff-display);
    }
    .status-pill::before { content: ''; width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
    .status-ok   { background: var(--ok-bg);   color: var(--ok);   }
    .status-ok::before   { background: var(--ok);   }
    .status-warn { background: var(--warn-bg); color: var(--warn); }
    .status-warn::before { background: var(--warn); }
    .status-bad  { background: var(--bad-bg);  color: var(--bad);  }
    .status-bad::before  { background: var(--bad);  }

    /* ─── BUTTONS ────────────────────────────────────── */
    .btn-pri {
      background: var(--amber); color: var(--earth);
      padding: 12px 24px; border-radius: var(--r);
      font-family: var(--ff-display); font-size: .9rem; font-weight: 700;
      border: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px;
      transition: transform .15s, box-shadow .15s;
    }
    .btn-pri:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(232,160,48,.4); }
    .btn-sec {
      background: transparent; color: var(--pine);
      padding: 11px 22px; border-radius: var(--r);
      font-family: var(--ff-display); font-size: .9rem; font-weight: 600;
      border: 2px solid var(--pine); cursor: pointer;
      transition: background var(--trans), color var(--trans);
    }
    .btn-sec:hover { background: var(--pine); color: var(--white); }
    .btn-sec-inv {
      background: transparent; color: var(--white);
      padding: 11px 22px; border-radius: var(--r);
      font-family: var(--ff-display); font-size: .9rem; font-weight: 600;
      border: 2px solid rgba(255,255,255,.5); cursor: pointer;
      transition: border-color var(--trans), background var(--trans);
    }
    .btn-sec-inv:hover { border-color: var(--amber); background: rgba(232,160,48,.1); }
    .btn-sm {
      background: var(--amber); color: var(--earth);
      padding: 7px 14px; border-radius: var(--r);
      font-size: .8rem; font-weight: 700; border: none; cursor: pointer;
      font-family: var(--ff-display);
      transition: transform .15s;
    }
    .btn-sm:hover { transform: translateY(-1px); }
    .btn-ghost {
      background: rgba(255,255,255,.12); color: var(--white);
      padding: 7px 14px; border-radius: var(--r);
      font-size: .8rem; font-weight: 600; border: none; cursor: pointer;
      font-family: var(--ff-display);
      transition: background var(--trans);
    }
    .btn-ghost:hover { background: rgba(255,255,255,.2); }
    .btn-full {
      width: 100%; padding: 14px; background: var(--amber); color: var(--earth);
      border: none; border-radius: var(--r); font-size: 1rem; font-weight: 700;
      font-family: var(--ff-display); cursor: pointer;
      transition: transform .15s, box-shadow .15s;
    }
    .btn-full:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(232,160,48,.35); }
    .btn-gpx {
      background: var(--pine); color: var(--white);
      padding: 13px 28px; border-radius: var(--r);
      font-family: var(--ff-display); font-size: .95rem; font-weight: 700;
      border: none; cursor: pointer; display: inline-flex; align-items: center; gap: 10px;
      transition: background var(--trans), transform .15s;
    }
    .btn-gpx:hover { background: var(--forest); transform: translateY(-1px); }

    /* ─── SECTION COMMONS ────────────────────────────── */
    .sec { padding: 72px 5vw; }
    .sec-alt { background: var(--surface); }
    .sec-dark { background: var(--pine); color: var(--white); }
    .sec-forest { background: var(--forest); color: var(--white); }
    .sec-label {
      font-family: var(--ff-display); font-size: .72rem; font-weight: 700;
      letter-spacing: .12em; text-transform: uppercase; color: var(--amber);
      margin-bottom: 10px;
    }
    .sec-title {
      font-family: var(--ff-display); font-size: clamp(1.7rem, 3.5vw, 2.6rem);
      font-weight: 700; line-height: 1.15; margin-bottom: 14px;
    }
    .sec-sub { color: var(--stone); font-size: 1rem; max-width: 520px; }
    .sec-header { margin-bottom: 48px; }
    .sec-header.center { text-align: center; }
    .sec-header.center .sec-sub { margin: 0 auto; }

    /* ─── ROUTE CARD ─────────────────────────────────── */
    .route-card {
      background-color: rgb(170, 239, 101);
      background-repeat: no-repeat;
      
      overflow: hidden; box-shadow: var(--shadow);
      transition: transform var(--trans), box-shadow var(--trans);
      display: flex; flex-direction: column;
    }
    .route-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
    .route-thumb {
      height: 180px; position: relative; overflow: hidden;
     background-image: url(imgs/Txindoki.jpg);
      display: flex; align-items: center; justify-content: center;
      font-size: 4rem;
    }
    .route-thumb2 {
      height: 180px; position: relative; overflow: hidden;
     background-image: url(imgs/ulia.jpg);
      display: flex; align-items: center; justify-content: center;
      font-size: 4rem;
       background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
    }
      .route-thumb3 {
      height: 180px; position: relative; overflow: hidden;
     background-image: url(imgs/aizkorri.jpg);
      display: flex; align-items: center; justify-content: center;
      font-size: 4rem;
       background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
    }
      .route-thumb4 {
      height: 180px; position: relative; overflow: hidden;
     background-image: url(imgs/pena-de-aia.webp);
      display: flex; align-items: center; justify-content: center;
      font-size: 4rem;
       background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
    }
    .route-thumb5 {
      height: 400px; position: relative; overflow: hidden;
     background-image: url(imgs/aratz.jpg);
      display: flex; align-items: center; justify-content: center;
      font-size: 4rem;
       background-size:cover;
      background-position: center;
      background-repeat: no-repeat;
    }
    .route-thumb6 {
      height: 400px; position: relative; overflow: hidden;
     background-image: url(imgs/txindoki-nino.webp);
      display: flex; align-items: center; justify-content: center;
      font-size: 4rem;
       background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
    }
    .route-thumb-label {
      position: absolute; top: 12px; left: 12px;
    }
    .route-thumb-update {
      position: absolute; bottom: 12px; right: 12px;
      background: rgba(26,60,46,.85); color: var(--white);
      font-size: .72rem; padding: 3px 8px; border-radius: 50px;
    }
    .route-body { padding: 20px; flex: 1; display: flex; flex-direction: column; gap: 12px; }
    .route-name { font-family: var(--ff-display); font-size: 1.05rem; font-weight: 700; }
    .route-meta { display: flex; gap: 16px; flex-wrap: wrap; }
    .route-meta-item { display: flex; align-items: center; gap: 5px; font-size: .82rem; color: var(--stone); }
    .route-meta-item strong { color: var(--pine); font-weight: 600; }
    .route-footer { display: flex; justify-content: space-between; align-items: center; margin-top: auto; }
    .rows-flex { display: flex; gap: 20px; flex-wrap: wrap; }
    .rows-flex .route-card { flex: 1 1 280px; }
    #card-txindoki{
      background-image: url(imgs/Txindoki.jpg);
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
    }
    #card-ulia{
      background-image: url(imgs/ulia.jpg);
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
    }
     #card-aiako{
      background-image: url(imgs/pena-de-aia.webp);
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
    }


    /* ─── SEARCH BAR ─────────────────────────────────── */
    .search-bar {
      background: var(--white); border-radius: var(--r-lg);
      padding: 20px 24px; box-shadow: var(--shadow-lg);
      display: flex; gap: 12px; flex-wrap: wrap; align-items: flex-end;
    }
    .search-field { flex: 1 1 160px; display: flex; flex-direction: column; gap: 6px; }
    .search-field label { font-size: .78rem; font-weight: 600; color: var(--stone); text-transform: uppercase; letter-spacing: .06em; }
    .search-field input,
    .search-field select {
      padding: 10px 14px; border: 1.5px solid var(--border);
      border-radius: var(--r); font-family: var(--ff-body);
      font-size: .9rem; color: var(--pine); background: var(--mist);
      transition: border-color var(--trans);
    }
    .search-field input:focus, .search-field select:focus { outline: none; border-color: var(--amber); }

    /* ─── HERO ───────────────────────────────────────── */
    .hero {
      background: var(--pine);
      min-height: 86vh;
      display: flex; flex-direction: column; justify-content: flex-end;
      padding: 0 5vw 64px; position: relative; overflow: hidden;
    }
    .hero-bg {
      position: absolute; inset: 0;
      /* Representación CSS de montaña con capas — la única animación del site */
      background-image: url(imgs/pena-de-aia.webp);
      background-size: cover;
      background-attachment: fixed;
      background-position: center;
      background-repeat: no-repeat;
    }
    .hero-mountains {
      position: absolute; inset: 0;
      background:
        /* Silueta montaña izquierda */
        radial-gradient(ellipse 60% 50% at 10% 90%, #0D2419 0%, transparent 60%),
        radial-gradient(ellipse 80% 60% at 35% 85%, #16341F 0%, transparent 55%),
        /* Pico central */
        radial-gradient(ellipse 50% 70% at 55% 75%, #0D2419 0%, transparent 50%),
        /* Ladera derecha */
        radial-gradient(ellipse 70% 55% at 85% 88%, #16341F 0%, transparent 55%),
        /* Niebla */
        radial-gradient(ellipse 120% 30% at 50% 55%, rgba(178,212,178,.07) 0%, transparent 70%),
        /* Cielo */
        linear-gradient(180deg, #0A1F14 0%, #1A3C2E 45%, #2E5D43 100%);
    }
    .hero-content { position: relative; z-index: 1; max-width: 680px; }
    .hero-eyebrow {
      font-family: var(--ff-display); font-size: 1.5rem; font-weight: 700;
      letter-spacing: .14em; text-transform: uppercase;
      color: var(--amber); margin-bottom: 18px;
    }
    .hero h1 {
      font-family: var(--ff-display); font-weight: 700;
      font-size: clamp(2.2rem, 5.5vw, 3.8rem); line-height: 1.1;
      color: var(--white); margin-bottom: 20px;
    }
    .hero h1 .hl { color: var(--amber); }
    .hero-sub {
      color: rgba(255,255,255,.72); font-size: 1.05rem;
      max-width: 520px; margin-bottom: 36px;
    }
    .hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 48px; }
    .hero-stats { display: flex; gap: 36px; flex-wrap: wrap; }
    .hero-stat strong {
      display: block; font-family: var(--ff-display);
      font-size: 1.6rem; font-weight: 700; color: var(--white);
    }
    .hero-stat span { font-size: 1rem; color: white }

    /* ─── ESTADO RECIENTE (signature section) ────────── */
    .estado-list { display: flex; flex-direction: column; gap: 1px; }
    .estado-item {
      display: flex; align-items: center; gap: 16px;
      padding: 14px 20px; background: var(--white);
      transition: background var(--trans); cursor: pointer;
    }
    .estado-item:first-child { border-radius: var(--r-lg) var(--r-lg) 0 0; }
    .estado-item:last-child  { border-radius: 0 0 var(--r-lg) var(--r-lg); }
    .estado-item:hover { background: var(--mist); }
    .estado-icon { font-size: 1.4rem; flex-shrink: 0; width: 36px; text-align: center; }
    .estado-info { flex: 1; }
    .estado-info strong { font-family: var(--ff-display); font-size: .95rem; font-weight: 700; display: block; }
    .estado-info span { font-size: .8rem; color: var(--stone); }
    .estado-right { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
    .estado-time { font-size: .75rem; color: var(--stone); }
    .estado-details { display: flex; gap: 8px; font-size: .75rem; color: var(--stone); }
    .estado-details span { display: flex; align-items: center; gap: 3px; }

    /* ─── MAP PLACEHOLDER ────────────────────────────── */
    .map-box {
      border-radius: var(--r-lg); overflow: hidden;
      position: relative; background: #2a4a35;
    }
    .map-inner {
      height: 100%; min-height: 360px;
      display: flex; align-items: center; justify-content: center;
      flex-direction: column; gap: 16px;
      /* Simplified topo map with CSS */
      background:
        repeating-linear-gradient(
          45deg,
          transparent, transparent 24px,
          rgba(61,122,86,.12) 24px, rgba(61,122,86,.12) 25px
        ),
        radial-gradient(ellipse 60% 60% at 40% 50%, rgba(61,122,86,.3) 0%, transparent 70%),
        radial-gradient(ellipse 40% 40% at 70% 35%, rgba(46,93,67,.4) 0%, transparent 60%),
        linear-gradient(160deg, #1e3d2a 0%, #2a5038 50%, #1e3d2a 100%);
    }
    .map-dots {
      position: absolute; inset: 0;
      background-image:
        radial-gradient(circle, var(--ok) 3px, transparent 3px),
        radial-gradient(circle, var(--amber) 3px, transparent 3px),
        radial-gradient(circle, var(--ok) 3px, transparent 3px),
        radial-gradient(circle, var(--warn) 3px, transparent 3px),
        radial-gradient(circle, var(--ok) 3px, transparent 3px),
        radial-gradient(circle, var(--bad) 3px, transparent 3px),
        radial-gradient(circle, var(--ok) 3px, transparent 3px);
      background-size: 100% 100%;
      background-position:
        25% 40%, 45% 30%, 60% 55%, 30% 65%, 70% 45%, 55% 70%, 80% 35%;
      background-repeat: no-repeat;
    }
    .map-legend {
      position: absolute; bottom: 16px; left: 16px;
      background: rgba(26,60,46,.9); border-radius: var(--r);
      padding: 10px 14px; display: flex; flex-direction: column; gap: 6px;
    }
    .map-legend-item { display: flex; align-items: center; gap: 8px; font-size: .75rem; color: var(--white); }
    .map-legend-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
    .map-center-label { text-align: center; z-index: 1; width: 100%; height: 100%;}
    .map-center-label p { color: rgba(255,255,255,.6); font-size: .85rem; }
    .map-open-btn {
      background: var(--amber); color: var(--earth);
      padding: 10px 20px; border-radius: var(--r);
      font-family: var(--ff-display); font-weight: 700; font-size: .875rem;
      border: none; cursor: pointer; margin-top: 8px;
      transition: transform .15s;
    }
    .map-open-btn:hover { transform: translateY(-1px); }

    /* ─── HOW IT WORKS ───────────────────────────────── */
    .how-steps { display: flex; gap: 0; flex-wrap: nowrap; }
    .how-step { flex: 1 1 0; padding: 0 24px; position: relative; }
    .how-step::after {
      content: '→'; position: absolute; right: -8px; top: 28px;
      font-size: 1.2rem; color: var(--border);
    }
    .how-step:last-child::after { display: none; }
    .step-num {
      font-family: var(--ff-display); font-size: 2.4rem; font-weight: 700;
      color: var(--amber); line-height: 1; margin-bottom: 12px;
    }
    .step-title { font-family: var(--ff-display); font-weight: 700; margin-bottom: 6px; }
    .step-text { font-size: .875rem; color: var(--stone); }

    /* ─── BENEFIT CARDS ──────────────────────────────── */
    .benefits { display: flex; gap: 16px; flex-wrap: wrap; }
    .benefit-card { flex: 1 1 200px; padding: 28px 24px; }
    .benefit-icon { font-size: 2rem; margin-bottom: 14px; }
    .benefit-title { font-family: var(--ff-display); font-weight: 700; font-size: .95rem; margin-bottom: 8px; }
    .benefit-text { font-size: .85rem; color: rgba(255,255,255,.65); }

    /* ─── TRUST NUMBERS ──────────────────────────────── */
    .trust-numbers { display: flex; gap: 0; flex-wrap: wrap; }
    .trust-num { flex: 1 1 140px; padding: 28px 24px; text-align: center; border-right: 1px solid var(--border); }
    .trust-num:last-child { border: none; }
    .trust-num strong { display: block; font-family: var(--ff-display); font-size: 2rem; font-weight: 700; color: var(--pine); }
    .trust-num span { font-size: .82rem; color: var(--stone); }

    /* ─── PAGE HERO (inner) ──────────────────────────── */
    .page-hero {
      background: var(--pine); padding: 100px 5vw 100px;
      background-image: url(imgs/hierba.webp);
    }
    .breadcrumb {
      display: flex; gap: 8px; align-items: center;
      font-size: 1rem; color: var(--white); margin-bottom: 14px;
    }
    .breadcrumb a { cursor: pointer; transition: color var(--trans); }
    .breadcrumb a:hover { color: var(--amber); }
    .page-hero h1 {
      font-family: var(--ff-display); font-weight: 700;
      font-size: clamp(1.8rem, 4vw, 2.8rem); color: var(--white);
      margin-bottom: 10px;
    }
    .page-hero p { color: var(--white); }

    /* ─── FILTER BAR ─────────────────────────────────── */
    .filter-bar {
      background: var(--white); padding: 20px 24px;
      box-shadow: var(--shadow); border-bottom: 1px solid var(--border);
      display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap;
    }
    .filter-field { flex: 1 1 140px; display: flex; flex-direction: column; gap: 5px; }
    .filter-field label { font-size: .75rem; font-weight: 600; color: var(--stone); text-transform: uppercase; letter-spacing: .06em; }
    .filter-field select, .filter-field input {
      padding: 9px 12px; border: 1.5px solid var(--border);
      border-radius: var(--r); font-size: .875rem; color: var(--pine);
      background: var(--mist); font-family: var(--ff-body);
    }
    .filter-field select:focus, .filter-field input:focus { outline: none; border-color: var(--amber); }

    /* ─── DIFFICULTY BADGE ───────────────────────────── */
    .diff {
      display: inline-block; padding: 2px 9px; border-radius: 50px;
      font-size: .72rem; font-weight: 700; font-family: var(--ff-display);
    }
    .diff-easy   { background: #E8F5E9; color: #2E7D32; }
    .diff-med    { background: #FFF8E1; color: #F57F17; }
    .diff-hard   { background: #FBE9E7; color: #BF360C; }
    .diff-family { background: #E3F2FD; color: #1565C0; }

    /* ─── FICHA DE RUTA ──────────────────────────────── */
    .ficha-layout { display: flex; gap: 32px; flex-wrap: wrap; align-items: flex-start; }
    .ficha-main { flex: 2 1 480px; }
    .ficha-aside { flex: 1 1 280px; }
    .estado-box {
      background: var(--white); border-radius: var(--r-lg);
      padding: 24px; box-shadow: var(--shadow); margin-bottom: 24px;
      border-top: 4px solid var(--ok);
    }
    .estado-box.warn { border-top-color: var(--warn); }
    .estado-box-title {
      font-family: var(--ff-display); font-weight: 700;
      font-size: 1rem; margin-bottom: 16px;
      display: flex; align-items: center; gap: 8px;
    }
    .estado-grid { display: flex; flex-direction: column; gap: 10px; }
    .estado-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--border); }
    .estado-row:last-child { border: none; }
    .estado-row-label { font-size: .875rem; color: var(--stone); }
    .estado-row-val { font-size: .875rem; font-weight: 600; display: flex; align-items: center; gap: 6px; }
    .confidence-bar {
      background: var(--surface); border-radius: 50px; height: 8px;
      overflow: hidden; margin-top: 8px;
    }
    .confidence-fill { height: 100%; border-radius: 50px; background: var(--ok); }
    .meteo-row { display: flex; gap: 12px; flex-wrap: wrap; }
    .meteo-day { flex: 1 1 60px; text-align: center; padding: 12px 8px; background: var(--mist); border-radius: var(--r); }
    .meteo-day .meteo-icon { font-size: 1.5rem; margin-bottom: 4px; }
    .meteo-day .meteo-label { font-size: .72rem; color: var(--stone); }
    .meteo-day .meteo-temp { font-size: .82rem; font-weight: 600; font-family: var(--ff-display); }
    .elev-chart {
      background: var(--mist); border-radius: var(--r); height: 80px;
      position: relative; overflow: hidden; margin-top: 8px;
    }
    .elev-path {
      position: absolute; inset: 0;
      background: linear-gradient(180deg, transparent 20%, rgba(61,122,86,.2) 20%);
    }






    .elev-line {
      position: absolute; bottom: 0; left: 0; right: 0; height: 60px;
      background: linear-gradient(90deg,
        transparent 0%, transparent 10%,
        rgba(61,122,86,.4) 10%, rgba(61,122,86,.4) 10%
      );
      clip-path: polygon(0% 90%, 15% 60%, 30% 40%, 50% 20%, 65% 30%, 80% 10%, 100% 25%, 100% 100%, 0% 100%);
      background: rgba(61,122,86,.35);
    }
    .elev-line2 {
      position: absolute; bottom: 0; left: 0; right: 0; height: 60px;
      background: linear-gradient(90deg,
        transparent 0%, transparent 10%,
        rgba(61,122,86,.4) 10%, rgba(61,122,86,.4) 10%
      );
      clip-path: polygon(0% 0%, 40% 30%, 100% 50%, 100% 100%, 0% 100%);
      background: rgba(61,122,86,.35);
    }
    .elev-line3 {
      position: absolute; bottom: 0; left: 0; right: 0; height: 60px;
      background: linear-gradient(90deg,
        transparent 0%, transparent 10%,
        rgba(61,122,86,.4) 10%, rgba(61,122,86,.4) 10%
      );
      clip-path: polygon(0% 50%, 15% 40%, 30% 30%, 40% 20%, 45% 30%, 80% 30%, 100% 25%, 100% 100%, 0% 100%);
      background: rgba(61,122,86,.35);
    }
    .elev-line4 {
      position: absolute; bottom: 0; left: 0; right: 0; height: 60px;
      background: linear-gradient(90deg,
        transparent 0%, transparent 10%,
        rgba(61,122,86,.4) 10%, rgba(61,122,86,.4) 10%
      );
      clip-path: polygon(0% 70%, 15% 60%, 30% 40%, 50% 20%, 65% 30%, 80% 10%, 100% 25%, 100% 100%, 0% 100%);
      background: rgba(61,122,86,.35);
    }
    .elev-line5 {
      position: absolute; bottom: 0; left: 0; right: 0; height: 60px;
      background: linear-gradient(90deg,
        transparent 0%, transparent 10%,
        rgba(61,122,86,.4) 10%, rgba(61,122,86,.4) 10%
      );
      clip-path: polygon(0% 20%, 15% 50%, 30% 40%, 50% 20%, 65% 30%, 80% 10%, 100% 25%, 100% 100%, 0% 100%);
      background: rgba(61,122,86,.35);
    }
    .elev-line6 {
      position: absolute; bottom: 0; left: 0; right: 0; height: 60px;
      background: linear-gradient(90deg,
        transparent 0%, transparent 10%,
        rgba(61,122,86,.4) 10%, rgba(61,122,86,.4) 10%
      );
      clip-path: polygon(0% 0%, 25% 50%, 40% 50%, 50% 20%, 65% 30%, 80% 10%, 100% 25%, 100% 100%, 0% 100%);
      background: rgba(61,122,86,.35);
    }











    .elev-line-stroke {
      position: absolute; bottom: 0; left: 0; right: 0; height: 60px;
      border-top: 2px solid var(--meadow);
      clip-path: polygon(0% 90%, 15% 60%, 30% 40%, 50% 20%, 65% 30%, 80% 10%, 100% 25%, 100% 101%, 0% 101%);
    }
    .comments-list { display: flex; flex-direction: column; gap: 16px; }
    .comment-item {
      background: var(--white); border-radius: var(--r);
      padding: 16px; box-shadow: var(--shadow);
    }
    .comment-header { display: flex; justify-content: space-between; margin-bottom: 8px; align-items: center; flex-wrap: wrap; gap: 8px; }
    .comment-author { font-family: var(--ff-display); font-weight: 700; font-size: .9rem; display: flex; align-items: center; gap: 8px; }
    .comment-avatar { width: 28px; height: 28px; border-radius: 50%; background: var(--forest); display: flex; align-items: center; justify-content: center; font-size: .8rem; color: var(--white); }
    .comment-date { font-size: .75rem; color: var(--stone); }
    .comment-text { font-size: .875rem; color: var(--pine); line-height: 1.55; }
    .comment-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
    .ctag { background: var(--surface); padding: 2px 8px; border-radius: 50px; font-size: .72rem; color: var(--stone); }

    /* ─── MAPAS PAGE ─────────────────────────────────── */
    .mapas-layout { display: flex; gap: 0; min-height: 600px; }
    .mapas-panel {
      width: 320px; flex-shrink: 0;
      background: var(--white); border-right: 1px solid var(--border);
      overflow-y: auto; display: flex; flex-direction: column;
    }
    .mapas-map { flex: 1; position: relative; }
    .incident-list { display: flex; flex-direction: column; gap: 1px; }
    .incident-item {
      display: flex; align-items: flex-start; gap: 12px;
      padding: 14px 16px; border-bottom: 1px solid var(--border);
      cursor: pointer; transition: background var(--trans);
    }
    .incident-item:hover { background: var(--mist); }
    .incident-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; margin-top: 5px; }
    .incident-info strong { font-size: .875rem; font-weight: 700; display: block; margin-bottom: 2px; }
    .incident-info p { font-size: .78rem; color: var(--stone); }
    .incident-time { font-size: .72rem; color: var(--stone); margin-left: auto; flex-shrink: 0; }
    .selected-ruta-panel {
      border-top: 1px solid var(--border); padding: 20px;
      background: var(--pine); color: var(--white); flex-shrink: 0;
    }
    .selected-ruta-panel h4 { font-family: var(--ff-display); font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
    .selected-meta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
    .selected-meta-item { font-size: .8rem; color: rgba(255,255,255,.65); }

    /* ─── CONTACT PAGE ───────────────────────────────── */
    .contact-layout { display: flex; gap: 48px; flex-wrap: wrap; }
    .contact-col { flex: 1 1 320px; }
    .contact-info-card {
      display: flex; align-items: flex-start; gap: 14px;
      padding: 18px; background: var(--white);
      border-radius: var(--r); margin-bottom: 14px;
      box-shadow: var(--shadow);
    }
    .contact-info-icon { font-size: 1.4rem; flex-shrink: 0; }
    .contact-info-card h4 { font-weight: 600; margin-bottom: 2px; font-family: var(--ff-display); }
    .contact-info-card p { font-size: .875rem; color: var(--stone); }
    .form-group { margin-bottom: 18px; }
    .form-group label { display: block; font-size: .82rem; font-weight: 600; margin-bottom: 6px; color: var(--pine); }
    .form-group input, .form-group select, .form-group textarea {
      width: 100%; padding: 11px 14px;
      border: 1.5px solid var(--border); border-radius: var(--r);
      font-family: var(--ff-body); font-size: .9rem; color: var(--pine);
      background: var(--white); transition: border-color var(--trans);
    }
    .form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--amber); }
    .form-group textarea { resize: vertical; min-height: 110px; }
    .faq-list { display: flex; flex-direction: column; }
    .faq-item { border-bottom: 1px solid var(--border); }
    .faq-q {
      display: flex; justify-content: space-between; align-items: center;
      padding: 16px 0; cursor: pointer; font-weight: 500;
      font-family: var(--ff-display);
      transition: color var(--trans);
    }
    .faq-q:hover { color: var(--meadow); }
    .faq-q .arr { transition: transform var(--trans); }
    .faq-item.open .faq-q .arr { transform: rotate(180deg); }
    .faq-a { display: none; padding-bottom: 16px; font-size: .875rem; color: var(--stone); line-height: 1.6; }
    .faq-item.open .faq-a { display: block; }

    /* ─── INCIDENCE FORM ─────────────────────────────── */
    .incidence-box {
      background: var(--pine); border-radius: var(--r-lg);
      padding: 28px; color: var(--white); margin-bottom: 24px;
    }
    .incidence-box h3 { font-family: var(--ff-display); font-weight: 700; font-size: 1.1rem; margin-bottom: 6px; }
    .incidence-box p { color: rgba(255,255,255,.65); font-size: .875rem; margin-bottom: 20px; }
    .incidence-box .form-group label { color: rgba(255,255,255,.8); }
    .incidence-box .form-group input,
    .incidence-box .form-group select,
    .incidence-box .form-group textarea {
      background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); color: var(--white);
    }

    /* ─── CTA BAND ───────────────────────────────────── */
    .cta-band {
      background: linear-gradient(135deg, var(--pine) 0%, var(--earth) 100%);
      padding: 72px 5vw; text-align: center;
    }
    .cta-band h2 { font-family: var(--ff-display); font-size: clamp(1.6rem,3vw,2.4rem); color: var(--white); margin-bottom: 14px; font-weight: 700; }
    .cta-band p { color: rgba(255,255,255,.65); margin-bottom: 32px; font-size: 1rem; }
    .cta-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

    /* ─── FOOTER ─────────────────────────────────────── */
    footer { background: var(--earth); color: rgba(255,255,255,.6); padding: 52px 5vw 28px; }
    .footer-top { display: flex; gap: 48px; flex-wrap: wrap; margin-bottom: 40px; }
    .footer-col { flex: 1 1 160px; }
    .footer-brand { flex: 2 1 240px; }
    .footer-brand .logo { margin-bottom: 12px; }
    .footer-brand p { font-size: .875rem; line-height: 1.65; }
    .footer-col h4 { font-family: var(--ff-display); font-weight: 700; font-size: .9rem; color: var(--white); margin-bottom: 16px; }
    .footer-col ul li { margin-bottom: 8px; }
    .footer-col ul li a { font-size: .85rem; cursor: pointer; transition: color var(--trans); }
    .footer-col ul li a:hover { color: var(--amber); }
    .footer-bottom {
      border-top: 1px solid rgba(255,255,255,.08);
      padding-top: 24px; display: flex;
      justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
    }
    .footer-bottom p { font-size: .78rem; }
    .footer-legal { display: flex; gap: 16px; }
    .footer-legal a { font-size: .78rem; cursor: pointer; transition: color var(--trans); }
    .footer-legal a:hover { color: var(--amber); }

    /* ─── RESPONSIVE ─────────────────────────────────── */
    @media (max-width: 768px) {
      .menu-toggle { display: flex; }
      nav {
        display: flex; flex-direction: column; align-items: stretch; gap: 0;
        position: fixed; top: 64px; left: 0; right: 0; z-index: 99;
        background: var(--pine);
        max-height: 0; overflow: hidden;
        box-shadow: var(--shadow-lg);
        transition: max-height var(--trans);
      }
      nav.nav-open { max-height: 60vh; overflow-y: auto; }
      nav a {
        padding: 16px 5vw; border-radius: 0;
        border-bottom: 1px solid rgba(255,255,255,.08);
      }
      nav a:hover, nav a.nav-active { background: rgba(255,255,255,.08); }
      .hero { min-height: 70vh; }
      .how-steps { flex-wrap: wrap; }
      .how-step { flex: 1 1 100%; padding: 0; margin-bottom: 20px; }
      .how-step::after { display: none; }
      .mapas-layout { flex-direction: column; }
      .mapas-panel { width: 100%; height: 280px; }
      .trust-numbers { border-top: 1px solid var(--border); }
      .trust-num { border-right: none; border-bottom: 1px solid var(--border); }
      .sec { padding: 52px 5vw; }
    }
  