/* ============================================================
   Aydın & Yasemin — свадебное приглашение
   Mobile-first. Брейкпоинты: 480 / 560 / 680 / 768 / 900.
   Все цвета/шрифты/easing — в :root (раздел 2 SPEC).
   ============================================================ */

/* ---------- Шрифты (self-hosted, subsets latin / latin-ext / cyrillic; сгенерировано из Google Fonts) ---------- */
@font-face{font-family:'Cormorant Garamond';font-style:italic;font-weight:400;font-display:swap;src:url('../assets/fonts/cormorant-garamond-400i-cyrillic.woff2') format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116}
@font-face{font-family:'Cormorant Garamond';font-style:italic;font-weight:400;font-display:swap;src:url('../assets/fonts/cormorant-garamond-400i-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Cormorant Garamond';font-style:italic;font-weight:400;font-display:swap;src:url('../assets/fonts/cormorant-garamond-400i-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Cormorant Garamond';font-style:normal;font-weight:400;font-display:swap;src:url('../assets/fonts/cormorant-garamond-400-cyrillic.woff2') format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116}
@font-face{font-family:'Cormorant Garamond';font-style:normal;font-weight:400;font-display:swap;src:url('../assets/fonts/cormorant-garamond-400-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Cormorant Garamond';font-style:normal;font-weight:400;font-display:swap;src:url('../assets/fonts/cormorant-garamond-400-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Cormorant Garamond';font-style:normal;font-weight:500;font-display:swap;src:url('../assets/fonts/cormorant-garamond-500-cyrillic.woff2') format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116}
@font-face{font-family:'Cormorant Garamond';font-style:normal;font-weight:500;font-display:swap;src:url('../assets/fonts/cormorant-garamond-500-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Cormorant Garamond';font-style:normal;font-weight:500;font-display:swap;src:url('../assets/fonts/cormorant-garamond-500-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Cormorant Garamond';font-style:normal;font-weight:600;font-display:swap;src:url('../assets/fonts/cormorant-garamond-600-cyrillic.woff2') format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116}
@font-face{font-family:'Cormorant Garamond';font-style:normal;font-weight:600;font-display:swap;src:url('../assets/fonts/cormorant-garamond-600-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Cormorant Garamond';font-style:normal;font-weight:600;font-display:swap;src:url('../assets/fonts/cormorant-garamond-600-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Great Vibes';font-style:normal;font-weight:400;font-display:swap;src:url('../assets/fonts/great-vibes-400-cyrillic.woff2') format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116}
@font-face{font-family:'Great Vibes';font-style:normal;font-weight:400;font-display:swap;src:url('../assets/fonts/great-vibes-400-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Great Vibes';font-style:normal;font-weight:400;font-display:swap;src:url('../assets/fonts/great-vibes-400-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Inter';font-style:normal;font-weight:300;font-display:swap;src:url('../assets/fonts/inter-300-cyrillic.woff2') format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116}
@font-face{font-family:'Inter';font-style:normal;font-weight:300;font-display:swap;src:url('../assets/fonts/inter-300-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Inter';font-style:normal;font-weight:300;font-display:swap;src:url('../assets/fonts/inter-300-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Inter';font-style:normal;font-weight:400;font-display:swap;src:url('../assets/fonts/inter-400-cyrillic.woff2') format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116}
@font-face{font-family:'Inter';font-style:normal;font-weight:400;font-display:swap;src:url('../assets/fonts/inter-400-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Inter';font-style:normal;font-weight:400;font-display:swap;src:url('../assets/fonts/inter-400-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Inter';font-style:normal;font-weight:500;font-display:swap;src:url('../assets/fonts/inter-500-cyrillic.woff2') format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116}
@font-face{font-family:'Inter';font-style:normal;font-weight:500;font-display:swap;src:url('../assets/fonts/inter-500-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Inter';font-style:normal;font-weight:500;font-display:swap;src:url('../assets/fonts/inter-500-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Raleway';font-style:normal;font-weight:400;font-display:swap;src:url('../assets/fonts/raleway-400-cyrillic.woff2') format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116}
@font-face{font-family:'Raleway';font-style:normal;font-weight:400;font-display:swap;src:url('../assets/fonts/raleway-400-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Raleway';font-style:normal;font-weight:400;font-display:swap;src:url('../assets/fonts/raleway-400-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Raleway';font-style:normal;font-weight:500;font-display:swap;src:url('../assets/fonts/raleway-500-cyrillic.woff2') format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116}
@font-face{font-family:'Raleway';font-style:normal;font-weight:500;font-display:swap;src:url('../assets/fonts/raleway-500-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Raleway';font-style:normal;font-weight:500;font-display:swap;src:url('../assets/fonts/raleway-500-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Raleway';font-style:normal;font-weight:600;font-display:swap;src:url('../assets/fonts/raleway-600-cyrillic.woff2') format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116}
@font-face{font-family:'Raleway';font-style:normal;font-weight:600;font-display:swap;src:url('../assets/fonts/raleway-600-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Raleway';font-style:normal;font-weight:600;font-display:swap;src:url('../assets/fonts/raleway-600-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}

/* ---------- 0. Токены ---------- */
:root {
  /* акценты */
  --gold: #c9a96e;
  --gold-2: #c1a06b;
  --gold-light: #f5e6c8;
  --gold-soft: #e0c8a0;
  --gold-rgb: 201, 169, 110;
  --beige-icon: #d1bfa5;

  /* бордо */
  --burgundy: #6e1a2a;
  --burgundy-deep: #4a101a;
  --burgundy-rgb: 30, 8, 14;          /* для затемнений фото */

  /* фоны */
  --bg-dark: #1a0a0d;
  --bg-dark-grad: linear-gradient(135deg, #2b0d14 0%, #4a101a 100%);
  --bg-light: #f8f3ee;
  --white-card: #fffdfb;
  --input-bg: #fffaf6;
  --border-light: #e8ddd6;
  --card-dark-1: rgba(40, 14, 20, 0.65);  /* map-card */
  --card-dark-2: rgba(34, 10, 16, 0.70);  /* venue-info-card */

  /* текст */
  --text-dark: #2a1015;
  --text-dark-2: #3a1a20;
  --text-muted: #7a6a6e;
  --text-hint: #a39597;
  --text-light: #f2f2f2;

  /* статусы */
  --ok: #4caf50;
  --no: #f44336;
  --google: #4285f4;
  --yandex: #ff3333;
  --yandex-text: #ff6666;

  /* шрифты */
  --font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-script: 'Great Vibes', 'Brush Script MT', cursive;
  --font-caps: 'Raleway', 'Segoe UI', Arial, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-arabic: 'Amiri', 'Times New Roman', serif;

  /* easing */
  --ease-premium: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.2, 0.9, 0.4, 1.1);
  --ease-photo: cubic-bezier(0.25, 0.46, 0.45, 0.94);

  /* фото — подставляются из config.js инлайн-скриптом в <head>:
     --photo-lock сразу (маленькое размытое), --photo-1 / --photo-2 после load.
     --photo-1-pos / --photo-2-pos — background-position (images.photo1Position в config.js): какую часть
     горизонтального фото показывать на узком экране; без них — center.
     Специально НЕ объявлены здесь: пока переменной нет, работает fallback var(--photo-1, var(--photo-lock)). */
}

/* ---------- 1. Сброс и глобальная механика ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  height: 100vh;
  height: 100dvh;
  font-family: var(--font-body);
  overflow: hidden;
  background: var(--bg-dark);
  color: var(--text-light);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
a { color: inherit; }
[hidden] { display: none !important; }

/* Скролл-контейнер */
.main-content {
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.2s var(--ease-premium), visibility 0s linear 1.2s;
  height: 100vh;
  height: 100dvh;
  overflow-y: auto;
  overflow-x: hidden;
  -ms-overflow-style: none;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.main-content.visible {
  opacity: 1;
  visibility: visible;
  transition: opacity 1.2s var(--ease-premium), visibility 0s linear 0s;
}
.main-content::-webkit-scrollbar { display: none; }
/* Пока показан lock screen, секции ниже hero не раскладываются и не тянут свои шрифты/картинки.
   После разблокировки (.visible) — обычный рендер. */
.main-content:not(.visible) > section:not(.invitation) {
  content-visibility: hidden;
  contain-intrinsic-size: auto 100vh;
}

/* Без JS: показать контент, спрятать lock screen */
.no-js .main-content { opacity: 1; visibility: visible; }
.no-js .main-content > section { content-visibility: visible; }
.no-js .lock-screen { display: none; }
.no-js .reveal, .no-js .animate-up, .no-js .venue-content > * {
  opacity: 1 !important; transform: none !important; animation: none !important;
}

/* ---------- 2. Lock screen ---------- */
.lock-screen {
  position: fixed;
  inset: 0;
  height: 100vh;
  height: 100dvh;
  z-index: 1000;
  background: var(--bg-dark);
  transition: opacity 1s var(--ease-premium);
  opacity: 1;
  visibility: visible;
  overflow: hidden;
}
.lock-bg {
  position: absolute;
  inset: 0;
  background: var(--photo-lock) var(--photo-1-pos, center)/cover no-repeat;   /* картинка уже размыта при подготовке */
}
.lock-blur {
  position: absolute;
  inset: 0;
  background: rgba(var(--burgundy-rgb), 0.45);
}
.lock-content {
  position: relative;
  z-index: 10;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 20px;
  color: var(--text-light);
}
.lock-invited {
  font-family: var(--font-serif);
  font-size: 15px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-weight: 500;
}
.lock-invited::before, .lock-invited::after {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}
.lock-names {
  font-family: var(--font-serif);
  font-size: 48px;
  font-weight: 400;
  color: var(--text-light);
  text-shadow: 0 5px 25px rgba(0, 0, 0, 0.5);
  margin-bottom: 20px;
  line-height: 1.1;
}
.lock-date {
  font-family: var(--font-body);
  font-size: 14px;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-variant-numeric: tabular-nums;
}
.lock-date::before, .lock-date::after {
  content: '';
  width: 30px;
  height: 1px;
  background: var(--gold);
  opacity: 0.5;
}
.lock-arabic {
  font-family: var(--font-arabic);
  font-size: 24px;
  direction: rtl;
  color: var(--gold);
  margin-bottom: 5px;
}
.lock-translation {
  font-family: var(--font-serif);
  font-size: 19px;
  font-style: italic;
  line-height: 1.4;
  color: var(--gold-light);
  margin-bottom: 8px;
  max-width: 340px;
}
.lock-source {
  font-family: var(--font-serif);
  font-size: 15px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 10px;
  letter-spacing: 0.06em;
}
.lock-heart {
  margin-bottom: 12px;
  color: var(--gold);
  animation: lockHeartPulse 2s infinite ease-in-out;
}
@keyframes lockHeartPulse {
  0%   { opacity: 0.4; transform: scale(1); }
  50%  { opacity: 1;   transform: scale(1.1); }
  100% { opacity: 0.4; transform: scale(1); }
}

/* Слайдер «разблокировать» */
.slider-container { width: 85%; max-width: 340px; margin: 0 auto; position: relative; }
.slider-track {
  position: relative;
  width: 100%;
  height: 56px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}
.slider-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 17px;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  pointer-events: none;
  z-index: 1;
  padding: 0 40px 0 56px;
  font-weight: 600;
}
.slider-arrow {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: var(--gold);
  pointer-events: none;
  z-index: 1;
}
.slider-thumb {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--gold-light), var(--gold));
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  cursor: grab;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: box-shadow 0.2s ease;
  touch-action: none;
  outline: none;
}
.slider-thumb:active { cursor: grabbing; }
.slider-thumb:focus-visible { box-shadow: 0 4px 12px rgba(0,0,0,.3), 0 0 0 3px rgba(255,255,255,.5); }
.lock-icon-svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: #1a1a1a;
  stroke-width: 1;
  stroke-linecap: round;
}
@keyframes shakeAnim {
  0%   { transform: translateX(0); }
  25%  { transform: translateX(-3px); }
  75%  { transform: translateX(3px); }
  100% { transform: translateX(0); }
}
.shake { animation: shakeAnim 0.2s ease-in-out 0s 2; }

/* ---------- 3. Фиксированные элементы: языки и музыка ---------- */
#langSwitcher {
  position: absolute;
  top: 20px;
  left: 20px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  z-index: 1020;
}
#langSwitcher button {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  padding: 6px 10px;
  border-radius: 14px;
  font-size: 11px;
  font-family: var(--font-body);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: pointer;
  opacity: 0.5;
  transition: 0.3s;
}
#langSwitcher button:hover,
#langSwitcher button.active { opacity: 1; }
#langSwitcher button.active { border-color: rgba(var(--gold-rgb), 0.8); color: var(--gold-light); }

#musicToggle {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 1020;
  width: 38px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  border-radius: 20px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: pointer;
  transition: 0.3s;
  opacity: 0.7;
}
#musicToggle:hover { opacity: 1; }
#musicToggle svg { width: 12px; height: 12px; fill: currentColor; }
#musicToggle .icon-pause { display: none; }
#musicToggle.playing .icon-play { display: none; }
#musicToggle.playing .icon-pause { display: block; }

/* ---------- 4. Hero ---------- */
.invitation {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
}
.background {
  position: absolute;
  inset: 0;
  background: var(--photo-1, var(--photo-lock)) var(--photo-1-pos, center)/cover no-repeat;
}
.overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(var(--burgundy-rgb), 0) 50%, rgba(var(--burgundy-rgb), 0.8) 100%);
}
.content {
  position: absolute;
  bottom: 50px;
  width: 100%;
  text-align: center;
  color: #fff;
  padding: 0 20px;
  z-index: 2;
}
.invitation h1 {
  font-family: var(--font-serif);
  font-size: 42px;
  font-weight: 400;
  margin-bottom: 5px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.1;
}
.date {
  color: rgba(255, 255, 255, 0.85);
  font-size: 16px;
  font-family: var(--font-body);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.05em;
}
.divider {
  width: 140px;
  height: 1px;
  margin: 15px auto;
  background: linear-gradient(to right, transparent, var(--gold-2), transparent);
}
.arabic {
  font-family: var(--font-arabic);
  direction: rtl;
  font-size: 1.3rem;
  line-height: 1.8;
  color: var(--gold-2);
  margin-top: 5px;
}
.translation {
  font-family: var(--font-serif);
  font-size: 17px;
  font-style: italic;
  color: var(--gold-light);
  line-height: 1.5;
}
.source { font-size: 15px; color: #c7b8b0; margin-top: 2px; letter-spacing: 0.05em; font-family: var(--font-serif); }
.scroll-down-container {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 48px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
  color: var(--beige-icon);
}
.heart-arrow-icon {
  width: 32px;
  height: 32px;
  animation: heartPulseAndMove 2s infinite ease-in-out;
}
@keyframes heartPulseAndMove {
  0%   { transform: translateY(0);   opacity: 0.5; }
  50%  { transform: translateY(7px); opacity: 1; }
  100% { transform: translateY(0);   opacity: 0.5; }
}

/* ---------- 5. Invite-секции (2 и 9) ---------- */
.invite-section {
  position: relative;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  background: var(--bg-dark);
}
.invite-bg {
  position: absolute;
  width: 110%;
  height: 110%;
  top: -5%;
  left: -5%;
  background: var(--photo-2, var(--photo-lock)) var(--photo-2-pos, center)/cover no-repeat;
  transform: scale(1.1);
  transition: transform 1.5s ease-out;
}
.invite-section.in-view .invite-bg { transform: scale(1); }
.invite-overlay {
  position: absolute;
  inset: 0;
  background: rgba(var(--burgundy-rgb), 0.7);
}
.invite-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
  text-align: center;
  padding: 10px;
}
.invite-top {
  font-family: var(--font-serif);
  font-weight: 500;
  text-transform: uppercase;
  font-size: 17px;
  opacity: 0.85;
  margin: 20px;
  letter-spacing: 0.3em;
}
.invite-names {
  font-family: var(--font-script);
  font-weight: 400;
  font-size: 90px;
  margin: 18px;
  opacity: 0.95;
  line-height: 1;
}
.invite-names2 {
  font-family: var(--font-script);
  font-weight: 400;
  font-size: 55px;
  margin: 18px;
  opacity: 0.95;
  line-height: 1.1;
}
.invite-text {
  font-family: var(--font-serif);
  font-weight: 500;
  text-transform: none;
  font-size: 22px;
  line-height: 1.6;
  opacity: 0.96;
  max-width: 560px;
  letter-spacing: 0.01em;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
}
/* Три абзаца приглашения (invitetop1–3) — рукописным шрифтом (--font-script, Great Vibes:
   есть кириллица и турецкие буквы). Рукописный мельче по x-высоте, поэтому кегль крупнее, чем у .invite-text. */
.invite-story {
  font-family: var(--font-script);
  font-weight: 400;
  font-size: 36px;
  line-height: 1.4;
  letter-spacing: 0;
  max-width: 680px;
}
.invite-story p { margin: 0 0 0.55em; }
.invite-story p:last-child { margin-bottom: 0; }
.invite-heart {
  margin-top: 40px;
  font-size: 20px;
  opacity: 0.4;
  animation: floatHeart 3s infinite ease-in-out;
}
@keyframes floatHeart {
  0%   { transform: translateY(0);    opacity: 0.3; }
  50%  { transform: translateY(10px); opacity: 1; }
  100% { transform: translateY(0);    opacity: 0.3; }
}

/* Reveal по скроллу */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1.2s var(--ease-premium), transform 1.2s var(--ease-premium);
}
.reveal.active { opacity: 0.9; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.2s; }
.reveal-delay-2 { transition-delay: 0.4s; }
.reveal-delay-3 { transition-delay: 0.6s; }

/* ---------- 6. Дата, таймер, календарь ---------- */
.luxury-date-section {
  background: var(--bg-light);
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  font-family: var(--font-body);
  color: var(--text-dark);
}
.luxury-card {
  max-width: 420px;
  width: 100%;
  margin: auto;
  padding: 40px 24px;
  border-radius: 24px;
  background: var(--bg-light);
  box-shadow: 0 20px 60px rgba(60, 20, 30, 0.08);
}
.date-header {
  font-size: 15px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 20px;
  font-family: var(--font-serif);
  font-weight: 500;
}
.big-date { display: flex; justify-content: center; gap: 20px; margin-bottom: 20px; }
.big-date span {
  font-family: var(--font-serif);
  font-size: 72px;
  font-weight: 400;
  line-height: 1.1;
  color: var(--burgundy);
  text-shadow: 0 4px 10px rgba(60, 20, 30, 0.08);
  font-variant-numeric: tabular-nums;
}
.luxury-divider { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 20px 0 30px; }
.luxury-divider span { width: 60px; height: 1px; background: var(--gold); }
.luxury-divider i { color: var(--gold); font-size: 14px; font-style: normal; }
.timer-label {
  font-size: 15px;
  letter-spacing: 0.22em;
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 15px;
  text-transform: uppercase;
  font-family: var(--font-serif);
  font-weight: 500;
}
.countdown { display: flex; justify-content: center; gap: 18px; margin-bottom: 20px; }
.countdown-item { text-align: center; }
.flip-number {
  display: inline-block;
  background: var(--white-card);
  padding: 10px 6px;
  border-radius: 12px;
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 500;
  min-width: 60px;
  color: var(--text-dark);
  box-shadow: 0 2px 8px rgba(60, 20, 30, 0.05);
  transition: transform 0.2s ease;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}
.flip-number.tick { transform: scale(1.05); }
.countdown small {
  display: block;
  font-size: 13px;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  margin-top: 8px;
  text-transform: uppercase;
  font-family: var(--font-serif);
  font-weight: 500;
}
.ornament { text-align: center; color: var(--gold); margin: 20px 0; font-size: 20px; }
.calendar-title {
  text-align: center;
  font-size: 20px;
  letter-spacing: 0.18em;
  margin-bottom: 15px;
  color: var(--text-dark);
  font-weight: 500;
  font-family: var(--font-serif);
}
.week {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 8px;
  font-family: var(--font-serif);
  font-weight: 500;
}
.days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  text-align: center;
  margin-top: 5px;
}
.days span {
  padding: 8px 0;
  font-size: 14px;
  font-weight: 400;
  color: var(--text-dark);
  border-radius: 50%;
  transition: all 0.2s ease;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.days .active {
  border: 1px solid var(--gold);
  color: var(--gold);
  background: transparent;
  font-weight: 500;
}
.time {
  text-align: center;
  margin-top: 25px;
  font-size: 17px;
  letter-spacing: 0.18em;
  color: var(--text-dark);
  border-top: 1px solid rgba(60, 20, 30, 0.08);
  padding-top: 25px;
  font-family: var(--font-serif);
  font-weight: 500;
}
@media (max-width: 480px) {
  .lock-names { font-size: 42px; }
  .big-date span { font-size: 56px; }
  .flip-number { font-size: 28px; min-width: 50px; padding: 6px 4px; }
  .countdown { gap: 12px; }
}

/* ---------- 7. Тайминг ---------- */
.timeline-section {
  background: var(--bg-light);
  padding: 100px 20px;
  display: flex;
  justify-content: center;
  color: var(--text-dark);
}
.timeline-container { max-width: 420px; width: 100%; text-align: center; }
.timeline-title {
  font-family: var(--font-serif);
  font-size: 15px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 60px;
  font-weight: 500;
}
.timeline { display: flex; flex-direction: column; gap: 40px; position: relative; margin-left: 20px; }
.timeline-item { display: flex; align-items: center; }
.timeline-icon { width: 50px; display: flex; justify-content: flex-end; margin-right: 10px; }
.timeline-icon svg {
  width: 45px;
  height: 45px;
  fill: none;
  stroke: var(--text-dark-2);
  stroke-width: 1.3;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.9;
  transition: 0.3s;
}
.timeline-item:hover .timeline-icon svg { stroke: var(--gold); opacity: 1; }
.timeline-center { width: 40px; position: relative; display: flex; justify-content: center; }
.dot {
  width: 8px;
  height: 8px;
  background: var(--text-dark-2);
  border-radius: 50%;
  z-index: 2;
  transition: 0.3s;
}
.line {
  position: absolute;
  top: 8px;
  width: 1px;
  height: calc(100% + 32px);
  background: var(--text-dark-2);
  opacity: 0.2;
}
.timeline-item.last .line { display: none; }
.timeline-text { flex: 1; text-align: left; margin-left: 10px; }
.time1 {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 500;
  color: var(--burgundy);
  transition: color 0.3s;
  font-variant-numeric: tabular-nums;
}
.desc {
  font-family: var(--font-serif);
  font-size: 17px;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-top: 4px;
  text-transform: uppercase;
  font-weight: 500;
}
.timeline-item:hover .dot { transform: scale(1.4); background: var(--gold); }
.timeline-item:hover .time1 { color: var(--gold); }
.timeline-footer { margin-top: 70px; display: flex; justify-content: center; }
.timeline-footer svg { width: 40px; height: 40px; stroke: var(--gold); stroke-width: 1; fill: none; opacity: 0.7; }
@media (max-width: 480px) {
  .timeline-title { margin-bottom: 40px; }
}

/* ---------- 8. Venue (галерея) ---------- */
.venue-section {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 24px;
  background: var(--bg-dark-grad);
  overflow: hidden;
}
.venue-section::before {
  content: '';
  position: absolute;
  top: -10%;
  left: -10%;
  width: 120%;
  height: 120%;
  background: var(--photo-1, var(--photo-lock)) var(--photo-1-pos, center)/cover no-repeat;
  filter: blur(1px) brightness(0.8);
  opacity: 0.9;
  z-index: 0;
  transform: translate(var(--parallax-x, 0px), var(--parallax-y, 0px));
  transition: transform 0.1s ease-out;
}
.venue-section::after {
  /* лёгкий бордовый тон поверх фото, чтобы карточка читалась */
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(var(--burgundy-rgb), 0.35);
  z-index: 0;
  pointer-events: none;
}
.venue-container {
  position: relative;
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(var(--burgundy-rgb), 0.35);
  border-radius: 32px;
  border: 1px solid rgba(var(--gold-rgb), 0.25);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(var(--gold-rgb), 0.1) inset;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  z-index: 1;
}
.venue-container:hover {
  transform: translateY(-4px);
  box-shadow: 0 35px 60px -15px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(var(--gold-rgb), 0.3) inset;
}
.venue-glass {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.03) 0%, transparent 70%);
  pointer-events: none;
}
.venue-content { position: relative; padding: 48px 40px; z-index: 2; }
.venue-header { text-align: center; margin-bottom: 40px; }
.venue-monogram {
  font-family: var(--font-serif);
  font-size: 14px;
  letter-spacing: 6px;
  color: var(--gold);
  margin-bottom: 16px;
  opacity: 0.8;
}
.venue-title {
  font-family: var(--font-serif);
  font-size: 16px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  margin-bottom: 20px;
}
.venue-divider { display: flex; align-items: center; justify-content: center; gap: 12px; }
.venue-divider span { width: 50px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), var(--gold), transparent); }
.venue-divider i { color: var(--gold); font-size: 14px; font-style: normal; opacity: 0.7; }
.venue-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-bottom: 40px; }
.venue-gallery.single { grid-template-columns: minmax(0, 420px); justify-content: center; }
.venue-gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  aspect-ratio: 4 / 3;      /* фото заведения горизонтальные (фасад, зал); файлы 1600×1200 из make-images.py */
  cursor: pointer;
  background: rgba(0, 0, 0, 0.2);
}
.venue-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-photo);
}
.venue-gallery-item:hover .venue-img { transform: scale(1.08); }
.venue-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(0, 0, 0, 0.5) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.venue-gallery-item:hover .venue-img-overlay { opacity: 1; }
.venue-name {
  font-family: var(--font-script);
  font-size: 56px;
  font-weight: 500;
  font-style: italic;
  text-align: center;
  color: #fff;
  letter-spacing: 2px;
  margin-bottom: 24px;
  line-height: 1.2;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
  background: linear-gradient(135deg, #ffffff 0%, var(--gold) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: venueGlow 3s ease-in-out infinite;
}
@keyframes venueGlow {
  0%   { opacity: 0.95; text-shadow: 0 0 0 rgba(var(--gold-rgb), 0); }
  50%  { opacity: 1;    text-shadow: 0 0 15px rgba(var(--gold-rgb), 0.3); }
  100% { opacity: 0.95; text-shadow: 0 0 0 rgba(var(--gold-rgb), 0); }
}
.venue-address {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 32px;
  font-family: var(--font-serif);
  font-size: 18px;
  color: rgba(255, 255, 255, 0.85);
  text-align: center;
  flex-wrap: wrap;
  font-weight: 500;
}
.venue-location-icon { width: 20px; height: 20px; color: var(--gold); flex-shrink: 0; }
.venue-btn-wrap { text-align: center; margin-bottom: 40px; }
.venue-map-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 32px;
  background: transparent;
  border: 1.5px solid rgba(var(--gold-rgb), 0.6);
  border-radius: 60px;
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.4s var(--ease-spring);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}
.venue-map-btn:hover {
  background: rgba(var(--gold-rgb), 0.15);
  border-color: var(--gold);
  transform: translateY(-2px);
  gap: 16px;
  box-shadow: 0 8px 25px -8px rgba(var(--gold-rgb), 0.3);
}
.venue-btn-icon { width: 18px; height: 18px; transition: transform 0.3s ease; }
.venue-map-btn:hover .venue-btn-icon { transform: scale(1.1); }
.venue-arrow-icon { width: 16px; height: 16px; transition: transform 0.3s ease; }
.venue-map-btn:hover .venue-arrow-icon { transform: translateX(4px); }
.venue-footer {
  text-align: center;
  border-top: 1px solid rgba(var(--gold-rgb), 0.2);
  padding-top: 32px;
  margin-top: 8px;
}
.venue-footer p {
  font-family: var(--font-serif);
  font-size: 19px;
  font-style: italic;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 12px;
}
.venue-heart { color: var(--gold); font-size: 18px; opacity: 0.6; animation: venueHeartBeat 2s infinite ease; }
@keyframes venueHeartBeat {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50%      { opacity: 0.8; transform: scale(1.1); }
}
/* Появление содержимого — запускается IntersectionObserver'ом (класс .in-view на .venue-content) */
.venue-content > * {
  opacity: 0;
  transform: translateY(30px);
  animation: venueFadeUp 0.8s var(--ease-premium) forwards;
  animation-play-state: paused;
}
.venue-content.in-view > * { animation-play-state: running; }
.venue-header   { animation-delay: 0.1s; }
.venue-gallery  { animation-delay: 0.2s; }
.venue-name     { animation-delay: 0.35s; }
.venue-address  { animation-delay: 0.5s; }
.venue-btn-wrap { animation-delay: 0.65s; }
.venue-footer   { animation-delay: 0.8s; }
@keyframes venueFadeUp { to { opacity: 1; transform: translateY(0); } }

@media (max-width: 768px) {
  .venue-section { padding: 40px 16px; }
  .venue-content { padding: 32px 24px; }
  .venue-name { font-size: 42px; }
  .venue-gallery { gap: 14px; margin-bottom: 32px; }
  .venue-gallery-item { border-radius: 16px; }
  .venue-title { font-size: 14px; letter-spacing: 0.22em; }
  .venue-map-btn { padding: 12px 24px; font-size: 14px; }
  .venue-address { font-size: 16px; }
}
@media (max-width: 560px) {
  .venue-gallery { grid-template-columns: 1fr; gap: 16px; }
  .venue-content { padding: 24px 20px; }
  .venue-name { font-size: 36px; }
}
@media (orientation: landscape) and (max-height: 600px) {
  .venue-section { padding: 30px 20px; }
  .venue-gallery { margin-bottom: 20px; }
  .venue-name { margin-bottom: 12px; }
}

/* ---------- 9. Локация (карта) ---------- */
.venue-section--location::before { transform: none; transition: none; }
.location-winner-section {
  position: relative;
  width: 100%;
  max-width: 900px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(var(--burgundy-rgb), 0.45);
  border-radius: 48px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(var(--gold-rgb), 0.2) inset;
  z-index: 1;
}
.location-winner-section::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 40%, rgba(var(--gold-rgb), 0.08) 0%, transparent 60%);
  animation: slowRotate 40s linear infinite;
  pointer-events: none;
  z-index: 0;
  translate: var(--mouse-x, 0px) var(--mouse-y, 0px);
  transition: translate 0.1s ease-out;
}
@keyframes slowRotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.location-glass-container { position: relative; z-index: 2; padding: 60px 40px; width: 100%; overflow-x: hidden; }
.location-header { text-align: center; margin-bottom: 50px; }
.location-badge {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: 13px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(var(--gold-rgb), 0.12);
  padding: 8px 24px;
  border-radius: 60px;
  margin-bottom: 20px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(var(--gold-rgb), 0.25);
  font-weight: 600;
}
.location-title {
  font-family: var(--font-serif);
  font-size: 56px;
  font-weight: 400;
  color: #fff;
  letter-spacing: 1px;
  margin-bottom: 16px;
  line-height: 1.1;
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
}
.location-subtitle {
  font-family: var(--font-serif);
  font-size: 16px;
  letter-spacing: 0.22em;
  color: rgba(255, 255, 255, 0.65);
  text-transform: uppercase;
  font-weight: 500;
}
.location-divider { display: flex; align-items: center; justify-content: center; gap: 15px; margin-top: 25px; }
.location-divider span { width: 55px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), var(--gold), transparent); }
.location-divider i { color: var(--gold); font-style: normal; font-size: 14px; opacity: 0.7; }
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 40px;
  width: 100%;
  overflow-x: hidden;
}
.map-card, .venue-info-card { width: 100%; min-width: 0; overflow: hidden; }
.map-card {
  background: var(--card-dark-1);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 32px;
  border: 1px solid rgba(var(--gold-rgb), 0.25);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.4);
  transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.2);
}
.map-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 50px -18px rgba(0, 0, 0, 0.6);
  border-color: rgba(var(--gold-rgb), 0.45);
}
.map-frame-wrapper { position: relative; width: 100%; height: 320px; overflow: hidden; }
.map-frame-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.2) brightness(0.9);
  transition: filter 0.5s ease, transform 0.6s ease;
}
.map-card:hover .map-frame-wrapper iframe { filter: grayscale(0) brightness(1); transform: scale(1.02); }
.map-label {
  padding: 18px 24px;
  background: linear-gradient(135deg, rgba(48, 16, 24, 0.9), rgba(30, 10, 16, 0.95));
  border-top: 1px solid rgba(var(--gold-rgb), 0.2);
  font-family: var(--font-serif);
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
}
.map-label svg { width: 18px; height: 18px; stroke: var(--gold); stroke-width: 1.5; fill: none; flex-shrink: 0; }
.venue-info-card {
  background: var(--card-dark-2);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 32px;
  border: 1px solid rgba(var(--gold-rgb), 0.25);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: all 0.4s ease;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.3);
}
.venue-info-card:hover { border-color: rgba(var(--gold-rgb), 0.5); transform: translateY(-4px); }
.restaurant-name {
  font-family: var(--font-script);
  font-size: 44px;
  font-weight: 500;
  text-align: center;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 20px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
  background: linear-gradient(135deg, #ffffff 0%, var(--gold-soft) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 1px;
}
.address-block {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin: 25px 0 20px;
  padding: 18px 0;
  border-top: 1px solid rgba(var(--gold-rgb), 0.2);
  border-bottom: 1px solid rgba(var(--gold-rgb), 0.2);
  width: 100%;
}
.address-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: rgba(var(--gold-rgb), 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.address-icon svg { width: 20px; height: 20px; stroke: var(--gold); stroke-width: 1.5; fill: none; }
.address-text {
  font-family: var(--font-serif);
  font-size: 19px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  letter-spacing: 0.2px;
  flex: 1;
}
.route-buttons { display: flex; flex-wrap: wrap; gap: 18px; margin: 25px 0 20px; }
.route-btn {
  flex: 1;
  min-width: 180px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 20px;
  background: transparent;
  border-radius: 60px;
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.2, 0.9, 0.4, 1.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1.2px solid rgba(var(--gold-rgb), 0.6);
  color: var(--gold);
}
.route-btn svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 1.5; fill: none; transition: transform 0.3s ease; flex-shrink: 0; }
.route-btn:hover {
  background: rgba(var(--gold-rgb), 0.12);
  border-color: var(--gold);
  transform: translateY(-3px);
  gap: 16px;
  box-shadow: 0 10px 25px -8px rgba(var(--gold-rgb), 0.3);
}
.route-btn:hover svg { transform: scale(1.05); }
.google-btn:hover { background: rgba(66, 133, 244, 0.2); border-color: var(--google); color: var(--google); }
.yandex-btn:hover { background: rgba(255, 50, 50, 0.15); border-color: var(--yandex); color: var(--yandex-text); }
.location-footer {
  text-align: center;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(var(--gold-rgb), 0.15);
}
.footer-heart { margin-top: 18px; color: var(--gold); animation: gentlePulse 2.2s infinite; font-family: var(--font-serif); font-size: 20px; }
@keyframes gentlePulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.12); }
}
/* Появление по скроллу (класс .in-view ставит JS) */
.animate-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s var(--ease-premium) forwards;
  animation-play-state: paused;
}
.animate-up.in-view { animation-play-state: running; }
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }
.up-delay-1 { animation-delay: 0.1s; }
.up-delay-2 { animation-delay: 0.2s; }
.up-delay-3 { animation-delay: 0.35s; }
.up-delay-4 { animation-delay: 0.5s; }

@media (max-width: 900px) {
  .location-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 768px) {
  .location-glass-container { padding: 40px 20px; }
}
@media (max-width: 680px) {
  .route-buttons { flex-direction: column; width: 100%; }
  .route-btn { justify-content: center; width: 100%; }
  .location-title { font-size: 42px; }
}
@media (max-width: 560px) {
  .restaurant-name { font-size: 36px; }
}

/* ---------- 10. RSVP ---------- */
.rsvp-winner-section {
  background: var(--bg-light);
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  padding: 60px 20px;
  position: relative;
  color: var(--text-dark);
  overflow: hidden;
}
.rsvp-winner-section::before {
  content: '';
  position: absolute;
  top: -20%;
  left: -20%;
  width: 140%;
  height: 140%;
  background: radial-gradient(circle at 30% 40%, rgba(var(--gold-rgb), 0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.rsvp-card {
  max-width: 580px;
  width: 100%;
  margin: 0 auto;
  background: var(--white-card);
  border-radius: 48px;
  box-shadow: 0 30px 60px rgba(60, 20, 30, 0.04), 0 0 0 1px rgba(var(--gold-rgb), 0.15);
  overflow: hidden;
  transition: transform 0.4s var(--ease-spring), box-shadow 0.4s ease;
  position: relative;
  z-index: 2;
}
.rsvp-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 40px 70px rgba(60, 20, 30, 0.08), 0 0 0 1px rgba(var(--gold-rgb), 0.25);
}
.rsvp-card.pressed { transform: scale(0.99); }
.rsvp-inner { padding: 48px 40px; }
.rsvp-header { text-align: center; margin-bottom: 40px; }
.rsvp-badge {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: 13px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(var(--gold-rgb), 0.1);
  padding: 6px 18px;
  border-radius: 40px;
  margin-bottom: 24px;
  border: 0.5px solid rgba(var(--gold-rgb), 0.3);
  font-weight: 600;
}
.rsvp-title {
  font-family: var(--font-serif);
  font-size: 48px;
  font-weight: 400;
  color: var(--burgundy);
  margin-bottom: 12px;
  letter-spacing: -0.5px;
  line-height: 1.1;
}
.rsvp-sub {
  font-family: var(--font-serif);
  font-size: 16px;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-top: 6px;
  font-weight: 500;
}
.rsvp-divider { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 20px 0 5px; }
.rsvp-divider span { width: 50px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), var(--gold), transparent); }
.rsvp-divider i { color: var(--gold); font-style: normal; font-size: 14px; opacity: 0.7; }
.rsvp-form { display: flex; flex-direction: column; gap: 28px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-label {
  font-family: var(--font-serif);
  font-size: 16px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--text-dark-2);
  font-weight: 600;
}
.form-input {
  width: 100%;
  padding: 16px 20px;
  font-family: var(--font-body);
  font-size: 16px;
  background: var(--white-card);
  border: 1px solid var(--border-light);
  border-radius: 28px;
  transition: all 0.3s ease;
  outline: none;
  color: var(--text-dark);
}
.form-input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(var(--gold-rgb), 0.2); }
.guest-counter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--input-bg);
  border: 1px solid var(--border-light);
  border-radius: 60px;
  padding: 6px 12px;
  transition: all 0.2s;
}
.guest-counter:focus-within { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(var(--gold-rgb), 0.2); }
.counter-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: transparent;
  border: none;
  font-size: 26px;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
  color: var(--gold);
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.counter-btn:hover { background: rgba(var(--gold-rgb), 0.1); transform: scale(1.02); }
.counter-btn.limit { opacity: 0.5; }
.guest-value {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 500;
  color: var(--text-dark);
  min-width: 60px;
  text-align: center;
}
.guest-limit-hint { font-size: 11px; color: var(--text-hint); margin-top: 8px; padding-left: 12px; letter-spacing: 0.3px; }
.radio-group { display: flex; gap: 24px; flex-wrap: wrap; margin-top: 6px; }
.radio-option {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-dark-2);
  padding: 10px 18px;
  border-radius: 60px;
  background: var(--input-bg);
  border: 1px solid var(--border-light);
  transition: all 0.25s ease;
}
.radio-option.selected { background: rgba(var(--gold-rgb), 0.08); border-color: var(--gold); color: var(--gold); }
.radio-option input {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  margin: 0;
  position: relative;
  cursor: pointer;
  transition: 0.1s;
  flex-shrink: 0;
}
.radio-option input:checked { background: var(--gold); box-shadow: inset 0 0 0 4px var(--input-bg); }
.radio-option span { font-weight: 500; }
textarea.form-input { resize: vertical; min-height: 90px; border-radius: 28px; font-family: var(--font-body); }
/* honeypot против ботов: поле есть в DOM, но человек его не видит и не попадает в него табом (tabindex=-1) */
.hp-field { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }
.submit-btn {
  border: 1.5px solid var(--gold);
  border-radius: 60px;
  padding: 16px 24px;
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  cursor: pointer;
  transition: all 0.4s var(--ease-spring);
  background: rgba(var(--gold-rgb), 0.02);
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
}
.submit-btn:hover:not(:disabled) {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
  gap: 18px;
  box-shadow: 0 10px 25px -8px rgba(var(--gold-rgb), 0.5);
  transform: translateY(-2px);
}
.submit-btn:disabled { opacity: 0.6; cursor: wait; }
.submit-btn svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 1.8; fill: none; transition: transform 0.3s; }
.submit-btn:hover:not(:disabled) svg { transform: translateX(4px); }
.required-footnote { text-align: center; font-size: 11px; color: var(--text-hint); margin-top: 20px; letter-spacing: 0.5px; }

/* Тост */
.toast-message {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  color: var(--text-light);
  padding: 12px 24px;
  border-radius: 60px;
  font-family: var(--font-body);
  font-size: 14px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(26, 10, 13, 0.85);
  border: 1px solid rgba(var(--gold-rgb), 0.25);
  z-index: 2000;
  opacity: 0;
  transition: all 0.3s ease;
  pointer-events: none;
  max-width: calc(100% - 40px);
  text-align: center;
}
.toast-message.show { opacity: 1; transform: translateX(-50%) translateY(0); }

@media (max-width: 560px) {
  .rsvp-inner { padding: 36px 24px; }
  .rsvp-title { font-size: 36px; }
  .radio-group { gap: 14px; }
  .radio-option { padding: 6px 14px; font-size: 13px; }
}

/* ---------- 11. Точки-навигация по секциям (слева; кнопки строит main.js → initSectionDots) ---------- */
#sectionDots {
  position: fixed; left: 14px; top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 12px; z-index: 900;
  opacity: 0; pointer-events: none; transition: opacity 0.8s ease 0.6s;
}
.main-content.visible ~ #sectionDots { opacity: 1; pointer-events: auto; }   /* только после разблокировки */
#sectionDots button {
  width: 24px; height: 24px; padding: 0; border: 0; background: transparent; cursor: pointer;
  display: grid; place-items: center; -webkit-tap-highlight-color: transparent;
}
#sectionDots button::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: rgba(var(--gold-rgb), 0.5); box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.18);
  transition: transform 0.35s var(--ease-premium), background 0.35s, box-shadow 0.35s;
}
#sectionDots button:hover::before { background: var(--gold); }
#sectionDots button.active::before { background: var(--gold); transform: scale(1.5); box-shadow: 0 0 0 3px rgba(var(--gold-rgb), 0.25); }
#sectionDots button:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 50%; }
@media (max-width: 560px) {
  #sectionDots { left: 6px; gap: 10px; }
  #sectionDots button { width: 20px; height: 20px; }
  #sectionDots button::before { width: 5px; height: 5px; }
}
@media (max-width: 480px) {
  .invite-text { font-size: 20px; }
  .invite-story { font-size: 29px; line-height: 1.35; }
  .invite-top { font-size: 15px; }
}

/* ---------- 12. Доступность: меньше движения ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-iteration-count: 1 !important;
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal, .animate-up, .venue-content > * { opacity: 1 !important; transform: none !important; }
  .invite-bg { transform: none !important; }
}
