/* ============================================================
   Aroma — кофейня, лендинг
   ============================================================ */

:root {
  --brand: oklch(0.66 0.168 18);
  --brand-dark: oklch(0.56 0.158 18);
  --bg: oklch(0.974 0.003 18);
  --bg-alt: oklch(0.955 0.005 18);
  --surface: oklch(0.985 0.002 18);
  --text: oklch(0.23 0.017 18);
  --text-muted: oklch(0.45 0.015 18);
  --border: oklch(0.88 0.01 18);
  --shadow: 0 4px 16px oklch(0.15 0.01 18 / 0.1);
  --radius: 0.50rem;
  --maxw: 1080px;
}

[data-theme="dark"] {
  --bg: oklch(0.19 0.007 18);
  --bg-alt: oklch(0.22 0.008 18);
  --surface: oklch(0.25 0.007 18);
  --text: oklch(0.93 0.008 18);
  --text-muted: oklch(0.62 0.015 18);
  --border: oklch(0.30 0.010 18);
  --shadow: 0 4px 16px oklch(0 0 0 / 0.35);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  transition: background 0.25s ease, color 0.25s ease;
}

h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}
.container--narrow { max-width: 560px; }

a { color: var(--brand); text-decoration: none; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 64px;
}
.logo { font-weight: 700; font-size: 1.2rem; color: var(--text); }
.nav { display: flex; gap: 20px; margin-left: auto; }
.nav a { color: var(--text-muted); font-weight: 500; }
.nav a:hover { color: var(--text); }
.theme-toggle {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 50%;
  width: 38px; height: 38px;
  cursor: pointer;
  font-size: 1rem;
}

/* Hero */
.hero {
  padding: 96px 0;
  background: color-mix(in srgb, var(--brand) 8%, var(--bg));
  text-align: center;
}
.hero__title {
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.1;
  margin: 0 0 16px;
}
.hero__subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 32px;
}
.hero__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 0.50rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.08s ease, background 0.2s ease;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--brand); color: var(--surface); }
.btn--primary:hover { background: var(--brand-dark); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn--block { width: 100%; }

/* Sections */
.section { padding: 72px 0; }
.section--alt { background: var(--bg-alt); }
.section__title { font-size: clamp(1.6rem, 3vw, 2.2rem); text-align: center; margin: 0 0 12px; }
.section__subtitle { text-align: center; color: var(--text-muted); margin: 0 0 36px; }

/* Features */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 36px;
}
.feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.feature__icon { font-size: 2rem; margin-bottom: 12px; }
.feature h3 { margin: 0 0 8px; }
.feature p { margin: 0; color: var(--text-muted); }

/* Menu */
.menu-section { margin-top: 44px; }
.menu-section:first-child { margin-top: 0; }
.menu-category {
  font-size: 1.3rem;
  margin: 0 0 18px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 8px;
}
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
}
.menu-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}
.menu-item--featured { border-color: var(--brand); border-width: 2px; }
.menu-item__header { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 6px; }
.menu-item__header h4 { margin: 0; font-family: Georgia, "Times New Roman", serif; }
.menu-item__price { font-weight: 700; font-size: 1.05rem; color: var(--brand); white-space: nowrap; }
.menu-item__desc { margin: 0; color: var(--text-muted); font-size: 0.92rem; }

/* Lead form */
.lead-form { display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 600; font-size: 0.92rem; }
.field input, .field textarea, .field select {
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 0.50rem;
  background: var(--surface);
  color: var(--text);
  font: inherit;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 25%, transparent);
}
.field-row { display: flex; gap: 14px; }
.field-row .field { flex: 1; min-width: 0; }
.form-status { margin: 0; font-size: 0.92rem; min-height: 1.2em; }
.form-status.is-error { color: oklch(0.55 0.20 20); }
.form-status.is-ok { color: oklch(0.62 0.19 145); }

/* Footer */
.site-footer {
  padding: 32px 0;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  text-align: center;
}

@media (max-width: 640px) {
  .nav { display: none; }
  .hero { padding: 64px 0; }
}
