/* ============================================================
   JoeSit Café — Design System
   Ocha-inspired structure & motion · Navy + Pink identity
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --navy-900: #06172E; --navy-800: #081E3B; --navy-700: #0B294D;
  --navy-600: #12375F; --navy-500: #1B4773;
  --gold-500: #C89B57; --gold-400: #D4AC6E; --gold-300: #DFBD88;
  --gold-200: #EAD1A8; --gold-100: #F5E7CC;
  --cream-50: #FDFAF3; --cream-100: #FAF4E8; --cream-200: #F3EAD7;
  --sand-100: #F6F2EC; --white: #FFFFFF;
  --ink: #0B1422; --muted: #6E7380;
  --soft-navy: #C9D6E5; --soft-gold: #EAD9B5;
  --grad-main: linear-gradient(135deg, #06172E 0%, #0B294D 52%, #C89B57 100%);
  --grad-gold: linear-gradient(135deg, #C89B57 0%, #DFBD88 52%, #F5E7CC 100%);
  --grad-cold: linear-gradient(135deg, #081E3B 0%, #1B4773 45%, #D4AC6E 100%);
  --font-display: 'Rubik', 'IBM Plex Sans Arabic', system-ui, sans-serif;
  --font-body: 'Rubik', 'IBM Plex Sans Arabic', system-ui, sans-serif;
  --radius-lg: 28px; --radius-md: 18px; --radius-sm: 12px;
  --shadow-card: 0 10px 40px rgba(6, 23, 46, .12);
  --shadow-pop: 0 18px 60px rgba(6, 23, 46, .22);
  --container: 1240px;
  --ease-spring: cubic-bezier(.22, 1.2, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font-body); color: var(--ink);
  background: var(--cream-50); overflow-x: hidden;
  -webkit-font-smoothing: antialiased; line-height: 1.6;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
button { font-family: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 3px; border-radius: 4px; }
.skip-link { position: absolute; inset-inline-start: 8px; top: -60px; z-index: 300; background: var(--gold-500); color: #fff; padding: 10px 18px; border-radius: 10px; transition: top .2s; }
.skip-link:focus { top: 8px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { max-width: var(--container); margin-inline: auto; padding-inline: clamp(18px, 4vw, 40px); }

/* ---------- Typography (Ocha: oversized & bold) ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.08; margin: 0 0 .4em; letter-spacing: -0.01em; }
.display-xl { font-size: clamp(2.6rem, 8.5vw, 6.4rem); font-weight: 900; }
.display-lg { font-size: clamp(2.1rem, 5.6vw, 4.2rem); font-weight: 900; }
.display-md { font-size: clamp(1.6rem, 3.6vw, 2.6rem); font-weight: 800; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .95rem; padding: 8px 18px; border-radius: 999px; background: var(--soft-gold); color: var(--navy-800); }
.on-dark .eyebrow { background: rgba(255,255,255,.12); color: var(--gold-100); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--muted); max-width: 46ch; }
.on-dark .lead { color: var(--soft-navy); }
.text-outline { color: transparent; -webkit-text-stroke: 2px currentColor; }
.text-gold { color: var(--gold-500); } .text-navy { color: var(--navy-800); }

/* ---------- Section rhythm (Ocha alternating backgrounds) ---------- */
section { padding-block: clamp(64px, 9vw, 130px); position: relative; }
.section-navy { background: var(--navy-900); color: var(--cream-50); }
.section-navy2 { background: var(--navy-800); color: var(--cream-50); }
.section-pink { background: var(--gold-500); color: var(--white); }
.section-softpink { background: var(--cream-100); }
.section-cream { background: var(--sand-100); }
.section-white { background: var(--white); }
.section-grad { background: var(--grad-main); color: var(--cream-50); }
.section-grad-cold { background: var(--grad-cold); color: var(--cream-50); }
.on-dark { color: var(--cream-50); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 34px; border-radius: 999px; border: 0; font-weight: 800; font-size: 1.05rem;
  text-decoration: none; transition: transform .35s var(--ease-spring), box-shadow .35s, background .3s;
  min-height: 52px;
}
.btn:hover { transform: translateY(-3px) scale(1.03); box-shadow: var(--shadow-pop); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-gold { background: var(--gold-500); color: #fff; }
.btn-gold:hover { background: var(--gold-400); }
.btn-navy { background: var(--navy-800); color: #fff; }
.btn-outline { background: transparent; border: 2.5px solid currentColor; color: inherit; }
.btn-white { background: #fff; color: var(--navy-800); }
.btn-lg { padding: 20px 44px; font-size: 1.15rem; }
.btn-sm { padding: 10px 22px; min-height: 40px; font-size: .95rem; }

/* ---------- Header / Navigation ---------- */
.site-header {
  position: fixed; inset-inline: 0; top: 0; z-index: 120;
  transition: background .35s, box-shadow .35s, transform .35s;
  padding-block: 14px;
}
.site-header.scrolled { background: rgba(6, 23, 46, .88); backdrop-filter: blur(14px); box-shadow: 0 4px 30px rgba(6,23,46,.25); }
.site-header .container { display: flex; align-items: center; gap: 22px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; font-weight: 900; font-size: 1.2rem; }
.brand img { width: 52px; height: 52px; transition: transform .5s var(--ease-spring); }
.brand:hover img { transform: rotate(-10deg) scale(1.08); }
.main-nav { display: flex; gap: 4px; margin-inline-start: auto; align-items: center; }
.main-nav a { color: #fff; text-decoration: none; font-weight: 600; padding: 10px 14px; border-radius: 999px; transition: background .25s, color .25s; font-size: .98rem; }
.main-nav a:hover, .main-nav a[aria-current="page"] { background: rgba(255,255,255,.14); color: var(--gold-100); }
.header-cta { display: flex; gap: 10px; align-items: center; }
.lang-switch { border: 2px solid rgba(255,255,255,.4); background: transparent; color: #fff; border-radius: 999px; padding: 8px 16px; font-weight: 800; text-decoration: none; font-size: .92rem; transition: background .25s; }
.lang-switch:hover { background: rgba(255,255,255,.15); }
.nav-toggle { display: none; background: none; border: 0; width: 48px; height: 48px; position: relative; z-index: 130; }
.nav-toggle span { display: block; width: 26px; height: 3px; background: #fff; margin: 5px auto; border-radius: 2px; transition: transform .35s, opacity .25s; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Mobile overlay menu (Ocha-style full navy overlay) */
@media (max-width: 1020px) {
  .nav-toggle { display: block; margin-inline-start: auto; }
  .main-nav {
    position: fixed; inset: 0; background: var(--navy-900); flex-direction: column;
    justify-content: center; align-items: center; gap: 8px; margin: 0;
    opacity: 0; pointer-events: none; transition: opacity .35s; z-index: 125;
  }
  .nav-open .main-nav { opacity: 1; pointer-events: auto; }
  .main-nav a { font-size: 1.5rem; font-weight: 800; opacity: 0; transform: translateY(18px); transition: opacity .4s, transform .5s var(--ease-out); }
  .nav-open .main-nav a { opacity: 1; transform: none; }
  .main-nav a:nth-child(1){transition-delay:.05s}.main-nav a:nth-child(2){transition-delay:.1s}
  .main-nav a:nth-child(3){transition-delay:.15s}.main-nav a:nth-child(4){transition-delay:.2s}
  .main-nav a:nth-child(5){transition-delay:.25s}.main-nav a:nth-child(6){transition-delay:.3s}
  .main-nav a:nth-child(7){transition-delay:.35s}.main-nav a:nth-child(8){transition-delay:.4s}
  .header-cta .btn { display: none; }
  .main-nav .nav-mobile-cta { display: inline-flex !important; margin-top: 18px; opacity: 0; transition-delay: .45s; }
  .nav-open .main-nav .nav-mobile-cta { opacity: 1; }
}
.nav-mobile-cta { display: none; }

/* ---------- Loading screen ---------- */
.loading-screen {
  position: fixed; inset: 0; z-index: 400; background: var(--navy-900);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px;
  transition: opacity .5s, visibility .5s;
}
.loading-screen.done { opacity: 0; visibility: hidden; }
.loading-cup { width: 92px; height: 92px; position: relative; }
.loading-cup img { width: 100%; height: 100%; animation: loadPulse 1.6s ease-in-out infinite; }
.loading-ring { position: absolute; inset: -14px; border: 3px solid transparent; border-top-color: var(--gold-500); border-radius: 50%; animation: spin 1.1s linear infinite; }
.loading-tag { color: var(--gold-100); font-weight: 800; font-size: 1.15rem; letter-spacing: .02em; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes loadPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }

/* ---------- Custom cursor ---------- */
.cursor-dot, .cursor-ring { position: fixed; top: 0; left: 0; pointer-events: none; z-index: 500; border-radius: 50%; }
.cursor-dot { width: 8px; height: 8px; background: var(--gold-500); transform: translate(-50%, -50%); }
.cursor-ring { width: 38px; height: 38px; border: 2px solid rgba(244, 63, 140, .55); transform: translate(-50%, -50%); transition: width .25s, height .25s, border-color .25s, background .25s; }
.cursor-ring.is-hover { width: 62px; height: 62px; background: rgba(244, 63, 140, .12); border-color: var(--gold-400); }
@media (hover: none), (pointer: coarse) { .cursor-dot, .cursor-ring { display: none; } }
body.has-cursor, body.has-cursor a, body.has-cursor button { cursor: none; }
@media (hover: none) { body.has-cursor, body.has-cursor a, body.has-cursor button { cursor: auto; } }

/* ---------- Marquee / Ticker (Ocha) ---------- */
.marquee { overflow: hidden; white-space: nowrap; padding-block: 18px; position: relative; }
.marquee-track { display: inline-flex; gap: 0; animation: marquee 28s linear infinite; will-change: transform; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: inline-flex; align-items: center; gap: 18px; padding-inline: 22px; font-family: var(--font-display); font-weight: 900; font-size: clamp(1.3rem, 3vw, 2.2rem); }
.marquee-item .dot { width: 10px; height: 10px; border-radius: 50%; background: currentColor; opacity: .55; flex: none; }
.marquee-gold { background: var(--gold-500); color: #fff; transform: rotate(-1.6deg) scale(1.02); }
.marquee-navy { background: var(--navy-800); color: var(--gold-100); }
.marquee-cream { background: var(--cream-100); color: var(--navy-800); border-block: 2px solid var(--soft-gold); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
[dir="rtl"] .marquee-track { animation-name: marquee-rtl; }
@keyframes marquee-rtl { from { transform: translateX(0); } to { transform: translateX(50%); } }

/* ---------- Reveal on scroll (Appear Effects) ---------- */
.reveal { opacity: 0; transform: translateY(46px); transition: opacity .8s var(--ease-out), transform .9s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.reveal-scale { opacity: 0; transform: scale(.86); transition: opacity .7s, transform .8s var(--ease-spring); }
.reveal-scale.in { opacity: 1; transform: scale(1); }
.reveal-word { display: inline-block; overflow: hidden; vertical-align: bottom; }
.reveal-word span { display: inline-block; transform: translateY(110%); transition: transform .8s var(--ease-out); }
.reveal.in .reveal-word span { transform: none; }
[data-stagger] > * { transition-delay: calc(var(--i, 0) * 90ms); }

/* ---------- Hero ---------- */
.hero {
  min-height: 100svh; display: flex; align-items: center; overflow: hidden;
  background: var(--grad-main); color: var(--cream-50); padding-block: 130px 40px;
}
.hero .container { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(20px, 4vw, 60px); align-items: center; }
.hero-copy { position: relative; z-index: 3; }
.hero-title { margin-block: 18px 14px; }
.hero-title .line { display: block; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.hero-note { margin-top: 16px; color: var(--gold-100); font-weight: 600; font-size: .95rem; display: flex; align-items: center; gap: 8px; }
.hero-note::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #45E0A2; box-shadow: 0 0 12px #45E0A2; }
.hero-stage { position: relative; z-index: 2; display: grid; place-items: center; perspective: 1000px; }
.hero-cup { width: min(380px, 78vw); transform-style: preserve-3d; transition: transform .25s ease-out; will-change: transform; position: relative; z-index: 2; }
.hero-cup .cup-svg { width: 100%; height: auto; filter: drop-shadow(0 30px 60px rgba(6,23,46,.45)); }
.hero-glow { position: absolute; width: 480px; height: 480px; border-radius: 50%; background: radial-gradient(circle, rgba(244,63,140,.35), transparent 65%); filter: blur(10px); z-index: 1; }
.hero-badge-card {
  position: absolute; bottom: 8%; inset-inline-end: 4%; z-index: 3;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(12px); border-radius: var(--radius-md); padding: 14px 20px;
  animation: floaty 5s ease-in-out infinite;
}
.hero-badge-card strong { display: block; font-size: 1.05rem; }
.hero-badge-card span { color: var(--gold-100); font-size: .85rem; }
.float-ing { position: absolute; z-index: 1; opacity: .85; animation: floaty var(--dur, 6s) ease-in-out infinite; will-change: transform; }
@keyframes floaty { 0%, 100% { transform: translateY(0) rotate(var(--rot, 0deg)); } 50% { transform: translateY(-18px) rotate(calc(var(--rot, 0deg) + 6deg)); } }
.bean { width: 26px; height: 18px; background: var(--navy-600); border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; position: relative; }
.bean::after { content: ""; position: absolute; inset-inline-start: 46%; top: 12%; bottom: 12%; width: 3px; background: var(--navy-900); border-radius: 3px; transform: rotate(8deg); }
.petal { width: 18px; height: 24px; background: var(--gold-200); border-radius: 60% 60% 60% 10%; }
.icecube-f { width: 26px; height: 26px; background: rgba(255,255,255,.25); border: 2px solid rgba(255,255,255,.5); border-radius: 7px; }

@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero-copy { order: 2; } .hero-stage { order: 1; margin-top: 30px; }
  .hero-actions { justify-content: center; }
  .lead { margin-inline: auto; }
  .hero-badge-card { display: none; }
}

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: clamp(18px, 2.5vw, 30px); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1020px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--white); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-card); transition: transform .45s var(--ease-spring), box-shadow .45s;
  position: relative;
}
.card:hover { transform: translateY(-10px); box-shadow: var(--shadow-pop); }

/* Product card */
.product-card { display: flex; flex-direction: column; }
.product-media { background: var(--navy-800); padding: 26px 26px 8px; display: grid; place-items: center; min-height: 250px; position: relative; overflow: hidden; transition: background .4s; }
.product-card[data-cat="refresher"] .product-media, .product-card[data-cat="seasonal"] .product-media { background: var(--grad-cold); }
.product-card[data-cat="matcha"] .product-media { background: #143823; }
.product-card[data-cat="bakery"] .product-media, .product-card[data-cat="sandwich"] .product-media { background: var(--cream-200); }
.product-media .cup-svg { width: 150px; height: auto; transition: transform .6s var(--ease-spring); transform-origin: bottom center; }
.product-card:hover .cup-svg { transform: scale(1.1) rotate(-3deg); }
.product-badges { position: absolute; top: 14px; inset-inline-start: 14px; display: flex; gap: 6px; flex-wrap: wrap; z-index: 2; }
.badge { font-size: .74rem; font-weight: 800; padding: 5px 12px; border-radius: 999px; background: var(--gold-500); color: #fff; }
.badge-new { background: #45E0A2; color: var(--navy-900); }
.badge-seasonal { background: var(--grad-gold); }
.badge-pop { background: var(--navy-600); }
.badge-temp { background: rgba(255,255,255,.16); color: #fff; backdrop-filter: blur(4px); }
.product-body { padding: 20px 24px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-name { font-size: 1.2rem; font-weight: 800; margin: 0; }
.product-name-alt { color: var(--muted); font-size: .85rem; font-weight: 600; letter-spacing: .03em; }
.product-desc { color: var(--muted); font-size: .93rem; margin: 0; flex: 1; }
.product-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; }
.price { font-weight: 900; color: var(--navy-800); font-size: 1.05rem; }
.price.tbd { color: var(--muted); font-weight: 600; font-size: .85rem; }
.product-actions { display: flex; gap: 8px; }

/* ---------- Menu filters (sticky) ---------- */
.menu-filters {
  position: sticky; top: 76px; z-index: 60; display: flex; gap: 8px; overflow-x: auto;
  padding: 12px; background: rgba(255,247,248,.9); backdrop-filter: blur(12px);
  border-radius: 999px; box-shadow: var(--shadow-card); scrollbar-width: none; margin-bottom: 34px;
}
.menu-filters::-webkit-scrollbar { display: none; }
.filter-btn { flex: none; border: 0; background: transparent; padding: 10px 20px; border-radius: 999px; font-weight: 700; color: var(--navy-800); transition: background .25s, color .25s, transform .25s; }
.filter-btn:hover { background: var(--soft-gold); }
.filter-btn.active { background: var(--navy-800); color: #fff; transform: scale(1.05); }

/* ---------- Horizontal drink scroll (Ocha slideshows) ---------- */
.hscroll { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px 4px 26px; scrollbar-width: none; }
.hscroll::-webkit-scrollbar { display: none; }
.hscroll > * { flex: 0 0 min(320px, 82vw); scroll-snap-align: center; }

/* ---------- Sticky story panels (Sticky Scrolling) ---------- */
.sticky-wrap { position: relative; }
.sticky-panel { position: sticky; top: 0; min-height: 100svh; display: flex; align-items: center; overflow: hidden; }

/* ---------- Seasonal feature (large image-led, Ocha specials) ---------- */
.feature-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 70px); align-items: center; }
.feature-stage { display: grid; place-items: center; border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 50px); min-height: 420px; position: relative; overflow: hidden; }
.feature-stage .cup-svg { width: min(300px, 66vw); filter: drop-shadow(0 26px 50px rgba(6,23,46,.4)); }
.stage-grad { background: var(--grad-cold); }
.stage-pink { background: var(--grad-gold); }
.stage-navy { background: var(--navy-800); }
@media (max-width: 900px) { .feature-split { grid-template-columns: 1fr; } }

/* ---------- Customizer ---------- */
.customizer { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(24px, 4vw, 60px); align-items: start; }
@media (max-width: 900px) { .customizer { grid-template-columns: 1fr; } }
.customizer-stage { position: sticky; top: 110px; display: grid; place-items: center; background: var(--navy-800); border-radius: var(--radius-lg); padding: 36px; min-height: 430px; }
.customizer-stage .cup-svg { width: min(260px, 60vw); transition: transform .5s var(--ease-spring); }
.opt-group { margin-bottom: 22px; }
.opt-group h4 { margin-bottom: 10px; font-size: 1.02rem; }
.opt-row { display: flex; flex-wrap: wrap; gap: 8px; }
.opt-chip {
  border: 2px solid var(--soft-navy); background: #fff; border-radius: 999px; padding: 9px 18px;
  font-weight: 700; font-size: .92rem; color: var(--navy-800); transition: all .25s;
}
.opt-chip:hover { border-color: var(--gold-300); }
.opt-chip.active { background: var(--navy-800); border-color: var(--navy-800); color: #fff; transform: scale(1.05); }
select.opt-select, input.form-input, textarea.form-input, select.form-input {
  width: 100%; padding: 13px 16px; border: 2px solid var(--soft-navy); border-radius: var(--radius-sm);
  font-family: inherit; font-size: 1rem; background: #fff; color: var(--ink); transition: border-color .25s;
}
.form-input:focus, .opt-select:focus { border-color: var(--gold-500); outline: none; }

/* ---------- Order panel ---------- */
.order-list { display: flex; flex-direction: column; gap: 12px; margin-block: 18px; }
.order-item { background: #fff; border-radius: var(--radius-md); padding: 14px 18px; display: flex; justify-content: space-between; gap: 12px; align-items: center; box-shadow: var(--shadow-card); }
.order-item small { color: var(--muted); display: block; }
.order-empty { color: var(--muted); text-align: center; padding: 30px; border: 2px dashed var(--soft-navy); border-radius: var(--radius-md); }

/* ---------- Loyalty card ---------- */
.loyalty-card {
  background: var(--grad-main); color: #fff; border-radius: 24px; padding: 26px 30px;
  box-shadow: var(--shadow-pop); position: relative; overflow: hidden; max-width: 420px;
  transform: rotate(-2deg); transition: transform .5s var(--ease-spring);
}
.loyalty-card:hover { transform: rotate(0) scale(1.03); }
.loyalty-card::after { content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%; background: rgba(255,255,255,.08); top: -80px; inset-inline-end: -60px; }
.loyalty-head { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.loyalty-head img { width: 54px; height: 54px; }
.stamps { display: flex; gap: 10px; flex-wrap: wrap; margin-block: 14px; }
.stamp { width: 44px; height: 44px; border-radius: 50%; border: 2px dashed rgba(255,255,255,.5); display: grid; place-items: center; font-weight: 900; transition: all .4s var(--ease-spring); }
.stamp.filled { background: var(--gold-500); border-style: solid; border-color: var(--gold-300); box-shadow: 0 4px 14px rgba(244,63,140,.4); }
.qr-box { background: #fff; border-radius: var(--radius-md); padding: 14px; display: inline-block; }
.qr-box svg { width: 120px; height: 120px; display: block; }

/* ---------- Offers ---------- */
.offer-card { border-radius: var(--radius-lg); overflow: hidden; position: relative; min-height: 240px; display: flex; flex-direction: column; justify-content: flex-end; padding: 26px; color: #fff; background: var(--grad-cold); }
.offer-card.soon { background: var(--navy-800); opacity: .92; }
.offer-card h3 { font-size: 1.4rem; }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 2px solid var(--cream-200); }
.section-navy .faq-item, .section-navy2 .faq-item { border-color: rgba(255,255,255,.12); }
.faq-q { width: 100%; background: none; border: 0; text-align: start; padding: 22px 4px; font-size: 1.1rem; font-weight: 800; color: inherit; display: flex; justify-content: space-between; gap: 14px; align-items: center; }
.faq-q .chev { transition: transform .35s; flex: none; font-weight: 900; color: var(--gold-500); font-size: 1.3rem; }
.faq-item.open .chev { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .45s var(--ease-out); color: var(--muted); }
.section-navy .faq-a, .section-navy2 .faq-a { color: var(--soft-navy); }
.faq-a p { margin: 0 0 20px; padding-inline: 4px; }

/* ---------- Branch / contact ---------- */
.branch-card { padding: 28px; }
.branch-card h3 { display: flex; align-items: center; gap: 10px; }
.branch-meta { display: flex; flex-direction: column; gap: 8px; color: var(--muted); font-size: .96rem; margin-block: 14px; }
.service-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-block: 12px; }
.service-tag { font-size: .8rem; font-weight: 700; padding: 5px 13px; border-radius: 999px; background: var(--cream-200); color: var(--navy-800); }
.service-tag.na { opacity: .5; text-decoration: line-through; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }
label.form-label { font-weight: 700; font-size: .92rem; display: block; margin-bottom: 6px; }
.form-msg { border-radius: var(--radius-sm); padding: 14px 18px; font-weight: 700; margin-top: 14px; display: none; }
.form-msg.ok { display: block; background: #E4F8EE; color: #0B6B43; }
.form-msg.err { display: block; background: #FDE7EF; color: #B00F52; }
.btn.loading { opacity: .7; pointer-events: none; }
.btn.loading::after { content: ""; width: 16px; height: 16px; border: 2px solid rgba(255,255,255,.5); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }

/* ---------- Ticker numbers / stats ---------- */
.story-figure { border-radius: var(--radius-lg); overflow: hidden; }

/* ---------- Articles ---------- */
.article-card .product-media { min-height: 190px; background: var(--cream-200); }
.article-cat { color: var(--gold-500); font-weight: 800; font-size: .82rem; letter-spacing: .04em; text-transform: uppercase; }
.article-body { max-width: 720px; margin-inline: auto; font-size: 1.1rem; }
.article-body p { margin-block: 1.1em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: var(--soft-navy); padding-block: 70px 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 34px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-size: 1.02rem; margin-bottom: 14px; }
.site-footer a { color: var(--soft-navy); text-decoration: none; display: block; padding-block: 5px; transition: color .2s; }
.site-footer a:hover { color: var(--gold-200); }
.footer-brand img { width: 74px; margin-bottom: 14px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 46px; padding-top: 22px; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: .88rem; }
.social-row { display: flex; gap: 10px; margin-top: 14px; }
.social-row a { width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.08); display: grid; place-items: center; padding: 0; transition: background .25s, transform .25s; }
.social-row a:hover { background: var(--gold-500); transform: translateY(-3px); color: #fff; }

/* ---------- Floating WhatsApp + mobile order bar ---------- */
.wa-float {
  position: fixed; bottom: 24px; inset-inline-end: 24px; z-index: 110;
  width: 60px; height: 60px; border-radius: 50%; background: #25D366; color: #fff;
  display: grid; place-items: center; box-shadow: 0 10px 30px rgba(37,211,102,.45);
  transition: transform .35s var(--ease-spring); text-decoration: none;
}
.wa-float:hover { transform: scale(1.12) rotate(6deg); }
.mobile-order-bar {
  display: none; position: fixed; bottom: 0; inset-inline: 0; z-index: 105;
  background: rgba(6,23,46,.92); backdrop-filter: blur(12px); padding: 12px 18px calc(12px + env(safe-area-inset-bottom));
}
.mobile-order-bar .btn { width: 100%; }
@media (max-width: 760px) {
  .mobile-order-bar { display: block; }
  .wa-float { bottom: 88px; }
  body { padding-bottom: 74px; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: var(--grad-main); color: var(--cream-50); padding-block: 150px 70px; }

/* ---------- Scroll progress + back to top ---------- */
.scroll-progress { position: fixed; top: 0; inset-inline-start: 0; height: 4px; background: var(--grad-gold); z-index: 200; width: 0; }
.back-top {
  position: fixed; bottom: 24px; inset-inline-start: 24px; z-index: 100; width: 48px; height: 48px;
  border-radius: 50%; border: 0; background: var(--navy-800); color: #fff; font-size: 1.2rem;
  opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s;
}
.back-top.show { opacity: 1; pointer-events: auto; }
.back-top:hover { transform: translateY(-4px); background: var(--gold-500); }

/* ---------- Drive-thru steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius-md); padding: 24px; position: relative; }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--gold-500); color: #fff; font-weight: 900; margin-bottom: 14px; font-size: 1.1rem; }

/* ---------- Notices ---------- */
.notice { background: var(--cream-100); border-inline-start: 4px solid var(--gold-400); border-radius: var(--radius-sm); padding: 14px 18px; color: var(--muted); font-size: .92rem; }
.on-dark .notice { background: rgba(255,255,255,.06); color: var(--soft-navy); }

/* ---------- 3D tilt (cards & hero) ---------- */
[data-tilt] { transform-style: preserve-3d; will-change: transform; }

/* ---------- 404 ---------- */
.page-404 { min-height: 100svh; display: grid; place-items: center; background: var(--grad-main); color: #fff; text-align: center; padding: 40px; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; bottom: 100px; inset-inline-start: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--navy-800); color: #fff; padding: 13px 26px; border-radius: 999px; font-weight: 700;
  opacity: 0; transition: opacity .3s, transform .3s; z-index: 300; box-shadow: var(--shadow-pop); pointer-events: none;
}
[dir="rtl"] .toast { transform: translateX(50%) translateY(20px); }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
[dir="rtl"] .toast.show { transform: translateX(50%) translateY(0); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .marquee-track { animation: none; transform: none; }
  .reveal, .reveal-scale { opacity: 1; transform: none; }
  .reveal-word span { transform: none; }
  .cursor-dot, .cursor-ring { display: none; }
}

/* ---------- Print ---------- */
@media print { .site-header, .wa-float, .mobile-order-bar, .back-top, .cursor-dot, .cursor-ring { display: none !important; } }
