

  :root{
    --navy: #10233F;
    --blue: #1B4B8F;
    --green: #2FA84F;
    --green-dark: #22803D;
    --bg: #F6F9FC;
    --line: rgba(16,35,63,0.10);
    --text-soft: rgba(16,35,63,0.68);
  }

  *{ box-sizing:border-box; }

  body{
    margin:0;
    background: var(--bg);
    color: var(--navy);
    font-family:system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  }

  html[data-lang="es"] .lang-en{ display:none; }
  html[data-lang="en"] .lang-es{ display:none; }

  /* ---------- SECCIÓN 3: HEADER ---------- */
  header{
    max-width: 900px;
    margin: 0 auto;
    padding: 1.8rem 2rem 0 2rem;
    display:flex;
    justify-content:space-between;
    align-items:center;
  }

  header a.home-link img{ height:34px; }

  .lang-toggle{
    display:inline-flex;
    background:white;
    border:1px solid var(--line);
    border-radius:999px;
    padding:4px;
    box-shadow: 0 4px 14px rgba(16,35,63,0.05);
  }

  .lang-toggle button{
    font-family:system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-weight:600;
    font-size:0.78rem;
    border:none;
    background:transparent;
    color: rgba(16,35,63,0.5);
    padding: 0.5rem 1.1rem;
    border-radius:999px;
    cursor:pointer;
  }

  .lang-toggle button.active{ background: var(--navy); color:white; }

  /* ---------- SECCIÓN 4: TÍTULO DE LA SECCIÓN ---------- */
  .page-title{
    max-width:900px;
    margin: 2.2rem auto 0.5rem auto;
    padding: 0 2rem;
  }

  .page-title h1{
    font-family:system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    margin: 0 0 0.6rem 0;
  }

  .page-title p{
    color: var(--text-soft);
    font-size:1.02rem;
    max-width:560px;
  }

  /* ---------- SECCIÓN 5: GRID DE ARTÍCULOS ---------- */
  .articles-grid{
    max-width:900px;
    margin: 1.5rem auto 4rem auto;
    padding: 0 2rem;
    display:grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
  }

  .article-card{
    background:white;
    border-radius:14px;
    border:1px solid var(--line);
    padding: 1.5rem;
    text-decoration:none;
    color: var(--navy);
    box-shadow: 0 6px 20px rgba(16,35,63,0.05);
    transition: transform 0.15s ease;
    display:block;
  }

  .article-card:hover{ transform: translateY(-3px); }

  .article-card .tag{
    font-size:0.72rem;
    font-weight:700;
    letter-spacing:0.08em;
    text-transform:uppercase;
    color: var(--green-dark);
    margin-bottom:0.6rem;
  }

  .article-card h3{
    font-family:system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size:1.1rem;
    margin: 0 0 0.5rem 0;
    line-height:1.3;
  }

  .article-card p{
    font-size:0.88rem;
    color: var(--text-soft);
    margin:0;
  }

  .coming-more{
    max-width:900px;
    margin: 0 auto 3rem auto;
    padding: 0 2rem;
    font-size:0.9rem;
    color: rgba(16,35,63,0.45);
    text-align:center;
  }

  /* ── BANNER COMPARAR PRECIOS ── */
  .compare-banner{
    max-width:900px;
    margin: 2rem auto 0 auto;
    padding: 0 2rem;
  }

  .compare-banner-inner{
    background: linear-gradient(135deg, var(--navy) 0%, #1B4B8F 100%);
    border-radius: 16px;
    padding: 2rem 2.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
  }

  .compare-banner-text h2{
    font-family:system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 1.2rem;
    color: white;
    margin: 0 0 0.4rem 0;
  }

  .compare-banner-text p{
    font-size: 0.9rem;
    color: rgba(255,255,255,0.72);
    margin: 0;
  }

  .compare-banner a.btn-compare{
    display: inline-block;
    background: var(--green);
    color: white;
    font-weight: 700;
    font-size: 0.92rem;
    text-decoration: none;
    padding: 0.8rem 1.6rem;
    border-radius: 999px;
    white-space: nowrap;
    transition: background 0.15s;
    flex-shrink: 0;
  }

  .compare-banner a.btn-compare:hover{ background: var(--green-dark); }

  /* ---------- PREFERENCIAS DE PRIVACIDAD ---------- */
  .cookie-banner{
    position:fixed;
    left:1rem;
    right:1rem;
    bottom:1rem;
    z-index:9999;
    max-width:900px;
    margin:auto;
    padding:1rem 1.1rem;
    background:white;
    color:var(--navy);
    border:1px solid var(--line);
    border-radius:14px;
    box-shadow:0 8px 26px rgba(16,35,63,0.14);
  }

  .cookie-banner[hidden]{ display:none; }

  .cookie-banner-inner{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:1rem;
  }

  .cookie-banner-text{
    max-width:610px;
    font-size:0.82rem;
    color:var(--text-soft);
    line-height:1.5;
  }

  .cookie-banner-text strong{
    display:block;
    color:var(--navy);
    margin-bottom:0.25rem;
  }

  .cookie-banner-text a{ color:var(--blue); }

  .cookie-actions{
    display:flex;
    flex-wrap:wrap;
    gap:0.55rem;
  }

  .cookie-btn{
    border:1px solid var(--line);
    border-radius:999px;
    padding:0.68rem 0.92rem;
    background:white;
    color:var(--navy);
    font-family:system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-weight:700;
    cursor:pointer;
  }

  .cookie-btn.accept{
    background:var(--green);
    color:white;
    border-color:var(--green);
  }

  @media(max-width:700px){
    .cookie-banner-inner{ align-items:stretch; flex-direction:column; }
    .cookie-actions{ display:grid; grid-template-columns:1fr 1fr; }
  }

