/* Palace Sweets and Bakers v2 — Headings: Nunito (rounded, professional) | Body: Poppins */
:root{
  --red:#d92323; --red-dark:#b31217; --yellow:#ffc400; --yellow-dark:#e6a700; --yellow-soft:#fff6d6;
  --cream:#fffaf0; --ink:#2b2118; --muted:#6b5d52; --card-border:#f0dfbe;
  --radius:18px; --shadow:0 14px 34px rgba(179,18,23,.15); --glow:0 0 0 4px rgba(255,196,0,.35),0 14px 34px rgba(217,35,35,.32);
}
*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
body{font-family:'Poppins',system-ui,sans-serif;color:var(--ink);background:var(--cream);line-height:1.65;overflow-x:hidden}
h1,h2,h3,h4,.logo-text{font-family:'Nunito',sans-serif;font-weight:900;line-height:1.18;letter-spacing:.2px}
img{max-width:100%;display:block}
a{color:var(--red);text-decoration:none}
.container{width:min(1180px,92%);margin-inline:auto}

/* ---------- Buttons & pills: perfectly centred text ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;text-align:center;line-height:1.25;min-height:50px;background:var(--red);color:#fff!important;padding:.85rem 1.8rem;border-radius:999px;font-weight:600;border:2px solid var(--red);transition:.3s;cursor:pointer;gap:.5rem}
.btn:hover{transform:translateY(-3px);box-shadow:var(--glow);background:var(--red-dark)}
.btn-yellow{background:var(--yellow);color:#3a2500!important;border-color:var(--yellow)}
.btn-yellow:hover{background:#ffcf2e}
.btn-outline{background:transparent;color:var(--red)!important}
.btn-outline:hover{background:var(--red);color:#fff!important}
.btn-sm{min-height:42px;padding:.55rem 1.2rem;font-size:.9rem}
.tag,.pill{display:inline-flex;align-items:center;justify-content:center;text-align:center;line-height:1.25;background:var(--yellow-soft);border:1.5px solid var(--yellow);color:#7a5200;padding:.5rem 1.05rem;border-radius:999px;font-size:.82rem;font-weight:700;margin-bottom:1rem;min-height:36px}
.price-pill{display:inline-flex;align-items:center;justify-content:center;line-height:1.2;background:var(--red);color:#fff;font-family:'Nunito';font-weight:800;padding:.5rem 1.1rem;border-radius:999px;font-size:.95rem;margin-top:.7rem;min-height:38px}

/* ---------- Header / logo ---------- */
.topbar{background:var(--ink);color:#ffe9a8;text-align:center;font-size:.88rem;padding:.55rem 1rem}
.topbar a{color:var(--yellow);font-weight:600}
header.site{position:sticky;top:0;z-index:60;background:rgba(255,253,248,.97);backdrop-filter:blur(10px);border-bottom:3px solid var(--yellow);box-shadow:0 4px 18px rgba(0,0,0,.05)}
.nav{display:flex;align-items:center;justify-content:space-between;padding:.55rem 0;gap:1rem}
.logo-link{display:flex;flex-direction:column;align-items:center;flex-shrink:0;gap:3px}
.logo-img{width:330px;max-width:64vw;height:auto}
.burger{display:none;background:var(--red);color:#fff;border:0;border-radius:12px;width:48px;height:48px;font-size:1.35rem;cursor:pointer;align-items:center;justify-content:center}
nav.links{display:flex;gap:1.35rem;flex-wrap:wrap;align-items:center}
nav.links a{color:var(--ink);font-weight:600;font-size:.95rem;position:relative;padding:.3rem 0}
nav.links a:after{content:"";position:absolute;left:0;bottom:-2px;height:3px;width:0;background:var(--yellow);transition:.3s;border-radius:99px}
nav.links a:hover:after,nav.links a.active:after{width:100%}

/* ---------- Hero + auto slider ---------- */
.hero{position:relative;background:linear-gradient(120deg,#fff3c4,#ffe082 45%,#ffc9c9);padding:4rem 0;overflow:hidden}
.hero-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:2.5rem;align-items:center;position:relative}
.badge{display:inline-flex;align-items:center;justify-content:center;text-align:center;line-height:1.25;background:var(--red);color:#fff;padding:.55rem 1.15rem;border-radius:999px;font-size:.85rem;font-weight:600;margin-bottom:1.1rem;min-height:38px;animation:pulse 2.2s infinite}
@keyframes pulse{0%,100%{box-shadow:0 0 0 0 rgba(217,35,35,.35)}50%{box-shadow:0 0 0 9px rgba(217,35,35,0)}}
.hero h1{font-size:clamp(2.1rem,5vw,3.5rem);margin:.4rem 0 .8rem}
.hero h1 em{color:var(--red);font-style:normal;background:linear-gradient(transparent 62%,var(--yellow) 62%)}
.hero p.lead{font-size:1.07rem;color:#5a4632;max-width:34rem}
.slider{position:relative;border-radius:26px;overflow:hidden;box-shadow:var(--shadow);aspect-ratio:4/3;background:#ddd}
.slider img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transform:scale(1.06);transition:opacity 1s ease,transform 5s ease}
.slider img.active{opacity:1;transform:scale(1)}
.slider-dots{position:absolute;left:50%;transform:translateX(-50%);bottom:14px;display:flex;gap:.5rem;z-index:3}
.slider-dots button{width:13px;height:13px;border-radius:50%;border:2px solid #fff;background:rgba(0,0,0,.35);cursor:pointer;padding:0}
.slider-dots button.active{background:var(--yellow)}
.slider-caption{position:absolute;left:14px;bottom:14px;z-index:3;background:rgba(30,18,8,.78);color:#fff;padding:.5rem 1rem;border-radius:999px;font-size:.85rem;font-weight:600;display:inline-flex;align-items:center;justify-content:center;line-height:1.25;min-height:36px}
.stats{display:flex;gap:.9rem;flex-wrap:wrap;margin-top:1.5rem}
.stat{background:#fff;border:2px solid var(--yellow);border-radius:14px;padding:.7rem 1.05rem;text-align:center;min-width:104px}
.stat b{font-family:'Nunito';font-weight:900;font-size:1.22rem;color:var(--red);display:block}

/* ---------- Sections ---------- */
section{padding:4rem 0}
.section-head{text-align:center;max-width:46rem;margin:0 auto 2.4rem}
.section-head h2{font-size:clamp(1.9rem,3.6vw,2.6rem)}
.section-head h2 span{color:var(--red)}
.kicker{color:var(--red);font-weight:800;letter-spacing:2.5px;text-transform:uppercase;font-size:1.08rem;margin-bottom:.65rem;display:flex;align-items:center;justify-content:center;gap:.9rem;font-family:'Nunito'}
.kicker:before,.kicker:after{content:"";height:3px;width:44px;background:var(--yellow);border-radius:99px}
.cat-title{font-size:clamp(1.55rem,3vw,2rem);margin:2.2rem 0 .4rem;display:flex;align-items:center;gap:.7rem}
.cat-sub{color:var(--muted);margin-bottom:1.4rem}

/* ---------- Cards / grids ---------- */
.grid{display:grid;gap:1.4rem}
.grid-3{grid-template-columns:repeat(3,1fr)} .grid-4{grid-template-columns:repeat(4,1fr)} .grid-2{grid-template-columns:repeat(2,1fr)}
.card{background:#fff;border-radius:var(--radius);overflow:hidden;border:1px solid var(--card-border);transition:.35s;display:flex;flex-direction:column}
.card:hover{transform:translateY(-8px);box-shadow:var(--shadow);border-color:var(--yellow)}
.card .img-wrap{overflow:hidden;position:relative}
.card img{height:215px;width:100%;object-fit:cover;transition:.5s}
.card:hover img{transform:scale(1.07)}
.card-body{padding:1.3rem;display:flex;flex-direction:column;align-items:flex-start;flex:1}
.card-body h3{margin-bottom:.45rem;font-size:1.22rem}
.card-body p{color:var(--muted);font-size:.95rem}
.menu-card .card-body{align-items:center;text-align:center}
.why{background:var(--red);color:#fff}
.why .card{background:rgba(255,255,255,.09);border-color:rgba(255,255,255,.22);color:#fff}
.why .card-body p{color:#ffe3e3}
.why h2{color:#fff}.why .kicker{color:var(--yellow)}
.cta-band{background:linear-gradient(90deg,var(--yellow),#ffcf2e);border-radius:24px;padding:2.4rem;text-align:center;box-shadow:var(--shadow)}
details.faq{background:#fff;border:1px solid var(--card-border);border-radius:14px;padding:1.1rem 1.3rem;margin-bottom:.8rem}
details.faq summary{font-family:'Nunito';font-weight:800;cursor:pointer;font-size:1.08rem}
form.order{display:grid;gap:1rem;background:#fff;padding:2rem;border-radius:20px;box-shadow:var(--shadow);border-top:6px solid var(--yellow)}
label{font-weight:600;font-size:.92rem}
input,select,textarea{width:100%;padding:.8rem 1rem;border:1.5px solid #e7d9c3;border-radius:12px;font-family:inherit;margin-top:.3rem;font-size:1rem}
input:focus,select:focus,textarea:focus{outline:none;border-color:var(--yellow);box-shadow:0 0 0 4px rgba(255,196,0,.3)}
.reveal{opacity:0;transform:translateY(28px);transition:.7s ease}
.reveal.visible{opacity:1;transform:none}
.stars{color:var(--yellow-dark);letter-spacing:2px}

/* ---------- Footer (identical on every page) ---------- */
footer{background:#211710;color:#f5e9d6;padding:3.4rem 0 1.4rem}
footer a{color:#ffd34d}
.footer-grid{display:grid;grid-template-columns:1.3fr 1fr 1fr 1.1fr;gap:2.2rem}
footer h3{color:var(--yellow);margin-bottom:.9rem;font-size:1.15rem}
.footer-logo{width:min(340px,100%);height:auto;background:#fff;border-radius:16px;padding:.6rem}
.logo-tagline{font-family:'Nunito',sans-serif;font-weight:800;color:var(--red);font-size:.98rem;letter-spacing:2.6px;text-transform:uppercase;line-height:1.25;text-align:center;white-space:nowrap}
.footer-tagline{display:block;width:min(340px,100%);margin-top:.5rem}
.socials{display:flex;gap:.75rem;margin-top:1rem;flex-wrap:wrap}
.socials a{width:48px;height:48px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;transition:.3s;flex-shrink:0}
.socials a svg{width:26px;height:26px;display:block}
.socials a.fb{background:#1877F2}.socials a.ig{background:linear-gradient(45deg,#f9ce34,#ee2a7b,#6228d7)}
.socials a.tt{background:#000;border:1.5px solid #3a3a3a}.socials a.gm{background:#fff}
.socials a:hover{transform:translateY(-5px) scale(1.06);box-shadow:var(--glow)}
.copyright{border-top:1px solid rgba(255,255,255,.15);margin-top:2.2rem;padding-top:1.2rem;text-align:center;font-size:.86rem;color:#cbb99e}
.float-call{position:fixed;right:16px;bottom:16px;z-index:70;background:var(--red);color:#fff!important;width:58px;height:58px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:1.45rem;box-shadow:var(--shadow);animation:pulse 2s infinite}
.map{width:100%;height:380px;border:0;border-radius:20px}
.prose{max-width:52rem;margin:auto;background:#fff;padding:2.4rem;border-radius:20px}
.prose h2{margin:1.6rem 0 .5rem}.prose p,.prose li{color:var(--muted)}
.gallery-card img{height:250px}
.subnav{display:flex;gap:.7rem;flex-wrap:wrap;justify-content:center;margin-bottom:2rem}

/* ---------- Responsive / mobile ---------- */
@media(max-width:992px){
  .grid-4{grid-template-columns:repeat(2,1fr)} .footer-grid{grid-template-columns:1fr 1fr}
  .hero-grid{grid-template-columns:1fr} .hero{padding:3rem 0}
}
@media(max-width:768px){
  .burger{display:inline-flex}
  nav.links{display:none;position:absolute;top:100%;left:0;right:0;background:#fffdf8;flex-direction:column;align-items:stretch;padding:1rem 5%;gap:.2rem;border-bottom:3px solid var(--yellow);box-shadow:0 18px 30px rgba(0,0,0,.12)}
  nav.links.open{display:flex}
  nav.links a{padding:.75rem .4rem;border-bottom:1px solid #f3e6c8}
  header.site .nav{position:relative}
  header.site .btn{display:none}
  .grid-3,.grid-2{grid-template-columns:1fr}
  section{padding:3rem 0}
  .logo-img{width:248px}
  .kicker{font-size:1rem}
  .cta-band{padding:1.8rem 1.2rem}
  form.order{padding:1.4rem}
  .prose{padding:1.6rem}
}
@media(max-width:520px){
  .grid-4{grid-template-columns:1fr} .footer-grid{grid-template-columns:1fr}
  .stats{gap:.6rem}.stat{min-width:calc(50% - .3rem)}
  .btn{width:100%} .hero .btn{width:auto}
  .card img{height:200px}
}
