/* Бермуды — «Курортная открытка» */

@font-face {
  font-family: 'Yeseva One';
  font-style: normal; font-weight: 400; font-display: swap;
  src: url('../assets/fonts/yeseva-one-400-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Yeseva One';
  font-style: normal; font-weight: 400; font-display: swap;
  src: url('../assets/fonts/yeseva-one-400-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'PT Sans';
  font-style: normal; font-weight: 400; font-display: swap;
  src: url('../assets/fonts/pt-sans-400-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'PT Sans';
  font-style: normal; font-weight: 400; font-display: swap;
  src: url('../assets/fonts/pt-sans-400-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'PT Sans';
  font-style: normal; font-weight: 700; font-display: swap;
  src: url('../assets/fonts/pt-sans-700-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'PT Sans';
  font-style: normal; font-weight: 700; font-display: swap;
  src: url('../assets/fonts/pt-sans-700-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Marck Script';
  font-style: normal; font-weight: 400; font-display: swap;
  src: url('../assets/fonts/marck-script-400-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Marck Script';
  font-style: normal; font-weight: 400; font-display: swap;
  src: url('../assets/fonts/marck-script-400-latin.woff2') format('woff2');
}

:root {
  --paper: #F2E7CE;
  --paper-soft: #F8F0DC;
  --paper-card: #FDF7E8;
  --teal: #2E7E7B;
  --teal-dark: #1F5E5C;
  --coral: #E4654A;
  --coral-deep: #A93F2B;
  --coral-dark: #8F3524;
  --night: #16324A;
  --ink: #22333F;
  --ink-soft: #4A5B66;
  --display: 'Yeseva One', Georgia, serif;
  --body: 'PT Sans', Arial, sans-serif;
  --script: 'Marck Script', cursive;
  --shadow-card: 0 18px 40px -18px rgba(0, 0, 0, .35);
  --shadow-sticker: 0 6px 16px -6px rgba(0, 0, 0, .35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background-color: var(--paper);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0.35 0 0 0 0 0.28 0 0 0 0 0.16 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--teal-dark); text-underline-offset: 4px; }
.topnav a:not(.btn):hover, .hero a:not(.btn):hover, .zones a:not(.btn):hover, .banquet-formats a:not(.btn):hover, .menu-section a:not(.btn):hover, .contacts a:not(.btn):hover, .partners a:not(.btn):hover, .booking a:not(.btn):hover { color: var(--coral-deep); }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.12; text-wrap: balance; }
h2 { font-size: clamp(2.1rem, 4.5vw, 3.3rem); margin: 0 0 1rem; }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); margin: 0 0 1rem; }
p { margin: 0 0 1rem; }
button { font: inherit; cursor: pointer; }
::selection { background: var(--coral); color: var(--night); }
:focus-visible { outline: 3px solid var(--coral-deep); outline-offset: 3px; border-radius: 4px; }
input, textarea { caret-color: var(--coral-deep); }
::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: var(--paper); }
::-webkit-scrollbar-thumb { background: var(--teal); border: 3px solid var(--paper); border-radius: 8px; }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--night); color: var(--paper); padding: .6rem 1rem; border-radius: 6px;
}
.skip-link:focus { top: 1rem; }

/* Верхняя панель */
.topbar {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; gap: 1.5rem;
  padding: .7rem clamp(1rem, 4vw, 3rem);
  background: var(--paper-soft);
  border-bottom: 2px dashed rgba(22, 50, 74, .25);
}
.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--night); }
.brand-logo { width: 36px; height: auto; }
.brand-name { font-family: var(--display); font-size: 1.5rem; line-height: 1; display: flex; flex-direction: column; gap: .25rem; }
.brand-sub { font-family: var(--body); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.topnav { display: flex; gap: 1.4rem; margin-left: auto; }
.topnav a { text-decoration: none; color: var(--ink); font-weight: 700; font-size: .95rem; }
.topnav .topnav a:not(.btn):hover, .hero a:not(.btn):hover, .zones a:not(.btn):hover, .banquet-formats a:not(.btn):hover, .menu-section a:not(.btn):hover, .contacts a:not(.btn):hover, .partners a:not(.btn):hover, .booking a:not(.btn):hover { color: var(--coral-deep); }
.topbar-phone { font-family: var(--display); font-size: 1.15rem; color: var(--night); text-decoration: none; white-space: nowrap; }
.topbar-cta { display: flex; gap: .5rem; }
.topbar-cta .btn::after { inset: 3px; }
.btn-sm { padding: .5rem 1rem .5rem 1.9rem; font-size: .9rem; }
.nav-toggle { display: none; background: none; border: 0; padding: .7rem; min-width: 44px; min-height: 44px; }
.nav-toggle span { display: block; width: 26px; height: 3px; background: var(--night); margin: 5px 0; border-radius: 2px; }

/* Кнопки-наклейки */
.btn {
  position: relative; display: inline-block; text-decoration: none; text-align: center;
  font-weight: 700; font-size: 1.02rem; line-height: 1.2;
  padding: .85rem 1.5rem .85rem 2.2rem; border: 0; border-radius: 3px;
  box-shadow: var(--shadow-sticker);
  transition: transform .18s ease-out, box-shadow .18s ease-out, background .18s ease-out;
}
.btn::before {
  content: ''; position: absolute; left: .85rem; top: 50%; transform: translateY(-50%);
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255, 255, 255, .38); box-shadow: inset 0 1px 3px rgba(0, 0, 0, .35);
}
.btn::after {
  content: ''; position: absolute; inset: 4px; pointer-events: none;
  border: 1.5px dashed rgba(255, 255, 255, .45); border-radius: 2px;
}
.btn:hover { transform: translateY(-2px) rotate(-1deg); }
.btn-coral { background: var(--coral-deep); color: #FFF6EA; }
.btn-coral:hover { background: var(--coral-dark); color: #FFF6EA; }
.btn-teal { background: var(--teal); color: #F2FAF8; }
.btn-teal:hover { background: var(--teal-dark); color: #F2FAF8; }

/* Открытки */
.postcard {
  position: relative;
  background: var(--paper-card);
  padding: 12px 12px 0;
  border: 1px solid rgba(22, 50, 74, .12);
  box-shadow: var(--shadow-card);
}
.postcard img { width: 100%; height: auto; }
.postcard-note {
  font-family: var(--script); font-size: 1.35rem; color: var(--ink-soft);
  text-align: center; padding: .5rem .3rem .7rem;
}
.stamp {
  position: absolute; top: -18px; right: 22px; z-index: 2;
  width: 64px; height: 76px; padding: 6px;
  background: var(--paper-card);
  border: 2px dashed rgba(22,50,74,.35);
  outline: 4px solid var(--paper-card);
  box-shadow: 0 4px 10px -4px rgba(0,0,0,.3);
  transform: rotate(6deg);
}
.stamp img { width: 100%; height: 100%; object-fit: contain; }

/* Штемпель */
.postmark { position: absolute; width: 150px; height: 150px; color: var(--coral-deep); }
.pm-ring { fill: none; stroke: currentColor; stroke-width: 2.5; }
.pm-ring-dash { stroke-dasharray: 3 5; stroke-width: 1.5; }
.pm-text { font-family: var(--body); font-weight: 700; font-size: 12.5px; letter-spacing: 2.5px; fill: currentColor; text-transform: uppercase; }
.pm-center { font-family: var(--display); font-size: 44px; fill: currentColor; text-anchor: middle; }
.postmark-hero { bottom: -46px; left: -46px; transform: rotate(-14deg); }

/* Hero */
.hero { padding: clamp(2.5rem, 6vw, 5rem) clamp(1rem, 4vw, 3rem) 0; overflow: hidden; }
.hero-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.hero-title { font-size: clamp(3.4rem, 8.5vw, 6rem); color: var(--night); margin: 0 0 .4rem; }
.hero-tagline { font-family: var(--script); font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--teal-dark); margin: 0 0 1.2rem; }
.hero-text { max-width: 34rem; font-size: 1.1rem; color: var(--ink-soft); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin: 1.8rem 0 1.6rem; }
.hero-address { display: flex; align-items: center; gap: .5rem; font-size: .95rem; color: var(--ink-soft); }
.icon { width: 22px; height: 22px; flex: none; }
.hero-plate { position: relative; }
.postcard-hero { transform: rotate(2deg); animation: hero-card .7s ease-out both; }
@keyframes hero-card { from { opacity: 0; transform: translateY(20px) rotate(4deg); } to { opacity: 1; transform: rotate(2deg); } }
.postcard-hero img { aspect-ratio: 4 / 3; object-fit: cover; }
.hero-formats {
  max-width: 1200px; margin: clamp(2.5rem, 5vw, 4rem) auto 0; padding: 1.1rem 0 1.4rem;
  list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.6rem;
  border-top: 2px dashed rgba(22, 50, 74, .25);
  font-family: var(--display); font-size: clamp(1rem, 2vw, 1.3rem); color: var(--teal-dark);
}
.hero-formats li + li::before { content: '·'; margin-right: 1.6rem; color: var(--coral); }

/* Бегущая строка */
.marquee { background: var(--night); color: var(--paper); overflow: hidden; padding: .7rem 1rem; }
.marquee-track { display: flex; justify-content: center; text-align: center; }
.marquee-track span { white-space: nowrap; font-family: var(--display); font-size: 1.05rem; letter-spacing: .03em; padding: 0 1rem; }
.footer a:hover, .stats a:hover, .marquee a:hover, .mobile-cta a:hover, .banquet-terms a:hover { color: #F4C95D; }

/* Гирлянда */
.lights { max-width: 1200px; margin: 0 auto; padding: 0 1rem; }
.lights svg { width: 100%; height: 70px; display: block; }
.wire { fill: none; stroke: rgba(22,50,74,.5); stroke-width: 2; }
.bulb { fill: var(--coral); animation: glow 2.6s ease-in-out infinite; }
.bulb:nth-child(2n) { fill: var(--teal); animation-delay: 1.3s; }
.bulb:nth-child(3n) { fill: #E9B44C; animation-delay: .7s; }
@keyframes glow { 0%, 100% { opacity: .45; } 50% { opacity: 1; } }

/* Секции */
.section { padding: clamp(3.5rem, 8vw, 6.5rem) clamp(1rem, 4vw, 3rem); max-width: 1280px; margin: 0 auto; }
.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head h2 { color: var(--night); }
.section-lead { font-size: 1.12rem; color: var(--ink-soft); margin: 0; }

/* Зоны */
.zones-list { display: flex; flex-direction: column; gap: clamp(3rem, 6vw, 4.5rem); }
.zone { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.6rem, 4vw, 3.5rem); align-items: center; }
.zone:nth-child(even) .zone-photo { order: 2; }
.zone-photo .postcard { transform: rotate(-1.4deg); }
.zone:nth-child(even) .zone-photo .postcard { transform: rotate(1.4deg); }
.zone-photo img { aspect-ratio: 3 / 2; object-fit: cover; }
.zone-title { color: var(--night); margin-bottom: .3rem; }
.zone-lead { font-family: var(--script); font-size: 1.5rem; color: var(--coral-deep); margin-bottom: 1rem; }
.zone-text { color: var(--ink-soft); }
.zone-chips { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 0 0 1.4rem; }
.zone-chips li {
  font-size: .88rem; font-weight: 700; color: var(--teal-dark);
  border: 1.5px dashed var(--teal); border-radius: 999px; padding: .3rem .85rem;
}
.zone-link { font-weight: 700; }

/* Цифры */
.stats {
  background: var(--night); color: var(--paper);
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding: clamp(2.5rem, 5vw, 4rem) clamp(1rem, 4vw, 3rem); gap: 2rem;
}
.stat { text-align: center; padding: .5rem 1rem; }
.stat + .stat { border-left: 2px dashed rgba(242, 231, 206, .3); }
.stat-value { display: block; font-family: var(--display); font-size: clamp(2rem, 4.2vw, 3.4rem); color: #F4C95D; margin-bottom: .5rem; }
.stat-label { font-size: .95rem; color: #CBD8DF; display: block; max-width: 16rem; margin: 0 auto; }

/* Банкеты */
.banquet-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(1.8rem, 4vw, 3rem); align-items: start; }
.banquet-formats { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.format {
  background: var(--paper-card); border: 1px solid rgba(22,50,74,.12);
  border-radius: 4px; padding: 1.4rem 1.5rem; box-shadow: var(--shadow-card);
}
.format:nth-child(odd) { transform: rotate(-.6deg); }
.format:nth-child(even) { transform: rotate(.6deg); }
.format h3 { color: var(--teal-dark); margin-bottom: .5rem; }
.format p { margin: 0; color: var(--ink-soft); font-size: .98rem; }
.banquet-terms {
  background: var(--teal-dark); color: #EAF4F1; border-radius: 4px;
  padding: clamp(1.5rem, 3vw, 2.2rem); box-shadow: var(--shadow-card);
}
.banquet-terms h3 { color: #F4C95D; }
.terms-list { padding-left: 1.2rem; margin: 0 0 1.5rem; }
.terms-list li { margin-bottom: .6rem; }
.terms-list strong { color: #FFF; }
.gift-note { border-top: 2px dashed rgba(234,244,241,.35); padding-top: 1.2rem; margin-bottom: 1.6rem; }
.gift-script { font-family: var(--script); font-size: 1.6rem; color: #F4C95D; display: block; margin-bottom: .3rem; }
.gift-note p { margin: 0; }

/* Меню */
.menu-tabs { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1.2rem; }
.menu-tab {
  background: transparent; border: 2px solid var(--teal); color: var(--teal-dark);
  font-weight: 700; font-size: 1.02rem; padding: .55rem 1.3rem; border-radius: 999px;
  transition: background .15s ease-out, color .15s ease-out;
}
.menu-tab.is-active { background: var(--teal); color: #F2FAF8; }
.menu-cats { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: 1.6rem; }
.cat-chip {
  background: transparent; border: 1px solid rgba(22,50,74,.3); color: var(--ink-soft);
  font-size: .9rem; padding: .3rem .9rem; border-radius: 999px;
}
.cat-chip.is-active { border-color: var(--coral-deep); color: var(--coral-deep); font-weight: 700; }
.menu-panel {
  background: var(--paper-card); border: 1px solid rgba(22,50,74,.12);
  box-shadow: var(--shadow-card); padding: clamp(1.4rem, 3.5vw, 2.6rem); border-radius: 4px;
}
.menu-note { font-family: var(--script); font-size: 1.4rem; color: var(--coral-deep); }
.dish-list { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 3rem; }
.dish { break-inside: avoid; padding: .75rem 0; border-bottom: 1px dashed rgba(22,50,74,.18); }
.dish-main { display: flex; align-items: baseline; gap: .5rem; }
.dish-name { font-weight: 700; color: var(--night); }
.dish-dots { flex: 1; border-bottom: 2px dotted rgba(22,50,74,.35); transform: translateY(-4px); }
.dish-price { font-family: var(--display); font-size: 1.15rem; color: var(--coral-deep); white-space: nowrap; font-variant-numeric: tabular-nums; }
.dish-meta { font-size: .88rem; color: var(--ink-soft); margin-top: .15rem; }
.menu-scans { margin-top: 1.4rem; font-size: .92rem; color: var(--ink-soft); display: flex; flex-wrap: wrap; gap: .4rem .9rem; align-items: baseline; }
.menu-scans button { background: none; border: none; padding: 0; color: var(--teal-dark); text-decoration: underline; text-underline-offset: 4px; }
.menu-scans button:hover { color: var(--coral-deep); }

/* Тур */
.menu-head { max-width: none; display: grid; grid-template-columns: 1fr 280px; gap: 2rem; align-items: center; }
.menu-photo { transform: rotate(2deg); }
.menu-photo img { aspect-ratio: 4 / 3; object-fit: cover; }
.zone-photo--portrait { max-width: 360px; margin: 0 auto; }
.zone-photo--portrait img { aspect-ratio: auto; }
.tour-frame { padding: 12px; position: relative; }
.tour-frame iframe { width: 100%; height: clamp(320px, 55vw, 560px); border: 0; display: block; }
.tour-poster { width: 100%; height: clamp(320px, 55vw, 560px); object-fit: cover; display: block; }
.tour-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-size: 1.15rem; padding: 1rem 2rem; }
.tour-play:hover { transform: translate(-50%, -50%) rotate(-1deg); }

/* Контакты */
.contacts-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(1.8rem, 4vw, 3rem); align-items: start; }
.contacts-list { margin: 0 0 1.4rem; }
.contacts-list > div { margin-bottom: 1.1rem; }
.contacts-list dt { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.contacts-list dd { margin: .2rem 0 0; font-size: 1.15rem; font-weight: 700; color: var(--night); }
.contacts-list a { color: var(--night); }
.contacts-social { display: flex; gap: 1.4rem; margin-bottom: 1.6rem; font-weight: 700; }
.contacts-map { padding: 12px; position: relative; }
.contacts-map iframe { width: 100%; height: 380px; border: 0; display: block; }
.map-poster { width: 100%; height: 380px; object-fit: cover; display: block; }
.map-controls { display: flex; flex-wrap: wrap; gap: .7rem 1.4rem; align-items: center; justify-content: center; padding: 1rem .4rem .4rem; }
.map-external { font-weight: 700; }
.partners { margin-top: clamp(2.5rem, 5vw, 4rem); }
.partners h3 { color: var(--night); }
.partners-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.partner {
  display: flex; flex-direction: column; align-items: center; gap: .9rem;
  background: var(--paper-card); border: 1px solid rgba(22,50,74,.12); border-radius: 4px;
  padding: 1.4rem 1.2rem 1.2rem; text-decoration: none; text-align: center;
  box-shadow: 0 10px 24px -14px rgba(0,0,0,.22);
  transition: transform .18s ease-out, box-shadow .18s ease-out;
}
.partner:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.partner-logo {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 84px; background: #fff; border-radius: 4px;
  border: 1px solid rgba(22,50,74,.08); padding: .5rem;
}
.partner-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.partner-name { font-size: .95rem; font-weight: 700; color: var(--ink); line-height: 1.35; }

/* Подвал */
.footer { background: var(--night); color: var(--paper); padding: clamp(2.5rem, 5vw, 4rem) clamp(1rem, 4vw, 3rem) 0; border-top: 4px solid #F4C95D; }
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1.2fr 1fr .8fr; gap: 2.5rem;
  padding-bottom: 2.2rem;
}
.footer-col h3 { color: #F4C95D; font-size: 1.15rem; margin-bottom: 1rem; }
.footer-col p { color: #CBD8DF; font-size: .98rem; }
.footer-col a { color: var(--paper); }
.footer-about .brand { margin-bottom: 1.1rem; }
.footer-about .brand-name, .footer-about .brand-sub { color: var(--paper); }
.footer-about .brand-sub { color: #CBD8DF; }
.footer-phone { display: block; font-family: var(--display); font-size: 1.45rem; color: #F4C95D; text-decoration: none; margin-bottom: .6rem; }
.footer-nav { display: flex; flex-direction: column; gap: .45rem; margin-bottom: 1.2rem; }
.footer-nav a { color: #CBD8DF; text-decoration: none; }
.footer-nav a:hover { color: #F4C95D; }
.footer-social { display: flex; gap: 1.4rem; font-weight: 700; }
.footer a:hover, .banquet-terms a:hover { color: #F4C95D; }
.footer-bottom {
  max-width: 1200px; margin: 0 auto;
  display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 2rem;
  border-top: 1px solid rgba(242,231,206,.2); padding: 1.3rem 0 1.5rem;
  font-size: .9rem; color: #CBD8DF;
}
.footer-note { font-family: var(--script); font-size: 1.5rem; color: #CBD8DF; margin-left: auto; }

/* Мобильные CTA */
.mobile-cta {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 45;
  background: var(--paper-soft); border-top: 2px dashed rgba(22,50,74,.25);
  padding: .6rem .8rem calc(.6rem + env(safe-area-inset-bottom)); gap: .6rem;
}
.mobile-cta .btn { flex: 1; padding: .7rem .5rem .7rem 1.9rem; font-size: .95rem; }
.mobile-call {
  flex: none; width: 48px; display: flex; align-items: center; justify-content: center;
  background: var(--night); color: #F4C95D; border-radius: 10px;
}

/* Диалоги */
dialog { border: 0; padding: 0; background: transparent; max-width: min(94vw, 560px); }
dialog::backdrop { background: rgba(22, 50, 74, .55); backdrop-filter: blur(3px); }
.booking-form {
  position: relative; background: var(--paper-card); border-radius: 6px;
  padding: clamp(1.5rem, 4vw, 2.5rem); box-shadow: var(--shadow-card);
}
.booking-form h2 { color: var(--night); margin-bottom: 1rem; }
.dialog-close {
  position: absolute; top: .6rem; right: .8rem; z-index: 2;
  background: none; border: 0; font-size: 2rem; line-height: 1; color: var(--ink-soft);
}
.booking-kind { display: flex; gap: .5rem; margin-bottom: 1.2rem; }
.kind-btn { flex: 1; border: 2px solid var(--teal); background: transparent; color: var(--teal-dark); font-weight: 700; padding: .5rem; border-radius: 8px; }
.kind-btn.is-active { background: var(--teal); color: #F2FAF8; }
.booking-form label { display: block; font-size: .9rem; font-weight: 700; color: var(--ink-soft); margin-bottom: .9rem; }
.booking-form input, .booking-form textarea {
  display: block; width: 100%; margin-top: .3rem;
  font: inherit; color: var(--ink);
  background: #FFFCF3; border: 1.5px solid rgba(22,50,74,.3); border-radius: 6px;
  padding: .55rem .7rem;
}
.booking-form input:focus, .booking-form textarea:focus { border-color: var(--teal); }
.booking-row { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.booking-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: .4rem 0 1rem; }
.booking-note { font-size: .85rem; color: var(--ink-soft); margin: 0; }
.form-error { color: var(--coral-dark); font-weight: 700; font-size: .92rem; }
/* Лайтбокс «Открытка со стола» */
.lightbox { max-width: none; width: 100%; height: 100%; max-height: none; }
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox::backdrop { background: rgba(242, 231, 206, .82); backdrop-filter: blur(7px); }
.lb-card {
  position: relative; background: var(--paper-card); padding: 16px 16px 4px;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .45);
  max-width: min(92vw, 1100px); margin: 0;
}
.lb-card.switching .lb-image { animation: lb-switch .3s ease-out; }
@keyframes lb-switch { from { opacity: .2; } to { opacity: 1; } }
.lb-image { display: block; max-height: 74vh; width: auto; max-width: 100%; margin: 0 auto; }
.lb-caption { font-family: var(--script); font-size: 1.6rem; text-align: center; padding: .6rem 0 .5rem; color: var(--ink-soft); }
.lb-stamp { top: -20px; right: 30px; }
.lb-close { position: fixed; top: 1rem; right: 1.2rem; color: var(--night); font-size: 2.4rem; }
.lb-arrow {
  position: absolute; top: 42%; transform: translateY(-50%); z-index: 2;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--paper-card); border: 2px dashed var(--coral-deep); color: var(--coral-deep);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sticker); transition: transform .18s ease-out;
}
.lb-arrow:hover { transform: translateY(-50%) rotate(-8deg) scale(1.06); }
.lb-prev { left: 14px; }
.lb-next { right: 14px; }
.lb-footer { display: flex; align-items: baseline; justify-content: center; gap: 1rem; }
.lb-counter { font-weight: 700; color: var(--ink-soft); font-size: .9rem; white-space: nowrap; }
.postcard img[data-full] { cursor: zoom-in; }

/* Штемпели заголовков */
.section-head h2 { position: relative; }
.section-stamp { width: 52px; height: 52px; vertical-align: middle; margin-left: .9rem; opacity: 0; transform: rotate(-12deg); }
.section-stamp .ss-ring { fill: none; stroke: var(--coral-deep); stroke-width: 2; }
.section-stamp .ss-dash { stroke-dasharray: 3 4; stroke-width: 1.2; }
.section-stamp .ss-center { font-family: var(--display); font-size: 30px; fill: var(--coral-deep); text-anchor: middle; }
.stamped .section-stamp { animation: ss-stamp .45s ease-out both; }
@keyframes ss-stamp { from { opacity: 0; transform: rotate(-12deg) scale(1.8); } to { opacity: 1; transform: rotate(-12deg) scale(1); } }

/* Наклон hero-открытки */
.hero-plate { transition: transform .25s ease-out; }

/* Открытки зон при наведении */
.zone-photo .postcard { overflow: hidden; transition: transform .3s ease-out; }
.zone-photo .postcard:hover { transform: rotate(0deg); }
.zone-photo .postcard img { transition: transform .45s ease-out; }
.zone-photo .postcard:hover img { transform: scale(1.045); }

/* Покачивание гирлянды */
.bulb-group { animation: sway 5.5s ease-in-out infinite; }
.bulb-group:nth-child(2n) { animation-delay: 1.8s; }
.bulb-group:nth-child(3n) { animation-delay: 3.1s; }
@keyframes sway { 0%, 100% { transform: rotate(-2.5deg); } 50% { transform: rotate(2.5deg); } }

/* Нажатие бирки */
.btn:active { transform: translateY(1px) rotate(-1deg) scale(.97); }

/* Каскад блюд */
.dish-in { animation: dish-in .4s ease-out both; }
@keyframes dish-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* Шапка при скролле */
.topbar { transition: padding .2s ease-out, box-shadow .2s ease-out; }
.topbar.is-scrolled { padding-top: .35rem; padding-bottom: .35rem; box-shadow: 0 8px 24px -12px rgba(0, 0, 0, .35); }
.mobile-cta { transition: transform .25s ease-out; }
.mobile-cta.is-hidden { transform: translateY(110%); }

/* Появление при скролле */


/* Лоадер */
.loader {
  position: fixed; inset: 0; z-index: 100; background: var(--paper);
  display: flex; align-items: center; justify-content: center;
  transition: opacity .45s ease;
}
.loader.is-done { opacity: 0; pointer-events: none; }
.loader-card { position: relative; text-align: center; padding: 0 2rem; }
.loader-card img { width: 60px; margin: 0 auto .8rem; }
.loader-name { display: block; font-family: var(--display); font-size: 2.8rem; color: var(--night); line-height: 1.1; }
.loader-note { display: block; font-family: var(--script); font-size: 1.5rem; color: var(--teal-dark); margin-top: .5rem; }
.loader-stamp {
  position: absolute; width: 110px; height: 110px; right: -60px; top: -46px;
  transform: rotate(-14deg); animation: loader-stamp .7s .25s ease-out both;
}
@keyframes loader-stamp { from { opacity: 0; transform: rotate(-14deg) scale(1.8); } to { opacity: 1; transform: rotate(-14deg) scale(1); } }
.loader-bar { display: block; width: 170px; height: 3px; background: rgba(22,50,74,.15); margin: 1.6rem auto 0; overflow: hidden; border-radius: 2px; }
.loader-bar::after { content: ''; display: block; width: 100%; height: 100%; background: var(--teal); transform-origin: left; animation: loader-fill 1.4s ease-out both; }
@keyframes loader-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* Появление блоков при скролле */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .55s ease-out, transform .55s ease-out; }
.zone:nth-child(odd).reveal { transform: translateY(26px) rotate(-1deg); }
.zone:nth-child(even).reveal { transform: translateY(26px) rotate(1deg); }
.reveal.is-visible { opacity: 1; transform: none; }

/* Адаптив */
@media (max-width: 1200px) {
  .topbar-phone { display: none; }
}
@media (max-width: 1020px) {
  .topnav { gap: 1rem; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; }
}
@media (max-width: 860px) {
  .topnav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--paper-soft); border-bottom: 2px dashed rgba(22,50,74,.25);
    flex-direction: column; gap: 0; padding: .5rem 1.5rem 1rem;
  }
  .topnav.is-open { display: flex; }
  .topnav a { padding: .7rem 0; font-size: 1.1rem; }
  .nav-toggle { display: block; margin-left: auto; }
  .topbar-cta { display: none; }
  .menu-head { grid-template-columns: 1fr; }
  .menu-photo { max-width: 320px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-plate { max-width: 520px; margin: 1.5rem auto 0; width: 100%; }
  .postmark-hero { width: 110px; height: 110px; bottom: -30px; left: -14px; }
  .zone, .banquet-grid, .contacts-grid { grid-template-columns: 1fr; }
  .zone:nth-child(even) .zone-photo { order: 0; }
  .dish-list { columns: 1; }
  .mobile-cta { display: flex; }
  body { padding-bottom: 70px; }
  .partners-row { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 1.8rem; }
  .footer-note { margin-left: 0; }
}
@media (max-width: 560px) {
  .banquet-formats { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; gap: 1.6rem; }
  .stat + .stat { border-left: 0; border-top: 2px dashed rgba(242,231,206,.3); padding-top: 1.6rem; }
  .hero-actions .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; }
  .bulb { animation: none; opacity: 1; }
  .bulb-group { animation: none; }
  .section-stamp { opacity: 1; animation: none; }
  .dish-in { animation: none; }
  .lb-arrow, .zone-photo .postcard, .zone-photo .postcard img, .hero-plate { transition: none; }
  .postcard-hero { animation: none; }
  .loader { display: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover { transform: none; }
}
