@font-face { font-family: "Golos Text"; src: url(fonts/golos-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Golos Text"; src: url(fonts/golos-600.woff2) format("woff2"); font-weight: 500 600; font-display: swap; }
@font-face { font-family: "Unbounded"; src: url(fonts/unbounded-800.woff2) format("woff2"); font-weight: 700 800; font-display: swap; }

:root {
  --bg: #F3F0EA; --card: #FFFFFF; --line: #E2DDD3; --line2: #CFC8BB; --text: #1C1F24; --muted: #4A4F57;
  --accent: #8F4E2B; --accent-soft: #FBF5F0; --dark: #1C1F24; --dark2: #2C3037; --tg: #2AABEE;
  --chat: #0E1621; --chat-head: #17212B; --chat-bubble: #182533; --chat-key: #2B3A4A; --err: #8A2B1E;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.55 "Golos Text", system-ui, sans-serif; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
a:hover { color: var(--text); }
h1, h2 { font-family: "Unbounded", system-ui, sans-serif; font-weight: 800; letter-spacing: -0.01em; margin: 0; }
h1 { font-size: clamp(30px, 5.2vw, 52px); line-height: 1.08; }
h2 { font-size: clamp(24px, 3.4vw, 34px); line-height: 1.15; margin-bottom: 24px; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: var(--card); padding: 8px 12px; z-index: 9; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.narrow > * { max-width: 820px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.block { padding-top: 56px; }
main { padding-bottom: 72px; }

/* шапка */
.top { background: var(--card); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.top-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { flex-shrink: 0; }
.brand img { height: 40px; width: auto; }
.top-nav { display: flex; align-items: center; gap: 20px; font-size: 16px; }
.top-nav a:not(.btn) { color: var(--text); text-decoration: none; }
.top-nav a:not(.btn):hover { color: var(--accent); }
.lang { display: inline-flex; gap: 2px; background: var(--bg); border-radius: 10px; padding: 3px; font-size: 14px; }
.lang b, .lang a { padding: 4px 9px; border-radius: 8px; min-width: 36px; text-align: center; }
.lang b { background: var(--dark); color: #fff; font-weight: 600; }
.shop-name { font-family: "Unbounded", system-ui, sans-serif; font-weight: 800; font-size: 20px; }

/* кнопки */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 22px;
  border-radius: 14px; font: 600 17px/1.2 "Golos Text", system-ui, sans-serif; text-decoration: none; border: 0; cursor: pointer; }
.btn-sm { min-height: 44px; padding: 0 16px; font-size: 15px; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: #7A4224; color: #fff; }
.btn-dark { background: var(--dark); color: #fff; }
.btn-dark:hover { background: var(--dark2); color: #fff; }
.btn-line { background: var(--card); color: var(--text); border: 1px solid var(--line2); font-weight: 500; }
.btn-line:hover { border-color: var(--text); color: var(--text); }
.btn-tg { background: var(--tg); color: #fff; }
.btn-tg:hover { background: #1E96D4; color: #fff; }
.btn-tg svg { fill: none; stroke: currentColor; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 16px; }

/* первый экран */
.hero { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; padding-top: 56px; }
.hero-text { flex: 1 1 460px; min-width: 0; }
.eyebrow { color: var(--accent); font-weight: 600; font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 14px; }
.lead { font-size: 19px; color: var(--muted); margin-top: 18px; max-width: 620px; }
.hero-shop .lead { margin-top: 14px; }

/* окно Telegram */
.chat-col { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.chat { background: var(--chat); border-radius: 28px; overflow: hidden; color: #fff; font-size: 15px; line-height: 1.45; }
.chat-head { background: var(--chat-head); padding: 12px 16px; display: flex; align-items: center; gap: 12px; }
.chat-sub { color: #7D8B99; font-size: 13px; }
.chat-body { padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.bubble { max-width: 92%; background: var(--chat-bubble); border-radius: 14px 14px 14px 4px; padding: 10px 12px; }
.keys { max-width: 92%; display: flex; flex-direction: column; gap: 4px; }
.key { min-height: 40px; border-radius: 10px; background: var(--chat-key); display: flex; align-items: center; justify-content: center; }
.key-on { background: var(--accent); box-shadow: 0 0 0 2px #E0A47E; font-weight: 600; }
.chat-note { margin: 4px 0; font-size: 13px; color: #7D8B99; text-align: center; }
.ava { width: 40px; height: 40px; border-radius: 20px; background: var(--accent); color: #fff; display: inline-flex;
  align-items: center; justify-content: center; font-weight: 600; flex-shrink: 0; }
.ava-lg { width: 56px; height: 56px; border-radius: 28px; background: #F1E2D8; color: var(--accent); font-size: 18px; }

/* карточки */
.cards { display: grid; gap: 16px; }
.cards-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.cards-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.card-title { font-size: 18px; font-weight: 600; }
.card > .btn { align-self: flex-start; }
.card-dark { background: var(--dark); border-color: var(--dark); color: #fff; }
.card-dark .muted { color: #D9D3C7; }
.num { width: 36px; height: 36px; border-radius: 18px; background: var(--dark); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 600; }
.ico { stroke: var(--accent); fill: none; }
.price { font-family: "Unbounded", system-ui, sans-serif; font-weight: 800; font-size: 28px; }
.ticks { margin: 4px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.ticks li { padding-left: 26px; position: relative; }
.ticks li::before { content: "✓"; position: absolute; left: 0; color: #E0A47E; font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 10px 18px; font-size: 16px; }
.note-row { margin-top: 20px; background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 18px 22px;
  display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.note-row p { flex: 1 1 380px; }
.faq { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 0 20px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 600; min-height: 56px; display: flex; align-items: center; }
.faq p { padding-bottom: 18px; color: var(--muted); }

/* страница заведения */
.demo-note { margin-top: 20px; background: var(--accent-soft); border: 1px dashed var(--accent); border-radius: 14px; padding: 12px 16px; color: var(--accent); }
.master { flex-direction: row; align-items: center; gap: 14px; }
.list { background: var(--card); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; }
.list-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 22px; border-top: 1px solid var(--line); }
.list-row:first-child { border-top: 0; }
.list-row > div { display: flex; flex-direction: column; }
.row-title { font-weight: 600; }
.row-price { font-weight: 600; white-space: nowrap; }
.about { white-space: pre-line; }
.data-card { flex-direction: row; align-items: flex-start; gap: 14px; }
.data-card .ico { flex-shrink: 0; margin-top: 2px; }

/* формы */
.form-page { display: flex; justify-content: center; }
.form-card { width: 100%; max-width: 560px; gap: 14px; }
.h-form { font-size: clamp(22px, 3vw, 28px); line-height: 1.2; }
.form { display: flex; flex-direction: column; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 15px; font-weight: 500; }
.field input, .field select { min-height: 50px; border: 1px solid var(--line2); border-radius: 12px; padding: 0 14px;
  font: 400 16px "Golos Text", system-ui, sans-serif; color: var(--text); background: #fff; }
.code { font-size: 28px !important; letter-spacing: 0.5em; text-align: center; font-weight: 600 !important; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.45; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; flex-shrink: 0; accent-color: var(--accent); }
.contact-mail { font-size: 20px; font-weight: 600; user-select: all; }
.err { background: #FBEDEA; color: var(--err); border-radius: 12px; padding: 12px 14px; }
.trap { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }

/* подвал */
.foot { border-top: 1px solid var(--line); background: var(--card); }
.foot-row { display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; align-items: center; padding-top: 24px; padding-bottom: 24px; }
.foot-brand { display: flex; flex-direction: column; gap: 10px; }
.foot-brand img { height: 72px; width: auto; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 16px; }
.powered { display: flex; align-items: center; justify-content: center; gap: 12px; padding-top: 22px; padding-bottom: 22px; }
.powered img { height: 28px; width: auto; }
.powered p { white-space: nowrap; }

@media (max-width: 720px) {
  .wrap { padding: 0 16px; }
  .hide-sm { display: none; }
  .top-nav { gap: 10px; }
  .brand img { height: 28px; }
  .hero { padding-top: 32px; gap: 28px; }
  .block { padding-top: 44px; }
  .card { padding: 20px; }
  .foot-brand img { height: 56px; }
  .shop-name { font-size: 16px; }
  .powered img { height: 22px; }
}
@media (max-width: 480px) { .hide-xs { display: none; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
