/* ChefQuest 1.1 — Edición Pastel. Diseño system-driven, comfortable and mobile-first. */
:root {
  --forest:#41574e;
  --dark:#2e3835;
  --ink:#303936;
  --cream:#faf9f6;
  --paper:#ffffff;
  --sage:#e8f0e9;
  --mint:#b6cabb;
  --gold:#f2d6a5;
  --burnt:#c28d7a;
  --muted:#7b8580;
  --line:#eeefeb;
  --shadow:0 2px 4px rgba(35,51,40,.025),0 18px 55px -30px rgba(37,48,42,.13);
  --rad:24px;
  --font:-apple-system,BlinkMacSystemFont,'Segoe UI',Inter,'Helvetica Neue',Arial,sans-serif;
  --peach:#f9e8e1;
  --lavender:#f1edf8;
  --butter:#fbf0d6;
}
html {scroll-behavior:smooth}
body{background:var(--cream);color:var(--ink);font-family:var(--font);font-size:15px;letter-spacing:-.009em}
h1,h2,h3,h4{font-family:var(--font);letter-spacing:-.055em;color:var(--ink)}
h1{font-weight:750;line-height:1.07}h2{font-weight:750;line-height:1.15}h3{font-weight:750;letter-spacing:-.035em}
p{line-height:1.65}
button,input,textarea,select{font-family:var(--font)}
button, a{touch-action:manipulation}
:focus-visible{outline:3px solid #a2bca8!important;outline-offset:3px!important}
::selection{background:#e9d8ca;color:#283a32}
.side{width:244px;padding:26px 18px 22px;background:#fff;border-right:1px solid var(--line);gap:30px}
.brand{gap:11px;color:#334740;letter-spacing:-.06em;font-weight:800;font-size:1.5rem;padding:9px 8px 3px}
.brand img{width:40px;height:40px;border-radius:13px}
.brand span em{color:#bb9580}
.side-section{font-weight:700;color:#a4aca7;font-size:.64rem;letter-spacing:.16em;margin:20px 16px 13px}
.nav-links{gap:8px}
.nav-link{border-radius:15px;padding:12px 14px;gap:13px;font-weight:620;font-size:.92rem;color:#7b8580}
.nav-ico{font-size:0;width:24px;height:24px;display:grid;place-items:center}
.nav-ico svg,.mobile-bar .ico svg{width:21px;height:21px;stroke-width:1.75}
.nav-link.active{background:#eaf0eb;color:#385548}
.nav-link:hover{background:#f5f7f5;color:#385548}
.nav-link.active .nav-ico{color:#4f806b}
.side-cta{background:linear-gradient(145deg,#f5e9e4 0%,#faf2e5 90%);color:var(--ink);border-radius:23px;padding:23px 20px;border:1px solid #f1e5de;box-shadow:none}
.side-cta .emoji{width:45px;height:45px;display:grid;place-items:center;border-radius:15px;background:rgba(255,255,255,.75);color:#926f67;font-size:0}
.side-cta .emoji svg{width:24px;height:24px}
.side-cta h3{font:760 1.22rem/1.25 var(--font);letter-spacing:-.045em;margin:16px 0 7px}
.side-cta p{color:#756e69;font-size:.8rem;line-height:1.65;margin-bottom:15px}
.side-cta a{background:#fff;color:#5d5049;border:1px solid rgba(218,194,179,.56);font-weight:720;font-size:.8rem;box-shadow:0 7px 17px -15px #a3827a;border-radius:13px;padding:12px}
.main{margin-left:244px}
.top{height:78px;background:rgba(250,249,246,.88);border-bottom:1px solid #eaece8;backdrop-filter:blur(18px) saturate(145%);padding:0 clamp(22px,4.5vw,65px)}
.top small{font-size:.73rem;color:#9aa19c;margin-bottom:4px}
.top-title{font-weight:750;font-size:1.09rem;color:#39433d}
.top-right{gap:13px}
.xp-chip{background:#eef3ec;border:1px solid #e5eae4;color:#597466;font-size:.76rem;padding:10px 14px;font-weight:780;border-radius:100px}
.avatar{width:42px;height:42px;border:3px solid #fff;border-radius:50%;background:#eecfbd;color:#6d4f45;font-size:.99rem;box-shadow:0 0 0 1px #ebdfd9}
.content{max-width:1400px;padding:38px clamp(22px,4.5vw,65px) 90px}
.eyebrow{color:#a58977;font-size:.67rem;letter-spacing:.17em;font-weight:800;margin-bottom:13px}
.section-head{margin-bottom:23px}
.section-head h2{font-size:clamp(1.5rem,2.6vw,2.05rem);font-weight:770}
.section-head p{color:#8b938c;margin-top:8px;font-size:.91rem}
.muted{color:var(--muted)}
.btn{background:#486357;color:#fff;border-radius:14px;font-weight:700;letter-spacing:-.017em;box-shadow:0 5px 17px -12px #394c42;transition:transform .19s ease,background .19s ease,box-shadow .19s ease}
.btn:hover:not(:disabled){transform:translateY(-1px);background:#3a5549;filter:none;box-shadow:0 11px 26px -16px #394c42}
.btn.gold{background:#f4ddba;color:#5b4d3f;box-shadow:none}
.btn.gold:hover:not(:disabled){background:#eed0a4}
.btn.light{background:#edf2eb;color:#3c6553;box-shadow:none}
.btn.light:hover:not(:disabled){background:#dfeade}
.btn.white{background:#fff;color:#4b5a50;box-shadow:0 8px 24px -19px #394c42}
.btn.outline{border:1px solid #e6e9e4;background:#fff;color:#51655a;box-shadow:none}
.btn.danger{background:#fff0ed;color:#a55a49;box-shadow:none}
.btn.small{min-height:43px;border-radius:13px;font-size:.81rem;font-weight:720}
.chip{border-color:#e9ece6;color:#737e77;border-radius:100px;background:#fff;padding:9px 17px;min-height:43px;font-size:.79rem;font-weight:650}
.chip:hover{background:#f4f5f1}
.chip.active{background:#dceadf;border-color:#cfe0d4;color:#3b614f}
.searchbar{background:white;border:1px solid #e9ebe6;border-radius:15px;box-shadow:0 5px 24px -19px #79897c;min-height:47px;min-width:260px;color:#8c9790}
.searchbar input{font-size:.87rem;color:#38443e}
.searchbar input::placeholder{color:#adb5ad}
.searchbar:focus-within{outline:2px solid #c3d6c8;border-color:transparent}
.card{background:white;border:1px solid #eeefeb;border-radius:24px;box-shadow:var(--shadow)}
.card-pad{padding:26px}
.grid-three{gap:22px}
.grid-two{gap:22px}
.recipe-card{padding:8px;transition:transform .25s ease,box-shadow .25s ease;border-radius:26px}
.recipe-card:hover{transform:translateY(-3px);box-shadow:0 18px 45px -25px rgba(40,60,45,.22)}
.recipe-image{height:205px;background:#f5f1ea;border-radius:20px;overflow:hidden}
.recipe-image img{height:100%;width:100%;object-fit:cover;object-position:center;transition:transform .5s cubic-bezier(.2,.8,.2,1)}
.recipe-card:hover .recipe-image img{transform:scale(1.035)}
.recipe-image .tag{top:12px;left:12px;max-width:calc(100% - 72px);background:rgba(255,255,255,.95);color:#5d6259;border:1px solid #fff9;font-weight:730;box-shadow:0 6px 20px -14px #0006}
.fav{width:40px;height:40px;min-height:40px;top:12px;right:12px;background:rgba(255,255,255,.95);color:#c48e7e;border:1px solid rgba(255,255,255,.75);box-shadow:0 5px 18px -14px #0006}
.recipe-info{padding:18px 11px 11px}
.recipe-info h3{font-size:1.13rem;font-weight:740;margin:1px 0 8px}
.recipe-info p{font-size:.82rem;color:#8b968d;min-height:41px;line-height:1.5}
.recipe-meta{color:#77867a;font-size:.765rem;margin:16px 0 17px;gap:10px}
.recipe-meta .dot{background:#cbd4c9}
.recipe-info .btn{font-weight:700}
.tag{background:#eef3ee;color:#547061;font-weight:720;font-size:.67rem;padding:8px 11px}
.tag.gold{background:#fcf1de;color:#957a57}
.tag.sage{background:#e6f1e7;color:#577662}
.tag.burnt{background:#f8e8e4;color:#a16e61}
.hero{background:#f6eae6;border-radius:29px;min-height:350px;box-shadow:none;border:1px solid #f5e9e4;isolation:isolate;color:var(--ink)}
.hero:before{left:51%;background:url('/assets/hero.webp') center center / cover no-repeat;z-index:0}
.hero:after{background:linear-gradient(90deg,#f6eae6 0%,#f6eae6 41%,rgba(246,234,230,.72) 55%,transparent 72%);z-index:0}
.hero-body{width:min(66%,670px);padding:clamp(28px,4vw,55px)}
.hero .eyebrow{color:#aa8a7b}
.hero-dot{background:#d29b80}
.hero h1{color:#34453d;font-size:clamp(2.15rem,3.45vw,3.4rem);font-weight:790;line-height:1.12;max-width:530px}
.hero h1 em{color:#ab7967;font-style:normal}
.hero p{color:#6c7771;font-size:.95rem;max-width:455px;margin-bottom:25px}
.hero-actions{gap:10px}
.hero .btn{border-radius:14px;font-size:.89rem}
.stats{gap:17px;margin-top:20px}
.stat{background:#fff;border-color:#eff0ec;border-radius:19px;padding:18px 20px;gap:14px;box-shadow:0 7px 24px -23px #364a40}
.stat-ico{background:#eff2ef;color:#587867;border-radius:14px;font-size:1.28rem}
.stat-ico svg{width:23px;height:23px;stroke-width:1.8}
.stat:nth-child(2) .stat-ico{background:#f7ebe8}
.stat:nth-child(3) .stat-ico{background:#f7efd9}
.stat strong{font-size:1.27rem;color:#37463d}
.stat span{color:#969f96;font-size:.78rem}
.soft{background:#f2f6f2}
.icon-square{background:#f1f3ef}
.detail-hero{background:white;border-radius:29px;border-color:#ecede8;min-height:340px}
.detail-hero>img{max-height:500px;object-fit:cover}
.detail-info{padding:clamp(25px,4vw,52px)}
.detail-info h1{font-weight:775;color:var(--ink)}
.detail-info p{color:#829187}
.ingredient{border-color:#f0f1ed}
.ingredient input{accent-color:#759f88}
.count-selector{background:#f1f5ef}
.count-selector button{color:#496f59}
.progress-track{background:#edf1ec}
.progress-track i{background:#9dbc9f}
.cook-step{border-color:#eff0eb;box-shadow:var(--shadow);border-radius:25px}
.cook-step .large-number{color:#e2ebe5;font-family:var(--font);font-weight:800}
.cook-step h1{font-weight:780}
.cook-step .instruction{color:#5a6b60}
.timer{background:#f4f6f1}
.timer .digits{color:#455a50}
.challenge .badge-ico{background:#f4ecf1;border-radius:18px}
.challenge:nth-child(2n) .badge-ico{background:#edf3e9}
.challenge:nth-child(3n) .badge-ico{background:#fff3e1}
.challenge.done{border-color:#d7e7d8;background:#f9fcf8}
.challenge.done:after{background:#dfeee2;color:#53735e}
.mesa-feature{background:linear-gradient(122deg,#f4eae5,#edf3ec);color:#35443a;border-radius:27px;border:1px solid #f1e9e3;gap:20px}
.mesa-feature h1{color:#34433a;font-weight:800}
.mesa-feature p{color:#738078}
.mesa-feature .mesa-art{background:radial-gradient(circle,#dce9df 8%,transparent 70%);font-size:7rem}
.share-link{background:#f4f7f3;border-color:#e4ebe4}
.stars{gap:6px}
.star{border-radius:13px;color:#909f93;border-color:#e6ebe4}
.star.selected{background:#e8bb7a;border-color:#e7bd85;color:#5e513c;box-shadow:none}
.fancy-number{font-family:var(--font);font-weight:800;color:#465e52}
.aggregate .avg-item i{background:#bbcbaf}
.notice{background:#eff5ef;color:#526c5c;border-radius:14px}
.notice.warning{background:#fdf3e3;color:#88704d}
.footer-note{color:#b1b9b1;font-size:.76rem;margin-top:55px}
.toast{background:#394e44;box-shadow:0 14px 32px -12px #253a32}
.profile-card .avatar{background:#e8ddd7;color:#6f635b}
.dashboard-hero{background:linear-gradient(115deg,#ecf2ec,#f8ece6)}
.empty{border-color:#e0e9e0}
@media (max-width:1170px){.side{width:210px}.main{margin-left:210px}.content{padding-inline:4%}.top{padding-inline:4%}}
@media (max-width:930px){.side{width:79px;padding:20px 9px}.main{margin-left:79px}.brand{justify-content:center;padding:0}.brand img{width:44px;height:44px}.nav-link{justify-content:center;padding:13px}.side-section,.side-cta,.brand span,.nav-link span:last-child{display:none}.nav-ico svg{width:23px;height:23px}}
@media (max-width:760px) and (min-width:641px){.hero-body{width:75%}.hero:before{background-size:55% 100%}}
@media (max-width:640px){
 .side{display:none}.main{margin:0}.top{height:70px;padding:0 18px}.content{padding:22px 17px 115px}
 .hero{display:block;min-height:unset;padding-top:205px;border-radius:25px;overflow:hidden}
 .hero:before{left:0;right:0;top:0;bottom:auto;height:205px;background-size:cover;background-position:center 38%}
 .hero:after{display:none}
 .hero-body{padding:25px 22px 26px;width:100%;background:#f7ece7}
 .hero h1{font-size:clamp(1.95rem,7vw,2.65rem);line-height:1.12;max-width:460px}
 .hero p{font-size:.9rem;margin-bottom:19px}
 .hero .btn{font-size:.81rem;flex:1;padding:13px 10px}
 .stats{gap:8px;margin-top:13px}.stat{padding:12px 3px;gap:4px;border-radius:14px;flex-direction:column;text-align:center}.stat strong{font-size:1.05rem}.stat span{font-size:.64rem}.stat-ico{width:34px;height:34px}
 .recipe-image{height:210px}
 .grid-three,.grid-two,.grid-four,.detail-hero,.mesa-feature{grid-template-columns:1fr}
 .card-pad{padding:20px}
 .section-head h2{font-size:1.57rem}
 .mobile-bar{background:rgba(255,255,255,.94);border-top:1px solid #eaece8;box-shadow:0 -6px 24px -17px #344a3c;padding:9px 8px calc(8px + env(safe-area-inset-bottom))}
 .mobile-bar a{gap:5px;color:#98a39b;font-weight:700;font-size:.64rem;border-radius:13px;min-height:57px}
 .mobile-bar .ico{display:grid;place-items:center;height:22px}
 .mobile-bar .ico svg{width:21px;height:21px}
 .mobile-bar a.active{background:#ecf2ed;color:#52735e}
 .detail-hero>img{height:240px;min-height:220px}
 .mesa-feature .mesa-art{display:none}
 .filter-row{flex-direction:column!important;align-items:stretch!important}
 .searchbar{min-width:0;width:100%}
 .star{min-width:0}
}
@media (prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

.mesa-feature .mesa-art{background:transparent;min-height:220px;overflow:hidden;border-radius:22px}
.mesa-feature .mesa-art img{width:100%;height:230px;object-fit:cover;object-position:center 41%;border-radius:22px}
.grid-two>.card:nth-child(2){background:#fffaf3!important}
