/* ==========================================================================
   Дополнительные стили для шапки/подвала (переведены из inline-стилей React)
   Используют те же CSS-переменные, что и style.css (взятый из оригинальной сборки)
   ========================================================================== */

* { box-sizing: border-box; }
body { margin: 0; background: var(--dark); color: var(--text); font-family: system-ui, -apple-system, 'Segoe UI', sans-serif; }
main { padding-top: 70px; min-height: 60vh; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; }

/* ── Header ───────────────────────────────────────────────────────────── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  height: 70px;
  background: rgba(15,15,15,0.90);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.03);
  transition: all 0.3s;
}
.site-header--scrolled {
  background: rgba(15,15,15,0.98);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.header-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 24px;
  height: 100%; display: flex; align-items: center; justify-content: space-between;
}
.logo-link { display: flex; align-items: center; gap: 12px; }
.logo-img { object-fit: contain; }
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-sub { font-size: 10px; text-transform: uppercase; letter-spacing: 0.15em; color: var(--cream); opacity: 0.7; }
.logo-main { font-weight: 800; font-size: 20px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text); }

.desktop-nav { display: none; align-items: center; gap: 24px; }
@media (min-width: 1024px) { .desktop-nav { display: flex; } }
.nav-link { font-size: 12px; text-transform: uppercase; letter-spacing: 0.15em; color: rgba(232,232,232,0.6); transition: color 0.2s; background: none; border: none; cursor: pointer; padding: 0; }
.nav-link:hover, .nav-link--active { color: var(--green); }
.nav-link--admin-active { color: var(--orange) !important; }

.nav-dropdown { position: relative; }
.nav-dropdown__btn { display: flex; align-items: center; gap: 4px; }
.nav-dropdown__arrow { transition: transform 0.2s; }
.nav-dropdown__menu {
  position: absolute; top: calc(100% + 16px); left: 50%; transform: translateX(-50%);
  min-width: 210px; background: rgba(18,18,18,0.98); backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.08); border-radius: 6px;
  padding: 0; max-height: 0; overflow: hidden; opacity: 0; pointer-events: none;
  transition: max-height 0.2s ease, padding 0.2s ease, opacity 0.15s ease;
  box-shadow: 0 16px 40px rgba(0,0,0,0.5);
}
.nav-dropdown__menu--open { padding: 8px; max-height: 500px; opacity: 1; pointer-events: auto; }
.nav-dropdown__btn[aria-expanded="true"] .nav-dropdown__arrow { transform: rotate(180deg); }
.nav-dropdown__item { display: block; padding: 10px 12px; font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; border-radius: 4px; color: rgba(232,232,232,0.7); }
.nav-dropdown__item:hover { background: rgba(255,255,255,0.04); }
.nav-dropdown__item--active { color: var(--green); background: rgba(163,191,111,0.08); }
.nav-dropdown__item--all { color: rgba(232,232,232,0.5); border-bottom: 1px solid rgba(255,255,255,0.06); margin-bottom: 4px; font-size: 10px; }

.header-cta { display: none; }
@media (min-width: 1024px) { .header-cta { display: flex; align-items: center; gap: 16px; } }
.btn-cta {
  display: flex; align-items: center; gap: 8px; padding: 10px 20px;
  font-weight: 700; text-transform: uppercase; font-size: 12px; letter-spacing: 0.1em;
  background: var(--orange); color: #fff; border-radius: 4px; transition: background 0.2s;
}
.btn-cta:hover { background: var(--orange-dark); }

.burger { display: flex; flex-direction: column; justify-content: center; align-items: center; width: 40px; height: 40px; gap: 6px; border-radius: 4px; background: transparent; border: none; cursor: pointer; }
@media (min-width: 1024px) { .burger { display: none; } }
.burger span { display: block; width: 20px; height: 2px; background: #e8e8e8; transition: all 0.3s; }
.burger--open { background: rgba(255,130,52,0.1); }
.burger--open span:nth-child(1) { transform: rotate(45deg) translateY(8px); }
.burger--open span:nth-child(2) { opacity: 0; }
.burger--open span:nth-child(3) { transform: rotate(-45deg) translateY(-8px); }

.mobile-menu { overflow: hidden; max-height: 0; background: rgba(15,15,15,0.99); transition: max-height 0.3s; }
.mobile-menu--open { max-height: 100vh; border-top: 1px solid rgba(255,255,255,0.05); overflow-y: auto; }
.mobile-nav { padding: 24px 16px; display: flex; flex-direction: column; gap: 4px; }
.mobile-nav__link { display: block; padding: 12px 16px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; font-size: 16px; border-radius: 4px; color: #e8e8e8; border-left: 3px solid transparent; }
.mobile-nav__link--active { color: var(--green); background: rgba(163,191,111,0.08); border-left-color: var(--green); }
.mobile-nav__section-title { font-size: 10px; text-transform: uppercase; letter-spacing: 0.12em; color: rgba(232,232,232,0.3); padding: 8px 16px 4px; margin: 0; }
.mobile-nav__sublink { display: block; padding: 10px 16px; text-transform: uppercase; letter-spacing: 0.1em; font-size: 14px; border-radius: 4px; color: rgba(232,232,232,0.7); border-left: 3px solid transparent; }
.mobile-nav__sublink--active { color: var(--green); background: rgba(163,191,111,0.08); border-left-color: var(--green); }
.mobile-nav__footer { margin-top: 16px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.06); }

/* ── Footer ───────────────────────────────────────────────────────────── */
#site-footer { background: var(--dark2); border-top: 1px solid rgba(255,255,255,0.05); }
.footer-main { max-width: 1280px; margin: 0 auto; padding: 48px 24px; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 32px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 48px; } }
.footer-brand { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.footer-brand__name { font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; color: var(--cream); }
.footer-brand__desc { font-size: 14px; line-height: 1.6; color: rgba(240,236,224,0.5); margin-bottom: 16px; }
.footer-social { display: flex; gap: 12px; }
.footer-social__link { width: 36px; height: 36px; border-radius: 2px; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.06); color: rgba(240,236,224,0.5); transition: color 0.2s; }
.footer-social__link:hover { color: var(--green); }
.footer-col__title { font-weight: 800; text-transform: uppercase; font-size: 14px; letter-spacing: 0.1em; color: var(--green); margin: 0 0 16px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-links a { font-size: 14px; color: rgba(240,236,224,0.5); transition: color 0.2s; }
.footer-links a:hover { color: var(--green); }
.footer-contacts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.footer-contacts a { font-size: 14px; color: rgba(240,236,224,0.7); display: flex; align-items: center; gap: 8px; transition: color 0.2s; }
.footer-contacts a:hover { color: var(--green); }
.footer-contacts__icon { color: var(--green); }
.footer-contacts__address { font-size: 14px; color: rgba(240,236,224,0.5); display: flex; align-items: flex-start; gap: 8px; }
.footer-contacts__hours { font-size: 14px; color: rgba(240,236,224,0.4); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.04); }
.footer-bottom__inner { max-width: 1280px; margin: 0 auto; padding: 16px 24px; display: flex; flex-direction: column; gap: 8px; align-items: center; justify-content: space-between; }
@media (min-width: 640px) { .footer-bottom__inner { flex-direction: row; } }
.footer-bottom__inner p { font-size: 12px; color: rgba(240,236,224,0.3); margin: 0; }

/* ── Общие компоненты ─────────────────────────────────────────────────── */
.btn-primary { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 24px; background: var(--orange); color: #fff; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; font-size: 13px; border-radius: 4px; border: none; cursor: pointer; transition: background 0.2s; }
.btn-primary:hover { background: var(--orange-dark); }
.btn-secondary { display: inline-flex; align-items: center; gap: 6px; padding: 10px 20px; border: 1px solid rgba(255,255,255,0.15); color: var(--text); font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; border-radius: 4px; transition: border-color 0.2s; }
.btn-secondary:hover { border-color: var(--green); color: var(--green); }
.section-title { font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; font-size: 28px; }
.section-title span { color: var(--orange); }
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

/* Плавное появление при скролле (замена AnimateOnScroll.tsx) */
.animate-on-scroll { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.animate-on-scroll--visible { opacity: 1; transform: translateY(0); }

/* ── Форма бронирования (SimpleBookingForm) ──────────────────────────────── */
.sbf-form { display: flex; flex-direction: column; gap: 18px; }
.sbf-label { display: block; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(232,232,232,0.45); margin-bottom: 6px; }
.sbf-input { width: 100%; padding: 14px 16px; border-radius: 4px; font-size: 15px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.12); color: #e8e8e8; outline: none; transition: border-color 0.2s; font-family: inherit; }
.sbf-input:focus { border-color: var(--green); }
.sbf-input::placeholder { color: rgba(232,232,232,0.3); }
.sbf-textarea { resize: vertical; min-height: 80px; line-height: 1.5; }
input[type="datetime-local"].sbf-input { color-scheme: dark; }
.sbf-error { font-size: 12px; color: #f87171; margin-top: 4px; display: block; min-height: 14px; }
.sbf-consent-label { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; }
.sbf-checkbox { margin-top: 2px; width: 16px; height: 16px; min-width: 16px; cursor: pointer; accent-color: var(--green); }
.sbf-consent-text { font-size: 11px; color: rgba(232,232,232,0.4); line-height: 1.6; }
.sbf-consent-link { color: rgba(163,191,111,0.7); text-decoration: underline; }
.sbf-server-error { padding: 12px 16px; border-radius: 4px; font-size: 14px; background: rgba(239,68,68,0.1); border: 1px solid rgba(239,68,68,0.2); color: #f87171; }
.sbf-success { text-align: center; padding: 40px 20px; }
.divider-green { display: block; width: 48px; height: 3px; background: var(--green); margin-bottom: 16px; border-radius: 2px; }
.section-label { font-size: 12px; text-transform: uppercase; letter-spacing: 0.15em; color: var(--green); margin: 0 0 4px; }
.card { display: block; padding: 24px; background: var(--card); border: 1px solid rgba(255,255,255,0.05); border-radius: 4px; transition: border-color 0.2s, transform 0.2s; }
.card:hover { border-color: rgba(163,191,111,0.3); }
.service-card-title { color: var(--cream); }
.card:hover .service-card-title { color: var(--green); }

/* ── Общая сетка секций ───────────────────────────────────────────────── */
.font-druk { font-weight: 800; }
.section { padding: 80px 0; }
@media (min-width: 1024px) { .section { padding: 112px 0; } }
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 768px) { .grid-3 { grid-template-columns: 1fr 1fr 1fr; } }
.grid-4 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (min-width: 640px) { .grid-4 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.grid-2-cta { display: grid; grid-template-columns: 1fr; gap: 48px; align-items: start; }
@media (min-width: 1024px) { .grid-2-cta { grid-template-columns: 1fr 1fr; gap: 80px; } }

/* ── Hero ─────────────────────────────────────────────────────────────── */
.hero-section { position: relative; overflow: hidden; min-height: calc(100vh - 70px); padding-top: 70px; display: flex; align-items: center; background: linear-gradient(135deg, #0f0f0f 0%, #1a1a0a 50%, #0f1a0a 100%); }
.hero-bg-glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 60% 50% at 70% 50%, rgba(163,191,111,0.08) 0%, transparent 70%), radial-gradient(ellipse 40% 60% at 20% 80%, rgba(255,130,52,0.06) 0%, transparent 60%); }
.hero-bg-grid { position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(163,191,111,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(163,191,111,0.04) 1px, transparent 1px); background-size: 60px 60px; }
.hero-inner { position: relative; z-index: 10; width: 100%; padding: 64px 24px; }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 1fr 1fr; gap: 64px; } }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px; border-radius: 999px; font-size: 12px; text-transform: uppercase; letter-spacing: 0.15em; margin-bottom: 24px; border: 1px solid rgba(163,191,111,0.3); background: rgba(163,191,111,0.1); color: var(--green); }
.hero-badge__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }
.hero-title { font-weight: 800; text-transform: uppercase; margin: 0 0 24px; font-size: clamp(40px, 7vw, 88px); line-height: 0.9; letter-spacing: -0.02em; }
.hero-title__line { display: block; }
.hero-desc { font-size: 17px; margin-bottom: 36px; max-width: 520px; line-height: 1.6; color: rgba(232,232,232,0.6); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-stats { display: grid; grid-template-columns: repeat(3,1fr); margin-top: 40px; overflow: hidden; border-radius: 4px; background: rgba(255,255,255,0.05); gap: 1px; }
.hero-stat { text-align: center; padding: 20px 12px; background: var(--dark2); }
.hero-stat__num { font-weight: 800; font-size: 28px; margin-bottom: 4px; color: var(--green); }
.hero-stat__label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(232,232,232,0.45); }
.hero-video-col { display: none; position: relative; }
@media (min-width: 1024px) { .hero-video-col { display: block; } }
.hero-video-frame { position: relative; border-radius: 10px; overflow: hidden; aspect-ratio: 16/9; background: #0a0a0a; border: 1px solid rgba(163,191,111,0.15); box-shadow: 0 0 60px rgba(163,191,111,0.08), 0 24px 80px rgba(0,0,0,0.6); }
.hero-video-iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: none; }
.hero-video-placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; }
.hero-video-play { width: 72px; height: 72px; border-radius: 50%; background: rgba(255,130,52,0.15); border: 2px solid rgba(255,130,52,0.4); display: flex; align-items: center; justify-content: center; }
.hero-video-badge { position: absolute; top: -12px; right: -12px; background: var(--orange); color: #fff; border-radius: 4px; padding: 6px 12px; font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; box-shadow: 0 4px 20px rgba(255,130,52,0.4); }

/* ── Карточки событий ─────────────────────────────────────────────────── */
.event-card { border-radius: 8px; overflow: hidden; height: 100%; display: flex; flex-direction: column; background: var(--dark2); border: 1px solid; transition: transform 0.2s; }
.event-card:hover { transform: translateY(-2px); }
.event-card__img-wrap { position: relative; overflow: hidden; aspect-ratio: 16/7; }
.event-card__img-wrap img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.event-card__img-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.5) 0%, transparent 60%); }
.event-card__body { padding: 20px; flex: 1; }
.event-badge { font-size: 11px; padding: 4px 10px; border-radius: 4px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; }

/* ── Карточки цен ─────────────────────────────────────────────────────── */
.price-card { position: relative; display: flex; flex-direction: column; border-radius: 4px; overflow: hidden; background: var(--card); border: 1px solid rgba(255,255,255,0.05); height: 100%; }
.price-card--featured { background: var(--dark3); border: 1px solid rgba(163,191,111,0.4); box-shadow: var(--glow-green); }
.price-card__badge { position: absolute; top: 0; right: 0; padding: 4px 12px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; background: var(--green); color: #0f0f0f; }
.price-card--tall { min-height: 100%; }

/* ── Плитки галереи ───────────────────────────────────────────────────── */
.gallery-tile { display: block; position: relative; border-radius: 8px; overflow: hidden; aspect-ratio: 4/3; background: var(--dark3); border: 1px solid rgba(255,255,255,0.06); }
.gallery-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.gallery-tile:hover img { transform: scale(1.05); }
.gallery-tile--empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; }
.gallery-tile__overlay { position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 12px; background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.1) 50%, transparent 100%); }

/* ── CTA-иконки ───────────────────────────────────────────────────────── */
.cta-icon-box { width: 40px; height: 40px; border-radius: 4px; display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; background: rgba(163,191,111,0.1); }

/* ── Общий .form-input (CallbackForm / BookingForm / ReviewForm) ─────────── */
.form-label { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 6px; color: rgba(240,236,224,0.5); }
.form-input { width: 100%; padding: 12px 14px; border-radius: 4px; font-size: 14px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.12); color: #e8e8e8; outline: none; transition: border-color 0.2s; font-family: inherit; }
.form-input:focus { border-color: var(--green); }
.form-input::placeholder { color: rgba(232,232,232,0.3); }
select.form-input { cursor: pointer; }
textarea.form-input { resize: vertical; }
input[type="datetime-local"].form-input { color-scheme: dark; }
.form-error { margin-top: 4px; font-size: 12px; color: #f87171; }
.form-row-2 { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 640px) { .form-row-2 { grid-template-columns: 1fr 1fr; } }
.form-server-error { font-size: 14px; padding: 12px 16px; border-radius: 4px; background: rgba(239,68,68,0.1); color: #f87171; }
.form-success { text-align: center; padding: 24px 0; }
.contact-link:hover { color: var(--green) !important; }
.social-icon-btn { width: 44px; height: 44px; border-radius: 4px; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.06); color: rgba(240,236,224,0.6); transition: color 0.2s, background 0.2s; }
.social-icon-btn:hover { background: rgba(163,191,111,0.15); color: var(--green); }
.page-title { font-weight: 800; text-transform: uppercase; letter-spacing: 0.03em; font-size: clamp(32px, 5vw, 52px); margin: 16px 0 0; }
.page-title span { color: var(--green); }

/* ── Карта (ExpandMap) ────────────────────────────────────────────────── */
.map-wrap { border-radius: 6px; overflow: hidden; border: 1px solid rgba(163,191,111,0.15); height: 480px; position: relative; }
.map-open-btn { position: absolute; top: 12px; right: 12px; z-index: 10; display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; background: var(--green); color: #0f0f0f; font-weight: 700; font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; border-radius: 4px; box-shadow: 0 2px 12px rgba(0,0,0,0.45); transition: background 0.2s, transform 0.15s; }
.map-open-btn:hover { background: #b8d47a; transform: translateY(-1px); }
.map-address-bar { position: absolute; bottom: 0; left: 0; right: 0; z-index: 5; padding: 12px 16px; background: linear-gradient(0deg, rgba(15,15,15,0.92) 0%, transparent 100%); display: flex; align-items: center; gap: 8px; pointer-events: none; }
.map-loading { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: var(--card); z-index: 2; text-align: center; color: rgba(240,236,224,0.4); font-size: 13px; transition: opacity 0.3s; }
.map-loading.map-loading--hidden { opacity: 0; pointer-events: none; }
.map-iframe { border: none; display: block; width: 100%; height: 100%; }

/* ── Форма отзыва (звёзды-рейтинг) ────────────────────────────────────── */
.star-rating { display: flex; gap: 6px; }
.star-rating button { background: none; border: none; cursor: pointer; padding: 2px; line-height: 0; }
.star-rating svg { width: 28px; height: 28px; transition: transform 0.1s; }
.star-rating button:hover svg { transform: scale(1.15); }

/* ── Карточки событий (events.php) ────────────────────────────────────── */
.ev-card { background: var(--dark2); border-radius: 10px; overflow: hidden; height: 100%; display: flex; flex-direction: column; border: 1px solid; transition: transform 0.2s, box-shadow 0.2s; }
.ev-card:hover { transform: translateY(-2px); }
.ev-card__img { position: relative; aspect-ratio: 16/7; overflow: hidden; flex-shrink: 0; }
.ev-card__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ev-card__img-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.5) 0%, transparent 60%); }
.ev-card__body { padding: 16px 18px 18px; flex: 1; display: flex; flex-direction: column; gap: 10px; }
.ev-card__desc { font-size: 13px; color: rgba(232,232,232,0.55); line-height: 1.5; flex: 1; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ── Hero-фото на странице события (event.php) ───────────────────────────── */
.ev-hero { position: relative; width: 100%; height: 420px; overflow: hidden; }
.ev-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ev-hero__overlay { position: absolute; inset: 0; background: linear-gradient(to top, var(--dark) 0%, rgba(0,0,0,0.4) 50%, transparent 100%); }
.ev-hero__stripe { position: absolute; bottom: 0; left: 0; right: 0; height: 3px; }

/* ── Сетка альбомов (gallery.php) ─────────────────────────────────────── */
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (min-width: 640px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .gallery-grid { grid-template-columns: repeat(4, 1fr); } }
.gallery-tile-lg { display: block; position: relative; border-radius: 8px; overflow: hidden; aspect-ratio: 4/3; background: var(--dark3); border: 1px solid rgba(255,255,255,0.06); }
.gallery-tile-lg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery-tile-lg:hover img { transform: scale(1.05); }
.gallery-tile-lg__overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.15) 50%, transparent 100%); }
.gallery-tile-lg__hover { position: absolute; inset: 0; background: rgba(163,191,111,0.08); opacity: 0; transition: opacity 0.3s; }
.gallery-tile-lg:hover .gallery-tile-lg__hover { opacity: 1; }
.gallery-tile-lg__info { position: absolute; bottom: 0; left: 0; right: 0; padding: 12px; }
.gallery-tile-lg__open { font-size: 12px; color: var(--green); opacity: 0; transition: opacity 0.3s; }
.gallery-tile-lg:hover .gallery-tile-lg__open { opacity: 1; }

/* ── Masonry-сетка фото альбома (album.php) ──────────────────────────────── */
.masonry-grid { column-count: 2; column-gap: 12px; }
@media (min-width: 640px) { .masonry-grid { column-count: 3; } }
@media (min-width: 1024px) { .masonry-grid { column-count: 4; } }
.masonry-item { break-inside: avoid; margin-bottom: 12px; border-radius: 8px; overflow: hidden; position: relative; background: var(--dark3); border: 1px solid rgba(255,255,255,0.06); }
.masonry-item img { display: block; width: 100%; height: auto; transition: transform 0.4s ease; }
.masonry-item:hover img { transform: scale(1.03); }
.masonry-item__caption { position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 12px; opacity: 0; transition: opacity 0.3s; background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 60%); }
.masonry-item:hover .masonry-item__caption { opacity: 1; }
.masonry-item__caption span { font-size: 12px; color: rgba(232,232,232,0.9); }

/* ── CMS-страницы (page.php) ─────────────────────────────────────────────── */
.cms-hero { position: relative; height: clamp(260px, 45vh, 520px); overflow: hidden; }
.cms-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cms-hero__mobile { display: block; }
.cms-hero__desktop { display: none; }
@media (min-width: 640px) { .cms-hero__mobile { display: none; } .cms-hero__desktop { display: block; } }
.cms-hero__overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(13,13,13,0.3) 0%, rgba(13,13,13,0.75) 100%); }
.cms-hero__caption { position: absolute; bottom: 40px; left: 0; right: 0; text-align: center; padding: 0 24px; }
.cms-hero__title { color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,0.6); font-size: clamp(32px, 6vw, 56px); line-height: 1; letter-spacing: -0.01em; margin: 0; }
.cms-html { color: rgba(240,236,224,0.8); line-height: 1.8; }
.cms-html a { color: var(--green); text-decoration: underline; }
.blog-tile { display: block; text-align: center; }

/* ── Стили для HTML-блоков CMS-страниц (cta-box, faq-item, h2/ul внутри) ── */
.cms-html h2 { color: var(--cream); text-transform: uppercase; letter-spacing: 0.05em; font-size: 24px; font-weight: 800; margin: 40px 0 16px; line-height: 1.25; }
.cms-html h2:first-child { margin-top: 0; }
.cms-html ul, .cms-html ol { padding-left: 22px; margin: 0 0 20px; }
.cms-html li { margin-bottom: 8px; }
.cms-html p { margin: 0 0 20px; }
.cms-html figure { margin: 32px 0; }
.cta-box { text-align: center; padding: 32px 24px; margin: 40px 0; border-radius: 8px; background: rgba(163,191,111,0.06); border: 1px solid rgba(163,191,111,0.2); }
.faq-item { padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
.faq-item strong { display: block; color: var(--cream); margin-bottom: 6px; font-size: 15px; }

/* ── FAQ-аккордеон (details/summary) на SEO-страницах ────────────────────── */
.faq-details { border-radius: 4px; background: var(--card); border: 1px solid rgba(255,255,255,0.06); }
.faq-details summary { display: flex; align-items: center; justify-content: space-between; padding: 20px; cursor: pointer; font-size: 14px; font-weight: 600; color: var(--text); list-style: none; }
.faq-details summary::-webkit-details-marker { display: none; }
.faq-details__icon { font-size: 18px; color: var(--green); flex-shrink: 0; margin-left: 12px; }
.faq-details[open] .faq-details__icon { transform: rotate(45deg); }
.faq-details p { padding: 0 20px 20px; margin: -4px 0 0; font-size: 14px; color: rgba(232,232,232,0.65); line-height: 1.7; }

@media (min-width: 640px) { .sm-grid-2 { grid-template-columns: 1fr 1fr !important; } }
.grid-3-tight { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (min-width: 640px) { .grid-3-tight { grid-template-columns: repeat(3, 1fr); } }

