:root {
  --bg: #fffaf3;
  --cream: #f9f0e1;
  --card: #ffffff;
  --gold: #c39a5b;
  --gold-2: #e6cb9a;
  --gold-3: #d2ac6e;
  --brown: #3a2a20;
  --text: #5d4c40;
  --muted: #9a897a;
  --line: #eadcc6;
  --serif: "Playfair Display", "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Manrope", "Segoe UI", Roboto, Arial, sans-serif;
  --r: 18px;
  --shadow: 0 10px 30px rgba(94, 66, 30, .09);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul { margin: 0; padding: 0; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.ico { width: 20px; height: 20px; flex: none; }

/* Заглушка, пока фото не загружено */
.ph { width: 100%; height: 100%; min-height: 120px;
  background:
    radial-gradient(circle at 22% 30%, rgba(255,255,255,.75) 0 7%, transparent 8%),
    radial-gradient(circle at 70% 22%, rgba(255,255,255,.5) 0 11%, transparent 12%),
    radial-gradient(circle at 82% 68%, rgba(255,255,255,.55) 0 8%, transparent 9%),
    radial-gradient(circle at 38% 76%, rgba(255,255,255,.4) 0 13%, transparent 14%),
    linear-gradient(135deg, #f3e3c8, #e2c493 55%, #cfa96c); }

/* Шапка */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 250, 243, .9); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(234, 220, 198, .7); }
.header__in { display: flex; align-items: center; gap: 28px; height: 76px; }
.logo img { height: 58px; width: auto; }
.nav { display: flex; gap: 30px; margin-left: auto; font-size: 15px; font-weight: 500; color: var(--brown); }
.nav a { padding: 6px 0; border-bottom: 1px solid transparent; transition: .2s; }
.nav a:hover { color: var(--gold); border-color: var(--gold); }
.header__phone { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--brown); white-space: nowrap; }
.header__phone .ico { color: var(--gold); }
.burger { display: none; width: 44px; height: 44px; border: 0; background: none; padding: 10px; }
.burger span { display: block; height: 2px; background: var(--brown); margin: 5px 0; border-radius: 2px; transition: .25s; }

/* Типографика */
.over { font-size: 13px; letter-spacing: .32em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 14px; }
.over--c, .h2--c { text-align: center; }
.h2 { font: 500 clamp(30px, 4vw, 46px)/1.15 var(--serif); color: var(--brown); margin-bottom: 36px; text-wrap: balance; }
.section { padding: 84px 0; }
.section--tint { background: var(--cream); }

/* Кнопки */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 28px; border-radius: 999px; font-weight: 600; font-size: 15px; border: 1px solid transparent; transition: .2s; white-space: nowrap; }
.btn--gold { background: linear-gradient(180deg, var(--gold-2), var(--gold-3)); color: var(--brown); box-shadow: 0 8px 20px rgba(195, 154, 91, .35); }
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(195, 154, 91, .45); }
.btn--line { background: #fff; border-color: var(--brown); color: var(--brown); }
.btn--line:hover { background: var(--brown); color: #fff; }
.btn--full { width: 100%; }
.link { display: inline-flex; align-items: center; gap: 8px; color: var(--gold); font-weight: 600; margin-top: 14px; }
.link:hover { gap: 12px; }

/* Первый экран */
.hero { position: relative; background: var(--cream); overflow: hidden; }
.hero__img { position: absolute; inset: 0 0 0 38%; }
.hero__img img, .hero__img .ph { width: 100%; height: 100%; object-fit: cover; }
.hero__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--cream) 0%, rgba(249,240,225,.85) 14%, rgba(249,240,225,0) 48%); }
.hero__in { position: relative; padding-top: 80px; padding-bottom: 90px; min-height: 620px; display: flex; flex-direction: column; justify-content: center; }
.hero__in > * { max-width: 520px; }
.hero__title { font: 400 clamp(54px, 8vw, 96px)/.98 var(--serif); color: var(--brown); margin-bottom: 22px; }
.hero__title em { color: var(--gold); font-style: italic; }
.hero__title span { font-style: italic; }
.hero__text { font-size: 19px; color: var(--brown); margin-bottom: 34px; max-width: 400px; }
.feats { display: flex; gap: 34px; margin-bottom: 38px; }
.feats li { display: flex; flex-direction: column; gap: 4px; font-size: 14px; line-height: 1.35; color: var(--brown); }
.feats .ico { width: 34px; height: 34px; margin-bottom: 6px; stroke-width: 1.1; }
.feats b { font-weight: 700; }
.feats small { color: var(--muted); font-size: 12px; }
.hero__btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* Мероприятия */
.events-wrap { position: relative; }
.events { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 60px) / 4); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 4px 26px; margin: 0 -4px; scrollbar-width: none; }
.events::-webkit-scrollbar { display: none; }
.ev { background: var(--card); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); scroll-snap-align: start; transition: .25s; display: flex; flex-direction: column; }
.ev:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(94, 66, 30, .16); }
.ev__img { aspect-ratio: 1 / 1.08; overflow: hidden; }
.ev__img img { width: 100%; height: 100%; object-fit: cover; transition: .5s; }
.ev:hover .ev__img img { transform: scale(1.05); }
.ev__body { padding: 18px 20px 22px; }
.ev__body b { display: block; color: var(--brown); font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.ev__body span { font-size: 14px; color: var(--muted); }
.events-arrow { position: absolute; top: 38%; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--brown); font-size: 24px; line-height: 1; box-shadow: var(--shadow); }
.events-arrow--l { left: 2px; } .events-arrow--r { right: 2px; }

/* Баннер */
.banner { position: relative; min-height: 380px; display: flex; align-items: center; background: var(--cream); }
.banner__img { position: absolute; inset: 0; }
.banner__img img, .banner__img .ph { width: 100%; height: 100%; object-fit: cover; }
.banner__in { position: relative; display: flex; justify-content: flex-end; padding-top: 50px; padding-bottom: 50px; }
.banner__card { background: rgba(255, 252, 247, .96); border-radius: var(--r); padding: 34px 38px; max-width: 480px; display: flex; gap: 22px; box-shadow: var(--shadow); }
.banner__ico { width: 54px; height: 54px; color: var(--gold); flex: none; }
.banner__card h2 { font: 500 26px/1.25 var(--serif); color: var(--brown); margin-bottom: 10px; }

/* О зале */
.about__in { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about__img { aspect-ratio: 4 / 3.4; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); }
.about__img img { width: 100%; height: 100%; object-fit: cover; }
.about .h2 { margin-bottom: 22px; }
.about .prose { margin-bottom: 30px; }

/* Оформленный текст */
.prose { font-size: 17px; line-height: 1.75; }
.prose p { margin-bottom: 1.1em; }
.prose h2 { font: 500 28px/1.25 var(--serif); color: var(--brown); margin: 1.6em 0 .7em; }
.prose h2::after { content: ""; display: block; width: 54px; height: 2px; background: var(--gold); margin-top: 12px; }
.prose ul { margin-bottom: 1.3em; }
.prose li { position: relative; padding: 7px 0 7px 30px; border-bottom: 1px dashed var(--line); }
.prose li::before { content: "✦"; position: absolute; left: 2px; color: var(--gold); font-size: 14px; }
.prose--lead > p:first-child { font: italic 400 24px/1.55 var(--serif); color: var(--brown); }
.prose--lead > p:first-child::first-letter { font-size: 3.1em; float: left; line-height: .85; padding: 6px 12px 0 0; color: var(--gold); }

/* Меню */
#menu .h2 { margin-bottom: 14px; text-transform: uppercase; letter-spacing: .08em; }
.menu__note { text-align: center; color: var(--gold); font-weight: 700; font-size: 18px; margin-bottom: 8px; }
.menu { background: #fff; border-radius: 22px; box-shadow: var(--shadow); padding: 44px 56px 52px; margin-top: 32px; columns: 2; column-gap: 72px; column-rule: 1px solid var(--line); }
.menu__cat h3 { font: 500 23px/1.25 var(--serif); letter-spacing: .1em; text-transform: uppercase; color: var(--brown); text-align: center; margin: 0 0 20px; break-after: avoid; }
.menu__cat h3::after { content: ""; display: block; width: 150px; max-width: 60%; height: 1px; background: var(--gold); margin: 10px auto 0; }
.menu__cat + .menu__cat { margin-top: 40px; }
.mrow { display: grid; grid-template-columns: 1fr auto 62px; gap: 14px; align-items: end; padding: 7px 0; break-inside: avoid; font-size: 15px; line-height: 1.4; color: var(--brown); font-variant-numeric: tabular-nums; }
.mrow__name { font-weight: 600; min-width: 0; }
.mrow__name i { font-weight: 400; color: var(--text); }
.mrow__w { font-size: 12.5px; color: var(--muted); text-align: right; max-width: 130px; }
.mrow__p { font-weight: 700; text-align: right; white-space: nowrap; }

/* Галерея */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 14px; }
.gallery > * { border-radius: 14px; overflow: hidden; }
.gallery > :nth-child(6n + 1) { grid-column: span 2; grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: .5s; }
.gallery a:hover img { transform: scale(1.05); }
.gallery--ev { margin-top: 56px; }

/* Преимущества */
.advs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.adv { background: #fff; border-radius: var(--r); padding: 30px 28px; box-shadow: var(--shadow); }
.adv i { font: italic 400 34px/1 var(--serif); color: var(--gold); display: block; margin-bottom: 14px; }
.adv h3 { font: 500 21px/1.3 var(--serif); color: var(--brown); margin-bottom: 8px; }
.adv p { font-size: 15px; }

/* Контакты */
.contacts { display: grid; grid-template-columns: 1fr 460px; gap: 64px; align-items: start; }
.clist li { display: flex; gap: 16px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--line); color: var(--brown); font-size: 18px; font-weight: 600; }
.clist .ico { width: 26px; height: 26px; color: var(--gold); margin-top: 6px; }
.clist small { display: block; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.socials { display: flex; gap: 10px; margin-top: 22px; flex-wrap: wrap; }
.socials a { padding: 9px 18px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--brown); background: #fff; }
.socials a:hover { border-color: var(--gold); color: var(--gold); }
.map { width: 100%; height: 280px; border: 0; border-radius: var(--r); margin-top: 26px; }
.form { background: #fff; border-radius: 22px; padding: 34px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 14px; }
.form h3 { font: 500 26px/1.2 var(--serif); color: var(--brown); }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: var(--brown); flex: 1; min-width: 0; }
.form input, .form select, .form textarea { font: 16px var(--sans); padding: 13px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); color: var(--brown); width: 100%; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--gold-2); border-color: var(--gold); }
.form__row { display: flex; gap: 14px; }
.form__note { font-size: 12px; color: var(--muted); text-align: center; }
.form__ok, .form__err { padding: 14px 16px; border-radius: 12px; font-weight: 600; font-size: 14px; }
.form__ok { background: #eaf5e4; color: #2f6a23; }
.form__err { background: #fdeaea; color: #a23333; }
.hp { position: absolute !important; left: -9999px; width: 1px !important; height: 1px; opacity: 0; }

/* Страница мероприятия */
.evhero { position: relative; background: var(--cream); overflow: hidden; }
.evhero__img { position: absolute; inset: 0 0 0 42%; }
.evhero__img img, .evhero__img .ph { width: 100%; height: 100%; object-fit: cover; }
.evhero__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--cream) 0%, rgba(249,240,225,0) 55%); }
.evhero__in { position: relative; padding-top: 56px; padding-bottom: 70px; min-height: 400px; display: flex; flex-direction: column; justify-content: center; }
.evhero .hero__title { font-size: clamp(44px, 6.5vw, 78px); max-width: 640px; }
.back { font-size: 14px; font-weight: 600; color: var(--muted); margin-bottom: 28px; }
.back:hover { color: var(--gold); }
.evtabs { background: #fff; border-bottom: 1px solid var(--line); }
.evtabs__in { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.evtabs a { padding: 18px 18px; font-weight: 600; font-size: 15px; color: var(--muted); white-space: nowrap; border-bottom: 2px solid transparent; }
.evtabs a:hover { color: var(--brown); }
.evtabs a.is-on { color: var(--brown); border-color: var(--gold); }
.evbody { display: grid; grid-template-columns: 1fr 340px; gap: 64px; align-items: start; }
.evside { position: sticky; top: 100px; background: var(--cream); border-radius: var(--r); padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.evside h3 { font: 500 24px/1.2 var(--serif); color: var(--brown); }
.evside p { font-size: 15px; margin-bottom: 6px; }

/* Подвал */
.footer { background: var(--brown); color: #d9c8b4; padding: 34px 0; font-size: 14px; }
.footer__in { display: flex; align-items: center; gap: 40px; flex-wrap: wrap; }
.footer__logo { height: 64px; filter: brightness(0) invert(1); opacity: .9; }
.footer__col { display: flex; flex-direction: column; gap: 4px; }
.footer__col--r { margin-left: auto; text-align: right; }
.footer a:hover { color: #fff; }
.footer__col--r a { opacity: .55; font-size: 13px; }

/* Просмотр фото */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(30, 20, 14, .93); display: flex; align-items: center; justify-content: center; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 92vw; max-height: 90vh; border-radius: 8px; }
.lightbox button { position: absolute; background: none; border: 0; color: #fff; font-size: 46px; line-height: 1; padding: 14px 20px; opacity: .8; }
.lightbox button:hover { opacity: 1; }
.lightbox__close { top: 6px; right: 10px; }
.lightbox__nav--prev { left: 6px; } .lightbox__nav--next { right: 6px; }

@media (max-width: 1000px) {
  .header__phone span { display: none; }
  .nav { gap: 20px; font-size: 14px; }
  .events { grid-auto-columns: calc((100% - 20px) / 2.3); }
  .events-arrow { display: none; }
  .about__in, .contacts, .evbody { grid-template-columns: 1fr; gap: 40px; }
  .evside { position: static; }
  .advs { grid-template-columns: repeat(2, 1fr); }
  .menu { columns: 1; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
}
@media (max-width: 760px) {
  .wrap { padding: 0 16px; }
  .section { padding: 56px 0; }
  .header__in { height: 64px; gap: 8px; }
  .logo img { height: 46px; }
  .header__phone { margin-left: auto; width: 44px; height: 44px; justify-content: center; }
  .burger { display: block; }
  .nav { position: fixed; inset: 64px 0 auto 0; flex-direction: column; gap: 0; background: var(--bg); padding: 8px 16px 20px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); transform: translateY(-140%); transition: .3s; font-size: 17px; margin: 0; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav-open .nav { transform: none; }
  .nav-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-open .burger span:nth-child(2) { opacity: 0; }
  .nav-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero__img, .evhero__img { position: relative; inset: auto; height: 260px; }
  .hero__img::after, .evhero__img::after { background: linear-gradient(0deg, var(--cream) 0%, rgba(249,240,225,0) 45%); }
  .hero { display: flex; flex-direction: column-reverse; }
  .evhero { display: flex; flex-direction: column-reverse; }
  .hero__in { padding-top: 36px; padding-bottom: 8px; min-height: 0; }
  .evhero__in { padding-top: 28px; padding-bottom: 8px; min-height: 0; }
  .hero__text { font-size: 17px; margin-bottom: 26px; }
  .feats { gap: 18px; justify-content: space-between; margin-bottom: 28px; }
  .feats li { font-size: 13px; }
  .hero__btns .btn { flex: 1; padding: 15px 16px; }
  .events { grid-auto-columns: 62%; gap: 14px; }
  .banner { flex-direction: column; min-height: 0; }
  .banner__img { position: relative; height: 220px; width: 100%; }
  .banner__in { padding: 0 16px 40px; margin-top: -40px; }
  .banner__card { padding: 24px; gap: 14px; }
  .banner__ico { width: 40px; height: 40px; }
  .banner__card h2 { font-size: 22px; }
  .advs { grid-template-columns: 1fr; }
  .menu { padding: 26px 18px 30px; }
  .mrow { grid-template-columns: 1fr 58px; gap: 2px 10px; }
  .mrow__name { grid-column: 1; }
  .mrow__w { grid-column: 1; grid-row: 2; text-align: left; max-width: none; }
  .mrow__p { grid-column: 2; grid-row: 1; }
  .gallery { grid-auto-rows: 130px; gap: 8px; }
  .form { padding: 24px 20px; }
  .prose--lead > p:first-child { font-size: 20px; }
  .footer__in { flex-direction: column; align-items: flex-start; gap: 18px; }
  .footer__col--r { margin-left: 0; text-align: left; }
}

/* Условия под меню */
.terms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 48px; margin-top: 40px; font-size: 15px; }
.terms h2 { font-size: 22px; margin-top: 0; grid-row: 1; }
.terms ul { grid-row: 2; margin: 0; }
.terms p { grid-column: 1 / -1; }
.hero__in { min-height: 680px; }
.hero__img img { object-position: center 42%; }
@media (max-width: 1000px) { .terms { display: block; } .terms h2 { margin-top: 1.4em; } }
@media (max-width: 760px) { .hero__in { min-height: 0; } .hero__img { height: 320px; } }
