/* Todo Senderismo — hoja de estilos principal
   Mobile-first, sin fuentes ni librerías externas (carga rápida). */

:root {
  --verde: #2f6b3d;
  --verde-osc: #234f2d;
  --verde-claro: #e7f2e9;
  --tierra: #b7714a;
  --naranja: #e07b39;
  --texto: #1f2a24;
  --texto-suave: #5a6b60;
  --fondo: #f4f8f3;
  --fondo-alt: #e9f3ea;
  --borde: #e2e8e2;
  --sombra: 0 2px 8px rgba(30, 50, 35, .07);
  --sombra-hover: 0 6px 20px rgba(30, 50, 35, .13);
  --radio: 14px;
  --ancho: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--texto);
  background: var(--fondo);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

/* ---------- Fondo interactivo (manchas de color que siguen al ratón) ---------- */
.bg-fx {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.bg-fx .blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .55;
  will-change: transform;
  transition: transform .6s ease-out;
}
.bg-fx .cursor-glow {
  position: fixed;
  top: 0; left: 0;
  width: 46vw; height: 46vw;
  margin-left: -23vw; margin-top: -23vw;
  border-radius: 50%;
  filter: blur(60px);
  opacity: .55;
  will-change: transform;
  transition: transform .22s ease-out;
  background: radial-gradient(circle at 50% 50%, rgba(224,123,57,.42), rgba(61,122,76,.30) 45%, transparent 70%);
}
.bg-fx .b1 { width: 46vw; height: 46vw; top: -8vw; left: -6vw;
  background: radial-gradient(circle at 50% 50%, rgba(61,122,76,.55), transparent 68%); }
.bg-fx .b2 { width: 40vw; height: 40vw; top: 18vw; right: -10vw;
  background: radial-gradient(circle at 50% 50%, rgba(224,123,57,.34), transparent 68%); }
.bg-fx .b3 { width: 42vw; height: 42vw; bottom: -12vw; left: 12vw;
  background: radial-gradient(circle at 50% 50%, rgba(47,107,61,.40), transparent 70%); }
.bg-fx .b4 { width: 34vw; height: 34vw; bottom: 6vw; right: 8vw;
  background: radial-gradient(circle at 50% 50%, rgba(90,170,150,.30), transparent 70%); }
@media (prefers-reduced-motion: reduce) { .bg-fx .blob { transition: none; } }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--verde); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: var(--ancho); margin: 0 auto; padding: 0 18px; }

/* ---------- Cabecera ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--borde);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 62px;
}
.logo { font-weight: 800; font-size: 1.25rem; color: var(--verde-osc); display: flex; align-items: center; gap: 8px; }
.logo:hover { text-decoration: none; }
.logo .emoji { font-size: 1.4rem; }

.nav-toggle {
  display: none; background: none; border: 0; font-size: 1.6rem; cursor: pointer; color: var(--verde-osc); line-height: 1;
}
.main-nav ul { list-style: none; display: flex; gap: 6px; margin: 0; padding: 0; flex-wrap: wrap; }
.main-nav a {
  display: block; padding: 8px 12px; border-radius: 9px; color: var(--texto);
  font-weight: 600; font-size: .96rem;
}
.main-nav a:hover { background: var(--verde-claro); text-decoration: none; color: var(--verde-osc); }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute; left: 0; right: 0; top: 62px; background: #fff;
    border-bottom: 1px solid var(--borde); box-shadow: var(--sombra);
    max-height: 0; overflow: hidden; transition: max-height .28s ease;
  }
  .main-nav.open { max-height: 460px; }
  .main-nav ul { flex-direction: column; gap: 0; padding: 8px 12px 14px; }
  .main-nav a { padding: 12px 10px; border-radius: 8px; }
}

/* ---------- Hero ---------- */
.hero {
  background:
    linear-gradient(180deg, rgba(35,79,45,.86), rgba(35,79,45,.92)),
    radial-gradient(circle at 20% 15%, #3d7a4c, transparent 55%),
    radial-gradient(circle at 85% 90%, #1c3d24, transparent 55%),
    #2f6b3d;
  color: #fff; padding: 62px 0 66px; text-align: center;
}
.hero h1 { font-size: 2.1rem; margin: 0 0 14px; line-height: 1.15; font-weight: 800; letter-spacing: -.5px; }
.hero p { font-size: 1.12rem; max-width: 660px; margin: 0 auto 26px; color: #e6f0e8; }
.hero .btn-hero {
  display: inline-block; background: var(--naranja); color: #fff; font-weight: 700;
  padding: 13px 26px; border-radius: 999px; font-size: 1.02rem; box-shadow: var(--sombra);
}
.hero .btn-hero:hover { background: #cf6b2c; text-decoration: none; }

/* ---------- Secciones ---------- */
section { padding: 46px 0; position: relative; }
.section-alt { background: rgba(233, 243, 234, .72); backdrop-filter: blur(2px); }
h2 { font-size: 1.6rem; margin: 0 0 8px; color: var(--verde-osc); letter-spacing: -.3px; }
.section-sub { color: var(--texto-suave); margin: 0 0 26px; font-size: 1.02rem; }
.eyebrow { text-transform: uppercase; letter-spacing: 1.5px; font-size: .74rem; font-weight: 700; color: var(--tierra); margin: 0 0 6px; }

/* ---------- Rejilla de categorías ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.cat-card {
  background: #fff; border: 1px solid var(--borde); border-radius: var(--radio);
  padding: 24px 22px; box-shadow: var(--sombra); transition: transform .18s, box-shadow .18s;
  display: block; color: inherit;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--sombra-hover); text-decoration: none; }
.cat-card .ico { font-size: 2.1rem; margin-bottom: 10px; }
.cat-card h3 { margin: 0 0 6px; font-size: 1.22rem; color: var(--verde-osc); }
.cat-card p { margin: 0; color: var(--texto-suave); font-size: .96rem; }
.cat-card .subs { margin-top: 12px; font-size: .86rem; color: var(--tierra); font-weight: 600; }

/* ---------- Bloques "por qué diferentes" ---------- */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.why-item { text-align: center; padding: 8px; }
.why-item .ico { font-size: 2rem; }
.why-item h3 { margin: 8px 0 6px; font-size: 1.1rem; color: var(--verde-osc); }
.why-item p { margin: 0; color: var(--texto-suave); font-size: .96rem; }

/* ---------- Contenido / prosa ---------- */
.prose { max-width: 760px; }
.prose p { margin: 0 0 16px; }
.prose h2 { font-size: 1.5rem; margin: 34px 0 10px; }
.prose h3 { font-size: 1.2rem; margin: 26px 0 8px; color: var(--verde-osc); }
.prose ul, .prose ol { margin: 0 0 18px; padding-left: 22px; }
.prose li { margin-bottom: 7px; }
.prose strong { color: var(--verde-osc); }
.prose hr { border: 0; border-top: 1px solid var(--borde); margin: 30px 0; }
.prose a { text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Ficha / tarjeta de producto ---------- */
.prod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; }
.prod-card {
  background: #fff; border: 1px solid var(--borde); border-radius: var(--radio);
  overflow: hidden; box-shadow: var(--sombra); display: flex; flex-direction: column;
  transition: transform .18s, box-shadow .18s;
}
.prod-card:hover { transform: translateY(-3px); box-shadow: var(--sombra-hover); }
.prod-thumb { aspect-ratio: 1/1; background: #fff; border-bottom: 1px solid var(--borde); display: flex; align-items: center; justify-content: center; position: relative; }
.prod-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 10px; }
.prod-thumb .ph { font-size: 3rem; opacity: .5; }
.badge-ph {
  position: absolute; top: 8px; left: 8px; background: var(--tierra); color: #fff;
  font-size: .68rem; font-weight: 700; padding: 3px 8px; border-radius: 999px; letter-spacing: .5px;
}
.prod-body { padding: 15px 16px 18px; display: flex; flex-direction: column; flex: 1; }
.prod-body h3 { font-size: 1rem; margin: 0 0 6px; line-height: 1.35; }
.prod-body h3 a { color: var(--texto); }
.prod-desc { color: var(--texto-suave); font-size: .9rem; margin: 0 0 12px; flex: 1; }
.prod-tier { font-size: .82rem; color: var(--tierra); font-weight: 700; margin-bottom: 10px; }
.btn-amazon {
  display: block; text-align: center; background: var(--naranja); color: #fff; font-weight: 700;
  padding: 11px 14px; border-radius: 10px; font-size: .95rem; transition: background .15s;
}
.btn-amazon:hover { background: #cf6b2c; text-decoration: none; }

/* ---------- Ficha de producto individual ---------- */
.product-page { display: grid; grid-template-columns: 1fr; gap: 30px; }
@media (min-width: 780px) { .product-page { grid-template-columns: 1fr 1fr; align-items: start; } }
.product-page .img-box { background: #fff; border: 1px solid var(--borde); border-radius: var(--radio); aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; }
.product-page .img-box .ph { font-size: 5rem; opacity: .5; }
.product-page h1 { font-size: 1.7rem; margin: 0 0 10px; color: var(--texto); }
.feature-list { list-style: none; padding: 0; margin: 16px 0 24px; }
.feature-list li { padding: 7px 0 7px 28px; position: relative; }
.feature-list li::before { content: "✓"; position: absolute; left: 0; color: var(--verde); font-weight: 800; }
.btn-amazon-lg { display: inline-block; background: var(--naranja); color: #fff; font-weight: 700; padding: 15px 34px; border-radius: 999px; font-size: 1.08rem; }
.btn-amazon-lg:hover { background: #cf6b2c; text-decoration: none; }
.price-note { font-size: .86rem; color: var(--texto-suave); margin-top: 10px; }

/* ---------- Migas de pan ---------- */
.breadcrumbs { font-size: .86rem; color: var(--texto-suave); padding: 16px 0 0; }
.breadcrumbs a { color: var(--texto-suave); }
.breadcrumbs span { margin: 0 6px; opacity: .6; }

/* ---------- Subcategorías chips ---------- */
.subcat-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 34px; }
.subcat-chips a {
  background: #fff; border: 1px solid var(--borde); padding: 9px 16px; border-radius: 999px;
  font-weight: 600; font-size: .92rem; color: var(--verde-osc); box-shadow: var(--sombra);
}
.subcat-chips a:hover { background: var(--verde-claro); text-decoration: none; }

/* ---------- Tarjetas de artículo ---------- */
.article-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.article-card {
  background: #fff; border: 1px solid var(--borde); border-radius: var(--radio); overflow: hidden;
  box-shadow: var(--sombra); transition: transform .18s, box-shadow .18s;
}
.article-card:hover { transform: translateY(-3px); box-shadow: var(--sombra-hover); }
.article-card .top { background: linear-gradient(135deg, var(--verde), var(--verde-osc)); height: 90px; display:flex; align-items:center; justify-content: space-between; padding: 0 20px; }
.article-card .top.has-photo { height: 130px; background-size: cover; background-position: center; align-items: flex-start; padding-top: 14px; }
.article-card .read-time { color: #fff; font-size: .74rem; font-weight: 600; opacity: .92; white-space: nowrap; }
.article-card .top .tag { background: rgba(255,255,255,.2); color:#fff; font-size:.72rem; font-weight:700; padding:4px 10px; border-radius:999px; text-transform:uppercase; letter-spacing:.5px; }
.article-card .body { padding: 18px 20px 22px; }
.article-card h3 { margin: 0 0 8px; font-size: 1.15rem; color: var(--verde-osc); }
.article-card p { margin: 0; color: var(--texto-suave); font-size: .94rem; }

/* ---------- Consejos principiantes ---------- */
.tips-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; margin-top: 22px; }
.tip-item { display: flex; gap: 14px; background: #fff; border: 1px solid var(--borde); border-radius: var(--radio); padding: 18px 20px; box-shadow: var(--sombra); }
.tip-item .ico { font-size: 1.7rem; line-height: 1; }
.tip-item h3 { margin: 0 0 4px; font-size: 1.02rem; color: var(--verde-osc); }
.tip-item p { margin: 0; color: var(--texto-suave); font-size: .92rem; }

/* ---------- Imprescindibles según ruta ---------- */
.essentials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; margin-top: 24px; }
.essential-card { background: #fff; border: 1px solid var(--borde); border-radius: var(--radio); padding: 20px; box-shadow: var(--sombra); }
.essential-card .head { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 12px; }
.essential-card .head .ico { font-size: 1.9rem; line-height: 1; }
.essential-card h3 { margin: 0; font-size: 1.08rem; color: var(--verde-osc); }
.essential-card .desc { font-size: .85rem; color: var(--texto-suave); }
.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li { padding: 6px 0 6px 24px; position: relative; font-size: .93rem; border-top: 1px solid var(--fondo-alt); }
.check-list li:first-child { border-top: 0; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--verde); font-weight: 800; }
.check-list a { color: var(--texto); }
.check-list a:hover { color: var(--verde); }

/* ---------- Datos rápidos de producto (de un vistazo) ---------- */
.spec-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; }
.spec-chips span { background: var(--verde-claro); color: var(--verde-osc); font-size: .76rem; font-weight: 600; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.spec-list { list-style: none; padding: 0; margin: 16px 0 22px; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px 20px; }
.spec-list li { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--borde); font-size: .92rem; }
.spec-list li .k { color: var(--texto-suave); }
.spec-list li .v { font-weight: 600; color: var(--verde-osc); text-align: right; }
.rating-inline { display: inline-flex; align-items: center; gap: 6px; font-size: .86rem; color: var(--texto-suave); margin-bottom: 10px; }
.rating-inline .stars { color: #e0a52f; font-weight: 700; }

/* ---------- Artículo (guías) ---------- */
.article-hero { background: linear-gradient(155deg, #35784a, #1f4a2c); color: #fff; padding: 30px 0 40px; }
.article-hero.has-photo { background-size: cover; background-position: center; padding: 46px 0 52px; }
.article-hero .breadcrumbs, .article-hero .breadcrumbs a { color: #bcd6c2; padding-top: 0; }
.article-hero .tag-pill { display: inline-block; background: var(--naranja); color: #fff; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; padding: 4px 12px; border-radius: 999px; margin: 10px 0 12px; }
.article-hero h1 { font-size: 2rem; line-height: 1.18; margin: 0 0 14px; max-width: 820px; color: #fff; letter-spacing: -.4px; }
.article-hero .lead { font-size: 1.12rem; color: #e6f0e8; max-width: 720px; margin: 0 0 18px; }
.article-hero .article-meta { display: flex; gap: 18px; font-size: .88rem; color: #cfe0d3; flex-wrap: wrap; }

.article-layout { max-width: 760px; margin: 0 auto; }
.article-body { font-size: 1.06rem; line-height: 1.78; }
.toc { background: #fff; border: 1px solid var(--borde); border-radius: var(--radio); padding: 18px 20px; box-shadow: var(--sombra); margin-bottom: 26px; }
.toc h4 { margin: 0 0 10px; font-size: .76rem; text-transform: uppercase; letter-spacing: .6px; color: var(--tierra); }
.toc ul { list-style: none; margin: 0; padding: 0; }
.toc li { margin-bottom: 8px; line-height: 1.35; padding-left: 16px; position: relative; }
.toc li::before { content: "›"; position: absolute; left: 0; color: var(--verde); font-weight: 800; }
.toc a { color: var(--texto); font-size: .92rem; font-weight: 600; }
.toc a:hover { color: var(--verde); }

@media (min-width: 900px) {
  .article-layout.has-toc { max-width: 1020px; display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 44px; align-items: start; }
  .article-layout.has-toc .toc { position: sticky; top: 78px; margin-bottom: 0; }
}

/* Tipografía enriquecida de la prosa (guías, categorías y rutas) */
.prose h2 { position: relative; padding-left: 15px; margin: 40px 0 14px; font-size: 1.5rem; }
.prose h2::before { content: ""; position: absolute; left: 0; top: .12em; bottom: .12em; width: 5px; border-radius: 4px; background: linear-gradient(var(--verde), var(--naranja)); }
.prose h2, .prose h3 { scroll-margin-top: 80px; }
.prose ul { list-style: none; padding-left: 2px; }
.prose ul li { position: relative; padding-left: 28px; margin-bottom: 10px; }
.prose ul li::before { content: "✓"; position: absolute; left: 4px; top: 0; color: var(--verde); font-weight: 800; }
.prose ol { counter-reset: li; list-style: none; padding-left: 2px; }
.prose ol li { position: relative; padding-left: 40px; margin-bottom: 12px; counter-increment: li; min-height: 26px; }
.prose ol li::before { content: counter(li); position: absolute; left: 0; top: -1px; width: 26px; height: 26px; background: var(--verde); color: #fff; border-radius: 50%; font-size: .82rem; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.prose blockquote { background: var(--fondo-alt); border-left: 4px solid var(--tierra); border-radius: 0 12px 12px 0; padding: 14px 20px; margin: 24px 0; color: var(--texto); }
.prose blockquote p { margin: 0; }
.prose p.cta { background: linear-gradient(135deg, var(--verde-claro), #ffffff); border: 1px solid #cfe6d4; border-left: 5px solid var(--verde); border-radius: 12px; padding: 15px 20px; font-weight: 600; margin: 26px 0; }
.prose p.cta a { text-decoration: none; }
.prose img { border-radius: 12px; }

/* ---------- Rutas ---------- */
.route-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 22px; }
.route-card { background: #fff; border: 1px solid var(--borde); border-radius: var(--radio); overflow: hidden; box-shadow: var(--sombra); transition: transform .18s, box-shadow .18s; display: flex; flex-direction: column; }
.route-card:hover { transform: translateY(-3px); box-shadow: var(--sombra-hover); }
.route-top { height: 84px; padding: 14px 16px; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; color: #fff; }
.route-top .loc { font-size: .82rem; font-weight: 600; background: rgba(0,0,0,.18); padding: 3px 9px; border-radius: 999px; }
.route-top.dif-facil { background: linear-gradient(135deg, #3d9a58, #24713f); }
.route-top.dif-media { background: linear-gradient(135deg, #e0913a, #c26a1e); }
.route-top.dif-dificil { background: linear-gradient(135deg, #c85442, #a5372e); }
.route-top { position: relative; overflow: hidden; }
.route-top.has-photo { height: 155px; background-size: cover; background-position: center; }
.route-top.has-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16,54,36,.12) 0%, rgba(0,0,0,.02) 45%, rgba(16,54,36,.62) 100%); }
.route-top .loc, .route-top .dif-badge { position: relative; z-index: 1; }
.route-hero { width: 100%; height: 300px; object-fit: cover; border-radius: var(--radio); margin: 18px 0 6px; box-shadow: var(--sombra); }
.dif-badge { background: rgba(255,255,255,.24); color: #fff; font-size: .74rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; text-transform: uppercase; letter-spacing: .5px; }
.dif-badge.inline { display: inline-block; }
.dif-badge.inline.dif-facil { background: #3d9a58; }
.dif-badge.inline.dif-media { background: #e0913a; }
.dif-badge.inline.dif-dificil { background: #c85442; }
.route-body { padding: 16px 18px 20px; }
.route-body h3 { margin: 0 0 8px; font-size: 1.15rem; color: var(--verde-osc); }
.route-meta { display: flex; flex-wrap: wrap; gap: 12px; font-size: .84rem; color: var(--texto-suave); margin-bottom: 10px; font-weight: 600; }
.route-body p { margin: 0; color: var(--texto-suave); font-size: .94rem; }

.route-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 12px; margin-top: 20px; background: #fff; border: 1px solid var(--borde); border-radius: var(--radio); padding: 18px; box-shadow: var(--sombra); }
.route-stats > div { display: flex; flex-direction: column; text-align: center; }
.route-stats .k { font-size: .72rem; text-transform: uppercase; letter-spacing: .5px; color: var(--texto-suave); }
.route-stats .v { font-size: 1.05rem; font-weight: 700; color: var(--verde-osc); margin-top: 2px; }

.gear-box { background: var(--verde-claro); border: 1px solid #cfe6d4; border-radius: var(--radio); padding: 20px 24px; margin: 30px 0 10px; max-width: 760px; }
.gear-box h3 { margin: 0 0 10px; color: var(--verde-osc); font-size: 1.12rem; }
.route-disclaimer { font-size: .84rem; color: var(--texto-suave); background: var(--fondo-alt); border-radius: 10px; padding: 14px 16px; margin-top: 26px; max-width: 760px; line-height: 1.55; }

/* ---------- Bloque de guía relacionada ---------- */
.callout { background: var(--verde-claro); border-left: 4px solid var(--verde); border-radius: 10px; padding: 18px 20px; margin: 26px 0; }
.callout p { margin: 0; }

/* ---------- Pie ---------- */
.site-footer { background: var(--verde-osc); color: #cfe0d3; padding: 44px 0 26px; margin-top: 20px; font-size: .92rem; }
.site-footer a { color: #fff; }
.footer-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 26px; margin-bottom: 28px; }
.footer-cols h4 { color: #fff; margin: 0 0 12px; font-size: 1rem; }
.footer-cols ul { list-style: none; margin: 0; padding: 0; }
.footer-cols li { margin-bottom: 8px; }
.disclaimer { border-top: 1px solid rgba(255,255,255,.15); padding-top: 20px; font-size: .82rem; color: #a9c4b2; line-height: 1.6; }
.copyright { margin-top: 14px; font-size: .82rem; color: #94b39f; }

/* ---------- Aviso de cookies ---------- */
.cookie-bar {
  position: fixed; left: 12px; right: 12px; bottom: 12px; max-width: 620px; margin: 0 auto;
  background: #fff; border: 1px solid var(--borde); border-radius: 14px; box-shadow: var(--sombra-hover);
  padding: 16px 18px; z-index: 100; display: none;
}
.cookie-bar.show { display: block; }
.cookie-bar p { margin: 0 0 12px; font-size: .9rem; color: var(--texto-suave); }
.cookie-bar .actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-bar button {
  border: 0; border-radius: 9px; padding: 9px 18px; font-weight: 700; cursor: pointer; font-size: .9rem;
}
.cookie-accept { background: var(--verde); color: #fff; }
.cookie-reject { background: var(--fondo-alt); color: var(--texto); border: 1px solid var(--borde) !important; }

@media (min-width: 640px) { .hero h1 { font-size: 2.6rem; } h2 { font-size: 1.9rem; } }

/* ============ Movimiento: aparición al hacer scroll ============ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: none; }

/* Entrada del hero al cargar */
@keyframes heroUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
.hero h1 { animation: heroUp .7s cubic-bezier(.2,.7,.2,1) both; }
.hero p { animation: heroUp .7s cubic-bezier(.2,.7,.2,1) .12s both; }
.hero .btn-hero { animation: heroUp .7s cubic-bezier(.2,.7,.2,1) .24s both; }

/* Deriva ambiente del fondo (respiración suave de las manchas) */
@keyframes blobBreathe { 0%, 100% { opacity: .5; } 50% { opacity: .66; } }
.bg-fx .b1 { animation: blobBreathe 9s ease-in-out infinite; }
.bg-fx .b2 { animation: blobBreathe 11s ease-in-out infinite -3s; }
.bg-fx .b3 { animation: blobBreathe 10s ease-in-out infinite -6s; }
.bg-fx .b4 { animation: blobBreathe 12s ease-in-out infinite -2s; }

/* Microinteracciones en tarjetas y botón */
.cat-card .ico, .essential-card .ico, .why-item .ico, .tip-item .ico { transition: transform .25s cubic-bezier(.2,.7,.2,1); display: inline-block; }
.cat-card:hover .ico, .essential-card:hover .ico, .why-item:hover .ico, .tip-item:hover .ico { transform: scale(1.14) rotate(-4deg); }
.btn-hero { transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.btn-hero:hover { transform: translateY(-2px); box-shadow: var(--sombra-hover); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none; }
  .hero h1, .hero p, .hero .btn-hero { animation: none; }
  .bg-fx .b1, .bg-fx .b2, .bg-fx .b3, .bg-fx .b4 { animation: none; }
  .cat-card:hover .ico, .essential-card:hover .ico, .why-item:hover .ico, .tip-item:hover .ico, .btn-hero:hover { transform: none; }
}

/* ============ FAQ (preguntas frecuentes) ============ */
.faq-block { margin-top: 42px; }
.faq-block > h2 { margin-bottom: 16px; }
.faq-item { border: 1px solid var(--borde); border-radius: var(--radio); background: #fff; margin-bottom: 12px; box-shadow: var(--sombra); overflow: hidden; }
.faq-item > .faq-q { cursor: pointer; list-style: none; padding: 16px 46px 16px 18px; font-weight: 700; color: var(--verde-osc); position: relative; font-size: 1.04rem; }
.faq-item > .faq-q::-webkit-details-marker { display: none; }
.faq-item > .faq-q::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 400; color: var(--naranja); line-height: 1; }
.faq-item[open] > .faq-q::after { content: "\2212"; }
.faq-item .faq-a { padding: 2px 18px 18px; color: var(--texto-suave); line-height: 1.65; }

/* ============ Tabla comparativa ============ */
.table-wrap { overflow-x: auto; margin: 24px 0; border: 1px solid var(--borde); border-radius: var(--radio); box-shadow: var(--sombra); -webkit-overflow-scrolling: touch; }
.cmp-table { border-collapse: collapse; width: 100%; min-width: 480px; background: #fff; font-size: .95rem; }
.cmp-table th, .cmp-table td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--borde); vertical-align: top; }
.cmp-table thead th { background: var(--verde); color: #fff; font-weight: 700; white-space: nowrap; }
.cmp-table tbody tr:nth-child(even) { background: rgba(0,0,0,.025); }
.cmp-table tbody tr:hover { background: var(--verde-claro); }
.cmp-table tbody tr:last-child td { border-bottom: 0; }
.cmp-table td:first-child { font-weight: 600; color: var(--verde-osc); }
