*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Hanken Grotesk', system-ui, sans-serif;
  color: #0f172a;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

input, textarea, button, select { font-family: inherit; }
textarea { resize: vertical; }
::placeholder { color: #9aa7b8; }
img { max-width: 100%; display: block; }
a { color: inherit; }

:root {
  --accent: #2563eb;
  --accent-light: color-mix(in srgb, var(--accent) 10%, #fff);
  --accent-dark:  color-mix(in srgb, var(--accent) 84%, #000);
}

/* ── Layout ────────────────────────────────────────────────────────────────── */

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

.section    { padding: 88px 0; }
.section-bg {
  background: #f8fafc;
  border-top: 1px solid #eef2f6;
  border-bottom: 1px solid #eef2f6;
}

/* ── Typography ────────────────────────────────────────────────────────────── */

.label {
  display: block;
  font-size: 13px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--accent); margin: 0 0 10px;
}

.heading-xl { font-size: clamp(30px, 4.4vw, 46px); font-weight: 800; letter-spacing: -0.02em; color: #0f172a; margin: 0; }
.heading-lg { font-size: clamp(28px, 4vw,   38px); font-weight: 800; letter-spacing: -0.02em; color: #0f172a; margin: 0; }
.heading-md { font-size: clamp(22px, 3vw,   28px); font-weight: 800; letter-spacing: -0.02em; color: #0f172a; margin: 0; }

.body-text  { font-size: 16px; line-height: 1.75; color: #475569; margin: 0; }

/* ── Buttons ────────────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 600; padding: 12px 24px;
  border-radius: 9px; border: none; cursor: pointer;
  transition: background 0.15s, color 0.15s, opacity 0.15s;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover:not(:disabled) { background: var(--accent-dark); }
.btn-outline { background: none; border: 1px solid #d4dce6; color: #0f172a; }
.btn-outline:hover:not(:disabled) { background: #f1f5f9; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* ── Cards ──────────────────────────────────────────────────────────────────── */

.card { background: #fff; border: 1px solid #e8edf3; border-radius: 16px; overflow: hidden; }

/* ── Image placeholder ──────────────────────────────────────────────────────── */

.img-placeholder {
  background: repeating-linear-gradient(45deg, #eff6ff, #eff6ff 13px, #e2ecfc 13px, #e2ecfc 26px);
  display: flex; align-items: center; justify-content: center; position: relative;
}
.img-placeholder > span:not(.menu-num) {
  font-family: ui-monospace, Menlo, monospace;
  font-size: 12px; color: #90a8c8; letter-spacing: 0.04em;
}

/* ── Stars ──────────────────────────────────────────────────────────────────── */

.stars      { display: inline-flex; gap: 2px; align-items: center; vertical-align: middle; }
.star       { position: relative; display: inline-block; line-height: 1; }
.star-bg    { color: #cbd5e1; display: block; }
.star-fill  { position: absolute; inset: 0; overflow: hidden; color: var(--accent); white-space: nowrap; display: block; }

/* ── Header ─────────────────────────────────────────────────────────────────── */

.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,0.88); backdrop-filter: blur(12px);
  border-bottom: 1px solid #e8edf3;
}
.site-header .container { height: 64px; display: flex; align-items: center; gap: 20px; }

.site-logo {
  display: flex; align-items: center; gap: 11px;
  background: none; border: none; cursor: pointer; padding: 0;
  text-decoration: none;
}
.site-logo-mark {
  width: 26px; height: 26px; border-radius: 7px;
  background: var(--accent); display: block; flex-shrink: 0;
}
.site-logo-emoji { font-size: 22px; line-height: 1; flex-shrink: 0; }
.site-logo-name  { font-size: 17px; font-weight: 800; letter-spacing: -0.01em; color: #0f172a; }

.site-nav { display: flex; gap: 2px; margin-left: auto; align-items: center; }
.nav-link {
  background: none; border: none; cursor: pointer;
  font-weight: 600; font-size: 14px; color: #334155;
  padding: 8px 12px; border-radius: 7px;
  text-decoration: none; display: inline-block;
}
.nav-link:hover { background: #f1f5f9; }

/* ── Hero / Slideshow ───────────────────────────────────────────────────────── */

.hero {
  position: relative; width: 100%;
  height: clamp(360px, 46vw, 560px);
  overflow: hidden; background: #0f172a;
}
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: opacity 0.8s ease;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 5;
  background: linear-gradient(180deg, rgba(15,23,42,.18) 0%, rgba(15,23,42,0) 32%,
    rgba(15,23,42,0) 55%, rgba(15,23,42,.62) 100%);
}
.hero-caption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 6;
  max-width: 1120px; margin: 0 auto; padding: 0 64px 36px;
  display: flex; flex-direction: column; gap: 10px;
}
.hero-eyebrow {
  align-self: flex-start;
  font-family: ui-monospace, Menlo, monospace;
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: #fff; background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.3);
  padding: 5px 10px; border-radius: 999px;
}
.hero-text {
  margin: 0;
  font-size: clamp(22px, 3vw, 32px); font-weight: 700; color: #fff;
  letter-spacing: -0.01em; max-width: 620px;
  text-shadow: 0 2px 18px rgba(0,0,0,.35);
}

.hero-arrow {
  position: absolute; z-index: 7; top: 50%; transform: translateY(-50%);
  width: 46px; height: 46px; border-radius: 50%; border: none;
  background: rgba(255,255,255,.92); color: #0f172a;
  font-size: 22px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,.18);
}
.hero-arrow:hover { background: #fff; }
#hero-prev { left: 18px; }
#hero-next { right: 18px; }

.hero-dots {
  position: absolute; z-index: 7; left: 0; right: 0; bottom: 18px;
  display: flex; gap: 7px; justify-content: center;
}
.hero-dot {
  height: 8px; border-radius: 999px; border: none; cursor: pointer; padding: 0;
  background: rgba(255,255,255,.45);
  transition: width 0.3s ease, background 0.3s ease;
}
.hero-dot.active { background: rgba(255,255,255,.95); }

/* ── Menu ───────────────────────────────────────────────────────────────────── */

.menu-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; flex-wrap: wrap; margin-bottom: 36px;
}
.menu-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 24px;
}
.menu-card { display: flex; flex-direction: column; }
.menu-num {
  position: absolute; top: 12px; left: 12px;
  font-family: ui-monospace, Menlo, monospace;
  font-size: 11px; font-weight: 600; color: #fff;
  background: var(--accent); padding: 3px 8px; border-radius: 6px;
}
.menu-info { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.menu-row  { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.menu-name { margin: 0; font-size: 19px; font-weight: 700; color: #0f172a; letter-spacing: -0.01em; }
.menu-price { font-size: 17px; font-weight: 700; color: var(--accent); white-space: nowrap; }
.menu-desc  { margin: 0; font-size: 14.5px; line-height: 1.65; color: #64748b; }

/* ── About ──────────────────────────────────────────────────────────────────── */

.about-grid {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center;
}
.about-img {
  aspect-ratio: 5/4; border-radius: 18px;
  border: 1px solid #e3ebf6;
}

/* ── How it's made ──────────────────────────────────────────────────────────── */

.how-center  { text-align: center; max-width: 600px; margin: 0 auto 48px; }
.how-grid    { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.how-card    { background: #fff; border: 1px solid #e8edf3; border-radius: 16px; padding: 30px 26px; }
.how-num     {
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--accent-light); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 18px; margin-bottom: 18px;
}
.how-title   { margin: 0 0 8px; font-size: 18px; font-weight: 700; color: #0f172a; }
.how-text    { margin: 0; font-size: 14.5px; line-height: 1.7; color: #64748b; }

/* ── Reviews preview ────────────────────────────────────────────────────────── */

.reviews-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; flex-wrap: wrap; margin-bottom: 34px;
}
.reviews-avg    { display: flex; align-items: center; gap: 14px; }
.reviews-grid   { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }

.review-card    { padding: 22px 24px; }
.review-header  { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.review-avatar  {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--accent-light); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; flex-shrink: 0;
}
.review-name   { font-size: 15px; font-weight: 700; color: #0f172a; }
.review-date   { font-size: 12.5px; color: #94a3b8; }

/* ── Newsletter ─────────────────────────────────────────────────────────────── */

.newsletter-band { background: var(--accent-light); border-top: 1px solid #e6edf7; border-bottom: 1px solid #e6edf7; }
.newsletter-inner { max-width: 600px; margin: 0 auto; padding: 72px 24px; text-align: center; }

.subscribe-form  { display: flex; gap: 10px; max-width: 440px; margin: 28px auto 0; }
.subscribe-input {
  flex: 1; padding: 13px 16px;
  border: 1px solid #cdd8e6; border-radius: 10px;
  font-size: 15px; color: #0f172a; background: #fff; outline: none;
}
.subscribe-input:focus { border-color: var(--accent); }
.subscribe-success {
  display: inline-flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid #cfe0d3; color: #15803d;
  font-weight: 600; font-size: 15px; padding: 13px 22px; border-radius: 10px;
  margin-top: 28px;
}

/* ── Footer ─────────────────────────────────────────────────────────────────── */

.site-footer { background: #0f172a; color: #cbd5e1; }
.footer-grid {
  padding: 54px 24px 40px;
  display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px;
}
.footer-logo       { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-logo-mark  { width: 24px; height: 24px; border-radius: 6px; background: var(--accent); display: block; flex-shrink: 0; }
.footer-logo-emoji { font-size: 20px; line-height: 1; flex-shrink: 0; }
.footer-logo-name  { font-size: 16px; font-weight: 800; color: #fff; }
.footer-tagline    { margin: 0; font-size: 14px; line-height: 1.7; color: #94a3b8; max-width: 320px; }

.footer-col-title  { font-size: 13px; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 14px; }
.footer-links      { display: flex; flex-direction: column; gap: 9px; }
.footer-link       {
  background: none; border: none; color: #94a3b8; font-size: 14px;
  cursor: pointer; padding: 0; text-align: left;
  text-decoration: none; display: inline-block;
}
.footer-link:hover { color: #fff; }
.footer-address    { margin: 0; font-size: 14px; line-height: 1.7; color: #94a3b8; white-space: pre-line; }

.footer-hours      { margin: 12px 0 0; }
.footer-hours-row  { display: flex; gap: 8px; font-size: 13px; color: #94a3b8; }
.footer-hours-day  { font-weight: 600; color: #cbd5e1; min-width: 80px; }

.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); }
.footer-bottom .container { padding-top: 20px; padding-bottom: 20px; font-size: 13px; color: #64748b; }

/* ── Reviews page ───────────────────────────────────────────────────────────── */

.page-wrap { max-width: 880px; margin: 0 auto; padding: 56px 24px 88px; }

.back-link {
  display: inline-block; background: none; border: none;
  color: #64748b; font-weight: 600; font-size: 14px;
  cursor: pointer; padding: 0; margin-bottom: 24px;
  text-decoration: none;
}
.back-link:hover { color: #0f172a; }

.write-review-box { background: #f8fafc; border: 1px solid #e8edf3; border-radius: 16px; padding: 28px; margin-bottom: 40px; }

.form-group   { display: flex; flex-direction: column; gap: 18px; }
.form-label   { display: block; font-size: 13px; font-weight: 600; color: #475569; margin-bottom: 8px; }
.form-input   {
  width: 100%; padding: 12px 14px; border: 1px solid #d8e0ea;
  border-radius: 9px; font-size: 15px; color: #0f172a;
  background: #fff; outline: none;
}
.form-input:focus  { border-color: var(--accent); }
.form-textarea     { width: 100%; padding: 12px 14px; border: 1px solid #d8e0ea; border-radius: 9px; font-size: 15px; color: #0f172a; background: #fff; outline: none; line-height: 1.6; resize: vertical; }
.form-textarea:focus { border-color: var(--accent); }
.form-error   { font-size: 13.5px; color: #dc2626; font-weight: 500; min-height: 20px; }

.star-picker { display: flex; align-items: center; gap: 6px; }
.star-pick-half, .star-pick-full {
  position: absolute; top: 0; height: 100%;
  background: none; border: none; cursor: pointer; padding: 0; z-index: 2;
}
.star-pick-half { left: 0;   width: 50%; }
.star-pick-full { left: 50%; width: 50%; }
.rate-label { margin-left: 10px; font-size: 14px; font-weight: 600; color: #64748b; }

.review-list     { display: flex; flex-direction: column; gap: 16px; }
.review-card-full { background: #fff; border: 1px solid #e8edf3; border-radius: 14px; padding: 22px 24px; }
.review-rating-text { font-size: 13px; font-weight: 700; color: #64748b; }
.reviews-empty   { text-align: center; padding: 48px 24px; color: #94a3b8; font-size: 15px; margin: 0; }

.cooldown-notice {
  display: none; align-items: center; gap: 10px;
  background: var(--accent-light); border: 1px solid color-mix(in srgb, var(--accent) 22%, #fff);
  color: #334155; font-size: 14px; font-weight: 500;
  padding: 12px 16px; border-radius: 10px; margin-bottom: 18px;
}

/* ── Admin page ─────────────────────────────────────────────────────────────── */

.admin-wrap { max-width: 760px; margin: 0 auto; padding: 56px 24px 88px; }

.login-box {
  max-width: 400px; margin: 40px auto 0;
  background: #fff; border: 1px solid #e8edf3; border-radius: 16px; padding: 32px;
}
.login-mark { width: 46px; height: 46px; border-radius: 12px; background: var(--accent); margin-bottom: 20px; }

.admin-panel  { display: none; }
.admin-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }

.admin-section { background: #fff; border: 1px solid #e8edf3; border-radius: 14px; padding: 24px; margin-bottom: 20px; }
.admin-section-title { margin: 0 0 18px; font-size: 16px; font-weight: 800; color: #0f172a; text-transform: uppercase; letter-spacing: 0.04em; }

.pending-card   { background: #fff; border: 1px solid #e8edf3; border-radius: 14px; padding: 20px 22px; display: flex; flex-direction: column; gap: 12px; }
.pending-actions { display: flex; gap: 10px; }

.btn-approve { font-size: 14px; padding: 9px 16px; background: #f0fdf4; border: 1px solid #bbf7d0; color: #15803d; border-radius: 8px; }
.btn-approve:hover { background: #dcfce7; }
.btn-reject  { font-size: 14px; padding: 9px 16px; background: #fef2f2; border: 1px solid #fecaca; color: #dc2626; border-radius: 8px; }
.btn-reject:hover  { background: #fee2e2; }

/* ── Misc ───────────────────────────────────────────────────────────────────── */

.loading { text-align: center; padding: 48px; color: #94a3b8; font-size: 14px; }

/* ── Responsive ─────────────────────────────────────────────────────────────── */

@media (max-width: 768px) {
  .about-grid   { grid-template-columns: 1fr; }
  .footer-grid  { grid-template-columns: 1fr; gap: 28px; }
  .hero-caption { padding: 0 24px 24px; }
  .reviews-header { flex-direction: column; align-items: flex-start; }
  .subscribe-form { flex-direction: column; }
  .section  { padding: 64px 0; }
  .menu-header { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .site-nav .nav-link:not(.nav-reviews):not(:last-child) { display: none; }
}
