/* Pequeñas Soluciones — estilos (rediseño 2026-11).
   Colores de marca: azul #1E5FD8, amarillo #FFC83D, azul muy oscuro #0E1B3D.
   Todo color sale de las variables de :root; el modo oscuro solo las cambia. */

:root {
  --bg: #F5F7FC;
  --surface: #FFFFFF;
  --surface-2: #EAF0FB;
  --ink: #0E1B3D;
  --muted: #4B5A7A;
  --line: #DCE4F3;
  --brand: #1E5FD8;
  --brand-strong: #164AB0;
  --on-brand: #FFFFFF;
  --sun: #FFC83D;
  --sun-strong: #E8A800;
  --on-sun: #0E1B3D;
  --idea-bg: #FFF5D6;
  --idea-line: #F6D77E;
  --hero-a: #2265E0;
  --hero-b: #1748A8;
  --foto-bg: #FFFFFF;
  --star: #E8A800;
  --heart: #E0394A;
  --whats: #1A9E4B;
  --shadow: 0 1px 2px rgba(14, 27, 61, .06), 0 8px 24px rgba(14, 27, 61, .08);
  --shadow-up: 0 2px 6px rgba(14, 27, 61, .08), 0 18px 40px rgba(14, 27, 61, .16);
  --radius: 22px;
  --gutter: 16px;
  --f-titulo: "Fredoka", "Plus Jakarta Sans", system-ui, sans-serif;
  --f-texto: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0A1022;
    --surface: #121B33;
    --surface-2: #17234A;
    --ink: #EEF2FB;
    --muted: #A9B5CF;
    --line: #26335C;
    --brand: #7AA5FF;
    --brand-strong: #A3C1FF;
    --on-brand: #0A1022;
    --idea-bg: #231F12;
    --idea-line: #5A4A17;
    --hero-a: #163E9A;
    --hero-b: #0C2260;
    --foto-bg: #F4F6FB;
    --star: #FFC83D;
    --heart: #FF6B78;
    --whats: #3DDC7A;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .35);
    --shadow-up: 0 2px 6px rgba(0, 0, 0, .35), 0 18px 40px rgba(0, 0, 0, .5);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0A1022;
  --surface: #121B33;
  --surface-2: #17234A;
  --ink: #EEF2FB;
  --muted: #A9B5CF;
  --line: #26335C;
  --brand: #7AA5FF;
  --brand-strong: #A3C1FF;
  --on-brand: #0A1022;
  --idea-bg: #231F12;
  --idea-line: #5A4A17;
  --hero-a: #163E9A;
  --hero-b: #0C2260;
  --foto-bg: #F4F6FB;
  --star: #FFC83D;
  --heart: #FF6B78;
  --whats: #3DDC7A;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .35);
  --shadow-up: 0 2px 6px rgba(0, 0, 0, .35), 0 18px 40px rgba(0, 0, 0, .5);
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.55 var(--f-texto);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
a { color: var(--brand); }
button { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--f-titulo); line-height: 1.12; margin: 0; letter-spacing: -.01em; }
h2 { font-size: clamp(1.6rem, 5.5vw, 2.2rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 8px; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 720px) { :root { --gutter: 24px; } }

.saltar {
  position: absolute; left: 12px; top: -60px; z-index: 50;
  background: var(--sun); color: var(--on-sun); padding: 10px 14px; border-radius: 12px; font-weight: 700;
}
.saltar:focus { top: 12px; }

.ico { width: 20px; height: 20px; }
.antetitulo {
  font-weight: 700; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--brand); margin-bottom: 4px;
}

/* ---------- Barra de arriba ---------- */
.barra {
  position: sticky; top: 0; z-index: 30;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}
.barra-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; }
.marca { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; min-width: 0; }
.marca-logo { width: 38px; height: 38px; border-radius: 11px; flex: none; }
.marca-nombre { font-family: var(--f-titulo); font-weight: 600; font-size: 1.1rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.barra-acciones { display: flex; align-items: center; gap: 6px; flex: none; }

.boton-icono {
  display: inline-grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink);
  cursor: pointer; text-decoration: none;
  transition: transform .2s, background-color .2s;
}
.boton-icono:hover { transform: translateY(-1px); }
.boton-icono:active { transform: scale(.94); }
#tema .ico-sol { display: none; }
#tema[data-modo="dark"] .ico-sol { display: block; }
#tema[data-modo="dark"] .ico-luna { display: none; }

.redes { display: flex; gap: 6px; }
.redes-texto { flex-wrap: wrap; gap: 8px; }
.red-texto {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--surface); color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem;
}
@media (max-width: 380px) { .marca-nombre { font-size: 1rem; } .redes-iconos .boton-icono { width: 36px; height: 36px; } }

/* ---------- Inicio ---------- */
.inicio {
  position: relative; overflow: hidden;
  background:
    radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .13) 1.5px, transparent 0) 0 0 / 22px 22px,
    linear-gradient(160deg, var(--hero-a), var(--hero-b));
  color: #FFFFFF;
  padding: 14px 0 40px;
}
.inicio::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 28px;
  background: var(--bg); border-radius: 28px 28px 0 0;
}
/* En celular: foco a la izquierda y texto a la derecha, para que el carrusel se vea pronto. */
.inicio-in { display: flex; align-items: center; gap: 14px; }
.saludo { font-weight: 700; color: var(--sun); font-size: .9rem; }
.inicio h1 { font-size: clamp(1.55rem, 6.6vw, 3.3rem); font-weight: 700; margin: 2px 0 8px; text-wrap: balance; }
.inicio .sub { color: rgba(255, 255, 255, .88); max-width: 34em; font-size: .92rem; text-wrap: pretty; }
@media (min-width: 820px) {
  .inicio { padding: 40px 0 70px; }
  .inicio-in { gap: 40px; justify-content: center; }
  .saludo { font-size: .95rem; }
  .inicio .sub { font-size: 1rem; }
}

/* ---------- El foco (guía animado) ---------- */
.guia { position: relative; }
.foco {
  display: block; padding: 0; border: 0; background: none; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.foco svg { width: 100%; height: auto; overflow: visible; }
.guia-grande { width: 104px; flex: none; margin-top: 10px; animation: flotar 4.5s ease-in-out infinite; }
@media (min-width: 820px) { .guia-grande { width: 220px; margin-top: 40px; flex: none; } }

.foco .rayos { transform-box: fill-box; transform-origin: 50% 100%; animation: brillo 2.6s ease-in-out infinite; }
.foco .ojos { transform-box: fill-box; transform-origin: 50% 50%; animation: parpadeo 5.5s infinite; }
.foco .brazo { transform-box: view-box; transform-origin: 182px 146px; }
.foco.saluda .brazo { animation: saludo .42s ease-in-out 6 alternate; }
.foco.rebota { animation: rebote .65s cubic-bezier(.3, 1.5, .5, 1); }
.foco.destello .rayos { animation: destello .6s ease-out; }

@keyframes flotar { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes brillo { 0%, 100% { opacity: .7; transform: scale(.92); } 50% { opacity: 1; transform: scale(1.06); } }
@keyframes parpadeo { 0%, 93%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.1); } }
@keyframes saludo { from { transform: rotate(-10deg); } to { transform: rotate(16deg); } }
@keyframes rebote {
  0% { transform: translateY(0) scale(1); }
  30% { transform: translateY(-16px) scale(1.06, .95); }
  60% { transform: translateY(0) scale(.96, 1.04); }
  100% { transform: none; }
}
@keyframes destello { 0% { transform: scale(1); opacity: 1; } 40% { transform: scale(1.35); opacity: 1; } 100% { transform: scale(1); opacity: .8; } }

.globo {
  position: absolute; z-index: 2;
  background: var(--surface); color: var(--ink);
  font-weight: 600; font-size: .92rem; line-height: 1.35;
  padding: 10px 14px; border-radius: 16px; box-shadow: var(--shadow-up);
  width: max-content; max-width: 220px; text-align: left;
  opacity: 0; transform: translateY(6px) scale(.94); pointer-events: none;
  transition: opacity .25s ease, transform .3s cubic-bezier(.3, 1.4, .5, 1);
}
.globo.ver { opacity: 1; transform: none; }
.globo::after {
  content: ""; position: absolute; width: 14px; height: 14px; background: inherit;
  transform: rotate(45deg); border-radius: 3px;
}
.guia-grande .globo { left: 46%; bottom: 88%; max-width: 200px; }
.guia-grande .globo::after { left: 18px; bottom: -6px; }
@media (min-width: 820px) { .guia-grande .globo { left: 30%; bottom: 102%; max-width: 230px; } }

.guia-mini {
  position: fixed; z-index: 40;
  right: max(14px, env(safe-area-inset-right));
  /* --insignia: alto del letrero de Netlify, si está (lo mide app.js) */
  bottom: calc(max(14px, env(safe-area-inset-bottom)) + var(--insignia, 0px));
  width: 60px; height: 60px;
  transition: transform .35s ease, opacity .35s ease, bottom .25s ease;
}
.guia-mini.aparte { transform: translateX(calc(100% + 20px)); opacity: 0; pointer-events: none; }
.guia-mini .foco {
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--surface); border: 2px solid var(--sun); box-shadow: var(--shadow-up);
  padding: 6px 8px 4px;
}
.guia-mini.entra .foco { animation: entra .5s cubic-bezier(.3, 1.5, .5, 1); }
.guia-mini .globo { right: 4px; bottom: 72px; max-width: min(240px, 70vw); }
.guia-mini .globo::after { right: 26px; bottom: -6px; }
@keyframes entra { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- Secciones ---------- */
.seccion { padding: 26px 0 8px; }
.seccion h2 { margin-bottom: 16px; }
.titulo-fila { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.titulo-fila h2 { margin-bottom: 14px; }
.flechas { display: flex; gap: 8px; margin-bottom: 14px; }
.flechas .boton-icono:disabled { opacity: .35; cursor: default; transform: none; }

/* ---------- Carrusel ---------- */
.carrusel {
  display: flex; gap: 14px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter);
  padding: 4px var(--gutter) 18px;
  scrollbar-width: none;
}
.carrusel::-webkit-scrollbar { display: none; }
.carrusel > .tarjeta { flex: 0 0 min(84%, 360px); scroll-snap-align: start; }
@media (min-width: 1000px) {
  .carrusel {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
    max-width: 1120px; margin: 0 auto; overflow: visible;
  }
  .carrusel > .tarjeta { flex: none; }
}
.puntos { display: flex; justify-content: center; gap: 8px; padding-bottom: 6px; }
.puntos button {
  width: 10px; height: 10px; padding: 0; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--line); transition: width .25s, background-color .25s;
}
.puntos button[aria-current="true"] { width: 26px; background: var(--brand); }
@media (min-width: 1000px) { .puntos { display: none; } }

/* ---------- Tarjetas ---------- */
.tarjeta {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
@media (hover: hover) {
  .tarjeta:hover { transform: translateY(-5px); box-shadow: var(--shadow-up); }
}
.tarjeta:active { transform: scale(.99); }

.medio { position: relative; aspect-ratio: 3 / 4; background: #0E1B3D; overflow: hidden; }
.medio video, .medio > img { width: 100%; height: 100%; object-fit: cover; }
.etiqueta {
  position: absolute; top: 12px; left: 12px; z-index: 1;
  background: var(--sun); color: var(--on-sun);
  font-weight: 700; font-size: .78rem; padding: 5px 10px; border-radius: 999px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .2);
}
.chip {
  display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .02em;
  padding: 4px 10px; border-radius: 999px;
  background: var(--surface-2); color: var(--brand);
}
.medio .chip { position: absolute; top: 12px; right: 12px; z-index: 1; background: rgba(14, 27, 61, .72); color: #FFFFFF; }
.play {
  position: absolute; inset: auto 12px 12px auto; z-index: 1;
  width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center;
  background: rgba(14, 27, 61, .72); color: #FFFFFF;
}
.play .ico-pausa { display: none; }
.medio.reproduciendo .play .ico-play { display: none; }
.medio.reproduciendo .play .ico-pausa { display: block; }

.cuerpo { display: flex; flex-direction: column; gap: 8px; padding: 16px 16px 18px; flex: 1; }
.porque { color: var(--muted); font-size: .95rem; }
.calif { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 6px; font-size: .88rem; font-weight: 600; }
.calif .estrella { width: 16px; height: 16px; color: var(--star); }
.calif small { color: var(--muted); font-weight: 500; }

.pie-tarjeta { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 6px; }
.precio { display: flex; flex-direction: column; line-height: 1.15; }
.precio-num { font-family: var(--f-titulo); font-weight: 700; font-size: 1.55rem; }
.precio-aprox { font-weight: 600; font-size: .9rem; color: var(--muted); margin-left: 2px; }
.precio-fila { display: flex; align-items: baseline; }
.precio-fecha { font-size: .76rem; color: var(--muted); margin-top: 3px; }
.precio-ml { font-weight: 600; font-size: .92rem; color: var(--muted); }

.cta { display: flex; flex-direction: column; align-items: center; gap: 4px; flex: none; }
.cta small { font-size: .7rem; color: var(--muted); }
.btn-quiero {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 46px; padding: 10px 20px; border-radius: 999px;
  background: var(--sun); color: var(--on-sun);
  font-weight: 700; font-size: 1rem; text-decoration: none; white-space: nowrap;
  box-shadow: 0 3px 0 var(--sun-strong);
  transition: transform .15s, box-shadow .15s;
}
.btn-quiero:hover { transform: translateY(-1px); box-shadow: 0 4px 0 var(--sun-strong); }
.btn-quiero:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--sun-strong); }
.btn-quiero .ico { width: 18px; height: 18px; }

/* Tarjeta chica (rejilla) */
.rejilla { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 720px) { .rejilla { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } }
@media (min-width: 1000px) { .rejilla { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.mini .foto { aspect-ratio: 1; background: var(--foto-bg); display: grid; place-items: center; overflow: hidden; }
.mini .foto img { width: 100%; height: 100%; object-fit: contain; transition: transform .4s ease; }
@media (hover: hover) { .mini:hover .foto img { transform: scale(1.05); } }
.mini .cuerpo { padding: 12px 12px 14px; gap: 6px; }
.cuerpo > .chip { align-self: flex-start; }
.mini h3 { font-size: 1rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mini .porque { font-size: .85rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.mini .calif { font-size: .8rem; }
.mini .calif small, .mini .calif .sep { display: none; }
.mini .calif .vendidos { flex-basis: 100%; font-weight: 500; color: var(--muted); }
.mini .pie-tarjeta { flex-direction: column; align-items: stretch; gap: 8px; }
.mini .precio-num { font-size: 1.3rem; }
.mini .btn-quiero { width: 100%; min-height: 42px; padding: 8px 12px; font-size: .95rem; }
.tarjeta.resaltado { outline: 3px solid var(--sun); outline-offset: 2px; }

/* ---------- Corazón y WhatsApp ---------- */
.acciones { display: flex; gap: 6px; flex: none; }
.accion {
  display: grid; place-items: center; flex: none;
  width: 38px; height: 38px; padding: 0; border-radius: 50%;
  border: 1px solid var(--line); background: var(--surface); color: var(--muted);
  cursor: pointer; text-decoration: none;
  transition: transform .15s, color .2s, background-color .2s;
}
.accion .ico { width: 19px; height: 19px; }
@media (hover: hover) { .accion:hover { transform: translateY(-1px); color: var(--ink); } }
.accion:active { transform: scale(.9); }
.whats { color: var(--whats); }
@media (hover: hover) { .whats:hover { color: var(--whats); } }
.fav[aria-pressed="true"] { color: var(--heart); border-color: color-mix(in srgb, var(--heart) 45%, var(--line)); }
.fav[aria-pressed="true"] path { fill: currentColor; }
.fav.late { animation: latido .45s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes latido { 0% { transform: scale(1); } 40% { transform: scale(1.28); } 100% { transform: scale(1); } }

.titulo-tarjeta { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.titulo-tarjeta h3 { padding-top: 6px; }
.mini .foto { position: relative; }
.mini .acciones { position: absolute; top: 8px; right: 8px; z-index: 1; flex-direction: column; }
.mini .accion { width: 36px; height: 36px; box-shadow: 0 2px 8px rgba(14, 27, 61, .14); }
.idea-arriba { display: flex; align-items: center; justify-content: space-between; gap: 10px; }

/* ---------- Buscador y filtros ---------- */
.oculto { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.herramientas { display: grid; gap: 12px; margin-bottom: 18px; }
.buscador { position: relative; max-width: 520px; }
.buscador .lupa { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.buscador input {
  width: 100%; height: 50px; padding: 0 48px 0 46px;
  border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink);
  font: 500 16px var(--f-texto); box-shadow: var(--shadow);
  -webkit-appearance: none; appearance: none;
}
.buscador input::placeholder { color: var(--muted); opacity: .85; }
.buscador input::-webkit-search-cancel-button { -webkit-appearance: none; }
.buscador input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 25%, transparent); }
.limpiar {
  position: absolute; right: 7px; top: 50%; transform: translateY(-50%);
  width: 36px; height: 36px; border-radius: 50%; border: 0; display: grid; place-items: center;
  background: var(--surface-2); color: var(--ink); cursor: pointer;
}
.limpiar .ico { width: 16px; height: 16px; }

.filtros {
  display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
  margin: 0 calc(var(--gutter) * -1); padding: 2px var(--gutter) 4px;
}
.filtros::-webkit-scrollbar { display: none; }
.filtro {
  display: inline-flex; align-items: center; gap: 6px; flex: none;
  min-height: 40px; padding: 8px 16px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink);
  font-weight: 600; font-size: .93rem; cursor: pointer; white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s;
}
.filtro[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.filtro .ico { width: 17px; height: 17px; color: var(--heart); }
.filtro[aria-pressed="true"] .ico { color: currentColor; }
.filtro-fav .n:not(:empty) {
  min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; display: inline-grid; place-items: center;
  background: var(--heart); color: #FFFFFF; font-size: .75rem; font-weight: 700;
}
.conteo { color: var(--muted); font-size: .88rem; font-weight: 600; }
.conteo:empty { display: none; }

.vacio {
  display: grid; justify-items: center; gap: 14px; text-align: center;
  padding: 30px 18px; border: 2px dashed var(--line); border-radius: var(--radius); color: var(--muted);
}
.vacio[hidden] { display: none; }
.vacio-txt { max-width: 26em; font-weight: 500; }
.btn-sec {
  min-height: 44px; padding: 8px 20px; border-radius: 999px; cursor: pointer;
  border: 2px solid var(--brand); background: transparent; color: var(--brand); font-weight: 700;
}

/* ---------- Idea del día ---------- */
.idea {
  display: grid; gap: 0; grid-template-columns: minmax(0, 1fr);
  background: var(--idea-bg); border: 1px solid var(--idea-line);
  border-radius: calc(var(--radius) + 4px); overflow: hidden; box-shadow: var(--shadow);
}
.idea .foto { background: var(--foto-bg); aspect-ratio: 4 / 3; display: grid; place-items: center; }
.idea .foto img { width: 100%; height: 100%; object-fit: contain; }
.idea .cuerpo { padding: 20px 18px 22px; gap: 10px; }
.idea-sello {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  background: var(--sun); color: var(--on-sun);
  font-weight: 700; font-size: .82rem; padding: 6px 12px 6px 8px; border-radius: 999px;
}
.idea-sello svg { width: 22px; height: 22px; }
.idea h2 { font-size: clamp(1.45rem, 5vw, 1.9rem); margin: 2px 0 0; }
.idea .porque { font-size: 1.02rem; color: var(--ink); }
.idea ul { list-style: none; margin: 2px 0; padding: 0; display: grid; gap: 7px; }
.idea li { display: flex; gap: 9px; align-items: flex-start; font-size: .95rem; }
.idea li::before {
  content: ""; flex: none; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%;
  background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.idea .nota { font-size: .85rem; color: var(--muted); }
@media (min-width: 720px) {
  .idea { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: stretch; }
  .idea .foto { aspect-ratio: auto; min-height: 100%; }
  .idea .cuerpo { padding: 28px 28px 30px; }
}

/* ---------- Pie ---------- */
.pie { margin-top: 40px; background: var(--surface-2); padding: 34px 0 calc(100px + env(safe-area-inset-bottom)); }
.pie-in { display: grid; gap: 14px; }
.pie-lema { font-family: var(--f-titulo); font-weight: 600; font-size: 1.15rem; }
.pie-nota { color: var(--muted); font-size: .86rem; max-width: 46em; }
.pie-copy { color: var(--muted); font-size: .8rem; }
.aviso-js { padding: 30px var(--gutter); text-align: center; }

/* ---------- Entradas suaves al bajar ---------- */
.js .aparece { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .8, .3, 1); }
.js .aparece.visible { opacity: 1; transform: none; }

/* ---------- Menos movimiento si el celular lo pide ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .aparece { opacity: 1; transform: none; }
}
