/* ===== WEDDING — Семён и Евгения ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --noir: #0d0508;
  --wine-deep: #1c0610;
  --wine: #2a0a14;
  --wine-mid: #3d0f1d;
  --burgundy: #5a1426;
  --burgundy-mid: #7a1f33;
  --burgundy-bright: #9b2d44;
  --rose-mist: #c98b9b;
  --rose-pale: #e8c4cc;

  --gold: #c9a55c;
  --gold-bright: #e8cc8a;
  --gold-deep: #a88848;
  --champagne: #f1d9a8;

  --ivory: #f4e9d8;
  --cream: #ede0d0;
  --text: #e8d8c4;
  --text-soft: #c2b09a;
  --text-muted: #8a7a6e;

  --font-display: 'Cormorant Garamond', 'Times New Roman', serif;
  --font-serif: 'Forum', 'Cormorant Garamond', serif;
  --font-italic: 'Cormorant Garamond', 'Georgia', serif;
  --font-body: 'Inter', 'Helvetica Neue', sans-serif;
  --font-accent: 'Tenor Sans', 'Helvetica', sans-serif;
}

html {
  scroll-behavior: smooth;
  font-size: 17px;
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  background: var(--noir);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 80% 50% at 25% 10%, rgba(155, 45, 68, 0.22) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 70%, rgba(201, 165, 92, 0.10) 0%, transparent 60%),
    radial-gradient(ellipse 100% 80% at 50% 100%, rgba(13, 5, 8, 0.9) 0%, transparent 70%),
    linear-gradient(180deg, var(--noir) 0%, var(--wine-deep) 50%, var(--noir) 100%);
  pointer-events: none;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: url("/static/img/spb-texture.svg");
  background-size: 700px auto;
  background-repeat: repeat;
  opacity: 0.05;
  mix-blend-mode: screen;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.95' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.85'/%3E%3C/svg%3E");
}

.vignette {
  position: fixed;
  inset: 0;
  z-index: 998;
  pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(0, 0, 0, 0.55) 100%);
}

.particles-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* ===== TOPBAR ===== */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.4rem 3rem;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.5s ease;
}

.topbar.scrolled {
  background: rgba(13, 5, 8, 0.88);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  padding: 0.9rem 3rem;
  border-bottom: 1px solid rgba(201, 165, 92, 0.15);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.nav {
  display: flex;
  gap: 2.8rem;
}

.nav a {
  position: relative;
  font-family: var(--font-serif);
  font-size: 0.95rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-soft);
  text-decoration: none;
  padding: 0.5rem 0;
  transition: color 0.3s;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.4s ease;
}

.nav a:hover {
  color: var(--gold-bright);
}

.nav a:hover::after {
  width: 100%;
}

.burger {
  display: none;
  position: fixed;
  top: 1.2rem;
  right: 1.5rem;
  z-index: 200;
  width: 44px;
  height: 32px;
  cursor: pointer;
  background: rgba(13, 5, 8, 0.7);
  border: 1px solid rgba(201, 165, 92, 0.35);
  border-radius: 4px;
  padding: 8px 7px;
  backdrop-filter: blur(10px);
}

.burger span {
  display: block;
  height: 1.8px;
  background: var(--gold);
  transition: all 0.3s ease;
  position: absolute;
  left: 7px;
  right: 7px;
  border-radius: 2px;
}

.burger span:nth-child(1) { top: 8px; }
.burger span:nth-child(2) { top: 15px; }
.burger span:nth-child(3) { top: 22px; }

.burger.active span:nth-child(1) { transform: rotate(45deg); top: 15px; }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: rotate(-45deg); top: 15px; }


/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 4rem 1.5rem;
}

/* Фоновое фото СПб */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('/static/img/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  filter: grayscale(0.3) contrast(1.05);
  z-index: 1;
}

/* Тёмный винный overlay поверх фото */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgba(13, 5, 8, 0.85) 0%,
      rgba(28, 6, 16, 0.7) 30%,
      rgba(28, 6, 16, 0.7) 70%,
      rgba(13, 5, 8, 0.95) 100%),
    radial-gradient(ellipse at center, transparent 0%, rgba(13, 5, 8, 0.5) 100%);
  z-index: 2;
}

/* Золотая рамка-картуш в центре */
.hero__content {
  position: relative;
  z-index: 5;
  text-align: center;
  width: 100%;
  max-width: 720px;
  padding: 5rem 3.5rem;
  background: rgba(13, 5, 8, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(201, 165, 92, 0.45);
  box-shadow:
    0 0 60px rgba(0, 0, 0, 0.6),
    inset 0 0 80px rgba(155, 45, 68, 0.15);
}

/* Внутренняя тонкая линия (двойная рамка) */
.hero__content::before {
  content: '';
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(201, 165, 92, 0.25);
  pointer-events: none;
}

/* Угловые засечки */
.hero__content::after {
  content: '';
  position: absolute;
  inset: -1px;
  pointer-events: none;
  background:
    linear-gradient(to right, var(--gold) 30px, transparent 30px) 0 0 / 100% 1.5px no-repeat,
    linear-gradient(to right, var(--gold) 30px, transparent 30px) 100% 0 / 100% 1.5px no-repeat,
    linear-gradient(to bottom, var(--gold) 30px, transparent 30px) 0 0 / 1.5px 100% no-repeat,
    linear-gradient(to bottom, var(--gold) 30px, transparent 30px) 100% 0 / 1.5px 100% no-repeat,
    linear-gradient(to left, var(--gold) 30px, transparent 30px) 100% 100% / 100% 1.5px no-repeat,
    linear-gradient(to left, var(--gold) 30px, transparent 30px) 0 100% / 100% 1.5px no-repeat,
    linear-gradient(to top, var(--gold) 30px, transparent 30px) 0 100% / 1.5px 100% no-repeat,
    linear-gradient(to top, var(--gold) 30px, transparent 30px) 100% 100% / 1.5px 100% no-repeat;
}

.hero__pre {
  font-family: 'Tenor Sans', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.55em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 2rem;
  text-indent: 0.55em;
  opacity: 0.9;
  text-align: center;
}

/* Имена — каждое на своей строке, идеально по центру */
.hero__names {
  font-family: 'Cormorant Garamond', 'Times New Roman', serif;
  font-weight: 300;
  font-size: clamp(3.2rem, 9vw, 6rem);
  line-height: 1;
  margin: 0 0 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  letter-spacing: 0.02em;
  width: 100%;
}

.hero__name {
  display: block;
  text-align: center;
  width: 100%;
  background: linear-gradient(180deg, var(--ivory), var(--rose-pale));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 40px rgba(155, 45, 68, 0.4);
  font-weight: 300;
}

.hero__amp {
  display: block;
  text-align: center;
  width: 100%;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 0.85em;
  line-height: 1;
  margin: 0.15em 0;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold), var(--gold-deep));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 25px rgba(201, 165, 92, 0.6));
  animation: shimmer 4s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { filter: drop-shadow(0 0 25px rgba(201, 165, 92, 0.5)); }
  50% { filter: drop-shadow(0 0 45px rgba(232, 204, 138, 0.8)); }
}

/* Разделитель между именами и датой */
.hero__content > .hero__date {
  position: relative;
  margin-top: 2.5rem;
  padding-top: 2rem;
}

.hero__content > .hero__date::before {
  content: '◆';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  color: var(--gold);
  font-size: 0.6rem;
  background: rgba(13, 5, 8, 0.95);
  padding: 0 1rem;
}

.hero__content > .hero__date::after {
  content: '';
  position: absolute;
  top: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 50%;
  max-width: 200px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.5;
}

.hero__date {
  font-family: 'DM Serif Display', serif;
  font-weight: 400;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  color: var(--gold-bright);
  letter-spacing: 0.04em;
  line-height: 1.2;
}

.hero__city {
  margin-top: 1.5rem;
  font-family: 'Forum', 'Tenor Sans', serif;
  font-size: 0.95rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-soft);
  padding-left: 0.22em;
}

/* Стрелка вниз */
.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 6;
  width: 30px;
  height: 50px;
  display: flex;
  justify-content: center;
}

.hero__scroll-line {
  display: block;
  width: 1px;
  height: 100%;
  background: linear-gradient(180deg, var(--gold), transparent);
  animation: scrollLine 2.5s ease-in-out infinite;
}

@keyframes scrollLine {
  0%, 100% { transform: scaleY(0.3); opacity: 0.3; transform-origin: top; }
  50% { transform: scaleY(1); opacity: 0.7; transform-origin: top; }
}

/* ============ HERO ATMOSPHERE (по аналогии с rodionovdigital.ru) ============ */

/* Тёмный overlay поверх фото */
.hero-dark {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(13,5,8,0.55) 0%, rgba(13,5,8,0.85) 100%),
    radial-gradient(ellipse at 50% 50%, transparent 0%, rgba(13,5,8,0.6) 100%);
  pointer-events: none;
}

/* Пульсирующие световые сферы */
.hero-glow1 {
  position: absolute;
  top: 10%;
  right: 25%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(201, 165, 92, 0.18) 0%, transparent 70%);
  z-index: 2;
  filter: blur(70px);
  animation: glowPulse 6s ease-in-out infinite alternate;
  pointer-events: none;
}

.hero-glow2 {
  position: absolute;
  bottom: 15%;
  left: 30%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(155, 45, 68, 0.22) 0%, transparent 70%);
  z-index: 2;
  filter: blur(60px);
  animation: glowPulse 8s 2s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes glowPulse {
  0%   { opacity: 0.6; transform: scale(1); }
  100% { opacity: 1; transform: scale(1.15); }
}

/* Огромная плывущая надпись-обводка снизу — как на rodionovdigital.ru */
.hero-ghost {
  position: absolute;
  bottom: 8%;
  left: 0;
  right: 0;
  z-index: 2;
  overflow: hidden;
  white-space: nowrap;
  pointer-events: none;
}

.hero-ghost span {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(14rem, 32vw, 30rem);
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.10);
  display: inline-block;
  animation: ghostSlide 50s linear infinite;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.hero-ghost::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    repeating-linear-gradient(90deg, rgba(201, 165, 92, 0.04) 0px, transparent 1px, transparent 280px),
    repeating-linear-gradient(0deg, rgba(201, 165, 92, 0.03) 0px, transparent 1px, transparent 280px);
  mix-blend-mode: screen;
}

@keyframes ghostSlide {
  0%   { transform: translateX(5%); }
  100% { transform: translateX(-50%); }
}

/* Шумовая текстура поверх */
.hero-noise {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0.16;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.92 0 0 0 0 0.78 0 0 0 0 0.4 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 280px 280px;
}

/* Canvas со звёздами (мерцающие точки + редкие падающие звёзды) */
.hero-stars-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  pointer-events: none;
  display: block;
}

/* Глобальные летящие частицы по всей странице */
.global-particles {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.gp {
  position: absolute;
  border-radius: 50%;
  opacity: 0;
  animation: gpFloat linear infinite;
}

@keyframes gpFloat {
  0%   { opacity: 0; transform: translateY(0) translateX(0); }
  8%   { opacity: var(--gpo, 0.3); }
  50%  { transform: translateY(calc(var(--gpdy, -300px))) translateX(calc(var(--gpdx, 30px))); }
  92%  { opacity: var(--gpo, 0.3); }
  100% { opacity: 0; transform: translateY(calc(var(--gpdy, -300px) * 2)) translateX(calc(var(--gpdx, 30px) * 1.5)); }
}

/* hero__content всегда выше всех слоёв */
.hero__content { z-index: 10 !important; }


/* ===== SECTIONS ===== */
.section {
  position: relative;
  z-index: 2;
  padding: 7rem 2rem;
  text-align: center;
}

.section__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  color: var(--ivory);
  margin-bottom: 1rem;
  letter-spacing: 0.04em;
  line-height: 1.15;
}

.section__title em {
  font-family: var(--font-italic);
  font-style: normal;
  font-weight: 500;
  background: linear-gradient(135deg, var(--gold-bright) 0%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 1.1em;
  letter-spacing: 0.01em;
}

.section__title span {
  background: linear-gradient(180deg, var(--ivory), var(--rose-pale));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section__overline {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2rem;
  opacity: 0.9;
  padding-left: 0.32em;
}

.ornament {
  width: 320px;
  max-width: 75vw;
  margin: 1.5rem auto 3.5rem;
  opacity: 0.7;
}

/* ===== COUNTDOWN ===== */
.countdown {
  background: linear-gradient(180deg, transparent, rgba(42, 10, 20, 0.4), transparent);
  position: relative;
}

.countdown::before,
.countdown::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 600px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 165, 92, 0.3), transparent);
}

.countdown::before { top: 4rem; }
.countdown::after { bottom: 4rem; }

.countdown__grid {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

.countdown__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2.2rem 2rem;
  background: rgba(42, 10, 20, 0.5);
  border: 1px solid rgba(201, 165, 92, 0.2);
  border-radius: 2px;
  position: relative;
  min-width: 145px;
  backdrop-filter: blur(10px);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.countdown__item::before,
.countdown__item::after {
  content: '';
  position: absolute;
  width: 14px;
  height: 14px;
  border: 1px solid var(--gold);
  opacity: 0.6;
}

.countdown__item::before { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.countdown__item::after { bottom: -1px; right: -1px; border-left: none; border-top: none; }

.countdown__item:hover {
  transform: translateY(-6px);
  border-color: rgba(232, 204, 138, 0.5);
  box-shadow: 0 15px 50px rgba(155, 45, 68, 0.3);
  background: rgba(58, 13, 28, 0.6);
}

.countdown__num {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(3rem, 6.5vw, 5rem);
  background: linear-gradient(180deg, var(--ivory) 0%, var(--rose-pale) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  letter-spacing: 0.03em;
}

.countdown__label {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 0.85rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 1rem;
  opacity: 0.9;
}

/* ===== STORY ===== */
.story {
  max-width: 900px;
  margin: 0 auto;
}

.story__layout {
  margin-top: 1rem;
  text-align: left;
}

.story__col {
  max-width: 720px;
  margin: 0 auto;
}

.story__para {
  font-family: var(--font-italic);
  font-style: normal;
  font-weight: 400;
  font-size: 1.7rem;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 2rem;
  position: relative;
  padding-left: 2.5rem;
  border-left: 1px solid rgba(201, 165, 92, 0.3);
}

.story__final {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.7rem;
  color: var(--ivory);
  margin-top: 4rem;
  line-height: 1.6;
  letter-spacing: 0.05em;
  text-align: center;
}

.hl {
  color: var(--gold-bright);
  font-style: normal;
  font-family: var(--font-serif);
  font-weight: 400;
  position: relative;
  padding: 0 0.15em;
}

.hl::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.6;
}

.hl-em {
  font-family: var(--font-italic);
  font-style: normal;
  color: var(--rose-mist);
  font-weight: 500;
  font-size: 1.15em;
}

/* ===== DETAILS ===== */
.details {
  max-width: 1200px;
  margin: 0 auto;
}

.details__wrapper {
  margin-top: 2rem;
}

.details__row {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 4rem;
  padding: 3.5rem 3rem;
  text-align: left;
  background: linear-gradient(135deg, rgba(28, 6, 16, 0.4), rgba(13, 5, 8, 0.2));
  border: 1px solid rgba(201, 165, 92, 0.12);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.details__row::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top right, rgba(155, 45, 68, 0.12), transparent 60%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.details__row:hover {
  border-color: rgba(201, 165, 92, 0.35);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 80px rgba(155, 45, 68, 0.15);
}

.details__row:hover::before { opacity: 1; }

.details__row:nth-child(even) {
  grid-template-columns: 1.5fr 1fr;
}

.details__row:nth-child(even) .details__visual { order: 2; }

/* подсветка для блока с подарками */
.details__row--gift {
  background: linear-gradient(135deg, rgba(58, 13, 28, 0.55), rgba(28, 6, 16, 0.4));
  border-color: rgba(201, 165, 92, 0.3);
  box-shadow: inset 0 0 60px rgba(155, 45, 68, 0.15);
}

.details__visual {
  position: relative;
  height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.details__visual::before {
  content: '';
  position: absolute;
  width: 250px;
  height: 250px;
  border: 1px solid rgba(201, 165, 92, 0.25);
  border-radius: 50%;
}

.details__visual::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border: 1px dashed rgba(155, 45, 68, 0.25);
  border-radius: 50%;
  animation: rotate 40s linear infinite;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.details__visual img {
  max-width: 80%;
  max-height: 85%;
  opacity: 0.95;
  filter: drop-shadow(0 0 30px rgba(201, 165, 92, 0.3));
  position: relative;
  z-index: 2;
  transition: all 0.6s ease;
}

.details__row:hover .details__visual img {
  transform: scale(1.06);
  filter: drop-shadow(0 0 40px rgba(232, 204, 138, 0.45));
}

.details__info {
  padding: 1rem 0;
}

.details__tag {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 0.85rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--rose-mist);
  display: inline-block;
  margin-bottom: 1.2rem;
  padding: 0.5rem 1.2rem;
  border: 1px solid rgba(201, 165, 92, 0.3);
  border-radius: 1px;
  background: rgba(201, 165, 92, 0.06);
}

.details__info h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 2.4rem;
  color: var(--ivory);
  margin-bottom: 1.2rem;
  letter-spacing: 0.03em;
  background: linear-gradient(180deg, var(--ivory), var(--rose-pale));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.details__info p {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1.15rem;
  color: var(--text);
  line-height: 1.85;
}

.details__info p strong {
  color: var(--gold-bright);
  font-weight: 500;
  font-family: var(--font-serif);
}

/* Блок подарков — стилизация */
.gift-note {
  margin-top: 1.5rem !important;
  font-family: var(--font-italic) !important;
  font-style: italic !important;
  font-size: 1.15rem !important;
  color: var(--rose-mist) !important;
  letter-spacing: 0.02em;
}

.gift-list {
  list-style: none;
  margin: 1.4rem 0 1.5rem;
  padding: 1.5rem 1.6rem;
  background: rgba(13, 5, 8, 0.45);
  border: 1px solid rgba(201, 165, 92, 0.22);
  border-radius: 3px;
  position: relative;
}

.gift-list::before,
.gift-list::after {
  content: '';
  position: absolute;
  width: 14px;
  height: 14px;
  border: 1px solid var(--gold);
  opacity: 0.6;
}

.gift-list::before {
  top: -1px;
  left: -1px;
  border-right: none;
  border-bottom: none;
}

.gift-list::after {
  bottom: -1px;
  right: -1px;
  border-left: none;
  border-top: none;
}

.gift-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.7rem 0;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text);
  border-bottom: 1px solid rgba(201, 165, 92, 0.12);
}

.gift-list li:last-child {
  border-bottom: none;
}

.gift-list li strong {
  font-family: var(--font-serif);
  font-weight: 400;
  color: var(--gold-bright);
  letter-spacing: 0.04em;
}

.gift-list li em {
  display: block;
  margin-top: 0.3rem;
  font-family: var(--font-italic);
  font-style: normal;
  font-weight: 400;
  font-size: 0.95rem;
  color: var(--text-muted);
  letter-spacing: 0.01em;
}

.gift-list__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  margin-top: 0.1rem;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold-deep));
  color: var(--noir);
  border-radius: 50%;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  box-shadow: 0 0 12px rgba(201, 165, 92, 0.4);
}

.gift-final {
  margin-top: 1.5rem !important;
  padding: 1.2rem 0 0;
  border-top: 1px dashed rgba(201, 165, 92, 0.3);
  font-family: var(--font-italic) !important;
  font-style: italic !important;
  font-size: 1.15rem !important;
  color: var(--rose-mist) !important;
  letter-spacing: 0.02em;
  line-height: 1.7;
}

/* Дресс-код — только чёрный */
.dresscode {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 1.8rem;
}

.dresscode__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
}

.dresscode__circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 3px solid var(--gold-bright);
  background: radial-gradient(circle at 35% 35%, #2a1218 0%, #1a0810 50%, #050203 100%);
  transition: all 0.4s ease;
  box-shadow:
    0 0 0 1px rgba(13, 5, 8, 0.9),
    0 0 30px rgba(201, 165, 92, 0.45),
    0 6px 20px rgba(0, 0, 0, 0.7);
}

.dresscode__item:hover .dresscode__circle {
  transform: scale(1.1);
  border-color: var(--champagne);
  box-shadow:
    0 0 0 1px rgba(13, 5, 8, 0.9),
    0 0 45px rgba(232, 204, 138, 0.6),
    0 10px 30px rgba(0, 0, 0, 0.8);
}

.dresscode__name {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  color: var(--gold-bright);
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

/* ===== VENUE ===== */
.venue {
  max-width: 1100px;
  margin: 0 auto;
  background: radial-gradient(ellipse at center, rgba(58, 13, 28, 0.3), transparent 70%);
}

.venue__card {
  padding: 4rem 3rem;
  background: linear-gradient(135deg, rgba(28, 6, 16, 0.7), rgba(13, 5, 8, 0.4));
  border: 1px solid rgba(201, 165, 92, 0.25);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  margin: 0 auto 2.5rem;
  max-width: 800px;
  text-align: center;
}

.venue__card::before,
.venue__card::after {
  content: '';
  position: absolute;
  width: 36px;
  height: 36px;
  border: 1px solid var(--gold);
  opacity: 0.7;
}

.venue__card::before { top: 1rem; left: 1rem; border-right: none; border-bottom: none; }
.venue__card::after { bottom: 1rem; right: 1rem; border-left: none; border-top: none; }

.venue__overline {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 0.95rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 0.5rem;
  opacity: 0.9;
}

.venue__name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(3.5rem, 8vw, 6rem);
  line-height: 1;
  letter-spacing: 0.12em;
  background: linear-gradient(180deg, var(--ivory), var(--rose-pale) 50%, var(--rose-mist));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.8rem;
  text-shadow: 0 0 40px rgba(155, 45, 68, 0.4);
}

.venue__city {
  font-family: var(--font-italic);
  font-style: normal;
  font-weight: 400;
  font-size: 1.6rem;
  color: var(--rose-mist);
  margin-bottom: 2rem;
  letter-spacing: 0.04em;
}

.venue__address {
  border-top: 1px solid rgba(201, 165, 92, 0.25);
  padding-top: 1.8rem;
  margin-top: 1rem;
}

.venue__address-label {
  font-family: var(--font-serif);
  font-size: 0.8rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 0.8rem;
  opacity: 0.85;
}

.venue__address-text {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.4rem;
  color: var(--ivory);
  line-height: 1.6;
  letter-spacing: 0.03em;
}

.venue__hall {
  display: inline-block;
  margin-top: 0.6rem;
  font-family: var(--font-italic);
  font-style: normal;
  font-size: 1.25rem;
  color: var(--rose-mist);
  font-weight: 400;
}

/* Карта */
.venue__map {
  margin: 0 auto;
  max-width: 1000px;
  border: 1px solid rgba(201, 165, 92, 0.3);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 60px rgba(155, 45, 68, 0.15);
}

.venue__map::before,
.venue__map::after {
  content: '';
  position: absolute;
  width: 28px;
  height: 28px;
  border: 1px solid var(--gold-bright);
  z-index: 2;
  pointer-events: none;
}

.venue__map::before { top: 8px; left: 8px; border-right: none; border-bottom: none; }
.venue__map::after { bottom: 8px; right: 8px; border-left: none; border-top: none; }

.venue__map iframe {
  display: block;
  width: 100%;
  filter: invert(0.92) hue-rotate(180deg) saturate(0.7) brightness(0.95) contrast(0.95);
}

.venue__hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  margin-top: 2.5rem;
  font-family: var(--font-italic);
  font-style: normal;
  color: var(--text-soft);
  font-size: 1.15rem;
}

.venue__diamond {
  color: var(--gold);
  font-size: 0.7rem;
  opacity: 0.8;
}

/* ===== TIMELINE ===== */
.timeline {
  max-width: 850px;
  margin: 0 auto;
}

.timeline__notice {
  margin: 0 auto 4rem;
  max-width: 720px;
  padding: 1.8rem 2rem;
  background: linear-gradient(135deg, rgba(155, 45, 68, 0.2), rgba(28, 6, 16, 0.6));
  border: 1px solid rgba(201, 165, 92, 0.3);
  border-radius: 3px;
  position: relative;
}

.timeline__notice::before,
.timeline__notice::after {
  content: '';
  position: absolute;
  width: 22px;
  height: 22px;
  border: 1px solid var(--gold-bright);
}

.timeline__notice::before { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.timeline__notice::after { bottom: -1px; right: -1px; border-left: none; border-top: none; }

.timeline__notice p {
  font-family: var(--font-italic);
  font-style: normal;
  font-size: 1.4rem;
  color: var(--ivory);
  line-height: 1.6;
  letter-spacing: 0.02em;
}

.timeline__notice strong {
  font-family: var(--font-serif);
  font-style: normal;
  color: var(--gold-bright);
  font-weight: 500;
  font-size: 1.15em;
}

.timeline__track {
  margin: 2rem auto 0;
  position: relative;
  text-align: left;
}

.timeline__track::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--gold) 8%, var(--gold) 92%, transparent);
  transform: translateX(-50%);
  opacity: 0.4;
}

.timeline__item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 4rem;
  position: relative;
  min-height: 80px;
}

.timeline__item:last-child { margin-bottom: 0; }

.timeline__item:nth-child(odd) {
  flex-direction: row-reverse;
  text-align: right;
}

.timeline__item:nth-child(even) { text-align: left; }

.timeline__dot {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 18px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  background: var(--noir);
  z-index: 2;
  top: 10px;
  box-shadow: 0 0 22px rgba(201, 165, 92, 0.5);
  transition: all 0.4s ease;
}

.timeline__dot::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 6px;
  height: 6px;
  background: var(--gold-bright);
  border-radius: 50%;
}

.timeline__item:hover .timeline__dot {
  background: var(--burgundy);
  border-color: var(--gold-bright);
  box-shadow: 0 0 28px rgba(232, 204, 138, 0.7);
  transform: translateX(-50%) scale(1.2);
}

.timeline__content {
  width: calc(50% - 40px);
  padding: 0 1.8rem;
  transition: transform 0.4s ease;
}

.timeline__item:hover .timeline__content { transform: translateY(-4px); }

.timeline__time {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 2.6rem;
  color: var(--gold-bright);
  letter-spacing: 0.05em;
  line-height: 1;
  text-shadow: 0 0 22px rgba(201, 165, 92, 0.4);
}

.timeline__event {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.5rem;
  color: var(--ivory);
  margin-top: 0.6rem;
  letter-spacing: 0.04em;
}

.timeline__sub {
  font-family: var(--font-italic);
  font-style: normal;
  font-weight: 400;
  font-size: 1.15rem;
  color: var(--text-soft);
  margin-top: 0.5rem;
}

/* ===== RSVP ===== */
.rsvp {
  position: relative;
  max-width: 750px;
  margin: 0 auto;
}

.rsvp__form {
  max-width: 640px;
  margin: 0 auto;
  padding: 4rem 3rem;
  background: linear-gradient(135deg, rgba(28, 6, 16, 0.7), rgba(13, 5, 8, 0.5));
  border: 1px solid rgba(201, 165, 92, 0.2);
  border-radius: 4px;
  backdrop-filter: blur(14px);
  position: relative;
  text-align: left;
}

.rsvp__form::before,
.rsvp__form::after {
  content: '';
  position: absolute;
  width: 36px;
  height: 36px;
  border: 1px solid var(--gold);
  opacity: 0.7;
}

.rsvp__form::before { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.rsvp__form::after { bottom: -1px; right: -1px; border-left: none; border-top: none; }

.form-group { margin-bottom: 1.8rem; }

.form-group label {
  display: block;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 0.85rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.8rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 1.1rem 1.3rem;
  border: 1px solid rgba(201, 165, 92, 0.2);
  background: rgba(13, 5, 8, 0.7);
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.1rem;
  color: var(--ivory);
  border-radius: 2px;
  transition: all 0.3s;
  outline: none;
  -webkit-appearance: none;
  letter-spacing: 0.02em;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
  font-family: var(--font-italic);
  font-style: normal;
  font-weight: 400;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  background: rgba(28, 6, 16, 0.85);
  box-shadow: 0 0 0 3px rgba(201, 165, 92, 0.12), 0 0 30px rgba(155, 45, 68, 0.18);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M0 0l6 8 6-8z' fill='%23c9a55c'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.3rem center;
  padding-right: 2.8rem;
}

.radio-group {
  display: flex;
  gap: 1rem;
  margin-top: 0.3rem;
  align-items: stretch;
}

.radio-option {
  position: relative;
  cursor: pointer;
  flex: 1;
  display: flex;
}

.radio-option input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.radio-option .radio-label {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 56px;
  padding: 0.7rem 1.2rem;
  border: 1px solid rgba(201, 165, 92, 0.2);
  border-radius: 2px;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1rem;
  color: var(--text-soft);
  transition: all 0.3s;
  text-align: center;
  background: rgba(13, 5, 8, 0.5);
  letter-spacing: 0.03em;
  cursor: pointer;
  line-height: 1.2;
}

.radio-option:hover .radio-label {
  border-color: rgba(201, 165, 92, 0.5);
  color: var(--gold-bright);
}

.radio-option input:checked + .radio-label {
  border-color: var(--gold);
  color: var(--gold-bright);
  background: rgba(201, 165, 92, 0.12);
  box-shadow: 0 0 25px rgba(201, 165, 92, 0.25);
}

.btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  width: 100%;
  padding: 1.3rem 3rem;
  background: linear-gradient(135deg, var(--burgundy-mid) 0%, var(--burgundy) 100%);
  color: var(--ivory);
  border: 1px solid rgba(201, 165, 92, 0.4);
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 2px;
  transition: all 0.5s ease;
  margin-top: 1.2rem;
  position: relative;
  overflow: hidden;
}

.btn-submit::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(232, 204, 138, 0.3), transparent);
  transition: left 0.7s ease;
}

.btn-submit:hover {
  background: linear-gradient(135deg, var(--burgundy-bright) 0%, var(--burgundy-mid) 100%);
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(155, 45, 68, 0.5), 0 0 50px rgba(201, 165, 92, 0.2);
  border-color: var(--gold-bright);
  color: var(--champagne);
}

.btn-submit:hover::before { left: 100%; }
.btn-submit:hover .btn-submit__arrow { transform: translateX(6px); }
.btn-submit:active { transform: translateY(0); }
.btn-submit:disabled { opacity: 0.6; cursor: not-allowed; }

.btn-submit__arrow {
  transition: transform 0.4s ease;
  font-family: var(--font-serif);
  font-size: 1.2em;
}

.form-message {
  display: none;
  padding: 1.3rem;
  border-radius: 2px;
  margin-top: 1.5rem;
  font-family: var(--font-italic);
  font-style: normal;
  font-size: 1.1rem;
  text-align: center;
}

.form-message.success {
  display: block;
  background: rgba(201, 165, 92, 0.1);
  color: var(--gold-bright);
  border: 1px solid rgba(201, 165, 92, 0.35);
}

.form-message.error {
  display: block;
  background: rgba(180, 60, 60, 0.1);
  color: #e89090;
  border: 1px solid rgba(180, 60, 60, 0.3);
}

/* ===== FOOTER ===== */
.footer {
  text-align: center;
  padding: 6rem 2rem 3rem;
  position: relative;
  z-index: 2;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.4));
  border-top: 1px solid rgba(201, 165, 92, 0.12);
}

.footer__heart {
  width: 64px;
  margin: 0 auto 1.5rem;
  opacity: 0.65;
  filter: drop-shadow(0 0 18px rgba(155, 45, 68, 0.5));
  animation: heartBeat 2.8s ease-in-out infinite;
}

@keyframes heartBeat {
  0%, 100% { transform: scale(1); }
  10% { transform: scale(1.08); }
  20% { transform: scale(1); }
}

.footer__text {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.6rem;
  color: var(--rose-mist);
  letter-spacing: 0.05em;
  line-height: 1.6;
}

.footer__text em {
  font-family: var(--font-italic);
  font-style: normal;
  font-weight: 500;
  font-size: 1.6em;
  background: linear-gradient(135deg, var(--ivory), var(--rose-pale));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
  margin-top: 0.5rem;
  letter-spacing: 0.02em;
}

.footer__sep {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  margin: 2.5rem 0 1.8rem;
}

.footer__sep span:not(.footer__diamond) {
  width: 90px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.5;
}

.footer__diamond {
  color: var(--gold);
  font-size: 0.7rem;
  opacity: 0.8;
}

.footer__copy {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  color: var(--gold);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  opacity: 0.75;
  padding-left: 0.32em;
}

/* ===== REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1.1s cubic-bezier(0.4, 0, 0.2, 1), transform 1.1s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  html { font-size: 16px; }
  .topbar { padding: 1rem 1.5rem; justify-content: flex-end; }
  .topbar.scrolled { padding: 0.7rem 1.5rem; }

  .nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.2rem;
    background: rgba(13, 5, 8, 0.97);
    backdrop-filter: blur(20px);
    transform: translateX(100%);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 2rem;
  }
  .nav.open { transform: translateX(0); }
  .nav a { font-size: 1.3rem; letter-spacing: 0.3em; }

  .burger { display: block; }

  .hero { padding: 4rem 1.2rem 4rem; }
  /* На мобилке делаем фото ярче */
  .hero::after {
    background:
      linear-gradient(180deg,
        rgba(13, 5, 8, 0.55) 0%,
        rgba(28, 6, 16, 0.45) 30%,
        rgba(28, 6, 16, 0.5) 70%,
        rgba(13, 5, 8, 0.75) 100%);
  }
  .hero::before {
    filter: grayscale(0.15) contrast(1.1) brightness(0.85);
  }
  .hero__content {
    background: rgba(13, 5, 8, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }
  .hero__moon { width: 90px; height: 90px; top: 7%; right: 6%; }
  .hero__glow--1 { width: 320px; height: 320px; }
  .hero__glow--2 { width: 280px; height: 280px; }

  .hero__frame { inset: 1rem; }
  .hero__frame-corner { width: 22px; height: 22px; border-width: 1.5px; }

  .hero__year { font-size: 0.78rem; letter-spacing: 0.5em; margin-bottom: 1.2rem; }
  .hero__pre {
    font-size: 1rem;
    gap: 0.8rem;
    margin-bottom: 1.8rem;
    flex-wrap: nowrap;
  }
  .hero__pre-line { max-width: 40px; }

  .hero__date-block {
    gap: 0.9rem;
    padding: 1rem 1.4rem;
    margin: 2rem auto 1.5rem;
  }
  .hero__date-day, .hero__date-year { font-size: 2.2rem; }
  .hero__date-mid { padding: 0 0.5rem; }
  .hero__date-month { font-size: 1.1rem; }
  .hero__date-weekday { font-size: 0.6rem; letter-spacing: 0.25em; }

  .hero__city-block { flex-direction: column; gap: 0.6rem; }
  .hero__city-line { width: 80px; max-width: 80px; flex: none; }
  .hero__city-text { font-size: 0.78rem; letter-spacing: 0.22em; white-space: normal; text-align: center; }

  .countdown__grid { gap: 1rem; }
  .countdown__item { min-width: 80px; padding: 1.4rem 1rem; }

  .story__para { padding-left: 1.5rem; font-size: 1.3rem; }
  .story__final { font-size: 1.4rem; }

  .details__row,
  .details__row:nth-child(even) {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2.5rem 1.8rem;
    text-align: center;
  }
  .details__row:nth-child(even) .details__visual { order: 0; }
  .details__visual { height: 240px; }
  .details__visual::before { width: 180px; height: 180px; }
  .details__visual::after { width: 220px; height: 220px; }
  .details__info h3 { font-size: 1.9rem; }
  .details__info p { font-size: 1.05rem; }

  /* Дресс-код мобилка: центрируем */
  .dresscode {
    justify-content: center;
    gap: 1rem;
  }

  /* Подарки — список на мобилке */
  .details__row--gift .details__info { padding: 0; }
  .gift-list {
    margin: 1.2rem 0;
    padding: 1.2rem 1rem;
  }
  .gift-list li {
    flex-direction: row;
    align-items: flex-start;
    gap: 0.7rem;
    font-size: 0.95rem;
    text-align: left;
    padding: 0.6rem 0;
    line-height: 1.55;
  }
  .gift-list li em {
    font-size: 0.85rem;
    margin-top: 0.2rem;
  }
  .gift-list__icon {
    width: 22px;
    height: 22px;
    font-size: 0.85rem;
    margin-top: 0.15rem;
  }
  .gift-note, .gift-final {
    font-size: 1rem !important;
    text-align: left;
  }

  .venue__card { padding: 3rem 1.8rem; }
  .venue__address-text { font-size: 1.2rem; }
  .venue__map iframe { height: 360px; }

  .timeline__notice p { font-size: 1.15rem; }

  .timeline__track::before { left: 22px; }
  .timeline__item,
  .timeline__item:nth-child(odd) {
    flex-direction: row;
    text-align: left;
    padding-left: 60px;
    margin-bottom: 3rem;
  }
  .timeline__dot { left: 22px; }
  .timeline__content { width: 100%; padding: 0; }
  .timeline__time { font-size: 2rem; }
  .timeline__event { font-size: 1.25rem; }
  .timeline__sub { font-size: 1rem; }

  .rsvp__form { padding: 2.5rem 1.5rem; }
  .radio-group { flex-direction: column; }

  .section { padding: 5rem 1.5rem; }
  .section__title { font-size: clamp(2.2rem, 8vw, 3.2rem); }
  .ornament { width: 220px; margin-bottom: 2.5rem; }

  .footer__text { font-size: 1.3rem; }
  .footer__sep span:not(.footer__diamond) { width: 50px; }
}

@media (max-width: 480px) {
  .hero { padding: 3.5rem 1rem 3rem; }
  .hero__names { font-size: clamp(2.6rem, 17vw, 4.5rem); gap: 0.04em; }
  .hero__pre { font-size: 0.92rem; gap: 0.6rem; }
  .hero__pre-line { max-width: 28px; }
  .hero__year { font-size: 0.7rem; letter-spacing: 0.4em; margin-bottom: 1rem; }
  .hero__date-block {
    flex-direction: row;
    gap: 0.6rem;
    padding: 0.9rem 1.1rem;
    margin: 1.6rem auto 1.2rem;
  }
  .hero__date-day, .hero__date-year { font-size: 1.9rem; }
  .hero__date-month { font-size: 0.95rem; }
  .hero__date-weekday { font-size: 0.55rem; letter-spacing: 0.2em; }
  .hero__city-text { font-size: 0.7rem; letter-spacing: 0.18em; }
  .countdown__num { font-size: 2.4rem; }
  .countdown__item { min-width: 68px; padding: 1.1rem 0.6rem; }
  .countdown__label { font-size: 0.6rem; letter-spacing: 0.22em; }
  .section { padding: 4rem 1rem; }
  .section__title { font-size: 1.9rem; }
  .section__overline { font-size: 0.78rem; letter-spacing: 0.25em; }
  .details__row { padding: 2rem 1.2rem; }
  .details__info h3 { font-size: 1.6rem; }
  .details__info p { font-size: 1rem; }
  .venue__card { padding: 2.2rem 1.2rem; }
  .venue__name { font-size: 2.8rem; letter-spacing: 0.08em; }
  .venue__city { font-size: 1.3rem; }
  .venue__address-text { font-size: 1.05rem; }
  .venue__map iframe { height: 300px; }
  .venue__hint { font-size: 1rem; gap: 0.6rem; padding: 0 0.5rem; }
  .timeline__notice { padding: 1.4rem 1.2rem; }
  .timeline__notice p { font-size: 1.05rem; }
  .timeline__item, .timeline__item:nth-child(odd) {
    padding-left: 50px;
    margin-bottom: 2.5rem;
  }
  .timeline__dot { left: 18px; }
  .timeline__track::before { left: 18px; }
  .timeline__time { font-size: 1.7rem; }
  .timeline__event { font-size: 1.1rem; }
  .timeline__sub { font-size: 0.92rem; }
  .rsvp__form { padding: 2rem 1.2rem; }
  .form-group label { font-size: 0.78rem; letter-spacing: 0.22em; }
  .form-group input, .form-group select, .form-group textarea {
    font-size: 1rem; padding: 0.95rem 1.1rem;
  }
  .btn-submit { padding: 1.1rem 1.5rem; font-size: 0.85rem; letter-spacing: 0.22em; }
  .footer__text { font-size: 1.15rem; }
  .footer__text em { font-size: 1.4em; }
  .footer__copy { font-size: 0.78rem; letter-spacing: 0.25em; }
}

/* Очень узкие экраны (iPhone SE 1-го поколения и меньше) */
@media (max-width: 360px) {
  .hero__names { font-size: 2.4rem; }
  .countdown__grid { gap: 0.6rem; }
  .countdown__item { min-width: 62px; padding: 1rem 0.4rem; }
  .countdown__num { font-size: 2rem; }
  .nav { gap: 1.6rem; }
  .nav a { font-size: 1.1rem; }
}

/* ===== CHECKBOXES (форма напитков) ===== */
.form-hint {
  font-family: var(--font-italic);
  font-style: italic;
  font-weight: 400;
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 0;
  text-transform: none;
  margin-left: 0.4rem;
}

.checks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.4rem;
}

.check {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 0.6rem 0.9rem;
  border: 1px solid rgba(201, 165, 92, 0.25);
  background: rgba(13, 5, 8, 0.5);
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.25s ease;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.check input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}

.check span {
  position: relative;
  z-index: 1;
  font-family: var(--font-serif);
  font-size: 0.9rem;
  color: var(--text-soft);
  letter-spacing: 0.02em;
  line-height: 1.2;
  transition: color 0.25s ease;
  pointer-events: none;
}

.check:hover {
  border-color: rgba(201, 165, 92, 0.5);
  background: rgba(28, 6, 16, 0.7);
}

.check:hover span {
  color: var(--gold-bright);
}

/* :has работает в Safari 15.4+, Chrome 105+ — у всех современных есть */
.check:has(input:checked) {
  background: var(--gold);
  border-color: var(--gold-bright);
  box-shadow: 0 0 18px rgba(201, 165, 92, 0.4);
}

.check:has(input:checked) span {
  color: var(--noir);
  font-weight: 600;
}

/* ===== PROMO STRIP (easter egg внизу) ===== */
.promo-strip {
  position: relative;
  z-index: 2;
  padding: 2rem 1.5rem 2.5rem;
  background: rgba(0, 0, 0, 0.5);
  border-top: 1px dashed rgba(201, 165, 92, 0.18);
  text-align: center;
}

.promo-strip__inner {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.promo-face {
  width: 64px;
  height: 64px;
  color: var(--gold);
  flex-shrink: 0;
  animation: faceWiggle 4s ease-in-out infinite;
  filter: drop-shadow(0 0 12px rgba(201, 165, 92, 0.3));
}

.promo-face svg {
  width: 100%;
  height: 100%;
  display: block;
}

@keyframes faceWiggle {
  0%, 100% { transform: rotate(-6deg); }
  25%      { transform: rotate(4deg) scale(1.05); }
  50%      { transform: rotate(-3deg); }
  75%      { transform: rotate(6deg) scale(1.05); }
}

.promo-strip__text {
  font-family: var(--font-italic);
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-soft);
  letter-spacing: 0.02em;
  text-align: left;
}

.promo-strip__phone {
  font-family: 'Forum', serif;
  font-style: normal;
  font-size: 1.25rem;
  letter-spacing: 0.08em;
  color: var(--gold-bright);
  text-decoration: none;
  border-bottom: 1px dashed rgba(201, 165, 92, 0.4);
  padding-bottom: 2px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.promo-strip__phone:hover {
  color: var(--champagne);
  border-bottom-color: var(--champagne);
  text-shadow: 0 0 12px rgba(232, 204, 138, 0.5);
}

@media (max-width: 600px) {
  .promo-strip__inner { flex-direction: column; gap: 1rem; }
  .promo-strip__text { text-align: center; font-size: 0.98rem; }
  .promo-face { width: 54px; height: 54px; }
  .promo-strip__phone { font-size: 1.15rem; }
}
