/* CKN — public website.
   Same brand tokens as the customer app (clients/customer-app/lib/core/theme.dart): flour cream,
   crust brown, tomato for the one thing to press, cheese gold for value, basil for good news. */

@font-face { font-family: Fredoka; src: url(../assets/fonts/Fredoka-500.ttf); font-weight: 500; font-display: swap; }
@font-face { font-family: Fredoka; src: url(../assets/fonts/Fredoka-600.ttf); font-weight: 600; font-display: swap; }
@font-face { font-family: Fredoka; src: url(../assets/fonts/Fredoka-700.ttf); font-weight: 700; font-display: swap; }
@font-face { font-family: Nunito; src: url(../assets/fonts/Nunito-400.ttf); font-weight: 400; font-display: swap; }
@font-face { font-family: Nunito; src: url(../assets/fonts/Nunito-600.ttf); font-weight: 600; font-display: swap; }
@font-face { font-family: Nunito; src: url(../assets/fonts/Nunito-700.ttf); font-weight: 700; font-display: swap; }
@font-face { font-family: Nunito; src: url(../assets/fonts/Nunito-800.ttf); font-weight: 800; font-display: swap; }
@font-face { font-family: Kantumruy; src: url(../assets/fonts/KantumruyPro-400.ttf); font-weight: 400; font-display: swap; }
@font-face { font-family: Kantumruy; src: url(../assets/fonts/KantumruyPro-500.ttf); font-weight: 500 600; font-display: swap; }
@font-face { font-family: Kantumruy; src: url(../assets/fonts/KantumruyPro-700.ttf); font-weight: 700 800; font-display: swap; }

:root {
  --cream: #FFF8EE;
  --cream-2: #FBEEDC;
  --paper: #FFFFFF;
  --ink: #2E1C12;
  --crust: #6B3A1F;
  --crust-2: #8A4B24;
  --muted: #7E6150;
  --faint: #BFA592;
  --line: #EFDFCB;
  --tomato: #E0452B;
  --tomato-d: #B8321B;
  --tomato-s: #FFE3D9;
  --cheese: #F2B632;
  --cheese-d: #B98309;
  --cheese-s: #FFF1CC;
  --basil: #3E8E41;
  --basil-s: #E3F3E0;
  --char: #1C120C;
  --char-2: #2A1A11;

  --display: Fredoka, Kantumruy, system-ui, sans-serif;
  --body: Nunito, Kantumruy, system-ui, sans-serif;
  --radius: 22px;
  --radius-s: 14px;
  --shadow: 0 10px 30px rgba(107, 58, 31, .10);
  --shadow-l: 0 24px 60px rgba(46, 28, 18, .18);
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
}

html[lang="km"] { --display: Kantumruy, Fredoka, sans-serif; --body: Kantumruy, Nunito, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font: 500 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
html[lang="km"] body { line-height: 1.8; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--cheese); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
section { position: relative; }
.section { padding: clamp(64px, 9vw, 120px) 0; }

h1, h2, h3, h4 { font-family: var(--display); color: var(--crust); margin: 0; line-height: 1.12; letter-spacing: -.01em; }
html[lang="km"] :is(h1, h2, h3, h4) { line-height: 1.45; letter-spacing: 0; }
h2 { font-size: clamp(32px, 4.6vw, 54px); font-weight: 700; }
h3 { font-size: 22px; font-weight: 600; }
p { margin: 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font: 800 13px/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--tomato);
}
html[lang="km"] .eyebrow { letter-spacing: 0; font-size: 14px; }
.eyebrow::before { content: ""; width: 26px; height: 3px; border-radius: 3px; background: currentColor; }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 60ch; }
.head { display: grid; gap: 14px; margin-bottom: clamp(32px, 5vw, 56px); }
.head.center { text-align: center; justify-items: center; }
.head.center .lead { margin-inline: auto; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 54px; padding: 0 26px; border-radius: 999px; border: 0;
  font: 800 16px/1 var(--body); text-decoration: none; white-space: nowrap;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--tomato); color: #fff; box-shadow: 0 10px 24px rgba(224, 69, 43, .35); }
.btn-primary:hover { background: var(--tomato-d); box-shadow: 0 14px 30px rgba(224, 69, 43, .45); }
.btn-ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 2px currentColor; }
.btn-ghost:hover { background: rgba(255, 255, 255, .08); }
.btn-light { background: var(--paper); color: var(--crust); box-shadow: var(--shadow); }
.btn-light:hover { box-shadow: var(--shadow-l); }
.btn-sm { height: 42px; padding: 0 18px; font-size: 14px; }
.btn svg { width: 20px; height: 20px; }

.chip {
  display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 16px;
  border-radius: 999px; border: 1.5px solid var(--line); background: var(--paper);
  font: 800 14px/1 var(--body); color: var(--crust); transition: all .15s ease;
}
.chip:hover { border-color: var(--crust); }
.chip[aria-pressed="true"] { background: var(--crust); border-color: var(--crust); color: #fff; }
.chip svg { width: 16px; height: 16px; }

.tag {
  display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 999px;
  font: 800 11.5px/1.3 var(--body); white-space: nowrap;
}
.tag svg { width: 12px; height: 12px; }
.tag-BEST { background: var(--cheese-s); color: var(--cheese-d); }
.tag-NEW { background: var(--tomato); color: #fff; }
.tag-SPICY { background: var(--tomato-s); color: var(--tomato-d); }
.tag-VEG { background: var(--basil-s); color: var(--basil); }

/* ---------- announcement + header ---------- */
.announce { background: var(--char); color: #fbe7c4; font: 700 14px/1 var(--body); overflow: hidden; }
.announce .track { display: flex; gap: 56px; padding: 11px 0; width: max-content; animation: marquee 38s linear infinite; }
.announce span { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; }
.announce b { color: var(--cheese); }
.announce svg { width: 16px; height: 16px; color: var(--tomato); }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 248, 238, .86); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 6px 24px rgba(107, 58, 31, .08); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 76px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 46px; height: 46px; }
.brand b { font: 700 25px/1 Fredoka, sans-serif; color: var(--crust); }
.brand b span { color: var(--tomato); }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a {
  padding: 10px 14px; border-radius: 999px; text-decoration: none;
  font: 800 15px/1 var(--body); color: var(--crust); transition: background .15s;
}
.nav a:hover, .nav a.active { background: var(--cream-2); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.lang {
  height: 42px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--line);
  background: var(--paper); font: 800 14px/1 var(--body); color: var(--crust);
}
.lang .km { font-family: Kantumruy, sans-serif; }
.burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--paper); }
.burger svg { margin: auto; width: 22px; height: 22px; }

/* ---------- hero ---------- */
.hero {
  background:
    radial-gradient(1200px 600px at 85% 20%, rgba(224, 69, 43, .35), transparent 60%),
    radial-gradient(900px 500px at 0% 100%, rgba(242, 182, 50, .18), transparent 60%),
    linear-gradient(160deg, #3a2114, var(--char) 70%);
  color: #fff; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px);
  background-size: 22px 22px;
}
.hero .wrap { display: grid; grid-template-columns: 1.02fr 1fr; align-items: center; gap: clamp(28px, 5vw, 64px); padding: clamp(48px, 7vw, 96px) 0 clamp(72px, 8vw, 110px); position: relative; z-index: 1; }
.hero h1 { color: #fff; font-size: clamp(44px, 6.6vw, 84px); font-weight: 700; margin: 18px 0 20px; }
.hero h1 em { font-style: normal; color: var(--cheese); position: relative; white-space: nowrap; }
.hero h1 em::after { content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .14em; background: var(--tomato); border-radius: 10px; z-index: -1; opacity: .9; }
.hero .eyebrow { color: var(--cheese); }
.hero .lead { color: rgba(255, 255, 255, .8); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-cta .btn-ghost { color: #fff; }
.hero-stats { display: flex; flex-wrap: wrap; gap: clamp(18px, 3vw, 40px); margin-top: 44px; }
.hero-stats div { display: grid; gap: 2px; }
.hero-stats b { font: 700 34px/1 Fredoka, sans-serif; color: #fff; }
.hero-stats span { font-size: 14px; color: rgba(255, 255, 255, .65); font-weight: 700; }

.hero-media { position: relative; }
.video-frame {
  position: relative; border-radius: 30px; overflow: hidden; aspect-ratio: 16 / 10;
  box-shadow: 0 40px 80px rgba(0, 0, 0, .45), 0 0 0 1px rgba(255, 255, 255, .08);
  background: #150c07;
}
.video-frame video { width: 100%; height: 100%; object-fit: cover; }
.video-toggle {
  position: absolute; left: 16px; top: 16px; width: 46px; height: 46px; border-radius: 50%;
  border: 0; background: rgba(0, 0, 0, .45); color: #fff; backdrop-filter: blur(6px);
}
.video-toggle svg { width: 20px; height: 20px; margin: auto; }
.float-card {
  position: absolute; display: flex; align-items: center; gap: 12px; padding: 10px 16px 10px 10px;
  background: var(--paper); color: var(--ink); border-radius: 18px; box-shadow: var(--shadow-l);
  animation: float 6s ease-in-out infinite;
}
.float-card img { width: 56px; height: 56px; border-radius: 12px; }
.float-card b { display: block; font: 700 16px/1.2 Fredoka, sans-serif; color: var(--crust); }
.float-card small { font-weight: 800; color: var(--tomato); font-size: 14px; }
.float-card.one { left: -34px; bottom: -28px; }
.float-card.two { right: -18px; bottom: -28px; animation-delay: -3s; }
.float-card .stars { color: var(--cheese); font-size: 13px; letter-spacing: 1px; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- dish marquee ---------- */
.dish-strip { background: var(--cheese); padding: 22px 0; overflow: hidden; transform: rotate(-1.2deg); margin: -22px -20px 0; position: relative; z-index: 2; box-shadow: 0 12px 30px rgba(46, 28, 18, .15); }
.dish-strip .track { display: flex; gap: 22px; width: max-content; animation: marquee 60s linear infinite; }
.dish-strip .item { display: flex; align-items: center; gap: 12px; padding-right: 22px; border-right: 2px dashed rgba(107, 58, 31, .3); }
.dish-strip img { width: 60px; height: 60px; border-radius: 14px; }
.dish-strip b { font: 700 20px/1 Fredoka, sans-serif; color: var(--crust); white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- promotions ---------- */
.promos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.promo {
  display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden;
  background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow);
  text-align: left; padding: 0; transition: transform .25s ease, box-shadow .25s ease;
}
.promo:hover { transform: translateY(-6px); box-shadow: var(--shadow-l); }
.promo .art { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.promo .art img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.promo:hover .art img { transform: scale(1.05); }
.promo .badge {
  position: absolute; left: 14px; top: 14px; padding: 6px 12px; border-radius: 999px;
  background: rgba(28, 18, 12, .85); color: var(--cheese); font: 800 12.5px/1 var(--body);
}
.promo .body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.promo h3 { font-size: 21px; }
.promo p { color: var(--muted); font-size: 15.5px; }
.promo .meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 10px; }
.promo .valid { font-size: 13px; font-weight: 700; color: var(--faint); }
.code {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 10px;
  border: 1.5px dashed var(--tomato); color: var(--tomato); background: var(--tomato-s);
  font: 800 13px/1 var(--body); letter-spacing: .08em;
}
.code svg { width: 14px; height: 14px; }
.promo.featured { grid-column: span 2; grid-row: span 2; }
.promo.featured .art { aspect-ratio: auto; flex: 1; min-height: 300px; }
.promo.featured .body { flex: none; }
.promo.featured h3 { font-size: 30px; }
.promo.featured p { font-size: 17px; }

/* ---------- menu ---------- */
.menu-section { background: var(--paper); }
.menu-bar { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.tabs { display: flex; gap: 6px; padding: 6px; background: var(--cream-2); border-radius: 999px; flex-wrap: wrap; }
.tabs button {
  border: 0; background: transparent; padding: 12px 20px; border-radius: 999px;
  font: 700 17px/1 var(--display); color: var(--muted); display: inline-flex; gap: 8px; align-items: center;
}
.tabs button svg { width: 20px; height: 20px; }
.tabs button[aria-selected="true"] { background: var(--paper); color: var(--crust); box-shadow: 0 4px 14px rgba(107, 58, 31, .12); }
.search {
  display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 18px; min-width: min(340px, 100%);
  border-radius: 999px; border: 1.5px solid var(--line); background: var(--cream);
}
.search:focus-within { border-color: var(--tomato); }
.search svg { width: 20px; height: 20px; color: var(--muted); flex: none; }
.search input { border: 0; background: transparent; outline: 0; font: 600 16px var(--body); color: var(--ink); width: 100%; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 30px; }
.filters .sep { width: 1px; height: 26px; background: var(--line); margin: 0 6px; }
.price-at { margin-left: auto; display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 14px; color: var(--muted); }
.price-at select { height: 38px; border-radius: 999px; border: 1.5px solid var(--line); padding: 0 12px; font: 800 14px var(--body); color: var(--crust); background: var(--paper); }
.cat-title { display: flex; align-items: baseline; gap: 12px; margin: 34px 0 16px; }
.cat-title h3 { font-size: 26px; }
.cat-title span { color: var(--faint); font-weight: 800; font-size: 14px; }
.cat-title:first-child { margin-top: 0; }
.dishes { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.dish {
  display: flex; flex-direction: column; text-align: left; padding: 10px; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--paper); transition: transform .2s ease, box-shadow .2s ease;
}
.dish:hover { transform: translateY(-4px); box-shadow: var(--shadow-l); }
.dish .img { position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 1; background: var(--cream-2); }
.dish .img img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.dish:hover .img img { transform: scale(1.06) rotate(-2deg); }
.dish .tags { position: absolute; left: 10px; top: 10px; display: flex; gap: 6px; flex-wrap: wrap; }
.dish .body { padding: 12px 6px 4px; display: grid; gap: 4px; flex: 1; }
.dish h4 { font-size: 19px; font-weight: 600; }
.dish .km { font-family: Kantumruy, sans-serif; font-size: 14px; color: var(--muted); }
html[lang="km"] .dish .km { font-family: Nunito, sans-serif; }
.dish p { font-size: 14.5px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dish .foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 10px; }
.price { font: 600 22px/1 Fredoka, sans-serif; color: var(--crust); }
.price small { font: 800 12px/1 var(--body); color: var(--faint); margin-right: 4px; text-transform: uppercase; }
.riel { font-size: 12.5px; color: var(--faint); font-weight: 700; }
.plus { width: 38px; height: 38px; border-radius: 50%; background: var(--tomato); color: #fff; display: grid; place-items: center; }
.plus svg { width: 20px; height: 20px; }
.empty { text-align: center; padding: 60px 0; color: var(--muted); display: grid; justify-items: center; gap: 14px; }
.empty img { width: 150px; }

/* ---------- spotlight ---------- */
.spotlight { background: linear-gradient(135deg, #2f6b33, #1f4a23); color: #fff; overflow: hidden; }
.spotlight .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.spotlight h2 { color: #fff; margin: 14px 0 16px; }
.spotlight .eyebrow { color: var(--cheese); }
.spotlight .lead { color: rgba(255, 255, 255, .8); }
.spotlight-art { position: relative; }
.spotlight-art .big { border-radius: 50%; aspect-ratio: 1; overflow: hidden; box-shadow: 0 40px 80px rgba(0, 0, 0, .35); animation: spin 90s linear infinite; }
.spotlight-art .big img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.25); }
@keyframes spin { to { transform: rotate(360deg); } }
.spotlight-list { display: grid; gap: 12px; margin-top: 30px; }
.spot-item {
  display: flex; gap: 14px; align-items: center; padding: 12px; border-radius: 18px; text-align: left;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); color: #fff; transition: background .2s;
}
.spot-item:hover { background: rgba(255, 255, 255, .15); }
.spot-item img { width: 64px; height: 64px; border-radius: 14px; flex: none; }
.spot-item b { font: 600 18px/1.25 var(--display); display: block; }
.spot-item small { color: rgba(255, 255, 255, .7); font-size: 14px; }
.spot-item .price { color: var(--cheese); margin-left: auto; font-size: 20px; }

/* ---------- story ---------- */
.story .intro { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.story .video-frame { aspect-ratio: 16 / 9; }
.big-play {
  position: absolute; inset: 0; margin: auto; width: 92px; height: 92px; border-radius: 50%; border: 0;
  background: var(--tomato); color: #fff; box-shadow: 0 0 0 14px rgba(224, 69, 43, .25); transition: transform .2s;
}
.big-play:hover { transform: scale(1.06); }
.big-play svg { width: 34px; height: 34px; margin: auto; transform: translateX(3px); }
.story .text { display: grid; gap: 18px; }
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: clamp(40px, 6vw, 70px); }
.pillar { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.pillar .ic { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 16px; }
.pillar .ic svg { width: 28px; height: 28px; }
.pillar h3 { font-size: 20px; margin-bottom: 6px; }
.pillar p { color: var(--muted); font-size: 15px; }
.counter-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 18px; }
.counter { border-radius: var(--radius); padding: 26px 24px; background: var(--crust); color: #fff; }
.counter b { font: 700 44px/1 Fredoka, sans-serif; color: var(--cheese); display: block; }
.counter span { font-weight: 700; color: rgba(255, 255, 255, .8); font-size: 15px; }

.timeline { margin-top: clamp(48px, 7vw, 80px); position: relative; display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 23px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--cheese), var(--tomato)); }
.tl { position: relative; padding-top: 58px; }
.tl::before { content: ""; position: absolute; top: 12px; left: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--paper); border: 5px solid var(--tomato); }
.tl b { font: 700 26px/1 Fredoka, sans-serif; color: var(--tomato); }
.tl h4 { font-size: 17px; margin: 6px 0 4px; }
.tl p { font-size: 14px; color: var(--muted); }

/* ---------- locations ---------- */
.locations { background: var(--cream-2); }
.loc-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 24px; align-items: start; }
.map-card { position: sticky; top: 100px; border-radius: 28px; overflow: hidden; background: #f3e4cc; border: 1px solid var(--line); box-shadow: var(--shadow); }
.map-card svg { width: 100%; height: auto; }
.map-card .pin { cursor: pointer; }
.map-card .pin circle.halo { transition: r .2s ease, opacity .2s; opacity: 0; }
.map-card .pin.active circle.halo { opacity: .35; }
.map-card .pin text { font: 800 15px Nunito, sans-serif; fill: var(--crust); paint-order: stroke; stroke: #f3e4cc; stroke-width: 5px; }
.map-legend { display: flex; flex-wrap: wrap; gap: 14px; padding: 14px 20px; border-top: 1px solid var(--line); background: var(--paper); font-size: 13.5px; font-weight: 700; color: var(--muted); }
.map-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; vertical-align: 0; }
.branch-list { display: grid; gap: 14px; }
.branch {
  background: var(--paper); border-radius: var(--radius); border: 2px solid transparent; padding: 20px;
  box-shadow: var(--shadow); transition: border-color .2s, transform .2s;
}
.branch.active { border-color: var(--tomato); }
.branch .top { display: flex; gap: 14px; align-items: flex-start; }
.branch .code {
  width: 56px; height: 56px; flex: none; border-radius: 16px; display: grid; place-items: center;
  background: linear-gradient(135deg, #F26B3A, var(--tomato)); color: #fff; border: 0; letter-spacing: 0;
  font: 700 15px/1 Fredoka, sans-serif; padding: 0;
}
.branch h3 { font-size: 21px; }
.branch .kmname { font-family: Kantumruy, sans-serif; color: var(--muted); font-size: 14.5px; }
.branch .new { margin-left: 8px; vertical-align: 3px; }
.branch .story { margin: 12px 0; color: var(--muted); font-size: 15px; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14.5px; font-weight: 700; }
.facts span { display: inline-flex; align-items: center; gap: 6px; }
.facts svg { width: 16px; height: 16px; color: var(--muted); }
.open { color: var(--basil); }
.closed { color: var(--muted); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; display: inline-block; }
.services { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.services span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; background: var(--cream-2); font: 800 12.5px/1 var(--body); color: var(--crust); }
.services span.off { background: transparent; border: 1px dashed var(--faint); color: var(--faint); text-decoration: line-through; }
.services svg { width: 14px; height: 14px; }
.branch .actions { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }

/* ---------- rewards / app ---------- */
.app-section { background: linear-gradient(160deg, var(--crust), #3a2114); color: #fff; overflow: hidden; }
.app-section .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.app-section h2 { color: #fff; margin: 14px 0 16px; }
.app-section .eyebrow { color: var(--cheese); }
.app-section .lead { color: rgba(255, 255, 255, .78); }
.phones { position: relative; height: 640px; }
.phone {
  position: absolute; width: 270px; aspect-ratio: 780 / 1688; border-radius: 40px; padding: 10px;
  background: #0f0a07; box-shadow: 0 40px 80px rgba(0, 0, 0, .5), inset 0 0 0 2px #3a2a20;
}
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 31px; }
.phone::before { content: ""; position: absolute; top: 18px; left: 50%; transform: translateX(-50%); width: 80px; height: 22px; border-radius: 12px; background: #0f0a07; z-index: 2; }
.phone.p1 { left: 4%; top: 60px; transform: rotate(-8deg); }
.phone.p2 { left: 32%; top: 0; z-index: 2; }
.phone.p3 { left: 60%; top: 70px; transform: rotate(8deg); }
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 30px 0; }
.tier { border-radius: 18px; padding: 16px; position: relative; overflow: hidden; }
.tier b { font: 700 19px/1.2 var(--display); display: block; }
.tier span { font-size: 13px; font-weight: 700; opacity: .8; }
.tier em { font-style: normal; font: 700 26px/1 Fredoka, sans-serif; display: block; margin-top: 10px; }
.tier.t0 { background: linear-gradient(135deg, #D9542F, #9C2E14); }
.tier.t1 { background: linear-gradient(135deg, #7A4323, #4A2716); box-shadow: inset 0 0 0 2px #E2A93B; }
.tier.t1 em { color: #F7C948; }
.tier.t2 { background: linear-gradient(135deg, #3A2A22, #15100D); box-shadow: inset 0 0 0 2px #B9853A; }
.tier.t2 em { color: #F2B632; }
.rewards-row { display: flex; flex-wrap: wrap; gap: 10px; }
.reward { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px; background: rgba(255, 255, 255, .1); font-weight: 700; font-size: 14px; }
.reward img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.reward b { color: var(--cheese); }
.stores { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.store { display: inline-flex; align-items: center; gap: 12px; height: 60px; padding: 0 22px; border-radius: 16px; background: #000; color: #fff; text-decoration: none; border: 1px solid rgba(255, 255, 255, .2); }
.store svg { width: 26px; height: 26px; }
.store small { display: block; font-size: 11px; opacity: .7; font-weight: 700; line-height: 1.1; }
.store b { font: 700 18px/1.1 var(--body); }

/* ---------- parties ---------- */
.parties .card {
  display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; border-radius: 32px;
  background: var(--cheese); box-shadow: var(--shadow-l);
}
.parties .card .art { background: #FDE7C0; display: grid; place-items: center; padding: 30px; }
.parties .card .art img { width: 100%; max-width: 440px; border-radius: 24px; }
.parties .card .text { padding: clamp(28px, 5vw, 56px); display: grid; gap: 16px; align-content: center; }
.parties .card .text .lead { color: var(--crust); }
.packs { display: grid; gap: 10px; }
.pack { display: flex; align-items: center; gap: 14px; background: rgba(255, 255, 255, .6); padding: 10px 16px 10px 10px; border-radius: 16px; }
.pack img { width: 52px; height: 52px; border-radius: 12px; }
.pack b { font: 600 18px/1.2 var(--display); color: var(--crust); display: block; }
.pack small { color: var(--crust); opacity: .75; font-weight: 700; }
.pack .price { margin-left: auto; }

/* ---------- faq + contact ---------- */
.faq-contact .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; font: 600 19px/1.35 var(--display); color: var(--crust); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 22px; height: 22px; flex: none; transition: transform .2s; color: var(--tomato); }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details p { margin-top: 10px; color: var(--muted); }
.contact-card { background: var(--paper); border-radius: 28px; padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow-l); border: 1px solid var(--line); }
.contact-card form { display: grid; gap: 14px; margin-top: 18px; }
.contact-card .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 800; font-size: 14px; color: var(--crust); }
.field :is(input, select, textarea) {
  width: 100%; border-radius: 14px; border: 1.5px solid var(--line); background: var(--cream);
  padding: 13px 14px; font: 600 16px var(--body); color: var(--ink); outline: 0;
}
.field :is(input, select, textarea):focus { border-color: var(--tomato); background: #fff; }
.field textarea { min-height: 110px; resize: vertical; }
.hotline { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 8px; }
.hotline a { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; text-decoration: none; color: var(--crust); }
.hotline svg { width: 18px; height: 18px; color: var(--tomato); }

/* ---------- footer ---------- */
.footer { background: var(--char); color: rgba(255, 255, 255, .72); padding: 70px 0 30px; font-size: 15px; }
.footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; }
.footer h4 { color: #fff; font-size: 17px; margin-bottom: 14px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--cheese); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer .brand b { color: #fff; }
.footer .about { margin: 16px 0 20px; max-width: 34ch; }
.socials { display: flex; gap: 10px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .08); }
.socials a:hover { background: var(--tomato); color: #fff; }
.socials svg { width: 20px; height: 20px; }
.newsletter { display: flex; gap: 8px; margin-top: 12px; }
.newsletter input { flex: 1; min-width: 0; height: 48px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .15); background: rgba(255, 255, 255, .06); color: #fff; padding: 0 18px; font: 600 15px var(--body); }
.footer .legal { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 50px; padding-top: 24px; font-size: 13.5px; }

/* ---------- modal + toast ---------- */
.modal { border: 0; padding: 0; border-radius: 28px; width: min(880px, 100% - 24px); max-height: min(92vh, 900px); background: var(--cream); color: var(--ink); box-shadow: var(--shadow-l); }
.modal::backdrop { background: rgba(28, 18, 12, .6); backdrop-filter: blur(4px); }
.modal[open] { animation: pop .25s ease; }
@keyframes pop { from { opacity: 0; transform: translateY(20px) scale(.98); } }
.modal .grid { display: grid; grid-template-columns: 1fr 1fr; }
.modal .art { background: var(--cream-2); min-height: 100%; }
.modal .art img { width: 100%; height: 100%; object-fit: cover; }
.modal .content { padding: 30px; display: grid; gap: 14px; align-content: start; overflow: auto; max-height: min(92vh, 900px); }
.modal .close { position: absolute; top: 14px; right: 14px; width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--paper); box-shadow: var(--shadow); z-index: 2; }
.modal .close svg { width: 20px; height: 20px; margin: auto; }
.modal h3 { font-size: 30px; }
.sizes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.size { text-align: center; padding: 12px 6px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); }
.size b { display: block; font: 600 20px/1.1 Fredoka, sans-serif; color: var(--crust); }
.size span { font-size: 12.5px; font-weight: 800; color: var(--muted); }
.opt-list { display: flex; flex-wrap: wrap; gap: 6px; }
.opt-list span { padding: 5px 10px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-size: 13px; font-weight: 700; }
.opt-list span em { font-style: normal; color: var(--muted); margin-left: 4px; }
.modal h5 { margin: 6px 0 0; font: 800 13px/1 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.note { font-size: 13.5px; color: var(--muted); display: flex; gap: 8px; align-items: flex-start; }
.note svg { width: 16px; height: 16px; flex: none; margin-top: 3px; color: var(--cheese-d); }

.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 140%); z-index: 100;
  display: flex; align-items: center; gap: 10px; padding: 14px 20px; border-radius: 16px;
  background: var(--char-2); color: #fff; font-weight: 800; box-shadow: var(--shadow-l);
  visibility: hidden; transition: transform .3s ease, visibility 0s .3s;
}
.toast.show { transform: translate(-50%, 0); visibility: visible; transition: transform .3s ease; }
.toast svg { width: 20px; height: 20px; color: var(--cheese); }

.to-top { position: fixed; right: 20px; bottom: 20px; width: 50px; height: 50px; border-radius: 50%; border: 0; background: var(--tomato); color: #fff; box-shadow: var(--shadow-l); opacity: 0; pointer-events: none; transition: opacity .2s; z-index: 40; }
.to-top.show { opacity: 1; pointer-events: auto; }
.to-top svg { width: 22px; height: 22px; margin: auto; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav { display: none; }
  .burger { display: grid; }
  .header-actions .btn-primary { display: none; }
  .nav.open {
    display: grid; position: absolute; top: 76px; left: 0; right: 0; padding: 12px var(--gutter) 20px;
    background: var(--cream); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .nav.open a { padding: 14px; font-size: 17px; }
  .header-actions { margin-left: auto; }
  .pillars, .counter-row { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(3, 1fr); row-gap: 30px; }
  .timeline::before { display: none; }
  .footer .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hero .wrap, .spotlight .wrap, .story .intro, .app-section .wrap, .loc-grid, .faq-contact .wrap, .parties .card { grid-template-columns: 1fr; }
  .hero-media { max-width: 620px; }
  .promos { grid-template-columns: 1fr 1fr; }
  .promo.featured { grid-column: span 2; grid-row: auto; }
  .map-card { position: relative; top: 0; }
  .phones { height: 520px; max-width: 560px; margin: 0 auto; width: 100%; }
  .phone { width: 210px; }
  .modal .grid { grid-template-columns: 1fr; }
  .modal .art { max-height: 300px; overflow: hidden; }
  .spotlight-art { max-width: 420px; margin: 0 auto; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .promos { grid-template-columns: 1fr; }
  .promo.featured { grid-column: auto; }
  .promo.featured .art { min-height: 0; aspect-ratio: 16 / 10; }
  .float-card.one { left: 8px; bottom: -34px; }
  .float-card.two { display: none; }
  .hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
  .dishes { grid-template-columns: 1fr 1fr; gap: 12px; }
  .dish { padding: 6px; border-radius: 18px; }
  .dish .img { border-radius: 13px; }
  .dish h4 { font-size: 16px; }
  .dish p { display: none; }
  .dish .km { font-size: 12.5px; }
  .dish .tags { left: 6px; top: 6px; }
  .dish .tags .tag:nth-child(n+2) { display: none; }
  .price { font-size: 18px; }
  .plus { width: 32px; height: 32px; }
  .cat-title h3 { font-size: 22px; }
  .float-card img { width: 44px; height: 44px; }
  .pillars, .counter-row, .tiers { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr 1fr; }
  .phones { height: 420px; }
  .phone { width: 160px; border-radius: 28px; padding: 7px; }
  .phone img { border-radius: 22px; }
  .phone::before { width: 50px; height: 14px; top: 13px; }
  .contact-card .row { grid-template-columns: 1fr; }
  .footer .cols { grid-template-columns: 1fr; }
  .sizes { grid-template-columns: repeat(2, 1fr); }
  .brand b { font-size: 21px; }
  .lang { padding: 0 10px; }
  .price-at { margin-left: 0; }
  .tabs button { padding: 10px 14px; font-size: 15px; }
  .search { min-width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
