/* NutriMap quiz (v9, on "/" and "/ES_WL"). Same identity as funnel.css (colours, fonts, spacing);
   a separate file so the older pages are not touched by the new layout.
   No inline styles anywhere: positions set from script go through CSSOM. */
@font-face{font-family:'Manrope';font-style:normal;font-display:swap;font-weight:400;src:url(/fonts/manrope-latin-400-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Manrope';font-style:normal;font-display:swap;font-weight:500;src:url(/fonts/manrope-latin-500-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Manrope';font-style:normal;font-display:swap;font-weight:600;src:url(/fonts/manrope-latin-600-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Manrope';font-style:normal;font-display:swap;font-weight:700;src:url(/fonts/manrope-latin-700-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Sora';font-style:normal;font-display:swap;font-weight:600;src:url(/fonts/sora-latin-600-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Sora';font-style:normal;font-display:swap;font-weight:700;src:url(/fonts/sora-latin-700-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
:root{
  --bg:#F3F7FB; --surface:#FFFFFF; --surface-2:#EBF1F8; --line:#DAE4F0;
  --ink:#10243F; --ink-2:#3D5273; --muted:#5B6D88;
  --brand:#1668DC; --brand-2:#0C7BB5; --brand-ink:#FFFFFF;
  --green:#107A57; --green-soft:#E4F5EE;
  --danger:#B3261E; --danger-soft:#FDECEA;
  --ring:rgba(22,104,220,.38);
  --shadow:0 12px 32px rgba(16,36,63,.09);
  --radius:18px;
  --stage-1:#E8F5EF; --stage-2:#E6F0FB; --stage-3:#F8FBFF;
  --card-alpha:rgba(255,255,255,.94);
  --bottle-op:.14;
  --on-accent:#fff;
}
@media (max-width:699px){:root{--bottle-op:.22}}
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]){
    color-scheme:dark;
    --bg:#0C1420; --surface:#131E2D; --surface-2:#18263A; --line:#26394F;
    --ink:#E9EFF8; --ink-2:#B6C6DB; --muted:#8FA3BE;
    --brand:#4E9DFF; --brand-2:#3CC6F5; --brand-ink:#08121F;
    --green:#36C293; --green-soft:#11312A;
    --danger:#FF8A7A; --danger-soft:#33201D;
    --ring:rgba(78,157,255,.45);
    --shadow:0 12px 32px rgba(0,0,0,.4);
    --stage-1:#DCEBE4; --stage-2:#DCE8F6; --stage-3:#EFF5FC;
    --card-alpha:rgba(19,30,45,.94);
    --bottle-op:.16;
    --on-accent:#08121F;
  }
}
:root[data-theme="dark"]{
  color-scheme:dark;
  --bg:#0C1420; --surface:#131E2D; --surface-2:#18263A; --line:#26394F;
  --ink:#E9EFF8; --ink-2:#B6C6DB; --muted:#8FA3BE;
  --brand:#4E9DFF; --brand-2:#3CC6F5; --brand-ink:#08121F;
  --green:#36C293; --green-soft:#11312A;
  --danger:#FF8A7A; --danger-soft:#33201D;
  --ring:rgba(78,157,255,.45);
  --shadow:0 12px 32px rgba(0,0,0,.4);
  --stage-1:#DCEBE4; --stage-2:#DCE8F6; --stage-3:#EFF5FC;
  --card-alpha:rgba(19,30,45,.94);
  --bottle-op:.16;
  --on-accent:#08121F;
}
*{box-sizing:border-box}
body{margin:0;background:var(--bg);color:var(--ink);font-family:Manrope,"Segoe UI",system-ui,sans-serif;font-size:16px;line-height:1.6;-webkit-font-smoothing:antialiased;overflow-x:hidden}
h1,h2,h3{font-family:Sora,Manrope,system-ui,sans-serif;font-weight:700;line-height:1.25;text-wrap:balance;margin:0}
p{margin:0}
a{color:var(--brand)}
img{max-width:100%}
button{font:inherit}
:focus-visible{outline:3px solid var(--ring);outline-offset:2px;border-radius:10px}
[hidden]{display:none!important}

.site{position:sticky;top:env(safe-area-inset-top,0px);z-index:30;background:color-mix(in srgb,var(--bg) 88%,transparent);backdrop-filter:blur(10px);border-bottom:1px solid var(--line)}
.site .row{max-width:1120px;margin:0 auto;padding:10px 16px;display:flex;align-items:center;justify-content:space-between;gap:12px}
.brand img{height:28px;width:auto;display:block}
.site .tagline{font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);font-weight:600}

main{display:block;position:relative;z-index:1}
.wrap{max-width:600px;margin:0 auto;padding-inline:16px;padding-block:24px 40px}
/* The floating bottles show around the card; the card itself starts close to
   the header, so the promise and the button are on the first screen. */
#scr-intro.wrap,#scr-quiz.wrap,#scr-load.wrap{padding-top:20px}
@media (min-width:700px){#scr-intro.wrap,#scr-quiz.wrap,#scr-load.wrap{padding-top:40px}}
.wide{max-width:1120px}
.screen[hidden]{display:none!important}

.eyebrow{display:inline-flex;align-items:center;gap:8px;font-size:13px;font-weight:600;color:var(--green);background:var(--green-soft);border-radius:999px;padding:6px 12px;align-self:flex-start}
.stack{display:flex;flex-direction:column;gap:18px}
.stack-sm{display:flex;flex-direction:column;gap:10px}
.stack > *,.stack-sm > *{min-width:0}
h1{font-size:clamp(26px,4.6vw,38px)}
h2{font-size:clamp(20px,3vw,26px)}
h1,h2,h3{overflow-wrap:break-word}
h3{font-size:17px}
.lead{color:var(--ink-2);font-size:17px}
.order-line{font-weight:700;font-size:16px;color:var(--ink)}
.small{font-size:13.5px;color:var(--muted);line-height:1.55}
.tiny{font-size:12px;color:var(--muted);line-height:1.5}

.ticks{display:flex;flex-direction:column;gap:10px;margin:2px 0 4px}
.tick{display:flex;gap:10px;align-items:flex-start;color:var(--ink-2)}
.tick svg{flex:none;margin-top:3px;color:var(--green)}

.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:54px;padding:0 18px;border:0;border-radius:14px;background:linear-gradient(135deg,var(--brand),var(--brand-2));color:var(--brand-ink);font-weight:700;font-size:16.5px;line-height:1.2;cursor:pointer;width:100%;transition:transform .15s ease,filter .15s ease}
.btn:hover{filter:brightness(1.05)}
.btn:active{transform:translateY(1px)}
.btn[disabled]{opacity:.55;cursor:default}
.btn-ghost{background:var(--surface);color:var(--ink);border:1.5px solid var(--line);font-weight:600}
.btn-row{display:flex;gap:10px}
.btn-row .btn{flex:1}

.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:20px;box-shadow:var(--shadow)}
.card-plain{box-shadow:none}
.card-accent{border:1.5px solid color-mix(in srgb,var(--brand) 45%,var(--line))}
.card-glass{background:var(--card-alpha)}

.progress{display:flex;flex-direction:column;gap:8px}
.bars{display:grid;grid-template-columns:repeat(7,1fr);gap:5px}
.bar{height:6px;border-radius:99px;background:var(--surface-2)}
.bar.on{background:linear-gradient(90deg,var(--green),var(--brand-2))}
.qmeta{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:13px;color:var(--muted);font-weight:600}
.back{background:none;border:0;color:var(--ink-2);font-weight:600;font-size:14px;display:inline-flex;align-items:center;gap:6px;cursor:pointer;padding:6px 0}
.note{background:var(--surface-2);border-radius:12px;padding:10px 14px;color:var(--ink-2);font-size:14.5px}
.opts{display:flex;flex-direction:column;gap:10px}
.opt{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:58px;padding:12px 18px;text-align:start;background:var(--surface);border:1.5px solid var(--line);border-radius:14px;color:var(--ink);font-size:16.5px;font-weight:500;cursor:pointer;transition:border-color .15s ease,background .15s ease,transform .1s ease}
.opt:hover{border-color:color-mix(in srgb,var(--brand) 40%,var(--line))}
.opt.sel{border-color:var(--brand);background:color-mix(in srgb,var(--brand) 8%,var(--surface));font-weight:600}
.opt .dot{width:20px;height:20px;border-radius:50%;border:2px solid var(--line);flex:none}
.opt.sel .dot{border-color:var(--brand);background:var(--brand);box-shadow:inset 0 0 0 4px var(--surface)}
.opt.multi .dot{border-radius:6px}
.opt.multi.sel .dot{box-shadow:none;background:var(--brand) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12l5 5L20 7'/></svg>") center/14px no-repeat}
.why-note{color:var(--muted);font-size:14px}
.linkbtn{background:none;border:0;color:var(--brand);font-weight:600;font-size:14px;cursor:pointer;padding:0;text-decoration:underline;text-underline-offset:3px}

.nums{display:grid;grid-template-columns:1fr 1fr;gap:12px}
@media (max-width:360px){.nums{grid-template-columns:1fr}}
.field{display:flex;flex-direction:column;gap:6px}
.field label{font-size:14px;font-weight:600}
.input{display:flex;align-items:stretch;border:1.5px solid var(--line);border-radius:13px;background:var(--surface);overflow:hidden;min-height:54px}
.input:focus-within{border-color:var(--brand)}
.input.err{border-color:var(--danger);background:var(--danger-soft)}
.prefix,.suffix{display:grid;place-items:center;padding:0 13px;background:var(--surface-2);color:var(--ink-2);font-weight:700}
.prefix{border-inline-end:1px solid var(--line)}
.suffix{border-inline-start:1px solid var(--line)}
.input input{flex:1;min-width:0;width:100%;border:0;background:transparent;color:var(--ink);font:inherit;font-size:17px;padding:0 14px}
.input input:focus{outline:none}
.err-msg{color:var(--danger);font-size:13.5px;font-weight:600}
.hint{font-size:13.5px;color:var(--brand);font-weight:600;display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.hint button{background:var(--surface-2);border:1px solid var(--line);color:var(--ink);border-radius:999px;padding:4px 10px;font:inherit;font-size:13px;font-weight:600;cursor:pointer}
.consent{font-size:12px;color:var(--muted);line-height:1.5}

.loader{display:flex;flex-direction:column;gap:22px;align-items:center;text-align:center;padding-block:40px}
.steps{display:flex;flex-direction:column;gap:14px;text-align:start;width:100%;max-width:420px}
.step-line{display:flex;gap:12px;align-items:flex-start;color:var(--muted);font-size:15.5px}
.step-line.done{color:var(--ink)}
.step-line.active{color:var(--ink);font-weight:600}
.spin{width:20px;height:20px;border-radius:50%;border:2.5px solid var(--surface-2);border-top-color:var(--brand);animation:spin .8s linear infinite;flex:none;margin-top:2px}
.check{width:20px;height:20px;flex:none;margin-top:2px;color:var(--green)}
@keyframes spin{to{transform:rotate(360deg)}}
.hero-reveal{width:190px;height:190px;display:grid;place-items:center;position:relative}
.orbit{position:absolute;width:44px;opacity:.55;animation:converge 1.4s cubic-bezier(.4,0,.2,1) forwards;animation-delay:var(--d,0s)}
.orbit img{display:block;width:100%;height:auto}
@keyframes converge{0%{transform:translate(var(--ox),var(--oy)) scale(1);opacity:.55}70%{opacity:.35}100%{transform:translate(0,0) scale(.25);opacity:0}}
.hero-reveal > img{max-height:170px;width:auto;filter:drop-shadow(0 10px 14px rgba(16,36,63,.18));animation:pop .6s cubic-bezier(.2,.8,.2,1) both}
@keyframes pop{from{transform:scale(.6);opacity:0}to{transform:scale(1);opacity:1}}

/* Three chips side by side; on a 320px phone (or with larger text) they wrap
   to the next row instead of pushing the page past the right edge. */
.chips{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,92px),1fr));gap:8px}
.chip{background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:10px 12px;display:flex;flex-direction:column;gap:2px;min-width:0;overflow-wrap:break-word}
.chip span{font-size:11.5px;color:var(--muted);letter-spacing:.04em;text-transform:uppercase;font-weight:600}
.chip b{font-size:14.5px}

.plan{display:flex;flex-direction:column;gap:18px}
.plan-step{display:flex;gap:14px;align-items:flex-start}
.num{flex:none;width:32px;height:32px;border-radius:10px;background:linear-gradient(135deg,var(--green),var(--brand));color:var(--on-accent);display:grid;place-items:center;font-weight:700;font-size:15px}
.plan-step b{display:block;font-size:15px;margin-bottom:2px}
.plan-step p{color:var(--ink-2);font-size:15.5px}

.grid-2{display:grid;gap:20px;grid-template-columns:minmax(0,1fr)}
.grid-2 > *{min-width:0}
@media (min-width:900px){
  .grid-2{grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);align-items:start}
  .sticky-col{position:sticky;top:96px}
}
/* The product photo sits beside its heading; the reasons take the full width
   under both, so no empty column is left under the photo on a phone. */
.reco{display:grid;grid-template-columns:120px minmax(0,1fr);column-gap:16px;row-gap:14px;align-items:center}
.reco>.stack-sm{display:contents}
.reco>.stage{grid-column:1;grid-row:1}
.reco>.stack-sm>h2{grid-column:2;grid-row:1;align-self:center;margin:0}
.reco>.stack-sm>:not(h2){grid-column:1/-1}
@media (max-width:420px){.reco{grid-template-columns:92px minmax(0,1fr);column-gap:14px}.reco>.stack-sm>h2{font-size:19px}}
@media (max-width:340px){.reco{grid-template-columns:80px minmax(0,1fr);column-gap:12px}.reco>.stack-sm>h2{font-size:17px}}
.reco .stage{padding:12px 8px 6px;border-radius:16px}
.stage{position:relative;border-radius:22px;padding:22px 18px 10px;display:grid;place-items:center;overflow:hidden;background:linear-gradient(165deg,var(--stage-1) 0%,var(--stage-2) 55%,var(--stage-3) 100%);box-shadow:inset 0 0 0 1px rgba(16,36,63,.07)}
.stage img{position:relative;max-height:150px;width:auto;filter:drop-shadow(0 10px 14px rgba(16,36,63,.14))}
.why{display:flex;flex-direction:column;gap:10px}
.why li{display:flex;gap:10px;align-items:flex-start;color:var(--ink-2);font-size:15.5px}
.why svg{flex:none;margin-top:4px;color:var(--green)}
.why{list-style:none;margin:0;padding:0}
.lleva{font-size:14.5px;color:var(--ink-2)}
.lleva b{color:var(--ink)}
.badges{display:flex;flex-wrap:wrap;gap:8px}
.badge{font-size:12.5px;font-weight:600;color:var(--ink-2);background:var(--surface-2);border-radius:999px;padding:5px 11px}

.price-row{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap}
.price{font-family:Sora,sans-serif;font-size:40px;font-weight:700;letter-spacing:-.02em}
.price-old{font-size:19px;color:var(--muted);text-decoration:line-through}
.save{font-size:13px;font-weight:700;color:var(--on-accent);background:var(--green);border-radius:999px;padding:5px 11px}
.meta-line{display:flex;gap:10px;align-items:flex-start;color:var(--ink-2);font-size:14.5px}
.meta-line svg{flex:none;margin-top:3px;color:var(--brand)}
.mie-auto{margin-inline-end:auto}

.check-list{display:flex;flex-direction:column;gap:12px}
.hr{height:1px;background:var(--line);border:0;margin:4px 0}
details.more{cursor:default}
details.more summary{cursor:pointer;list-style:none;padding:2px 0;color:var(--brand);font-weight:700}
details.more summary::-webkit-details-marker{display:none}
details.more summary::after{content:' ▾';color:var(--muted)}
details.more[open] summary::after{content:' ▴'}
details.more[open]{padding-bottom:4px}

.faq{display:flex;flex-direction:column;gap:0}
.faq details{border-top:1px solid var(--line)}
.faq details:first-of-type{border-top:0}
.faq summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;gap:12px;align-items:center;padding:14px 0;font-weight:600;font-size:15.5px}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:'+';color:var(--brand);font-weight:700;font-size:20px;flex:none}
.faq details[open] summary::after{content:'–'}
.faq .a{padding:0 0 14px;color:var(--ink-2);font-size:15px}

.sticky{position:fixed;left:0;right:0;bottom:0;z-index:40;background:var(--surface);border-top:1px solid var(--line);box-shadow:0 -8px 24px rgba(16,36,63,.12);padding:10px 16px calc(10px + env(safe-area-inset-bottom,0px))}
.sticky .row{max-width:1120px;margin:0 auto;display:flex;align-items:center;gap:14px}
.sticky .txt{flex:1;min-width:0}
.sticky b{display:block;font-size:14px;line-height:1.35}
@media (min-width:420px){.sticky b{font-size:15px}}
.sticky .btn{width:auto;min-height:46px;font-size:15.5px;padding:0 18px;flex:none}

.foot{border-top:1px solid var(--line);margin-top:40px;position:relative;z-index:1}
.foot .inner{max-width:1120px;margin:0 auto;padding:22px 16px calc(96px + env(safe-area-inset-bottom,0px));display:flex;flex-direction:column;gap:8px}
.center{text-align:center}
.success{width:56px;height:56px;border-radius:50%;background:linear-gradient(135deg,var(--green),var(--brand));display:grid;place-items:center;color:var(--on-accent)}
.phone-box{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}
.phone-box b{font-variant-numeric:tabular-nums;font-size:19px;letter-spacing:.02em}

/* ---- the bottles behind the quiz ---- */
.bottles{position:fixed;inset:0;z-index:0;pointer-events:none;overflow:hidden}
.bottle{position:absolute;opacity:var(--bottle-op);will-change:transform;transition:opacity .6s ease}
.bottle img{display:block;width:100%;height:auto}
.bottle.gone{opacity:0}
.bottle .f{animation:float var(--dur,24s) ease-in-out infinite;animation-delay:var(--delay,0s);transform:rotate(var(--tilt,0deg))}
@keyframes float{0%,100%{transform:translateY(0) rotate(var(--tilt,0deg))}50%{transform:translateY(-16px) rotate(calc(var(--tilt,0deg) + 2deg))}}
.bottles.paused .f{animation-play-state:paused}
.bottles.gather .bottle{transition:transform 1.2s cubic-bezier(.4,0,.2,1),opacity 1.2s ease;transform:translate(var(--gx),var(--gy)) scale(.4)!important;opacity:0}
.bottles.gather .f{animation:none}
@media (prefers-reduced-motion:reduce){*{animation-duration:.001ms!important;transition-duration:.001ms!important}.bottle{opacity:.06}}
.pause-btn{background:none;border:0;color:var(--muted);font-size:12.5px;cursor:pointer;padding:6px 0;text-decoration:underline;text-underline-offset:3px}

/* ---- helpers shared with the older pages ---- */
.t-ink{color:var(--ink)}
.t-ink2{color:var(--ink-2)}
.card-soft{background:var(--surface-2);border-color:transparent;box-shadow:none}
.spin-cur{border-top-color:currentColor;border-color:rgba(255,255,255,.35);border-top-color:#fff}
.hp{position:absolute!important;left:-10000px;top:0;width:1px;height:1px;overflow:hidden;opacity:0;pointer-events:none}
.skip{position:absolute;left:-9999px}
.skip:focus{left:16px;top:8px;z-index:60;background:var(--surface);padding:8px 14px;border-radius:10px}
.narrow{max-width:600px;margin:0 auto;width:100%}
.mt-6{margin-top:6px}
.gap-14{gap:14px}
.gap-16{gap:16px}
.upd{border:1.5px solid var(--brand);background:color-mix(in srgb,var(--brand) 8%,var(--surface));color:var(--ink);border-radius:12px;padding:10px 14px;font-size:14.5px;font-weight:600}
/* No floating products: the plain arm of the background test, or reduced motion. */
body.nobg .bottles{display:none}
.chips.chips-2{grid-template-columns:repeat(auto-fit,minmax(min(100%,120px),1fr))}

/* Microsoft Clarity consent bar (public/js/clarity.js). Both answers look the
   same: refusing is as easy as accepting. The page and the result's sticky
   button move up by the bar's height while it is shown. */
.cbar{position:fixed;left:0;right:0;bottom:0;z-index:60;background:var(--surface);border-top:1px solid var(--line);box-shadow:0 -8px 24px rgba(16,36,63,.12);padding:10px 16px calc(10px + env(safe-area-inset-bottom,0px));display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px 14px}
.cbar p{margin:0;font-size:13px;line-height:1.45;color:var(--ink-2);flex:1 1 300px;max-width:720px}
.cbar a{color:var(--brand);font-weight:600;white-space:nowrap}
.cbar-btns{display:flex;gap:8px;flex:0 1 auto}
.cbar-btn{font:inherit;font-size:14px;font-weight:700;min-height:40px;min-width:110px;padding:0 16px;border-radius:10px;border:1.5px solid var(--line);background:var(--surface);color:var(--ink);cursor:pointer}
.cbar-btn:focus-visible{outline:3px solid var(--brand);outline-offset:2px}
@media (max-width:520px){.cbar-btns{flex:1 1 100%}.cbar-btn{flex:1}}
body.has-cbar{padding-bottom:var(--cbar-h,0px)}
body.has-cbar .sticky{bottom:var(--cbar-h,0px)}
