/* ============================================================
   Mama Varit Coffee — фирменные токены
   Палитра продолжает печатное меню и бренд-борд:
   шалфей, молоко, зерно + глубокий эспрессо-зелёный для тёмных блоков.
   ============================================================ */
:root {
  --bean:  #4f7a66;   /* тёмный шалфей — лого, заголовки */
  --sage:  #7ea48f;   /* светлый шалфей — ценники */
  --sage-soft: #dbe7df;
  --milk:  #f4f4f0;   /* молочный фон печатного меню */
  --paper: #fdfdfb;
  --ink:   #152019;   /* чернильно-зелёный текст */
  --ink-soft: #5c6b62;

  /* зелёный с фона бренд-борда — основной цвет крупных блоков */
  --brand:     #75ac97;
  --brand-hi:  #83b7a3;  /* светлее — верх/центр, «солнечная» зона */
  --brand-lo:  #5f9a83;  /* глубже — низ и зона за текстом */
  --brand-deep:#4c8670;  /* самый тёмный акцент */
  --teal:   #48b294;  /* насыщенная бирюза с фирменной чашки */
  --caramel:#d3a068;
  --cream:  #f6f3ea;

  --font-display: "Unbounded", system-ui, sans-serif;
  --font-body: "Golos Text", system-ui, sans-serif;

  --radius: 18px;
  --pill: 999px;
  --maxw: 1060px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--milk);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}


.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}

a { color: var(--bean); }

:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection {
  background: var(--bean);
  color: var(--cream);
}

/* ============ Шапка ============ */
/* Над тёмным первым экраном прозрачная, при скролле — молочная */
.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  background: transparent;
  transition: background 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s ease;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 16px 20px;
}

.topbar.is-scrolled {
  background: rgba(244, 244, 240, 0.9);            /* запасной цвет для старых браузеров */
  background: color-mix(in srgb, var(--milk) 88%, transparent);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 26px rgba(15, 33, 25, 0.09);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--cream);
  transition: color 0.35s ease;
}

.topbar.is-scrolled .brand { color: var(--ink); }

/* фирменный знак: белое зерно на зелёном, как на бренд-борде */
.brand-badge {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: transparent;
  transition: transform 0.3s var(--ease);
}

.brand:hover .brand-badge { transform: rotate(-8deg) scale(1.06); }

.brand-badge img { display: block; }
.brand-badge { position: relative; }
.brand-badge .mark-dark { position: absolute; inset: 0; margin: auto; opacity: 0; transition: opacity 0.35s ease; }
.brand-badge .mark-light { opacity: 1; transition: opacity 0.35s ease; }
.topbar.is-scrolled .brand-badge .mark-light { opacity: 0; }
.topbar.is-scrolled .brand-badge .mark-dark { opacity: 1; }

.brand-name {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.brand-name em { font-style: normal; color: #ffe0b6; transition: color 0.35s ease; }
.topbar.is-scrolled .brand-name em { color: var(--bean); }

.topnav { display: flex; gap: 24px; }

.topnav a {
  position: relative;
  text-decoration: none;
  color: rgba(246, 243, 234, 0.78);
  font-weight: 600;
  font-size: 15px;
  transition: color 0.35s ease;
}

.topnav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.topnav a:hover { color: var(--cream); }
.topnav a:hover::after { transform: scaleX(1); }

.topbar.is-scrolled .topnav a { color: var(--ink-soft); }
.topbar.is-scrolled .topnav a:hover { color: var(--bean); }

/* ============ Первый экран ============ */
.hero {
  position: relative;
  margin-top: -70px;      /* уходит под прозрачную шапку */
  padding: 170px 20px 140px;
  overflow: hidden;
  background: var(--brand);
  color: #fff;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(120% 90% at 78% 2%,   var(--brand-hi) 0%, transparent 55%),
    radial-gradient(95% 90% at 6% 108%,    var(--brand-deep) 0%, transparent 60%),
    linear-gradient(158deg, var(--brand-hi) 0%, var(--brand) 46%, var(--brand-lo) 100%);
}

/* мягкие светящиеся пятна — медленно плывут */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.5;
  animation: orb-drift 22s ease-in-out infinite;
}

/* мягкие пятна на зелёном: кремово-белые «солнечные» + тёплый карамельный,
   как тон-в-тон завиток на бренд-борде */
.orb-1 {
  width: 500px; height: 500px;
  top: -150px; right: -80px;
  background: radial-gradient(closest-side, rgba(246, 243, 234, 0.42), transparent);
}

.orb-2 {
  width: 440px; height: 440px;
  bottom: -170px; left: -70px;
  background: radial-gradient(closest-side, rgba(211, 160, 104, 0.34), transparent);
  animation-delay: -8s;
}

.orb-3 {
  width: 380px; height: 380px;
  top: 28%; left: 46%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.3), transparent);
  animation-delay: -15s;
}

@keyframes orb-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(38px, -26px) scale(1.09); }
  66%      { transform: translate(-30px, 22px) scale(0.94); }
}

/* световое пятно за курсором */
.hero-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(320px circle at var(--mx, 70%) var(--my, 35%),
              rgba(255, 255, 255, 0.22), transparent 70%);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.hero:hover .hero-glow { opacity: 1; }

/* парящие зёрна — кремовые, тон-в-тон, как узор на борде */
.bean {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: calc(30px * var(--s, 1));
  height: auto;
  opacity: 0.5;
  filter: brightness(0) invert(1);
  animation: bean-float 16s ease-in-out infinite;
  animation-delay: var(--d, 0s);
}

@keyframes bean-float {
  0%, 100% { transform: translateY(0) rotate(-12deg); }
  50%      { transform: translateY(-26px) rotate(14deg); }
}

/* зернистость поверх — даёт «плёночную» фактуру */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* переход от тёмного экрана к молочной странице */
.hero-fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 120px;
  background: linear-gradient(180deg, transparent, rgba(244, 244, 240, 0.14));
  pointer-events: none;
}

.hero-inner {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  text-align: left;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 22px;
  padding: 8px 16px 8px 13px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: var(--pill);
  background: rgba(255, 255, 255, 0.12);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
  animation: pulse 2.2s ease-out infinite;
}

@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.6); }
  70%  { box-shadow: 0 0 0 10px rgba(255, 255, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

.hero-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(40px, 7.6vw, 92px);
  line-height: 1.04;
  letter-spacing: -0.015em;
  color: #fff;
}

.hero-line { display: block; }

.hero-swap {
  display: block;
  position: relative;
  min-height: 1.16em;
}

.swap-word {
  position: absolute;
  inset: 0 auto auto 0;
  opacity: 0;
  transform: translateY(0.35em);
  transition: opacity 0.45s ease, transform 0.45s ease;
  will-change: opacity, transform;
  /* тёплый кремово-карамельный акцент — читается на зелёном */
  background: linear-gradient(96deg, #ffffff 12%, #ffdcab 94%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
}

.swap-word.is-active { opacity: 1; transform: translateY(0); }
.swap-word.is-leaving { opacity: 0; transform: translateY(-0.35em); }

.hero-sub {
  max-width: 520px;
  margin: 28px 0 0;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.86);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: var(--pill);
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  transition: transform 0.25s var(--ease), box-shadow 0.25s ease,
              background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(-1px) scale(0.98); }

.btn-primary {
  background: #fff;
  color: var(--brand-deep);
  box-shadow: 0 12px 30px rgba(31, 74, 58, 0.28);
}

.btn-primary:hover { box-shadow: 0 18px 42px rgba(31, 74, 58, 0.34); }

.btn-ghost {
  border: 1.5px solid rgba(246, 243, 234, 0.32);
  color: var(--cream);
  background: transparent;
}

.btn-ghost:hover {
  border-color: var(--teal);
  background: rgba(72, 178, 148, 0.12);
}

/* ============ Цифры ============ */
.stats {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  max-width: var(--maxw);
  margin: -62px auto 0;
  padding: 30px 22px;
  background: linear-gradient(135deg, rgba(30, 46, 38, 0.22), rgba(30, 46, 38, 0.10));
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  backdrop-filter: blur(22px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 26px;
  box-shadow: 0 26px 64px rgba(15, 33, 25, 0.18),
              inset 0 1px 0 rgba(255, 255, 255, 0.5),
              inset 0 -1px 0 rgba(255, 255, 255, 0.1);
}

.stat {
  text-align: center;
  padding: 4px 10px;
  border-right: 1px solid rgba(255, 255, 255, 0.28);
}

.stat:last-child { border-right: 0; }

.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 600;
  line-height: 1.1;
  color: #ffffff;
  text-shadow: 0 1px 12px rgba(15, 33, 25, 0.25);
  font-variant-numeric: tabular-nums;
}

.stat-label {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

/* ============ Общие секции ============ */
.section-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(28px, 4.4vw, 44px);
  color: var(--bean);
}

/* ============ Бегущая строка ============ */
.ticker {
  overflow: hidden;
  padding: 46px 0 12px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.ticker-track {
  display: flex;
  align-items: center;
  gap: 34px;
  width: max-content;
  animation: ticker-scroll 30s linear infinite;
}

.ticker-track span {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.6vw, 42px);
  font-weight: 500;
  white-space: nowrap;
  color: var(--sage);
}

.ticker-track span.hollow {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--sage);
}

.ticker-track i {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--sage-soft);
}

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============ Хиты ============ */
.hits {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 26px 20px 10px;
}

.hits-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 22px;
}

.hits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(232px, 1fr));
  gap: 18px;
}

.hit {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 244px;
  padding: 24px 22px 22px;
  border-radius: 26px;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(155deg, var(--c1), var(--c2));
  box-shadow: 0 14px 34px rgba(15, 33, 25, 0.14);
  transition: transform 0.35s var(--ease), box-shadow 0.35s ease;
}

/* мягкий блик в углу карточки */
.hit::before {
  content: "";
  position: absolute;
  top: -70px;
  right: -60px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  transition: transform 0.55s var(--ease);
}

.hit:hover {
  transform: translateY(-8px);
  box-shadow: 0 26px 54px rgba(15, 33, 25, 0.26);
}

.hit:hover::before { transform: scale(1.35); }

.hit-tag {
  position: absolute;
  top: 20px;
  left: 22px;
  padding: 5px 12px;
  border-radius: var(--pill);
  background: rgba(255, 255, 255, 0.22);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hit-name {
  position: relative;
  margin: 0;
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 500;
  line-height: 1.15;
}

.hit-ing {
  position: relative;
  margin: 8px 0 16px;
  font-size: 13.5px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.86);
}

/* ценник — «жидкое стекло» как у Apple: полупрозрачный, с размытием
   фона карточки, светлой окантовкой и белой ценой */
.hit-price {
  position: relative;
  align-self: flex-start;
  padding: 8px 15px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.16);
  -webkit-backdrop-filter: blur(12px) saturate(150%);
          backdrop-filter: blur(12px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5),
              0 6px 16px rgba(15, 33, 25, 0.16);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 1px 2px rgba(15, 33, 25, 0.25);
}

.hit-price small { font-size: 11px; opacity: 0.8; }

/* ============ Меню ============ */
.menu {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 56px 20px 40px;
}

.menu-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.menu-note {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 500;
}

.menu-tabs {
  position: sticky;
  top: 62px;
  z-index: 15;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 12px;
  margin-top: 10px;
  background: rgba(244, 244, 240, 0.6);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  backdrop-filter: blur(16px) saturate(160%);
  border-radius: 16px;
  scrollbar-width: none;
}

.menu-tabs::-webkit-scrollbar { display: none; }

/* цветовой код категорий — у каждой свой оттенок */
[data-cat="coffee"]     { --cat: #9c6b45; }
[data-cat="ice-coffee"] { --cat: #4f8aa0; }
[data-cat="fresh"]      { --cat: #d18b3d; }
[data-cat="milkshake"]  { --cat: #bd6f8a; }
[data-cat="bubble-tea"] { --cat: #7a6aa8; }
[data-cat="tea"]        { --cat: #5f9463; }
[data-cat="lemonade"]   { --cat: #cfa02c; }

.menu-tab {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  border: 1.5px solid var(--sage-soft);
  border-radius: var(--pill);
  background: var(--paper);
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.25s, border-color 0.28s var(--ease), background 0.28s,
              transform 0.28s var(--ease), box-shadow 0.28s ease;
}

.menu-tab:hover {
  transform: translateY(-2px);
  border-color: var(--cat, var(--sage));
  color: var(--ink);
  box-shadow: 0 8px 18px color-mix(in srgb, var(--cat, var(--sage)) 22%, transparent);
}

.menu-tab.is-active {
  /* запасная сплошная заливка — если color-mix/border-box не поддержан,
     таб всё равно цветной, а не белый с белым текстом */
  background: var(--cat, var(--bean));
  /* border-box в конце — градиент заполняет чип до самого края,
     под прозрачной рамкой, без светлого ободка */
  background: linear-gradient(150deg, var(--cat, var(--bean)),
              color-mix(in srgb, var(--cat, var(--bean)) 76%, #000)) border-box;
  border-color: transparent;
  color: #fff;
  box-shadow: 0 10px 24px rgba(15, 33, 25, 0.22);
  box-shadow: 0 10px 24px color-mix(in srgb, var(--cat, var(--bean)) 42%, transparent);
}

.menu-tab:active { transform: translateY(0) scale(0.96); }

.menu-section { padding-top: 40px; }

.menu-section-title {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 23px;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 14px;
}

.menu-section-title::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--cat, var(--sage));
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--cat, var(--sage)) 16%, transparent);
}

/* линия-хвост, как у заголовков в печатном меню */
.menu-section-title::after {
  content: "";
  flex: 1;
  height: 1.5px;
  background: linear-gradient(90deg,
              color-mix(in srgb, var(--cat, var(--sage)) 40%, transparent), transparent);
}

.menu-section-volume {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
}

.menu-group-title {
  margin: 26px 0 0;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cat, var(--sage));
}

.menu-list {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 28px;
}

.menu-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 15px 17px;
  background: rgba(255, 255, 255, 0.42);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  backdrop-filter: blur(14px) saturate(160%);
  border-radius: var(--radius);
  border: 1px solid rgba(126, 164, 143, 0.28);
  box-shadow: 0 12px 30px rgba(15, 33, 25, 0.10),
              inset 0 1px 0 rgba(255, 255, 255, 0.6);
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s ease, border-color 0.3s ease;
}

.menu-item-thumb {
  flex-shrink: 0;
  width: 96px;
  height: 74px;
  object-fit: contain;
  object-position: center bottom;
  margin: -2px 4px -4px -6px;
  filter: drop-shadow(0 6px 10px rgba(15, 33, 25, 0.14));
}

.menu-item-body { flex: 1 1 auto; min-width: 0; }

/* цветная полоска категории, выезжает при наведении */
.menu-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--cat, var(--sage));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.32s var(--ease);
}

.menu-item:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--cat, var(--sage)) 45%, transparent);
  box-shadow: 0 16px 34px color-mix(in srgb, var(--cat, var(--sage)) 18%, transparent);
}

.menu-item:hover::before { transform: scaleY(1); }

.menu-item-name {
  margin: 0;
  font-size: 16.5px;
  font-weight: 700;
}

.menu-item-ing {
  margin: 3px 0 0;
  font-size: 13.5px;
  color: var(--ink-soft);
}

.menu-item-prices {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
  flex-shrink: 0;
}

.price-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.price-size {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-soft);
}

.price-pill {
  padding: 4px 11px;
  border-radius: 8px;
  background: var(--sage);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  transition: background 0.3s ease;
}

.price-pill small {
  font-size: 11px;
  font-weight: 600;
  opacity: 0.85;
}

.menu-item:hover .price-pill { background: var(--cat, var(--bean)); }

/* ============ О нас ============ */
.about {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 60px 20px 0;
}

.about-card {
  position: relative;
  overflow: hidden;
  padding: 48px 44px;
  border-radius: 30px;
  background:
    radial-gradient(120% 120% at 88% 0%, var(--brand-hi) 0%, transparent 58%),
    linear-gradient(150deg, var(--brand) 0%, var(--brand-lo) 100%);
  color: #fff;
  box-shadow: 0 24px 60px rgba(31, 74, 58, 0.22);
}

/* крупный водяной знак-зерно в углу карточки */
.about-card::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -90px;
  width: 320px;
  height: 320px;
  border-radius: 50% 50% 50% 12%;
  background: rgba(255, 255, 255, 0.12);
  transform: rotate(18deg);
}

.about-title { color: #fff; position: relative; }

.about-lead {
  position: relative;
  max-width: 640px;
  margin: 20px 0 0;
  font-size: clamp(19px, 2.2vw, 23px);
  line-height: 1.5;
}

.about-note {
  position: relative;
  max-width: 540px;
  margin: 16px 0 0;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.82);
}

/* ============ Контакты ============ */
.contacts {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 60px 20px 0;
}

.contact-list {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
}

.contact-list li {
  background: rgba(255, 255, 255, 0.42);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid rgba(126, 164, 143, 0.28);
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(15, 33, 25, 0.10),
              inset 0 1px 0 rgba(255, 255, 255, 0.6);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-weight: 600;
  transition: transform 0.3s var(--ease), box-shadow 0.3s ease, border-color 0.3s ease;
}

.contact-list li:hover {
  transform: translateY(-4px);
  border-color: var(--sage);
  box-shadow: 0 16px 34px rgba(79, 122, 102, 0.14);
}

.contact-place { grid-column: span 1; }

.contact-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage);
}

.contact-addr { font-size: 16px; }

.contact-note {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-soft);
}

/* Телефон филиала: тот же вес, что у адреса, но кликабельный и золотой —
   чтобы не спорил с кнопкой маршрута рядом. */
.contact-phone {
  align-self: flex-start;
  margin-top: 6px;
  font-size: 15px;
  font-weight: 700;
  color: var(--bean);
  transition: opacity 0.2s;
}

.contact-phone:hover { opacity: 0.75; }

.map-link {
  align-self: flex-start;
  margin-top: 10px;
  padding: 8px 16px;
  border: 1.5px solid var(--sage-soft);
  border-radius: var(--pill);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--bean);
  transition: background 0.25s, border-color 0.25s, color 0.25s, transform 0.2s var(--ease);
}

.map-link:hover {
  background: var(--bean);
  border-color: var(--bean);
  color: var(--paper);
  transform: translateY(-2px);
  text-decoration: none !important;
}

.contact-list a { text-decoration: none; }
.contact-list a.contact-addr:hover { color: var(--bean); }

.contact-hours { grid-column: 1 / -1; justify-content: center; align-items: center; text-align: center; }
.hours-badge {
  font-family: var(--font-display);
  font-size: clamp(44px, 6vw, 64px);
  font-weight: 700;
  line-height: 1;
  color: var(--bean);
  letter-spacing: -0.01em;
  margin: 2px 0 6px;
}

/* ============ Подвал ============ */
.footer {
  margin-top: 80px;
  padding: 64px 20px 56px;
  background:
    radial-gradient(100% 120% at 50% 0%, var(--brand-hi) 0%, transparent 60%),
    var(--brand);
  color: rgba(255, 255, 255, 0.82);
  text-align: center;
}

.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
}

.footer-logo {
  width: min(240px, 62vw);
  height: auto;
  opacity: 0.95;
}

.footer-line {
  margin: 20px 0 0;
  font-size: 15px;
  font-weight: 600;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 28px;
  margin-top: 22px;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  transition: opacity 0.25s ease;
}

.footer-links a:hover { opacity: 0.7; }

/* ============ Появление при загрузке и скролле ============ */
.rise {
  opacity: 0;
  animation: rise-in 0.9s var(--ease) forwards;
  animation-delay: calc(var(--i, 0) * 0.1s + 0.05s);
}

@keyframes rise-in {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--rd, 0s);
}

.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

#menu, #about, #contacts { scroll-margin-top: 72px; }
.menu-section { scroll-margin-top: 130px; }

/* ============ Адаптив ============ */
@media (max-width: 900px) {
  .hero { padding: 150px 20px 120px; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 14px 8px; }
  .stat:nth-child(2) { border-right: 0; }
  .about-card { padding: 36px 26px; }
}

@media (max-width: 720px) {
  .topbar-inner { padding: 12px 16px; gap: 10px; }
  .brand-badge { width: 32px; height: 32px; border-radius: 9px; }
  .brand-badge img { width: 20px; height: auto; }
  .brand-name { font-size: 13px; white-space: nowrap; }
  .topnav { gap: 16px; }
  .topnav a { font-size: 14px; white-space: nowrap; }
  .hero { margin-top: -62px; padding: 128px 20px 108px; }
  .menu-list { grid-template-columns: 1fr; }
  .ticker { padding-top: 34px; }
  .footer { margin-top: 60px; padding: 48px 20px 44px; }
}

@media (max-width: 480px) {
  .brand-name { font-size: 12px; }
  .menu-tabs { top: 58px; }
  .stats { margin-top: -48px; padding: 22px 14px; border-radius: 22px; }
  .stat { padding: 4px 4px; }
  .hit { min-height: 216px; }
}

/* Анимации намеренно включены всегда — в том числе на телефонах с системным
   режимом «уменьшить движение». Так задумано владельцем: сайт должен быть живым. */
