    /* ─── TOKENS (de theme.ts) ─── */
    :root {
      --page-bg:        #F5F0E8;
      --card-bg:        #FFFFFF;
      --accent:         #7DB87A;
      --accent-soft:    #D8F0C0;
      --accent-dark:    #5A9E57;
      --text-primary:   #1A1A0E;
      --text-secondary: #6A6A5A;
      --text-tertiary:  #A0A090;
      --border:         rgba(44,26,8,0.08);
      --border-strong:  rgba(44,26,8,0.14);
      --border-subtle:  rgba(44,26,8,0.06);

      /* niveles polen */
      --level-bajo:     #7DB87A;
      --level-medio:    #C8A820;
      --level-alto:     #C84030;
      --level-muy-alto: #A01820;
      --level-bajo-bg:  #D8EECF;
      --level-medio-bg: #F8ECC8;
      --level-alto-bg:  #F8D8D4;

      /* insights chart - de InsightsChartTokens */
      --insight-pollen: #C86050;
      --insight-user:   #7DB87A;
      --band-fatal:     rgba(200,64,48,0.10);
      --band-mal:       rgba(200,96,80,0.08);
      --band-regular:   rgba(200,168,32,0.08);
      --band-bien:      rgba(125,184,122,0.08);

      --serif: 'DM Serif Display', Georgia, serif;
      --sans:  'DM Sans', system-ui, sans-serif;
      --shadow-card: 0 1px 3px rgba(44,26,8,0.06), 0 1px 2px rgba(44,26,8,0.04);
      --shadow-elevated: 0 4px 20px rgba(44,26,8,0.10), 0 1px 4px rgba(44,26,8,0.06);
    }

    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; }
    body {
      font-family: var(--sans);
      background: var(--page-bg);
      color: var(--text-primary);
      -webkit-font-smoothing: antialiased;
      overflow-x: hidden;
    }

    .eyebrow {
      font-size: 11px;
      font-weight: 600;
      letter-spacing: 1px;
      text-transform: uppercase;
      color: var(--text-secondary);
    }

    /* ─── NAV ─── */
    nav {
      position: fixed; top: 0; left: 0; right: 0; z-index: 100;
      display: flex; align-items: center; justify-content: space-between;
      padding: 0 32px; height: 64px;
      background: rgba(245,240,232,0.88);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      border-bottom: 1px solid var(--border);
    }
    .nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
    .nav-logo-icon {
      width: 32px; height: 32px; border-radius: 8px; overflow: hidden; flex-shrink: 0;
      background: transparent; display: flex; align-items: center; justify-content: center;
    }
    .nav-logo-icon img { width: 100%; height: 100%; object-fit: contain; }
    .nav-logo-text { font-family: var(--serif); font-size: 18px; color: var(--text-primary); }
    .nav-logo-text .hoy { color: var(--accent-dark); }
    .nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
    .nav-links a { font-size: 14px; color: var(--text-secondary); text-decoration: none; transition: color 0.2s; }
    .nav-links a:hover { color: var(--text-primary); }

    .btn {
      display: inline-flex; align-items: center; justify-content: center; gap: 6px;
      font-family: var(--sans); font-size: 14px; font-weight: 600;
      border-radius: 9999px; border: none; cursor: pointer; text-decoration: none;
      transition: all 0.2s; white-space: nowrap;
    }
    .btn-primary { background: var(--accent); color: #fff; padding: 10px 20px; }
    .btn-primary:hover { background: var(--accent-dark); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(125,184,122,0.35); }

    .btn-store {
      display: inline-flex; align-items: center; gap: 10px;
      background: var(--text-primary); color: #fff;
      border-radius: 10px; padding: 11px 18px;
      text-decoration: none; font-size: 13px; font-weight: 500;
      transition: all 0.2s; border: 1px solid rgba(255,255,255,0.12); cursor: pointer;
    }
    .btn-store svg { flex-shrink: 0; }
    .btn-store:not([aria-disabled="true"]):hover { background: #2A2A1E; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(26,26,14,0.2); }
    .btn-store[aria-disabled="true"] { cursor: default; }
    .btn-store-label { font-size: 11px; opacity: 0.7; display: block; }
    .btn-store-name { font-size: 15px; font-weight: 700; display: block; line-height: 1.1; }

    /* ─── HERO ─── */
    .hero {
      min-height: 100svh;
      display: grid;
      grid-template-columns: 1fr 1fr;
      align-items: center;
      padding: 64px 80px 0;
      gap: 64px;
      max-width: 1280px;
      margin: 0 auto;
    }
    .hero-content { padding-top: 48px; }
    .hero-eyebrow {
      display: inline-flex; align-items: center; gap: 6px;
      background: var(--accent-soft); color: var(--accent-dark);
      font-size: 12px; font-weight: 600; letter-spacing: 0.5px;
      padding: 6px 14px; border-radius: 9999px;
      margin-bottom: 24px;
    }
    .hero-eyebrow-dot {
      width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
      animation: pulse 2s ease-in-out infinite;
    }
    @keyframes pulse {
      0%, 100% { opacity: 1; transform: scale(1); }
      50% { opacity: 0.5; transform: scale(0.8); }
    }
    .hero h1 {
      font-family: var(--serif);
      font-size: clamp(42px, 5vw, 64px);
      line-height: 1.08;
      color: var(--text-primary);
      margin-bottom: 20px;
      text-wrap: pretty;
    }
    .hero h1 em { font-style: italic; color: var(--accent-dark); }
    .hero-sub {
      font-size: 17px; line-height: 1.6;
      color: var(--text-secondary);
      margin-bottom: 40px; max-width: 440px;
      text-wrap: pretty;
    }
    .hero-stores { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }
    .hero-stats { display: flex; gap: 32px; }
    .stat-item { display: flex; flex-direction: column; gap: 2px; }
    .stat-value { font-family: var(--serif); font-size: 28px; color: var(--text-primary); line-height: 1; }
    .stat-label { font-size: 12px; color: var(--text-tertiary); }

    /* ─── HERO VISUAL: phone with scrollable Home ─── */
    .hero-visual {
      position: relative;
      display: flex;
      justify-content: center;
      align-items: flex-start;
      padding-top: 48px;
    }
    .phone-shell {
      position: relative;
      width: 280px;
      flex-shrink: 0;
    }
    .phone-frame {
      width: 280px;
      height: 580px;
      background: var(--text-primary);
      border-radius: 44px;
      padding: 10px;
      box-shadow:
        0 32px 64px rgba(26,26,14,0.22),
        0 4px 16px rgba(26,26,14,0.12),
        inset 0 0 0 1px rgba(255,255,255,0.08);
      position: relative;
    }
    .phone-screen {
      width: 100%; height: 100%;
      background: var(--page-bg);
      border-radius: 36px;
      overflow: hidden;
      position: relative;
    }
    .phone-notch {
      width: 80px; height: 22px;
      background: var(--text-primary);
      border-radius: 0 0 14px 14px;
      position: absolute;
      top: 0; left: 50%;
      transform: translateX(-50%);
      z-index: 5;
    }

    /* Phone home content (no scroll) */
    .phone-scroll {
      position: absolute;
      inset: 0;
      padding-top: 28px;
      overflow: hidden;
    }
    .phone-scroll-track {
      height: 100%;
      display: flex;
      flex-direction: column;
    }

    /* Home screen sections */
    .ph-pad { padding: 0 14px; }

    /* Greeting */
    .ph-greeting {
      font-family: var(--serif);
      font-size: 22px;
      line-height: 1.05;
      color: var(--text-primary);
      margin: 0;
      letter-spacing: -0.5px;
    }

    /* Pill strip (top, white pills) */
    .ph-pill-strip {
      display: flex;
      gap: 8px;
      padding: 0 14px 12px;
      overflow: hidden;
    }
    .ph-pill2 {
      display: flex;
      align-items: center;
      gap: 8px;
      background: #FFFFFF;
      border-radius: 50px;
      padding: 5px 12px 5px 5px;
      box-shadow: 0 1px 3px rgba(26,26,14,0.06);
      flex-shrink: 0;
      min-width: 0;
    }
    .ph-pill2-circle {
      width: 26px; height: 26px;
      border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      flex-shrink: 0;
    }
    .ph-pill2-circle svg { width: 14px; height: 14px; }
    .ph-pill2-text {
      display: flex; align-items: baseline; gap: 6px;
      font-size: 11px; color: var(--text-primary);
      white-space: nowrap;
    }
    .ph-pill2-text strong { font-weight: 700; }

    /* Riesgo card (peach) */
    .ph-risk-card {
      display: flex;
      align-items: center;
      gap: 12px;
      background: #F4C8B8;
      border-radius: 18px;
      padding: 14px 14px 14px 12px;
      margin-bottom: 10px;
    }
    .ph-risk-circle {
      width: 26px; height: 26px;
      border-radius: 50%;
      background: #FBE0DA;
      display: flex; align-items: center; justify-content: center;
      flex-shrink: 0;
    }
    .ph-risk-circle svg { width: 14px; height: 14px; }
    .ph-risk-body { flex: 1; min-width: 0; }
    .ph-risk-title {
      font-family: var(--serif);
      font-weight: 700;
      font-size: 15px;
      color: #8A2818;
      line-height: 1.1;
      margin-bottom: 2px;
    }
    .ph-risk-sub {
      font-size: 11px;
      color: #B8624A;
    }
    .ph-risk-chev { width: 14px; height: 14px; flex-shrink: 0; }

    /* Mood card (light green) */
    .ph-mood-card {
      display: flex;
      align-items: center;
      gap: 12px;
      background: #DBEBC8;
      border-radius: 18px;
      padding: 14px 14px 14px 12px;
      margin-bottom: 10px;
    }
    .ph-mood-circle {
      width: 38px; height: 38px;
      border-radius: 50%;
      background: #C5DDA8;
      display: flex; align-items: center; justify-content: center;
      flex-shrink: 0;
    }
    .ph-mood-circle svg { width: 20px; height: 20px; }
    .ph-mood-body { flex: 1; min-width: 0; }
    .ph-mood-title {
      font-weight: 700;
      font-size: 13px;
      color: var(--text-primary);
      line-height: 1.2;
      margin-bottom: 2px;
    }
    .ph-mood-sub {
      font-size: 10px;
      color: #6B7A50;
    }

    /* Tip card (cream) */
    .ph-tip-card {
      background: #F4E6BE;
      border-radius: 18px;
      padding: 14px;
      margin-bottom: 10px;
    }
    .ph-tip-header {
      display: flex; align-items: center; gap: 8px;
      margin-bottom: 8px;
    }
    .ph-tip-bulb {
      width: 26px; height: 26px;
      border-radius: 50%;
      background: #F8D8A8;
      display: flex; align-items: center; justify-content: center;
      flex-shrink: 0;
    }
    .ph-tip-bulb svg { width: 14px; height: 14px; }
    .ph-tip-eyebrow {
      font-size: 12px;
      font-weight: 700;
      color: #A87C18;
    }
    .ph-tip-title {
      font-family: var(--serif);
      font-size: 14px;
      font-weight: 700;
      color: var(--text-primary);
      margin-bottom: 4px;
    }
    .ph-tip-body {
      font-size: 10px;
      color: var(--text-secondary);
      line-height: 1.45;
      margin-bottom: 10px;
    }
    .ph-tip-dots {
      display: flex; gap: 4px;
    }
    .ph-tip-dots span {
      width: 5px; height: 5px; border-radius: 50%;
      background: rgba(122, 96, 64, 0.25);
    }
    .ph-tip-dots span.active { background: #7A6040; }

    /* Air quality */
    .ph-air-card {
      background: transparent;
      padding: 4px 0 0;
    }
    .ph-air-title {
      font-family: var(--serif);
      font-size: 14px;
      font-weight: 700;
      color: var(--text-primary);
      margin-bottom: 12px;
    }
    .ph-air-bar {
      height: 7px;
      border-radius: 4px;
      background: linear-gradient(to right,
        #B8E0A8 0%, #6FB060 18%, #6FB060 30%,
        #C8B838 45%, #D89028 65%,
        #C84030 90%, #C84030 100%);
      position: relative;
      margin-bottom: 8px;
    }
    .ph-air-pin {
      position: absolute;
      top: -3px;
      width: 2px; height: 13px;
      background: var(--text-primary);
      transform: translateX(-50%);
    }
    .ph-air-pin-dot {
      position: absolute;
      bottom: -5px; left: 50%;
      transform: translateX(-50%);
      width: 6px; height: 6px;
      border-radius: 50%;
      background: var(--text-primary);
    }
    .ph-air-legend {
      display: flex; align-items: center; gap: 6px;
      font-size: 10px; color: var(--text-secondary);
    }
    .ph-air-legend strong { color: #5A9E57; font-weight: 700; }
    .ph-air-dot {
      width: 7px; height: 7px; border-radius: 50%;
      background: #5A9E57;
    }

    /* Bottom tab bar */
    .ph-tabbar {
      position: relative;
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      padding: 8px 12px 10px;
      background: var(--page-bg);
      border-top: 1px solid rgba(26,26,14,0.05);
    }
    .ph-tab {
      display: flex; flex-direction: column; align-items: center;
      gap: 2px;
      flex: 1;
      color: #D4751A;
      padding-top: 4px;
    }
    .ph-tab svg { width: 18px; height: 18px; }
    .ph-tab span { font-size: 9px; font-weight: 500; }
    .ph-tab.active { color: #B85F0E; font-weight: 700; }
    .ph-tab.active span { font-weight: 700; }
    .ph-tab-spacer { flex: 0 0 48px; }
    .ph-fab {
      position: absolute;
      top: -18px;
      left: 50%;
      transform: translateX(-50%);
      width: 46px; height: 46px;
      border-radius: 50%;
      background: #D4751A;
      display: flex; align-items: center; justify-content: center;
      box-shadow: 0 6px 16px rgba(212,117,26,0.4);
    }
    .ph-fab svg { width: 18px; height: 18px; }

    .ph-h1 {
      font-family: var(--serif);
      font-size: 26px;
      color: var(--text-primary);
      line-height: 1.1;
      margin: 4px 0 2px;
    }
    .ph-loc {
      font-size: 11px;
      color: var(--text-secondary);
      font-style: italic;
      margin-bottom: 14px;
    }
    .ph-eyebrow {
      font-size: 9px;
      font-weight: 600;
      letter-spacing: 0.8px;
      text-transform: uppercase;
      color: var(--text-tertiary);
      margin-bottom: 8px;
    }

    /* Card: nivel global */
    .ph-level-card {
      background: var(--card-bg);
      border-radius: 14px;
      padding: 14px;
      box-shadow: var(--shadow-card);
      margin-bottom: 14px;
    }
    .ph-level-main {
      display: flex; align-items: center; justify-content: space-between;
      margin-bottom: 10px;
    }
    .ph-level-badge { display: flex; align-items: center; gap: 8px; }
    .ph-level-dot {
      width: 12px; height: 12px; border-radius: 50%;
      background: var(--level-medio);
    }
    .ph-level-text {
      font-family: var(--serif);
      font-size: 19px;
      color: var(--text-primary);
    }
    .ph-level-value { text-align: right; }
    .ph-level-num { font-size: 14px; font-weight: 700; color: var(--text-primary); line-height: 1; }
    .ph-level-units { font-size: 9px; color: var(--text-secondary); margin-top: 2px; }

    /* AQI segmented bar */
    .ph-aqi-bar {
      display: flex; gap: 3px;
      height: 6px;
    }
    .ph-aqi-seg {
      flex: 1;
      border-radius: 3px;
      background: rgba(0,0,0,0.06);
    }
    .ph-aqi-seg.active-1 { background: var(--level-bajo); }
    .ph-aqi-seg.active-2 { background: var(--level-medio); }
    .ph-aqi-seg.active-3 { background: var(--level-alto); }
    .ph-aqi-seg.active-4 { background: var(--level-muy-alto); }

    /* Allergen pills carousel — REAL app style */
    .ph-pill-row {
      display: flex; gap: 8px;
      margin-bottom: 16px;
      overflow: hidden;
    }
    .ph-pill {
      display: flex; align-items: center; gap: 8px;
      background: var(--card-bg);
      border-radius: 50px;
      padding: 6px 12px 6px 6px;
      box-shadow: var(--shadow-card);
      flex-shrink: 0;
      min-width: 110px;
      border: 1px solid transparent;
    }
    .ph-pill.mine-medio { border-color: var(--level-medio); }
    .ph-pill.mine-alto { border-color: var(--level-alto); }
    .ph-pill-circle {
      width: 28px; height: 28px;
      border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      flex-shrink: 0;
    }
    .ph-pill-name { font-size: 11px; font-weight: 600; color: var(--text-primary); line-height: 1.1; }
    .ph-pill-level { font-size: 9px; color: var(--text-secondary); margin-top: 1px; }

    /* Daily advice card */
    .ph-advice {
      background: var(--card-bg);
      border-radius: 14px;
      padding: 12px 14px;
      box-shadow: var(--shadow-card);
      border-left: 3px solid var(--insight-pollen);
      margin-bottom: 14px;
    }
    .ph-advice-label {
      font-size: 9px; font-weight: 700; letter-spacing: 0.5px;
      text-transform: uppercase; color: var(--insight-pollen);
      margin-bottom: 4px;
    }
    .ph-advice-text { font-size: 11px; color: var(--text-secondary); line-height: 1.5; }

    /* AQI/clima */
    .ph-aqi-card {
      background: var(--card-bg);
      border-radius: 14px;
      padding: 14px;
      box-shadow: var(--shadow-card);
      margin-bottom: 14px;
    }
    .ph-aqi-row {
      display: flex; align-items: center; justify-content: space-between;
      margin-bottom: 10px;
    }
    .ph-aqi-title { font-family: var(--serif); font-size: 15px; color: var(--text-primary); }
    .ph-aqi-temp { font-size: 11px; color: var(--text-secondary); }
    .ph-aqi-value {
      display: flex; align-items: baseline; gap: 6px;
      margin-bottom: 8px;
    }
    .ph-aqi-num { font-family: var(--serif); font-size: 22px; color: var(--text-primary); line-height: 1; }
    .ph-aqi-label { font-size: 11px; color: var(--accent-dark); font-weight: 600; }

    /* 12 slots horarios */
    .ph-hours-card {
      background: var(--card-bg);
      border-radius: 14px;
      padding: 14px;
      box-shadow: var(--shadow-card);
      margin-bottom: 14px;
    }
    .ph-hours-grid {
      display: flex; gap: 3px; align-items: flex-end; height: 50px;
    }
    .ph-hour-bar {
      flex: 1;
      border-radius: 2px 2px 0 0;
      transition: height 0.3s;
    }
    .ph-hours-x {
      display: flex; justify-content: space-between;
      font-size: 8px; color: var(--text-tertiary);
      margin-top: 4px;
    }
    .ph-hours-tip {
      font-size: 10px;
      color: var(--accent-dark);
      font-weight: 600;
      margin-top: 8px;
      display: flex; align-items: center; gap: 4px;
    }

    /* Seasonal preview mini */
    .ph-seasonal-card {
      background: var(--card-bg);
      border-radius: 14px;
      padding: 14px;
      box-shadow: var(--shadow-card);
      margin-bottom: 14px;
    }
    .ph-seasonal-title { font-family: var(--serif); font-size: 15px; color: var(--text-primary); margin-bottom: 10px; }
    .ph-seasonal-row {
      display: flex; align-items: center; gap: 8px;
      margin-bottom: 6px;
    }
    .ph-seasonal-label { font-size: 9px; color: var(--text-secondary); width: 50px; }
    .ph-seasonal-bar {
      flex: 1; height: 7px; border-radius: 3px;
      background: var(--page-bg);
      position: relative; overflow: hidden;
    }
    .ph-seasonal-fill {
      position: absolute; top: 0; height: 100%;
      border-radius: 3px;
    }

    /* Floating cards */
    .float-card {
      position: absolute;
      background: var(--card-bg);
      border-radius: 16px;
      padding: 12px 16px;
      box-shadow: var(--shadow-elevated);
      border: 1px solid var(--border);
      z-index: 10;
    }
    .float-card-left {
      left: -76px; top: 100px;
      width: 130px;
      animation: float-left 4s ease-in-out infinite;
    }
    .float-card-right {
      right: -68px; top: 220px;
      width: 116px;
      animation: float-right 4.5s ease-in-out infinite;
    }
    .float-card-bottom {
      right: -60px; bottom: 80px;
      width: 110px;
      animation: float-left 5s ease-in-out infinite 0.5s;
    }
    @keyframes float-left { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
    @keyframes float-right { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }
    .float-label {
      font-size: 9px; color: var(--text-tertiary);
      margin-bottom: 4px; text-transform: uppercase;
      letter-spacing: 0.5px; font-weight: 600;
    }
    .float-value {
      font-family: var(--serif); font-size: 18px;
      color: var(--text-primary); line-height: 1;
    }
    .float-sub { font-size: 9px; color: var(--text-secondary); margin-top: 2px; }
    .float-streak { display: flex; gap: 3px; flex-wrap: wrap; width: 80px; }
    .streak-dot { width: 12px; height: 12px; border-radius: 3px; }

    /* Scroll hint */
    .scroll-hint {
      position: absolute; bottom: 32px; left: 50%;
      transform: translateX(-50%);
      display: flex; flex-direction: column; align-items: center; gap: 6px;
      opacity: 0.4;
      animation: fade-up 2.5s ease-in-out infinite;
    }
    .scroll-hint span { font-size: 10px; letter-spacing: 1px; text-transform: uppercase; color: var(--text-secondary); }
    .scroll-arrow { width: 1px; height: 32px; background: linear-gradient(to bottom, var(--text-secondary), transparent); }
    @keyframes fade-up {
      0%, 100% { opacity: 0.4; transform: translateX(-50%) translateY(0); }
      50% { opacity: 0.7; transform: translateX(-50%) translateY(4px); }
    }

    /* ─── SECTIONS ─── */
    .section {
      max-width: 1280px;
      margin: 0 auto;
      padding: 120px 80px;
    }
    .section-header { text-align: center; margin-bottom: 64px; }
    .section-header h2 {
      font-family: var(--serif);
      font-size: clamp(32px, 3.5vw, 48px);
      line-height: 1.1;
      margin-top: 12px; margin-bottom: 16px;
      text-wrap: pretty;
    }
    .section-header p {
      font-size: 16px; color: var(--text-secondary);
      max-width: 480px; margin: 0 auto;
      line-height: 1.6; text-wrap: pretty;
    }

    /* Features grid */
    .features-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 16px;
    }
    .feature-card {
      background: var(--card-bg);
      border-radius: 20px;
      padding: 28px;
      border: 1px solid var(--border);
      position: relative; overflow: hidden;
    }
    .feature-icon {
      width: 48px; height: 48px;
      border-radius: 12px;
      display: flex; align-items: center; justify-content: center;
      margin-bottom: 20px;
      position: relative;
    }
    .feature-icon svg { width: 24px; height: 24px; }
    .feature-card h3 {
      font-size: 17px; font-weight: 600;
      margin-bottom: 8px; color: var(--text-primary);
    }
    .feature-card p {
      font-size: 14px; line-height: 1.6;
      color: var(--text-secondary);
      text-wrap: pretty;
    }
    .feature-card-wide { grid-column: span 2; }
    .hourly-split {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 32px;
      align-items: center;
    }
    .hourly-chart { display: flex; flex-direction: column; gap: 6px; }

    /* ─── ALLERGENS — REAL APP PILLS ─── */
    .allergens-section {
      background: var(--text-primary);
      padding: 120px 0;
      overflow: hidden;
    }
    .allergens-inner {
      max-width: 1280px;
      margin: 0 auto;
      padding: 0 80px;
    }
    .allergens-inner .section-header h2 { color: #fff; }
    .allergens-inner .section-header p,
    .allergens-inner .section-header .eyebrow { color: rgba(255,255,255,0.55); }

    .allergens-track {
      display: flex; gap: 12px;
      margin-top: 48px;
      animation: scroll-track 30s linear infinite;
      width: max-content;
    }
    .allergens-track:hover { animation-play-state: paused; }
    @keyframes scroll-track {
      0% { transform: translateX(0); }
      100% { transform: translateX(-50%); }
    }

    /* App-style pill on dark bg */
    .app-pill {
      display: inline-flex; align-items: center; gap: 10px;
      background: var(--card-bg);
      border-radius: 50px;
      padding: 8px 16px 8px 8px;
      box-shadow: 0 2px 8px rgba(0,0,0,0.15);
      flex-shrink: 0;
      min-width: 130px;
      border: 1.5px solid transparent;
      position: relative;
    }
    .app-pill.is-mine { padding-right: 22px; }
    .app-pill.mine-bajo { border-color: var(--level-bajo); }
    .app-pill.mine-medio { border-color: var(--level-medio); }
    .app-pill.mine-alto { border-color: var(--level-alto); }
    .app-pill-circle {
      width: 36px; height: 36px;
      border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      flex-shrink: 0;
    }
    .app-pill-text { display: flex; flex-direction: column; gap: 1px; }
    .app-pill-name { font-size: 13px; font-weight: 600; color: var(--text-primary); line-height: 1.1; }
    .app-pill-level { font-size: 10px; color: var(--text-secondary); }
    .app-pill-mine-badge {
      position: absolute;
      top: -6px; right: 8px;
      font-size: 8px; font-weight: 700;
      letter-spacing: 0.5px; text-transform: uppercase;
      padding: 2px 6px; border-radius: 9999px;
      background: var(--accent); color: #fff;
      box-shadow: 0 2px 6px rgba(0,0,0,0.2);
      white-space: nowrap;
    }

    /* ─── INSIGHTS / PATTERNS SECTION ─── */
    .insights-section {
      padding: 120px 0;
      background: linear-gradient(180deg, var(--page-bg) 0%, #EDE8DE 100%);
    }
    .insights-inner {
      max-width: 1280px;
      margin: 0 auto;
      padding: 0 80px;
      display: grid;
      grid-template-columns: 1fr 1.1fr;
      gap: 80px;
      align-items: center;
    }
    .insights-content h2 {
      font-family: var(--serif);
      font-size: clamp(32px, 3vw, 44px);
      line-height: 1.1;
      margin: 12px 0 20px;
      text-wrap: pretty;
    }
    .insights-content p {
      font-size: 16px; line-height: 1.7;
      color: var(--text-secondary);
      margin-bottom: 32px;
      text-wrap: pretty;
    }
    .insights-features {
      display: flex; flex-direction: column; gap: 14px;
    }
    .insights-feature {
      display: flex; align-items: flex-start; gap: 12px;
    }
    .insights-feature-icon {
      width: 32px; height: 32px;
      border-radius: 8px;
      background: var(--accent-soft);
      display: flex; align-items: center; justify-content: center;
      flex-shrink: 0; margin-top: 1px;
    }
    .insights-feature-icon svg { width: 16px; height: 16px; }
    .insights-feature-text strong {
      font-size: 14px; font-weight: 600;
      color: var(--text-primary);
      display: block; margin-bottom: 2px;
    }
    .insights-feature-text span {
      font-size: 13px; color: var(--text-secondary);
      line-height: 1.5;
    }

    /* InsightsGraph card — REAL app style */
    .insights-card {
      background: var(--card-bg);
      border-radius: 24px;
      padding: 24px;
      box-shadow: var(--shadow-elevated);
      border: 1px solid var(--border);
    }
    .insights-card-header {
      display: flex; align-items: center; justify-content: space-between;
      gap: 12px;
      margin-bottom: 6px;
      flex-wrap: wrap;
    }
    .insights-card-title {
      font-family: var(--serif);
      font-size: 20px; color: var(--text-primary);
      white-space: nowrap;
    }
    .insights-tabs {
      display: flex; gap: 4px;
      background: var(--page-bg);
      border-radius: 9999px;
      padding: 3px;
    }
    .insights-tab {
      font-size: 11px; font-weight: 600;
      padding: 5px 10px;
      border-radius: 9999px;
      background: transparent; border: none; cursor: default;
      color: var(--text-secondary);
      white-space: nowrap;
    }
    .insights-tab.active {
      background: var(--card-bg);
      color: var(--text-primary);
      box-shadow: var(--shadow-card);
    }
    .insights-card-sub {
      font-size: 12px; color: var(--text-tertiary);
      margin-bottom: 18px;
    }

    /* Filter chips (selector de alérgenos, como en la app) */
    .insights-filter-row {
      display: flex; flex-wrap: wrap; gap: 6px;
      margin-bottom: 18px;
    }
    .insights-filter {
      display: inline-flex; align-items: center; gap: 6px;
      background: var(--accent-soft);
      color: var(--accent-dark);
      padding: 4px 10px;
      border-radius: 9999px;
      font-size: 11px; font-weight: 600;
    }
    .insights-filter-off {
      background: var(--page-bg);
      color: var(--text-secondary);
    }

    /* Chart container with bands */
    .insights-chart-wrap {
      position: relative;
      height: 200px;
      margin-bottom: 14px;
      border-radius: 10px;
      overflow: hidden;
    }
    .insights-bands {
      position: absolute; inset: 0;
      display: flex; flex-direction: column;
    }
    .insights-band {
      flex: 1;
      position: relative;
    }
    .insights-band-1 { background: var(--band-fatal); }
    .insights-band-2 { background: var(--band-mal); }
    .insights-band-3 { background: var(--band-regular); }
    .insights-band-4 { background: var(--band-bien); }
    .insights-band-label {
      position: absolute;
      left: 8px; top: 4px;
      font-size: 9px; font-weight: 700;
      letter-spacing: 0.5px;
      text-transform: uppercase;
      opacity: 0.55;
    }
    .insights-band-1 .insights-band-label { color: var(--level-alto); }
    .insights-band-2 .insights-band-label { color: var(--insight-pollen); }
    .insights-band-3 .insights-band-label { color: #A87C18; }
    .insights-band-4 .insights-band-label { color: var(--accent-dark); }

    .insights-chart-svg {
      position: absolute; inset: 0;
      width: 100%; height: 100%;
    }

    /* Scanner band (hover) */
    .insights-scanner {
      position: absolute;
      top: 0; bottom: 0;
      width: 32px;
      left: 58%;
      background: rgba(26,26,14,0.04);
      border-left: 1px dashed rgba(26,26,14,0.18);
      border-right: 1px dashed rgba(26,26,14,0.18);
      pointer-events: none;
    }
    .insights-scanner-label {
      position: absolute;
      top: 6px; left: 50%;
      transform: translateX(-50%);
      background: var(--text-primary);
      color: #fff;
      font-size: 10px; font-weight: 600;
      padding: 3px 8px; border-radius: 6px;
      white-space: nowrap;
    }

    /* X axis */
    .insights-x-axis {
      display: flex; justify-content: space-between;
      font-size: 10px; color: var(--text-tertiary);
      margin-bottom: 14px;
      padding: 0 4px;
    }

    /* Legend */
    .insights-legend {
      display: flex; gap: 16px;
      padding-top: 14px;
      border-top: 1px solid var(--border-subtle);
      margin-bottom: 14px;
    }
    .insights-legend-item {
      display: flex; align-items: center; gap: 6px;
      font-size: 11px; color: var(--text-secondary);
    }
    .insights-legend-line {
      width: 16px; height: 2px;
      border-radius: 2px;
    }
    .insights-legend-line.insights-legend-dashed {
      background: transparent;
      border-top: 2px dashed currentColor;
      border-radius: 0;
      height: 0;
    }

    /* Detail panel */
    .insights-detail {
      background: var(--page-bg);
      border-radius: 14px;
      padding: 14px;
    }
    .insights-detail-date {
      font-size: 11px; font-weight: 600;
      color: var(--text-tertiary);
      letter-spacing: 0.5px;
      text-transform: uppercase;
      margin-bottom: 10px;
    }
    .insights-detail-cells {
      display: grid; grid-template-columns: 1fr 1fr;
      gap: 12px; margin-bottom: 12px;
    }
    .insights-cell {
      background: var(--card-bg);
      border-radius: 10px;
      padding: 10px 12px;
    }
    .insights-cell-label {
      font-size: 9px; font-weight: 600;
      letter-spacing: 0.5px; text-transform: uppercase;
      color: var(--text-tertiary);
      margin-bottom: 4px;
    }
    .insights-cell-value {
      display: flex; align-items: baseline; gap: 4px;
    }
    .insights-cell-num {
      font-family: var(--serif);
      font-size: 22px;
      line-height: 1;
    }
    .insights-cell-unit {
      font-size: 10px; color: var(--text-secondary);
    }
    .insights-cell-num.pollen { color: var(--insight-pollen); }
    .insights-cell-num.user { color: var(--insight-user); }

    .insights-chips {
      display: flex; flex-wrap: wrap; gap: 4px;
      margin-bottom: 12px;
    }
    .insights-chip {
      font-size: 10px;
      padding: 3px 9px;
      border-radius: 9999px;
      background: var(--accent-soft);
      color: var(--accent-dark);
      font-weight: 600;
    }

    .insights-correlation {
      background: var(--card-bg);
      border-radius: 10px;
      padding: 10px 12px;
      border-left: 3px solid var(--insight-pollen);
    }
    .insights-correlation-label {
      font-size: 9px; font-weight: 700;
      letter-spacing: 0.5px;
      text-transform: uppercase;
      color: var(--insight-pollen);
      margin-bottom: 4px;
    }
    .insights-correlation-text {
      font-size: 12px;
      color: var(--text-secondary);
      line-height: 1.5;
    }

    /* ─── SEASONAL ─── */
    .seasonal-section {
      max-width: 1280px;
      margin: 0 auto;
      padding: 120px 80px;
    }
    .seasonal-card {
      background: var(--card-bg);
      border-radius: 24px;
      padding: 40px 48px;
      border: 1px solid var(--border);
      box-shadow: var(--shadow-card);
    }
    .seasonal-header {
      display: flex; align-items: center; justify-content: space-between;
      margin-bottom: 32px;
    }
    .seasonal-header h2 { font-family: var(--serif); font-size: 28px; color: var(--text-primary); }
    .seasonal-legend { display: flex; gap: 16px; }
    .legend-item { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-secondary); }
    .legend-dot { width: 8px; height: 8px; border-radius: 50%; }
    .seasonal-chart { display: flex; flex-direction: column; gap: 10px; }
    .seasonal-row { display: flex; align-items: center; gap: 12px; }
    .seasonal-row-label {
      font-size: 12px; font-weight: 500;
      color: var(--text-secondary);
      width: 90px; flex-shrink: 0; text-align: right;
    }
    .seasonal-row-track { flex: 1; display: flex; height: 20px; }
    .seasonal-month { flex: 1; }
    .seasonal-bar { height: 20px; border-radius: 3px; }
    .seasonal-months-header { display: flex; align-items: center; gap: 12px; margin-bottom: 4px; }
    .seasonal-months-header-space { width: 90px; flex-shrink: 0; }
    .seasonal-months-labels { flex: 1; display: flex; }
    .seasonal-month-label { flex: 1; font-size: 10px; color: var(--text-tertiary); text-align: center; }

    /* ─── PROVINCES ─── */
    .provinces-section {
      max-width: 1280px;
      margin: 0 auto;
      padding: 0 80px 120px;
    }
    .provinces-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
      gap: 8px;
      margin-top: 48px;
    }
    .province-card {
      background: var(--card-bg);
      border: 1px solid var(--border);
      border-radius: 12px;
      padding: 12px 14px;
      display: flex; align-items: center; justify-content: space-between;
    }
    .province-name { font-size: 13px; font-weight: 500; color: var(--text-primary); }
    .province-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }

    /* ─── CTA ─── */
    .cta-section {
      background: var(--accent);
      padding: 100px 80px;
      text-align: center;
      position: relative; overflow: hidden;
    }
    .cta-section::before {
      content: ''; position: absolute;
      top: -100px; right: -100px;
      width: 400px; height: 400px;
      border-radius: 50%;
      background: rgba(255,255,255,0.08);
      pointer-events: none;
    }
    .cta-section::after {
      content: ''; position: absolute;
      bottom: -80px; left: -60px;
      width: 300px; height: 300px;
      border-radius: 50%;
      background: rgba(255,255,255,0.06);
      pointer-events: none;
    }
    .cta-inner { position: relative; z-index: 1; max-width: 560px; margin: 0 auto; }
    .cta-inner .eyebrow { color: rgba(255,255,255,0.7); }
    .cta-inner h2 {
      font-family: var(--serif);
      font-size: clamp(32px, 4vw, 52px);
      color: #fff; line-height: 1.1;
      margin: 12px 0 20px;
      text-wrap: pretty;
    }
    .cta-inner p {
      font-size: 16px; color: rgba(255,255,255,0.75);
      margin-bottom: 40px; line-height: 1.6;
      text-wrap: pretty;
    }
    .cta-stores { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
    .btn-store-light {
      background: rgba(255,255,255,0.15);
      border: 1px solid rgba(255,255,255,0.3);
      color: #fff;
    }
    .btn-store-light:not([aria-disabled="true"]):hover { background: rgba(255,255,255,0.25); }
    .btn-store-white { background: #fff; color: var(--text-primary); }
    .btn-store-white:not([aria-disabled="true"]):hover { background: rgba(255,255,255,0.92); }

    /* ─── FOOTER ─── */
    footer {
      background: var(--text-primary);
      padding: 48px 80px;
      display: flex; align-items: center; justify-content: space-between;
    }
    .footer-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
    .footer-logo-text { font-family: var(--serif); font-size: 16px; color: rgba(255,255,255,0.9); }
    .footer-logo-text .hoy { color: var(--accent); }
    .footer-links { display: flex; gap: 32px; list-style: none; }
    .footer-links a {
      font-size: 13px; color: rgba(255,255,255,0.45);
      text-decoration: none; transition: color 0.2s;
    }
    .footer-links a:hover { color: rgba(255,255,255,0.8); }
    .footer-copy { font-size: 12px; color: rgba(255,255,255,0.3); }

    /* ─── CONSENT BANNER ─── */
    .consent-banner {
      position: fixed;
      left: 16px; right: 16px; bottom: 16px;
      z-index: 200;
      max-width: 560px;
      margin: 0 auto;
      background: var(--card-bg);
      border: 1px solid var(--border);
      border-radius: 16px;
      box-shadow: var(--shadow-elevated);
      padding: 18px 20px;
      display: flex;
      flex-direction: column;
      gap: 14px;
    }
    /* El atributo hidden debe ganar al display:flex de arriba. */
    .consent-banner[hidden] { display: none; }
    .consent-text {
      font-size: 13px;
      line-height: 1.55;
      color: var(--text-secondary);
    }
    .consent-text a { color: var(--accent-dark); text-decoration: underline; }
    .consent-actions {
      display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap;
    }
    .consent-btn {
      font-family: var(--sans); font-size: 13px; font-weight: 600;
      border-radius: 9999px; cursor: pointer; padding: 9px 18px;
      border: 1px solid var(--border-strong); transition: all 0.2s;
    }
    .consent-reject { background: transparent; color: var(--text-secondary); }
    .consent-reject:hover { background: var(--page-bg); }
    .consent-accept { background: var(--accent); color: #fff; border-color: var(--accent); }
    .consent-accept:hover { background: var(--accent-dark); }

    /* ─── REVEAL ─── */
    .reveal {
      opacity: 0;
      transform: translateY(24px);
      transition: opacity 0.6s ease, transform 0.6s ease;
    }
    .reveal.visible {
      opacity: 1;
      transform: translateY(0);
    }
    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }

    /* ─── RESPONSIVE ─── */
    @media (max-width: 1024px) {
      .hero {
        grid-template-columns: 1fr;
        padding: 64px 40px 80px;
        text-align: center; gap: 48px;
        min-height: unset;
      }
      .hero-content { padding-top: 80px; }
      .hero-sub { max-width: 100%; }
      .hero-stores, .hero-stats { justify-content: center; }
      .hero-visual { justify-content: center; }
      .float-card-left, .float-card-right, .float-card-bottom { display: none; }
      .section, .provinces-section, .seasonal-section { padding: 80px 40px; }
      .features-grid { grid-template-columns: 1fr 1fr; }
      .feature-card-wide { grid-column: span 2; }
      .allergens-inner { padding: 0 40px; }
      .insights-inner { grid-template-columns: 1fr; padding: 0 40px; gap: 40px; }
      .cta-section { padding: 80px 40px; }
      footer { padding: 40px; flex-direction: column; gap: 24px; text-align: center; }
      .footer-links { flex-wrap: wrap; justify-content: center; }
    }
    @media (max-width: 640px) {
      nav { padding: 0 20px; }
      .nav-links { display: none; }
      .hero { padding: 64px 24px 60px; }
      .section, .provinces-section, .seasonal-section { padding: 64px 24px; }
      .features-grid { grid-template-columns: 1fr; }
      .feature-card-wide { grid-column: span 1; }
      .hourly-split { grid-template-columns: 1fr; gap: 20px; }
      .allergens-inner { padding: 0 24px; }
      .insights-inner { padding: 0 24px; }
      .seasonal-card { padding: 24px; }
      .seasonal-header { flex-direction: column; align-items: flex-start; gap: 16px; }
      .cta-section { padding: 64px 24px; }
      footer { padding: 32px 24px; }
      .footer-links { gap: 12px 20px; }
      .provinces-grid { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); }
    }