/* ===== Design tokens ===== */
:root {
  --bg: #fbf4ea;
  --surface: #ffffff;
  --surface-2: #f4e9da;
  --text: #2a1c12;
  --text-muted: #6b5744;
  --border: #e8dbc7;
  --primary: #c65a2e;
  --primary-dark: #a4441f;
  --primary-tint: #f3decf;
  --accent: #e8a33d;
  --accent-2: #7a8b5e;
  --whatsapp: #25d366;
  --shadow: 0 10px 30px -12px rgba(60, 30, 10, 0.25);
  --shadow-sm: 0 4px 14px -6px rgba(60, 30, 10, 0.2);
  --radius: 18px;
  --radius-sm: 12px;
  --font-display: "Fraunces", "Noto Sans Devanagari", serif;
  --font-body: "Poppins", "Noto Sans Devanagari", sans-serif;
  --font-mono: "DM Mono", "Noto Sans Devanagari", monospace;
}

[data-theme="dark"] {
  --bg: #17110c;
  --surface: #221a12;
  --surface-2: #2b2116;
  --text: #f3e8d8;
  --text-muted: #b8a68e;
  --border: #3a2d1e;
  --primary: #e8834f;
  --primary-dark: #f2a06f;
  --primary-tint: #3a2517;
  --accent: #f0b84f;
  --accent-2: #9db07e;
  --shadow: 0 10px 34px -12px rgba(0, 0, 0, 0.55);
  --shadow-sm: 0 4px 16px -6px rgba(0, 0, 0, 0.45);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #17110c;
    --surface: #221a12;
    --surface-2: #2b2116;
    --text: #f3e8d8;
    --text-muted: #b8a68e;
    --border: #3a2d1e;
    --primary: #e8834f;
    --primary-dark: #f2a06f;
    --primary-tint: #3a2517;
    --accent: #f0b84f;
    --accent-2: #9db07e;
    --shadow: 0 10px 34px -12px rgba(0, 0, 0, 0.55);
    --shadow-sm: 0 4px 16px -6px rgba(0, 0, 0, 0.45);
  }
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background 0.3s ease, color 0.3s ease;
}

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; margin: 0; }

a { color: inherit; text-decoration: none; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border-radius: 100px; font-weight: 600; font-size: 15px;
  border: none; cursor: pointer; transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--primary); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--primary-dark); box-shadow: var(--shadow); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--text); border: 1.5px solid var(--border); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-ghost { background: rgba(255,255,255,0.15); color: #fff; border: 1.5px solid rgba(255,255,255,0.5); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255,255,255,0.28); }
.btn-whatsapp { background: var(--whatsapp); color: #fff; box-shadow: var(--shadow-sm); }
.btn-whatsapp:hover { filter: brightness(1.08); transform: translateY(-2px); }
.btn-large { padding: 16px 32px; font-size: 16px; }
.btn-small { padding: 10px 18px; font-size: 13.5px; }
.full { width: 100%; }

/* ===== Nav ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  backdrop-filter: blur(14px); background: color-mix(in srgb, var(--bg) 78%, transparent);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.nav.scrolled { border-bottom-color: var(--border); }
.nav-inner { max-width: 1200px; margin: 0 auto; padding: 14px 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; flex-shrink: 0; box-shadow: var(--shadow-sm); }
.brand-text { font-family: var(--font-display); font-weight: 600; font-size: 16.5px; line-height: 1.1; display: flex; flex-direction: column; }
.brand-text em { font-style: normal; font-size: 11px; color: var(--text-muted); font-family: var(--font-mono); letter-spacing: 0.04em; }
.nav-links { display: flex; gap: 28px; font-size: 14.5px; font-weight: 500; }
.nav-links a { color: var(--text-muted); transition: color 0.2s; }
.nav-links a:hover { color: var(--primary); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border); background: var(--surface); display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--text); }
.icon-btn svg { width: 18px; height: 18px; }
.lang-btn { font-family: var(--font-mono); font-size: 12.5px; font-weight: 600; }
.icon-sun, .icon-moon { display: none; }
:root:not([data-theme="dark"]) .icon-sun { display: block; }
:root[data-theme="dark"] .icon-moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]):not([data-theme="dark"]) .icon-sun { display: none; }
  :root:not([data-theme="light"]):not([data-theme="dark"]) .icon-moon { display: block; }
}
@media (max-width: 860px) { .nav-links { display: none; } }

/* ===== Full-page fixed video background ===== */
.site-video-bg {
  position: fixed; inset: 0; z-index: 0; overflow: hidden;
  background: linear-gradient(160deg, #3a2210 0%, #6b3418 45%, #a4441f 100%);
}
.hero-poster, .hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%;
  transition: opacity 0.6s ease;
}
.site-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,10,4,0.28) 0%, rgba(20,10,4,0.12) 30%, rgba(20,10,4,0.32) 100%); }

/* ===== Hero ===== */
.hero {
  position: relative; z-index: 1;
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 120px 0 60px;
}
.hero-content { position: relative; max-width: 780px; text-align: center; padding: 0 24px; color: #fff; transition: opacity 0.25s ease, transform 0.25s ease; }
.eyebrow { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin: 0 0 18px; }
.hero-title { font-size: clamp(2.4rem, 6vw, 4.4rem); line-height: 1.08; margin: 0 0 22px; display: flex; flex-direction: column; }
.hero-title .accent { color: var(--accent); font-style: italic; }
.hero-sub { font-size: 18px; color: rgba(255,255,255,0.85); max-width: 560px; margin: 0 auto 34px; }
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.reveal { opacity: 0; transform: translateY(24px); animation: revealUp 0.9s cubic-bezier(.22,1,.36,1) forwards; animation-delay: calc(var(--d, 0) * 0.14s + 0.15s); }
@keyframes revealUp { to { opacity: 1; transform: translateY(0); } }

.hero-scroll-cue { position: fixed; bottom: 34px; left: 50%; transform: translateX(-50%); z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; color: rgba(255,255,255,0.75); transition: opacity 0.3s ease; }
.hero-scroll-cue span { width: 1px; height: 34px; background: linear-gradient(180deg, rgba(255,255,255,0.9), transparent); animation: scrollCue 1.8s ease-in-out infinite; }
.hero-scroll-cue p { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; margin: 0; }
@keyframes scrollCue { 0%,100% { transform: scaleY(0.6); opacity: 0.5; } 50% { transform: scaleY(1); opacity: 1; } }

/* ===== Sections (frosted glass over the fixed video) ===== */
.section {
  position: relative; z-index: 1;
  padding: 100px 0;
  background: color-mix(in srgb, var(--bg) 40%, transparent);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.kicker { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--primary); margin: 0 0 10px; text-align: center; text-shadow: 0 2px 12px rgba(0,0,0,0.5); }
.section-title { font-size: clamp(1.8rem, 3.6vw, 2.6rem); text-align: center; margin-bottom: 14px; text-shadow: 0 2px 16px rgba(0,0,0,0.4); }
.section-sub { text-align: center; color: var(--text-muted); max-width: 560px; margin: 0 auto 50px; text-shadow: 0 2px 10px rgba(0,0,0,0.4); }

.fade-in { opacity: 0; transform: translateY(30px); transition: opacity 0.7s cubic-bezier(.22,1,.36,1), transform 0.7s cubic-bezier(.22,1,.36,1); }
.fade-in.in-view { opacity: 1; transform: translateY(0); }

/* ===== Thali ===== */
.thali-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; margin-top: 50px; }
.thali-photo { position: relative; width: 100%; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.thali-photo img { width: 100%; height: 100%; display: block; object-fit: cover; aspect-ratio: 4/5; }
.thali-photo-tag { position: absolute; bottom: 18px; left: 18px; background: var(--primary); color: #fff; font-family: var(--font-display); font-weight: 600; font-size: 14px; padding: 8px 18px; border-radius: 100px; box-shadow: var(--shadow-sm); }
.thali-list { display: flex; flex-direction: column; gap: 26px; }
.thali-row { display: flex; gap: 18px; align-items: flex-start; }
.thali-row .num { font-family: var(--font-mono); font-size: 13px; color: var(--primary); border: 1px solid var(--border); border-radius: 50%; width: 32px; height: 32px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.thali-row h3 { font-size: 17px; margin-bottom: 4px; }
.thali-row p { margin: 0; color: var(--text-muted); font-size: 14.5px; }
@media (max-width: 800px) { .thali-grid { grid-template-columns: 1fr; gap: 40px; } }

/* ===== How it works ===== */
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.how-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px 26px; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.how-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.how-num { width: 44px; height: 44px; border-radius: 50%; background: var(--primary-tint); color: var(--primary); font-family: var(--font-display); font-weight: 700; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.how-card h3 { font-size: 18px; margin-bottom: 8px; }
.how-card p { color: var(--text-muted); margin: 0; font-size: 14.5px; }
@media (max-width: 760px) { .how-grid { grid-template-columns: 1fr; } }

/* ===== Plans ===== */
.plan-tabs { display: flex; justify-content: center; gap: 8px; margin-bottom: 44px; flex-wrap: wrap; }
.plan-tab { padding: 10px 20px; border-radius: 100px; border: 1px solid var(--border); background: var(--surface); color: var(--text-muted); font-weight: 600; font-size: 13.5px; cursor: pointer; transition: all 0.2s; }
.plan-tab.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.plan-group { display: none; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 22px; }
.plan-group.active { display: grid; }
.plan-card {
  position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px 26px; text-align: center; cursor: pointer; transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.plan-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--primary); }
.plan-card.selected { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-tint); }
.plan-card.featured { background: linear-gradient(160deg, var(--surface), var(--primary-tint)); border-color: var(--accent); }
.plan-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #3a2510; font-size: 11px; font-weight: 700; padding: 5px 14px; border-radius: 100px; white-space: nowrap; }
.plan-card h3 { font-size: 18px; margin-bottom: 6px; }
.plan-price { font-family: var(--font-display); font-size: 32px; color: var(--primary); margin: 10px 0; font-weight: 700; }
.plan-desc { color: var(--text-muted); font-size: 13.5px; margin: 0 0 18px; min-height: 20px; }

/* ===== Order ===== */
.order-layout { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: flex-start; }
.order-form { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 36px; display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: end; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--text-muted); }
.field input, .field textarea, .field select {
  padding: 13px 16px; border-radius: var(--radius-sm); border: 1.5px solid var(--border); background: var(--bg); color: var(--text);
  font-family: var(--font-body); font-size: 14.5px; transition: border-color 0.2s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--primary); }
.field textarea { min-height: 74px; resize: vertical; }
.location-status { font-size: 13px; color: var(--text-muted); margin: -8px 0 0; min-height: 16px; }
.location-status.ok { color: var(--accent-2); }
.location-status.err { color: var(--primary); }

.order-summary { position: sticky; top: 100px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; }
.order-summary h3 { margin-bottom: 20px; font-size: 18px; }
.summary-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px dashed var(--border); font-size: 14.5px; }
.summary-row span { color: var(--text-muted); }
.summary-row.total { border-bottom: none; padding-top: 16px; font-size: 19px; }
.summary-row.total span { color: var(--text); font-weight: 600; }
.summary-row.total strong { color: var(--primary); font-family: var(--font-display); font-size: 24px; }
.summary-note { font-size: 12.5px; color: var(--text-muted); margin: 16px 0 0; line-height: 1.5; }
@media (max-width: 900px) { .order-layout { grid-template-columns: 1fr; } .order-summary { position: static; } .field-row { grid-template-columns: 1fr; } }

.order-error { margin-top: 20px; padding: 14px 18px; border-radius: var(--radius-sm); background: #fde3de; color: #a4441f; font-size: 14px; }
[data-theme="dark"] .order-error { background: #3a2517; color: #f2a06f; }

/* ===== Payment panel ===== */
.payment-panel { margin-top: 40px; display: flex; justify-content: center; }
.payment-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 40px; max-width: 420px; width: 100%; text-align: center; box-shadow: var(--shadow); }
.payment-card h3 { margin-bottom: 10px; }
.qr-box { width: 200px; margin: 20px auto; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--border); background: #fff; }
.qr-image { width: 100%; display: block; }
.pill { display: inline-block; padding: 4px 14px; border-radius: 100px; font-size: 12.5px; font-weight: 700; }
.pill-pending { background: #fdeccb; color: #92600c; }
.pill-confirmed { background: #d9f0da; color: #2b6b2f; }
[data-theme="dark"] .pill-pending { background: #3a2f13; color: #f0b84f; }
[data-theme="dark"] .pill-confirmed { background: #1d3a1f; color: #7dc47f; }
.payment-hint { font-size: 13.5px; color: var(--text-muted); margin: 14px 0 20px; }

/* ===== Info strip ===== */
.info-strip { background: var(--surface-2); }
.info-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.info-card { text-align: center; }
.info-icon { font-size: 30px; margin-bottom: 12px; }
.info-card h3 { font-size: 16px; margin-bottom: 8px; }
.info-card p { color: var(--text-muted); font-size: 13.5px; margin: 0; }
@media (max-width: 760px) { .info-grid { grid-template-columns: 1fr 1fr; } }

/* ===== FAQ ===== */
.faq-list { max-width: 700px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); overflow: hidden; }
.faq-q { width: 100%; text-align: left; background: none; border: none; padding: 18px 22px; font-family: var(--font-body); font-size: 15px; font-weight: 600; color: var(--text); cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.faq-q span:last-child { color: var(--primary); font-size: 20px; transition: transform 0.3s; flex-shrink: 0; margin-left: 12px; }
.faq-item.open .faq-q span:last-child { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.35s ease; padding: 0 22px; }
.faq-item.open .faq-a { max-height: 200px; padding: 0 22px 18px; }
.faq-a p { margin: 0; color: var(--text-muted); font-size: 14.5px; }

/* ===== Contact ===== */
/* ===== Reviews ===== */
.reviews-layout { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: flex-start; }
.reviews-list { display: flex; flex-direction: column; gap: 16px; max-height: 560px; overflow-y: auto; padding-right: 6px; }
.reviews-empty { color: var(--text-muted); font-size: 14.5px; text-align: center; padding: 30px 0; }
.review-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 20px 22px; }
.review-card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; gap: 10px; }
.review-name { font-weight: 600; font-size: 14.5px; }
.review-stars { color: var(--accent); font-size: 14px; letter-spacing: 1px; white-space: nowrap; }
.review-date { font-size: 11.5px; color: var(--text-muted); font-family: var(--font-mono); }
.review-comment { color: var(--text-muted); font-size: 14px; margin: 0; line-height: 1.6; }

.review-form { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; gap: 16px; }
.review-form h3 { font-size: 17px; margin-bottom: 2px; }
.star-picker { display: flex; gap: 6px; }
.star-picker .star { background: none; border: none; font-size: 30px; line-height: 1; cursor: pointer; color: var(--border); transition: color 0.15s, transform 0.15s; padding: 0; }
.star-picker .star:hover { transform: scale(1.15); }
.star-picker .star.active { color: var(--accent); }
.review-success { color: var(--accent-2); font-size: 14px; font-weight: 600; text-align: center; margin: 0; }
@media (max-width: 900px) { .reviews-layout { grid-template-columns: 1fr; } .reviews-list { max-height: none; } }

.contact { text-align: center; }
.contact-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin: 30px 0 20px; }
.contact-address { color: var(--text-muted); font-size: 14.5px; }

/* ===== Footer ===== */
.footer {
  position: relative; z-index: 1;
  text-align: center; padding: 30px; color: var(--text-muted); font-size: 13px; border-top: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg) 45%, transparent);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.footer-legal { margin-top: 8px; font-size: 12px; }
.footer-legal a { color: var(--text-muted); text-decoration: underline; }
.footer-legal a:hover { color: var(--primary); }

/* ===== Chat widget ===== */
.chat-widget { position: fixed; bottom: 24px; right: 24px; z-index: 200; }
.chat-fab { width: 58px; height: 58px; border-radius: 50%; background: var(--primary); color: #fff; border: none; font-size: 24px; cursor: pointer; box-shadow: var(--shadow); transition: transform 0.25s; }
.chat-fab:hover { transform: scale(1.08); }
.chat-panel { position: absolute; bottom: 72px; right: 0; width: 320px; max-width: 86vw; height: 420px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); display: flex; flex-direction: column; overflow: hidden; }
.chat-header { background: var(--primary); color: #fff; padding: 14px 18px; display: flex; justify-content: space-between; align-items: center; font-weight: 600; font-size: 14.5px; }
.chat-header button { background: none; border: none; color: #fff; cursor: pointer; font-size: 15px; }
.chat-body { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.chat-msg { max-width: 85%; padding: 10px 14px; border-radius: 14px; font-size: 13.5px; line-height: 1.5; }
.chat-msg.bot { background: var(--surface-2); align-self: flex-start; border-bottom-left-radius: 4px; }
.chat-msg.user { background: var(--primary); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.chat-quick { padding: 10px; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; gap: 8px; }
.chat-quick button { background: var(--surface-2); border: 1px solid var(--border); border-radius: 100px; padding: 7px 12px; font-size: 12px; cursor: pointer; color: var(--text); }
.chat-quick button:hover { border-color: var(--primary); color: var(--primary); }

@media (max-width: 600px) {
  .section { padding: 70px 0; }
  .nav-links { display: none; }
}
