/* ==========================================================================
   RESTO public landing page
   Editorial "restaurant menu" look on Bootstrap 5.3.
   Design tokens first, then sections top to bottom.
   ========================================================================== */

:root {
  --resto-brand-900: #24120b;
  --resto-brand-800: #3b1f14;
  --resto-brand-700: #c2410c;
  --resto-brand-600: #dd6b2c;
  --resto-brand-100: #fbe9de;
  --resto-accent: #f5b841;
  --resto-accent-soft: #fdf1d6;
  --resto-soft: #fbf6f1;
  --resto-soft-200: #f1e4d6;
  --resto-paper: #fffdf9;
  --resto-charcoal: #24160f;
  --resto-muted: #6b5a50;
  --resto-border: #ece3d9;
  --resto-white: #ffffff;

  --resto-serif: 'Fraunces Variable', 'Fraunces', Georgia, 'Times New Roman', serif;
  --resto-mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;

  --resto-radius-sm: 0.625rem;
  --resto-radius: 1rem;
  --resto-radius-lg: 1.75rem;
  --resto-shadow-sm: 0 2px 8px rgba(59, 31, 20, 0.06);
  --resto-shadow: 0 14px 34px -14px rgba(59, 31, 20, 0.22);
  --resto-shadow-lg: 0 34px 70px -28px rgba(36, 18, 11, 0.45);
  --resto-nav-height: 88px;

  --bs-body-font-family: 'Inter Variable', 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --bs-body-color: var(--resto-charcoal);
  --bs-body-bg: var(--resto-paper);
  --bs-link-color: var(--resto-brand-700);
  --bs-link-color-rgb: 194, 65, 12;
  --bs-link-hover-color: var(--resto-brand-900);
  --bs-link-hover-color-rgb: 36, 18, 11;
  --bs-border-color: var(--resto-border);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--resto-nav-height);
}

body {
  -webkit-font-smoothing: antialiased;
  background: var(--resto-paper);
}

h1, h2, h3, h4, h5 {
  color: var(--resto-charcoal);
  letter-spacing: -0.02em;
}
h3 { font-weight: 650; }

.text-muted-resto { color: var(--resto-muted) !important; }

:focus-visible {
  outline: 3px solid var(--resto-accent);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 2000;
  padding: 0.5rem 1rem;
  border-radius: var(--resto-radius-sm);
  background: var(--resto-brand-900);
  color: #fff;
}
.skip-link:focus { top: 1rem; color: #fff; }

/* ---------- Type helpers ---------- */

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--resto-brand-700);
}
.kicker-dot {
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}
.kicker-light { color: var(--resto-accent); }

.section-title {
  font-family: var(--resto-serif);
  font-weight: 500;
  font-size: clamp(2rem, 1.2rem + 2.6vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
  font-variation-settings: 'SOFT' 50, 'opsz' 96;
}
.section-title em,
.hero-title em,
.about-quote em,
.cta-band h2 em,
.footer-tagline em {
  font-style: italic;
  font-weight: 400;
  color: var(--resto-brand-700);
}
.section-lead {
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--resto-muted);
  max-width: 40rem;
}

/* ---------- Buttons ---------- */

.btn {
  --bs-btn-font-weight: 600;
  --bs-btn-padding-x: 1.25rem;
  --bs-btn-padding-y: 0.65rem;
  --bs-btn-border-radius: 0.75rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}
.btn-lg { --bs-btn-padding-x: 1.75rem; --bs-btn-padding-y: 0.9rem; --bs-btn-font-size: 1.025rem; }
.btn-pill { --bs-btn-border-radius: 999px; }

.btn-resto {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--resto-brand-700);
  --bs-btn-border-color: var(--resto-brand-700);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #9a3412;
  --bs-btn-hover-border-color: #9a3412;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #7c2d12;
  --bs-btn-active-border-color: #7c2d12;
  box-shadow: 0 10px 22px -10px rgba(194, 65, 12, 0.7);
}
.btn-resto:hover,
.btn-accent:hover,
.btn-light-resto:hover { transform: translateY(-1px); }

.btn-outline-resto {
  --bs-btn-color: var(--resto-charcoal);
  --bs-btn-border-color: rgba(36, 22, 15, 0.2);
  --bs-btn-hover-color: var(--resto-brand-900);
  --bs-btn-hover-bg: var(--resto-soft);
  --bs-btn-hover-border-color: var(--resto-charcoal);
  --bs-btn-active-color: var(--resto-brand-900);
  --bs-btn-active-bg: var(--resto-soft-200);
  --bs-btn-active-border-color: var(--resto-charcoal);
  background: transparent;
}

.btn-link-resto {
  --bs-btn-color: var(--resto-charcoal);
  --bs-btn-hover-color: var(--resto-brand-700);
  --bs-btn-active-color: var(--resto-brand-700);
  --bs-btn-border-color: transparent;
  --bs-btn-hover-border-color: transparent;
  --bs-btn-active-border-color: transparent;
}

.btn-accent {
  --bs-btn-color: var(--resto-brand-900);
  --bs-btn-bg: var(--resto-accent);
  --bs-btn-border-color: var(--resto-accent);
  --bs-btn-hover-color: var(--resto-brand-900);
  --bs-btn-hover-bg: #f8c96a;
  --bs-btn-hover-border-color: #f8c96a;
  --bs-btn-active-color: var(--resto-brand-900);
  --bs-btn-active-bg: #e3a52b;
  --bs-btn-active-border-color: #e3a52b;
}

.btn-light-resto {
  --bs-btn-color: var(--resto-brand-700);
  --bs-btn-bg: #fff;
  --bs-btn-border-color: #fff;
  --bs-btn-hover-color: var(--resto-brand-900);
  --bs-btn-hover-bg: var(--resto-accent-soft);
  --bs-btn-hover-border-color: var(--resto-accent-soft);
  --bs-btn-active-color: var(--resto-brand-900);
  --bs-btn-active-bg: var(--resto-accent-soft);
  --bs-btn-active-border-color: var(--resto-accent-soft);
}

.btn-outline-light-resto {
  --bs-btn-color: #fff;
  --bs-btn-border-color: rgba(255, 255, 255, 0.5);
  --bs-btn-hover-color: var(--resto-brand-700);
  --bs-btn-hover-bg: #fff;
  --bs-btn-hover-border-color: #fff;
  --bs-btn-active-color: var(--resto-brand-700);
  --bs-btn-active-bg: #fff;
  --bs-btn-active-border-color: #fff;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--resto-brand-700);
}
.link-arrow i { transition: transform 0.2s ease; }
.link-arrow:hover i { transform: translateX(3px); }

/* ---------- Brand ---------- */

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: 0.06em;
  color: var(--resto-brand-900);
  text-decoration: none;
}
.brand:hover { color: var(--resto-brand-900); }
.brand-mark { width: 34px; height: 34px; flex-shrink: 0; }
.brand-light, .brand-light:hover { color: #fff; }

/* ---------- Navbar (floating pill) ---------- */

.site-nav {
  padding: 14px 0 0;
  background: transparent;
  pointer-events: none;
}
.site-nav .container { pointer-events: auto; }
.nav-shell {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0.5rem 0.5rem 1.1rem;
  background: rgba(255, 253, 249, 0.82);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border: 1px solid var(--resto-border);
  border-radius: 999px;
  transition: box-shadow 0.25s ease, background-color 0.25s ease;
}
.site-nav.is-scrolled .nav-shell {
  background: rgba(255, 253, 249, 0.95);
  box-shadow: var(--resto-shadow);
}
.site-nav .nav-link {
  position: relative;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--resto-muted);
  padding: 0.5rem 0.85rem !important;
}
.site-nav .nav-link:hover { color: var(--resto-charcoal); }
.site-nav .nav-link.active { color: var(--resto-brand-700); }
.site-nav .nav-link.active::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0.15rem;
  width: 4px;
  height: 4px;
  margin-left: -2px;
  border-radius: 50%;
  background: currentColor;
}
.nav-actions { display: flex; align-items: center; gap: 0.25rem; }
.site-nav .navbar-toggler {
  border: 0;
  padding: 0.4rem 0.7rem;
  font-size: 1.5rem;
  color: var(--resto-charcoal);
}
.site-nav .navbar-toggler:focus { box-shadow: 0 0 0 3px rgba(245, 184, 65, 0.6); }

@media (max-width: 991.98px) {
  .nav-shell { border-radius: 1.4rem; }
  .site-nav .navbar-collapse { padding: 0.5rem 0.25rem 0.5rem 0; }
  .nav-actions {
    padding-top: 0.75rem;
    margin-top: 0.5rem;
    border-top: 1px solid var(--resto-border);
  }
  .nav-actions .btn { flex: 1; }
}

/* ---------- Sections ---------- */

.section { padding: 7rem 0; }
@media (max-width: 767.98px) { .section { padding: 4.5rem 0; } }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: calc(var(--resto-nav-height) + 4.5rem) 0 0;
  background:
    radial-gradient(900px 420px at 50% 0%, rgba(245, 184, 65, 0.22), transparent 70%),
    var(--resto-soft);
  overflow: hidden;
}
.hero-copy { max-width: 52rem; }
.hero .kicker { justify-content: center; }
.hero-title {
  font-family: var(--resto-serif);
  font-weight: 500;
  font-size: clamp(2.75rem, 1.2rem + 5.6vw, 5.5rem);
  line-height: 1;
  letter-spacing: -0.035em;
  margin-bottom: 1.5rem;
  font-variation-settings: 'SOFT' 50, 'opsz' 144;
}
.hero-lead {
  font-size: 1.2rem;
  line-height: 1.65;
  color: var(--resto-muted);
  max-width: 38rem;
  margin-bottom: 2rem;
}
.trust-note {
  margin: 1.5rem 0 0;
  font-weight: 500;
  color: var(--resto-brand-800);
}
.trust-note i { color: var(--resto-brand-700); margin-right: 0.3rem; }

.hero-stage {
  position: relative;
  margin-top: 4rem;
  padding-bottom: 4rem;
}
.hero-photo {
  border-radius: var(--resto-radius-lg);
  overflow: hidden;
  aspect-ratio: 21 / 9;
  box-shadow: var(--resto-shadow-lg);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }

/* Kitchen ticket */
.ticket {
  position: absolute;
  left: -1.5rem;
  top: 2.5rem;
  width: 270px;
  padding: 1.1rem 1.2rem 1.3rem;
  background: #fff;
  font-family: var(--resto-mono);
  font-size: 0.8rem;
  color: var(--resto-charcoal);
  border-radius: 0.5rem 0.5rem 0 0;
  filter: drop-shadow(0 18px 28px rgba(36, 18, 11, 0.28));
  transform: rotate(-2.5deg);
}
.ticket::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -9px;
  height: 10px;
  background:
    linear-gradient(135deg, #fff 50%, transparent 50%) 0 0 / 12px 10px repeat-x,
    linear-gradient(225deg, #fff 50%, transparent 50%) 0 0 / 12px 10px repeat-x;
}
.ticket-head {
  display: flex;
  justify-content: space-between;
  padding-bottom: 0.6rem;
  margin-bottom: 0.6rem;
  border-bottom: 1px dashed #cfc4ba;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.ticket-items { list-style: none; padding: 0; margin: 0; }
.ticket-items li { display: flex; gap: 0.5rem; padding: 0.2rem 0; }
.ticket-items .qty { color: var(--resto-brand-700); font-weight: 700; }
.ticket-items .name { flex: 1; }
.ticket-total {
  display: flex;
  justify-content: space-between;
  margin-top: 0.6rem;
  padding-top: 0.6rem;
  border-top: 1px dashed #cfc4ba;
  font-weight: 700;
}
.ticket-status {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.75rem;
  font-family: var(--bs-body-font-family);
  font-size: 0.75rem;
  font-weight: 600;
  color: #15803d;
}

/* Sales card */
.stat-card {
  position: absolute;
  right: -1.5rem;
  top: 2rem;
  width: 250px;
  padding: 1rem 1.1rem;
  background: rgba(255, 255, 255, 0.97);
  border-radius: var(--resto-radius);
  box-shadow: var(--resto-shadow);
}
.stat-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--resto-muted);
}
.stat-value { margin-top: 0.2rem; font-size: 1.4rem; font-weight: 800; letter-spacing: -0.02em; }
.stat-chip {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: #dcfce7;
  color: #166534;
}
.stat-bars { display: flex; align-items: flex-end; gap: 5px; height: 44px; margin-top: 0.6rem; }
.stat-bars span { flex: 1; border-radius: 4px 4px 2px 2px; background: var(--resto-brand-100); }
.stat-bars span.is-peak { background: var(--resto-brand-700); }

.alert-chip {
  position: absolute;
  right: 3rem;
  bottom: 2.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1.1rem;
  border-radius: 999px;
  background: var(--resto-brand-900);
  color: #fff;
  font-size: 0.88rem;
  box-shadow: var(--resto-shadow);
}
.alert-chip i { color: var(--resto-accent); }

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}
.float-slow { animation: float 6s ease-in-out infinite; }
.float-slower { animation: float 8s ease-in-out infinite; animation-delay: -2s; }
/* Uses `translate` so it combines with the ticket's rotate transform */
@keyframes float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -8px; }
}

@media (max-width: 1199.98px) {
  .ticket { left: 1rem; }
  .stat-card { right: 1rem; }
}
@media (max-width: 767.98px) {
  .hero { padding-top: calc(var(--resto-nav-height) + 2.5rem); }
  .hero-stage { margin-top: 2.5rem; padding-bottom: 4.5rem; }
  .hero .kicker-dot { display: none; }
  .hero-photo { aspect-ratio: 4 / 3.4; }
  .stat-card { display: none; }
  .ticket { top: auto; bottom: 3rem; left: 0.75rem; width: 230px; font-size: 0.74rem; }
  .alert-chip { right: 0.75rem; bottom: auto; top: 1rem; font-size: 0.8rem; padding: 0.55rem 0.9rem; }
}

/* ---------- Value strip ---------- */

.value-strip {
  background: var(--resto-soft);
  border-bottom: 1px solid var(--resto-border);
  padding-bottom: 3.5rem;
}
.value-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.value-list li { display: flex; gap: 0.9rem; align-items: flex-start; }
.value-list li + li { border-left: 1px solid var(--resto-border); padding-left: 1.5rem; }
.value-num {
  font-family: var(--resto-serif);
  font-style: italic;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--resto-brand-700);
}
.value-list strong { display: block; font-size: 1rem; margin-bottom: 0.15rem; }
.value-list span:not(.value-num) { font-size: 0.9rem; color: var(--resto-muted); }
@media (max-width: 991.98px) {
  .value-list { grid-template-columns: repeat(2, 1fr); }
  .value-list li:nth-child(3) { border-left: 0; padding-left: 0; }
}
@media (max-width: 575.98px) {
  .value-list { grid-template-columns: 1fr; }
  .value-list li + li { border-left: 0; padding-left: 0; border-top: 1px solid var(--resto-border); padding-top: 1.25rem; }
}

/* ---------- Features bento ---------- */

.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.25rem;
}
.tile {
  position: relative;
  padding: 2rem;
  background: #fff;
  border: 1px solid var(--resto-border);
  border-radius: var(--resto-radius-lg);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.tile:hover { transform: translateY(-3px); box-shadow: var(--resto-shadow); }
.tile h3 { font-size: 1.3rem; margin-bottom: 0.6rem; }
.tile p { color: var(--resto-muted); margin-bottom: 1.25rem; }
.tile-icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 1.25rem;
  border-radius: 14px;
  font-size: 1.3rem;
  color: var(--resto-brand-700);
  background: var(--resto-brand-100);
}

.tile-pos { grid-column: span 7; display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; padding: 0; background: var(--resto-soft); }
.tile-pos .tile-body { padding: 2rem 0 2rem 2rem; align-self: center; }
.tile-pos .tile-media { position: relative; min-height: 300px; }
.tile-pos .tile-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.tile-kitchen {
  grid-column: span 5;
  display: flex;
  align-items: flex-end;
  min-height: 340px;
  color: #fff;
  border: 0;
  background: var(--resto-brand-900);
}
.tile-kitchen .tile-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.6; }
.tile-kitchen::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(36, 18, 11, 0.9) 0%, rgba(36, 18, 11, 0.6) 60%, rgba(36, 18, 11, 0.15) 100%),
    linear-gradient(180deg, transparent 30%, rgba(36, 18, 11, 0.9) 100%);
  z-index: 1;
}
.tile-kitchen .tile-body { position: relative; z-index: 2; }
.tile-kitchen h3 { color: #fff; }
.tile-kitchen p { color: rgba(255, 255, 255, 0.8); }
.tile-kitchen .tile-icon { background: rgba(245, 184, 65, 0.18); color: var(--resto-accent); }
.tile-kitchen .link-arrow { color: var(--resto-accent); }

.tile-reports, .tile-staff { grid-column: span 6; display: flex; flex-direction: column; }
.tile-reports .link-arrow, .tile-staff .link-arrow { margin-top: auto; }

.mini-chart { display: flex; align-items: flex-end; gap: 6px; height: 70px; margin-bottom: 1.5rem; }
.mini-chart span { flex: 1; border-radius: 6px 6px 2px 2px; background: var(--resto-brand-100); }
.mini-chart span:nth-child(6) { background: var(--resto-brand-700); }

.role-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; }
.role-chips span {
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  border: 1px solid var(--resto-border);
  background: var(--resto-soft);
  font-size: 0.82rem;
  font-weight: 500;
}

.tile-payments {
  grid-column: span 12;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 2rem;
  align-items: center;
  background: var(--resto-accent-soft);
  border-color: #f6e2b5;
}
.tile-payments .tile-icon { background: #fff; }
.pay-methods { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: flex-end; }
.pay-methods span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.1rem;
  border-radius: var(--resto-radius);
  background: #fff;
  font-weight: 600;
  box-shadow: var(--resto-shadow-sm);
}
.pay-methods i { color: var(--resto-brand-700); }
.tile-note { grid-column: 1 / -1; margin: -1rem 0 0 !important; font-size: 0.8rem; }

@media (max-width: 991.98px) {
  .tile-pos, .tile-kitchen { grid-column: span 12; }
  .tile-payments { grid-template-columns: 1fr; }
  .pay-methods { justify-content: flex-start; }
  .tile-note { margin-top: -0.5rem !important; }
}
@media (max-width: 575.98px) {
  .tile { padding: 1.5rem; }
  .tile-pos { grid-template-columns: 1fr; gap: 0; padding: 0; }
  .tile-pos .tile-body { padding: 1.5rem; }
  .tile-pos .tile-media { min-height: 220px; }
  .tile-reports, .tile-staff { grid-column: span 12; }
}

/* ---------- How it works ---------- */

.steps-section {
  background: var(--resto-brand-900);
  color: rgba(255, 255, 255, 0.78);
}
.steps-section .section-title { color: #fff; }
.steps-section .section-title em { color: var(--resto-accent); }
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.step {
  position: relative;
  padding: 2.5rem 2rem 0;
}
.step + .step { border-left: 1px solid rgba(255, 255, 255, 0.14); }
.step-num {
  display: block;
  margin-bottom: 1.25rem;
  font-family: var(--resto-serif);
  font-size: 4.5rem;
  font-weight: 400;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--resto-accent);
}
.step h3 { color: #fff; font-size: 1.3rem; }
.step p { margin: 0; }
@media (max-width: 991.98px) {
  .steps { grid-template-columns: 1fr; border-top: 0; }
  .step { padding: 2rem 0 2rem 6rem; border-top: 1px solid rgba(255, 255, 255, 0.14); }
  .step + .step { border-left: 0; }
  .step-num { position: absolute; left: 0; top: 1.9rem; font-size: 3.5rem; }
}

/* ---------- Tanzania ---------- */

.tz-section { background: var(--resto-soft); }
.arch {
  position: relative;
  max-width: 440px;
  margin: 0 auto;
  aspect-ratio: 4 / 5.2;
  border-radius: 999px 999px var(--resto-radius-lg) var(--resto-radius-lg);
  overflow: hidden;
  box-shadow: var(--resto-shadow-lg);
}
.arch img { width: 100%; height: 100%; object-fit: cover; }
.arch-badge {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  border-radius: var(--resto-radius);
  background: rgba(255, 255, 255, 0.95);
  font-weight: 600;
  line-height: 1.3;
}
.arch-badge .currency {
  display: inline-grid;
  place-items: center;
  min-width: 52px;
  height: 52px;
  padding: 0 0.5rem;
  border-radius: 14px;
  background: var(--resto-brand-700);
  color: #fff;
  font-weight: 800;
  font-size: 0.95rem;
}
.tz-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 2rem;
}
.tz-list li {
  display: flex;
  gap: 0.9rem;
  padding: 1.1rem 0;
  border-top: 1px solid var(--resto-soft-200);
}
.tz-list i {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex-shrink: 0;
  background: #fff;
  border: 1px solid var(--resto-soft-200);
  color: var(--resto-brand-700);
}
.tz-list strong { display: block; margin-bottom: 0.15rem; }
.tz-list span { font-size: 0.92rem; color: var(--resto-muted); }
@media (max-width: 575.98px) { .tz-list { grid-template-columns: 1fr; } }

/* ---------- About ---------- */

.about-section { background: var(--resto-paper); }
.about-quote {
  font-family: var(--resto-serif);
  font-weight: 400;
  font-size: clamp(1.6rem, 1rem + 2vw, 2.5rem);
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--resto-charcoal);
  margin: 0.5rem 0 1.5rem;
}
.about-quote::before { content: '\201C'; color: var(--resto-accent); }
.about-quote::after { content: '\201D'; color: var(--resto-accent); }
.principle {
  height: 100%;
  padding-top: 1.25rem;
  border-top: 2px solid var(--resto-charcoal);
}
.principle i { font-size: 1.35rem; color: var(--resto-brand-700); }
.principle strong { display: block; margin: 0.75rem 0 0.35rem; font-size: 1.05rem; }
.principle span { color: var(--resto-muted); font-size: 0.93rem; }

/* ---------- Pricing (menu card) ---------- */

.pricing-section { background: var(--resto-soft); }
.menu-card {
  position: relative;
  background: var(--resto-paper);
  border: 1px solid var(--resto-soft-200);
  border-radius: var(--resto-radius-lg);
  box-shadow: var(--resto-shadow);
  padding: 0.75rem;
}
.menu-card::before {
  content: '';
  position: absolute;
  inset: 0.75rem;
  border: 1px solid var(--resto-soft-200);
  border-radius: calc(var(--resto-radius-lg) - 0.6rem);
  pointer-events: none;
}
.menu-card-title {
  position: absolute;
  top: -0.85rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}
.menu-card-title span {
  display: inline-block;
  padding: 0.3rem 1.25rem;
  background: var(--resto-soft);
  font-family: var(--resto-serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--resto-muted);
  white-space: nowrap;
}
.plan {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 2.75rem 2.25rem 2.25rem;
}
.col-lg-4 + .col-lg-4 .plan::before {
  content: '';
  position: absolute;
  left: 0;
  top: 2.5rem;
  bottom: 2.5rem;
  border-left: 1px dashed var(--resto-soft-200);
}
.plan.is-featured {
  background: var(--resto-brand-100);
  border-radius: calc(var(--resto-radius-lg) - 0.6rem);
}
.plan.is-featured::before { display: none; }
.plan-badge {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: var(--resto-brand-700);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.plan h3 {
  font-family: var(--resto-serif);
  font-weight: 500;
  font-size: 1.85rem;
  margin-bottom: 0.4rem;
}
.plan-desc { color: var(--resto-muted); min-height: 3rem; }
.plan-price {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  padding: 1rem 0;
  margin-bottom: 1.25rem;
  border-top: 1px solid var(--resto-soft-200);
  border-bottom: 1px solid var(--resto-soft-200);
}
.plan-price .amount { font-size: 2.1rem; font-weight: 800; letter-spacing: -0.03em; }
.plan-price .amount small { font-size: 0.9rem; font-weight: 700; color: var(--resto-muted); }
.plan-price .period { color: var(--resto-muted); }
.plan-price .pending {
  font-family: var(--resto-serif);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--resto-brand-700);
}
.plan-features { list-style: none; padding: 0; margin: 0 0 2rem; flex-grow: 1; }
.plan-features li { display: flex; gap: 0.6rem; padding: 0.4rem 0; }
.plan-features i { color: var(--resto-brand-700); font-size: 1.1rem; line-height: 1.4; }

@media (max-width: 991.98px) {
  .col-lg-4 + .col-lg-4 .plan::before {
    left: 2rem;
    right: 2rem;
    top: 0;
    bottom: auto;
    border-left: 0;
    border-top: 1px dashed var(--resto-soft-200);
  }
  .plan { padding: 2.5rem 1.75rem 2rem; }
}

.compare-table {
  border-radius: var(--resto-radius);
  overflow: hidden;
  border: 1px solid var(--resto-soft-200);
  background: var(--resto-paper);
}
.compare-table th, .compare-table td { padding: 0.9rem 1.1rem; background: transparent; }
.compare-table thead th { font-weight: 700; background: var(--resto-soft-200); }
.compare-table .yes { color: var(--resto-brand-700); font-size: 1.1rem; }
.compare-table .no { color: #c4b8ae; font-size: 1.2rem; }
[aria-expanded='true'] .bi-chevron-down { transform: rotate(180deg); }
.bi-chevron-down { display: inline-block; transition: transform 0.2s ease; }

/* ---------- CTA band ---------- */

.cta-band {
  position: relative;
  padding: 6rem 0;
  background: var(--resto-brand-700);
  color: rgba(255, 255, 255, 0.88);
  overflow: hidden;
  isolation: isolate;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.12;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='1.4'%3E%3Cpath d='M0 24 12 12 24 24 36 12 48 24'/%3E%3Cpath d='M0 48 12 36 24 48 36 36 48 48'/%3E%3C/g%3E%3C/svg%3E");
}
.cta-band h2 {
  font-family: var(--resto-serif);
  font-weight: 500;
  font-size: clamp(2rem, 1.1rem + 3vw, 3.6rem);
  line-height: 1.08;
  color: #fff;
  margin-bottom: 1rem;
}
.cta-band h2 em { color: var(--resto-accent-soft); }
.cta-band p { font-size: 1.15rem; max-width: 36rem; margin: 0 auto 2rem; }

/* ---------- FAQ ---------- */

.faq .accordion {
  --bs-accordion-bg: transparent;
  --bs-accordion-border-color: var(--resto-border);
  --bs-accordion-border-radius: 0;
  --bs-accordion-inner-border-radius: 0;
  --bs-accordion-btn-padding-x: 0;
  --bs-accordion-btn-padding-y: 1.35rem;
  --bs-accordion-body-padding-x: 0;
  --bs-accordion-active-bg: transparent;
  --bs-accordion-active-color: var(--resto-brand-700);
  --bs-accordion-btn-focus-box-shadow: 0 0 0 3px rgba(245, 184, 65, 0.55);
}
.faq .accordion-item {
  border-left: 0;
  border-right: 0;
  border-top: 0;
}
.faq .accordion-item:first-of-type { border-top: 1px solid var(--resto-border); }
.faq .accordion-button {
  gap: 1rem;
  font-weight: 600;
  font-size: 1.08rem;
  color: var(--resto-charcoal);
  box-shadow: none;
}
.faq .accordion-button:not(.collapsed) { color: var(--resto-brand-700); }
.faq-num {
  font-family: var(--resto-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--resto-muted);
  min-width: 1.75rem;
}
.faq .accordion-body { color: var(--resto-muted); padding: 0 0 1.5rem 2.75rem; }

.contact-card {
  padding: 1.75rem;
  border-radius: var(--resto-radius-lg);
  background: var(--resto-brand-900);
  color: rgba(255, 255, 255, 0.8);
}
.contact-card h3 { color: #fff; font-family: var(--resto-serif); font-weight: 500; font-size: 1.5rem; margin-bottom: 1rem; }
.contact-card .contact-line {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
  color: #fff;
  text-decoration: none;
}
.contact-card .contact-line i {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(245, 184, 65, 0.15);
  color: var(--resto-accent);
}

/* ---------- Footer ---------- */

.site-footer {
  position: relative;
  background: var(--resto-brand-900);
  color: rgba(255, 255, 255, 0.65);
  padding: 5rem 0 0;
  overflow: hidden;
}
.footer-tagline {
  margin: 1.5rem 0 0.5rem;
  font-family: var(--resto-serif);
  font-size: 1.9rem;
  line-height: 1.15;
  color: #fff;
}
.site-footer .footer-tagline em { color: var(--resto-accent); }
.footer-text { max-width: 22rem; }
.site-footer h4 {
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li + li { margin-top: 0.6rem; }
.site-footer ul a { color: rgba(255, 255, 255, 0.65); text-decoration: none; }
.site-footer ul a:hover { color: var(--resto-accent); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 3.5rem;
  padding: 1.75rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
}
.footer-wordmark {
  font-family: var(--resto-serif);
  font-weight: 600;
  font-size: clamp(5rem, 22vw, 19rem);
  line-height: 0.75;
  letter-spacing: -0.04em;
  text-align: center;
  color: rgba(255, 255, 255, 0.05);
  margin-bottom: -0.12em;
  user-select: none;
}

/* ---------- Legal pages (Terms, Privacy) ---------- */

.legal-hero {
  padding: calc(var(--resto-nav-height) + 4rem) 0 3.5rem;
  background:
    radial-gradient(800px 360px at 15% 0%, rgba(245, 184, 65, 0.2), transparent 70%),
    var(--resto-soft);
  border-bottom: 1px solid var(--resto-border);
}
.legal-title {
  font-family: var(--resto-serif);
  font-weight: 500;
  font-size: clamp(2.5rem, 1.5rem + 3.6vw, 4.25rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin-bottom: 1rem;
}
.legal-title em { font-style: italic; font-weight: 400; color: var(--resto-brand-700); }
.legal-meta { margin: 0; color: var(--resto-muted); font-size: 0.95rem; }
.legal-meta i { margin-right: 0.3rem; color: var(--resto-brand-700); }

.legal-section { padding: 4rem 0 6rem; }

.legal-toc {
  position: sticky;
  top: calc(var(--resto-nav-height) + 1rem);
}
.legal-toc-title {
  margin-bottom: 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--resto-muted);
}
.legal-toc ol {
  list-style: none;
  counter-reset: toc;
  padding: 0;
  margin: 0 0 1.5rem;
  border-left: 1px solid var(--resto-border);
}
.legal-toc li { counter-increment: toc; }
.legal-toc ol a {
  display: block;
  padding: 0.35rem 0 0.35rem 1rem;
  margin-left: -1px;
  border-left: 2px solid transparent;
  font-size: 0.9rem;
  color: var(--resto-muted);
  text-decoration: none;
}
.legal-toc ol a::before {
  content: counter(toc, decimal-leading-zero) '  ';
  font-family: var(--resto-serif);
  font-style: italic;
  color: #b3a79e;
}
.legal-toc ol a:hover { color: var(--resto-charcoal); }
.legal-toc ol a.active { color: var(--resto-brand-700); border-left-color: var(--resto-brand-700); font-weight: 600; }
.legal-toc-links { display: grid; gap: 0.5rem; }
.legal-toc-links a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 0.9rem;
  border: 1px solid var(--resto-border);
  border-radius: 0.75rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--resto-charcoal);
  text-decoration: none;
  background: #fff;
}
.legal-toc-links a:hover { border-color: var(--resto-brand-700); color: var(--resto-brand-700); }
.legal-toc-links a.active { background: var(--resto-brand-100); border-color: var(--resto-brand-100); color: var(--resto-brand-700); }

@media (max-width: 991.98px) {
  .legal-toc { position: static; }
  .legal-toc ol { columns: 2; column-gap: 1.5rem; }
  .legal-toc ol li { break-inside: avoid; }
  .legal-toc-links { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 575.98px) {
  .legal-toc ol { columns: 1; }
  .legal-toc-links { grid-template-columns: 1fr; }
}

.legal-content { font-size: 1.04rem; line-height: 1.75; color: #3d2e26; }
.legal-intro {
  font-family: var(--resto-serif);
  font-size: 1.35rem;
  line-height: 1.5;
  color: var(--resto-charcoal);
  margin-bottom: 2.5rem;
}
.legal-content section {
  padding: 2rem 0;
  border-top: 1px solid var(--resto-border);
  scroll-margin-top: calc(var(--resto-nav-height) + 1rem);
}
.legal-content h2 {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  font-family: var(--resto-serif);
  font-weight: 500;
  font-size: 1.6rem;
  margin-bottom: 1rem;
}
.legal-content h2 span {
  font-style: italic;
  font-weight: 400;
  font-size: 1.1rem;
  color: var(--resto-brand-700);
}
.legal-content h3 { font-size: 1.05rem; font-weight: 700; margin: 1.25rem 0 0.5rem; }
.legal-content ul { padding-left: 1.2rem; }
.legal-content li { margin-bottom: 0.4rem; }
.legal-content li::marker { color: var(--resto-brand-700); }
.legal-content a { color: var(--resto-brand-700); font-weight: 600; }

.legal-draft {
  display: flex;
  gap: 0.85rem;
  padding: 1rem 1.2rem;
  margin-bottom: 2rem;
  border-radius: var(--resto-radius);
  background: var(--resto-accent-soft);
  border: 1px solid #f6e2b5;
  font-size: 0.95rem;
  line-height: 1.55;
}
.legal-draft i { font-size: 1.2rem; color: #b45309; }
.legal-draft strong { display: block; color: var(--resto-charcoal); }

.legal-summary {
  padding: 1.5rem 1.75rem;
  margin-bottom: 1rem;
  border-radius: var(--resto-radius-lg);
  background: var(--resto-brand-900);
  color: rgba(255, 255, 255, 0.85);
}
.legal-summary h2 { color: #fff; font-family: var(--resto-serif); font-weight: 500; margin-bottom: 0.75rem; }
.legal-summary ul { list-style: none; padding: 0; margin: 0; }
.legal-summary li { display: flex; gap: 0.6rem; }
.legal-summary i { color: var(--resto-accent); }

.legal-rights {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin: 1rem 0 1.25rem;
}
.legal-rights div {
  padding: 1rem;
  border-radius: var(--resto-radius);
  background: var(--resto-soft);
  border: 1px solid var(--resto-border);
  line-height: 1.45;
}
.legal-rights i { display: block; margin-bottom: 0.5rem; font-size: 1.2rem; color: var(--resto-brand-700); }
.legal-rights strong { display: block; color: var(--resto-charcoal); }
.legal-rights span { font-size: 0.88rem; color: var(--resto-muted); }
@media (max-width: 767.98px) { .legal-rights { grid-template-columns: 1fr 1fr; } }

.legal-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
  padding: 1.5rem 1.75rem;
  border-radius: var(--resto-radius-lg);
  background: var(--resto-brand-100);
}
.legal-contact strong { display: block; color: var(--resto-charcoal); }
.legal-contact span { font-size: 0.95rem; color: var(--resto-muted); }
.legal-contact .btn { color: #fff; }

/* ---------- Back to top ---------- */

.back-to-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 1030;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 0;
  background: var(--resto-brand-700);
  color: #fff;
  box-shadow: var(--resto-shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }

/* ---------- Reveal on scroll ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.js .reveal.is-visible { opacity: 1; transform: none; }

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