:root {
  --ink: #1b1612;
  --muted: #6b6258;
  --paper: #faf6f0;
  --card: #fffdf9;
  --line: #eadfd3;
  --tomato: #b42318;
  --tomato-dark: #8f1a12;
  --olive: #3f5340;
  --gold: #c9a15b;
  --shadow: 0 18px 50px rgba(28, 18, 10, .08);
  --radius: 18px;
  --font: "Figtree", "Segoe UI", sans-serif;
  --serif: "Newsreader", Georgia, serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; min-height: 100%; }
body {
  font-family: var(--font);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1 0 auto; }
.page { padding: 36px 0 56px; }
.onboard { max-width: 640px; }
a { color: inherit; }
img { max-width: 100%; }
.wrap { width: min(1120px, calc(100% - 32px)); margin-inline: auto; }
.brand-logo { height: 44px; width: auto; display: block; }
.brand.compact .brand-logo { height: 36px; }
.logo { display: inline-flex; text-decoration: none; margin-bottom: 18px; }
.logo .brand-logo {
  height: 52px; background: transparent; border-radius: 0; padding: 0;
}
.site-header {
  background: #0b0b0b; color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.08);
  position: sticky; top: 0; z-index: 30;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 0; gap: 16px;
}
.site-header nav { display: flex; align-items: center; gap: 6px; }
nav a { text-decoration: none; margin-left: 0; color: #d7cfc6; font-weight: 650; padding: 8px 12px; border-radius: 999px; }
.site-header nav a:hover { background: rgba(255,255,255,.08); color: #fff; }
.site-header nav a.btn { color: #fff; background: var(--tomato); }
.site-header nav a.btn:hover { background: var(--tomato-dark); color: #fff; }
button, .btn, input[type=submit] {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--tomato); color: #fff; text-decoration: none;
  border: 0; border-radius: 999px; padding: 12px 20px; font-weight: 700;
  cursor: pointer; font-size: 1rem; font-family: inherit;
}
button:hover, .btn:hover { background: var(--tomato-dark); color: #fff; }
.btn-ghost, button.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover, a.btn-ghost:hover, button.btn-ghost:hover {
  background: var(--tomato-dark); color: #fff; border-color: var(--tomato-dark);
}
.btn-sm { padding: 8px 12px; font-size: .9rem; }
.btn-ghost.light, button.btn-ghost.light { color: #fff; border-color: rgba(255,255,255,.28); }
.btn-ghost.light:hover, a.btn-ghost.light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.hero {
  padding: 48px 0 28px;
  display: grid; gap: 28px;
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  line-height: 1.05; margin: 0 0 12px;
  letter-spacing: -.04em;
}
.hero p.lead { font-size: 1.2rem; color: var(--muted); max-width: 36rem; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin: 28px 0; }
.step-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px; min-height: 110px;
}
.step-card b { display: block; font-size: .8rem; color: var(--tomato); margin-bottom: 6px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px; box-shadow: var(--shadow); text-decoration: none; display: block;
}
.card h3 { margin: 0 0 6px; font-family: var(--serif); }
.muted { color: var(--muted); }
.badge { display: inline-block; background: #efe6d8; border-radius: 999px; padding: 4px 10px; font-size: .82rem; font-weight: 700; }
.badge.open { background: #e4f0e2; color: var(--olive); }
.searchbar { display: flex; gap: 8px; flex-wrap: wrap; margin: 18px 0; }
input, select, textarea {
  font: inherit; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: #fff; width: 100%;
}
input[type=checkbox], input[type=radio] { width: auto; accent-color: var(--tomato); }
label { display: block; font-weight: 650; margin: 12px 0 6px; }
label.inline { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.filters label { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 12px; font-weight: 600; }
.flash { padding: 12px 14px; border-radius: 12px; margin: 12px 0; }
.flash p { margin: 6px 0 0; }
.flash-ok { background: #e7f5e8; }
.flash-err { background: #fff4e5; border: 1px solid #f0d2a8; color: #6a3b00; }
.site-footer { padding: 48px 0; color: #b7aea4; background: #0b0b0b; margin-top: auto; flex-shrink: 0; }
.footer-copy { margin: 10px 0 0; font-size: .92rem; }
.footer-copy a { color: #fff; text-decoration: underline; margin-right: 0; }
.catalog-map { margin-top: 28px; }
.catalog-map h2 { font-family: var(--serif); margin: 0 0 12px; }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: start; }
.footer-inner a { color: #d7cfc6; text-decoration: none; margin-right: 14px; font-weight: 650; }
.home-hero {
  background:
    radial-gradient(900px 420px at 12% -10%, rgba(180,35,24,.35), transparent 55%),
    radial-gradient(720px 380px at 92% 10%, rgba(201,161,91,.18), transparent 50%),
    #0b0b0b;
  color: #fff;
  padding: 72px 0 56px;
  margin-bottom: 8px;
}
.home-hero-inner { max-width: 760px; }
.eyebrow {
  text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; font-weight: 800;
  color: #c9a15b; margin: 0 0 14px;
}
.home-hero h1 {
  font-family: var(--serif); font-size: clamp(2.6rem, 6vw, 4.6rem);
  line-height: 1.02; letter-spacing: -.04em; margin: 0 0 16px;
}
.home-hero .lead { font-size: 1.2rem; color: #d7cfc6; max-width: 38rem; margin: 0 0 28px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.hero-stats {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px;
  margin: 0; padding: 0;
}
.hero-stats div {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px; padding: 16px 18px;
}
.hero-stats dt { font-weight: 800; font-size: 1.15rem; }
.hero-stats dd { margin: 4px 0 0; color: #c4bbb0; font-size: .92rem; }
.home-section { padding: 48px 0 12px; }
.section-head { margin-bottom: 22px; max-width: 40rem; }
.section-head.split { display: flex; justify-content: space-between; gap: 16px; align-items: end; max-width: none; }
.section-head h2 { font-family: var(--serif); font-size: clamp(1.8rem, 4vw, 2.4rem); margin: 0 0 8px; letter-spacing: -.03em; }
.section-head p { margin: 0; color: var(--muted); }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.feature-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 22px;
  padding: 22px; box-shadow: var(--shadow); min-height: 180px;
}
.feature-n { display: block; color: var(--tomato); font-weight: 800; letter-spacing: .08em; font-size: .82rem; margin-bottom: 10px; }
.feature-card h3 { margin: 0 0 8px; font-family: var(--serif); font-size: 1.35rem; }
.feature-card p { margin: 0; color: var(--muted); }
.process { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.process li {
  display: grid; grid-template-columns: 88px 1fr; gap: 14px; align-items: center;
  background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px;
}
.process b { color: var(--tomato); }
.resto-grid { align-items: stretch; }
.resto-card { display: flex; gap: 14px; align-items: center; }
.resto-logo, .resto-mark {
  width: 56px; height: 56px; border-radius: 16px; object-fit: contain; flex: 0 0 auto; background: #fff;
}
.resto-mark {
  display: grid; place-items: center; background: var(--tomato); color: #fff;
  font-family: var(--serif); font-size: 1.4rem; font-weight: 700;
}
.resto-card h3 { margin: 0 0 2px; }
@media (max-width: 860px) {
  .hero-stats, .feature-grid { grid-template-columns: 1fr; }
  .process li { grid-template-columns: 1fr; }
}
.map { height: 520px; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); }
.field-error { color: var(--tomato); font-size: .9rem; }
@media (max-width: 720px) {
  nav a { margin-left: 10px; font-size: .92rem; }
}
