/* =========================================================
   NEKA · Componentes de página
   ========================================================= */

/* ---------- HERO ---------- */
.hero { position: relative; padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(50px, 7vw, 100px); overflow: hidden; }
.hero-aurora { position: absolute; inset: -20% -10% auto; height: 140%; pointer-events: none; z-index: 0; }
.hero-aurora .blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .85; }
.hero-aurora .b1 { width: 46vw; height: 46vw; top: -12%; right: -6%; background: radial-gradient(circle, var(--glow-1), transparent 68%); }
.hero-aurora .b2 { width: 38vw; height: 38vw; bottom: -18%; left: -8%; background: radial-gradient(circle, var(--glow-2), transparent 68%); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 5vw, 70px); align-items: center; }
.hero-copy h1 { margin-bottom: 22px; }
.hero-copy h1 .serif { display: inline; color: var(--brand); }
.hero-copy .lead { max-width: 520px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 34px; }
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; font-size: .88rem; font-weight: 600; color: var(--ink-mute); }
.hero-trust span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--living-500); }

.hero-visual { position: relative; }
.hero-photo { position: relative; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 1/1; transform: rotate(1.4deg); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(255,255,255,.16); border-radius: var(--r-xl); }
.hero-badge {
  position: absolute; background: var(--card); border: 1px solid var(--card-border);
  border-radius: var(--r-md); padding: 14px 18px; box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 13px; backdrop-filter: blur(10px);
}
.hero-badge .num { font-family: var(--font-display); font-weight: 800; font-size: 1.7rem; line-height: 1; color: var(--brand); }
.hero-badge .lbl { font-size: .78rem; color: var(--ink-mute); font-weight: 600; line-height: 1.25; }
.hero-badge.tl { top: 6%; left: -6%; animation: floaty 6s ease-in-out infinite; }
.hero-badge.br { bottom: 7%; right: -5%; animation: floaty 7s ease-in-out infinite reverse; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ---------- MARQUEE ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding-block: 20px; background: var(--surface-2); }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: scrollx 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: inline-flex; align-items: center; gap: 14px; font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; color: var(--ink-soft); white-space: nowrap; }
.marquee-item .star { color: var(--brand-bright); font-size: 1rem; }
@keyframes scrollx { to { transform: translateX(-50%); } }

/* ---------- SECTION HEADER ---------- */
.sec-head { max-width: 680px; margin-bottom: clamp(36px, 5vw, 60px); }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head .lead { margin-top: 18px; }

/* ---------- BENTO GRID ---------- */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.card {
  background: var(--card); border: 1px solid var(--card-border); border-radius: var(--r-lg);
  padding: clamp(24px, 3vw, 38px); position: relative; overflow: hidden;
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease), border-color .4s;
}
.card.hover-lift:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: color-mix(in srgb, var(--brand-bright) 30%, var(--card-border)); }
.card-brand { background: linear-gradient(150deg, var(--emerald-700), var(--emerald-900)); color: #eafaef; border-color: transparent; }
.card-brand h2, .card-brand h3, .card-brand h4 { color: #fff; }
.card-brand p { color: rgba(234,250,239,.74); }
.card-brand .eyebrow { color: var(--living-300); }
.card-brand .eyebrow::before { background: linear-gradient(90deg, var(--living-300), transparent); }

.span-3 { grid-column: span 3; } .span-4 { grid-column: span 4; } .span-5 { grid-column: span 5; }
.span-6 { grid-column: span 6; } .span-7 { grid-column: span 7; } .span-8 { grid-column: span 8; } .span-12 { grid-column: span 12; }

/* Benefit cells */
.mini-grid { display: grid; gap: 14px; margin-top: 26px; }
.mini-grid.cols-2 { grid-template-columns: 1fr 1fr; }
.mini-cell { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px; transition: transform .4s var(--ease-out), border-color .3s; }
.mini-cell:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--brand-bright) 35%, var(--line)); }
.card-brand .mini-cell { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.09); }
.mini-cell .kicker { display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-bright); margin-bottom: 10px; }
.mini-cell h3, .mini-cell h4 { font-size: 1.18rem; margin-bottom: 8px; }
.mini-cell p { font-size: .92rem; color: var(--ink-mute); }
.card-brand .mini-cell p { color: rgba(234,250,239,.72); }
.card-brand .mini-cell .kicker { color: var(--living-300); }

/* Stat strip */
.stat-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); gap: 14px; margin-top: 28px; }
.stat-box { text-align: center; padding: 22px 10px; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-md); min-width: 0; }
.card-brand .stat-box { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.09); }
.stat-box .v { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.4rem, 2.3vw, 2rem); color: var(--brand); line-height: 1; }
.card-brand .stat-box .v { color: var(--living-300); }
.stat-box .l { display: block; margin-top: 8px; font-size: .8rem; font-weight: 600; color: var(--ink-mute); text-transform: uppercase; letter-spacing: .05em; }
.card-brand .stat-box .l { color: rgba(234,250,239,.7); }

/* Image card */
.img-card { padding: 0; }
.img-card img { width: 100%; height: 100%; object-fit: cover; min-height: 280px; transition: transform .8s var(--ease-out); }
.img-card:hover img { transform: scale(1.05); }

/* ---------- STEPS ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 30px; }
.step { position: relative; border-radius: var(--r-md); overflow: hidden; background: var(--surface-2); border: 1px solid var(--line); transition: transform .5s var(--ease-out); }
.step:hover { transform: translateY(-6px); }
.step-img { aspect-ratio: 16/11; overflow: hidden; }
.step-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.step:hover .step-img img { transform: scale(1.06); }
.step-num { position: absolute; top: 14px; left: 14px; width: 40px; height: 40px; border-radius: 50%; background: var(--brand-bright); color: var(--on-brand); display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; box-shadow: var(--shadow-sm); }
.step-body { padding: 22px; }
.step-body h3 { margin-bottom: 8px; }
.step-body p { font-size: .94rem; color: var(--ink-mute); }

/* ---------- STORIES (educación) ---------- */
.stories-band { background: var(--surface-2); }
.sci-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 30px; }
.sci-head h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); }
.sci-explorer { display: grid; grid-template-columns: 310px 1fr; gap: 20px; align-items: start; }

/* Tabs (rail izquierdo) */
.sci-tabs { display: flex; flex-direction: column; gap: 10px; position: sticky; top: 96px; }
.sci-tab { display: flex; align-items: center; gap: 14px; text-align: left; padding: 15px 16px; border-radius: var(--r-md); background: var(--card); border: 1px solid var(--card-border); transition: transform .35s var(--ease-out), border-color .3s, background .3s; }
.sci-tab:hover { transform: translateX(3px); border-color: color-mix(in srgb, var(--brand-bright) 30%, var(--card-border)); }
.sci-tab .ic { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: color-mix(in srgb, var(--brand-bright) 12%, transparent); color: var(--brand); transition: background .3s, color .3s; }
.sci-tab .ic svg { width: 23px; height: 23px; }
.sci-tab .tt strong { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: var(--ink); letter-spacing: -0.02em; }
.sci-tab .tt span { font-size: .82rem; color: var(--ink-mute); }
.sci-tab.active { background: linear-gradient(150deg, var(--emerald-700), var(--emerald-900)); border-color: transparent; box-shadow: var(--shadow-md); }
.sci-tab.active .tt strong { color: #fff; }
.sci-tab.active .tt span { color: rgba(234,250,239,.7); }
.sci-tab.active .ic { background: var(--living-500); color: #06140d; }

/* Panel derecho */
.sci-panel { background: var(--card); border: 1px solid var(--card-border); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 38px); }
.sci-panel.fade { animation: sciFade .45s var(--ease-out); }
@keyframes sciFade { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.sci-panel-head { display: flex; align-items: center; gap: 16px; margin-bottom: 6px; }
.sci-panel-ic { flex: 0 0 auto; width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; background: conic-gradient(from 140deg, var(--living-500), var(--gold), var(--emerald-600), var(--living-500)); color: #fff; }
.sci-panel-ic svg { width: 30px; height: 30px; }
.sci-panel-head h3 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-top: 8px; }
.sci-blocks { display: grid; gap: 22px; margin: 26px 0 30px; }
.sci-block { border-top: 1px solid var(--line); padding-top: 22px; }
.sci-block:first-child { border-top: none; padding-top: 0; }
.sci-block-tag { display: inline-block; font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-bright); margin-bottom: 8px; }
.sci-block h4 { font-size: clamp(1.15rem, 2vw, 1.4rem); margin-bottom: 10px; }
.sci-text { color: var(--ink-soft); font-size: 1rem; }
.sci-note { background: var(--surface-2); border-left: 3px solid var(--brand-bright); border-radius: 0 14px 14px 0; padding: 14px 18px; margin-top: 14px; color: var(--ink-soft); font-size: .96rem; }

.sci-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 16px; }
.sci-metric { text-align: center; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px 10px; }
.sci-metric .n { font-family: var(--font-display); font-weight: 800; font-size: 1.7rem; color: var(--brand); display: block; line-height: 1; }
.sci-metric .m { font-size: .76rem; color: var(--ink-mute); margin-top: 6px; display: block; text-transform: uppercase; letter-spacing: .04em; font-weight: 600; }

.sci-vs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.sci-vs-box { border-radius: var(--r-md); padding: 18px; }
.sci-vs-box.good { background: color-mix(in srgb, var(--living-500) 12%, transparent); border: 1px solid color-mix(in srgb, var(--living-500) 32%, transparent); }
.sci-vs-box.bad { background: color-mix(in srgb, #d4583c 10%, transparent); border: 1px solid color-mix(in srgb, #d4583c 26%, transparent); }
.sci-vs-box .t { font-family: var(--font-display); font-weight: 700; font-size: 1rem; margin-bottom: 12px; display: block; color: var(--ink); }
.sci-vs-box .li { font-size: .9rem; color: var(--ink-soft); padding: 5px 0; }

.sci-checks { display: grid; gap: 12px; margin-top: 16px; }
.sci-check { display: flex; gap: 12px; align-items: flex-start; }
.sci-check svg { flex: 0 0 auto; width: 21px; height: 21px; color: var(--brand-bright); margin-top: 2px; }
.sci-check span { font-size: .96rem; color: var(--ink-soft); }

.sci-flow { display: grid; gap: 10px; margin-top: 16px; }
.sci-flow-step { display: flex; gap: 14px; align-items: center; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-md); padding: 14px 18px; position: relative; }
.sci-flow-step .sn { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; background: var(--brand-bright); color: var(--on-brand); display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: .95rem; }
.sci-flow-step span:last-child { font-size: .94rem; color: var(--ink-soft); }
.sci-flow-step:not(:last-child)::after { content: ""; position: absolute; left: 32px; bottom: -10px; width: 2px; height: 10px; background: var(--line-strong); }

@media (max-width: 880px) {
  .sci-explorer { grid-template-columns: 1fr; }
  .sci-tabs { position: static; flex-direction: row; overflow-x: auto; gap: 10px; padding-bottom: 8px; scroll-snap-type: x mandatory; }
  .sci-tabs::-webkit-scrollbar { height: 0; }
  .sci-tab { flex: 0 0 auto; scroll-snap-align: start; }
  .sci-tab .tt span { display: none; }
  .sci-vs { grid-template-columns: 1fr; }
  .sci-metrics { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- MAGAZINE (Aprende con ciencia) ---------- */
.mag-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.mag-card { display: flex; flex-direction: column; text-align: left; background: var(--card); border: 1px solid var(--card-border); border-radius: var(--r-lg); padding: 28px; cursor: pointer; position: relative; overflow: hidden; min-height: 232px; transition: transform .45s var(--ease-out), box-shadow .4s, border-color .3s; }
.mag-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: color-mix(in srgb, var(--brand-bright) 32%, var(--card-border)); }
.mag-top { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.mag-num { font-family: var(--font-display); font-weight: 800; font-size: .92rem; color: var(--brand-bright); letter-spacing: .04em; }
.mag-kicker { font-size: .68rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-mute); padding-left: 12px; border-left: 1px solid var(--line-strong); }
.mag-headline { font-size: clamp(1.3rem, 1.9vw, 1.7rem); line-height: 1.1; color: var(--ink); }
.mag-teaser { font-size: .94rem; color: var(--ink-mute); margin-top: 10px; }
.mag-read { margin-top: auto; padding-top: 20px; display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: .9rem; color: var(--brand); transition: gap .3s; }
.mag-read svg { width: 18px; height: 18px; }
.mag-card:hover .mag-read { gap: 13px; }

/* Tarjeta destacada */
.mag-card.feature { grid-column: span 2; background: linear-gradient(150deg, var(--emerald-700), var(--emerald-900)); border-color: transparent; padding: clamp(28px, 3vw, 40px); min-height: 300px; }
.mag-card.feature .mag-headline { font-size: clamp(1.9rem, 3.4vw, 2.8rem); color: #fff; max-width: 16ch; }
.mag-card.feature .mag-teaser { color: rgba(234,250,239,.78); font-size: 1.05rem; max-width: 42ch; }
.mag-card.feature .mag-kicker { color: rgba(234,250,239,.7); border-left-color: rgba(255,255,255,.25); }
.mag-card.feature .mag-num { color: var(--gold-soft); }
.mag-card.feature .mag-read { color: #fff; }
.mag-watermark { position: absolute; right: -18px; bottom: -22px; color: rgba(255,255,255,.07); pointer-events: none; }
.mag-watermark svg { width: 200px; height: 200px; }

/* Lector editorial */
.mag-reader { position: fixed; inset: 0; z-index: 1100; background: rgba(6,20,13,.55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); display: none; overflow-y: auto; padding: clamp(16px, 5vh, 56px) 16px; }
.mag-reader.open { display: block; }
.mag-reader-inner { max-width: 760px; margin: 0 auto; background: var(--bg); border: 1px solid var(--card-border); border-radius: var(--r-lg); padding: clamp(26px, 4vw, 60px); position: relative; box-shadow: var(--shadow-lg); animation: sciFade .4s var(--ease-out); }
.mag-close { position: absolute; top: 18px; right: 18px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-size: 1.7rem; line-height: 1; color: var(--ink-soft); background: var(--surface-2); border: 1px solid var(--line); transition: transform .3s, color .25s; z-index: 2; }
.mag-close:hover { transform: rotate(90deg); color: var(--brand); }
.mag-article .mag-top { margin-bottom: 14px; }
.mag-title { font-size: clamp(2rem, 4.4vw, 3rem); line-height: 1.04; margin-bottom: 18px; max-width: 20ch; }
.mag-standfirst { font-family: var(--font-serif); font-style: italic; font-size: clamp(1.2rem, 2.2vw, 1.6rem); line-height: 1.4; color: var(--ink-soft); padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.mag-body { margin: 28px 0 32px; display: grid; gap: 24px; }
.mag-body .sci-block:first-child { border-top: none; padding-top: 0; }

@media (max-width: 880px) {
  .mag-grid { grid-template-columns: 1fr 1fr; }
  .mag-card.feature { grid-column: span 2; }
}
@media (max-width: 560px) {
  .mag-grid { grid-template-columns: 1fr; }
  .mag-card.feature { grid-column: span 1; }
}

/* ---------- RECETAS featured / ORIGIN ---------- */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.media-frame { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 4/3; }
.media-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease-out); }
.media-frame:hover img { transform: scale(1.04); }
.clean-list { display: grid; gap: 12px; margin-top: 24px; }
.clean-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 1rem; color: var(--ink-soft); }
.clean-list li svg { flex: 0 0 auto; width: 22px; height: 22px; color: var(--brand-bright); margin-top: 1px; }
.lab-badges { display: grid; gap: 12px; margin-top: 26px; }
.lab-badge { display: flex; gap: 14px; align-items: center; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-md); padding: 16px 18px; }
.lab-badge .ic { font-size: 1.5rem; }
.lab-badge strong { display: block; font-size: .98rem; color: var(--ink); }
.lab-badge span { font-size: .85rem; color: var(--ink-mute); }

/* Mini recipe cards */
.mini-recipes { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 10px; }
.mini-recipe { display: flex; align-items: center; gap: 14px; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-md); padding: 16px; transition: transform .4s var(--ease-out), border-color .3s; }
.mini-recipe:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--brand-bright) 35%, var(--line)); }
.mini-recipe .ic { font-size: 1.6rem; }
.mini-recipe h4 { font-size: 1.02rem; margin-bottom: 2px; }
.mini-recipe p { font-size: .82rem; color: var(--ink-mute); }
.mini-recipe .arr { margin-left: auto; color: var(--brand-bright); font-size: 1.2rem; transition: transform .3s; }
.mini-recipe:hover .arr { transform: translateX(4px); }

/* ---------- PACKS ---------- */
.pack { display: flex; flex-direction: column; }
.pack.featured { box-shadow: 0 0 0 2px var(--brand-bright), var(--shadow-md); }
.pack-badge { position: absolute; top: 18px; right: 18px; z-index: 3; background: var(--gold); color: var(--emerald-900); font-weight: 800; font-size: .74rem; padding: 7px 14px; border-radius: 999px; letter-spacing: .02em; }
.pack-img { border-radius: var(--r-md); overflow: hidden; aspect-ratio: 16/10; margin-bottom: 22px; }
.pack-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.pack:hover .pack-img img { transform: scale(1.05); }
.pack .price { font-family: var(--font-display); font-weight: 800; font-size: 2.1rem; color: var(--ink); margin: 14px 0 4px; line-height: 1; }
.pack .price small { font-family: var(--font-body); font-size: .82rem; font-weight: 600; color: var(--ink-mute); }
.pack ul { display: grid; gap: 10px; margin: 18px 0 24px; }
.pack ul li { display: flex; gap: 10px; align-items: center; font-size: .96rem; color: var(--ink-soft); }
.pack ul li svg { width: 19px; height: 19px; color: var(--brand-bright); flex: 0 0 auto; }
.pack .btn { margin-top: auto; }
.delivery-note { text-align: center; background: var(--surface-2); border: 1px dashed var(--line-strong); }
.delivery-note p { font-weight: 600; color: var(--ink-soft); }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 10px; margin-top: 8px; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; transition: border-color .3s; }
.faq-item[open] { border-color: color-mix(in srgb, var(--brand-bright) 35%, var(--line)); }
.faq-item summary { list-style: none; cursor: pointer; padding: 20px 22px; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: var(--ink); display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .chev { flex: 0 0 auto; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); transition: transform .3s, background .3s; font-size: .9rem; color: var(--brand); }
.faq-item[open] summary .chev { transform: rotate(45deg); background: var(--brand-bright); color: var(--on-brand); }
.faq-item .faq-a { padding: 0 22px 22px; }
.faq-item .faq-a p { font-size: .98rem; color: var(--ink-soft); }

/* ---------- FINAL CTA ---------- */
.final-cta { background: linear-gradient(150deg, var(--emerald-600), var(--emerald-900)); color: #fff; text-align: center; border-radius: var(--r-xl); padding: clamp(44px, 7vw, 90px) var(--pad); position: relative; overflow: hidden; }
.final-cta::before { content: ""; position: absolute; top: -40%; left: 50%; transform: translateX(-50%); width: 70%; height: 120%; background: radial-gradient(circle, var(--glow-1), transparent 65%); pointer-events: none; }
.final-cta h2 { color: #fff; max-width: 16ch; margin-inline: auto; position: relative; }
.final-cta p { color: rgba(255,255,255,.78); position: relative; max-width: 50ch; margin: 18px auto 0; }
.final-cta .btn { position: relative; }

/* ---------- UGC / INSTAGRAM ---------- */
.ugc-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; }
.ugc-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.ugc-card { position: relative; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 1/1; }
.ugc-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease-out); }
.ugc-card:hover img { transform: scale(1.07); }
.ugc-card .ov { position: absolute; inset: 0; background: linear-gradient(to top, rgba(6,20,13,.7), transparent 60%); display: flex; align-items: flex-end; padding: 16px; opacity: 0; transition: opacity .35s; }
.ugc-card:hover .ov { opacity: 1; }
.ugc-card .ov span { color: #fff; font-weight: 700; font-size: .88rem; }
.ugc-cta { background: linear-gradient(150deg, var(--emerald-600), var(--emerald-900)); display: grid; place-items: center; text-align: center; color: #fff; padding: 18px; }
.ugc-cta strong { display: block; font-family: var(--font-display); font-size: 1.05rem; margin-top: 10px; }
.ugc-cta span { font-size: .82rem; color: rgba(255,255,255,.7); }
.ugc-cta .pill { margin-top: 12px; background: rgba(255,255,255,.14); padding: 7px 14px; border-radius: 999px; font-size: .78rem; font-weight: 700; color: #fff; }
.ugc-cta svg { width: 34px; height: 34px; color: var(--living-300); }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 460px; margin-inline: auto; order: -1; }
  .split { grid-template-columns: 1fr; }
  .ugc-grid { grid-template-columns: repeat(3, 1fr); }
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
  [class*="span-"] { grid-column: span 6 !important; }
  .span-12 { grid-column: span 12 !important; }
  .steps { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
}
@media (max-width: 620px) {
  .bento { gap: 14px; }
  [class*="span-"] { grid-column: span 12 !important; }
  .mini-grid.cols-2 { grid-template-columns: 1fr; }
  .mini-recipes { grid-template-columns: 1fr; }
  .ugc-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-badge.tl { left: 2%; } .hero-badge.br { right: 2%; }
}

/* ────────────────────────────────────────────────────────
   10. NEKA PREDICTIVE ENGINE (AI PERSONALIZATION)
   ──────────────────────────────────────────────────────── */
.card.ai-highlighted {
  border-color: var(--brand-bright) !important;
  box-shadow: 0 0 25px rgba(26, 107, 74, 0.25) !important;
  transform: translateY(-4px) !important;
}

.card.ai-highlighted::after {
  content: '✨ Recomendado por tu interés';
  position: absolute;
  top: 16px;
  right: 16px;
  background: linear-gradient(135deg, var(--brand-bright) 0%, var(--gold, #d4a373) 100%);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--r-md, 12px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  pointer-events: none;
  z-index: 10;
}

/* AI Floating Assistant Pill */
.ai-nav-pill {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1150;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  background: rgba(6, 20, 13, 0.9);
  border: 1px solid var(--card-border);
  border-radius: 999px;
  color: #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transform: translateY(120%);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

.ai-nav-pill.active {
  transform: translateY(0);
  opacity: 1;
}

[data-theme="light"] .ai-nav-pill {
  background: rgba(255, 255, 255, 0.92);
  color: #06140d;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.ai-pill-icon {
  font-size: 16px;
  animation: pulseAi 2s infinite ease-in-out;
}

.ai-pill-text {
  font-size: 13.5px;
  font-weight: 600;
}

.ai-pill-text strong {
  color: var(--brand-bright);
}

.ai-pill-action {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--brand-bright);
  text-decoration: underline;
  cursor: pointer;
  margin-left: 8px;
}

.ai-pill-action:hover {
  color: var(--brand);
}

.ai-pill-close {
  background: none;
  border: none;
  color: var(--ink-mute);
  cursor: pointer;
  font-size: 16px;
  padding: 0;
  margin-left: 8px;
  line-height: 1;
}

@keyframes pulseAi {
  0% { transform: scale(1); }
  50% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

@media (max-width: 768px) {
  .ai-nav-pill {
    bottom: 84px;
    left: 24px;
    right: 24px;
    justify-content: space-between;
  }
}

