/* my-qr-menu.com — shared styles
   Converted from the Claude Design component set (SiteNav / SiteFooter / MenuView).
   The design used per-element inline styles; recurring patterns are consolidated here. */

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

:root {
  --ink: #26292c;
  --ink-soft: #22262a;
  --body: #6b7176;
  --muted: #9aa0a6;
  --amber: #e5a82b;
  --amber-deep: #a5791a;
  --line: #edeae3;
  --cream: #faf7f0;
  --sand: #fafaf8;
  --dark: #1c1e20;
  --font-display: 'Unbounded', 'Trebuchet MS', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
}

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: #fff;
  color: var(--ink-soft);
  font-family: var(--font-body);
  line-height: 1.5;
}

a { color: var(--amber-deep); }
/* Every <img> declares width and height so the browser can reserve its box
   before the bytes arrive. Those attributes are also a presentational hint at
   the used size, though, which is not wanted: an image styled `height:34px`
   would take its width from the attribute and stretch. Resetting both to auto
   here keeps only the part worth having — the browser still derives the
   aspect-ratio from the attributes, so the box is still reserved — while
   letting the styling decide the size. Anything that wants a specific size sets
   it with a class or an inline style, both of which win over this rule. */
img { max-width: 100%; width: auto; height: auto; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.wrap-md { max-width: 1000px; margin: 0 auto; padding: 0 32px; }
.wrap-sm { max-width: 820px; margin: 0 auto; padding: 0 32px; }

.eyebrow {
  color: var(--amber-deep);
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

h1, h2, h3 { font-family: var(--font-display); color: var(--ink); margin: 0; }
h1 { font-weight: 800; line-height: 1.06; letter-spacing: -.02em; }
h2 { font-weight: 700; line-height: 1.12; }

.btn {
  display: inline-block;
  border-radius: 12px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  padding: 17px 32px;
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.btn-dark { background: var(--ink); color: #fff; }
.btn-amber { background: var(--amber); color: var(--ink); }
.btn-ghost {
  padding: 17px 28px;
  border: 1.5px solid #d9d6ce;
  color: var(--ink);
  font-weight: 600;
  background: none;
}

.grid { display: grid; gap: 24px; }
.g-240 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.g-280 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.g-330 { grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); }

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid #ecebe4;
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  flex-wrap: wrap;
  padding: 12px 24px;
}
.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
/* The mark is a real, scannable QR code (assets/logo-qr.png), not an icon.
   Larger than the design's 46px: the code is a scan target, and 46px is small
   for one. The source PNGs are 300x300 and 552x319, so this does not upscale. */
.logo-qr { width: 64px; height: 64px; border-radius: 10px; display: block; flex-shrink: 0; }
.logo-word { height: 64px; display: block; }

@media (max-width: 560px) {
  .logo-qr { width: 52px; height: 52px; }
  .logo-word { height: 52px; }
}
.nav-links { display: flex; gap: 4px; align-items: center; flex-wrap: wrap; justify-content: center; flex: 1 1 auto; }
.nav-links a {
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 8px;
  color: #4a5056;
  transition: .15s;
}
.nav-links a:hover { background: #f7f5ee; }
.nav-links a.is-active { color: var(--amber-deep); background: #faf4e6; }
/* Sits on the logo row at every width — the language switch is how a visitor
   reads the rest of the page, so it never moves inside the collapsible panel. */
.nav-right { display: flex; gap: 14px; align-items: center; }
.lang {
  display: flex; gap: 2px; align-items: center;
  font-size: 13px; font-weight: 600; color: #8b9097;
  border: 1px solid #e6e4dd; border-radius: 8px; padding: 4px;
}
.lang span { padding: 3px 8px; border-radius: 5px; }
.lang .on { background: var(--ink); color: #fff; }
.nav-cta {
  background: var(--amber); color: var(--ink);
  padding: 11px 20px; border-radius: 10px;
  font-weight: 700; font-size: 14px; text-decoration: none;
}

/* Hamburger. Hidden until the links collapse (see the 900px query below), and
   44x44 so it clears the minimum tap target on a phone. */
.nav-toggle {
  display: none;
  width: 44px; height: 44px; padding: 0;
  align-items: center; justify-content: center;
  border: 1px solid #e6e4dd; border-radius: 10px;
  background: #fff; cursor: pointer; flex-shrink: 0;
}
.nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after {
  display: block; width: 19px; height: 2px; border-radius: 2px; background: var(--ink);
}
.nav-toggle .bars { position: relative; }
.nav-toggle .bars::before, .nav-toggle .bars::after { content: ''; position: absolute; left: 0; }
.nav-toggle .bars::before { top: -6px; }
.nav-toggle .bars::after { top: 6px; }
.nav-toggle[aria-expanded='true'] { background: #faf4e6; border-color: var(--amber); }

/* ---------- footer ---------- */
.footer { background: var(--dark); color: #c7c3b9; }
.footer-top {
  max-width: 1200px; margin: 0 auto;
  padding: 64px 32px 40px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 40px;
}
.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
/* Slightly smaller than the nav lockup; the QR here is decorative, the nav one
   is the scan target. */
.footer-logo .logo-qr { width: 56px; height: 56px; }
.footer-logo .logo-word { height: 56px; }
.footer h4 { font-weight: 700; color: #fff; font-size: 14px; margin: 0 0 16px; letter-spacing: .02em; font-family: var(--font-body); }
.footer-links { display: flex; flex-direction: column; gap: 11px; font-size: 14px; }
.footer-links a { color: #a8a49a; text-decoration: none; }
.footer-links a:hover { color: #fff; }
/* Contact name, shown in both scripts: the Cyrillic form leads, the Latin one
   sits under it as a quieter second line. */
.footer-name { color: #fff; font-weight: 700; }
.footer-name-alt { color: #8f8b81; font-size: 13px; margin-top: -7px; }
.footer-brand p { font-size: 14.5px; line-height: 1.6; color: #8f8b81; max-width: 280px; margin: 0 0 18px; }
.socials { display: flex; gap: 10px; }
.socials a {
  width: 38px; height: 38px; border-radius: 9px;
  background: rgba(255, 255, 255, .07);
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; transition: .15s;
}
.socials a:hover { background: rgba(255, 255, 255, .16); }
.footer-bar { border-top: 1px solid rgba(255, 255, 255, .08); }
.footer-bar div {
  max-width: 1200px; margin: 0 auto; padding: 20px 32px;
  display: flex; justify-content: space-between; align-items: center;
  gap: 12px; flex-wrap: wrap;
  font-size: 13px; color: #726e65;
}

/* Qualifier under a product group heading — the listed price is a sample, and
   more variants exist than the three cards below it show. */
.group-note { color: var(--muted); font-size: 13.5px; line-height: 1.5; margin: 0 0 18px; }
.group-note a { color: var(--amber-deep); }

/* ---------- cards ---------- */
.card { background: var(--sand); border: 1px solid var(--line); border-radius: 20px; padding: 34px; }
.card-num { font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--amber); margin-bottom: 18px; }
.card h3 { font-weight: 600; font-size: 20px; margin-bottom: 10px; }
.card p { color: var(--body); font-size: 15px; line-height: 1.55; margin: 0; }

/* Feature tile. Opens with a photographic band rather than the design's emoji;
   the amber-on-charcoal toning is baked into the file by build/make_feature_bands.py,
   so nothing here has to tint it at paint time. */
.tile {
  border-radius: 18px; overflow: hidden;
  background: var(--ink); border: 1px solid rgba(255, 255, 255, .07);
}
.tile-media { position: relative; display: block; }
.tile-media img {
  display: block; width: 100%; height: auto;
  aspect-ratio: 16 / 9; object-fit: cover;
}
/* Fades the band into the card so it reads as part of the tile rather than a
   photograph laid on top of one. */
.tile-media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(38, 41, 44, 0) 45%, var(--ink) 100%);
}
.tile-body { padding: 24px 26px 28px; }
.tile b { display: block; font-weight: 600; font-size: 18px; margin-bottom: 8px; color: #fff; }
.tile p { color: #8f8b81; font-size: 14.5px; line-height: 1.55; margin: 0; }

/* ---------- phone frame ---------- */
.phone {
  width: 340px; max-width: 100%;
  height: 720px;
  background: var(--ink);
  border-radius: 46px;
  padding: 12px;
  box-shadow: 0 50px 90px -40px rgba(20, 25, 30, .6);
}
.phone-screen {
  width: 100%; height: 100%;
  border-radius: 36px;
  overflow: hidden; overflow-y: auto;
  background: #fff;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.phone-screen::-webkit-scrollbar { width: 0; height: 0; display: none; }

/* ---------- MenuView ---------- */
.menu { background: var(--m-bg); color: var(--m-text); font-family: var(--m-body); min-height: 100%; }
.menu-inner { max-width: 460px; margin: 0 auto; min-height: 100%; position: relative; }

.menu-hero { position: relative; height: 210px; }
.menu-hero .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.menu-hero .ov { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.62)); }
/* The shevitsa overlay was tuned against a flat gradient. Over a photograph it
   swallows the image, so it is dialled back to a texture rather than a layer. */
.menu-hero .pat { position: absolute; inset: 0; background-image: url('../assets/shevitsa-hero.png');
  background-size: 190px; background-repeat: repeat; opacity: .22; mix-blend-mode: overlay; }
.menu-hero .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 20px 22px; }
.menu-hero .cap b { font-family: var(--m-display); font-size: 30px; font-weight: 700; color: #fff; line-height: 1; display: block; }
.menu-hero .cap span { font-size: 13px; color: rgba(255,255,255,.82); margin-top: 6px; letter-spacing: .03em; display: block; }

.menu-head {
  background: var(--m-head-bg); padding: 38px 22px 30px; text-align: center;
  border-bottom: 1px solid var(--m-line);
}
.menu-head .rule { height: 3px; width: 52px; background: var(--m-accent); margin: 0 auto 18px; border-radius: 2px; }
.menu-head b { font-family: var(--m-display); font-size: 34px; font-weight: 700; color: var(--m-head-text); line-height: 1; display: block; }
.menu-head span { font-size: 12.5px; color: var(--m-head-muted); margin-top: 10px; letter-spacing: .16em; text-transform: uppercase; display: block; }

.menu-band { height: 36px; background-repeat: repeat-x; background-position: center; }

.menu-bar {
  position: sticky; top: 0; z-index: 5;
  background: var(--m-bg); border-bottom: 1px solid var(--m-line);
  padding: 12px 16px;
}
.menu-bar .row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 11px; }
.menu-bar .lbl { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--m-muted); }
.menu-bar .lang {
  display: inline-flex; gap: 5px; align-items: center;
  background: var(--m-accent); color: var(--m-accent-text);
  font-size: 10.5px; font-weight: 700; padding: 5px 9px; border-radius: 999px;
  border: none;
}
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  background: var(--m-chip); color: var(--m-text);
  font-size: 13px; font-weight: 600; padding: 8px 14px;
  border-radius: 10px; cursor: pointer; border: 1px solid var(--m-line);
  font-family: inherit;
}
.chip:hover { background: var(--m-accent); color: var(--m-accent-text); border-color: var(--m-accent); }

.menu-body { padding: 8px 16px 30px; }
.menu-sec { margin-top: 26px; scroll-margin-top: 60px; }
.menu-sec > .hd { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.menu-sec > .hd h3 { font-family: var(--m-display); font-size: 20px; font-weight: 700; color: var(--m-text); margin: 0; }
.menu-sec > .hd .ln { flex: 1; height: 1px; background: var(--m-line); }

.dish { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--m-line); align-items: center; }
.dish .pic {
  width: 78px; height: 78px; flex-shrink: 0; border-radius: 14px;
  object-fit: cover; display: block; background: var(--m-pic);
}
.dish .info { flex: 1; min-width: 0; }
.dish .top { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.dish .nm { font-weight: 600; font-size: 15.5px; color: var(--m-text); }
.dish .pr { font-weight: 700; font-size: 15px; color: var(--m-accent); white-space: nowrap; }
.dish .ds { font-size: 13px; color: var(--m-muted); line-height: 1.45; margin-top: 4px; }

.dish-flat { padding: 11px 0; border-bottom: 1px solid var(--m-line); }
.dish-flat .top { display: flex; align-items: baseline; gap: 8px; }
.dish-flat .dots { flex: 1; border-bottom: 1px dotted var(--m-line); transform: translateY(-4px); }
.dish-flat .pr { white-space: nowrap; }

.menu-foot { padding: 18px 16px 26px; text-align: center; border-top: 1px solid var(--m-line); }
.menu-foot span { font-size: 11.5px; color: var(--m-muted); letter-spacing: .04em; }
.menu-foot b { color: var(--m-accent); }

/* ---------- QR sample styles (qr-codes.html) ---------- */
/* Even auto-fit row, matching qr-codes.dc.html. */
.qr-styles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
}
.qr-style { border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.qr-style .shot {
  padding: 26px;
  display: flex; align-items: center; justify-content: center;
}
.qr-style .shot img { width: 100%; max-width: 180px; display: block; border-radius: 6px; }
.qr-style .cap { padding: 16px 18px; }
.qr-style .nm { font-weight: 700; font-size: 15px; }
.qr-style .sub { font-size: 13px; color: var(--muted); margin-top: 2px; }

/* ---------- misc ---------- */
.badge {
  display: inline-block; font-weight: 700; font-size: 12px;
  letter-spacing: .06em; padding: 6px 13px; border-radius: 999px; margin-bottom: 18px;
}
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: #faf4e6; color: var(--amber-deep);
  font-weight: 600; font-size: 13.5px; padding: 8px 16px; border-radius: 999px;
}
.checks { list-style: none; padding: 0; margin: 0 0 30px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; padding: 7px 0; font-size: 15px; color: #4a5056; }
.checks li::before { content: '✓'; color: var(--amber); font-weight: 800; }

.tabs { display: inline-flex; gap: 6px; background: #f2efe8; border-radius: 12px; padding: 5px; }
.tabs button {
  cursor: pointer; user-select: none; font-size: 14px; font-weight: 600;
  padding: 9px 18px; border-radius: 9px; transition: .15s;
  border: none; background: none; color: #7c828a; font-family: inherit;
}
.tabs button.is-active { background: #fff; color: var(--ink); box-shadow: 0 2px 8px -3px rgba(0,0,0,.25); }

.plan { background: #fff; border: 1px solid #ece6d8; border-radius: 20px; padding: 30px; display: flex; flex-direction: column; }
.plan .price { font-family: var(--font-display); font-weight: 700; font-size: clamp(24px, 5vw, 38px); color: var(--ink); }
.plan.feature { background: var(--ink); border-color: var(--ink); position: relative; box-shadow: 0 30px 60px -30px rgba(20,25,30,.5); }
.plan.feature .price, .plan.feature .nm { color: #fff; }
.tag {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--amber); color: var(--ink);
  font-size: 11px; font-weight: 800; padding: 5px 12px; border-radius: 999px;
  letter-spacing: .04em; white-space: nowrap;
}

table { width: 100%; border-collapse: collapse; }
.scroll-x { overflow-x: auto; }

/* Pricing ladder. Five columns of currency need room, so on a wide screen this
   stays a table and the wrapper scrolls if it has to. The mobile form is in the
   640px query — the markup is identical, only the presentation changes. */
.price-table { min-width: 560px; }
.price-table th { text-align: left; font-size: 13px; font-weight: 600; color: #8f8b81; padding: 0 12px 14px; }
.price-table tbody tr { border-top: 1px solid rgba(255, 255, 255, .08); }
.price-table tbody th { font-size: 15px; padding: 15px 12px; }
.price-table td { font-size: 15px; color: #ece9e2; padding: 15px 12px; }
/* Price and its discount badge are one unit — they must not break apart, at any
   width. The label beside them is what wraps if something has to. */
.price-table td > span { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.price-table .off {
  background: rgba(46, 125, 70, .22); color: #8bd3a0;
  font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: 999px;
}

input[type=range] {
  -webkit-appearance: none; appearance: none;
  height: 6px; border-radius: 999px; background: #3a3f44; outline: none; width: 100%;
}
input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%;
  background: var(--amber); cursor: pointer; border: 4px solid #fff;
  box-shadow: 0 3px 8px rgba(0,0,0,.3);
}
input[type=range]::-moz-range-thumb {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--amber); cursor: pointer; border: 4px solid #fff;
}

.field { width: 100%; border: 1.5px solid #e6e0d2; border-radius: 10px; padding: 13px 14px; font-size: 15px; font-family: inherit; outline: none; }
.field:focus { border-color: var(--amber); }
label { font-size: 13px; font-weight: 600; color: var(--body); display: block; margin-bottom: 7px; }

@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

@media (max-width: 900px) {
  /* The links become a collapsible panel on its own row; the logo, the language
     switch and the hamburger keep the first row to themselves. */
  .nav-toggle { display: flex; }
  .nav-links {
    order: 3; width: 100%; display: none;
    flex-direction: column; align-items: stretch; justify-content: flex-start;
    gap: 2px; padding: 6px 0 2px; border-top: 1px solid #ecebe4;
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { display: flex; align-items: center; min-height: 44px; padding: 10px 12px; font-size: 15.5px; }
}
@media (max-width: 640px) {
  .wrap, .wrap-md, .wrap-sm { padding: 0 20px; }
  .card { padding: 26px; }
  .phone { height: 620px; }

  /* Pricing ladder, restacked: one card per year, each row labelled with the
     column heading it came from (data-label). Beats a five-column table behind
     a horizontal scrollbar, which is unreadable at this width. */
  .scroll-x { overflow-x: visible; }
  .price-table, .price-table tbody, .price-table tr, .price-table td { display: block; }
  .price-table { min-width: 0; }
  .price-table thead { display: none; }
  .price-table tbody tr {
    border: 1px solid rgba(255, 255, 255, .1); border-radius: 14px;
    background: rgba(255, 255, 255, .03);
    padding: 4px 16px 10px; margin-bottom: 12px;
  }
  .price-table tbody th {
    display: block; padding: 12px 0 8px; font-size: 15px; color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
  }
  .price-table tbody th::before { content: attr(data-label) ' '; color: #8f8b81; font-weight: 600; }
  .price-table td {
    display: flex; align-items: center; justify-content: space-between; gap: 14px;
    padding: 10px 0;
  }
  .price-table td + td { border-top: 1px solid rgba(255, 255, 255, .06); }
  .price-table td::before {
    content: attr(data-label);
    flex: 1 1 auto; min-width: 0;
    color: #8f8b81; font-size: 13px; font-weight: 600; text-align: left;
  }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
