: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:#fff; --panel:#fff; --ink:#092a9d; --muted:#52628a; --line:#b7c5e9; --soft:#eef2ff; --accent:#08299d; --button-text:#fff; --display:system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif; --radius:24px; }
.brand { display:flex; align-items:center; justify-content:center; min-width:96px; min-height:60px; padding:8px 20px; background:#08299d; color:#fff; border-radius:20px; font-family:var(--display); font-size:27px; font-weight:400; letter-spacing:-1px; text-transform:lowercase; }
.header-inner { min-height:96px; }
.hero { grid-template-columns:1.1fr 1fr; gap:46px; padding:48px; margin:36px 0 48px; background:#08299d; color:#fff; border-radius:32px; }
.hero h1 { font-family:var(--display); font-weight:400; font-size:106px; letter-spacing:-5px; text-transform:lowercase; }
.hero-lead { font-family:var(--display); font-size:30px; line-height:1.25; font-weight:400; max-width:380px; margin:0 0 26px; }
.hero .eyebrow,.hero .address,.hero .demo-note { color:#d6e0ff; }
.hero .button { background:#fff; color:#08299d; border-color:#fff; border-radius:16px; }
.hero .button:hover { background:#eef2ff; filter:none; }
.hero .button.secondary { background:transparent; color:#fff; border-color:#b0c2ff; }
.hero .button.secondary:hover { background:#153bad; }
.hero :focus-visible { outline-color:#fff; }
.hero-media { display:flex; flex-direction:column; min-width:0; }
.hero-media .photo { flex:1; min-height:340px; background:#143cae; color:#fff; border:1px solid #8da7f0; border-radius:24px; }
.media-caption { display:flex; justify-content:space-between; gap:12px; padding:16px 2px 0; font-size:12px; color:#d6e0ff; }
.section h2 { font-family:var(--display); font-weight:450; font-size:36px; letter-spacing:-1.2px; }
.about-text { font-family:var(--display); font-size:24px; max-width:830px; font-weight:400; }
.tag { border-radius:14px; background:#eef2ff; color:#092a9d; border:1px solid #b7c5e9; }
.menu-grid { grid-template-columns:repeat(3,1fr); gap:20px; }
.menu-card { border:1px solid #9dafe0; border-radius:24px; background:#fff; }
.menu-card .photo { min-height:170px; background:#eef2ff; color:#092a9d; border-bottom:1px solid #b7c5e9; }
.menu-body { padding:22px; }
.menu-card h3 { font-family:var(--display); font-size:18px; font-weight:500; }
.price { font-size:20px; font-weight:550; }
.form { background:#f5f7ff; border:1px solid #9dafe0; border-radius:24px; }
.button { border-radius:16px; }
input,textarea,select { border-radius:12px; border-color:#8e9fc8; }
.contacts .photo { background:#08299d; color:#fff; border:0; border-radius:28px; }
.footer { background:#eef2ff; }
@media(max-width:760px) {
  .header-inner { min-height:82px; }
  .brand { min-width:74px; min-height:50px; font-size:24px; padding:6px 14px; border-radius:16px; }
  .hero { grid-template-columns:1fr; gap:28px; padding:30px 24px; margin:24px 0 36px; border-radius:26px; }
  .hero h1 { font-size:80px; letter-spacing:-4px; margin-bottom:20px; }
  .hero-lead { font-size:25px; }
  .hero-media .photo { min-height:220px; border-radius:20px; }
  .media-caption { font-size:10px; }
  .menu-grid { grid-template-columns:repeat(2,1fr); gap:16px; }
  .section h2 { font-size:29px; }
  .about-text { font-size:20px; }
}
@media(max-width:420px) {
  .hero { padding:28px 20px; }
  .hero .actions { flex-direction:column; }
  .hero .actions .button { width:100%; }
  .hero h1 { font-size:73px; }
  .menu-grid { grid-template-columns:1fr; }
  .menu-card { grid-template-columns:96px 1fr; }
  .menu-card .photo { min-height:140px; border-right:1px solid #b7c5e9; border-bottom:0; }
  .menu-body { padding:18px; }
  .menu-card h3 { font-size:16px; }
}
