@font-face{font-family:'Open Sauce One';src:url('./assets/OpenSauceOne-Regular.ttf') format('truetype');font-weight:400;font-display:swap}
@font-face{font-family:'Open Sauce One';src:url('./assets/OpenSauceOne-Bold.ttf') format('truetype');font-weight:600 900;font-display:swap}
@font-face{font-family:'Open Sauce One';src:url('./assets/OpenSauceOne-Italic.ttf') format('truetype');font-weight:400;font-style:italic;font-display:swap}
:root{color-scheme:light;--ink:#342b28;--muted:#6a5751;--accent:#713f43;--rose:#e5c1bc;--wash:#f8f3ef;--paper:#fffaf6;--border:#decdc4;--ui:'Open Sauce One',sans-serif}
*,*::before,*::after{box-sizing:border-box}
[hidden]{display:none!important}
body{margin:0;min-height:100svh;background:var(--wash);color:var(--ink);font:1rem/1.6 var(--ui);display:flex;flex-direction:column}
main{flex:1}
img{display:block;max-width:100%;height:auto}
button,input,textarea{font:inherit;color:inherit}
button{cursor:pointer}
a{color:inherit;text-underline-offset:.18em}
:focus-visible{outline:3px solid #9d5d58;outline-offset:4px}
.wrap{width:min(100% - 5rem,1260px);margin-inline:auto}
.mast{height:90px;display:flex;align-items:center;justify-content:space-between;gap:16px}
.logo{width:116px;height:auto}
.mast-label,.eyebrow,.progress-head,.footer{font-size:.77rem;font-weight:700;letter-spacing:.13em;text-transform:uppercase}
.mast-label{color:var(--muted)}
.hero{display:grid;grid-template-columns:.99fr 1.01fr;border:1px solid var(--border);border-radius:4px;overflow:hidden;min-height:580px;background:#f5e4df}
.hero-copy{display:grid;align-items:center;background:radial-gradient(ellipse at 12% 65%,#faf0ea,transparent 66%),linear-gradient(145deg,#f6dfd8,#f8eee5 88%)}
.hero-inner{padding:clamp(2rem,5vw,5rem)}
.eyebrow{display:flex;align-items:center;gap:10px;color:var(--accent);margin:0 0 1.3rem}
.eyebrow span{width:19px;height:1px;background:currentColor;flex:none}
h1,h2{font-family:var(--ui);font-weight:700;line-height:1.06;margin:0;letter-spacing:-.055em}
.hero h1{font-size:clamp(3.15rem,6.1vw,6.5rem)}
.hero h1 em{font-weight:400;color:var(--accent)}
.hero-intro{font:clamp(1.28rem,2vw,1.8rem)/1.25 var(--ui);margin:1.4rem 0 .65rem;max-width:22ch}
.hero-desc{margin:0 0 1.7rem;max-width:35ch;color:var(--muted)}
.hero-image{margin:0;min-height:100%;position:relative;background:#dfd1c7}
.hero-image img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:54% 58%}
.button{display:inline-flex;align-items:center;justify-content:center;text-align:center;min-height:50px;border:1px solid transparent;border-radius:4px;padding:.68rem 1.4rem;font-size:.95rem;font-weight:700;transition:background .18s ease,color .18s ease}
.primary{background:var(--accent);color:#fffaf7}
.primary:hover{background:#5a3035}
.secondary{background:transparent;border-color:var(--border);color:var(--accent)}
.secondary:hover{background:#f4e3df}
.button:disabled{opacity:.6;cursor:wait}
.footer{display:flex;justify-content:space-between;gap:1rem;color:var(--muted);padding:1.45rem 0 1.8rem}
.footer a{text-transform:none;letter-spacing:0;font-weight:500}
#encuesta,.result{max-width:850px;margin:12px auto 24px}
.progress-head{display:flex;justify-content:space-between;align-items:center;gap:15px;color:var(--accent)}
.progress-head p{margin:.35rem 0}
.progress-name{font-weight:600;text-align:right}
.progress-bars{list-style:none;display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:6px;margin:0 0 20px;padding:0}
.progress-bars li{height:5px;border-radius:4px;background:#eadbd3}
.progress-bars li[data-state=done]{background:#c68f8b}
.progress-bars li[aria-current=step]{background:var(--accent)}
.paper{background:var(--paper);border:1px solid var(--border);border-radius:6px;padding:clamp(1.2rem,4.7vw,3.4rem)}
.paper h1,.paper h2{font-size:clamp(2.1rem,5.6vw,4.3rem)}
.paper h3{font-size:1.08rem;margin:.1rem 0 .3rem;line-height:1.25}
.lead{color:var(--muted);margin:.7rem 0 1.6rem;max-width:55ch}
fieldset{min-inline-size:0;border:0;margin:0;padding:0}
fieldset+fieldset,.group-space{margin-top:1.35rem}
legend,.field-label{display:block;font-weight:700;margin-bottom:.55rem}
input[type=text],textarea{width:100%;background:#fffcf9;border:1px solid #cbb5ab;border-radius:4px;padding:.65rem .8rem}
input[type=text]{max-width:34ch}
textarea{resize:vertical;min-height:76px}
input[type=radio],input[type=checkbox]{accent-color:var(--accent);width:18px;height:18px;flex:none;margin:0}
.choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.choice{border:1px solid #e5d7ce;background:#fffdf9;border-radius:4px;padding:.55rem .72rem;min-height:47px;display:flex;align-items:center;gap:.62rem;cursor:pointer;line-height:1.3}
.choice:has(:checked){background:#f7e8e4;border-color:#b4807e}
.choice input:focus-visible{outline-offset:2px}
.help,.status{font-size:.91rem;color:var(--muted)}
.status:empty{display:none}
.status[role=alert]{color:#8b303d;font-weight:600}
.callout{border-left:3px solid #b27d79;background:#f7e9e3;border-radius:0 4px 4px 0;padding:.8rem 1rem;margin:1.2rem 0 0;color:#593c37}
.product-list{display:grid;gap:14px}
.product-card{border:1px solid var(--border);border-radius:5px;display:grid;grid-template-columns:minmax(140px,.52fr) 1fr;overflow:hidden;background:#fffdf9}
.product-card>img{width:100%;height:100%;min-height:220px;object-fit:cover;background:#edccc7}
.product-body{padding:1rem;min-width:0}
.product-body .step-name{line-height:1.2;font-size:.75rem;letter-spacing:.1em;color:var(--accent);text-transform:uppercase;font-weight:700;margin:0 0 .25rem}
.stars{display:flex;flex-wrap:nowrap;align-items:center;margin:.15rem 0 .25rem;gap:1px}
.star{border:0;border-radius:4px;background:transparent;padding:0;min-width:44px;min-height:44px;color:#815b54;font-size:1.8rem;line-height:1}
.star:hover,.star[data-filled=true]{color:#9e564b}
.rating-info{display:flex;align-items:center;justify-content:space-between;gap:.35rem;margin:0 0 .65rem}
.rating-note{margin:0;font-size:.82rem;color:var(--muted);min-height:1.6em}
.text-button{font-size:.84rem;background:none;border:0;text-decoration:underline;text-underline-offset:3px;padding:4px;color:var(--accent);min-height:38px}
.product-body .field-label{font-size:.86rem;margin-bottom:.25rem}
.product-body textarea{font-size:.91rem}
.no-trial{width:fit-content;margin-bottom:.8rem}
.star:disabled{opacity:.45;cursor:default}
[aria-invalid=true]{outline:2px solid #8b303d;outline-offset:2px}
.product-picks{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.pick-card{display:flex;flex-direction:column;align-items:stretch;padding:0;gap:0;overflow:hidden}
.pick-card img{width:100%;aspect-ratio:2/1;object-fit:cover;object-position:center 52%}
.pick-card span{display:flex;align-items:center;gap:.55rem;min-height:56px;padding:.45rem .55rem;font-size:.86rem}
.flow-actions,.result-actions{display:flex;justify-content:space-between;gap:10px;margin-top:16px}
.flow-actions{position:sticky;bottom:0;z-index:1;padding:.55rem 0 max(.55rem,env(safe-area-inset-bottom));background:var(--wash)}
.result-header{border-bottom:1px solid var(--border);margin-bottom:20px;padding-bottom:14px}
.result-actions{justify-content:flex-start;flex-wrap:wrap}
.result-section{margin:1.35rem 0}
.result-section p{margin:.3rem 0}
.result-ratings{padding:0;list-style:none;margin:.4rem 0 0}
.result-ratings li{padding:.55rem 0;border-bottom:1px solid var(--border);overflow-wrap:anywhere}
.result-ratings strong{color:var(--accent)}
@media(max-width:900px){.wrap{width:min(100% - 2.5rem,1260px)}.hero{min-height:500px}}
@media(max-width:640px){
 .wrap{width:calc(100% - 1.5rem)}.mast{height:72px}.mast-label{font-size:.68rem}.logo{width:98px}
 .hero{grid-template-columns:1fr;min-height:0}.hero-inner{padding:1.75rem 1.45rem 1.8rem}
 .hero h1{font-size:clamp(2.6rem,9.5vw,4rem)}
 .hero-image{aspect-ratio:5/4}.hero-image img{object-position:center 63%}.hero-intro{margin-top:.8rem}.hero-desc{margin-bottom:1.1rem}
 .eyebrow{margin-bottom:.72rem}
 .footer{font-size:.68rem}.choices{grid-template-columns:1fr}.progress-name{font-size:.68rem}
 #encuesta,.result{margin-top:2px}
 .product-card{grid-template-columns:1fr}.product-card>img{min-height:0;height:155px;object-fit:contain;background:#dfb4af}
 .product-body{padding:.75rem}.product-picks{grid-template-columns:repeat(2,minmax(0,1fr))}
 .flow-actions .button{padding:.6rem 1rem}.result-actions .button{width:100%}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;scroll-behavior:auto!important}}

.result-actions a.button{text-decoration:none}
@media print{
  @page{margin:16mm}
  body{display:block;min-height:0;background:#fff;color:#222;font-size:10.5pt}
  .mast,.footer,#portada,#encuesta,.result-actions,#descarga-estado,#descarga-ayuda{display:none!important}
  .wrap,#resultado{width:auto;max-width:none;margin:0}
  #resultado{padding:0;border:0;background:#fff}
  #titulo-resultado{font-size:24pt}
  .result-section h3{break-after:avoid}
  .result-ratings li{break-inside:avoid}
}
