    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    :root {
      --teal:        #0d9488;
      --teal-light:  #14b8a6;
      --teal-dark:   #0f766e;
      --teal-bg:     #f0fdfa;
      --orange:      #f97316;
      --purple:      #7c3aed;
      --blue:        #2563eb;
      --blue-bg:     #eff6ff;
      --red:         #dc2626;
      --yellow:      #ca8a04;
      --green:       #16a34a;
      --text:        #111827;
      --text-muted:  #6b7280;
      --text-light:  #9ca3af;
      --border:      #e5e7eb;
      --bg-light:    #f9fafb;
      --white:       #ffffff;
      --radius:      10px;
      --radius-sm:   6px;
      --shadow:      0 1px 4px rgba(0,0,0,.08);
      --shadow-md:   0 4px 16px rgba(0,0,0,.10);
    }

    html { scroll-behavior: smooth; }
    body { font-family: 'Inter', sans-serif; color: var(--text); background: var(--white); font-size: 15px; line-height: 1.6; }
    a { color: inherit; text-decoration: none; }
    img { display: block; max-width: 100%; }
    ul { list-style: none; }

    .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

    /* ─── UTILITY ─────────────────────────────────── */
    .container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
    .section-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 28px; }
    .section-header h2 { font-size: 1.5rem; font-weight: 700; color: var(--text); }
    .section-header p { font-size: .85rem; color: var(--text-muted); margin-top: 2px; }
    .view-all { font-size: .85rem; color: var(--teal); font-weight: 500; white-space: nowrap; margin-top: 4px; }
    .view-all:hover { text-decoration: underline; }
    .btn-primary { display: inline-flex; align-items: center; gap: 8px; background: var(--teal); color: var(--white); padding: 12px 22px; border-radius: var(--radius); font-weight: 600; font-size: .9rem; transition: background .2s; }
    .btn-primary:hover { background: var(--teal-dark); }
    .btn-outline { display: inline-flex; align-items: center; gap: 8px; border: 1.5px solid var(--teal); color: var(--teal); padding: 11px 20px; border-radius: var(--radius); font-weight: 600; font-size: .9rem; background: var(--white); transition: all .2s; }
    .btn-outline:hover { background: var(--teal-bg); }

    /* ─── TOPBAR ──────────────────────────────────── */
    .topbar { background: var(--white); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 200; box-shadow: 0 2px 8px rgba(0,0,0,.06); }
    .topbar-inner { display: flex; align-items: center; gap: 16px; padding: 10px 20px; min-height: 95px; max-width: 1200px; margin: 0 auto; }
    .topbar-logo {
      flex-shrink: 0; display: flex; align-items: center;
      max-width: 220px; overflow: hidden;
    }
    .topbar-logo img {
      height: 75px; width: auto; max-width: 220px;
      object-fit: contain;
    }
    .topbar-logo-fallback {
      display: flex; align-items: center; gap: 10px;
      font-size: 1.3rem; font-weight: 800; color: var(--teal-dark);
      white-space: nowrap; font-family: 'Inter', sans-serif;
    }
    .topbar-logo-fallback svg {
      width: 34px; height: 34px; stroke: var(--teal);
      fill: none; stroke-width: 1.8; flex-shrink: 0;
    }
    .topbar-search { flex: 1; max-width: 480px; margin: 0 auto; display: flex; align-items: center; border: 1.5px solid var(--border); border-radius: 8px; overflow: hidden; background: var(--white); transition: border-color .2s; }
    .topbar-search:focus-within { border-color: var(--teal); }
    .topbar-search input { flex: 1; border: none; outline: none; padding: 10px 14px; font-size: .9rem; color: var(--text); font-family: 'Inter', sans-serif; min-width: 0; }
    .topbar-search input::placeholder { color: var(--text-light); }
    .topbar-search button { background: var(--teal); border: none; cursor: pointer; padding: 0 16px; height: 42px; display: flex; align-items: center; flex-shrink: 0; transition: background .2s; }
    .topbar-search button:hover { background: var(--teal-dark); }
    .topbar-search button svg { fill: white; width: 16px; height: 16px; }
    .topbar-actions { display: flex; gap: 20px; margin-left: auto; flex-shrink: 0; }
    .topbar-action { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: .7rem; font-weight: 500; color: var(--text-muted); cursor: pointer; transition: color .2s; text-decoration: none; }
    .topbar-action svg { width: 22px; height: 22px; }
    .topbar-action:hover { color: var(--teal); }

    /* ─── HAMBURGER ───────────────────────────────── */
    .nav-toggle { display: none; align-items: center; justify-content: center; width: 40px; height: 40px; background: none; border: 1.5px solid var(--border); border-radius: 8px; cursor: pointer; padding: 0; margin-left: auto; flex-shrink: 0; transition: border-color .2s; }
    .nav-toggle:hover { border-color: var(--teal); }
    .nav-toggle-icon { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 18px; }
    .nav-toggle-icon span { display: block; width: 100%; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s, opacity .3s, width .3s; }
    .nav-toggle[aria-expanded="true"] .nav-toggle-icon span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav-toggle[aria-expanded="true"] .nav-toggle-icon span:nth-child(2) { opacity: 0; width: 0; }
    .nav-toggle[aria-expanded="true"] .nav-toggle-icon span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    /* ─── DESKTOP NAV ─────────────────────────────── */
    .mainnav { background: var(--white); border-bottom: 1px solid var(--border); }
    .mainnav-inner {
      max-width: 1200px; margin: 0 auto; padding: 0 20px;
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
      gap: 0;
    }
    .mainnav a {
      display: flex; align-items: center; justify-content: center;
      text-align: center; gap: 5px;
      padding: 10px 14px; font-size: .84rem; font-weight: 600;
      color: var(--text-muted); line-height: 1.3;
      white-space: normal;
      border-bottom: 2px solid transparent;
      transition: color .15s, border-color .15s, background .15s;
      min-height: 48px;
      position: relative;
    }
    /* Separador sutil entre items, no a todo lo alto */
    .mainnav a:not(:last-child)::after {
      content: ""; position: absolute; right: 0; top: 25%; bottom: 25%;
      width: 1px; background: var(--border);
    }
    .mainnav a:hover {
      color: var(--blue);
      border-bottom-color: var(--blue);
      background: var(--blue-bg);
    }
    .mainnav a.active {
      color: var(--blue);
      border-bottom-color: var(--blue);
      background: var(--blue-bg);
      font-weight: 700;
    }
    .mainnav a svg { width: 11px; height: 11px; fill: currentColor; opacity: .6; flex-shrink: 0; }

    @media (max-width: 1300px) {
      .mainnav-inner { grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); }
      .mainnav a { padding: 10px 10px; font-size: .8rem; }
    }

    /* ─── MOBILE DRAWER ───────────────────────────── */
    .nav-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 190; backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px); }
    .nav-overlay.open { display: block; }
    .nav-drawer { position: fixed; top: 0; left: -100%; width: min(320px, 88vw); height: 100%; background: var(--white); z-index: 195; box-shadow: 4px 0 32px rgba(0,0,0,.18); display: flex; flex-direction: column; transition: left .3s cubic-bezier(.4,0,.2,1); overflow-y: auto; -webkit-overflow-scrolling: touch; }
    .nav-drawer.open { left: 0; }

    /* Drawer header */
    .nav-drawer-header { display: flex; align-items: center; justify-content: space-between; padding: 0 16px; height: 76px; border-bottom: 1px solid var(--border); flex-shrink: 0; }
    .nav-drawer-header img { height: 48px; width: auto; max-width: 160px; object-fit: contain; }
    .nav-drawer-close { background: none; border: 1.5px solid var(--border); border-radius: 8px; cursor: pointer; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; color: var(--text-muted); font-size: 1.1rem; line-height: 1; transition: all .2s; }
    .nav-drawer-close:hover { border-color: var(--text); color: var(--text); }

    /* Drawer search */
    .nav-drawer-search { display: flex; margin: 14px 16px; border: 1.5px solid var(--border); border-radius: 8px; overflow: hidden; flex-shrink: 0; transition: border-color .2s; }
    .nav-drawer-search:focus-within { border-color: var(--teal); }
    .nav-drawer-search input { flex: 1; border: none; outline: none; padding: 10px 12px; font-size: .9rem; font-family: 'Inter', sans-serif; color: var(--text); min-width: 0; }
    .nav-drawer-search input::placeholder { color: var(--text-light); }
    .nav-drawer-search button { background: var(--teal); border: none; cursor: pointer; padding: 0 14px; display: flex; align-items: center; flex-shrink: 0; }
    .nav-drawer-search button svg { fill: white; width: 15px; height: 15px; }

    /* Drawer nav links */
    .nav-drawer-nav { flex: 1; }
    .nav-drawer-nav a { display: flex; align-items: center; justify-content: space-between; padding: 15px 16px; font-size: .95rem; font-weight: 500; color: var(--text); border-bottom: 1px solid var(--border); transition: background .15s, color .15s; min-height: 52px; }
    .nav-drawer-nav a:hover, .nav-drawer-nav a:active { background: var(--teal-bg); color: var(--teal); }
    .nav-drawer-nav a svg { width: 16px; height: 16px; stroke: var(--text-light); flex-shrink: 0; }

    /* Drawer bottom actions */
    .nav-drawer-actions { display: flex; border-top: 1px solid var(--border); flex-shrink: 0; }
    .nav-drawer-actions a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 16px 8px; font-size: .72rem; font-weight: 500; color: var(--text-muted); border-right: 1px solid var(--border); transition: color .2s, background .2s; text-decoration: none; }
    .nav-drawer-actions a:last-child { border-right: none; }
    .nav-drawer-actions a:hover, .nav-drawer-actions a:active { color: var(--teal); background: var(--teal-bg); }
    .nav-drawer-actions svg { width: 22px; height: 22px; }

    /* Mobile search expandible bar */
    .mobile-search-bar { display: none; overflow: hidden; max-height: 0; transition: max-height .25s ease, padding .25s ease; border-bottom: 1px solid var(--border); background: var(--white); }
    .mobile-search-bar.open { max-height: 70px; }
    .mobile-search-inner { display: flex; align-items: center; gap: 0; margin: 10px 16px; border: 1.5px solid var(--border); border-radius: 8px; overflow: hidden; }
    .mobile-search-inner:focus-within { border-color: var(--teal); }
    .mobile-search-inner input { flex: 1; border: none; outline: none; padding: 10px 12px; font-size: .92rem; font-family: 'Inter', sans-serif; color: var(--text); min-width: 0; }
    .mobile-search-inner input::placeholder { color: var(--text-light); }
    .mobile-search-inner button { background: var(--teal); border: none; cursor: pointer; padding: 0 14px; height: 42px; display: flex; align-items: center; flex-shrink: 0; }
    .mobile-search-inner button svg { fill: white; width: 15px; height: 15px; }

    /* Mobile: topbar adjustments */
    @media (max-width: 768px) {
      .topbar-search { display: none; }
      .topbar-actions { display: none; }
      .mainnav { display: none; }
      .nav-toggle { display: flex; }
      .topbar-search-mobile { display: flex; }
      .mobile-search-bar { display: block; }
    }

    /* Mobile search icon button in topbar */
    .topbar-search-mobile { display: none; align-items: center; justify-content: center; width: 40px; height: 40px; background: none; border: 1.5px solid var(--border); border-radius: 8px; cursor: pointer; flex-shrink: 0; transition: border-color .2s; }
    .topbar-search-mobile:hover, .topbar-search-mobile[aria-expanded="true"] { border-color: var(--teal); }
    .topbar-search-mobile svg { width: 18px; height: 18px; stroke: var(--text-muted); fill: none; }

    /* ─── HERO ────────────────────────────────────── */
    .hero { background: #fff; overflow: hidden; border-bottom: 1px solid var(--border); }
    .hero-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; min-height: 420px; }
    .hero-content { padding: 52px 48px 52px 24px; display: flex; flex-direction: column; justify-content: center; }
    .hero-content h1 { font-size: 2.55rem; font-weight: 800; line-height: 1.18; color: var(--text); }
    .hero-content h1 .accent { color: var(--teal); display: block; font-size: 1.65rem; font-weight: 700; margin-top: 6px; }
    .hero-content p { font-size: .95rem; color: var(--text-muted); margin: 18px 0 26px; max-width: 380px; line-height: 1.7; }
    .hero-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
    .hero-trust { display: flex; gap: 20px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--border); }
    .hero-trust-item { display: flex; align-items: flex-start; gap: 8px; font-size: .78rem; color: var(--text-muted); line-height: 1.4; }
    .hero-trust-item svg { width: 17px; height: 17px; flex-shrink: 0; margin-top: 1px; stroke: var(--teal); }
    .hero-trust-item strong { display: block; color: var(--text); font-size: .8rem; }
    .hero-image { position: relative; overflow: hidden; margin-right: calc((100vw - 1200px) / -2); }
    .hero-image img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
    .hero-badge { position: absolute; bottom: 28px; right: 28px; background: rgba(255,255,255,.96); border-radius: 14px; padding: 16px 20px; box-shadow: 0 8px 28px rgba(0,0,0,.14); max-width: 230px; display: flex; flex-direction: column; gap: 6px; }
    .hero-badge-icon { width: 36px; height: 36px; background: var(--teal-bg); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
    .hero-badge-icon svg { width: 18px; height: 18px; stroke: var(--teal); }
    .hero-badge strong { font-size: .88rem; font-weight: 700; color: var(--text); line-height: 1.35; }
    .hero-badge small { font-size: .76rem; color: var(--text-muted); }

    @media (max-width: 900px) {
      .hero-inner { grid-template-columns: 1fr; min-height: auto; }
      .hero-content { padding: 44px 24px 36px; }
      .hero-content h1 { font-size: 2rem; }
      .hero-content h1 .accent { font-size: 1.35rem; }
      .hero-image { height: 280px; margin-right: 0; margin-left: -20px; margin-right: -20px; width: calc(100% + 40px); }
    }
    @media (max-width: 600px) {
      .hero-image { height: 220px; }
      .hero-badge { bottom: 16px; right: 16px; padding: 12px 14px; max-width: 190px; }
      .hero-badge strong { font-size: .8rem; }
      .hero-trust { gap: 14px; }
    }

    /* ─── SECTIONS ────────────────────────────────── */
    .section { padding: 56px 0; }
    .section-alt { background: var(--bg-light); }

    /* section-header: "ver todo" cae debajo en móvil pequeño */
    @media (max-width: 480px) {
      .section-header { flex-direction: column; gap: 6px; }
      .view-all { align-self: flex-start; }
    }

    /* ─── TOOLS ───────────────────────────────────── */
    .tools-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
    /* En móvil: scroll horizontal tipo "carrusel" para herramientas */
    .tool-card {
      background: var(--white); border: 1.5px solid var(--border);
      border-radius: var(--radius); padding: 22px 16px;
      display: flex; flex-direction: column; align-items: center;
      text-align: center; gap: 10px;
      transition: box-shadow .2s, border-color .2s, transform .2s;
      cursor: pointer; text-decoration: none; color: inherit;
    }
    .tool-card:hover { box-shadow: var(--shadow-md); border-color: var(--teal-light); transform: translateY(-2px); }
    .tool-card:active { transform: translateY(0); }
    .tool-icon { width: 54px; height: 54px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
    .tool-icon svg { width: 26px; height: 26px; }
    .tool-card h3 { font-size: .88rem; font-weight: 700; line-height: 1.3; color: var(--text); }
    .tool-card p { font-size: .78rem; color: var(--text-muted); line-height: 1.45; flex: 1; }
    .tool-arrow {
      display: inline-flex; align-items: center; justify-content: center;
      width: 28px; height: 28px; border-radius: 50%;
      background: var(--teal-bg); color: var(--teal);
      font-size: .9rem; font-weight: 700; transition: background .2s;
    }
    .tool-card:hover .tool-arrow { background: var(--teal); color: var(--white); }

    /* Scroll horizontal en móvil para tools */
    @media (max-width: 768px) {
      .tools-scroll-wrapper {
        overflow-x: auto; -webkit-overflow-scrolling: touch;
        margin: 0 -20px; padding: 4px 20px 12px;
        scrollbar-width: none;
      }
      .tools-scroll-wrapper::-webkit-scrollbar { display: none; }
      .tools-grid {
        grid-template-columns: repeat(6, 160px);
        gap: 12px; width: max-content;
      }
    }
    @media (max-width: 480px) {
      .tools-grid { grid-template-columns: repeat(6, 148px); }
    }

    /* ─── FAQ ─────────────────────────────────────── */
    .faq-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
    .faq-card {
      background: var(--white); border: 1.5px solid var(--border);
      border-radius: var(--radius); padding: 20px 14px;
      display: flex; flex-direction: column; align-items: center;
      text-align: center; gap: 12px;
      transition: box-shadow .2s, border-color .2s;
      cursor: pointer; text-decoration: none; color: inherit;
    }
    .faq-card:hover { box-shadow: var(--shadow-md); border-color: var(--teal-light); }
    .faq-card:active { background: var(--teal-bg); }
    /* SVG inline como fallback si no carga la imagen */
    .faq-icon-wrap {
      width: 52px; height: 52px; border-radius: 50%;
      background: var(--teal-bg);
      display: flex; align-items: center; justify-content: center;
      flex-shrink: 0;
    }
    .faq-icon-wrap svg { width: 26px; height: 26px; stroke: var(--teal); fill: none; }
    .faq-icon { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
    .faq-card p { font-size: .82rem; font-weight: 600; line-height: 1.45; color: var(--text); }
    .faq-arrow { font-size: .78rem; color: var(--teal); font-weight: 600; }

    /* ─── TOPICS ──────────────────────────────────── */
    .topics-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
    .topic-card { cursor: pointer; }
    .topic-card a { display: block; text-decoration: none; color: inherit; }
    .topic-img {
      border-radius: var(--radius); overflow: hidden;
      height: 130px; background: var(--border); position: relative;
      transition: transform .2s;
    }
    .topic-card:hover .topic-img { transform: translateY(-2px); }
    .topic-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
    .topic-card:hover .topic-img img { transform: scale(1.04); }
    .topic-img-overlay {
      position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%);
      background: var(--white); border-radius: 50%; width: 38px; height: 38px;
      display: flex; align-items: center; justify-content: center;
      box-shadow: 0 2px 8px rgba(0,0,0,.12);
    }
    .topic-img-overlay svg { width: 20px; height: 20px; }
    .topic-card h3 { font-size: .9rem; font-weight: 700; margin-top: 12px; color: var(--text); }
    .topic-card small { font-size: .78rem; color: var(--text-muted); }
    .topics-cta { text-align: center; margin-top: 32px; }
    .btn-secondary {
      display: inline-flex; align-items: center; gap: 6px;
      border: 1.5px solid var(--border); background: var(--white);
      padding: 11px 28px; border-radius: var(--radius);
      font-size: .87rem; font-weight: 600; color: var(--text);
      transition: all .2s;
    }
    .btn-secondary:hover { border-color: var(--teal); color: var(--teal); background: var(--teal-bg); }

    /* ─── LAB ─────────────────────────────────────── */
    .lab-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
    .lab-card {
      background: var(--white); border: 1.5px solid var(--border);
      border-radius: var(--radius); padding: 22px 14px;
      display: flex; flex-direction: column; align-items: center;
      text-align: center; gap: 10px;
      transition: box-shadow .2s, border-color .2s;
      cursor: pointer; text-decoration: none; color: inherit;
    }
    .lab-card:hover { box-shadow: var(--shadow-md); border-color: var(--teal-light); }
    .lab-card:active { background: var(--teal-bg); }
    /* SVG inline fallback si no carga imagen */
    .lab-icon-wrap {
      width: 52px; height: 52px; border-radius: 50%;
      background: var(--teal-bg);
      display: flex; align-items: center; justify-content: center;
      flex-shrink: 0;
    }
    .lab-icon-wrap svg { width: 26px; height: 26px; stroke: var(--teal); fill: none; }
    .lab-icon { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
    .lab-card h3 { font-size: .85rem; font-weight: 700; line-height: 1.35; color: var(--text); }

    /* ─── ARTICLES ────────────────────────────────── */
    .articles-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
    .article-card { cursor: pointer; }
    .article-card a { display: block; text-decoration: none; color: inherit; }
    .article-thumb {
      border-radius: var(--radius); overflow: hidden;
      height: 130px; background: var(--border); position: relative;
    }
    .article-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
    .article-card:hover .article-thumb img { transform: scale(1.04); }
    .article-tag {
      position: absolute; top: 8px; left: 8px;
      font-size: .67rem; font-weight: 700; text-transform: uppercase;
      letter-spacing: .4px; padding: 3px 8px; border-radius: 4px;
      color: var(--white); line-height: 1.4;
    }
    .tag-metabolic  { background: var(--red); }
    .tag-nutrition  { background: var(--green); }
    .tag-activity   { background: var(--blue); }
    .tag-cholesterol{ background: var(--orange); }
    .article-card h3 {
      font-size: .84rem; font-weight: 700; margin-top: 10px;
      line-height: 1.45; color: var(--text);
      display: -webkit-box; -webkit-line-clamp: 3;
      -webkit-box-orient: vertical; overflow: hidden;
    }
    .article-meta {
      display: flex; align-items: center; gap: 6px;
      margin-top: 6px;
    }
    .article-read {
      font-size: .74rem; color: var(--text-muted);
      display: flex; align-items: center; gap: 4px;
    }
    .article-read svg { width: 13px; height: 13px; stroke: var(--text-light); fill: none; }
    .article-thumb { border-radius: var(--radius); overflow: hidden; height: 120px; background: var(--border); position: relative; }
    .article-thumb img { width: 100%; height: 100%; object-fit: cover; }
    .article-tag { position: absolute; top: 8px; left: 8px; font-size: .68rem; font-weight: 700; text-transform: uppercase; padding: 3px 8px; border-radius: 4px; color: var(--white); }
    .tag-metabolic { background: var(--red); }
    .tag-nutrition  { background: var(--green); }
    .tag-activity   { background: var(--blue); }
    .tag-cholesterol{ background: var(--orange); }
    .article-card h3 { font-size: .83rem; font-weight: 700; margin-top: 10px; line-height: 1.4; color: var(--text); }
    .article-read { font-size: .75rem; color: var(--text-muted); margin-top: 4px; }

    /* ─── TRUST STRIP ─────────────────────────────── */
    .trust-strip { background: var(--bg-light); border-top: 1px solid var(--border); padding: 32px 0; }
    .trust-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; }
    .trust-text { flex-shrink: 0; padding-right: 32px; border-right: 1px solid var(--border); }
    .trust-text strong { font-size: .97rem; font-weight: 700; display: block; color: var(--text); margin-bottom: 3px; }
    .trust-text span { font-size: .8rem; color: var(--text-muted); }
    .trust-logos { flex: 1; display: flex; align-items: center; justify-content: space-around; padding-left: 32px; gap: 8px; }
    .tl-cdc { display: inline-flex; align-items: center; justify-content: center; background: #0061a6; color: #fff; font-size: .95rem; font-weight: 900; letter-spacing: .5px; padding: 4px 14px; border-radius: 4px; height: 38px; font-family: 'Inter', sans-serif; }
    .tl-nih { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; border: 2px solid #154360; border-radius: 4px; padding: 2px 10px; height: 38px; }
    .tl-nih .nih-top { font-size: .88rem; font-weight: 900; color: #154360; line-height: 1; }
    .tl-nih .nih-bottom { font-size: .46rem; font-weight: 600; color: #154360; text-transform: uppercase; letter-spacing: .3px; line-height: 1.3; text-align: center; }
    .tl-ada { display: inline-flex; align-items: center; justify-content: center; background: #c1272d; color: #fff; font-size: .72rem; font-weight: 800; text-align: center; padding: 4px 10px; border-radius: 4px; height: 38px; line-height: 1.25; font-family: 'Inter', sans-serif; }
    .tl-aha { display: inline-flex; align-items: center; justify-content: center; color: #c1272d; border: 2px solid #c1272d; font-size: .72rem; font-weight: 800; text-align: center; padding: 4px 10px; border-radius: 4px; height: 38px; line-height: 1.25; font-family: 'Inter', sans-serif; }
    .tl-uspstf { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; background: #1a4a2e; color: #fff; font-size: .46rem; font-weight: 700; text-align: center; padding: 4px 8px; border-radius: 4px; height: 38px; letter-spacing: .2px; line-height: 1.3; text-transform: uppercase; font-family: 'Inter', sans-serif; }
    .tl-uspstf .uspstf-abbr { font-size: .82rem; font-weight: 900; letter-spacing: 1px; line-height: 1; }
    @media (max-width: 768px) {
      .trust-inner { flex-direction: column; align-items: flex-start; gap: 0; }
      .trust-text { padding-right: 0; border-right: none; padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid var(--border); width: 100%; }
      .trust-logos { padding-left: 0; width: 100%; justify-content: flex-start; flex-wrap: wrap; gap: 14px; }
    }

    /* ─── FOOTER ──────────────────────────────────── */
    footer { background: #111827; color: #d1d5db; padding: 56px 0 0; }
    .footer-inner { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: grid; grid-template-columns: 220px 1fr 1fr 1fr 260px; gap: 40px; }
    .footer-brand .logo-footer { margin-bottom: 14px; }
    .footer-brand .logo-footer img { height: 75px; width: auto; max-width: 220px; object-fit: contain; }
    .footer-logo-fallback {
      display: flex; align-items: center; gap: 10px;
      font-size: 1.3rem; font-weight: 800; color: #5eead4;
      white-space: nowrap; font-family: 'Inter', sans-serif;
    }
    .footer-logo-fallback svg {
      width: 32px; height: 32px; stroke: #5eead4; fill: none;
      stroke-width: 1.8; flex-shrink: 0;
    }
    .footer-brand p { font-size: .8rem; color: #6b7280; line-height: 1.6; margin-bottom: 16px; }
    .footer-social { display: flex; gap: 10px; }
    .footer-social a {
      width: 36px; height: 36px; background: #1f2937; border-radius: 8px;
      display: flex; align-items: center; justify-content: center;
      color: #9ca3af; transition: background .2s, color .2s;
      border: 1px solid #374151;
    }
    .footer-social a:hover { background: var(--teal); color: white; border-color: var(--teal); }
    .footer-social svg { width: 17px; height: 17px; fill: currentColor; }
    .footer-col h4 { font-size: .85rem; font-weight: 700; color: #f9fafb; margin-bottom: 16px; }
    .footer-col ul { display: flex; flex-direction: column; gap: 10px; }
    .footer-col ul li a { font-size: .82rem; color: #6b7280; transition: color .2s; line-height: 1.4; }
    .footer-col ul li a:hover { color: var(--teal-light); }
    .footer-newsletter h4 { font-size: .85rem; font-weight: 700; color: #f9fafb; margin-bottom: 10px; }
    .footer-newsletter p { font-size: .8rem; color: #6b7280; margin-bottom: 16px; line-height: 1.6; }
    .footer-newsletter .input-row { display: flex; flex-direction: column; gap: 8px; }
    .footer-newsletter input {
      width: 100%; padding: 11px 14px; font-size: .85rem;
      border: 1px solid #374151; outline: none;
      background: #1f2937; color: #f9fafb;
      font-family: 'Inter', sans-serif; border-radius: 8px;
      transition: border-color .2s;
    }
    .footer-newsletter input:focus { border-color: var(--teal); }
    .footer-newsletter input::placeholder { color: #4b5563; }
    .footer-newsletter button {
      background: var(--teal); color: white; border: none; cursor: pointer;
      padding: 11px 20px; font-size: .88rem; font-weight: 700;
      font-family: 'Inter', sans-serif; border-radius: 8px;
      transition: background .2s; width: 100%;
    }
    .footer-newsletter button:hover { background: var(--teal-dark); }
    .footer-bottom {
      border-top: 1px solid #1f2937; padding: 20px;
      text-align: center; font-size: .78rem; color: #4b5563;
      margin-top: 48px;
    }
    @media (max-width: 1100px) {
      .footer-inner { grid-template-columns: 1fr 1fr 1fr; }
      .footer-brand { grid-column: 1 / -1; display: flex; flex-direction: column; }
      .footer-newsletter { grid-column: span 1; }
    }
    @media (max-width: 768px) {
      .footer-inner { grid-template-columns: 1fr 1fr; gap: 28px; }
      .footer-brand { grid-column: 1 / -1; }
      .footer-newsletter { grid-column: 1 / -1; }
    }
    @media (max-width: 480px) {
      .footer-inner { grid-template-columns: 1fr; gap: 24px; }
      footer { padding: 40px 0 0; }
    }

    /* ─── RESPONSIVE ──────────────────────────────── */
    @media (max-width: 1100px) {
      /* tools: scroll horizontal, resto en 3 cols */
      .faq-grid, .topics-grid, .lab-grid, .articles-grid { grid-template-columns: repeat(3, 1fr); }
      .footer-inner { grid-template-columns: 1fr 1fr 1fr; }
    }
    @media (max-width: 768px) {
      /* Header */
      .topbar-search { display: none; }
      .topbar-actions { display: none; }
      .mainnav { display: none; }
      .nav-toggle { display: flex; }
      /* Grids: 2 cols */
      .faq-grid, .topics-grid, .lab-grid, .articles-grid { grid-template-columns: repeat(2, 1fr); }
      .footer-inner { grid-template-columns: 1fr 1fr; gap: 28px; }
      /* Sections padding */
      .section { padding: 40px 0; }
    }
    @media (max-width: 480px) {
      .faq-grid, .lab-grid { grid-template-columns: repeat(2, 1fr); }
      .topics-grid, .articles-grid { grid-template-columns: repeat(2, 1fr); }
      .section { padding: 32px 0; }
      .footer-inner { grid-template-columns: 1fr; }
      .hero-btns { flex-direction: column; }
      .section-header { flex-direction: column; gap: 6px; }
      /* Article thumbs un poco más bajas en móvil pequeño */
      .article-thumb { height: 110px; }
      .topic-img { height: 110px; }
    }

    /* ─── HERO IMPROVEMENTS ───────────────────────── */
    /* Trust items: separar texto en dos líneas */
    .hero-trust-item span { display: flex; flex-direction: column; }
    /* Badge: alinear ícono con texto */
    .hero-badge { flex-direction: row; align-items: flex-start; gap: 12px; max-width: 250px; }
    .hero-badge-text { display: flex; flex-direction: column; gap: 3px; }
    .hero-badge-icon { flex-shrink: 0; margin-top: 2px; }
    @media (max-width: 600px) {
      .hero-badge { max-width: calc(100% - 32px); }
    }

    /* ─── ADSENSE SLOTS ───────────────────────────── */
    /* Reglas generales de Google AdSense:
       - No imitar botones ni elementos de UI
       - Mínimo 150px de distancia de otros anuncios
       - Máximo 3 anuncios por página en móvil
       - Etiquetar claramente con "Publicidad" o "Anuncio"
       - No colocar junto al contenido de descarga o formularios
    */
    .ad-slot {
      width: 100%;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 6px;
    }
    .ad-slot-label {
      font-size: .68rem;
      color: var(--text-light);
      text-transform: uppercase;
      letter-spacing: .8px;
      font-weight: 500;
      align-self: flex-start;
    }
    .ad-slot-inner {
      width: 100%;
      background: var(--bg-light);
      border: 1px dashed var(--border);
      border-radius: var(--radius);
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--text-light);
      font-size: .78rem;
      font-weight: 500;
      overflow: hidden;
    }
    /* Tamaños estándar AdSense */
    .ad-leaderboard .ad-slot-inner  { min-height: 90px; }   /* 728×90 desktop / 320×50 mobile */
    .ad-rectangle .ad-slot-inner    { min-height: 250px; }  /* 336×280 recomendado */
    .ad-banner .ad-slot-inner       { min-height: 60px; }   /* 320×50 mobile sticky */

    /* Wrapper de sección para anuncios entre secciones */
    .ad-between {
      background: var(--white);
      padding: 20px 0;
      border-top: 1px solid var(--border);
      border-bottom: 1px solid var(--border);
    }
    .ad-between .container { display: flex; justify-content: center; }

    /* Sticky bottom banner móvil */
    .ad-sticky-mobile {
      display: none;
      position: fixed;
      bottom: 0; left: 0; right: 0;
      background: var(--white);
      border-top: 1px solid var(--border);
      padding: 8px 16px;
      z-index: 150;
      box-shadow: 0 -2px 12px rgba(0,0,0,.08);
      align-items: center;
      justify-content: center;
      gap: 10px;
    }
    .ad-sticky-mobile .ad-slot-label { align-self: center; margin: 0; }
    .ad-sticky-close {
      position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
      background: none; border: none; cursor: pointer;
      font-size: 1rem; color: var(--text-muted); padding: 4px 8px;
      line-height: 1;
    }
    @media (max-width: 768px) {
      .ad-sticky-mobile { display: flex; }
      /* Añadir padding al body para que el footer no quede oculto bajo el banner */
      body { padding-bottom: 76px; }
      /* En desktop los rectángulos grandes no se muestran */
      .ad-desktop-only { display: none !important; }
    }
    @media (min-width: 769px) {
      .ad-mobile-only { display: none !important; }
      body { padding-bottom: 0; }
    }

/* ── Newsletter form feedback (added) ──────────────────────── */
  font-size: .78rem; line-height: 1.4; margin-top: 8px;
  min-height: 1.2em;
}
.newsletter-msg--ok    { color: #5eead4; }
.newsletter-msg--error { color: #fca5a5; }

.footer-newsletter form.input-row { position: relative; }
.footer-newsletter button:disabled { opacity: .6; cursor: default; }

/* ================================================================
   UNIDADES DE ANUNCIO (AdSense)
   Los bloques .ad-unit solo son visibles cuando AdSense está
   activo — render_ad() no produce HTML si ADSENSE_CLIENT no
   está configurado, así que en staging no ocupan espacio.
================================================================ */
.ad-unit { width: 100%; overflow: hidden; }
.ad-unit--article {
  margin: 28px 0;
  min-height: 90px; /* reserva espacio antes de cargar el anuncio */
}
.ad-unit--sidebar {
  margin-top: 20px;
  min-height: 250px;
}
.ad-unit--footer {
  max-width: 1200px; margin: 0 auto 24px; padding: 0 20px;
  min-height: 90px;
}
/* Asegura que la etiqueta <ins> ocupe el ancho disponible */
.ad-unit .adsbygoogle { display: block; }
