/* site-safety */
/* «Тёплый край». Мёд, ржаная корка, рябина и вышитый рушник. */
:root {
  --cream: #fbf4e6;
  --flour: #f4e7cd;
  --flour-2: #ecdab8;
  --milk: #fffbf3;
  --honey: #e7a33e;
  --honey-2: #f2c46f;
  --honey-tint: #f8e2b6;
  --amber: #8e4a12;
  --rye: #3b2416;
  --rye-2: #5a3a25;
  --rye-3: #7a5236;
  --rowan: #a8322a;
  --rowan-2: #c4473b;
  --rowan-tint: #f3d5c8;
  --ink: #2e1c11;
  --ink-soft: #5e4433;
  --display: "Yeseva One", "Georgia", "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --r-xl: 46px;
  --r-lg: 34px;
  --r-md: 24px;
  --r-sm: 16px;
  --gutter: clamp(1rem, 4.6vw, 4.5rem);
  --max: 1320px;
  --shadow: 0 34px 60px -34px rgba(78, 40, 14, .45), 0 10px 24px -16px rgba(78, 40, 14, .25);
  --ornament: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='24' viewBox='0 0 48 24'%3E%3Cpath d='M24 3l9 9-9 9-9-9z' fill='none' stroke='%23a8322a' stroke-width='2.6'/%3E%3Cpath d='M24 8.6l3.4 3.4-3.4 3.4-3.4-3.4z' fill='%23e7a33e'/%3E%3Cpath d='M-5 12l5-5 5 5-5 5zM43 12l5-5 5 5-5 5z' fill='%23a8322a'/%3E%3Cpath d='M10 3h3v3h-3zM35 3h3v3h-3zM10 18h3v3h-3zM35 18h3v3h-3z' fill='%23e7a33e'/%3E%3C/svg%3E");
  --ornament-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='24' viewBox='0 0 48 24'%3E%3Cpath d='M24 3l9 9-9 9-9-9z' fill='none' stroke='%23f2c46f' stroke-width='2.6'/%3E%3Cpath d='M24 8.6l3.4 3.4-3.4 3.4-3.4-3.4z' fill='%23c4473b'/%3E%3Cpath d='M-5 12l5-5 5 5-5 5zM43 12l5-5 5 5-5 5z' fill='%23f2c46f'/%3E%3Cpath d='M10 3h3v3h-3zM35 3h3v3h-3zM10 18h3v3h-3zM35 18h3v3h-3z' fill='%23c4473b'/%3E%3C/svg%3E");
  --dots: radial-gradient(circle, rgba(142, 74, 18, .16) 1.4px, transparent 1.6px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
html, body { scrollbar-width: none; }
::-webkit-scrollbar { display: none; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 1.0625rem/1.62 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
p { margin: 0; }
h1, h2, h3 {
  font-family: var(--display); font-weight: 400; margin: 0; line-height: 1.04;
  letter-spacing: -.01em; text-wrap: balance; hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word;
}
h2 { font-size: clamp(2.2rem, 7.4vw, 4.4rem); }
h3 { font-size: clamp(1.45rem, 4.6vw, 1.9rem); }
.icon { width: 1em; height: 1em; flex: none; vertical-align: -.14em; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.nb { white-space: nowrap; }

.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 1rem; top: 1rem; z-index: 100; background: var(--rye); color: var(--cream); padding: .8rem 1.1rem; border-radius: 14px; }
:focus { outline: none; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--honey) 75%, transparent); outline-offset: 3px; border-radius: 12px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem; flex-wrap: wrap;
  font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--rowan);
}
.eyebrow::before {
  content: ""; width: 12px; height: 12px; flex: none; background: currentColor;
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}
.lede { font-size: clamp(1.08rem, 2.6vw, 1.28rem); color: var(--ink-soft); max-width: 36ch; text-wrap: pretty; }

/* ---------- Кнопки ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:.6rem;min-height:54px;padding:.8rem 1.6rem;border:0;border-radius:999px;font:700 1rem/1.2 var(--sans);text-decoration:none;cursor:pointer;text-align:center;background:var(--rye);color:var(--cream);box-shadow:0 8px 24px rgb(59 36 22 / 0.08);transition:transform .5s var(--spring), background .3s, box-shadow .4s var(--ease)}
.btn:hover { transform: translateY(-3px) scale(1.02); background: var(--rowan); }
.btn:active { transform: scale(.96); transition-duration: .15s; }
.btn-honey { background: var(--honey); color: var(--rye); }
.btn-honey:hover { background: var(--honey-2); }
.btn .icon { font-size: 1.15em; transition: transform .5s var(--spring); }
.btn:hover .icon { transform: translateX(4px); }
.text-link {
  display: inline-flex; align-items: center; gap: .45rem; min-height: 48px;
  font-weight: 700; text-decoration: none; color: var(--rye);
  background: linear-gradient(var(--honey), var(--honey)) 0 calc(100% - 10px) / 100% 3px no-repeat;
  transition: background-size .4s var(--ease), color .2s;
}
.text-link:hover { background-size: 0 3px; background-position: 100% calc(100% - 10px); color: var(--rowan); }
.text-link .icon { transition: transform .5s var(--spring); }
.text-link:hover .icon { transform: translateX(5px); }

.star-cta { display: inline-block; min-width: 220px; font-weight: 700; font-size: 1.05rem; }
.star-cta:not([data-ai-code-use-state="ready"]) {
  display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 1.8rem;
  border-radius: 999px; background: var(--rye); color: var(--cream);
}
.star-cta a { text-decoration: none; }

/* ---------- Шапка ---------- */
.top {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .6rem var(--gutter);
  transition: background .4s var(--ease), box-shadow .4s var(--ease);
}
.top.scrolled{background:color-mix(in srgb, var(--cream) 86%, transparent);backdrop-filter:blur(14px) saturate(1.3);-webkit-backdrop-filter:blur(14px) saturate(1.3);box-shadow:0 8px 24px rgb(78 40 14 / 0.08)}
.brand {
  position: relative; z-index: 2; display: inline-flex; align-items: center; gap: .6rem; min-height: 48px;
  font-family: var(--display); font-size: 1.45rem; text-decoration: none; color: var(--rye); white-space: nowrap;
}
.brand svg { width: 38px; height: 38px; flex: none; transition: transform .7s var(--spring); }
.brand:hover svg { transform: rotate(45deg) scale(1.06); }
.menu-toggle {
  position: relative; z-index: 2; width: 48px; height: 48px; margin-right: -10px;
  display: grid; place-items: center; background: none; border: 0; padding: 0; color: var(--rye); cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.menu-toggle line { stroke: currentColor; stroke-width: 2; stroke-linecap: round; transform-origin: 12px 12px; transition: transform .5s var(--spring), opacity .25s; }
.menu-toggle[aria-expanded="true"] .l1 { transform: translateY(5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .l2 { opacity: 0; transform: scaleX(.1); }
.menu-toggle[aria-expanded="true"] .l3 { transform: translateY(-5px) rotate(-45deg); }

#nav {
  position: fixed; inset: 0; z-index: 1;
  display: flex; flex-direction: column; justify-content: center; gap: .2rem;
  padding: 6rem var(--gutter) 3rem;
  background: var(--flour);
  background-image: var(--ornament), var(--ornament);
  background-repeat: repeat-x; background-position: 0 calc(100% - 28px), 0 92px; background-size: 48px 24px;
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path .65s var(--ease), visibility 0s .65s;
}
#nav.open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .7s var(--ease), visibility 0s; }
#nav a {
  font-family: var(--display); font-size: clamp(2.2rem, 10vw, 3.4rem); line-height: 1.12; text-decoration: none; color: var(--rye);
  min-height: 52px; display: inline-flex; align-items: center; align-self: flex-start;
  opacity: 0; transform: translateY(20px);
  transition: opacity .4s, transform .6s var(--spring), color .2s;
}
#nav.open a { opacity: 1; transform: none; }
#nav.open a:nth-child(2) { transition-delay: .05s; }
#nav.open a:nth-child(3) { transition-delay: .1s; }
#nav.open a:nth-child(4) { transition-delay: .15s; }
#nav a:hover, #nav a[aria-current="page"] { color: var(--rowan); }
#nav .nav-note { margin-top: 1.6rem; font-size: .98rem; color: var(--ink-soft); display: flex; gap: .5rem; align-items: center; }

@media (min-width: 960px) {
  .menu-toggle { display: none; }
  #nav {
    position: static; clip-path: none; visibility: visible; background: none; padding: 0;
    flex-direction: row; align-items: center; gap: .3rem; transition: none;
  }
  #nav a {
    font-family: var(--sans); font-size: .98rem; font-weight: 600; opacity: 1; transform: none; align-self: auto;
    min-height: 46px; padding: 0 1.05rem; border-radius: 999px;
    transition: background .3s, transform .5s var(--spring), color .2s;
  }
  #nav a:hover { background: color-mix(in srgb, var(--honey) 22%, transparent); color: var(--rye); transform: translateY(-2px); }
  #nav a[aria-current="page"] { background: var(--rye); color: var(--cream); }
  #nav .nav-note { display: none; }
}

/* ---------- Рушник (полоса орнамента) ---------- */
.rushnik { height: 24px; background: var(--ornament) repeat-x 0 0 / 48px 24px; }
.rushnik-light { background-image: var(--ornament-light); }
.rushnik-band { padding: 14px 0; background: var(--rye); }

/* ---------- Герой ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 6.2rem 0 3.4rem;
  background:
    radial-gradient(120% 70% at 85% 10%, rgba(242, 196, 111, .55), transparent 60%),
    radial-gradient(90% 60% at 0% 100%, rgba(243, 213, 200, .7), transparent 60%),
    var(--cream);
}
.hero-grid { display: grid; gap: 2.6rem; align-items: center; }
.hero h1 { display: grid; gap: .4rem; }
.h1-kicker { font-family: var(--sans); font-size: clamp(.95rem, 2.6vw, 1.1rem); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--rowan); }
.h1-name { font-size: clamp(4.1rem, 21vw, 10.5rem); line-height: .88; color: var(--rye); letter-spacing: -.02em; }
.h1-name span { display: block; }
.h1-name span:last-child { color: var(--amber); padding-left: .55em; }
.hero-copy { display: grid; gap: 1.5rem; justify-items: start; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.5rem; margin-top: .3rem; }

.hero-art { position: relative; width: min(100%, 520px); justify-self: center; padding: 2rem 1.2rem 0; }
.solnce {
  position: absolute; z-index: 0; width: 118%; aspect-ratio: 1; left: -9%; top: -6%;
  animation: spin 80s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.arch {
  position: relative; z-index: 1; margin: 0; overflow: hidden;
  aspect-ratio: 4 / 5; border-radius: 999px 999px var(--r-lg) var(--r-lg);
  background: var(--flour-2);
  box-shadow: 0 0 0 10px var(--milk), 0 0 0 14px rgba(231, 163, 62, .45), var(--shadow);
}
.arch img { width: 100%; height: 100%; object-fit: cover; object-position: 38% 50%; transform: scale(1.04); transition: transform 1.4s var(--ease); }
.hero-art:hover .arch img { transform: scale(1.09); }
.today {
  position: relative; z-index: 2; margin: -4.2rem auto 0; width: min(92%, 330px);
  padding: 1.25rem 1.35rem 1.15rem; border-radius: var(--r-md);
  background: var(--rye); color: var(--cream); box-shadow: var(--shadow);
  transform: rotate(-2.5deg);
  transition: transform .6s var(--spring);
}
.today:hover { transform: rotate(0) translateY(-4px); }
.today h2 { font-size: 1.35rem; color: var(--honey-2); margin-bottom: .55rem; }
.today ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; font-size: .98rem; }
.today li { display: flex; justify-content: space-between; gap: 1rem; }
.today li span:last-child { font-variant-numeric: tabular-nums; color: var(--honey-2); font-weight: 700; }

@media (min-width: 960px) {
  .hero { padding: 7.5rem 0 5rem; min-height: 100svh; display: flex; align-items: center; }
  .hero-grid { grid-template-columns: 1.15fr .85fr; gap: 3rem; }
  .hero-art { justify-self: end; }
  .today { position: absolute; left: -3.5rem; bottom: 2.2rem; margin: 0; }
}

/* ---------- Изогнутая бегущая строка ---------- */
.loop-band { position: relative; background: var(--rye); color: var(--honey-2); padding: 3rem 0 2.8rem; overflow: hidden; }
.loop-band::before, .loop-band::after { content: ""; position: absolute; left: 0; right: 0; height: 24px; background: var(--ornament-light) repeat-x 0 0 / 48px 24px; opacity: .9; }
.loop-band::before { top: 10px; }
.loop-band::after { bottom: 10px; }
.loop {
  min-height: 120px; display: flex; align-items: center; justify-content: center; padding: 1rem var(--gutter);
  font-family: var(--display); font-size: clamp(1.6rem, 5vw, 3rem); text-align: center; line-height: 1.15;
}
.loop[data-ai-code-use-state="ready"] { display: block; padding: 0; min-height: 0; }
.loop .curved-loop-jacket { min-height: 0; }
.loop .curved-loop-svg { font-family: var(--display); text-transform: none; }

/* ---------- Секции ---------- */
.section { padding: clamp(4.5rem, 11vw, 8.5rem) 0; position: relative; }
.section-head { display: grid; gap: 1rem; margin-bottom: clamp(2.2rem, 6vw, 3.6rem); max-width: 760px; }
.section-head p:not(.eyebrow) { color: var(--ink-soft); max-width: 52ch; font-size: 1.08rem; }

/* Выпечка: бенто */
.bento { display: grid; gap: 1rem; }
.tile{position:relative;overflow:hidden;border-radius:var(--r-lg);padding:1.6rem 1.5rem 1.5rem;background:var(--milk);display:flex;flex-direction:column;gap:.7rem;box-shadow:0 1px 0 rgba(255, 255, 255, .6) inset,0 8px 24px rgb(78 40 14 / 0.08);transition:transform .6s var(--spring), box-shadow .5s var(--ease)}
.tile:hover { transform: translateY(-6px) rotate(-.4deg); box-shadow: var(--shadow); }
.tile .art { width: 100%; max-width: 280px; height: auto; margin: -.3rem auto .4rem; transition: transform .8s var(--spring); }
.tile:hover .art { transform: scale(1.06) rotate(-3deg); }
.tag {
  align-self: flex-start; display: inline-flex; align-items: center; gap: .45rem;
  padding: .38rem .8rem; border-radius: 999px; font-size: .8rem; font-weight: 700;
  background: var(--rowan-tint); color: var(--rowan);
}
.tile p { color: var(--ink-soft); }
.price { margin-top: auto; padding-top: .4rem; font-family: var(--display); font-size: 1.65rem; color: var(--rye); }
.price small { font-family: var(--sans); font-size: .85rem; color: var(--ink-soft); font-weight: 600; }
.tile-syrniki { background: var(--honey-tint); }
.tile-rye { background: var(--rye); color: var(--cream); }
.tile-rye p, .tile-rye .price small { color: #e8d6bf; }
.tile-rye .price { color: var(--honey-2); }
.tile-rye .tag { background: rgba(242, 196, 111, .18); color: var(--honey-2); }
.tile-photo { padding: 0; min-height: 420px; justify-content: flex-end; color: var(--milk); background: var(--rye-2); }
.tile-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 70%; transition: transform 1.2s var(--ease); }
.tile-photo:hover img { transform: scale(1.07); }
.tile-photo .overlay { position: relative; padding: 1.5rem; display: grid; gap: .5rem; background: linear-gradient(transparent, rgba(46, 28, 17, .88) 45%); padding-top: 5rem; }
.tile-photo .overlay p { color: #f4e6d2; }
.tile-photo .price { color: var(--honey-2); }
.tile-photo .price small { color: #f4e6d2; }
.tile-photo .tag { background: var(--honey); color: var(--rye); justify-self: start; }
.tile-note { background: var(--rowan); color: var(--milk); justify-content: center; gap: 1rem; }
.tile-note .note-big { font-family: var(--display); font-size: clamp(1.6rem, 5vw, 2.1rem); line-height: 1.12; color: var(--milk); text-wrap: balance; }
.tile-note .text-link { color: var(--milk); background-image: linear-gradient(var(--honey-2), var(--honey-2)); }
.tile-note .text-link:hover { color: var(--honey-2); }
.tile-note::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 180px; height: 180px; background: var(--ornament-light) 0 0 / 48px 24px; opacity: .35; transform: rotate(-20deg); border-radius: 40px; }

@media (min-width: 720px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile-photo { grid-row: span 2; min-height: 100%; }
}
@media (min-width: 1100px) {
  .bento { grid-template-columns: 1.3fr 1fr 1fr; grid-auto-rows: minmax(250px, auto); }
  .tile-syrniki { grid-row: span 2; justify-content: center; }
  .tile-syrniki .art { max-width: 380px; }
  .tile-photo { grid-column: 3; grid-row: 1 / span 2; }
}

/* Цифры */
.facts { background: var(--flour); }
.facts::before { content: ""; position: absolute; inset: 0; background-image: var(--dots); background-size: 22px 22px; pointer-events: none; }
.facts-grid { position: relative; display: grid; gap: 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fact { padding: 1.4rem 1.2rem; border-radius: var(--r-md); background: var(--milk); display: grid; gap: .25rem; align-content: start; transition: transform .6s var(--spring); }
.fact:hover { transform: translateY(-5px) rotate(.6deg); }
.fact .fact-num { font-family: var(--display); font-size: clamp(2.8rem, 11vw, 4.6rem); line-height: 1; color: var(--amber); display: flex; align-items: baseline; gap: .15em; }
.fact .fact-num small { font-family: var(--sans); font-size: .95rem; font-weight: 700; color: var(--rye); }
.fact p:not(.fact-num) { color: var(--ink-soft); font-size: .98rem; }
.facts-intro { grid-column: 1 / -1; display: grid; gap: 1rem; margin-bottom: .6rem; }
@media (min-width: 960px) {
  .facts-grid { grid-template-columns: 1.4fr repeat(4, 1fr); align-items: stretch; }
  .facts-intro { grid-column: auto; margin: 0; padding-right: 1.5rem; }
}

/* Завтраки */
.breakfast-grid { display: grid; gap: 2.2rem; align-items: center; }
.window-photo { position: relative; margin: 0; }
.window-photo img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-xl); box-shadow: var(--shadow); }
.window-photo figcaption {
  position: absolute; right: 1rem; bottom: -1.2rem; max-width: 70%;
  padding: .8rem 1.1rem; border-radius: var(--r-sm); background: var(--honey); color: var(--rye);
  font-weight: 700; font-size: .95rem; line-height: 1.35; box-shadow: var(--shadow); transform: rotate(2deg);
}
.dish-list { list-style: none; padding: 0; margin: 1.4rem 0 1.6rem; display: grid; gap: .3rem; }
.dish-list li {
  display: grid; grid-template-columns: 1fr auto; gap: .2rem 1rem; align-items: baseline;
  padding: .85rem 1rem; border-radius: var(--r-sm); transition: background .3s, transform .5s var(--spring);
}
.dish-list li:hover { background: var(--milk); transform: translateX(6px); }
.dish-list strong { font-size: 1.08rem; }
.dish-list .p { font-family: var(--display); font-size: 1.3rem; color: var(--amber); white-space: nowrap; }
.dish-list small { grid-column: 1 / -1; color: var(--ink-soft); font-size: .95rem; }
@media (min-width: 960px) { .breakfast-grid { grid-template-columns: 1.05fr 1fr; gap: 5rem; } }

/* Торты: тизер */
.cakes-teaser { background: var(--rye); color: var(--cream); overflow: hidden; }
.cakes-teaser .eyebrow { color: var(--honey-2); }
.cakes-teaser h2 { color: var(--milk); }
.cakes-teaser p { color: #ead8c2; }
.cakes-grid { display: grid; gap: 2rem; align-items: center; }
.cake-art { width: min(100%, 460px); justify-self: center; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .35)); }
.cakes-copy { display: grid; gap: 1.2rem; justify-items: start; }
.pill-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.pill { padding: .5rem .95rem; border-radius: 999px; background: rgba(242, 196, 111, .14); color: var(--honey-2); font-weight: 700; font-size: .92rem; }
@media (min-width: 960px) { .cakes-grid { grid-template-columns: 1fr 1fr; gap: 4rem; } .cake-art { order: 2; } }

/* Как нас найти */
.visit-grid { display: grid; gap: 1.5rem; }
.map-card { position: relative; border-radius: var(--r-xl); overflow: hidden; background: var(--flour); box-shadow: var(--shadow); }
.map-card svg { display: block; width: 100%; height: auto; }
.map-pin { transform-box: fill-box; transform-origin: 50% 100%; animation: bob 2.8s var(--ease) infinite; }
@keyframes bob { 50% { transform: translateY(-8px); } }
.info-card { border-radius: var(--r-xl); background: var(--milk); padding: clamp(1.6rem, 4vw, 2.6rem); display: grid; gap: 1.3rem; align-content: start; }
.info-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.1rem; }
.info-list li { display: grid; grid-template-columns: 44px 1fr; gap: .9rem; align-items: start; }
.info-list .ico { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--honey-tint); color: var(--amber); font-size: 1.25rem; }
.info-list strong { display: block; font-size: 1.02rem; }
.info-list a, .info-list span { color: var(--ink-soft); text-decoration: none; }
.info-list a { display: inline-flex; min-height: 44px; align-items: center; }
.info-list a:hover { color: var(--rowan); }
.small-print { font-size: .88rem; color: var(--ink-soft); }
@media (min-width: 960px) { .visit-grid { grid-template-columns: 1.4fr 1fr; } }

/* ---------- Подвал ---------- */
.foot { background: var(--rye); color: #ead8c2; }
.foot-inner { display: grid; gap: 2rem; padding-block: 3.4rem 2.4rem; }
.foot .brand { color: var(--milk); }
.foot-tag { margin-top: .6rem; max-width: 30ch; }
.foot h2 { font-family: var(--sans); font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--honey-2); margin-bottom: .6rem; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; }
.foot a { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; text-decoration: none; transition: color .2s, transform .5s var(--spring); }
.foot a:hover { color: var(--honey-2); transform: translateX(3px); }
.foot a[aria-current="page"] { color: var(--honey-2); }
.foot-bottom { padding-block: 1.2rem 2rem; font-size: .86rem; color: #c9b298; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; }
@media (min-width: 760px) { .foot-inner { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }

/* ---------- Внутренние страницы ---------- */
.page-hero {
  position: relative; padding: 7.4rem 0 3.2rem; overflow: hidden;
  background: radial-gradient(110% 80% at 100% 0%, rgba(242, 196, 111, .5), transparent 60%), var(--cream);
}
.page-hero h1 { font-size: clamp(2.9rem, 12vw, 7rem); color: var(--rye); line-height: .95; max-width: 13ch; }
.page-hero h1 em { font-style: normal; color: var(--amber); }
.page-hero .lede { margin-top: 1.3rem; }
.page-hero-grid { display: grid; gap: 2rem; align-items: center; }
.page-hero-copy { display: grid; gap: .3rem; justify-items: start; }
@media (min-width: 960px) { .page-hero { padding: 9rem 0 4rem; } .page-hero-grid { grid-template-columns: 1.2fr .8fr; } }

/* Меню */
.chips-wrap { position: sticky; top: 64px; z-index: 20; padding: .7rem 0; background: color-mix(in srgb, var(--cream) 90%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.chips { display: flex; gap: .5rem; overflow-x: auto; scrollbar-width: none; padding-inline: var(--gutter); margin-inline: auto; max-width: var(--max); scroll-snap-type: x proximity; }
.chips a {
  flex: none; scroll-snap-align: start; display: inline-flex; align-items: center; min-height: 46px; padding: 0 1.15rem;
  border-radius: 999px; background: var(--milk); text-decoration: none; font-weight: 700; font-size: .95rem; white-space: nowrap;
  transition: background .3s, color .3s, transform .5s var(--spring);
}
.chips a:hover { transform: translateY(-2px); background: var(--honey-tint); }
.chips a.active { background: var(--rye); color: var(--cream); }
.menu-cat { padding: clamp(3rem, 8vw, 5.5rem) 0 0; scroll-margin-top: 130px; }
.menu-cat:last-of-type { padding-bottom: clamp(4rem, 9vw, 6rem); }
.cat-grid { display: grid; gap: 1.6rem; }
.cat-head { display: grid; gap: .8rem; align-content: start; }
.cat-head svg { width: 92px; height: 92px; }
.cat-head p { color: var(--ink-soft); max-width: 34ch; }
.menu-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .25rem; }
.menu-list li { padding: .95rem 1.1rem; border-radius: var(--r-md); transition: background .3s, transform .5s var(--spring); }
.menu-list li:hover { background: var(--milk); transform: translateX(6px); }
.row { display: flex; align-items: baseline; gap: .7rem; }
.row strong { font-size: 1.1rem; font-weight: 700; }
.row .leader { flex: 1 1 auto; min-width: 1.5rem; height: 6px; background: radial-gradient(circle, var(--rye-3) 1.2px, transparent 1.5px) 0 0 / 9px 6px repeat-x; opacity: .55; transform: translateY(-2px); }
.row .p { font-family: var(--display); font-size: 1.32rem; color: var(--amber); white-space: nowrap; }
.menu-list small { display: block; color: var(--ink-soft); font-size: .95rem; margin-top: .15rem; max-width: 52ch; }
.badge { display: inline-block; margin-left: .3rem; padding: .1rem .55rem; border-radius: 999px; background: var(--rowan-tint); color: var(--rowan); font-size: .75rem; font-weight: 800; vertical-align: .15em; white-space: nowrap; }
@media (min-width: 960px) { .cat-grid { grid-template-columns: 320px 1fr; gap: 4rem; } .cat-head { position: sticky; top: 150px; } }
.hall { margin-top: clamp(3rem, 8vw, 5rem); }
.hall-card { position: relative; border-radius: var(--r-xl); overflow: hidden; min-height: 420px; display: flex; align-items: flex-end; color: var(--milk); background: var(--rye-2); }
.hall-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hall-card .overlay { position: relative; padding: clamp(1.5rem, 5vw, 3rem); width: 100%; background: linear-gradient(transparent, rgba(46, 28, 17, .9) 55%); padding-top: 7rem; display: grid; gap: .8rem; justify-items: start; }
.hall-card h2 { color: var(--milk); max-width: 16ch; }
.hall-card p { color: #f4e6d2; max-width: 48ch; }

/* Торты */
.cake-hero-art { width: min(100%, 420px); justify-self: center; }
.cake-list { display: grid; gap: 1rem; }
.cake-card { position: relative; border-radius: var(--r-lg); padding: 1.6rem 1.5rem; background: var(--milk); display: grid; gap: .55rem; align-content: start; transition: transform .6s var(--spring), box-shadow .5s; overflow: hidden; }
.cake-card:hover { transform: translateY(-6px) rotate(.5deg); box-shadow: var(--shadow); }
.cake-card svg { width: 120px; height: 96px; margin-bottom: .4rem; transition: transform .7s var(--spring); }
.cake-card:hover svg { transform: rotate(-6deg) scale(1.08); }
.cake-card p { color: var(--ink-soft); }
.cake-card .price { font-size: 1.45rem; }
@media (min-width: 720px) { .cake-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .cake-list { grid-template-columns: repeat(4, 1fr); } }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; counter-reset: s; }
.steps li { position: relative; padding: 1.5rem 1.4rem 1.5rem 5rem; border-radius: var(--r-lg); background: var(--flour); counter-increment: s; }
.steps li::before {
  content: counter(s); position: absolute; left: 1.2rem; top: 1.3rem; width: 46px; height: 46px; display: grid; place-items: center;
  font-family: var(--display); font-size: 1.5rem; color: var(--milk); background: var(--rowan);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}
.steps h3 { font-size: 1.35rem; margin-bottom: .3rem; }
.steps p { color: var(--ink-soft); }
@media (min-width: 960px) { .steps { grid-template-columns: repeat(3, 1fr); } }

/* Форма заказа */
.order { background: var(--flour); }
.order::before { content: ""; position: absolute; inset: 0; background-image: var(--dots); background-size: 22px 22px; pointer-events: none; }
.order-grid { position: relative; display: grid; gap: 2rem; }
.order-aside { display: grid; gap: 1.2rem; align-content: start; }
.order-aside ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.order-aside li { display: flex; gap: .8rem; align-items: flex-start; color: var(--ink-soft); }
.order-aside li .icon { color: var(--rowan); font-size: 1.3rem; margin-top: .15rem; }
.form-card {
  position: relative; border-radius: var(--r-xl); background: var(--milk); padding: clamp(1.4rem, 4vw, 2.6rem);
  box-shadow: var(--shadow); display: grid; gap: 1.1rem;
}
.form-card::before { content: ""; position: absolute; left: 2rem; right: 2rem; top: -12px; height: 24px; background: var(--ornament) repeat-x center / 48px 24px; border-radius: 6px; }
.field { display: grid; gap: .4rem; }
.field label, .field legend { font-weight: 700; font-size: .95rem; color: var(--rye); padding: 0; }
.field .hint { font-weight: 500; color: var(--ink-soft); }
.form-row { display: grid; gap: 1.1rem; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
input:not([type="radio"]):not([type="checkbox"]), select, textarea {
  width: 100%; min-height: 52px; padding: .8rem 1rem; border: 0; border-radius: var(--r-sm);
  font: 500 1rem/1.4 var(--sans); color: var(--ink); background: var(--cream);
  box-shadow: inset 0 0 0 2px rgba(142, 74, 18, .14);
  transition: box-shadow .25s, background .25s;
  -webkit-appearance: none; appearance: none;
}
select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%233b2416' stroke-width='2' stroke-linecap='round' d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; background-size: 18px; padding-right: 2.8rem; }
textarea { min-height: 120px; resize: vertical; }
input:hover, select:hover, textarea:hover { background-color: var(--flour); }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: none; background-color: var(--milk); box-shadow: inset 0 0 0 2px var(--honey), 0 0 0 5px rgba(231, 163, 62, .25); }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.choices { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .2rem; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice span {
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 1.15rem; border-radius: 999px;
  background: var(--cream); box-shadow: inset 0 0 0 2px rgba(142, 74, 18, .14); font-weight: 700; font-size: .95rem;
  transition: background .25s, color .25s, transform .45s var(--spring);
}
.choice input:checked + span { background: var(--rye); color: var(--cream); box-shadow: none; transform: scale(1.04); }
.choice input:focus-visible + span { box-shadow: 0 0 0 4px rgba(231, 163, 62, .5); }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.4rem; margin-top: .3rem; }
.form-foot .small-print { flex: 1 1 220px; }
.site-form-status { margin: 0; padding: .9rem 1.1rem; border-radius: var(--r-sm); background: var(--honey-tint); color: var(--rye); font-weight: 700; }
.site-form-status:empty { display: none; }
@media (min-width: 960px) { .order-grid { grid-template-columns: .8fr 1.2fr; gap: 4rem; } .order-aside { position: sticky; top: 110px; } }

/* ---------- Появление ---------- */
@media (scripting:enabled){.js .reveal{opacity:0;transform:translateY(28px) scale(.985);transition:opacity .8s var(--ease), transform .9s var(--spring);transition-delay:calc(var(--i, 0) * 90ms)}}
.js .reveal.in { opacity: 1; transform: none; }

@supports (corner-shape: squircle) {
  .tile, .fact, .map-card, .info-card, .form-card, .cake-card, .steps li, .hall-card, .window-photo img, .today, .info-list .ico, .site-form-status, input:not([type="radio"]):not([type="checkbox"]), select, textarea { corner-shape: squircle; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Солнце-орнамент на странице меню */
.menu-hero-art { width: min(70vw, 400px); justify-self: center; filter: drop-shadow(0 24px 30px rgba(78, 40, 14, .18)); }
.spin-slow { animation: spin 90s linear infinite; transform-origin: 0 0; }
@media (max-width: 959px) { .menu-hero-art { width: min(64vw, 280px); margin-top: .5rem; } }
