/* ===============================================================
   Mangos Gourmet Paletas — Shared Stylesheet
   Warm, sunny orange theme with mango & chamoy accents
   =============================================================== */

:root {
  /* Brand palette */
  --orange-500: #F26419;
  --orange-400: #FF7A1A;
  --orange-300: #FF8A1E;
  --mango-400:  #FFA51E;
  --mango-300:  #FFC533;
  --mango-200:  #FFD23F;
  --green-500:  #4E8F2E;
  --green-400:  #5BA63B;
  --chamoy:     #E63946;
  --pink:       #FF4D6D;

  --sage:       #C9CFA0;
  --sage-deep:  #9AA46B;
  --sage-ink:   #4A5230;
  --cream-brd:  #FBEFC6;

  --cream:      #FFF8F0;
  --cream-2:    #FFF1E2;
  --ink:        #2E2117;
  --ink-soft:   #5C4B3B;
  --muted:      #8A7864;
  --white:      #ffffff;

  --radius:     18px;
  --radius-lg:  28px;
  --shadow-sm:  0 4px 14px rgba(198, 90, 20, 0.10);
  --shadow-md:  0 12px 30px rgba(198, 90, 20, 0.16);
  --shadow-lg:  0 24px 60px rgba(198, 90, 20, 0.22);

  --grad-warm:  linear-gradient(135deg, #FFC533 0%, #FF8A1E 45%, #F26419 100%);
  --grad-hero:  linear-gradient(160deg, #FFB020 0%, #FF7A1A 40%, #F04E15 100%);

  --font-head:  'Baloo 2', 'Poppins', system-ui, sans-serif;
  --font-body:  'Nunito', 'Segoe UI', system-ui, sans-serif;

  --maxw: 1180px;
}

/* ---------- Reset & base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.12; margin: 0 0 .5em; color: var(--ink); }
p { margin: 0 0 1rem; }
a { color: var(--orange-500); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--chamoy); }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.section { padding: 88px 0; }
.section--tint { background: var(--cream-2); }
.text-center { text-align: center; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: .8rem;
  color: var(--orange-500);
  background: rgba(242, 100, 25, 0.10);
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.section-title { font-size: clamp(2rem, 4vw, 2.9rem); margin-bottom: 14px; }
.section-lead { font-size: 1.12rem; color: var(--ink-soft); max-width: 640px; margin: 0 auto 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 700; font-size: 1rem;
  padding: 14px 30px; border-radius: 999px; cursor: pointer;
  border: 2px solid transparent; transition: transform .18s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-3px); }
.btn--primary { background: var(--grad-warm); color: #fff; box-shadow: var(--shadow-md); }
.btn--primary:hover { color: #fff; box-shadow: var(--shadow-lg); }
.btn--ghost { background: #fff; color: var(--orange-500); border-color: rgba(242,100,25,.35); box-shadow: var(--shadow-sm); }
.btn--ghost:hover { color: var(--chamoy); border-color: var(--chamoy); }
.btn--white { background:#fff; color: var(--orange-500); box-shadow: var(--shadow-md); }
.btn--white:hover { color: var(--chamoy); }
.btn--outline-white { background: transparent; color:#fff; border-color: rgba(255,255,255,.7); }
.btn--outline-white:hover { background:#fff; color: var(--orange-500); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 248, 240, 0.85);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid rgba(242,100,25,.10);
  transition: box-shadow .25s ease, background .25s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); background: rgba(255,248,240,.95); }
.nav { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 52px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; }
.nav-links a {
  font-family: var(--font-head); font-weight: 600; color: var(--ink);
  padding: 9px 16px; border-radius: 999px; font-size: .98rem;
}
.nav-links a:hover, .nav-links a.active { background: rgba(242,100,25,.12); color: var(--orange-500); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer; padding: 8px;
  flex-direction: column; gap: 5px;
}
.nav-toggle span { width: 26px; height: 3px; background: var(--orange-500); border-radius: 3px; transition: .3s; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--grad-hero);
  color: #fff; padding: 96px 0 120px;
}
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(2px); opacity: .35;
}
.hero::before { width: 420px; height: 420px; background: #FFD23F; top: -160px; right: -120px; }
.hero::after  { width: 340px; height: 340px; background: #F04E15; bottom: -180px; left: -100px; opacity:.5; }
.hero .container { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.2); border: 1px solid rgba(255,255,255,.35);
  padding: 7px 16px; border-radius: 999px; font-weight: 700; font-size: .9rem; margin-bottom: 20px;
}
.hero h1 { color: #fff; font-size: clamp(2.4rem, 5.2vw, 4rem); text-shadow: 0 3px 16px rgba(150,50,0,.25); }
.hero h1 .accent { color: var(--mango-200); }
.hero-sub { font-size: 1.22rem; max-width: 520px; margin-bottom: 30px; color: rgba(255,255,255,.95); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 28px; margin-top: 40px; }
.hero-stats .stat b { font-family: var(--font-head); font-size: 1.7rem; display: block; }
.hero-stats .stat span { font-size: .9rem; opacity: .9; }

/* Hero visual: stacked paletas card */
.hero-visual { position: relative; display: flex; justify-content: center; }
.paleta-card {
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3);
  border-radius: var(--radius-lg); padding: 26px; backdrop-filter: blur(6px);
  box-shadow: var(--shadow-lg); display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
  transform: rotate(-2deg);
}
.paleta {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  animation: bob 3.5s ease-in-out infinite;
}
.paleta:nth-child(2) { animation-delay: .4s; }
.paleta:nth-child(3) { animation-delay: .8s; }
.paleta:nth-child(4) { animation-delay: .2s; }
.paleta:nth-child(5) { animation-delay: .6s; }
.paleta:nth-child(6) { animation-delay: 1s; }
.paleta .pop { width: 54px; height: 78px; border-radius: 26px 26px 20px 20px; position: relative; box-shadow: 0 8px 16px rgba(120,40,0,.25); }
.paleta .pop::after { content:""; position:absolute; bottom:-20px; left:50%; transform:translateX(-50%); width:9px; height:26px; border-radius:5px; background:#E7C08B; }
.paleta small { font-size: .72rem; font-weight: 700; opacity: .95; margin-top: 14px; }
@keyframes bob { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-9px);} }

/* Wave divider */
.wave { display: block; width: 100%; height: 60px; margin-top: -60px; position: relative; z-index: 3; }

/* ---------- Feature cards ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 46px; }
.feature {
  background: #fff; border-radius: var(--radius); padding: 32px 26px; text-align: center;
  box-shadow: var(--shadow-sm); border: 1px solid rgba(242,100,25,.08);
  transition: transform .2s ease, box-shadow .2s ease;
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.feature .ficon {
  width: 66px; height: 66px; border-radius: 20px; margin: 0 auto 18px;
  display: grid; place-items: center; font-size: 1.9rem; background: var(--cream-2);
}
.feature h3 { font-size: 1.25rem; margin-bottom: 8px; }
.feature p { color: var(--ink-soft); margin: 0; font-size: .98rem; }

/* ---------- Menu ---------- */
.menu-cats { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 34px 0 44px; }
.menu-cats button {
  font-family: var(--font-head); font-weight: 600; font-size: .95rem;
  padding: 10px 22px; border-radius: 999px; cursor: pointer;
  border: 2px solid rgba(242,100,25,.25); background: #fff; color: var(--ink-soft);
  transition: all .18s ease;
}
.menu-cats button:hover { border-color: var(--orange-400); color: var(--orange-500); }
.menu-cats button.active { background: var(--grad-warm); color: #fff; border-color: transparent; box-shadow: var(--shadow-sm); }

.menu-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.menu-card {
  background: #fff; border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm);
  border: 1px solid rgba(242,100,25,.08); position: relative; transition: transform .2s ease, box-shadow .2s ease;
}
.menu-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.menu-card .swatch { width: 44px; height: 44px; border-radius: 12px; margin-bottom: 14px; box-shadow: inset 0 -6px 10px rgba(0,0,0,.08); }
.menu-card .row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.menu-card h4 { font-size: 1.16rem; margin: 0; }
.menu-card .price { font-family: var(--font-head); font-weight: 800; color: var(--orange-500); white-space: nowrap; }
.menu-card p { color: var(--ink-soft); font-size: .92rem; margin: 6px 0 0; }
.menu-card .tags { display: flex; gap: 6px; margin-top: 14px; flex-wrap: wrap; }
.tag { font-size: .7rem; font-weight: 800; padding: 4px 10px; border-radius: 999px; letter-spacing: .03em; text-transform: uppercase; }
.tag--df { background: #E7F5E1; color: #2F7A1E; }
.tag--veg { background: #FFF0D6; color: #B57500; }
.tag--pop { background: #FFE1E6; color: #D2354B; }
.tag--new { background: #E0F0FF; color: #1E6FB5; }
.menu-note { margin-top: 40px; text-align: center; color: var(--muted); font-size: .95rem; }

/* ---------- Split (about / catering) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media {
  border-radius: var(--radius-lg); min-height: 380px; box-shadow: var(--shadow-md);
  background: var(--grad-warm); position: relative; overflow: hidden;
}
.split-media.photo { background: #2B1D12; min-height: 440px; }
.split-media.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split-media .emoji-scatter { position:absolute; inset:0; }
.split-media .emoji-scatter span { position:absolute; font-size: 2.6rem; opacity:.9; filter: drop-shadow(0 4px 8px rgba(120,40,0,.25)); }
.split h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.split .lead { font-size: 1.1rem; color: var(--ink-soft); }
.check-list { list-style: none; margin: 18px 0 26px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 12px; color: var(--ink-soft); }
.check-list li::before { content: "🥭"; font-size: 1.1rem; line-height: 1.4; }

/* ---------- Stats band ---------- */
.stats-band { background: var(--grad-warm); color: #fff; }
.stats-band .grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stats-band .num { font-family: var(--font-head); font-weight: 800; font-size: 2.6rem; line-height: 1; }
.stats-band .lbl { opacity: .95; margin-top: 6px; font-weight: 600; }

/* ---------- Reviews ---------- */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.review {
  background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm);
  border: 1px solid rgba(242,100,25,.08); display: flex; flex-direction: column;
}
.review .stars { color: #FFB020; letter-spacing: 2px; margin-bottom: 12px; }
.review p { font-size: 1rem; color: var(--ink); font-style: italic; }
.review .who { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 14px; }
.review .avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--grad-warm); color:#fff; display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; }
.review .who b { font-size: .96rem; }
.review .who span { font-size: .82rem; color: var(--muted); display:block; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 40px; }
.gallery .tile {
  aspect-ratio: 1/1; border-radius: var(--radius); display: grid; place-items: center;
  font-size: 3.4rem; box-shadow: var(--shadow-sm); transition: transform .2s ease;
}
.gallery .tile:hover { transform: scale(1.04) rotate(-1.5deg); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--grad-hero); color:#fff; border-radius: var(--radius-lg); padding: 56px; text-align: center; box-shadow: var(--shadow-md); position: relative; overflow:hidden; }
.cta-band h2 { color:#fff; font-size: clamp(1.8rem,3.6vw,2.6rem); }
.cta-band p { font-size: 1.14rem; opacity: .96; max-width: 560px; margin: 0 auto 26px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Contact / info ---------- */
.info-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: start; }
.info-card { background:#fff; border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); border: 1px solid rgba(242,100,25,.08); }
.info-item { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px dashed rgba(242,100,25,.18); }
.info-item:last-child { border-bottom: 0; }
.info-item .i-ico { width: 46px; height: 46px; border-radius: 14px; background: var(--cream-2); display: grid; place-items: center; font-size: 1.3rem; flex-shrink: 0; }
.info-item h4 { margin: 0 0 2px; font-size: 1.05rem; }
.info-item p, .info-item a { margin: 0; color: var(--ink-soft); }
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table td { padding: 10px 0; border-bottom: 1px dashed rgba(242,100,25,.18); }
.hours-table td:last-child { text-align: right; font-weight: 700; color: var(--ink); }
.hours-table tr.today td { color: var(--orange-500); }
.map-embed { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid rgba(242,100,25,.1); }
.map-embed iframe { width: 100%; height: 320px; border: 0; display: block; }

/* Contact form */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field.full { grid-column: 1 / -1; }
.field label { font-family: var(--font-head); font-weight: 600; font-size: .92rem; }
.field input, .field textarea, .field select {
  font-family: var(--font-body); font-size: 1rem; padding: 13px 16px; border-radius: 12px;
  border: 1.5px solid rgba(242,100,25,.22); background: var(--cream); color: var(--ink);
  transition: border .2s ease, box-shadow .2s ease;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--orange-400); box-shadow: 0 0 0 4px rgba(242,100,25,.12); background:#fff;
}
.form-note { font-size: .86rem; color: var(--muted); margin-top: 6px; }
.form-success { display:none; background:#E7F5E1; color:#2F7A1E; border-radius:12px; padding:14px 18px; font-weight:700; margin-bottom:16px; }
.form-success.show { display:block; }

/* ---------- Page hero (interior pages) ---------- */
.page-hero { background: var(--grad-warm); color:#fff; padding: 70px 0 84px; text-align:center; position:relative; overflow:hidden; }
.page-hero::after { content:""; position:absolute; width:360px; height:360px; border-radius:50%; background:#FFD23F; opacity:.28; top:-160px; right:-120px; }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color:#fff; font-size: clamp(2.2rem, 4.6vw, 3.4rem); }
.page-hero p { font-size: 1.15rem; opacity: .96; max-width: 620px; margin: 0 auto; }
.breadcrumbs { font-size:.9rem; margin-top:14px; color: rgba(255,255,255,.9); }
.breadcrumbs a { color:#fff; text-decoration: underline; }

/* ---------- Footer ---------- */
.site-footer { background: #2B1D12; color: #EAD9C6; padding: 62px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.site-footer .brand img { height: 56px; filter: drop-shadow(0 2px 6px rgba(0,0,0,.3)); }
.site-footer h4 { color:#fff; font-size: 1.05rem; margin-bottom: 16px; }
.site-footer a { color: #EAD9C6; }
.site-footer a:hover { color: var(--mango-200); }
.footer-links { list-style:none; }
.footer-links li { margin-bottom: 10px; }
.footer-contact li { display:flex; gap:10px; margin-bottom:12px; color:#EAD9C6; }
.socials { display:flex; gap:12px; margin-top: 16px; }
.socials a { width:42px; height:42px; border-radius: 50%; background: rgba(255,255,255,.08); display:grid; place-items:center; font-size:1.15rem; transition: background .2s ease, transform .2s ease; }
.socials a:hover { background: var(--grad-warm); transform: translateY(-3px); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 42px; padding-top: 22px; display:flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size:.88rem; color:#B9A48E; }

/* ---------- Pick It · Dip It · Top It steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; }
.step {
  background: #fff; border-radius: var(--radius); padding: 34px 26px 30px; text-align: center;
  box-shadow: var(--shadow-sm); border: 1px solid rgba(242,100,25,.10); position: relative;
  transition: transform .2s ease, box-shadow .2s ease;
}
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.step .num {
  position: absolute; top: -18px; left: 50%; transform: translateX(-50%);
  width: 44px; height: 44px; border-radius: 50%; background: var(--grad-warm); color: #fff;
  display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; font-size: 1.15rem;
  box-shadow: var(--shadow-sm); border: 3px solid #fff;
}
.step .semoji { font-size: 2.6rem; margin: 10px 0 12px; }
.step h3 { font-size: 1.35rem; margin-bottom: 6px; }
.step p { color: var(--ink-soft); margin: 0; font-size: .96rem; }
.step-arrow { display: none; }

/* ---------- Sage board (echoes in-store menu signage) ---------- */
.board {
  background: var(--sage); border-radius: var(--radius-lg);
  border: 6px solid var(--cream-brd); box-shadow: var(--shadow-md), inset 0 0 0 2px rgba(154,164,107,.4);
  padding: 40px 34px; position: relative; overflow: hidden;
}
.board::after {
  content: "🥭"; position: absolute; right: -10px; bottom: -18px; font-size: 8rem; opacity: .10; transform: rotate(-12deg);
}
.board h3 { color: #B5610F; text-shadow: 0 2px 0 #fff2c9; font-size: 1.9rem; text-align: center; margin-bottom: 20px; letter-spacing: .02em; }
.board-list { position: relative; z-index: 2; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 2px 30px; }
.board-list li {
  display: flex; justify-content: space-between; gap: 12px; align-items: baseline;
  padding: 11px 4px; border-bottom: 2px dashed rgba(154,164,107,.7); color: var(--sage-ink); font-weight: 700;
}
.board-list li .b-price { color: #B5610F; font-family: var(--font-head); }
.board-list li span.desc { font-weight: 600; color: #5c633f; font-size: .82rem; display: block; }

/* ---------- Reveal on scroll (progressive enhancement) ----------
   Hidden state only applies when JS is active (html.js). Without JS,
   or if the observer never fires, content stays fully visible. */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero-actions, .hero-stats { justify-content: center; }
  .hero-sub { margin-left:auto; margin-right:auto; }
  .hero-visual { margin-top: 30px; }
  .features { grid-template-columns: 1fr 1fr; }
  .split, .info-grid { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .reviews-grid { grid-template-columns: 1fr; }
  .stats-band .grid { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .board-list { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .section { padding: 62px 0; }
  .nav-links, .nav-cta .btn--ghost { display: none; }
  .nav-toggle { display: flex; }
  .site-header.open .nav-links {
    display: flex; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column;
    background: var(--cream); padding: 16px; gap: 4px; box-shadow: var(--shadow-md); border-top: 1px solid rgba(242,100,25,.12);
  }
  .site-header.open .nav-links a { width: 100%; }
  .features { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 40px 24px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .paleta-card { grid-template-columns: repeat(3, 1fr); padding: 18px; gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
