:root {
  --bg-page: #FFFFFF;
  --bg-card: rgba(255, 255, 255, 0.94);
  --ink-deep: #152636;
  --ink-muted: #4B5D6B;
  --accent-sea: #0A5993;
  --accent-ocean-dark: #05275E;
  --accent-sky-btn: #0A5993;
  --accent-foam: rgba(232, 241, 248, 0.96);
  --border-soft: rgba(10, 89, 147, 0.16);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.couple-name-script,
.initial-script {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-feature-settings: "swsh" 1, "salt" 1, "calt" 1;
}

.calligraphy-heading,
.story-heading,
.timeline-time {
  font-family: 'Cormorant Garamond', Georgia, serif;
}

.container {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Top bar поверх первого экрана */
.topbar {
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 16px 24px;
  max-width: 1080px;
  margin: 0 auto;
  font-size: 13px;
}

.topbar a {
  color: var(--accent-ocean-dark);
  font-weight: 500;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.9);
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid var(--border-soft);
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 14px rgba(5, 39, 94, 0.06);
}

.topbar-controls {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.lang-switcher {
  display: inline-flex;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  padding: 3px;
  backdrop-filter: blur(8px);
}

.lang-btn {
  border: none;
  background: transparent;
  color: var(--ink-muted);
  font-family: inherit;
  font-size: 12px;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lang-btn.active {
  background: var(--accent-ocean-dark);
  color: #FFFFFF;
}

.alc-toggle-btn {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border-soft);
  color: var(--ink-muted);
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 12px;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s ease;
  backdrop-filter: blur(8px);
}

.alc-toggle-btn:hover,
.alc-toggle-btn.active {
  border-color: var(--accent-sea);
  color: var(--accent-ocean-dark);
}

/* 1. Первый экран: каллиграфия, цитата и парусники ./assets/7.jpg с плавным переходом в белый */
.ocean-hero {
  position: relative;
  margin-top: -68px;
  padding-top: 90px;
  padding-bottom: 36px;
  background-color: #FFFFFF;
  background-image:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.95) 0%,
      rgba(255, 255, 255, 0.68) 28%,
      rgba(255, 255, 255, 0.06) 64%,
      rgba(255, 255, 255, 0.78) 89%,
      #FFFFFF 100%
    ),
    url("./assets/7.jpg");
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
}

.ocean-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 920px;
  margin: 0 auto;
  padding: 0 24px;
}

.hero-kicker {
  text-align: center;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-ocean-dark);
  margin-bottom: 10px;
  text-shadow: 0 1px 10px rgba(255, 255, 255, 0.9);
}

@media (max-width: 720px) {
  .hero-kicker {
    font-size: 20px;
    letter-spacing: 0.20em;
    margin-bottom: 30px;
  }
}

.couple-header {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.couple-name-script {
  font-family: 'Great Vibes', 'Cormorant Garamond', cursive;
  font-size: clamp(50px, 7.2vw, 76px);
  line-height: 1.05;
  color: var(--accent-ocean-dark);
  text-shadow: 0 2px 18px rgba(255, 255, 255, 0.85);
}

.couple-amp {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: clamp(34px, 4.8vw, 48px);
  color: var(--accent-sea);
}

.quote-box {
  position: relative;
  max-width: 460px;
  margin: 0 auto 24px 24%;
  padding: 12px 16px 12px 20px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.58);
  backdrop-filter: blur(4px);
}

.quote-glyph {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 58px;
  line-height: 1;
  color: rgba(10, 89, 147, 0.42);
  position: absolute;
  left: -34px;
  top: -10px;
  user-select: none;
}

.quote-copy {
  font-size: 13.5px;
  line-height: 1.58;
  color: #314252;
}

.hero-submeta {
  text-align: center;
  font-size: 14px;
  letter-spacing: 0.09em;
  color: var(--accent-ocean-dark);
  font-weight: 500;
  margin-bottom: 118px;
}

.hero-chevron {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 24px;
  margin: 0 auto;
  color: #FFFFFF;
  text-decoration: none;
  filter: drop-shadow(0 2px 6px rgba(5, 39, 94, 0.5));
  transition: transform 0.2s ease;
}

.hero-chevron:hover {
  transform: translateY(3px);
}

/* Блок даты свадьбы */
.event-date-heading {
  text-align: center;
  margin-bottom: 28px;
  line-height: 1.25;
}

.event-date-heading .initial-script {
  position: static;
  margin-right: 2px;
  display: inline-block;
  vertical-align: baseline;
}

.event-date-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  max-width: 1140px;
}

.event-date-side {
  display: flex;
  align-items: center;
  height: 82px;
  border-top: 1px solid rgba(5, 39, 94, 0.28);
  border-bottom: 1px solid rgba(5, 39, 94, 0.28);
  padding: 0 28px;
}

.event-date-left {
  justify-content: flex-end;
}

.event-date-right {
  justify-content: flex-start;
}

.event-date-text {
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #1f2937;
  white-space: nowrap;
}

.event-date-center {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 30px;
  margin: 0 14px;
  border-left: 1px solid rgba(5, 39, 94, 0.28);
  border-right: 1px solid rgba(5, 39, 94, 0.28);
  height: 176px;
}

.event-date-wave {
  width: 158px;
  height: 158px;
  object-fit: contain;
}

/* 2. Блок обращения к гостям на фоне ./assets/6.jpg с плавным переходом в белый */
.welcome-section {
  position: relative;
  overflow: hidden;
  padding: 24px 0 36px;
  margin-bottom: 0;
  background-color: #FFFFFF;
  background-image:
    linear-gradient(
      180deg,
      #FFFFFF 0%,
      rgba(255, 255, 255, 0.68) 20%,
      rgba(255, 255, 255, 0.64) 80%,
      #FFFFFF 100%
    ),
    url("./assets/6.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.wave-wash-deco {
  position: absolute;
  right: -32px;
  bottom: -24px;
  width: 340px;
  height: auto;
  opacity: 0.34;
  pointer-events: none;
  user-select: none;
  border-radius: 28px;
  mask-image: radial-gradient(ellipse at center, black 45%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 45%, transparent 78%);
}

.seagull-deco {
  position: absolute;
  pointer-events: none;
  user-select: none;
  opacity: 0.32;
  mix-blend-mode: multiply;
}

.seagull-top-right {
  top: 16px;
  right: 4%;
  width: 190px;
  height: auto;
}

.seagull-bottom-left {
  bottom: 12px;
  left: 3%;
  width: 170px;
  height: auto;
}

.welcome-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 52px;
  align-items: center;
  padding-bottom: 0;
  margin-bottom: 0;
}

.welcome-circle-wrap {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: center;
}

.couple-placeholder,
.welcome-circle-img {
  width: 300px;
  height: 300px;
  border-radius: 50%;
}

.couple-placeholder {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  background: linear-gradient(145deg, #E8F1F8 0%, #D3E3EE 100%);
  border: 2px solid rgba(10, 89, 147, 0.24);
  color: var(--accent-ocean-dark);
  box-shadow: 0 14px 32px rgba(5, 39, 94, 0.1);
}

.couple-placeholder-initials {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 34px;
  color: var(--accent-ocean-dark);
}

.couple-placeholder-label {
  font-size: 12px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--accent-sea);
}

.welcome-circle-img {
  object-fit: cover;
  object-position: 50% 70%;
  box-shadow: 0 14px 34px rgba(5, 39, 94, 0.12);
}

.calligraphy-heading {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(34px, 4.6vw, 48px);
  font-weight: 400;
  line-height: 1.15;
  color: var(--accent-ocean-dark);
  margin-bottom: 22px;
}

.initial-script {
  font-family: 'Great Vibes', 'Cormorant Garamond', cursive;
  font-size: clamp(46px, 6vw, 62px);
  font-weight: 400;
  line-height: 1.05;
  margin-right: 4px;
  color: var(--accent-sea);
}

.body-copy {
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-muted);
  margin-bottom: 18px;
}

.body-copy:last-child {
  margin-bottom: 0;
}

/* 3. Блок «Место проведения» на фоне маяка ./assets/9.jpg */
.venue-banner {
  position: relative;
  padding: 28px 0 92px;
  text-align: center;
  background-color: #FFFFFF;
  background-image:
    linear-gradient(
      180deg,
      #FFFFFF 0%,
      rgba(255, 255, 255, 0.45) 18%,
      rgba(255, 255, 255, 0.36) 78%,
      #FFFFFF 100%
    ),
    url("./assets/9.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.venue-banner-inner {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(6px);
  border-radius: 24px;
  padding: 40px 28px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 14px 36px rgba(5, 39, 94, 0.08);
}

.venue-heading {
  margin-bottom: 22px;
}

.venue-lines {
  max-width: 540px;
  margin: 0 auto 28px;
}

.venue-place {
  font-size: 17px;
  font-weight: 500;
  color: var(--accent-ocean-dark);
  margin-bottom: 6px;
}

.venue-address {
  font-size: 15px;
  color: var(--ink-muted);
  margin-bottom: 16px;
}

.venue-time {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-deep);
  margin-bottom: 8px;
}

.venue-vibe {
  font-size: 13.5px;
  color: var(--accent-sea);
}

.venue-map-btn {
  display: inline-block;
  padding: 13px 34px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent-sea) 0%, var(--accent-ocean-dark) 100%);
  color: #FFFFFF;
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  box-shadow: 0 10px 22px rgba(10, 89, 147, 0.28);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.venue-map-btn:hover {
  transform: translateY(-1px);
  opacity: 0.95;
}

.notice-banner {
  display: none;
  max-width: 620px;
  margin: 26px auto 0;
  text-align: left;
  background: var(--accent-foam);
  border-left: 3px solid var(--accent-sea);
  border-radius: 12px;
  padding: 18px 22px;
  font-size: 14px;
  color: var(--ink-deep);
}

.notice-banner.visible {
  display: block;
}

/* 4. Секция палитры для дресс-кода */
.dresscode-section {
  position: relative;
  background: linear-gradient(180deg, #FFFFFF 0%, #EEF4F9 50%, #FFFFFF 100%);
  padding: 82px 0 78px;
}

.dresscode-inner {
  position: relative;
  z-index: 2;
}

.palette-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin-bottom: 34px;
}

.swatch-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #FFFFFF;
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  padding: 18px 10px 16px;
  box-shadow: 0 8px 24px rgba(5, 39, 94, 0.06);
  transition: transform 0.2s ease;
}

.swatch-item:hover {
  transform: translateY(-3px);
}

.swatch-circle {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 18px rgba(5, 39, 94, 0.16);
  margin-bottom: 12px;
}

.swatch-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--accent-ocean-dark);
  line-height: 1.3;
}

.swatch-hex {
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
  margin-top: 4px;
}

.mood-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.mood-card {
  background: #FFFFFF;
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(5, 39, 94, 0.08);
}

.mood-card img {
  display: block;
  width: 100%;
  height: 182px;
  object-fit: cover;
}

.mood-card figcaption {
  padding: 12px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent-ocean-dark);
  text-align: center;
}

/* 5. Секция LoveStory с парусниками ./assets/6.jpg */
.story-section {
  position: relative;
  background-color: #FFFFFF;
  background-image:
    linear-gradient(
      180deg,
      #FFFFFF 0%,
      rgba(255, 255, 255, 0.58) 22%,
      rgba(255, 255, 255, 0.52) 78%,
      #FFFFFF 100%
    ),
    url("./assets/6.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 84px 0 78px;
}

.story-inner {
  position: relative;
  z-index: 2;
}

.story-heading {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(36px, 5vw, 50px);
  font-weight: 400;
  text-align: center;
  color: var(--accent-ocean-dark);
  margin-bottom: 12px;
}

.story-italic {
  font-family: 'Great Vibes', 'Cormorant Garamond', cursive;
  font-size: clamp(44px, 6vw, 60px);
  font-weight: 400;
  color: var(--accent-sea);
  margin-left: 6px;
}

.story-lead {
  text-align: center;
  color: var(--ink-muted);
  max-width: 560px;
  margin: 0 auto 26px;
  font-size: 15px;
}

.story-visual-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
}

.story-sail-thumb {
  width: 112px;
  height: 112px;
  object-fit: cover;
  border-radius: 20px;
  border: 2px solid #FFFFFF;
  box-shadow: 0 10px 24px rgba(5, 39, 94, 0.14);
}

.story-art-wave {
  width: 145px;
  height: auto;
  display: block;
  mix-blend-mode: multiply;
}

/* Карусель фото LoveStory */
.ls-gallery-wrap {
  margin-top: 22px;
  width: 100%;
}

.ls-carousel {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 4px 2px 10px;
  scrollbar-width: none;
}

.ls-carousel::-webkit-scrollbar {
  display: none;
}

.ls-slide {
  flex: 0 0 78%;
  aspect-ratio: 3 / 4;
  border: none;
  padding: 0;
  border-radius: 20px;
  overflow: hidden;
  scroll-snap-align: center;
  background: #f4f7fa;
  box-shadow: 0 10px 26px rgba(5, 39, 94, 0.08);
  cursor: pointer;
  transition: transform 0.25s ease;
}

.ls-slide:active {
  transform: scale(0.985);
}

.ls-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ls-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
}

.ls-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(10, 89, 147, 0.22);
  transition: width 0.25s ease, background-color 0.25s ease;
}

.ls-dot.active {
  width: 18px;
  background: #0a5993;
}

@media (min-width: 768px) {
  .ls-slide {
    flex: 0 0 calc(33.333% - 8px);
    scroll-snap-align: start;
  }
}

.ls-lightbox {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(5, 22, 48, 0.88);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.ls-lightbox.open {
  display: flex;
}

.ls-lightbox img {
  max-width: 100%;
  max-height: 88vh;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  object-fit: contain;
}

.ls-lightbox-close {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

/* 6. Секция «Тайминг дня» с фоном парусников ./assets/7.jpg */
.schedule-section {
  position: relative;
  background-color: #FFFFFF;
  background-image:
    linear-gradient(
      180deg,
      #FFFFFF 0%,
      rgba(255, 255, 255, 0.7) 22%,
      rgba(255, 255, 255, 0.66) 78%,
      #FFFFFF 100%
    ),
    url("./assets/7.jpg");
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  padding: 78px 0 70px;
}

/* 7. Секция «Подтверждение участия» с фоном ./assets/6.jpg */
.rsvp-section {
  position: relative;
  background-color: #FFFFFF;
  background-image:
    linear-gradient(
      180deg,
      #FFFFFF 0%,
      rgba(255, 255, 255, 0.72) 20%,
      rgba(255, 255, 255, 0.7) 80%,
      #FFFFFF 100%
    ),
    url("./assets/6.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 78px 0 72px;
}

.schedule-section .container,
.rsvp-section .container {
  position: relative;
  z-index: 2;
}

.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  background: #05275E;
  border: 2px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 16px 38px rgba(5, 39, 94, 0.16);
}

.video-frame iframe,
.video-frame video {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* Постер поверх плеера до запуска видео */
.video-poster-btn {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 0;
  cursor: pointer;
  background: #05275E;
  display: block;
  overflow: hidden;
}

.video-poster-btn img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 35% center;
  display: block;
}

.video-poster-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(5, 22, 48, 0.22);
  transition: background-color 0.25s ease;
}

.video-poster-btn:hover::after {
  background: rgba(5, 22, 48, 0.12);
}

.video-play-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #05275E;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 4px;
  box-shadow: 0 12px 28px rgba(5, 39, 94, 0.35);
  transition: transform 0.25s ease;
}

.video-poster-btn:hover .video-play-badge {
  transform: translate(-50%, -50%) scale(1.06);
}

.video-frame.playing .video-poster-btn {
  display: none;
}

.timeline {
  display: grid;
  gap: 14px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 20px;
  align-items: baseline;
  padding: 18px 24px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(6px);
  border: 1px solid var(--border-soft);
  border-left: 4px solid var(--accent-sea);
  border-radius: 16px;
  box-shadow: 0 8px 22px rgba(5, 39, 94, 0.06);
}

.timeline-time {
  font-family: 'Cormorant Garamond', serif;
  font-size: 25px;
  color: var(--accent-ocean-dark);
  font-weight: 600;
}

.timeline-event {
  font-size: 16px;
  font-weight: 500;
  color: var(--ink-deep);
}

.timeline-desc {
  font-size: 13.5px;
  color: var(--ink-muted);
  margin-top: 2px;
}

.card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-soft);
  border-radius: 24px;
  padding: 34px;
  box-shadow: 0 16px 36px rgba(5, 39, 94, 0.08);
}

/* Ракушка / монограмма в блоке подтверждения участия */
.rsvp-shell-frame {
  width: 148px;
  height: 148px;
  margin: 0 auto 24px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #FFFFFF;
  box-shadow: 0 10px 26px rgba(5, 39, 94, 0.16);
}

.rsvp-shell-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.form-grid {
  display: grid;
  gap: 18px;
}

.field label {
  display: block;
  font-size: 13px;
  color: var(--ink-muted);
  margin-bottom: 8px;
}

.field input[type="text"] {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--border-soft);
  background: #FFFFFF;
  font-size: 15px;
  font-family: inherit;
  color: var(--ink-deep);
  outline: none;
}

.field input[type="text"]:focus {
  border-color: var(--accent-sea);
}

.radio-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.radio-option {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 16px;
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  cursor: pointer;
  background: #FFFFFF;
  transition: all 0.2s ease;
  font-size: 14px;
}

.radio-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.radio-option:has(input:checked) {
  border-color: var(--accent-ocean-dark);
  background: var(--accent-ocean-dark);
  color: #FFFFFF;
}

.btn-submit {
  width: 100%;
  padding: 16px 24px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent-sea) 0%, var(--accent-ocean-dark) 100%);
  color: #FFFFFF;
  font-size: 15px;
  font-family: inherit;
  cursor: pointer;
  margin-top: 8px;
  box-shadow: 0 10px 22px rgba(10, 89, 147, 0.25);
}

.btn-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.status-msg {
  margin-top: 14px;
  font-size: 14px;
  text-align: center;
  min-height: 20px;
}

.status-ok {
  color: #1E6B4B;
}

.status-err {
  color: #A62639;
}

footer {
  text-align: center;
  padding: 56px 24px 44px;
  font-size: 13px;
  color: var(--ink-muted);
  background: #FFFFFF;
}

/* =========================================================
   АДАПТИВ И МОБИЛЬНАЯ ВЕРСИЯ
   ========================================================= */

@media (max-width: 820px) {
  .palette-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 720px) {
  .quote-box {
    margin: 0 auto 24px 42px;
  }

  .hero-submeta {
    margin-bottom: 64px;
  }

  .event-date-section {
    padding: 36px 0 28px;
  }

  .event-date-heading {
    margin-bottom: 22px;
  }

  .event-date-side {
    height: 68px;
    padding: 0 12px;
  }

  .event-date-text {
    font-size: 14px;
    letter-spacing: 0.08em;
  }

  .event-date-center {
    padding: 0 14px;
    margin: 0 6px;
    height: 132px;
  }

  .event-date-wave {
    width: 116px;
    height: 116px;
  }

  .welcome-section {
    padding: 16px 0 24px;
    margin-bottom: 0;
  }

  .welcome-layout {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
    padding-bottom: 0;
    margin-bottom: 0;
  }

  .welcome-circle-wrap {
    transform: none;
  }

  .couple-placeholder,
  .welcome-circle-img {
    width: 210px;
    height: 210px;
  }

  .venue-banner {
    padding: 18px 0 64px;
  }

  .venue-banner-inner {
    padding: 28px 20px;
  }

  .mood-strip {
    grid-template-columns: 1fr;
  }

  .story-visual-row {
    justify-content: center;
  }

  .story-art-wave {
    max-width: 115px;
  }

  .seagull-deco {
    width: 120px;
  }

  .wave-wash-deco {
    width: 210px;
  }
}

@media (max-width: 520px) {
  .palette-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .radio-group {
    grid-template-columns: 1fr;
  }
}