/* ============================================================
   ГИЛЬЕРМО — кофейня у Дудергофского канала
   Палитра снята с интерьера: тёмное дерево и какао, крем,
   натуральная зелень листвы, янтарная подсветка, потолок-сетка.
   Светлый шрифт на тёмно-коричневом — по пожеланию владельцев.
   ============================================================ */

@font-face {
  font-family: "Prata";
  src: url("../fonts/prata-cyr.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
  font-display: swap;
}
@font-face {
  font-family: "Prata";
  src: url("../fonts/prata-lat.woff2") format("woff2");
  unicode-range: U+0000-00FF;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-cyr.woff2") format("woff2");
  font-weight: 400 800;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-lat.woff2") format("woff2");
  font-weight: 400 800;
  unicode-range: U+0000-00FF;
  font-display: swap;
}

:root {
  --ceiling: #191410;
  --bark: #251c12;
  --bark-soft: #302517;
  --board: #1c1610;
  --cream: #f1e9d7;
  --cream-deep: #e7dcc3;
  --wall: #ecdfc2;
  --wall-shade: #ddcfae;
  --cocoa: #3b2b1e;
  --cocoa-soft: #6f5d49;
  --leaf: #5e8049;
  --leaf-deep: #3d5a31;
  --sage: #a9bd8f;
  --oak: #c0a585;
  --amber: #e8a84c;
  --amber-soft: #f2c37e;
  --heart: #c94f4e;
  --white-warm: #fdfaf4;
  --radius: 20px;
  --shadow: 0 18px 50px -18px rgba(59, 43, 30, 0.35);
  --display: "Prata", "Georgia", serif;
  --body: "Manrope", "Segoe UI", system-ui, sans-serif;
  /* зерно штукатурки — светлая крапинка на тёмном дереве */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='linear' slope='0.04'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='260' height='260' fill='%23f1e9d7' filter='url(%23n)'/%3E%3C/svg%3E");
}

* { margin: 0; padding: 0; box-sizing: border-box; }

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

body {
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--cream);
  background-color: var(--bark);
  background-image: var(--grain);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

::selection { background: var(--amber); color: var(--cocoa); }

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

.container {
  width: min(1120px, 100% - clamp(32px, 8vw, 96px));
  margin-inline: auto;
}

section { scroll-margin-top: 84px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sage);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--amber);
  border-radius: 2px;
}

h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(30px, 4.6vw, 46px);
  line-height: 1.18;
  margin: 14px 0 18px;
  letter-spacing: 0.01em;
}

.section {
  padding-block: clamp(64px, 9vw, 116px);
}

.lead {
  font-size: clamp(17px, 2vw, 19px);
  color: rgba(241, 233, 215, 0.72);
  max-width: 56ch;
}

/* ---------- Кнопки ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font: 700 16px/1 var(--body);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-amber {
  background: var(--amber);
  color: #2c1f12;
  box-shadow: 0 10px 28px -10px rgba(232, 168, 76, 0.55);
}
.btn-amber:hover { box-shadow: 0 16px 36px -10px rgba(232, 168, 76, 0.7); }

.btn-ghost {
  border-color: rgba(244, 238, 227, 0.45);
  color: var(--cream);
}
.btn-ghost:hover { border-color: var(--cream); background: rgba(244, 238, 227, 0.08); }

.btn-outline {
  border-color: rgba(241, 233, 215, 0.32);
  color: var(--cream);
  background: transparent;
}
.btn-outline:hover { border-color: var(--cream); background: rgba(241, 233, 215, 0.07); }

/* ---------- Навигация ---------- */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  padding-top: max(10px, env(safe-area-inset-top));
  transition: background 0.35s ease, box-shadow 0.35s ease;
  color: var(--cream);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 10px;
}
.nav.scrolled {
  background: rgba(28, 21, 13, 0.88);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 30px -18px rgba(0, 0, 0, 0.65);
  color: var(--cream);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  font-family: var(--display);
  font-size: 22px;
  letter-spacing: 0.02em;
}
.brand img { width: 34px; height: auto; flex: none; filter: drop-shadow(0 0 7px rgba(255, 214, 140, 0.75)); }
.nav.scrolled .brand img { filter: drop-shadow(0 0 5px rgba(255, 214, 140, 0.55)); }

.nav-vk {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  opacity: 0.85;
  transition: opacity 0.2s;
}
.nav-vk:hover { opacity: 1; }
.nav-vk svg { width: 21px; height: 21px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 34px);
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  opacity: 0.85;
  transition: opacity 0.2s;
  /* тап-зона ≥44px без сдвига раскладки */
  display: inline-block;
  padding: 14px 6px;
  margin: -14px -6px;
}
.nav-links a:hover { opacity: 1; }

.nav-phone {
  font-weight: 800;
  text-decoration: none;
  font-size: 15px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1.5px solid currentColor;
  opacity: 0.9;
  white-space: nowrap;
}
.nav-phone:hover { opacity: 1; }

.burger {
  display: none;
  background: none;
  border: 0;
  width: 44px;
  height: 44px;
  cursor: pointer;
  color: inherit;
}
.burger span,
.burger span::before,
.burger span::after {
  display: block;
  width: 24px;
  height: 2.5px;
  border-radius: 2px;
  background: currentColor;
  position: relative;
  margin-inline: auto;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
.burger span::before { top: -8px; }
.burger span::after { top: 8px; }

.mobile-menu { display: none; }
body.menu-open .burger span { transform: rotate(45deg); }
body.menu-open .burger span::before { transform: rotate(-90deg) translateX(-8px); top: 0; }
body.menu-open .burger span::after { opacity: 0; }

/* ---------- Хиро: потолок кофейни (как в первой версии) ---------- */

.hero {
  position: relative;
  background-color: var(--ceiling);
  background-image:
    radial-gradient(720px 420px at 50% 118%, rgba(232, 168, 76, 0.16), transparent 65%),
    radial-gradient(420px 260px at 12% -8%, rgba(94, 128, 73, 0.24), transparent 70%),
    radial-gradient(420px 260px at 88% -8%, rgba(94, 128, 73, 0.19), transparent 70%),
    repeating-linear-gradient(0deg, transparent 0 45px, rgba(244, 238, 227, 0.045) 45px 46px),
    repeating-linear-gradient(90deg, transparent 0 45px, rgba(244, 238, 227, 0.045) 45px 46px);
  color: var(--cream);
  overflow: hidden;
  padding-top: 96px;
}

.hero-inner {
  position: relative;
  z-index: 3;
  min-height: min(88vh, 900px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-block: clamp(70px, 10vh, 130px) clamp(90px, 12vh, 150px);
}

/* Настоящая вывеска на месте эмблемы: то же янтарное свечение */
.hero-logo {
  width: clamp(120px, 17vw, 172px);
  height: auto;
  filter:
    drop-shadow(0 0 18px rgba(255, 214, 140, 0.85))
    drop-shadow(0 0 60px rgba(232, 168, 76, 0.45));
  animation: sign-breathe 5.5s ease-in-out infinite;
}
@keyframes sign-breathe {
  0%, 100% {
    filter:
      drop-shadow(0 0 18px rgba(255, 214, 140, 0.85))
      drop-shadow(0 0 60px rgba(232, 168, 76, 0.45));
  }
  50% {
    filter:
      drop-shadow(0 0 13px rgba(255, 214, 140, 0.65))
      drop-shadow(0 0 44px rgba(232, 168, 76, 0.32));
  }
}

.hero h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(52px, 10vw, 104px);
  line-height: 1.05;
  letter-spacing: 0.03em;
  margin-top: 18px;
  color: var(--white-warm);
  text-shadow:
    0 0 26px rgba(232, 168, 76, 0.4),
    0 0 90px rgba(232, 168, 76, 0.22);
}

.hero .slogan {
  margin-top: 18px;
  font-size: clamp(17px, 2.4vw, 21px);
  font-weight: 500;
  color: rgba(244, 238, 227, 0.82);
  max-width: 34ch;
}

.hero-address {
  margin-top: 26px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.06em;
  color: rgba(244, 238, 227, 0.66);
}
.hero-address svg { width: 16px; height: 16px; color: var(--amber); }

.hero-cta {
  margin-top: 38px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  z-index: 3;
  color: rgba(244, 238, 227, 0.5);
  animation: cue 2.4s ease-in-out infinite;
}
@keyframes cue {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

/* Зелень с потолка (пряди строит main.js) */

.vines {
  position: absolute;
  inset: 0 0 auto 0;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}
.vine {
  position: absolute;
  top: 0;
  left: var(--x);
  width: var(--w, 58px);
  transform-origin: 50% 0;
  animation: sway var(--dur, 9s) ease-in-out var(--ph, 0s) infinite alternate;
}
.vine svg { display: block; width: 100%; height: auto; filter: drop-shadow(0 10px 14px rgba(88, 70, 46, 0.18)); }
.vine.back { opacity: 0.55; filter: blur(0.6px); }
.vine.mid { opacity: 0.85; }
@keyframes sway {
  from { transform: rotate(-1.7deg); }
  to { transform: rotate(1.9deg); }
}

/* Лампы Эдисона — свисают из тёмного потолка */

.bulb {
  position: absolute;
  top: 0;
  width: 2px;
  background: linear-gradient(rgba(244, 238, 227, 0), rgba(244, 238, 227, 0.25));
  pointer-events: none;
  z-index: 1;
}
.bulb::after {
  content: "";
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 26px;
  border-radius: 46% 46% 50% 50% / 40% 40% 60% 60%;
  background: radial-gradient(circle at 50% 62%, #ffd98f 0 18%, rgba(232, 168, 76, 0.75) 42%, rgba(120, 80, 30, 0.35) 78%);
  box-shadow:
    0 0 22px 6px rgba(232, 168, 76, 0.45),
    0 0 70px 24px rgba(232, 168, 76, 0.16);
  animation: flicker 5s ease-in-out infinite;
}
@keyframes flicker {
  0%, 100% { opacity: 1; }
  46% { opacity: 0.86; }
  52% { opacity: 0.97; }
  71% { opacity: 0.9; }
}

/* ---------- Бегущая строка ---------- */

.ticker {
  background: var(--leaf-deep);
  color: rgba(244, 238, 227, 0.92);
  overflow: hidden;
  padding-block: 13px;
  border-top: 1px solid rgba(232, 168, 76, 0.25);
}
.ticker-track {
  display: flex;
  gap: 44px;
  width: max-content;
  animation: ticker 32s linear infinite;
}
.ticker span {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  white-space: nowrap;
}
.ticker span::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--amber);
}
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Меню: доска ---------- */

.menu-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}

.board {
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(244, 238, 227, 0.05), transparent 55%),
    var(--board);
  border-radius: 28px;
  padding: clamp(26px, 4.5vw, 52px);
  color: var(--cream);
  box-shadow: var(--shadow);
  border: 1px solid rgba(192, 165, 133, 0.18);
}

.board-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 4px;
  margin-bottom: 24px;
}
.board-tab {
  background: none;
  border: 0;
  cursor: pointer;
  font: 800 15px/1 var(--body);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(244, 238, 227, 0.5);
  /* крупный хитбокс: вся зона вокруг надписи кликабельна */
  padding: 16px 14px;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-bottom: 3px solid transparent;
  transition: color 0.25s ease, border-color 0.25s ease;
}
.board-tab svg { width: 15px; height: 15px; }
.board-tab .ic-star { color: var(--amber); }
.board-tab .ic-snow { color: #7db8d8; }
.board-tab:hover { color: rgba(244, 238, 227, 0.85); }
.board-tab.active { color: var(--cream); border-color: var(--amber); }

.board-panel { display: none; }
.board-panel.active { display: block; animation: fadeUp 0.45s ease; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.m-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 2px;
  border-bottom: 1px dashed rgba(244, 238, 227, 0.1);
}
.m-row:last-child { border-bottom: 0; }
.m-name {
  font-weight: 700;
  font-size: 16.5px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.m-name svg { width: 15px; height: 15px; color: var(--heart); flex: none; }
.m-price {
  font-weight: 800;
  font-size: 16.5px;
  letter-spacing: 0.04em;
  white-space: nowrap;
  color: rgba(244, 238, 227, 0.92);
  font-variant-numeric: tabular-nums;
}
.m-price small {
  font-size: 12px;
  font-weight: 700;
  color: rgba(244, 238, 227, 0.45);
  margin-left: 4px;
}
.m-note {
  flex-basis: 100%;
  font-size: 13.5px;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0.01em;
  color: rgba(244, 238, 227, 0.52);
  margin-top: -4px;
}

.m-row.signature {
  background: linear-gradient(90deg, rgba(232, 168, 76, 0.14), rgba(232, 168, 76, 0.02) 70%);
  border-radius: 12px;
  padding-inline: 14px;
  margin-inline: -14px;
  border-bottom-color: transparent;
  flex-wrap: wrap;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-block: 6px 18px;
}
.chip {
  border: 1.5px solid rgba(244, 238, 227, 0.22);
  border-radius: 999px;
  padding: 10px 20px;
  font-weight: 700;
  font-size: 14.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(244, 238, 227, 0.85);
}
.board-note {
  font-size: 14px;
  color: rgba(244, 238, 227, 0.5);
  display: flex;
  align-items: center;
  gap: 9px;
}
.board-note::before { content: "☺"; color: var(--amber); font-size: 16px; }

/* ---------- Витрина напитков: фото без подписей ----------
   Названий нет сознательно: меню скоро обновится — лента
   переживёт его без правок. */

.drinks { margin-top: clamp(44px, 6vw, 68px); }
.drinks h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(23px, 3.2vw, 32px);
  margin-bottom: 10px;
}
.drinks-lead {
  font-size: clamp(15.5px, 1.8vw, 17px);
  color: rgba(241, 233, 215, 0.7);
  max-width: 58ch;
}
.drinks-strip {
  margin-top: 26px;
  display: flex;
  gap: clamp(10px, 1.6vw, 16px);
  overflow-x: auto;
  padding-bottom: 14px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(241, 233, 215, 0.28) transparent;
}
.drinks-strip figure {
  flex: 0 0 auto;
  width: min(236px, 58vw);
  scroll-snap-align: start;
  border-radius: 18px;
  overflow: hidden;
  background: var(--bark-soft);
}
.drinks-strip img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
  transition: transform 0.7s cubic-bezier(0.2, 0.6, 0.2, 1);
}
@media (hover: hover) {
  .drinks-strip figure:hover img { transform: scale(1.045); }
}
.drinks-hint {
  margin-top: 12px;
  font-size: 13.5px;
  font-weight: 600;
  color: rgba(241, 233, 215, 0.5);
}

/* ---------- Галерея ---------- */

.g-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(10px, 1.6vw, 16px);
}
.g-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bark-soft);
}
.g-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.2, 0.6, 0.2, 1);
}
.g-item:hover img { transform: scale(1.045); }
.g-item figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 44px 18px 15px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.03em;
  color: var(--cream);
  background: linear-gradient(transparent, rgba(25, 20, 16, 0.72));
}
.g-big { grid-column: 1 / 7; grid-row: 1 / 3; aspect-ratio: 3 / 4.06; }
.g-big img { object-position: 50% 28%; } /* вывеска в кадре и при мобильном кропе */
.g-a { grid-column: 7 / 10; aspect-ratio: 3 / 4; }
.g-b { grid-column: 10 / 13; aspect-ratio: 3 / 4; }
.g-c { grid-column: 7 / 10; aspect-ratio: 3 / 4; }
.g-d { grid-column: 10 / 13; aspect-ratio: 3 / 4; }

/* ---------- Детям ---------- */

.kids {
  background-color: var(--bark-soft);
  background-image: var(--grain);
  position: relative;
  overflow: hidden;
}

.kids-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
}

.kids-house {
  position: relative;
  padding-top: 8px;
}
.kids-house .house-line {
  position: absolute;
  top: -58px;
  left: -26px;
  width: clamp(150px, 20vw, 220px);
  height: auto;
  color: var(--leaf);
  opacity: 0.5;
  z-index: 0;
}
.kids-house > * { position: relative; z-index: 1; }

.house-line path {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}
.in-view .house-line path {
  animation: draw 2.2s ease 0.2s forwards;
}
@keyframes draw { to { stroke-dashoffset: 0; } }

.kids-list {
  list-style: none;
  margin-top: 22px;
  display: grid;
  gap: 12px;
}
.kids-list li {
  display: flex;
  gap: 12px;
  align-items: baseline;
  font-weight: 600;
}
.kids-list li::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--leaf);
  transform: translateY(-1px);
}

.kids-photos {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.kids-photos img {
  border-radius: var(--radius);
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 3 / 4;
}

/* ---------- Гильермо в телефоне ---------- */

.phone-section {
  background:
    radial-gradient(640px 420px at 85% 10%, rgba(232, 168, 76, 0.14), transparent 60%),
    linear-gradient(135deg, #4d6c3b 0%, var(--leaf-deep) 78%);
  color: var(--cream);
}
.phone-section .eyebrow { color: var(--amber-soft); }
.phone-section .lead { color: rgba(244, 238, 227, 0.78); }

.phone-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}

.phone-points {
  list-style: none;
  margin-top: 26px;
  display: grid;
  gap: 16px;
}
.phone-points li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-weight: 600;
}
.phone-points svg {
  width: 22px;
  height: 22px;
  flex: none;
  color: var(--amber);
  margin-top: 3px;
}

.stamp-card {
  background: #33271a;
  color: var(--cream);
  border: 1px solid rgba(192, 165, 133, 0.24);
  border-radius: 26px;
  padding: 26px;
  max-width: 360px;
  margin-inline: auto;
  box-shadow: 0 30px 70px -25px rgba(10, 18, 8, 0.7);
  rotate: 2deg;
  transition: rotate 0.4s ease;
}
.stamp-card:hover { rotate: 0deg; }

.stamp-head {
  display: flex;
  align-items: center;
  gap: 11px;
  padding-bottom: 16px;
  border-bottom: 1.5px dashed rgba(241, 233, 215, 0.22);
}
.stamp-head img { width: 34px; height: auto; }
.stamp-head b { font-family: var(--display); font-weight: 400; font-size: 19px; }
.stamp-head small { display: block; font-size: 12.5px; color: rgba(241, 233, 215, 0.6); font-weight: 600; }

.stamp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 13px;
  padding-block: 20px 14px;
}
.stamp {
  aspect-ratio: 1;
  border-radius: 50%;
  border: 2px dashed rgba(241, 233, 215, 0.3);
  background: none;
  cursor: pointer;
  display: grid;
  place-items: center;
  color: transparent;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.stamp svg { width: 56%; height: 56%; }
.stamp.filled {
  background: var(--leaf);
  border-color: var(--leaf);
  color: var(--cream);
  animation: stamp-in 0.45s cubic-bezier(0.2, 1.4, 0.4, 1);
}
@keyframes stamp-in {
  0% { transform: scale(0.4); }
  100% { transform: scale(1); }
}

.stamp-status {
  font-weight: 700;
  font-size: 15px;
  min-height: 24px;
}
.stamp-demo-note {
  margin-top: 10px;
  font-size: 12.5px;
  color: rgba(241, 233, 215, 0.6);
  font-weight: 600;
}
.stamp-demo-note a { color: var(--sage); font-weight: 800; }

.phone-cta {
  margin-top: 30px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.phone-qr {
  margin-top: 30px;
  display: flex;
  align-items: center;
  gap: 18px;
}
.phone-qr img {
  width: 128px;
  height: 128px;
  border-radius: 18px;
  box-shadow: 0 12px 30px -14px rgba(15, 34, 25, 0.55);
}
.phone-qr p {
  font-size: 14px;
  font-weight: 600;
  color: rgba(244, 238, 227, 0.75);
  line-height: 1.55;
}
.phone-qr a { color: var(--amber-soft); font-weight: 800; text-decoration: none; }
.phone-qr a:hover { text-decoration: underline; }
@media (max-width: 900px) {
  /* на телефоне QR не нужен — есть кнопка */
  .phone-qr { display: none; }
}

/* ---------- Как найти ---------- */

.visit-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: stretch;
}

.visit-card {
  background: var(--bark-soft);
  border: 1px solid rgba(192, 165, 133, 0.16);
  border-radius: 26px;
  padding: clamp(26px, 4vw, 44px);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.visit-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.visit-row svg {
  width: 22px;
  height: 22px;
  flex: none;
  color: var(--sage);
  margin-top: 4px;
}
.visit-row b { display: block; font-size: 17px; }
.visit-row span { color: rgba(241, 233, 215, 0.65); font-size: 15px; font-weight: 500; }
.visit-row a { text-decoration: none; font-weight: 800; }
.visit-row a:hover { color: var(--sage); }

.visit-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 4px; }

.review-hint {
  margin-top: auto;
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(232, 168, 76, 0.12);
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.5;
}
.review-hint a { color: var(--amber-soft); font-weight: 800; }

.visit-photo {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  min-height: 420px;
}
.visit-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.visit-photo figcaption {
  position: absolute;
  inset: auto 14px 14px 14px;
  background: rgba(25, 20, 16, 0.72);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: var(--cream);
  border-radius: 14px;
  padding: 13px 18px;
  font-weight: 700;
  font-size: 14.5px;
}

/* ---------- Футер ---------- */

.footer {
  background-color: var(--ceiling);
  background-image:
    radial-gradient(520px 300px at 50% -30%, rgba(232, 168, 76, 0.12), transparent 65%),
    repeating-linear-gradient(90deg, transparent 0 45px, rgba(244, 238, 227, 0.04) 45px 46px);
  color: rgba(244, 238, 227, 0.85);
  text-align: center;
  padding-block: clamp(56px, 8vw, 90px) 34px;
}
.footer .f-logo {
  width: 74px;
  height: auto;
  margin-inline: auto;
  filter:
    drop-shadow(0 0 14px rgba(255, 214, 140, 0.55))
    drop-shadow(0 0 40px rgba(232, 168, 76, 0.3));
}
.footer .f-name {
  font-family: var(--display);
  font-size: 30px;
  margin-top: 12px;
  color: var(--white-warm);
}
.footer .f-slogan {
  margin-top: 8px;
  color: rgba(244, 238, 227, 0.55);
  font-size: 15px;
}
.f-contacts {
  margin-top: 22px;
  display: flex;
  gap: 10px 28px;
  justify-content: center;
  flex-wrap: wrap;
  font-weight: 700;
  font-size: 15px;
}
.f-contacts a { text-decoration: none; }
.f-contacts a:hover { color: var(--amber-soft); }
.f-social {
  margin-top: 24px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.f-social a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1.5px solid rgba(244, 238, 227, 0.28);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  color: rgba(244, 238, 227, 0.85);
  transition: border-color 0.25s ease, color 0.25s ease;
}
.f-social a:hover { border-color: var(--amber-soft); color: var(--amber-soft); }
.f-copy {
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid rgba(244, 238, 227, 0.1);
  font-size: 13.5px;
  color: rgba(244, 238, 227, 0.42);
}

/* ---------- Появление при скролле ---------- */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.6, 0.2, 1);
  transition-delay: calc(var(--d, 0) * 90ms);
}
.reveal.in-view { opacity: 1; transform: none; }

/* ---------- Мобильная версия ---------- */

@media (max-width: 900px) {
  .nav-links, .nav-phone, .nav-vk { display: none; }
  .burger { display: block; }

  .mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 40;
    background: var(--bark);
    color: var(--cream);
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }
  body.menu-open .mobile-menu { opacity: 1; pointer-events: auto; }
  .mobile-menu a {
    font-family: var(--display);
    font-size: 32px;
    text-decoration: none;
    padding: 10px;
  }
  .mobile-menu .nav-phone {
    display: inline-flex;
    margin-top: 22px;
    color: var(--cream);
  }
  .mobile-menu .mobile-vk {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--body);
    font-size: 17px;
    font-weight: 700;
    color: var(--sage);
  }
  .mobile-menu .mobile-vk svg { width: 22px; height: 22px; }

  .g-grid { grid-template-columns: repeat(2, 1fr); }
  .g-big, .g-a, .g-b, .g-c, .g-d { grid-column: auto; grid-row: auto; aspect-ratio: 3 / 4; }
  .g-big { grid-column: 1 / 3; aspect-ratio: 4 / 3.4; }

  .kids-grid, .phone-grid, .visit-grid { grid-template-columns: 1fr; }
  .visit-photo { min-height: 320px; }
  .stamp-card { rotate: 0deg; }
}


@media (max-width: 520px) {
  .kids-photos { grid-template-columns: 1fr 1fr; }
  .hero-cta .btn { width: 100%; }
  .menu-head { margin-bottom: 22px; }
}

/* ---------- Доступность: минимум движения ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .vine, .bulb::after, .scroll-cue, .ticker-track, .hero-logo { animation: none !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .in-view .house-line path { animation: none; stroke-dashoffset: 0; }
  .g-item img, .btn, .drinks-strip img { transition: none; }
}
