/* =========================================================
   Tindi Potha — main stylesheet
   Palette sampled from the brand logo:
   - Orange (scooter)........ #F2721C
   - Deep orange (wordmark).. #E34F00
   - Dark brown (wordmark)... #3B1A0F
   - Palace gold (line art).. #D18121
   - Cream background........ #FFF7EE
   ========================================================= */

:root {
  --orange: #F2721C;
  --orange-deep: #E34F00;
  --brown: #3B1A0F;
  --brown-soft: #5C3524;
  --gold: #D18121;
  --cream: #FFF7EE;
  --cream-dark: #FBEAD6;
  --white: #FFFFFF;
  --text: #2B1810;
  --muted: #86766C;
  --border: #EFE0CF;
  --success: #2E9E5B;
  --shadow-sm: 0 2px 8px rgba(59, 26, 15, 0.08);
  --shadow-md: 0 10px 30px rgba(59, 26, 15, 0.12);
  --shadow-lg: 0 20px 50px rgba(59, 26, 15, 0.16);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --header-h: 76px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 {
  font-family: 'Baloo 2', 'Poppins', sans-serif;
  color: var(--brown);
  margin: 0 0 0.5em;
  line-height: 1.2;
}
p { margin: 0 0 1em; }

.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--orange); color: #fff;
  padding: 10px 16px; z-index: 1000; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

section { padding: 72px 0; }
.section-tight { padding: 48px 0; }

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange-deep);
  background: var(--cream-dark);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.section-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); }
.section-head p { color: var(--muted); font-size: 17px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--orange); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--orange-deep); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; border-color: var(--brown); color: var(--brown); }
.btn-outline:hover { background: var(--brown); color: #fff; }
.btn-light { background: #fff; color: var(--orange-deep); }
.btn-light:hover { background: var(--cream-dark); }
.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 247, 238, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
  height: var(--header-h);
  display: flex;
  align-items: center;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand-logo { height: 52px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a:not(.btn) {
  font-weight: 500; font-size: 15px; color: var(--brown-soft);
  position: relative; padding: 6px 0;
}
.main-nav a:not(.btn)::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--orange); transform: scaleX(0); transition: transform 0.2s ease;
}
.main-nav a:not(.btn):hover::after,
.main-nav a.active::after { transform: scaleX(1); }
.main-nav a.active { color: var(--brown); font-weight: 600; }
.nav-cta { margin-left: 8px; }

.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; background: none; border: none; cursor: pointer;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--brown); border-radius: 2px; transition: 0.2s ease; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0 96px;
  background:
    radial-gradient(600px 300px at 85% -10%, rgba(242, 114, 28, 0.14), transparent 60%),
    radial-gradient(500px 260px at 5% 110%, rgba(209, 129, 33, 0.16), transparent 60%);
}
.hero-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(34px, 5.2vw, 56px); }
.hero h1 span { color: var(--orange); }
.hero p.lead { font-size: 18px; color: var(--brown-soft); max-width: 480px; }
.hero-actions { display: flex; gap: 16px; margin-top: 32px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 32px; margin-top: 44px; flex-wrap: wrap; }
.hero-stats .stat b { display: block; font-family: 'Baloo 2', sans-serif; font-size: 22px; color: var(--brown); }
.hero-stats .stat span { font-size: 13px; color: var(--muted); }

.hero-art {
  position: relative;
  display: flex; align-items: center; justify-content: center;
}
.hero-art-frame {
  width: 100%; max-width: 420px; aspect-ratio: 1 / 1;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: flex; align-items: center; justify-content: center;
  padding: 32px;
}
.hero-art-frame img { border-radius: var(--radius-md); }

/* ---------- How it works ---------- */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.step-card {
  background: var(--white); border-radius: var(--radius-md); padding: 32px 26px;
  box-shadow: var(--shadow-sm); text-align: center;
}
.step-num {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--orange); color: #fff; font-family: 'Baloo 2', sans-serif; font-weight: 700;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; font-size: 18px;
}
.step-card h3 { font-size: 19px; }
.step-card p { color: var(--muted); font-size: 15px; margin: 0; }

/* ---------- Restaurant cards ---------- */
.restaurant-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.restaurant-card {
  background: var(--white); border-radius: var(--radius-md); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.restaurant-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.restaurant-thumb {
  height: 140px; background: linear-gradient(135deg, var(--cream-dark), #fff);
  display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden;
}
.restaurant-thumb img { width: 100%; height: 100%; object-fit: cover; }
.restaurant-thumb .placeholder-icon { font-size: 34px; opacity: 0.5; }
.status-pill {
  position: absolute; top: 10px; right: 10px; font-size: 11px; font-weight: 600;
  padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,0.92); color: var(--success);
}
.status-pill.closed { color: #B23A3A; }
.restaurant-body { padding: 16px 18px 20px; }
.restaurant-body h4 { font-size: 16px; margin-bottom: 4px; }
.restaurant-meta { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--muted); }
.rating-badge {
  display: inline-flex; align-items: center; gap: 4px; background: var(--cream-dark);
  color: var(--orange-deep); font-weight: 600; padding: 2px 8px; border-radius: 8px; font-size: 12px;
}

.empty-state {
  text-align: center; padding: 48px 24px; background: var(--white); border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.empty-state .placeholder-icon { font-size: 42px; display: block; margin-bottom: 12px; }
.empty-state h3 { margin-bottom: 6px; }
.empty-state p { color: var(--muted); margin: 0; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--orange-deep), var(--orange)); padding: 48px 0; }
.cta-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h2, .cta-band p { color: #fff; margin: 0; }
.cta-band h2 { font-size: 24px; }
.cta-band p { opacity: 0.9; font-size: 15px; }

/* ---------- Feature / benefit grids ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card { background: var(--white); border-radius: var(--radius-md); padding: 28px; box-shadow: var(--shadow-sm); }
.feature-card .icon { font-size: 28px; margin-bottom: 14px; display: block; }
.feature-card h3 { font-size: 18px; }
.feature-card p { color: var(--muted); font-size: 14.5px; margin: 0; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.two-col.reverse .col-media { order: 2; }

.value-pill-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 20px; }
.value-pill {
  background: var(--cream-dark); color: var(--brown); font-weight: 600; font-size: 14px;
  padding: 10px 18px; border-radius: 999px;
}

/* ---------- App showcase (Our Apps page) ---------- */
.app-showcase { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: center; }
.app-showcase.reverse .phone-mock-wrap { order: 2; }
.phone-mock-wrap { display: flex; justify-content: center; }
.phone-mock {
  width: 240px; height: 490px; background: var(--brown); border-radius: 42px; padding: 14px;
  box-shadow: var(--shadow-lg); position: relative;
}
.phone-mock .screen {
  width: 100%; height: 100%; border-radius: 30px; background: linear-gradient(160deg, var(--cream), #fff);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 24px;
  text-align: center;
}
.phone-mock .screen img { width: 92px; height: auto; }
.phone-mock .screen .screen-label { font-family: 'Baloo 2', sans-serif; color: var(--brown); font-weight: 700; font-size: 17px; }
.phone-mock .screen .screen-sub { color: var(--muted); font-size: 12.5px; }
.phone-mock .notch {
  position: absolute; top: 20px; left: 50%; transform: translateX(-50%);
  width: 70px; height: 8px; background: rgba(0,0,0,0.3); border-radius: 6px;
}

.app-feature-list { margin-top: 22px; display: grid; gap: 14px; }
.app-feature-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; }
.app-feature-list .check {
  width: 24px; height: 24px; border-radius: 50%; background: var(--cream-dark); color: var(--success);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 13px; font-weight: 700;
}

/* ---------- Store badges (Coming Soon) ---------- */
.store-badges { display: flex; gap: 14px; margin-top: 26px; flex-wrap: wrap; }
.store-badge {
  display: flex; align-items: center; gap: 10px; background: var(--brown); color: #fff;
  padding: 11px 20px; border-radius: 12px; min-width: 168px; box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease;
}
.store-badge:hover { transform: translateY(-2px); }
.store-badge svg { width: 24px; height: 24px; flex-shrink: 0; }
.store-badge .badge-text { display: flex; flex-direction: column; line-height: 1.2; }
.store-badge .badge-text .small { font-size: 10.5px; opacity: 0.85; }
.store-badge .badge-text .big { font-size: 15px; font-weight: 600; font-family: 'Baloo 2', sans-serif; }
.store-badge.disabled { opacity: 0.95; cursor: default; }

/* ---------- Timeline (Partner page steps) ---------- */
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; position: relative; }
.timeline-step { background: var(--white); border-radius: var(--radius-md); padding: 30px 24px; box-shadow: var(--shadow-sm); text-align: center; }
.timeline-step .step-num { margin-bottom: 16px; }

/* ---------- Forms ---------- */
.form-card { background: var(--white); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-md); }
.form-row { margin-bottom: 20px; }
.form-row label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 8px; color: var(--brown); }
.form-row input, .form-row textarea, .form-row select {
  width: 100%; padding: 13px 16px; border-radius: 10px; border: 1.5px solid var(--border);
  font-family: inherit; font-size: 15px; background: #fff; color: var(--text);
}
.form-row input:focus, .form-row textarea:focus, .form-row select:focus {
  outline: none; border-color: var(--orange);
}
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-note { font-size: 13px; color: var(--muted); margin-top: 14px; }
.alert { padding: 14px 18px; border-radius: 10px; margin-bottom: 24px; font-size: 14.5px; }
.alert-success { background: #E9F7EF; color: #1E7E45; border: 1px solid #BEE8CE; }
.alert-error { background: #FDECEC; color: #B23A3A; border: 1px solid #F5C6C6; }

/* ---------- Contact info cards ---------- */
.contact-info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 48px; }
.contact-info-card {
  background: var(--white); border-radius: var(--radius-md); padding: 26px; text-align: center; box-shadow: var(--shadow-sm);
}
.contact-info-card .icon { font-size: 26px; margin-bottom: 10px; display: block; }
.contact-info-card h4 { font-size: 15px; margin-bottom: 4px; }
.contact-info-card p { color: var(--muted); font-size: 14px; margin: 0; }

/* ---------- FAQ ---------- */
.faq-item {
  background: var(--white); border-radius: var(--radius-sm); margin-bottom: 12px; box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.faq-question {
  width: 100%; text-align: left; background: none; border: none; padding: 20px 24px; cursor: pointer;
  font-weight: 600; font-size: 15.5px; color: var(--brown); display: flex; justify-content: space-between; align-items: center;
  font-family: inherit;
}
.faq-question .plus { transition: transform 0.2s ease; color: var(--orange); font-size: 20px; }
.faq-item.open .faq-question .plus { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.25s ease; padding: 0 24px; }
.faq-item.open .faq-answer { max-height: 300px; padding-bottom: 20px; }
.faq-answer p { color: var(--muted); margin: 0; font-size: 14.5px; }

/* ---------- Palace motif divider ---------- */
.motif-divider { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 8px 0 40px; color: var(--gold); }
.motif-divider::before, .motif-divider::after { content: ''; height: 1px; width: 60px; background: var(--gold); opacity: 0.5; }

/* ---------- Footer ---------- */
.site-footer { background: var(--brown); color: #EFE0CF; padding-top: 56px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 40px; }
.footer-logo { height: 46px; margin-bottom: 14px; filter: brightness(0) invert(1); opacity: 0.95; }
.footer-brand p { color: #D8C3B2; font-size: 14px; max-width: 280px; }
.footer-social { display: flex; gap: 10px; margin-top: 14px; }
.footer-social a {
  width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700;
}
.footer-col h4 { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a { color: #D8C3B2; font-size: 14.5px; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding: 20px 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 13px; color: #C9B29E; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: 56px 0 40px; text-align: center; }
.page-hero .eyebrow { margin-bottom: 14px; }
.page-hero h1 { font-size: clamp(30px, 4.4vw, 44px); }
.page-hero p { color: var(--muted); max-width: 560px; margin: 0 auto; font-size: 17px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-inner, .two-col, .app-showcase { grid-template-columns: 1fr; }
  .two-col .col-media, .app-showcase.reverse .phone-mock-wrap { order: -1; }
  .steps-grid, .feature-grid, .timeline { grid-template-columns: repeat(2, 1fr); }
  .restaurant-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-info-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .main-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
    background: var(--cream); flex-direction: column; align-items: flex-start; gap: 4px;
    padding: 24px 20px; transform: translateX(100%); transition: transform 0.25s ease;
    overflow-y: auto;
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav a:not(.btn) { width: 100%; padding: 14px 4px; border-bottom: 1px solid var(--border); }
  .main-nav .nav-cta { margin: 16px 4px 0; }
  .nav-toggle { display: flex; }
  .restaurant-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid, .feature-grid, .timeline { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-grid-2 { grid-template-columns: 1fr; }
  .cta-band-inner { flex-direction: column; text-align: center; }
  .form-card { padding: 26px; }
  section { padding: 52px 0; }
  .contact-info-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .restaurant-grid { grid-template-columns: 1fr 1fr; }
  .hero-stats { gap: 20px; }
}
