:root {
  --bg: #fffaf5;
  --surface: #ffffff;
  --text: #22160f;
  --muted: #6f5b49;
  --accent: #b62828;
  --accent-dark: #8d1d1d;
  --accent-soft: #ffe7d6;
  --border: #f0e2d4;
  --shadow: 0 12px 30px rgba(0,0,0,0.06);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  position: relative;
  isolation: isolate;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(182, 40, 40, 0.08), transparent 30%),
    radial-gradient(circle at bottom right, rgba(122, 63, 18, 0.08), transparent 25%);
  pointer-events: none;
  z-index: -1;
}
a { color: inherit; text-decoration: none; }
img { width: 100%; display: block; border-radius: 16px; }
.container { width: min(1120px, calc(100% - 2rem)); margin: 0 auto; }
.hero {
  background: linear-gradient(135deg, #2b120c 0%, #7f2d24 100%);
  color: #fff;
  padding-bottom: 4rem;
}
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.brand-logo {
  width: auto;
  max-height: 56px;
  object-fit: contain;
  border-radius: 10px;
  background: #fff;
  padding: 4px 8px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}
.nav-links { display: flex; gap: 0.75rem; flex-wrap: wrap; align-items: center; }
.nav-links a {
  color: rgba(255,255,255,0.9);
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.nav-links a:hover { background: rgba(255,255,255,0.12); }
.nav-admin {
  border: 1px solid rgba(255,255,255,0.24);
  background: rgba(255,255,255,0.08);
  font-size: 0.88rem;
  font-weight: 700;
}
.hero-content {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
  padding: 3rem 0 1rem;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.8rem;
  font-weight: 700;
  color: #ffd8a8;
  margin-bottom: 0.5rem;
}
h1, h2, h3 { line-height: 1.2; }
h1 { font-size: clamp(2.2rem, 4.5vw, 3.8rem); margin: 0 0 1rem; }
.lead { font-size: 1.05rem; color: rgba(255,255,255,0.9); max-width: 650px; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.5rem; }
.btn {
  padding: 0.8rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  display: inline-block;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-secondary { background: rgba(255,255,255,0.15); color: #fff; border: 1px solid rgba(255,255,255,0.2); }
.page-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 1.2rem; }
.small-note { margin-top: 0.8rem; color: rgba(255,255,255,0.8); }
.hero-card, .hero-art, .info-card, .menu-card {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: var(--shadow);
}
.hero-card { padding: 1.5rem; }
.hero-art {
  overflow: hidden;
  min-height: 100%;
  align-self: stretch;
}
.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 5;
}
.section { padding: 4.5rem 0; }
.section-alt { background: #fff; }
.section-title { margin-bottom: 2rem; max-width: 720px; }
.section-title h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin: 0; color: #32170f; }
.about-grid, .order-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.info-card { padding: 1.5rem; }
.info-card h3 { margin-top: 0; }
.menu-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.menu-card { overflow: hidden; }
.menu-card h3 { margin: 1rem 1rem 0.3rem; }
.menu-card p { margin: 0 1rem 1rem; color: var(--muted); }
.footer { background: #22160f; color: rgba(255,255,255,0.9); padding: 2rem 0; }
.footer-content { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.page-hero {
  padding: 2.5rem 0 3rem;
}
.page-title {
  font-size: clamp(2rem, 3.5vw, 2.7rem);
  margin-bottom: 0.7rem;
}
.page-lead {
  font-size: 1.02rem;
  color: var(--muted);
  max-width: 760px;
}
.page-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
.page-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.5rem;
  align-items: start;
}
.contact-grid-vertical { align-content: start; }
.menu-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.menu-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1rem;
}
.menu-item h3 { margin: 0 0 0.35rem; }
.menu-item p { margin: 0; color: var(--muted); }
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}
.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.25rem;
}
.contact-card h3 { margin-top: 0; }
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-weight: 600;
  color: #3a2518;
}
.form-field span { font-size: 0.94rem; }
input, textarea, select {
  width: 100%;
  border: 1px solid #e4d3c1;
  border-radius: 14px;
  padding: 0.88rem 0.95rem;
  background: #fff;
  color: var(--text);
  font: inherit;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.8);
}
input:focus, textarea:focus, select:focus {
  outline: 2px solid rgba(182, 40, 40, 0.18);
  border-color: var(--accent);
}
textarea { resize: vertical; min-height: 140px; }
.form-full { grid-column: 1 / -1; }
.notice {
  background: linear-gradient(135deg, #fff4e8, #ffe6d0);
  border: 1px solid #f2cfad;
  color: #7d461b;
  border-radius: 18px;
  padding: 1rem 1.1rem;
  box-shadow: 0 8px 20px rgba(125, 70, 27, 0.08);
}
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}
.month-card {
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1rem;
  background: linear-gradient(180deg, #fff 0%, #fff9f4 100%);
}
.month-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.8rem;
}
.month-header h3 {
  margin: 0;
  color: #7a3f12;
}
.month-header span { color: var(--muted); font-size: 0.92rem; }
.weekday-grid, .day-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.35rem;
}
.weekday-grid span {
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.day-button {
  appearance: none;
  border: 1px solid #ead9c8;
  background: #fff;
  border-radius: 12px;
  min-height: 42px;
  font-weight: 700;
  color: #412618;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.day-button:hover:not(:disabled) {
  transform: translateY(-1px);
  border-color: var(--accent);
}
.day-button.is-selected {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.day-button[disabled] {
  opacity: 0.3;
  cursor: not-allowed;
}
.meta-note {
  margin-top: 0.8rem;
  color: var(--muted);
  font-size: 0.94rem;
}
.reservation-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}
.summary-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1rem;
  box-shadow: var(--shadow);
}
.summary-card h3 { margin: 0 0 0.35rem; }
.summary-card p { margin: 0; color: var(--muted); }
.inbox-toolbar {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin: 1rem 0 1.25rem;
}
.chip {
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  padding: 0.55rem 0.9rem;
  font: inherit;
  cursor: pointer;
  color: var(--muted);
}
.chip.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.inbox-list {
  display: grid;
  gap: 0.9rem;
}
.inbox-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1rem;
  box-shadow: var(--shadow);
}
.inbox-item.is-unread { border-color: rgba(182, 40, 40, 0.45); }
.inbox-header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  flex-wrap: wrap;
}
.inbox-header h3 { margin: 0; }
.inbox-meta {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.92rem;
  margin-top: 0.25rem;
}
.inbox-pill {
  background: #fff4e8;
  color: #7d461b;
  border-radius: 999px;
  padding: 0.3rem 0.65rem;
  font-size: 0.8rem;
  font-weight: 700;
}
.inbox-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 0.9rem;
}
.inbox-empty {
  background: linear-gradient(135deg, #fff, #fff9f4);
  border: 1px dashed var(--border);
  border-radius: 18px;
  padding: 1.25rem;
  color: var(--muted);
}
.login-panel {
  max-width: 540px;
}
.page-actions .btn-secondary {
  background: #fff;
  color: var(--accent-dark);
  border: 1px solid var(--border);
}
.page-actions .btn-secondary:hover,
.menu-actions .btn-secondary:hover {
  border-color: var(--accent);
}
.highlight {
  display: inline-block;
  background: var(--accent-soft);
  color: #7a3f12;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 0.7rem;
}
.menu-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin: 1rem 0 1.5rem;
}
.menu-section {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.menu-section h3 {
  margin-bottom: 0.8rem;
  color: #7a3f12;
}
.menu-item-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.45rem 0;
  border-bottom: 1px dashed #ead9c8;
  color: var(--muted);
}
.menu-note {
  margin: 0 0 0.8rem;
  color: var(--muted);
  font-size: 0.95rem;
}
@media (max-width: 800px) {
  .hero-content, .about-grid, .order-grid, .menu-grid, .page-grid, .contact-grid, .menu-list { grid-template-columns: 1fr; }
  .calendar-grid, .reservation-summary, .form-grid { grid-template-columns: 1fr; }
  .nav { flex-direction: column; align-items: flex-start; gap: 0.7rem; }
  .nav-links { gap: 0.45rem; }
  .hero-image { aspect-ratio: 1 / 1; }
}
