/* NUTRIA v3 — Nutria protagonista, IA en la portada, recetas completas, NUTRIA Color y Pro.
   Se carga después de brand.css; reutiliza sus tokens y curvas de movimiento. */

/* ───────────── Hero con IA ───────────── */
.ai-hero { position: relative; padding: calc(var(--nav-h) + 20px) clamp(16px, 4vw, 40px) 40px; isolation: isolate; }
.ai-hero .hero-bg { background: radial-gradient(90% 70% at 78% 30%, #E4F5E6 0%, rgba(228, 245, 230, 0) 60%), linear-gradient(180deg, #FFFFFF 0%, #F6FBF4 100%); }
.spark-field { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.ai-hero-in { max-width: 1320px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(20px, 4vw, 64px); align-items: center; min-height: min(calc(100svh - var(--nav-h) - 120px), 760px); }
.ai-copy { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.ai-t { font-family: var(--font-display); font-weight: 800; font-size: clamp(46px, 7.2vw, 104px); line-height: .92; letter-spacing: -0.055em; color: var(--g-900); }
.ai-t .hl { color: var(--g-600); position: relative; display: inline-block; }
.ai-t .hl::after { content: ''; position: absolute; left: .02em; right: .04em; bottom: .02em; height: .12em; border-radius: 99px; background: var(--lime); z-index: -1; transform-origin: left; animation: underline 900ms var(--ease-out) 600ms both; }
.ai-sub { font-size: clamp(16px, 1.45vw, 20px); color: var(--muted); max-width: 560px; line-height: 1.55; }

.ask { position: relative; display: flex; align-items: center; gap: 8px; padding: 8px 8px 8px 18px; border-radius: 22px; background: rgba(255, 255, 255, .86); border: 1.5px solid var(--g-200);
  backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); box-shadow: 0 22px 50px -26px rgba(10, 58, 34, .45), 0 1px 0 rgba(255, 255, 255, .9) inset;
  transition: border-color var(--t-ui) ease, box-shadow var(--t-ui) ease; max-width: 640px; }
.ask:focus-within { border-color: var(--g-500); box-shadow: 0 26px 60px -24px rgba(10, 58, 34, .5), 0 0 0 5px rgba(34, 160, 79, .14); }
.ask-ic { color: var(--g-600); display: grid; place-items: center; }
.ask-ic svg { width: 22px; height: 22px; }
.ask input { flex: 1; min-width: 0; border: 0; background: none; font: inherit; font-size: 17px; padding: 12px 4px; color: var(--ink); outline: none; }
.ask input::placeholder { color: var(--muted-2); }
.ask-go { width: 50px; height: 50px; flex: none; border-radius: 16px; display: grid; place-items: center; background: var(--g-700); color: #fff; transition: transform var(--t-micro) var(--ease-out), background-color var(--t-ui) ease; }
.ask-go svg { width: 20px; height: 20px; }
.ask-go:active { transform: scale(.94); }
@media (hover: hover) and (pointer: fine) { .ask-go:hover { background: var(--g-800); } }
.ask-chips { display: flex; flex-wrap: wrap; gap: 8px; max-width: 660px; }
.ask-chips .chip { background: rgba(255, 255, 255, .8); }

.ask-out { max-width: 680px; }
.ans { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: 24px; background: rgba(255, 255, 255, .9); border: 1px solid var(--line); box-shadow: var(--shadow-2); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.ans-av { width: 46px; height: auto; flex: none; border-radius: 14px; background: var(--g-50); padding: 2px 4px 0; }
.ans-body { display: flex; flex-direction: column; gap: 12px; min-width: 0; flex: 1; }
.ans-body > p { font-size: 16px; line-height: 1.55; color: var(--ink); white-space: pre-line; }
.ans-cards { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 230px); gap: 12px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x mandatory; }
.ans-cards .rcard { scroll-snap-align: start; }
.ans-foot { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.ans.thinking .gen { font-size: 14px; color: var(--muted); }
.ans .dots { display: inline-flex; gap: 5px; }
.ans .dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--g-500); animation: dot 1s ease-in-out infinite; }
.ans .dots i:nth-child(2) { animation-delay: .15s; } .ans .dots i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 50% { transform: translateY(-4px); opacity: .5; } }

.ai-visual { position: relative; aspect-ratio: 4 / 5; width: 100%; max-width: 520px; justify-self: center; perspective: 1000px; }
.ai-halo { position: absolute; inset: 14% 6% 6%; border-radius: 50%; background: radial-gradient(circle at 50% 45%, #CFEFD2 0%, rgba(207, 239, 210, .6) 38%, rgba(207, 239, 210, 0) 70%); animation: halo 9s ease-in-out infinite; }
@keyframes halo { 50% { transform: scale(1.06); } }
.mascot { position: absolute; left: 50%; bottom: 0; width: 64%; margin-left: -32%; height: auto; z-index: 3; filter: drop-shadow(0 30px 34px rgba(10, 58, 34, .28));
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transform-style: preserve-3d; transition: transform 600ms var(--ease-out); animation: bob 6s ease-in-out infinite; }
@keyframes bob { 50% { translate: 0 -12px; } }
.ai-visual .float-plate { z-index: 2; }
.ai-visual .fp0 { left: -2%; top: 22%; width: 28%; right: auto; bottom: auto; }
.ai-visual .fp1 { right: -2%; top: 8%; width: 26%; left: auto; bottom: auto; }
.ai-visual .fp2 { right: 0; bottom: 14%; width: 24%; left: auto; top: auto; z-index: 4; }
.ai-bubble { position: absolute; z-index: 5; left: 2%; bottom: 20%; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 18px 18px 18px 4px; background: #fff; box-shadow: var(--shadow-2); font-weight: 700; color: var(--g-800); font-size: 15px; }
.ai-bubble i { width: 8px; height: 8px; border-radius: 50%; background: var(--g-500); animation: ping 2s var(--ease-out) infinite; }
.ai-hero .hero-facts { max-width: 1320px; margin: 28px auto 0; justify-content: center; }

/* ───────────── Descubre hoy ───────────── */
.today-sec, .drail { max-width: 1320px; margin: 0 auto; padding: clamp(40px, 6vw, 72px) clamp(16px, 4vw, 40px) 0; scroll-margin-top: 70px; }
.drail-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.drail-head > div { display: flex; flex-direction: column; gap: 10px; }
.sec-t.sm { font-size: clamp(30px, 3.6vw, 48px); letter-spacing: -0.04em; }
.see-all { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--g-700); white-space: nowrap; padding: 8px 4px; }
.see-all svg { width: 16px; height: 16px; transition: transform var(--t-ui) var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .see-all:hover svg { transform: translateX(4px); } }
.rail.snap { padding: 4px 2px 16px; scroll-padding-left: 2px; }
.cz-chips { margin-bottom: 18px; }

.today { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 16px; }
.tcard { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 18px; border-radius: 28px; background: var(--g-50); border: 1px solid var(--line); overflow: hidden; isolation: isolate; min-height: 100%;
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform 500ms var(--ease-out), box-shadow 420ms var(--ease-out); }
.tcard::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, .55), transparent 45%); opacity: 0; transition: opacity 300ms ease; }
@media (hover: hover) and (pointer: fine) { .tcard:hover { box-shadow: 0 30px 60px -30px rgba(10, 58, 34, .4); } .tcard:hover::after { opacity: 1; } }
.tcard.big { background: var(--tint); }
.tcard.drink { background: color-mix(in srgb, var(--dc) 12%, #fff); }
.tc-tag { align-self: flex-start; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--g-800); background: rgba(255, 255, 255, .8); padding: 5px 11px; border-radius: 99px; }
.tc-plate { width: 70%; margin: 0 auto; filter: drop-shadow(0 18px 20px rgba(10, 58, 34, .25)); transition: transform 800ms var(--ease-out); }
.tc-img .rimg { aspect-ratio: 4 / 3; border-radius: 18px; }
.tc-glass { height: 210px; display: flex; justify-content: center; align-items: center; overflow: visible; }
.tc-glass img { height: 210px; width: auto; max-width: 100%; object-fit: contain; filter: drop-shadow(0 16px 18px rgba(0, 0, 0, .16)); transition: transform 800ms var(--ease-out); }
.tc-body { display: flex; flex-direction: column; gap: 4px; margin-top: auto; }
.tc-body b { font-family: var(--font-display); font-weight: 700; font-size: 22px; letter-spacing: -0.02em; color: var(--g-900); line-height: 1.1; }
.tc-body small { font-size: 13.5px; color: var(--ink-2); opacity: .85; }
@media (hover: hover) and (pointer: fine) { .tcard:hover .tc-plate { transform: rotate(-10deg) scale(1.04); } .tcard:hover .tc-glass img { transform: translateY(-6px) rotate(-3deg); } }

/* Tarjetas con inclinación 3D */
.pcard[data-tilt] { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
@media (hover: hover) and (pointer: fine) { .pcard[data-tilt]:hover { transform: perspective(900px) translateY(-6px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); } }
.pcard-meta { font-size: 12.5px; font-weight: 600; color: var(--g-800); opacity: .85; }
.switch-stage[data-tilt-scene] { perspective: 1100px; }
.switch-stage[data-tilt-scene] .stage-link { transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform 700ms var(--ease-out); transform-style: preserve-3d; }
.sw-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.sw-meta svg { width: 16px; height: 16px; color: var(--g-600); }
.sw-meta i { width: 4px; height: 4px; border-radius: 50%; background: var(--line-2); }

/* ───────────── NUTRIA Color (video de Nutria) ───────────── */
.color-sec { --dc: #35A44C; margin-top: clamp(64px, 8vw, 110px); padding: clamp(64px, 8vw, 110px) clamp(16px, 4vw, 40px); scroll-margin-top: 40px; color: #fff; position: relative; overflow: hidden; isolation: isolate;
  background: radial-gradient(90% 120% at 80% 20%, color-mix(in srgb, var(--dc) 55%, #0A3A22) 0%, #0A3A22 58%, #062414 100%); transition: background 1200ms var(--ease-in-out); }
.color-in { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.color-copy { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.color-copy .sec-t { color: #fff; text-align: left; }
.color-copy .sec-sub { color: rgba(255, 255, 255, .78); }
.kicker.light { color: #CFEFD2; }
.kicker.light .kdot { background: var(--lime); box-shadow: 0 0 0 4px rgba(201, 238, 138, .2); }
.color-picks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; width: 100%; max-width: 520px; }
.cpick { display: flex; align-items: center; gap: 10px; padding: 8px 12px 8px 8px; border-radius: 18px; text-align: left; color: #fff; background: rgba(255, 255, 255, .07); border: 1.5px solid rgba(255, 255, 255, .14);
  transition: background-color var(--t-ui) ease, border-color var(--t-ui) ease, transform var(--t-micro) var(--ease-out); }
.cpick img { width: 46px; height: 46px; object-fit: contain; flex: none; }
.cpick b { display: block; font-size: 15px; }
.cpick small { display: block; font-size: 12px; color: rgba(255, 255, 255, .7); line-height: 1.25; }
.cpick.on { background: color-mix(in srgb, var(--c) 30%, transparent); border-color: var(--c); }
.cpick:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) { .cpick:hover { background: rgba(255, 255, 255, .12); } }
.color-stage { position: relative; }
.cham-wrap { position: relative; aspect-ratio: 16 / 10; border-radius: 42% 58% 46% 54% / 56% 44% 56% 44%; overflow: hidden; isolation: isolate; cursor: pointer;
  background: #6d8d7c url('../media/video/nutria-color-poster.jpg') center / cover; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .55); animation: morph-wide 16s ease-in-out infinite; }
.cham-wrap .cham { opacity: 0; object-fit: cover; }
.cham-wrap.live .cham { opacity: 1; }
.cham-tint { position: absolute; inset: 0; background: var(--dc); mix-blend-mode: color; opacity: .92; transition: background-color 1200ms var(--ease-in-out); pointer-events: none; }
.cham-glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(80% 70% at 70% 30%, rgba(255, 255, 255, .22), transparent 60%), radial-gradient(120% 90% at 50% 50%, transparent 55%, rgba(0, 0, 0, .35)); }
.color-glass { position: absolute; right: -2%; bottom: -12%; width: 30%; height: auto; filter: drop-shadow(0 26px 30px rgba(0, 0, 0, .45)); z-index: 2; }

/* ───────────── Nutria Pro ───────────── */
.pro-teaser { padding: clamp(56px, 7vw, 96px) clamp(16px, 4vw, 40px) clamp(40px, 5vw, 64px); }
.pro-in { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: auto 1fr auto; gap: clamp(16px, 3vw, 36px); align-items: center; padding: clamp(20px, 3vw, 32px) clamp(20px, 4vw, 44px); border-radius: 32px; background: var(--g-50); border: 1px solid var(--g-100); }
.pro-in img { width: 92px; height: auto; }
.pro-in h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(24px, 2.6vw, 34px); letter-spacing: -0.03em; color: var(--g-900); line-height: 1.1; margin: 6px 0; }
.pro-in p { color: var(--muted); }
.pro-page { padding-bottom: 72px; }
.pro-hero { padding: calc(var(--nav-h) + 28px) clamp(16px, 4vw, 40px) 24px; background: linear-gradient(180deg, #fff, var(--g-50)); }
.pro-hero-in { max-width: 1040px; margin: 0 auto; display: grid; grid-template-columns: 220px 1fr; gap: 28px; align-items: center; }
.pro-av { width: 100%; height: auto; filter: drop-shadow(0 24px 28px rgba(10, 58, 34, .25)); }
.pro-hero .sec-t { text-align: left; margin: 10px 0; }
.plans { max-width: 1040px; margin: 32px auto 0; padding: 0 clamp(16px, 4vw, 40px); display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.plan-card { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 28px; border-radius: 28px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-1); }
.plan-card.pro { background: linear-gradient(160deg, #0E6B3A, #0A3A22); color: #fff; border-color: transparent; box-shadow: 0 30px 60px -30px rgba(10, 58, 34, .6); }
.plan-card.pro .tiny { color: rgba(255, 255, 255, .7); }
.plan-badge { position: absolute; top: 20px; right: 20px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: var(--lime); color: var(--g-900); padding: 5px 11px; border-radius: 99px; }
.plan-name { font-family: var(--font-display); font-weight: 800; font-size: 28px; letter-spacing: -0.03em; }
.plan-price b { font-family: var(--font-display); font-size: 40px; font-weight: 800; letter-spacing: -0.04em; display: block; line-height: 1; }
.plan-card.pro .plan-price b { font-size: 30px; }
.plan-price span { font-size: 14px; opacity: .7; }
.plan-inc { font-weight: 700; }
.plan-card ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.plan-card li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.4; }
.plan-card li svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--g-600); }
.plan-card.pro li svg { color: var(--lime); }
.pro-faq { max-width: 1040px; margin: 56px auto 0; padding: 0 clamp(16px, 4vw, 40px); display: flex; flex-direction: column; gap: 10px; }
.pro-faq h2 { margin-bottom: 10px; }
.pro-faq details { border: 1px solid var(--line); border-radius: 18px; padding: 16px 20px; background: #fff; }
.pro-faq summary { font-weight: 700; cursor: pointer; }
.pro-faq details p { margin-top: 10px; color: var(--muted); }

/* ───────────── Ficha de receta: nutrición ampliada, pasos con temporizador, complementos ───────────── */
.nmore { display: grid; grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); gap: 8px; margin-top: 8px; }
.nmini { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 14px; background: #fff; border: 1px dashed var(--line-2); }
.nmini span { font-size: 11.5px; color: var(--muted); font-weight: 600; }
.nmini b { font-size: 16px; font-variant-numeric: tabular-nums; }
.nmini small { font-weight: 600; color: var(--muted); }
.nnote { margin-top: 10px; font-size: 12.5px; color: var(--muted); }

.ing-table .ing-row { grid-template-columns: minmax(0, 1fr) 90px 110px 40px; }
.ing-sub { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; color: var(--g-700); background: var(--g-50); transition: background-color var(--t-micro) ease, transform var(--t-micro) var(--ease-out); }
.ing-sub svg { width: 17px; height: 17px; }
.ing-sub:active { transform: scale(.94); }
.bw-sec-head .stepper { margin-left: auto; }
.bw-lamina { display: flex; gap: 8px; align-items: flex-start; margin-top: 12px; font-size: 13.5px; color: var(--muted); }
.bw-lamina svg { width: 16px; height: 16px; color: var(--g-600); flex: none; margin-top: 2px; }

.rsteps li { align-items: flex-start; transition: opacity var(--t-ui) ease, background-color var(--t-ui) ease; }
.rstep-body { display: flex; flex-direction: column; gap: 6px; min-width: 0; flex: 1; }
.rstep-body > b { font-size: 17px; }
.rstep-body > p { color: var(--ink-2); line-height: 1.55; }
.rstep-tools { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; align-items: center; }
.rsteps li.is-done { background: var(--g-50); }
.rsteps li.is-done .rstep-body > p, .rsteps li.is-done .rstep-body > b { opacity: .55; }
.rsteps li.is-done .bw-n { color: var(--g-300); }
.stimer { display: inline-flex; align-items: center; gap: 6px; padding: 5px 6px 5px 5px; border-radius: 99px; background: var(--g-50); border: 1px solid var(--g-100); }
.st-ring { width: 30px; height: 30px; border-radius: 50%; flex: none; background: conic-gradient(var(--g-600) calc(var(--p, 0) * 360deg), var(--g-100) 0); -webkit-mask: radial-gradient(circle, transparent 9px, #000 10px); mask: radial-gradient(circle, transparent 9px, #000 10px); }
.st-time { font-family: var(--font-display); font-weight: 700; font-size: 17px; min-width: 54px; font-variant-numeric: tabular-nums; color: var(--g-900); }
.st-btn { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: 99px; background: var(--g-700); color: #fff; font-weight: 600; font-size: 13.5px; transition: background-color var(--t-micro) ease, transform var(--t-micro) var(--ease-out); }
.st-btn svg { width: 15px; height: 15px; }
.st-btn.ghost { background: transparent; color: var(--g-800); }
.st-btn:active, .st-done:active { transform: scale(.96); }
.stimer.run { background: #fff; border-color: var(--g-300); box-shadow: 0 0 0 4px rgba(34, 160, 79, .1); }
.stimer.fin { background: var(--lime); border-color: var(--lime); animation: finpulse 1s var(--ease-out) 3; }
@keyframes finpulse { 50% { transform: scale(1.04); } }
.st-done { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: 99px; border: 1px solid var(--line-2); font-weight: 600; font-size: 13.5px; color: var(--ink-2); background: #fff; transition: background-color var(--t-micro) ease, color var(--t-micro) ease, border-color var(--t-micro) ease; }
.st-done svg { width: 15px; height: 15px; }
.st-done[aria-pressed="true"] { background: var(--g-600); color: #fff; border-color: var(--g-600); }
@media (hover: hover) and (pointer: fine) { .st-btn:hover { background: var(--g-800); } .st-btn.ghost:hover { background: var(--g-100); } }

.warn-box.soft { background: var(--g-50); color: var(--ink-2); border: 1px solid var(--g-100); margin-top: 14px; }
.warn-box.soft svg { color: var(--g-600); }
.bw-meta { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.qtile.wide { grid-column: span 3; }
.qtile.wide b { font-size: 17px; font-family: var(--font-ui); }
.rd-sec.bw-meta { margin-top: 18px; }
.bw-cta-row { display: flex; flex-wrap: wrap; gap: 10px; }

.cmp { display: flex; flex-direction: column; gap: 18px; }
.cmp-t { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--g-700); margin-bottom: 8px; }
.cmp-t svg { width: 16px; height: 16px; }
.cmp-list { display: flex; flex-wrap: wrap; gap: 8px; }
.cmp-chip { display: inline-flex; align-items: center; gap: 10px; padding: 8px 10px 8px 12px; border-radius: 16px; border: 1px solid var(--line); background: #fff; text-align: left; max-width: 100%;
  transition: border-color var(--t-micro) ease, background-color var(--t-micro) ease, transform var(--t-micro) var(--ease-out); }
.cmp-chip i { width: 10px; height: 10px; border-radius: 50%; background: var(--hue); flex: none; }
.cmp-chip span { display: flex; flex-direction: column; min-width: 0; }
.cmp-chip b { font-size: 14px; }
.cmp-chip small { font-size: 12px; color: var(--muted); }
.cmp-chip em { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--g-50); color: var(--g-700); flex: none; transition: transform var(--t-ui) var(--ease-out), background-color var(--t-micro) ease; }
.cmp-chip em svg { width: 14px; height: 14px; }
.cmp-chip.on { border-color: var(--g-500); background: var(--g-50); }
.cmp-chip.on em { background: var(--g-600); color: #fff; transform: rotate(45deg); }
.cmp-chip:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) { .cmp-chip:hover { border-color: var(--g-300); } }

/* Avatar de Nutria en el chat y el botón flotante */
.chat-av, .msg-av { overflow: hidden; background: var(--g-50) !important; }
.chat-av img, .msg-av img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; }
.tabbar .fab { overflow: hidden; background: var(--g-50) !important; border: 3px solid #fff; }
.fab-av { width: 100%; height: 100%; object-fit: cover; object-position: 50% 10%; }
.snav-mark { width: 34px; height: 34px; border-radius: 10px; }
.brand-mark { width: 52px; height: 52px; border-radius: 14px; }

/* ───────────── Responsive ───────────── */
@media (max-width: 1024px) {
  .ai-hero-in, .color-in { grid-template-columns: minmax(0, 1fr); }
  .ai-hero-in { min-height: 0; }
  .ai-visual { order: -1; max-width: 360px; margin-top: -8px; }
  .today { grid-template-columns: 1fr 1fr; }
  .today .tcard.big { grid-column: span 2; }
  .color-copy { align-items: flex-start; }
  .pro-in { grid-template-columns: auto 1fr; }
  .pro-in .btn { grid-column: span 2; justify-self: start; }
}
@media (max-width: 760px) {
  .ai-hero { padding-top: calc(var(--nav-h) + 6px); }
  .ai-visual { max-width: 280px; }
  .ai-bubble { font-size: 13px; padding: 8px 12px; bottom: 16%; }
  .ai-t { font-size: clamp(40px, 12.5vw, 60px); }
  .ask { padding: 6px 6px 6px 14px; border-radius: 18px; }
  .ask input { font-size: 16px; }
  .ask-go { width: 46px; height: 46px; border-radius: 14px; }
  .ask-chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 0 16px 4px; scrollbar-width: none; }
  .ask-chips .chip { flex: none; }
  .ans { padding: 14px; gap: 10px; }
  .ans-av { width: 36px; }
  .ai-hero .hero-facts { justify-content: flex-start; gap: 14px 22px; }
  .today { grid-template-columns: 1fr; }
  .today .tcard.big { grid-column: auto; }
  .drail-head { align-items: flex-start; }
  .see-all { padding-top: 0; }
  .color-picks { grid-template-columns: 1fr 1fr; }
  .cpick small { display: none; }
  .color-glass { width: 34%; right: -4%; bottom: -14%; }
  .pro-in { grid-template-columns: 1fr; text-align: left; }
  .pro-in img { width: 72px; }
  .pro-in .btn { grid-column: auto; }
  .pro-hero-in { grid-template-columns: 110px 1fr; gap: 16px; }
  .plans { grid-template-columns: 1fr; }
  .ing-table .ing-row { grid-template-columns: minmax(0, 1fr) 54px 72px 36px; gap: 8px; padding: 13px 12px; font-size: 15px; }
  .ing-table .ing-row.head { font-size: 10.5px; letter-spacing: .03em; }
  .bw-meta { grid-template-columns: 1fr 1fr; }
  .qtile.wide { grid-column: span 2; }
  .bw-sec-head { flex-wrap: wrap; }
  .rsteps li { padding: 16px; gap: 12px; }
  .bw-n { min-width: 32px; font-size: 22px; }
  .st-btn span { display: none; }
  .st-btn { padding: 0 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .mascot, .ai-halo, .cham-wrap, .ans .dots i, .stimer.fin { animation: none !important; }
  .tcard, .pcard[data-tilt], .mascot, .switch-stage[data-tilt-scene] .stage-link { transform: none !important; }
  .ai-t .hl::after { animation: none; }
}
.msg-body > p { white-space: pre-line; }
