:root {
  color-scheme:light;
  --ink:#141414;
  --muted:#646464;
  --line:#e5e5e5;
  --soft:#f6f6f6;
  --accent:#2459db;
  --radius:18px;
}
* {
  box-sizing:border-box;
}
html {
  scroll-behavior:smooth;
  scroll-padding-top:90px;
}
body {
  margin:0;
  background:#fff;
  color:var(--ink);
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  font-size:16px;
  line-height:1.6;
}
a {
  color:inherit;
  text-underline-offset:4px;
}
button,input,select,textarea {
  font:inherit;
}
button,a,input,select,textarea {
  -webkit-tap-highlight-color:transparent;
}
:focus-visible {
  outline:3px solid var(--accent);
  outline-offset:4px;
}
.wrap {
  width:min(1120px,calc(100% - 40px));
  margin:auto;
}
.skip {
  position:fixed;
  top:8px;
  left:8px;
  padding:10px;
  background:#fff;
  z-index:10;
  transform:translateY(-160%);
}
.skip:focus {
  transform:none;
}
.header {
  border-bottom:1px solid var(--line);
  background:#fff;
}
.header-inner {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  min-height:86px;
}
.brand {
  font-size:22px;
  font-weight:750;
  letter-spacing:-.7px;
  text-decoration:none;
}
.nav {
  display:flex;
  gap:28px;
}
.nav a {
  font-size:14px;
  text-decoration:none;
}
.nav a:hover,.contact-links a:hover {
  color:var(--accent);
}
.hero {
  display:grid;
  grid-template-columns:1.15fr 1fr;
  gap:64px;
  align-items:center;
  padding:72px 0 80px;
}
.eyebrow {
  margin:0 0 20px;
  color:var(--muted);
  font-size:12px;
  font-weight:650;
  letter-spacing:1.4px;
  text-transform:uppercase;
}
.hero h1 {
  font-size:clamp(48px,7vw,88px);
  line-height:1.05;
  letter-spacing:-3px;
  margin:0 0 24px;
  overflow-wrap:anywhere;
}
.category {
  font-size:20px;
  margin:0 0 10px;
}
.address {
  color:var(--muted);
  margin:0 0 30px;
}
.actions {
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}
.button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:50px;
  padding:12px 22px;
  border:1px solid var(--accent);
  border-radius:9px;
  background:var(--accent);
  color:white;
  text-decoration:none;
  font-weight:600;
  cursor:pointer;
  transition:background .15s;
}
.button:hover {
  background:#1846b8;
}
.button.secondary {
  border-color:var(--line);
  background:#fff;
  color:var(--ink);
}
.button.secondary:hover {
  background:var(--soft);
}
.photo {
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:360px;
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:var(--soft);
  color:#737373;
  font-size:14px;
}
.demo-note {
  font-size:13px;
  color:var(--muted);
  margin:18px 0 0;
}
.section {
  padding:64px 0;
  border-top:1px solid var(--line);
}
.section-head {
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:20px;
  margin-bottom:28px;
}
.section h2 {
  font-size:32px;
  line-height:1.2;
  letter-spacing:-1px;
  margin:0;
}
.section-index {
  font-size:12px;
  color:var(--muted);
  letter-spacing:1px;
}
.about-text {
  max-width:760px;
  font-size:20px;
  line-height:1.7;
  margin:0 0 24px;
}
.tags {
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.tag {
  border:1px solid var(--line);
  border-radius:30px;
  padding:7px 13px;
  font-size:13px;
}
.menu-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
}
.menu-card {
  border:1px solid var(--line);
  border-radius:var(--radius);
  overflow:hidden;
  display:flex;
  flex-direction:column;
}
.menu-card .photo {
  min-height:140px;
  border:0;
  border-bottom:1px solid var(--line);
  border-radius:0;
}
.menu-body {
  padding:20px;
  display:flex;
  flex-direction:column;
  flex:1;
}
.menu-card h3 {
  font-size:17px;
  line-height:1.45;
  margin:0 0 8px;
}
.menu-detail {
  font-size:14px;
  color:var(--muted);
  margin:0 0 16px;
}
.price {
  font-size:20px;
  font-weight:650;
  margin:auto 0 0;
}
.menu-pending {
  background:var(--soft);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:32px;
}
.menu-pending h3 {
  margin:0;
  font-size:22px;
}
.form-layout {
  display:grid;
  grid-template-columns:1fr 1.4fr;
  gap:80px;
}
.form-intro p {
  color:var(--muted);
  max-width:340px;
}
.form-intro .eyebrow {
  margin-bottom:16px;
}
.form {
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:28px;
}
.fields {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
}
.field {
  display:flex;
  flex-direction:column;
  gap:6px;
  min-width:0;
  font-size:14px;
  font-weight:550;
}
.field.wide {
  grid-column:1/-1;
}
input,select,textarea {
  width:100%;
  min-width:0;
  min-height:48px;
  border:1px solid #cdcdcd;
  border-radius:8px;
  padding:11px 12px;
  background:white;
  color:var(--ink);
  font-weight:400;
}
textarea {
  resize:vertical;
  min-height:100px;
}
input:hover,select:hover,textarea:hover {
  border-color:#8a8a8a;
}
.hint {
  font-size:12px;
  font-weight:400;
  color:var(--muted);
}
.form-bottom {
  margin-top:24px;
}
.form-bottom .button {
  width:100%;
}
.form-bottom p {
  font-size:12px;
  color:var(--muted);
  margin:12px 0 0;
}
.status {
  margin-top:16px;
  padding:14px;
  border:1px solid var(--accent);
  border-radius:8px;
  color:var(--accent);
  font-weight:600;
}
.status:empty {
  display:none;
}
.contacts {
  display:grid;
  grid-template-columns:1.2fr 1fr;
  gap:60px;
}
.contacts p {
  margin:0 0 16px;
}
.contact-label {
  display:block;
  color:var(--muted);
  font-size:13px;
  margin-bottom:6px;
}
.contact-links {
  display:flex;
  flex-wrap:wrap;
  gap:12px 24px;
  margin-top:22px;
}
.contacts .photo {
  min-height:240px;
}
.footer {
  border-top:1px solid var(--line);
  padding:26px 0;
}
.footer-inner {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
  font-size:13px;
  color:var(--muted);
}
.footer p {
  margin:0;
}
::selection {
  background:#dbe5ff;
}
@media(max-width:760px) {
  .header-inner {
    min-height:76px;
    gap:12px;
  }
  .brand {
    font-size:19px;
  }
  .nav {
    gap:16px;
  }
  .nav a {
    font-size:13px;
  }
  .hero {
    grid-template-columns:1fr;
    gap:30px;
    padding:44px 0;
  }
  .hero h1 {
    font-size:56px;
    letter-spacing:-2px;
  }
  .eyebrow {
    margin-bottom:16px;
  }
  .category {
    font-size:17px;
  }
  .hero .photo {
    min-height:240px;
  }
  .section {
    padding:40px 0;
  }
  .section h2 {
    font-size:28px;
  }
  .section-head {
    margin-bottom:22px;
  }
  .about-text {
    font-size:17px;
  }
  .menu-grid {
    grid-template-columns:repeat(2,1fr);
    gap:12px;
  }
  .menu-body {
    padding:16px;
  }
  .menu-card h3 {
    font-size:16px;
  }
  .menu-card .photo {
    min-height:120px;
  }
  .form-layout {
    grid-template-columns:1fr;
    gap:20px;
  }
  .form-intro p {
    max-width:none;
    margin-bottom:0;
  }
  .form {
    padding:20px;
  }
  .fields {
    gap:16px;
  }
  .contacts {
    grid-template-columns:1fr;
    gap:28px;
  }
  .contacts .photo {
    min-height:200px;
  }
  .footer-inner {
    align-items:flex-start;
    flex-direction:column;
    gap:8px;
  }
}
@media(max-width:420px) {
  .wrap {
    width:calc(100% - 32px);
  }
  .nav {
    gap:12px;
  }
  .nav a {
    font-size:12px;
  }
  .brand {
    font-size:18px;
  }
  .hero h1 {
    font-size:50px;
  }
  .actions .button {
    flex:1;
    padding-inline:12px;
  }
  .menu-grid {
    grid-template-columns:1fr;
  }
  .menu-card {
    display:grid;
    grid-template-columns:96px 1fr;
  }
  .menu-card .photo {
    border-bottom:0;
    border-right:1px solid var(--line);
    min-height:132px;
  }
  .menu-detail {
    margin-bottom:10px;
  }
  .fields {
    grid-template-columns:1fr;
  }
  .field.wide {
    grid-column:auto;
  }
  .form {
    padding:18px;
  }
  .section-index {
    display:none;
  }
}
@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto;
  }
  * {
    transition:none!important;
  }
}

/* Shared layout and interactive states; each site adds its own design below. */
:root { --paper:#fff; --panel:#fff; --button-text:#fff; --display:system-ui,sans-serif; }
body { background:var(--paper); }
.header { background:var(--paper); }
.brand { color:var(--ink); }
.button { color:var(--button-text); }
.button:hover { background:var(--accent); filter:brightness(.92); }
.button.secondary { background:var(--paper); color:var(--ink); }
.button.secondary:hover { background:var(--soft); filter:none; }
.button:disabled { opacity:.55; cursor:default; }
.photo { color:var(--ink); }
input,select,textarea { background:var(--panel); color:var(--ink); border-color:var(--line); }
input:hover,select:hover,textarea:hover { border-color:var(--muted); }
input::placeholder,textarea::placeholder { color:var(--muted); opacity:1; }
input[type='date'],input[type='time'] { color-scheme:light; }
.theme-john input,.theme-john select,.theme-john textarea,
.theme-zapravka input,.theme-zapravka select,.theme-zapravka textarea { color-scheme:dark; }
.skip { background:var(--paper); color:var(--ink); }
.status { border-radius:var(--radius); }
.nav a { min-height:44px; display:flex; align-items:center; }
.contact-links a { min-height:44px; display:flex; align-items:center; }
::selection { background:var(--accent); color:var(--button-text); }
@media(max-width:350px) { .nav { gap:8px; } .nav a { font-size:11px; } }

:root { --paper:#f7f4ee; --panel:#fffdf9; --ink:#252723; --muted:#64665f; --line:#bdb8ac; --soft:#e6e0d5; --accent:#994d36; --button-text:#fffdf8; --display:Georgia,'Times New Roman',serif; --radius:0; }
.brand { font-family:var(--display); font-size:35px; font-weight:400; letter-spacing:-1px; }
.hero { grid-template-columns:1fr .85fr; gap:110px; padding:50px 0 74px; }
.hero h1 { font-family:var(--display); font-weight:400; font-size:138px; letter-spacing:-7px; margin-bottom:18px; }
.hero-lead { font-family:var(--display); font-size:30px; line-height:1.35; max-width:310px; margin:0 0 30px; }
.hero .category { font-size:14px; }
.hero-media { padding:10px; border:1px solid #777e71; border-radius:210px 210px 0 0; }
.hero-media .photo { min-height:430px; border-radius:200px 200px 0 0; border:1px solid #a49580; background:#ddd0bc; }
.media-caption { display:flex; justify-content:space-between; gap:10px; padding:15px 4px 6px; text-transform:uppercase; font-size:10px; letter-spacing:1px; }
.section h2 { font-family:var(--display); font-weight:400; font-size:38px; }
.about-text { font-family:var(--display); font-size:25px; max-width:800px; }
.tag { border-radius:0; border-color:#898d82; padding:5px 12px; }
.menu-grid { grid-template-columns:repeat(4,1fr); gap:20px; }
.menu-card { border:1px solid #686e61; padding:8px; background:var(--panel); }
.menu-card .photo { border:1px solid var(--line); min-height:200px; background:#e3d9c9; }
.menu-body { padding:16px 6px 8px; }
.menu-card h3 { font-family:var(--display); font-size:20px; font-weight:400; }
.price { font-weight:400; font-size:18px; margin-top:auto; padding-top:18px; }
.form { border:none; border-top:1px solid var(--ink); background:transparent; border-bottom:1px solid var(--ink); padding:28px 0; }
.form-layout { grid-template-columns:1fr 1.2fr; gap:100px; }
.button { border-radius:0; }
input,select,textarea { border-radius:0; background:var(--panel); }
.contacts .photo { border:8px solid var(--panel); outline:1px solid #686e61; outline-offset:-1px; }
@media(max-width:760px) {
  .brand { font-size:29px; }
  .hero { grid-template-columns:1fr; gap:30px; padding:34px 0 44px; }
  .hero h1 { font-size:104px; letter-spacing:-5px; }
  .hero-lead { font-size:27px; }
  .hero-media { max-width:330px; width:100%; margin:0 auto; }
  .hero-media .photo { min-height:300px; }
  .section h2 { font-size:32px; }
  .about-text { font-size:22px; }
  .menu-grid { grid-template-columns:repeat(2,1fr); gap:14px; }
  .menu-card { display:flex; }
  .menu-card .photo { min-height:140px; }
  .menu-card h3 { font-size:18px; }
  .form-layout { grid-template-columns:1fr; gap:22px; }
}
@media(max-width:350px) { .menu-grid { grid-template-columns:1fr; } }
