@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800;900&display=swap');

/* ======= CSS ORIGINAL (extraído del <style> del index) ======= */
:root{
      --bg:#FEFAF2;
      --text:#111;
      --brand:#6F8A63;
      --card:rgba(255,255,255,0.55);
      --border:rgba(0,0,0,0.12);
    }

    *{ box-sizing:border-box; }

    /* =========================
       AJUSTE ESCALA DESKTOP
       ========================= */
    html{
      font-size:16px;
    }

    body{
      margin:0;
      font-family:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
      background:var(--bg);
      color:var(--text);
      padding-top: env(safe-area-inset-top);

      /* Escala base */
      font-size:17px;
      line-height:1.6;
    }

    .container{
      max-width:1200px;
      margin:0 auto;
      padding:0 24px 64px;
    }

    .header{
      position:sticky;
      top:0;
      z-index:80;
      background:rgba(254,250,242,0.92);
      backdrop-filter: blur(12px);
      border-bottom:1px solid rgba(0,0,0,0.06);
      transition: box-shadow .18s ease, background .18s ease;
    }

    .header.scrolled{
      background:rgba(254,250,242,0.98);
      box-shadow:0 10px 30px rgba(0,0,0,0.06);
    }

    .header-inner{
      max-width:1200px;
      margin:0 auto;
      padding:12px 24px;
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:16px;
      min-height:92px;
    }

    .brand-mini a{
      display:inline-flex;
      align-items:center;
      text-decoration:none;
    }

    .logo-mini{
      height:110px;
      width:auto;
      display:block;
    }

    .top-stack{
      display:flex;
      flex-direction:column;
      align-items:flex-end;
      gap:10px;
      margin: top 10px; /* AJUSTE FINO PARA CENTRAR CON EL LOGO */
    }

    .language-selector{
      display:flex;
      gap:10px;
      align-items:center;
      flex-wrap:wrap;
      justify-content:flex-end;
    }

    .lang-btn{
      background:transparent;
      border:1px solid var(--border);
      border-radius:10px;
      padding:6px 10px;
      cursor:pointer;
      display:flex;
      align-items:center;
      gap:8px;
      opacity:0.78;
      transition:opacity .2s ease, border-color .2s ease, transform .2s ease;
      user-select:none;
    }

    .lang-btn:hover{
      opacity:1;
      border-color:rgba(0,0,0,0.28);
      transform:translateY(-1px);
    }

    .lang-btn.active{
      opacity:1;
      border-color:rgba(0,0,0,0.35);
    }

    .flag{
      width:22px;
      height:16px;
      border-radius:3px;
      overflow:hidden;
      display:block;
      flex:0 0 auto;
    }

    .lang-label{
      font-size:15px;
      font-weight:800;
      letter-spacing:0.2px;
      line-height:1;
    }

    .top-links{
      display:flex;
      flex-direction:row;
      align-items:center;
      justify-content:flex-end;
      gap:10px;
      flex-wrap:wrap;
    }

    .top-link{
      display:inline-flex;
      align-items:center;
      gap:10px;
      text-decoration:none;
      color:var(--text);
      padding:9px 12px;
      border-radius:12px;
      border:1px solid rgba(0,0,0,0.10);
      background:rgba(255,255,255,0.55);
      backdrop-filter: blur(8px);
      font-weight:800;
      font-size:16px;
      line-height:1;
      opacity:0.92;
      transition: transform .18s ease, opacity .18s ease, border-color .18s ease;
      white-space:nowrap;
    }

    .top-link:hover{
      opacity:1;
      transform:translateY(-1px);
      border-color:rgba(0,0,0,0.22);
    }

    .content{ padding-top:16px; }

    .grid{
      display:grid;
      grid-template-columns:1.1fr 0.9fr;
      gap:56px;
      align-items:flex-start;
    }

    .hero{
      padding:36px 0 8px;
    }

    h1{
      font-size:clamp(32px, 3.2vw, 46px);
      line-height:1.18;
      margin:0 0 16px 0;
      color:var(--brand);
      letter-spacing:-0.2px;
      max-width:680px;
    }

    .subhead{
      font-size:19px;
      line-height:1.75;
      margin:0 0 16px 0;
      max-width:880px;
      color:#222;
    }

    .lead{
      font-size:18px;
      line-height:1.85;
      margin:0 0 12px 0;
      max-width:880px;
      color:#222;
    }

    .trust-row{
      display:flex;
      gap:10px 14px;
      flex-wrap:wrap;
      align-items:center;
      margin:12px 0 12px;
      color:#4a4a4a;
      font-size:16px;
    }

    .trust-pill{
      display:inline-flex;
      align-items:center;
      gap:8px;
      padding:10px 12px;
      border:1px solid rgba(0,0,0,0.10);
      border-radius:999px;
      background:rgba(255,255,255,0.55);
      backdrop-filter: blur(8px);
      white-space:nowrap;
    }

    .features-title{
      margin:18px 0 12px;
      font-weight:900;
      font-size:19px;
      color:var(--brand);
    }

    .features{
      list-style:none;
      padding:0;
      margin:0;
      display:grid;
      grid-template-columns:1fr 1fr;
      gap:12px 26px;
      font-size:17px;
      align-items:start;
    }
    .features li{
      display:flex;
      align-items:flex-start;
      gap:10px;
      line-height:1.45;
    }
    .features li .emoji{
      width:18px;
      flex:0 0 18px;
      line-height:1.2;
      margin-top:1px;
    }
    .features li .txt{
      flex:1 1 auto;
      min-width:0;
      overflow-wrap:anywhere;
    }

    @keyframes fadeBlurUp{
      from{ opacity:0; transform:translateY(14px); filter:blur(10px); }
      to{ opacity:1; transform:none; filter:blur(0); }
    }
    .fade-soft{
      animation: fadeBlurUp .85s cubic-bezier(.2,.8,.2,1) forwards;
      will-change: transform, opacity, filter;
    }
    .delay-1{ animation-delay:.08s; }
    .delay-2{ animation-delay:.16s; }
    .delay-3{ animation-delay:.24s; }

    .slider{
      width:100%;
      display:flex;
      flex-direction:column;
      align-items:center;
      gap:12px;
      margin-top:34px;
    }

    .slider-viewport{
      width:100%;
      max-width:390px;
      border-radius:28px;
      overflow:hidden;
      box-shadow:0 20px 45px rgba(0,0,0,0.18);
      background:transparent;
      position:relative;
    }

    .slider-track{
      display:flex;
      width:100%;
      overflow-x:auto;
      scroll-snap-type:x mandatory;
      -webkit-overflow-scrolling:touch;
      scrollbar-width:none;
      scroll-behavior:smooth;
      touch-action:pan-x;
      background:transparent;
    }
    .slider-track::-webkit-scrollbar{ display:none; }

    .slide{
      flex:0 0 100%;
      scroll-snap-align:center;
      display:flex;
      align-items:center;
      justify-content:center;
      padding:0;
      background:transparent;
    }

    .slide img{
      width:100%;
      height:auto;
      display:block;
      background:transparent;
    }

    .arrow{
      position:absolute;
      top:50%;
      transform:translateY(-50%);
      width:38px;
      height:38px;
      border-radius:999px;
      border:1px solid rgba(0,0,0,0.10);
      background:rgba(254,250,242,0.72);
      backdrop-filter: blur(10px);
      display:flex;
      align-items:center;
      justify-content:center;
      cursor:pointer;
      opacity:0.0;
      pointer-events:none;
      transition:opacity .18s ease, transform .18s ease, background .18s ease;
      z-index:5;
    }

    .slider-viewport:hover .arrow,
    .slider-viewport:focus-within .arrow{
      opacity:0.95;
      pointer-events:auto;
    }

    .arrow:hover{
      transform:translateY(-50%) scale(1.03);
      background:rgba(254,250,242,0.88);
    }

    .arrow:active{
      transform:translateY(-50%) scale(0.98);
    }

    .arrow svg{
      width:18px;
      height:18px;
      display:block;
    }

    .arrow.left{ left:10px; }
    .arrow.right{ right:10px; }

    .dots{
      display:flex;
      justify-content:center;
      align-items:center;
      gap:8px;
      padding:2px 0;
    }

    .dot{
      width:8px;
      height:8px;
      border-radius:999px;
      border:1px solid rgba(0,0,0,0.18);
      background:rgba(0,0,0,0.08);
      cursor:pointer;
      padding:0;
      transition: transform .18s ease, background .18s ease, border-color .18s ease;
    }

    .dot:hover{ transform:translateY(-1px); }

    .dot.active{
      background:rgba(111,138,99,0.95);
      border-color:rgba(111,138,99,0.95);
      transform:scale(1.2);
    }

    .section-block{
      margin-top:26px;
      width:100%;
    }

    .section-title{
      margin:28px 0 14px;
      font-weight:900;
      font-size:21px;
      color:var(--brand);
    }

    .kpis{
      margin-top:18px;
      display:grid;
      grid-template-columns: 1fr 1fr 1fr 1fr;
      gap:12px;
      max-width: 1100px;
    }

    .kpi{
      background: var(--card);
      border: 1px solid rgba(0,0,0,0.08);
      border-radius: 16px;
      padding: 14px 16px;
      font-weight: 800;
      font-size: 15.5px;
      color: #222;
      display:flex;
      gap:10px;
      align-items:flex-start;
    }

    .kpi-dot{
      width:10px;
      height:10px;
      border-radius:999px;
      background: var(--brand);
      margin-top:5px;
      flex:0 0 auto;
    }

    .features-grid{
      margin-top: 10px;
      display:grid;
      grid-template-columns: 1fr 1fr;
      gap: 16px;
      width:100%;
    }

    .feature-card{
      background: rgba(255,255,255,0.72);
      border: 1px solid rgba(0,0,0,0.08);
      border-radius: 18px;
      padding: 22px;
    }

    .feature-head{
      display:flex;
      gap: 12px;
      align-items:flex-start;
      margin-bottom: 10px;
    }

    .feature-icon{
      width: 46px;
      height: 46px;
      border-radius: 14px;
      display:flex;
      align-items:center;
      justify-content:center;
      background: rgba(111,138,99,0.14);
      border: 1px solid rgba(111,138,99,0.22);
      font-size: 20px;
      flex: 0 0 auto;
    }

    .feature-title{
      margin:0;
      font-size: 21px;
      letter-spacing: -0.2px;
      color:var(--brand);
      font-weight:900;
    }

    .promise{
      margin: 6px 0 0;
      font-weight: 900;
      color: #222;
      font-size: 16px;
      line-height: 1.35;
    }

    .desc{
      margin: 0 0 12px 0;
      font-size: 16px;
      line-height: 1.7;
      color: #333;
    }

    .bullets{
      margin: 0;
      padding-left: 18px;
      display:grid;
      gap: 6px;
      font-size: 16px;
      color: #222;
    }

    .example{
      margin-top: 12px;
      padding-top: 12px;
      border-top: 1px solid rgba(0,0,0,0.08);
      font-size: 15px;
      color: #333;
    }
    .example strong{ color:var(--brand); }

    .download-wrap{
      margin-top:22px;
      width:100%;
    }

    .hero-cta{
      width:100%;
      margin:0;
      background:rgba(255,255,255,0.60);
      border:1px solid rgba(0,0,0,0.10);
      border-radius:18px;
      padding:22px 18px 22px;
      box-shadow:0 12px 30px rgba(0,0,0,0.06);
      text-align:center;
    }

    .hero-cta-title{
      margin:0 0 14px 0;
      color:var(--brand);
      font-weight:900;
      font-size:19px;
      text-align:center;
    }

    .store-badges{
      display:flex;
      justify-content:center;
      align-items:center;
      gap:14px;
      flex-wrap:wrap;
      margin:0 auto;
    }

    .store-badges a{
      display:inline-flex;
      align-items:center;
      justify-content:center;
      text-decoration:none;
      outline:none;
    }

    .store-badges img{
      height:58px;
      width:auto;
      max-width:210px;
      display:block;
      transition:transform .18s ease, opacity .18s ease;
    }

    .store-badges img:hover{
      transform:translateY(-1px);
      opacity:0.95;
    }

    .hero-cta-note{
      margin:12px 0 0 0;
      font-size:15px;
      color:#666;
      line-height:1.6;
      text-align:center;
    }

    .social-cta-link{
      display:flex;
      align-items:center;
      justify-content:center;
      gap:12px;
      text-decoration:none;
      color:var(--text);
      font-weight:900;
    }

    .social-cta-icon{
      width:46px;
      height:46px;
      border-radius:14px;
      display:flex;
      align-items:center;
      justify-content:center;
      background: rgba(111,138,99,0.14);
      border: 1px solid rgba(111,138,99,0.22);
      font-size:20px;
      flex:0 0 auto;
    }

    .social-cta-text{
      text-align:center;
      line-height:1.25;
    }

    .social-cta-title{
      margin:0;
      font-size:19px;
      color:#111;
      font-weight:900;
    }

    .social-cta-sub{
      margin:6px 0 0 0;
      font-size:15px;
      color:#555;
      font-weight:700;
    }

    .footer-legal{
      margin-top:70px;
      text-align:center;
      font-size:16px;
      color:#666;
    }

    .footer-legal a{
      color:#555;
      text-decoration:none;
      margin:0 6px;
    }

    @media (max-width:900px){
      .container{ padding:0 20px 56px; }
      .grid{ grid-template-columns:1fr; gap:34px; }
      .features{ grid-template-columns:1fr; }
      .slider-viewport{ max-width:360px; }
      .arrow{ opacity:0.95; pointer-events:auto; }

      .hero{ padding-top:26px; }
      h1{ line-height:1.1; }

      .kpis{ grid-template-columns: 1fr 1fr; }
      .features-grid{ grid-template-columns: 1fr; }

      .header-inner{ padding:10px 20px; }

      .top-stack{ gap:8px; }

      .hero-cta{
        border-radius:16px;
        background:rgba(255,255,255,0.78);
        border:1px solid rgba(0,0,0,0.12);
        box-shadow:0 18px 40px rgba(0,0,0,0.10);
      }

      .store-badges{
        gap:10px;
      }
      .store-badges a{
        flex:1 1 160px;
      }
      .store-badges img{
        height:56px;
        max-width:100%;
      }

      .social-cta-link{
        flex-direction:column;
        gap:10px;
      }
    }

    @media (max-width:520px){
      .kpis{ grid-template-columns: 1fr; }
      .language-selector{ gap:8px; }
      .top-links{ gap:8px; }
    }

    .cookie-banner{
      position: fixed;
      left: 14px;
      right: 14px;
      bottom: 14px;
      z-index: 9999;

      background: rgba(255,255,255,0.82);
      border: 1px solid rgba(0,0,0,0.12);
      border-radius: 18px;

      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);

      box-shadow: 0 18px 45px rgba(0,0,0,0.12);

      padding: 14px 14px calc(14px + env(safe-area-inset-bottom));
      color: #111;
      font-size: 14px;
      line-height: 1.5;
    }

    .cookie-banner p{
      margin: 0 0 10px 0;
      color: #222;
    }

    .cookie-banner a{
      color: var(--brand);
      text-decoration: underline;
      font-weight: 900;
    }

    .cookie-buttons{
      display: flex;
      gap: 10px;
      flex-wrap: wrap;
      align-items: center;
      justify-content: flex-end;
    }

    .cookie-buttons button{
      padding: 9px 14px;
      border-radius: 12px;
      cursor: pointer;
      font-weight: 900;
      font-size: 14px;
      border: 1px solid rgba(0,0,0,0.14);
      background: rgba(255,255,255,0.75);
      transition: transform .18s ease, opacity .18s ease, border-color .18s ease;
    }

    .cookie-buttons button:hover{
      transform: translateY(-1px);
      border-color: rgba(0,0,0,0.22);
    }

    #accept-cookies{
      background: rgba(111,138,99,0.95);
      border-color: rgba(111,138,99,0.95);
      color: #fff;
    }

    #reject-cookies{
      background: rgba(255,255,255,0.85);
      color: #111;
    }

    #config-cookies{
      background: rgba(255,255,255,0.60);
      color: #111;
    }

    @media (max-width:520px){
      .cookie-banner{
        left: 10px;
        right: 10px;
        bottom: 10px;
        border-radius: 16px;
      }
      .cookie-buttons{
        justify-content: stretch;
      }
      .cookie-buttons button{
        flex: 1 1 140px;
      }
    }

/* ======= OVERRIDES (NUEVOS) ======= */

/* Tipografía principal */
body{
  font-family:'Nunito', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* =========================================================
   RE-ESCALA PORTÁTIL (1366–1440px) – más compacta
   ========================================================= */
@media (max-width: 1440px){
  html { font-size: 13.2px; }
  body { font-size: 15px; }

  .container{
    max-width: 1080px;
    padding: 0 18px 48px;
  }

  .header-inner{
    max-width: 1080px;
    min-height: 72px;
    padding: 9px 18px;
  }

  .logo-mini{ height: 76px; }

  .lang-label{ font-size: 12.5px; }
  .lang-btn{ padding: 5px 8px; }
  .top-link{
    font-size: 13.5px;
    padding: 7px 9px;
    gap: 8px;
  }

  h1{
    font-size: clamp(24px, 2.3vw, 33px);
    line-height: 1.10;
    max-width: 600px;
    margin-bottom: 12px;
  }
  .subhead{ font-size: 16px; line-height: 1.65; }
  .lead{ font-size: 15px; line-height: 1.75; }

  .slider{ margin-top: 20px; gap: 10px; }
  .slider-viewport{
    max-width: 300px;
    border-radius: 22px;
  }
  .arrow{ width: 32px; height: 32px; }
}

/* Banner cookies más compacto */
.cookie-banner{
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  font-size: 13px;
  border-radius: 16px;
}
.cookie-banner p{ margin: 0 0 8px 0; }
.cookie-buttons button{
  padding: 8px 12px;
  font-size: 13px;
  border-radius: 11px;
}
