/* =========================================================
   ДЕНИС & СОФЬЯ — СВАДЕБНОЕ ПРИГЛАШЕНИЕ
   18 СЕНТЯБРЯ 2026

   CLEAN STYLE.CSS
   Только структурирование и форматирование.
   Порядок CSS-правил и каскад сохранены.
   Визуальный дизайн не изменён.
   ========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --wine: #6E2638;
    --paper: #eee4d3;
    --dark: #2b1b18;
    --ink-light: rgba(43, 27, 24, 0.68);
    --serif: "Cormorant Garamond", Georgia, serif;
    --sans: "Manrope", Arial, sans-serif;
    --paper-dark: #d9cec0;
    --shadow-soft: 0 20px 45px rgba(40, 25, 20, 0.14);
}

html {
    scroll-behavior: smooth;
}

/* =========================================================
   1. БАЗОВЫЕ СТИЛИ И ГЛОБАЛЬНЫЕ НАСТРОЙКИ
   ========================================================= */

body {
    margin: 0;
    padding: 0;
    background: var(--dark);
    color: var(--wine);
    font-family: "Great Vibes", cursive;
    overflow-x: hidden;
}

body.locked {
    overflow: hidden;
}

button, input, select, textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
}

::selection {
    background: rgba(117, 66, 61, 0.18);
}

.intro {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100svh;
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--dark);
    z-index: 1000;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.4s ease,
visibility 0.45s ease;
}

.intro.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.intro-background {
    position: absolute;
    inset: 0;
    background: url("../img/background.webp")
center  / contain
no-repeat;
    background-color: var(--dark);
    z-index: 0;
    transition: filter 1.2s ease,
transform 1.2s ease;
}

/* =========================================================
   2. ПЕРВЫЙ ЭКРАН И ОТКРЫТИЕ ПРИГЛАШЕНИЯ
   ========================================================= */

.intro.invitation-opened .intro-background {
    filter: brightness(0.58);
    animation-play-state: paused;
}

.intro-overlay {
    position: absolute;
    inset: 0;
    background: rgba(35, 20, 17, 0);
    z-index: 1;
    pointer-events: none;
    transition: background 0.4s ease;
}

.intro.invitation-opened .intro-overlay {
    background: rgba(31, 18, 15, 0.28);
}

.intro-hint {
    position: absolute;
    left: 50%;
    bottom: 6%;
    transform: translateX(-50%);
    z-index: 5;
    color: rgba(255, 247, 237, 0.92);
    font-family: "Montserrat", sans-serif;
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    white-space: nowrap;
    text-align: center;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
    transition: opacity 0.4s ease,
transform 0.45s ease;
}

.intro.invitation-opened .intro-hint {
    opacity: 0;
    transform: translateX(-50%)
translateY(15px);
    pointer-events: none;
}

.intro-hint-line {
    display: block;
    width: 35px;
    height: 1px;
    margin: 12px auto 0;
    background: rgba(255, 255, 255, 0.65);
}

.invitation {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px;
    z-index: 10;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.4s ease,
visibility 0.45s ease;
}

.invitation.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.invitation-paper {
    position: relative;
    width: min(520px, 88vw);
    min-height: 650px;
    max-height: 88vh;
    padding: 70px 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: linear-gradient(
90deg,
rgba(116, 82, 60, 0.06),
transparent 12%,
transparent 88%,
rgba(116, 82, 60, 0.06)
),
repeating-linear-gradient(
0deg,
rgba(110, 76, 55, 0.025) 0,
rgba(110, 76, 55, 0.025) 1px,
transparent 1px,
transparent 5px
),
var(--paper);
    box-shadow: 0 30px 70px rgba(25, 13, 10, 0.38),
0 8px 20px rgba(25, 13, 10, 0.18);
    transform: translateY(35px)
scale(0.95)

transform 1s cubic-bezier(.22, .61, .36, 1),
opacity 0.4s ease;
    filter: saturate(0.88);
}

.invitation.show .invitation-paper {
    transform: translateY(0)
scale(1)
rotate(-0.7deg);
    opacity: 1;
}

.invitation-paper::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(
            135deg,
            transparent 0 96%,
            rgba(42, 25, 19, 0.08) 96% 100%
        );
}

.invitation-paper::after {
    content: "";
    position: absolute;
    inset: 18px;
    border: 1px solid
rgba(103, 66, 54, 0.22);
    pointer-events: none;
}

.invitation-content {
    position: relative;
    z-index: 3;
    width: 100%;
    color: var(--wine);
}

.invitation-small {
    margin-bottom: 34px;
    font-family: "Montserrat", sans-serif;
    font-size: 30px;
    letter-spacing: 4px;
    color: rgba(110, 38, 56, 0.78);
}

.invitation-content h1 {
    margin: 0;
    font-family: "Great Vibes", cursive;
    font-size: clamp(48px, 7vw, 68px);
    font-weight: 400;
    line-height: 0.95;
    color: var(--wine);
}

.invitation-date {
    margin-top: 25px;
    font-family: "Montserrat", sans-serif;
    font-size: 20px;
    letter-spacing: 4px;
    color: rgba(110, 38, 56, 0.78);
}

.invitation-line {
    width: 60px;
    height: 1px;
    margin: 30px auto;
    background: rgba(100, 62, 52, 0.4);
}

.invitation-content p {
    max-width: 280px;
    margin: 0 auto 40px;
    font-size: 35px;
    line-height: 1.45;
    color: var(--wine);
}

.invitation-button {
    position: relative;
    z-index: 5;
    border: 1px solid rgba(91, 45, 48, 0.6);
    background: #75423d;
    color: #f8f0e7;
    padding: 14px 28px;
    font-family: "Montserrat", sans-serif;
    font-size: 15px;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: background 0.3s ease,
transform 0.3s ease,
box-shadow 0.3s ease;
}

.invitation-button:hover {
    background: #5d3031;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px
rgba(70, 35, 30, 0.2);
}

.site {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background: url("../img/background.webp")
center top / cover
fixed no-repeat;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.4s ease,
visibility 0.45s ease;
}

.site.visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.site::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: min(1180px, 100%);
    transform: translateX(-50%);
    z-index: 0;
    pointer-events: none;
    background: linear-gradient(
90deg,
rgba(116, 82, 60, 0.05),
transparent 12%,
transparent 88%,
rgba(116, 82, 60, 0.05)
),
repeating-linear-gradient(
0deg,
rgba(110, 76, 55, 0.022) 0,
rgba(110, 76, 55, 0.022) 1px,
transparent 1px,
transparent 5px
),
var(--paper);
    box-shadow: 0 0 50px
rgba(30, 15, 10, 0.22);
    clip-path: polygon(
0 0,
1% 0.2%,
2% 0,
3% 0.15%,
4% 0,
5% 0.2%,
6% 0,
7% 0.15%,
8% 0,
9% 0.2%,
10% 0,
90% 0,
91% 0.2%,
92% 0,
93% 0.15%,
94% 0,
95% 0.2%,
96% 0,
97% 0.15%,
98% 0,
99% 0.2%,
100% 0,

100% 100%,
99% 99.8%,
98% 100%,
97% 99.85%,
96% 100%,
95% 99.8%,
94% 100%,
93% 99.85%,
92% 100%,
91% 99.8%,
90% 100%,
10% 100%,
9% 99.8%,
8% 100%,
7% 99.85%,
6% 100%,
5% 99.8%,
4% 100%,
3% 99.85%,
2% 100%,
1% 99.8%,
0 100%
);
}

/* =========================================================
   3. САЙТ, БУМАГА И ОБЩАЯ СЕТКА
   ========================================================= */

.site::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: min(1180px, 100%);
    transform: translateX(-50%);
    z-index: 1;
    pointer-events: none;
    box-shadow: inset 18px 0 30px
rgba(70, 40, 25, 0.025),

inset -18px 0 30px
rgba(70, 40, 25, 0.025);
}

.site > section {
    position: relative;
    z-index: 2;
    background: transparent;
    overflow: visible;
}

.section {
    position: relative;
}

.section-inner {
    width: min(1000px, 88%);
    margin: 0 auto;
}

section h2 {
    margin: 0;
    font-family: "Great Vibes", cursive;
    font-size: clamp(55px, 7vw, 82px);
    font-weight: 400;
    line-height: 0.9;
    letter-spacing: 0;
    color: var(--wine);
}

.section-label {
    margin-bottom: 18px;
    font-family: "Montserrat", sans-serif;
    font-size: 9px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: rgba(110, 38, 56, 0.78);
}

.welcome {
    min-height: 90vh;
    padding: 130px 0 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.welcome-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.welcome-label {
    margin-bottom: 35px;
    font-family: "Montserrat", sans-serif;
    font-size: 10px;
    letter-spacing: 5px;
    color: rgba(110, 38, 56, 0.78);
}

/* =========================================================
   4. ПРИВЕТСТВЕННЫЙ ЭКРАН
   ========================================================= */

.welcome-names {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: "Great Vibes", cursive;
    font-size: clamp(80px, 11vw, 135px);
    font-weight: 400;
    line-height: 0.85;
    letter-spacing: 0;
    color: var(--wine);
}

.welcome-names span {
    margin: 25px 0;
    font-family: "Great Vibes", cursive;
    font-size: clamp(45px, 5vw, 45px);
    font-weight: 400;
    line-height: 1;
    color: var(--wine);
}

.welcome-line {
    width: 70px;
    height: 1px;
    margin: 55px 0 30px;
    background: rgba(103, 65, 54, 0.35);
}

.welcome-date {
    font-family: "Montserrat", sans-serif;
    font-size: 30px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--wine);
}

.welcome-place {
    margin-top: 70px;
    font-size: 50px;
    font-style: italic;
    color: var(--wine);
}

.guests {
    min-height: 100vh;
    padding: 120px 0 110px;
    text-align: center;
}

.guests .section-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.guests h2 {
    margin-bottom: 25px;
}

/* =========================================================
   5. ГОСТИ И ТАЙМЕР
   ========================================================= */

.guest-text {
    max-width: 700px;
    margin: 0 auto 55px;
    font-size: 50px;
    line-height: 1.3;
    font-style: italic;
    color: #6E2638;
}

.guest-side-selection {
    width: 100%;
    max-width: 900px;
    margin: 0 auto 45px;
    text-align: center;
}

.guest-selection-title {
    margin: 0 0 28px;
    font-size: 50px;
    line-height: 1.2;
    font-style: italic;
    color: #6E2638;
}

.guest-side-buttons {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 22px;
    width: 100%;
}

.guest-side-option {
    position: relative;
    flex: 1;
    max-width: 390px;
    cursor: pointer;
}

.guest-side-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.guest-side-option span {
    min-height: 70px;
    padding: 18px 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(110, 38, 56, 0.35);
    background: rgba(255, 250, 240, 0.35);
    font-family: "Montserrat", sans-serif;
    font-size: 20px;
    line-height: 1.3;
    letter-spacing: 1px;
    color: #6E2638;
    transition: background 0.3s ease,
color 0.3s ease,
border-color 0.3s ease,
transform 0.3s ease,
box-shadow 0.3s ease;
}

.guest-side-option:hover span {
    border-color: #6E2638;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(70, 35, 30, 0.10);
}

.guest-side-option input:checked + span {
    background: #75423d;
    border-color: #75423d;
    color: #f8f0e7;
    box-shadow: 0 10px 25px rgba(70, 35, 30, 0.15);
}

.guest-selection {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

.guest-group .guest-selection-title {
    margin-bottom: 30px;
    font-size: 50px;
}

.guest-list {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin: 0 auto;
}

.guest-option {
    position: relative;
    width: min(700px, 100%);
    min-height: 58px;
    padding: 13px 22px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 15px;
    cursor: pointer;
    border: 1px solid rgba(86, 57, 48, 0.18);
    background: rgba(255, 250, 240, 0.25);
    transition: background 0.25s ease,
border-color 0.25s ease,
transform 0.25s ease;
}

.guest-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.guest-check {
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    border: 1px solid #75423d;
    border-radius: 50%;
    background: transparent;
    position: relative;
    transition: background 0.25s ease,
border-color 0.25s ease;
}

.guest-check::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 3px;
    width: 7px;
    height: 11px;
    border-right: 2px solid #f8f0e7;
    border-bottom: 2px solid #f8f0e7;
    transform: rotate(45deg)
scale(0);
    transition: transform 0.2s ease;
}

.guest-option input:checked + .guest-check {
    background: #75423d;
    border-color: #75423d;
}

.guest-option input:checked + .guest-check::after {
    transform: rotate(45deg)
scale(1);
}

.guest-name {
    font-family: "Montserrat", sans-serif;
    font-size: 30px;
    line-height: 1.25;
    letter-spacing: 0.3px;
    color: #6E2638;
    text-align: left;
}

.guest-option:hover {
    border-color: rgba(110, 38, 56, 0.4);
    background: rgba(255, 250, 240, 0.55);
    transform: translateY(-2px);
}

.guest-option:has(input:checked) {
    border-color: #75423d;
    background: rgba(117, 66, 61, 0.10);
}

.guest-confirmation {
    width: 100%;
    max-width: 700px;
    margin-top: 35px;
    text-align: center;
}

.guest-selected-text {
    margin: 0 0 25px;
    font-size: 45px;
    line-height: 1.5;
    color: #6E2638;
}

.guest-selected-text strong {
    font-weight: 400;
}

.guest-confirm-button {
    padding: 16px 30px;
    border: 1px solid #75423d;
    background: #75423d;
    color: #f8f0e7;
    font-family: "Montserrat", sans-serif;
    font-size: 35px;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: background 0.3s ease,
transform 0.3s ease,
box-shadow 0.3s ease;
}

.guest-confirm-button:hover {
    background: #5e3032;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(70, 35, 30, 0.18);
}

.selected-guests-display {
    width: 100%;
    padding: 15px 16px;
    border: 1px solid rgba(90, 60, 50, 0.25);
    background: rgba(255, 250, 240, 0.42);
    color: #6E2638;
    font-family: "Montserrat", sans-serif;
    font-size: 15px;
    line-height: 1.6;
}

.selected-guest-name {
    padding: 3px 0;
}

.countdown {
    width: 100%;
    margin-top: 90px;
    text-align: center;
}

.countdown-label {
    margin-bottom: 35px;
    font-size: 50px;
    font-style: italic;
    color: #6E2638;
}

.timer {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: clamp(20px, 5vw, 70px);
}

.timer-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.timer-item span {
    font-size: clamp(48px, 7vw, 78px);
    font-weight: 300;
    line-height: 1;
    color: #6E2638;
}

.timer-item small {
    margin-top: 10px;
    font-family: "Montserrat", sans-serif;
    font-size: 15px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #6E2638;
}

.story-timing {
    position: relative;
    width: 100%;
    min-height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: visible;
    padding: 120px 0 130px;
}

.photo-side {
    position: relative;
    width: min(760px, 82%);
    height: 620px;
    min-height: 0;
    margin: 0 auto;
    overflow: hidden;
    background: #d9cec0;
    flex: none;
}

.photo-side img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: saturate(0.85)
contrast(0.96);
    transition: transform 0.4s ease;
}

/* =========================================================
   6. ФОТО И ПРОГРАММА ДНЯ
   ========================================================= */

.photo-side:hover img {
    transform: scale(1.025);
}

.timing-side {
    width: min(760px, 82%);
    min-height: 0;
    margin: 0 auto;
    padding: 90px 70px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(235, 227, 211, 0.32);
    flex: none;
}

.timing-inner {
    width: 100%;
    max-width: 620px;
    margin: 0 auto;
    text-align: left;
}

.timing-side h2 {
    margin: 0 0 65px;
    text-align: center;
}

.timeline {
    position: relative;
    width: 100%;
    padding-left: 32px;
    margin: 0 auto;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 3px;
    top: 6px;
    bottom: 6px;
    width: 1px;
    background: rgba(100, 65, 56, 0.28);
}

.timeline-item {
    position: relative;
    display: grid;
    grid-template-columns: 75px minmax(0, 1fr);
    gap: 22px;
    margin-bottom: 38px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-item::before {
    content: "";
    position: absolute;
    left: -32px;
    top: 7px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #75423d;
    box-shadow: 0 0 0 5px
rgba(117, 66, 61, 0.09);
}

.timeline-item time {
    font-family: "Montserrat", sans-serif;
    font-size: 40px;
    letter-spacing: 0.5px;
    color: var(--wine);
    white-space: nowrap;
}

.timeline-item p {
    margin: 10px;
    font-size: 40px;
    line-height: 1.2;
    color: var(--wine);
}

.location {
    min-height: 100vh;
    padding: 120px 0;
    text-align: center;
}

.location-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.location h2 {
    margin-bottom: 15px;
}

/* =========================================================
   7. ЛОКАЦИЯ И КАРТА
   ========================================================= */

.location-address {
    margin-bottom: 45px;
    font-size: 21px;
    font-style: italic;
    color: var(--wine);
}

.map-wrapper {
    width: min(900px, 100%);
    overflow: hidden;
    box-shadow: 0 20px 45px
rgba(40, 25, 20, 0.14);
}

.map-image {
    width: 100%;
    height: 1400px;
    object-fit: cover;
}

.route-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 40px;
    padding: 15px 34px;
    border: 1px solid #75423d;
    color: #75423d;
    text-decoration: none;
    font-family: "Montserrat", sans-serif;
    font-size: 30px;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: background 0.3s ease,
color 0.3s ease,
transform 0.3s ease;
}

.route-button:hover {
    background: #75423d;
    color: #f7f0e4;
    transform: translateY(-2px);
}

.rsvp {
    min-height: 100vh;
    padding: 130px 0;
    display: flex;
    align-items: center;
}

.rsvp-inner {
    width: min(650px, 88%);
    text-align: center;
}

.rsvp h2 {
    margin-bottom: 20px;
    font-size: 80px;
}

/* =========================================================
   8. RSVP И ФОРМА
   ========================================================= */

.rsvp-intro {
    max-width: 480px;
    margin: 0 auto;
    font-size: 35px;
    line-height: 1.5;
    font-style: italic;
    color: var(--wine);
}

.rsvp-form {
    margin-top: 55px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    text-align: left;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-field span {
    font-family: "Montserrat", sans-serif;
    font-size: 15px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(110, 38, 56, 0.78);
}

.rsvp input, .rsvp select, .rsvp textarea {
    width: 100%;
    padding: 15px 16px;
    border: 1px solid
rgba(90, 60, 50, 0.25);
    border-radius: 0;
    outline: none;
    background: rgba(255, 250, 240, 0.42);
    color: var(--wine);
    font-family: "Montserrat", sans-serif;
    font-size: 15px;
    transition: border-color 0.3s ease,
background 0.3s ease;
}

.rsvp textarea {
    min-height: 110px;
    resize: vertical;
}

.rsvp input::placeholder, .rsvp textarea::placeholder {
    color: #8b756c;
}

.rsvp input:focus, .rsvp select:focus, .rsvp textarea:focus {
    border-color: #75423d;
    background: rgba(255, 250, 240, 0.72);
}

.rsvp-button {
    margin-top: 10px;
    padding: 17px 25px;
    border: 1px solid #75423d;
    background: #75423d;
    color: #f7f0e4;
    font-family: "Montserrat", sans-serif;
    font-size: 15px;
    letter-spacing: 3px;
    text-transform: uppercase;
    transition: background 0.3s ease,
transform 0.3s ease;
}

.rsvp-button:hover {
    background: #5e3032;
    transform: translateY(-2px);
}

.rsvp-message {
    min-height: 20px;
    margin-top: 10px;
    text-align: center;
    font-family: "Montserrat", sans-serif;
    font-size: 15px;
    color: var(--wine);
}

.final {
    min-height: 85vh;
    padding: 100px 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.final-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.final-small {
    margin-bottom: 35px;
    font-family: "Montserrat", sans-serif;
    font-size: 30px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: rgba(110, 38, 56, 0.78);
}

/* =========================================================
   9. ФИНАЛЬНЫЙ ЭКРАН
   ========================================================= */

.final h2 {
    margin: 0;
    font-family: "Great Vibes", cursive;
    font-size: clamp(70px, 10vw, 110px);
    font-weight: 400;
    font-style: normal;
    line-height: 0.9;
    color: var(--wine);
}

.final-names {
    margin-top: 35px;
    font-size: 60px;
    color: var(--wine);
}

.final-date {
    margin-top: 15px;
    font-family: "Montserrat", sans-serif;
    font-size: 20px;
    letter-spacing: 4px;
    color: rgba(110, 38, 56, 0.78);
}

.dresscode-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease,
visibility 0.3s ease;
}

.dresscode-modal.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.dresscode-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(20, 18, 16, 0.72);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

/* =========================================================
   10. МОДАЛЬНОЕ ОКНО DRESS CODE
   ========================================================= */

.dresscode-modal-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background: #f7f3ec;
    border-radius: 14px;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.3);
    transform: translateY(20px) scale(0.97);
    transition: transform 0.35s ease;
}

.dresscode-modal.active .dresscode-modal-content {
    transform: translateY(0) scale(1);
}

.dresscode-modal-content h3 {
    margin: 5px 50px 18px;
    font-size: 24px;
    font-weight: normal;
    text-align: center;
}

.dresscode-modal-content img {
    display: block;
    max-width: 100%;
    max-height: 75vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
}

.dresscode-modal-close {
    position: absolute;
    top: 12px;
    right: 15px;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    background: transparent;
    font-family: Arial, sans-serif;
    font-size: 34px;
    font-weight: 200;
    line-height: 1;
    cursor: pointer;
    color: #4a403a;
    transition: transform 0.2s ease,
opacity 0.2s ease;
}

.dresscode-modal-close:hover {
    transform: rotate(90deg);
    opacity: 0.65;
}

body.dresscode-modal-open {
    overflow: hidden;
}

.dresscode-inner {
    width: min(1050px, 100%);
    display: grid;
    grid-template-columns: 1fr;
    padding: 70px 55px;
    margin: 0 auto;
}

.dresscode-inner h2 {
    grid-column: 1 / -1;
    margin-bottom: 5px;
    text-align: center;
    font-size: 100px;
}

.dresscode-inner > .dresscode-text {
    grid-column: 1 / -1;
    max-width: 650px;
    margin: 0 auto 45px;
    text-align: center;
    font-size: 40px;
}

/* =========================================================
   11. DRESS CODE И ЦВЕТОВАЯ ПАЛИТРА
   ========================================================= */

.colors {
    grid-column: 1 / -1;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 22px;
    margin: 0;
}

.color-card {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    background: transparent;
    border: 0;
    cursor: pointer;
    text-align: center;
}

.color-card .color {
    display: block;
    width: 100%;
    height: 150px;
    margin: 0 0 16px;
    border-radius: 0 !important;
    overflow: hidden;
    border: 1px solid
rgba(70, 50, 40, .14);
    box-shadow: 0 8px 20px
rgba(45, 35, 25, .10);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    transition: transform 0.35s ease,
box-shadow 0.35s ease;
}

.color-anise {
    background: url("../img/anise.jpg")
center / cover
no-repeat !important;
}

.color-berry {
    background: url("../img/berry.jpg")
center / cover
no-repeat !important;
}

.color-olive {
    background: url("../img/olive.jpg")
center / cover
no-repeat !important;
}

.color-rosewood {
    background: url("../img/rosewood.jpg")
center / cover
no-repeat !important;
}

.color-butter {
    background: url("../img/butter.jpg")
center / cover
no-repeat !important;
}

.color-card:hover .color {
    transform: translateY(-5px);
    box-shadow: 0 14px 28px
rgba(45, 35, 25, .16);
}

.color-name {
    display: block;
    color: var(--wine);
    font-family: var(--serif);
    font-size: 21px;
    line-height: 1.05;
}

.color-hint {
    display: block;
    max-width: 150px;
    margin-top: 7px;
    color: var(--ink-light);
    font-size: 8px;
    line-height: 1.35;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.dresscode-inner > .dresscode-notes {
    grid-column: 1 / -1;
    width: 100%;
    margin-top: 45px;
    padding-top: 28px;
    border-top: 1px solid
rgba(103, 78, 62, .15);
    text-align: center;
    font-size: 8px;
}

.color-card .color-name {
    color: var(--wine) !important;
    font-family: "Manrope", Arial, sans-serif !important;
    font-size: 25px !important;
    font-weight: 500 !important;
    line-height: 1.3 !important;
    letter-spacing: .02em !important;
    text-align: center !important;
}

.color-card .color-hint {
    color: var(--ink-light) !important;
    font-family: "Manrope", Arial, sans-serif !important;
    font-size: 9px !important;
    font-weight: 400 !important;
    line-height: 1.4 !important;
    letter-spacing: .04em !important;
    text-transform: none !important;
    text-align: center !important;
}

.color-card .color-name {
    font-family: var(--sans) !important;
    font-size: 25px !important;
    font-weight: 500 !important;
    line-height: 1.3 !important;
    letter-spacing: .02em !important;
}

.color-card .color-hint {
    margin-top: 8px !important;
    font-family: var(--sans) !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    line-height: 1.4 !important;
    letter-spacing: .03em !important;
    text-transform: none !important;
}

.dresscode-notes p {
    font-family: var(--sans) !important;
    font-size: 25px !important;
    font-weight: 400 !important;
    line-height: 1.7 !important;
    letter-spacing: .02em !important;
}

.alcohol-field {
    width: 100%;
}

.alcohol-options {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.alcohol-option {
    position: relative;
    width: 100%;
    min-height: 52px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    border: 1px solid rgba(90, 60, 50, 0.25);
    background: rgba(255, 250, 240, 0.42);
    transition: background 0.25s ease,
border-color 0.25s ease,
transform 0.25s ease,
box-shadow 0.25s ease;
}

/* =========================================================
   12. ВЫБОР АЛКОГОЛЯ
   ========================================================= */

.alcohol-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.alcohol-check {
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    border: 1px solid #75423d;
    background: transparent;
    position: relative;
    transition: background 0.25s ease,
border-color 0.25s ease;
}

.alcohol-check::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 3px;
    width: 7px;
    height: 11px;
    border-right: 2px solid #f8f0e7;
    border-bottom: 2px solid #f8f0e7;
    transform: rotate(45deg)
scale(0);
    transition: transform 0.2s ease;
}

.alcohol-option input:checked + .alcohol-check {
    background: #75423d;
    border-color: #75423d;
}

.alcohol-option input:checked + .alcohol-check::after {
    transform: rotate(45deg)
scale(1);
}

.alcohol-name {
    font-family: "Montserrat", sans-serif;
    font-size: 15px;
    line-height: 1.3;
    color: #6E2638;
}

.alcohol-option:hover {
    border-color: rgba(110, 38, 56, 0.45);
    background: rgba(255, 250, 240, 0.62);
    transform: translateY(-1px);
    box-shadow: 0 6px 15px
rgba(70, 35, 30, 0.08);
}

.alcohol-option:has(input:checked) {
    border-color: #75423d;
    background: rgba(117, 66, 61, 0.10);
}

.alcohol-none {
    margin-top: 5px;
    border-top: 1px solid
rgba(90, 60, 50, 0.18);
}

.story-timing .timing-side {
    width: min(760px, 82%);
    margin: 0 auto;
    padding: 78px 70px 88px;
    display: flex;
    justify-content: center;
    background: rgba(235, 227, 211, 0.32);
}

.story-timing .timing-inner {
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
}

.story-timing .timing-side h2 {
    margin: 0 0 58px;
    font-family: "Great Vibes", cursive;
    font-size: clamp(58px, 5.5vw, 74px);
    font-weight: 400;
    line-height: 1;
    color: var(--wine);
    text-align: center;
    white-space: nowrap;
}

/* =========================================================
   13. ФИНАЛЬНЫЕ НАСТРОЙКИ БЛОКА ПРОГРАММЫ
   ========================================================= */

.story-timing .timing-side h2::after {
    content: "";
    display: block;
    width: 42px;
    height: 1px;
    margin: 18px auto 0;
    background: rgba(110, 38, 56, 0.45);
}

.story-timing .timeline {
    width: 100%;
    margin: 0 auto;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.story-timing .timeline::before {
    display: none;
}

.story-timing .timeline-item {
    display: grid;
    grid-template-columns: 105px 70px 1fr;
    align-items: center;
    column-gap: 18px;
    min-height: 72px;
    margin: 0;
    padding: 0;
}

.story-timing .timeline-item::before {
    display: none;
}

.story-timing .timeline-item time {
    margin: 0;
    font-family: "Great Vibes", cursive;
    font-size: 50px;
    font-weight: 400;
    line-height: 1;
    color: var(--wine);
    text-align: right;
    white-space: nowrap;
}

.story-timing .timeline-item time::after {
    content: "";
    display: block;
    width: 52px;
    height: 1px;
    margin: 0 0 0 auto;
    background: rgba(110, 38, 56, 0.28);
    transform: translateY(-2px);
}

.story-timing .timeline-content {
    display: block;
    padding: 0;
    border: none;
}

.story-timing .timeline-content::before {
    display: none;
}

.story-timing .timeline-item p {
    margin: 0;
    font-family: "Montserrat", sans-serif;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.35;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--dark);
}

.intro-background {
    background-image: url("../img/background.webp") !important;
    background-position: center center !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-color: var(--dark);
    transform: none;
    animation: introPhotoMove 30s ease-in-out infinite alternate;
    will-change: transform;
}

.intro-background::after {
    content: "";
    position: absolute;
    inset: -12%;
    pointer-events: none;
    background: radial-gradient(
ellipse 18% 24% at 78% 24%,
rgba(255, 235, 190, 0.34) 0%,
rgba(255, 218, 155, 0.20) 22%,
rgba(255, 195, 125, 0.08) 45%,
transparent 72%
);
    mix-blend-mode: screen;
    opacity: 0.65;
    animation: candleFlame 2.2s ease-in-out infinite;
    will-change: opacity,
transform;
}

.intro-background::before {
    content: "";
    position: absolute;
    inset: -20%;
    pointer-events: none;
    background: radial-gradient(
ellipse 38% 48% at 78% 25%,
rgba(255, 218, 160, 0.10),
transparent 68%
);
    mix-blend-mode: screen;
    opacity: 0.7;
    animation: candleAmbient 5.5s ease-in-out infinite;
    will-change: opacity,
transform;
}

/* =========================================================
   14. АНИМАЦИИ ПЕРВОГО ЭКРАНА И ВИНИЛ
   ========================================================= */

.intro {
    position: relative;
}

.intro::after {
    content: "";
    position: absolute;
    top: -30%;
    left: -80%;
    width: 35%;
    height: 160%;
    pointer-events: none;
    z-index: 3;
    background: linear-gradient(
90deg,
transparent 0%,
rgba(255, 245, 220, 0.02) 25%,
rgba(255, 245, 220, 0.13) 50%,
rgba(255, 245, 220, 0.02) 75%,
transparent 100%
);
    transform: rotate(12deg);
    animation: cinematicSweep 10s ease-in-out infinite;
    will-change: left,
opacity;
}

.intro.invitation-opened .intro-background::before, .intro.invitation-opened .intro-background::after, .intro.invitation-opened::after {
    animation-play-state: paused;
}

.vinyl-player {
    position: fixed;
    right: 28px;
    bottom: 28px;
    width: 72px;
    height: 72px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px) scale(.9);
    transition: opacity 0.5s ease,
visibility 0.5s ease,
transform 0.5s ease;
}

.intro.invitation-opened ~ .vinyl-player {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.vinyl-disc {
    position: relative;
    display: block;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: repeating-radial-gradient(
circle,
#171515 0px,
#171515 1px,
#242020 2px,
#171515 3px
);
    box-shadow: 0 8px 22px rgba(0, 0, 0, .25),
inset 0 0 0 1px rgba(255,255,255,.08);
    transition: box-shadow 0.3s ease;
}

.vinyl-label {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 28px;
    height: 28px;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--wine);
    color: var(--paper);
    font-family: "Great Vibes", cursive;
    font-size: 19px;
    box-shadow: 0 0 0 2px rgba(235,227,211,.65),
0 2px 5px rgba(0,0,0,.25);
}

.vinyl-label::after {
    content: "";
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--paper);
}

.vinyl-player.is-playing .vinyl-disc {
    animation: vinylRotate 4s linear infinite;
}

.vinyl-player:hover .vinyl-disc {
    box-shadow: 0 10px 28px rgba(0, 0, 0, .32),
inset 0 0 0 1px rgba(255,255,255,.12);
}

.site > section::before, .site > section::after {
    content: none;
}

.guests .section-inner::before, .guests .section-inner::after, .story-timing .section-inner::before, .story-timing .section-inner::after, .dresscode .section-inner::before, .dresscode .section-inner::after, .location .section-inner::before, .location .section-inner::after, .rsvp .section-inner::before, .rsvp .section-inner::after, .final .section-inner::before, .final .section-inner::after {
    content: none;
}

.welcome {
    position: relative;
}

/* =========================================================
   15. ДЕКОРАТИВНАЯ СИСТЕМА СЕКЦИЙ
   ========================================================= */

.welcome-line {
    background-image: url("../img/decor/divider.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    width: 110px;
    height: 34px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.72;
}

.guests {
    position: relative;
}

.guests .section-inner {
    position: relative;
}

.guests .section-inner::after {
    content: "";
    position: absolute;
    width: 135px;
    height: 205px;
    right: -15px;
    bottom: -55px;

    background-repeat: no-repeat;
    background-size: contain;
    background-position: right bottom;
    opacity: 0.22;
    pointer-events: none;
    z-index: 0;
}

.story-timing {
    position: relative;
}

.story-timing::before, .story-timing::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 150px;
    height: 240px;
    transform: translateY(-50%);
    background-repeat: no-repeat;
    background-size: contain;
    opacity: 0.26;
    pointer-events: none;
    z-index: 1;
}

.story-timing::before {
    left: max(20px, calc(50% - 565px));

    background-position: left center;
}

.story-timing::after {
    right: max(20px, calc(50% - 565px));

    background-position: right center;
}

.dresscode {
    position: relative;
}

.dresscode .section-inner {
    position: relative;
}

.dresscode .section-inner::before {
    content: "";
    position: absolute;
    width: 115px;
    height: 115px;
    left: 0;
    top: -25px;

    background-repeat: no-repeat;
    background-size: contain;
    background-position: left top;
    opacity: 0.20;
    pointer-events: none;
    z-index: 0;
}

.dresscode .section-inner::after {
    content: "";
    position: absolute;
    width: 115px;
    height: 115px;
    right: 0;
    bottom: -25px;

    background-repeat: no-repeat;
    background-size: contain;
    background-position: right bottom;
    transform: rotate(180deg);
    opacity: 0.20;
    pointer-events: none;
    z-index: 0;
}

.location {
    position: relative;
}

.rsvp {
    position: relative;
}

.rsvp .section-inner {
    position: relative;
}

.rsvp .section-inner::before {
    content: "";
    position: absolute;
    width: 120px;
    height: 185px;
    left: -10px;
    top: 30%;

    background-repeat: no-repeat;
    background-size: contain;
    background-position: left center;
    opacity: 0.18;
    pointer-events: none;
    z-index: 0;
}

.final {
    position: relative;
}

.final::before, .final::after {
    content: "";
    position: absolute;
    bottom: 20px;
    width: 145px;
    height: 225px;
    background-repeat: no-repeat;
    background-size: contain;
    opacity: 0.30;
    pointer-events: none;
    z-index: 1;
}

.final::before {
    left: max(20px, calc(50% - 560px));

    background-position: left bottom;
}

.final::after {
    right: max(20px, calc(50% - 560px));
    background-position: right bottom;
}

.guests h2::after, .story-timing h2::after, .dresscode h2::after, .location h2::after, .rsvp h2::after, .final h2::after {
    content: "";
    display: block;
    width: 78px;
    height: 25px;
    margin: 13px auto 0;
    background-image: url("../img/decor/divider.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.55;
    pointer-events: none;
}

.site > section {
    position: relative;
}

.site > section:not(.final)::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -16px;
    transform: translateX(-50%);
    width: min(72%, 620px);
    height: 32px;
    background-image: url("../img/decor/divider.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 90px auto;
    opacity: 0.78;
    pointer-events: none;
    z-index: 20;
}

.welcome, .guests, .story-timing, .dresscode, .location, .rsvp, .final {
    overflow: visible;
}

.welcome {
    padding-bottom: 85px;
}

.guests {
    padding-bottom: 95px;
}

.story-timing {
    padding-bottom: 100px;
}

.dresscode {
    padding-bottom: 95px;
}

.location {
    padding-bottom: 95px;
}

.rsvp {
    padding-bottom: 100px;
}

/* =========================================================
   16. ДЕКОРАТИВНЫЕ ЭЛЕМЕНТЫ, РАЗДЕЛИТЕЛИ И ФОТО
   ========================================================= */

.final {
    padding-bottom: 90px;
}

.welcome::after {
    bottom: 25px;
}

.section-divider, .section-divider a, .section-divider button, .divider, .divider-wrap, .decor-divider {
    background: transparent !important;
    box-shadow: none !important;
    outline: none !important;
    border: none !important;
}

.section-divider:hover, .section-divider:focus, .section-divider:active, .section-divider a:hover, .section-divider a:focus, .section-divider button:hover, .section-divider button:focus {
    background: transparent !important;
    box-shadow: none !important;
    outline: none !important;
}

.section-divider img, .section-divider svg, .divider img, .divider svg, .divider-wrap img, .divider-wrap svg, .decor-divider img, .decor-divider svg {
    display: block;
    background: transparent !important;
    box-shadow: none !important;
}

.welcome-line {
    background-color: transparent !important;
    background-image: url("../img/decor/divider.svg") !important;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.site > section {
    position: relative;
    overflow: hidden;
}

.site > section .section-inner {
    position: relative;
    z-index: 3;
}

.site > section::before, .site > section::after, .site > section .section-inner::before, .site > section .section-inner::after {
    pointer-events: none;
}

.welcome {
    position: relative;
    overflow: hidden;
}

.welcome::before, .welcome::after {
    content: "";
    position: absolute;
    width: 145px;
    height: 145px;

    background-repeat: no-repeat;
    background-size: contain;
    opacity: 0.16;
    pointer-events: none;
    z-index: 1;
}

.welcome::before {
    top: 20px;
    left: 0;
    background-position: left top;
}

.welcome::after {
    right: 0;
    bottom: 20px;
    background-position: right bottom;
    transform: rotate(180deg);
}

.welcome-line {
    position: relative;
    z-index: 4;
    background-color: transparent !important;
    background-image: url("../img/decor/divider.svg") !important;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    width: 110px;
    height: 34px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.72;
}

.guests {
    position: relative;
    overflow: hidden;
}

.guests .section-inner::before, .guests .section-inner::after {
    content: "";
    position: absolute;
    width: 125px;
    height: 190px;
    background-repeat: no-repeat;
    background-size: contain;
    opacity: 0.18;
    z-index: 0;
}

.guests .section-inner::before {
    left: -18px;
    top: -35px;

    background-position: left top;
}

.guests .section-inner::after {
    right: -18px;
    bottom: -50px;

    background-position: right bottom;
}

.story-timing {
    position: relative;
    overflow: hidden;
}

.story-timing::before, .story-timing::after {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 170px;
    height: 270px;
    background-repeat: no-repeat;
    background-size: contain;
    opacity: 0.21;
    z-index: 1;
}

.story-timing::before {
    left: max(5px, calc(50% - 590px));

    background-position: left center;
}

.story-timing::after {
    right: max(5px, calc(50% - 590px));

    background-position: right center;
}

.dresscode {
    position: relative;
    overflow: hidden;
}

.dresscode .section-inner::before, .dresscode .section-inner::after {
    content: "";
    position: absolute;
    width: 135px;
    height: 135px;

    background-repeat: no-repeat;
    background-size: contain;
    opacity: 0.17;
    z-index: 0;
}

.dresscode .section-inner::before {
    left: -5px;
    top: -25px;
    background-position: left top;
}

.dresscode .section-inner::after {
    right: -5px;
    bottom: -35px;
    background-position: right bottom;
    transform: rotate(180deg);
}

.location {
    position: relative;
    overflow: hidden;
}

.location::before, .location::after {
    content: "";
    position: absolute;
    background-repeat: no-repeat;
    background-size: contain;
    pointer-events: none;
    z-index: 1;
}

.location::before {
    width: 125px;
    height: 125px;
    right: 0;
    top: 15px;

    background-position: right top;
    opacity: 0.16;
}

.location::after {
    width: 135px;
    height: 205px;
    left: -10px;
    bottom: -45px;

    background-position: left bottom;
    opacity: 0.18;
}

.rsvp {
    position: relative;
    overflow: hidden;
}

.rsvp .section-inner::before, .rsvp .section-inner::after {
    content: "";
    position: absolute;
    background-repeat: no-repeat;
    background-size: contain;
    pointer-events: none;
    z-index: 0;
}

.rsvp .section-inner::before {
    width: 135px;
    height: 205px;
    left: -15px;
    top: 25%;

    background-position: left center;
    opacity: 0.17;
}

.rsvp .section-inner::after {
    width: 120px;
    height: 120px;
    right: -5px;
    bottom: -15px;

    background-position: right bottom;
    transform: rotate(180deg);
    opacity: 0.15;
}

.final {
    position: relative;
    overflow: hidden;
}

.final::before, .final::after {
    content: "";
    position: absolute;
    bottom: 15px;
    width: 170px;
    height: 260px;
    background-repeat: no-repeat;
    background-size: contain;
    opacity: 0.25;
    pointer-events: none;
    z-index: 1;
}

.final::before {
    left: max(5px, calc(50% - 590px));

    background-position: left bottom;
}

.final::after {
    right: max(5px, calc(50% - 590px));

    background-position: right bottom;
}

.guests h2::after, .story-timing h2::after, .dresscode h2::after, .location h2::after, .rsvp h2::after, .final h2::after {
    content: "";
    display: block;
    width: 78px;
    height: 25px;
    margin: 13px auto 0;
    background-color: transparent !important;
    background-image: url("../img/decor/divider.svg") !important;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.58;
    pointer-events: none;
}

.site > section:not(.final)::after {
    background-image: url("../img/decor/divider.svg"),
linear-gradient(
to right,
transparent 0%,
rgba(91, 42, 42, 0.10) 15%,
rgba(91, 42, 42, 0.10) 35%,
transparent 42%,
transparent 58%,
rgba(91, 42, 42, 0.10) 65%,
rgba(91, 42, 42, 0.10) 85%,
transparent 100%
);
    background-repeat: no-repeat;
    background-position: center center,
center center;
    background-size: 72px auto,
100% 1px;
    content: "❦" !important;
    position: absolute !important;
    left: 50% !important;
    bottom: -18px !important;
    z-index: 50 !important;
    width: min(82%, 900px) !important;
    height: 36px !important;
    transform: translateX(-50%) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-top: 2px solid var(--wine) !important;
    background: linear-gradient(
var(--paper),
var(--paper)
)
center / 58px 22px
no-repeat !important;
    color: var(--wine) !important;
    font-family: Georgia, serif !important;
    font-size: 26px !important;
    line-height: 1 !important;
    opacity: 1 !important;
    pointer-events: none !important;
}

.story-timing {
    padding-top: 145px;
}

.site > section, .site > section.welcome, .site > section.guests, .site > section.story-timing, .site > section.dresscode, .site > section.location, .site > section.rsvp, .site > section.final {
    overflow: visible !important;
}

.site > section:not(.final)::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -18px;
    width: min(72%, 620px);
    height: 36px;
    transform: translateX(-50%);
    background-image: url("../img/decor/divider.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 92px auto;
    opacity: 0.78;
    pointer-events: none;
    z-index: 100;
}

.story-timing {
    padding-bottom: 150px !important;
}

.story-timing::after {
    display: block !important;
    content: "" !important;
    position: absolute !important;
    left: 50% !important;
    bottom: -18px !important;
    width: min(72%, 620px) !important;
    height: 36px !important;
    transform: translateX(-50%) !important;
    background-image: url("../img/decor/divider.svg") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 92px auto !important;
    opacity: 0.78 !important;
    pointer-events: none !important;
    z-index: 100 !important;
}

.story-timing h2::after {
    display: none;
}

.story-timing .story-timing-inner {
    position: relative;
}

/* ---------------------------------------------------------
   АДАПТИВНОСТЬ / СОСТОЯНИЕ: (max-width: 600px)
   --------------------------------------------------------- */
@media (max-width: 600px) {
    .intro-background {
        background-image: url("../img/background-mobile.webp");
    }

    .guests {
        min-height: auto;
    }

    .guest-text {
        margin-bottom: 42px;
    }

    .guest-side-selection {
        margin-bottom: 38px;
    }

    .guest-selection-title {
        margin-bottom: 22px;
    }

    .guest-side-buttons {
        flex-direction: column;
    }

    .guest-side-option span {
        min-height: 58px;
    }

    .guest-group .guest-selection-title {
        margin-bottom: 22px;
    }

    .guest-list {
        gap: 8px;
    }

    .guest-name {
        font-size: 18px;
    }

    .guest-check {
        flex-basis: 20px;
    }

    .guest-check::after {
        left: 5px;
    }

    .guest-confirmation {
        margin-top: 28px;
    }

    .guest-selected-text {
        font-size: 18px;
    }

    .countdown {
        margin-top: 70px;
    }

    .countdown-label {
        margin-bottom: 28px;
    }

    .timer {
        gap: 13px;
    }

    .timer-item span {
        font-size: 39px;
    }

    .timer-item small {
        font-size: 7px;
    }

    .story-timing {
        width: 100%;
    }

    .photo-side {
        width: 88%;
    }

    .photo-side img {
        width: 100%;
        object-position: center;
    }

    .timing-side {
        width: 88%;
    }

    .timing-inner {
        width: 100%;
        max-width: 100%;
    }

    .timing-side h2 {
        margin-bottom: 45px;
    }

    .timeline {
        width: 100%;
        padding-left: 28px;
        margin: 0 auto;
    }

    .timeline::before {
        left: 3px;
    }

    .timeline-item {
        grid-template-columns: 52px minmax(0, 1fr);
    }

    .timeline-item time {
        font-size: 16px;
        white-space: nowrap;
    }

    body {
        overflow-x: hidden;
    }

    .intro {
        min-height: 100svh;
    }

    .intro-background {
        background-size: contain;
    }

    .intro-hint {
        bottom: 5%;
    }

    .invitation {
        padding: 15px;
    }

    .invitation-paper {
        width: 92vw;
        max-height: 88svh;
    }

    .invitation-paper::after {
        inset: 13px;
    }

    .invitation-small {
        margin-bottom: 25px;
    }

    .invitation-content h1 {
        font-size: 42px;
    }

    .invitation-date {
        margin-top: 20px;
    }

    .invitation-content p {
        margin-bottom: 32px;
    }

    .invitation-button {
        padding: 13px 20px;
    }

    .site {
        background: var(--dark);
    }

    .site::before {
        width: 100%;
    }

    .site::after {
        display: none;
    }

    .section-inner {
        width: 88%;
    }

    .welcome {
        min-height: 90svh;
    }

    .welcome-label {
        font-size: 8px;
    }

    .welcome-names {
        font-size: 72px;
    }

    .welcome-names span {
        margin: 22px 0;
    }

    .welcome-line {
        margin: 45px 0 25px;
    }

    .welcome-date {
        font-size: 25px;
    }

    .welcome-place {
        font-size: 40px;
    }

    @media (max-width: 600px) {
        .guest-text {
            font-size: 22px;
        }

        .guest-selection-title {
            font-size: 40px;
        }

        .guest-side-buttons {
            display: flex;
        }

        .guest-side-option {
            width: 100%;
            justify-content: center;
            text-align: center;
        }

        .guest-side-option span {
            font-size: 20px;
        }

        .guest-group .guest-selection-title {
            font-size: 35px;
        }

        .guest-list {
            display: flex;
            flex-direction: column;
        }

        .guest-option {
            width: 100%;
            display: flex;
            align-items: center;
        }

        .guest-name {
            font-size: 20px;
        }

        .guest-check {
            flex-shrink: 0;
            margin-right: 12px;
        }

        .guest-confirmation {
            margin-top: 24px;
        }

        .guest-selected-text {
            font-size: 45px;
        }

        .guest-selected-text strong {
            font-size: 25px;
        }

        .guest-confirm-button {
            width: 100%;
        }

        .selected-guests-display {
            font-size: 20px;
        }

        .selected-guest-name {
            font-size: 19px;
        }

        .rsvp h2 {
            font-size: 70px;
        }

        .rsvp-intro {
            font-size: 30px;
        }

        .form-field span {
            font-size: 18px;
        }

        .form-field select, .form-field textarea {
            font-size: 17px;
        }

        .rsvp-button {
            font-size: 18px;
        }

        .countdown-label {
            font-size: 50px;
        }

        .timer-item span {
            font-size: 50px;
        }

        .timer-item small {
            font-size: 13px;
        }
    }

    .timing-side h2 {
        margin-bottom: 50px;
    }

    .timeline {
        padding-left: 28px;
    }

    .timeline-item {
        grid-template-columns: 52px 1fr;
    }

    .timeline-item::before {
        left: -28px;
    }

    .timeline-item time {
        font-size: 9px;
    }

    .timeline-item p {
        font-size: 19px;
    }

    .dresscode {
        min-height: auto;
    }

    .dresscode-text {
        font-size: 30px;
    }

    .colors {
        width: 100%;
        margin-top: 45px;
    }

    .color {
        width: 58px;
    }

    .dresscode-notes {
        margin-top: 40px;
    }

    .dresscode-notes p {
        font-size: 7px;
    }

    .location {
        min-height: auto;
    }

    .map-image {
        display: block;
        object-fit: contain;
    }

    .route-button {
        margin-top: 30px;
    }

    .final-small {
        font-size: 30px;
    }

    .final {
        min-height: 75svh;
    }

    .final h2 {
        font-size: 80px;
    }

    .final-names {
        font-size: 50px;
    }

    .dresscode-inner {
        padding: 50px 18px;
    }

    .colors {
        grid-template-columns: repeat(2, 1fr);
    }

    .dresscode-inner > .dresscode-text {
        margin-bottom: 20px;
    }

    .color-card .color {
        height: 120px;
        border-radius: 0 !important;
    }

    .color-name {
        font-size: 19px;
    }

    .color-hint {
        max-width: 130px;
    }

    .color-card .color-name {
        font-size: 20px !important;
    }

    .color-card .color-hint {
        font-size: 15px !important;
    }

    .dresscode-notes p {
        font-size: 25px !important;
    }

    .alcohol-options {
        gap: 8px;
    }

    .alcohol-option {
        min-height: 52px;
        gap: 11px;
    }

    .alcohol-check {
        flex-basis: 20px;
    }

    .alcohol-check::after {
        left: 5px;
        top: 3px;
    }

    .alcohol-name {
        font-size: 16px;
        line-height: 1.3;
    }

    .story-timing .timing-side {
        width: 88%;
        padding: 62px 28px 72px;
    }

    .story-timing .timing-side h2 {
        font-size: 54px;
        margin-bottom: 48px;
    }

    .story-timing .timeline-item {
        grid-template-columns: 82px 48px 1fr;
        column-gap: 14px;
        min-height: 68px;
    }

    .story-timing .timeline-item time {
        font-size: 30px;
    }

    .story-timing .timeline-item time::after {
        width: 36px;
    }

    .story-timing .timeline-item p {
        font-size: 20px;
        letter-spacing: 0.1em;
    }

    .intro-background {
        background-image: url("../img/background-mobile.webp") !important;
        background-position: center center !important;
        background-repeat: no-repeat !important;
    }

    @keyframes introPhotoMoveMobile {
        0% {
            transform: scale(1.025);
        }

        100% {
            transform: scale(1.07);
        }
    }

    .intro-background::after {
        background: radial-gradient(
ellipse 35% 30% at 80% 18%,
rgba(255, 221, 165, 0.20) 0%,
rgba(255, 204, 140, 0.08) 35%,
transparent 72%
);
        animation: candleGlowMobile
4.2s
ease-in-out
infinite;
    }

    @keyframes candleGlowMobile {
        0% {
            opacity: 0.32;
        }

        30% {
            opacity: 0.52;
        }

        55% {
            opacity: 0.38;
        }

        80% {
            opacity: 0.55;
        }

        100% {
            opacity: 0.34;
            transform: scale(1);
        }
    }

    .intro-background::after {
        background: radial-gradient(
ellipse 25% 21% at 78% 20%,
rgba(255, 235, 190, 0.38) 0%,
rgba(255, 218, 155, 0.22) 22%,
rgba(255, 195, 125, 0.08) 46%,
transparent 74%
);
    }

    .intro-background::before {
        background: radial-gradient(
ellipse 45% 42% at 78% 21%,
rgba(255, 218, 160, 0.11),
transparent 70%
);
        animation-duration: 4.8s;
    }

    .intro::after {
        animation-duration: 11s;
    }

    @media (max-width: 600px) {
        .vinyl-player {
            right: 18px;
            bottom: 18px;
            width: 60px;
            height: 60px;
        }

        .vinyl-disc {
            width: 60px;
            height: 60px;
        }

        .vinyl-label {
            width: 24px;
            height: 24px;
            font-size: 16px;
        }
    }

    .story-timing {
        padding-top: 95px;
    }

    .site > section:not(.final)::after {
        bottom: -14px;
    }

    .site > section:not(.final)::after {
        bottom: -16px;
    }

    .story-timing {
        padding-bottom: 175px !important;
    }

    .story-timing::after {
        bottom: -16px !important;
        width: 82% !important;
        height: 32px !important;
        background-size: 74px auto !important;
        opacity: 0.78 !important;
        z-index: 100 !important;
    }
}

/* ---------------------------------------------------------
   АДАПТИВНОСТЬ / СОСТОЯНИЕ: (max-width: 700px)
   --------------------------------------------------------- */
@media (max-width: 700px) {
    .story-timing {
        position: relative;
        padding-bottom: 115px !important;
    }

    .story-timing .timing-side h2::after {
        display: none !important;
        content: none !important;
    }

    .story-timing .timing-side {
        position: relative;
    }

    .story-timing .timing-inner {
        width: 100%;
    }

    .story-timing .story-timing-inner {
        position: relative;
    }

    .story-timing .story-timing-inner::after {
        content: "";
        position: absolute;
        z-index: 30;
        left: 50%;
        bottom: -58px;
        transform: translateX(-50%);
        background-image: url("../img/decor/divider.svg");
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
        opacity: 0.9;
        pointer-events: none;
    }

    .dresscode {
        width: 100%;
    }

    .dresscode-inner {
        width: 100%;
    }

    .colors {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 25px 12px;
    }

    .color-card {
        width: 100%;
        min-width: 0;
    }

    .color-card .color {
        display: block;
        margin-bottom: 12px;
    }

    .color-card .color-name {
        width: 100%;
        overflow-wrap: break-word;
    }

    .color-card .color-hint {
        width: 100%;
        margin-left: auto;
        margin-right: auto;
        font-size: 9px !important;
        line-height: 1.35 !important;
    }

    .location {
        width: 100%;
    }

    .location-inner {
        width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .map-wrapper {
        width: 100% !important;
        overflow: hidden;
        box-shadow: 0 20px 45px
rgba(40, 25, 20, 0.14);
    }

    .map-image {
        display: block;
        width: 100% !important;
        max-width: none !important;
        height: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        object-fit: contain !important;
        object-position: center;
        border: 0;
        box-sizing: border-box;
    }

    .route-button {
        margin-top: 30px;
        font-size: 15px;
    }
}

/* ---------------------------------------------------------
   АДАПТИВНОСТЬ / СОСТОЯНИЕ: (max-width: 430px)
   --------------------------------------------------------- */
@media (max-width: 430px) {
    .story-timing {
        padding-bottom: 110px !important;
    }

    .story-timing .story-timing-inner::after {
        bottom: -55px;
        width: 72px;
        height: 25px;
    }

    .dresscode-inner {
        padding-left: 12px;
    }

    .colors {
        gap: 20px 8px;
    }

    .color-card .color {
        height: 105px;
    }

    .location-inner {
        width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .map-wrapper, .map-image {
        width: 100% !important;
        max-width: none !important;
    }
}

.section-divider {
    width: 100%;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 20;
    background: transparent;
}

.section-divider::before {
    content: "";
    display: block;
    width: 90px;
    height: 32px;
    background-image: url("../img/decor/divider.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

/* ---------------------------------------------------------
   АДАПТИВНОСТЬ / СОСТОЯНИЕ: (max-width: 700px)
   --------------------------------------------------------- */
@media (max-width: 700px) {
    .section-divider {
        height: 75px;
    }

    .section-divider::before {
        width: 78px;
        height: 28px;
    }
}

.section-divider {
    position: relative;
    z-index: 20;
    width: min(82%, 900px);
    height: 36px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    pointer-events: none;
}

.section-divider::before {
    content: "❦";
    position: absolute;
    left: 50%;
    top: 0;
    width: 100%;
    height: 36px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-top: 2px solid var(--wine);
    background: linear-gradient(
var(--paper),
var(--paper)
)
center / 58px 22px
no-repeat;
    color: var(--wine);
    font-family: Georgia, serif;
    font-size: 26px;
    line-height: 1;
    opacity: 1;
}

/* ---------------------------------------------------------
   АДАПТИВНОСТЬ / СОСТОЯНИЕ: (max-width: 430px)
   --------------------------------------------------------- */
@media (max-width: 430px) {
    .section-divider {
        width: 86%;
    }

    .section-divider::before {
        width: 100%;
        height: 30px;
        background-size: 48px 19px;
        font-size: 21px;
    }
}

.map-wrapper {
    position: relative;
    width: min(900px, 100%);
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid rgba(110, 38, 56, 0.42);
    background: var(--paper);
    box-shadow: 0 20px 45px rgba(40, 25, 20, 0.14),
0 0 0 8px rgba(238, 228, 211, 0.55),
0 0 0 9px rgba(110, 38, 56, 0.10);
}

.map-wrapper::before {
    content: "";
    position: absolute;
    inset: 12px;
    z-index: 2;
    border: 1px solid rgba(110, 38, 56, 0.24);
    pointer-events: none;
}

.map-wrapper::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
180deg,
rgba(110, 38, 56, 0.025),
transparent 25%,
transparent 75%,
rgba(110, 38, 56, 0.055)
);
    pointer-events: none;
}

.map-image {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
    object-fit: contain;
    filter: saturate(0.82)
sepia(0.06)
contrast(0.97);
    transition: transform 0.4s ease,
filter 0.4s ease;
}

.map-wrapper:hover .map-image {
    transform: scale(1.02);
    filter: saturate(0.88)
sepia(0.04)
contrast(0.98);
}

.photo-side {
    position: relative;
    width: min(760px, 82%);
    height: 620px;
    margin: 0 auto;
    overflow: hidden;
    background: var(--paper-dark);
    border: 1px solid rgba(110, 38, 56, 0.35);
    box-shadow: 0 20px 45px rgba(40, 25, 20, 0.14),
0 0 0 8px rgba(238, 228, 211, 0.55),
0 0 0 9px rgba(110, 38, 56, 0.10);
}

.photo-side::before {
    content: "";
    position: absolute;
    inset: 12px;
    z-index: 2;
    border: 1px solid rgba(110, 38, 56, 0.24);
    pointer-events: none;
}

.photo-side::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
180deg,
rgba(110, 38, 56, 0.025),
transparent 25%,
transparent 75%,
rgba(110, 38, 56, 0.055)
);
    pointer-events: none;
}

.photo-side img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: saturate(0.86)
sepia(0.04)
contrast(0.97);
    transform: scale(1.005);
    transition: transform 0.4s ease,
filter 0.4s ease;
}

.photo-side:hover img {
    transform: scale(1.025);
    filter: saturate(0.92)
sepia(0.03)
contrast(0.99);
}

/* ---------------------------------------------------------
   АДАПТИВНОСТЬ / СОСТОЯНИЕ: (max-width: 900px)
   --------------------------------------------------------- */
@media (max-width: 900px) {
    .photo-side {
        width: 88%;
        height: 560px;
    }
}

.final-photos {
    position: relative;
    width: 100%;
    padding: 90px 0 120px;
    overflow: visible;
    background: transparent;
}

.final-photos-inner {
    position: relative;
    width: min(820px, 88%);
    height: 700px;
    margin: 0 auto;
}

.final-photo {
    position: absolute;
    width: 300px;
    aspect-ratio: 2 / 3;
    padding: 10px;
    background: var(--paper);
    border: 1px solid rgba(110, 38, 56, 0.30);
    box-shadow: 0 20px 40px rgba(40, 25, 20, 0.16),
0 0 0 6px rgba(238, 228, 211, 0.55);
    overflow: hidden;
}

.final-photo::before {
    content: "";
    position: absolute;
    inset: 10px;
    border: 1px solid rgba(110, 38, 56, 0.16);
    z-index: 2;
    pointer-events: none;
}

.final-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.88)
sepia(0.04)
contrast(0.97);
    transition: transform 0.35s ease;
}

.final-photo-left {
    left: 10%;
    top: 25px;
    transform: rotate(-3deg);
    z-index: 2;
}

.final-photo-right {
    right: 10%;
    top: 190px;
    transform: rotate(3deg);
    z-index: 3;
}

/* ---------------------------------------------------------
   АДАПТИВНОСТЬ / СОСТОЯНИЕ: (min-width: 701px)
   --------------------------------------------------------- */
@media (min-width: 701px) {
    .final-photo-left:hover img {
        transform: scale(1.025);
    }

    .final-photo-right:hover img {
        transform: scale(1.025);
    }
}

/* ---------------------------------------------------------
   АДАПТИВНОСТЬ / СОСТОЯНИЕ: (max-width: 700px)
   --------------------------------------------------------- */
@media (max-width: 700px) {
    .final-photos {
        padding: 60px 0 90px;
    }

    .final-photos-inner {
        width: 90%;
        height: 650px;
    }

    .final-photo {
        width: 58%;
        max-width: 240px;
        padding: 8px;
        box-shadow: 0 15px 30px rgba(40, 25, 20, 0.13),
0 0 0 5px rgba(238, 228, 211, 0.55);
    }

    .final-photo::before {
        inset: 8px;
    }

    .final-photo-left {
        left: 2%;
    }

    .final-photo-right {
        right: 2%;
        top: 275px;
        transform: rotate(2.5deg);
    }

    .final-photo img {
        transform: none;
    }
}

html.js .site > section, html.js .photo-side, html.js .map-wrapper, html.js .final-photo, html.js .color-card {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.45s ease,
transform 0.45s cubic-bezier(.22, .61, .36, 1);
}

html.js .photo-side {
    transform: translateY(45px) scale(0.985);
}

html.js .map-wrapper {
    transform: translateY(40px);
}

html.js .final-photo {
    transform: translateY(45px) rotate(0deg);
}

html.js .color-card {
    transform: translateY(30px);
}

html.js .site > section.is-visible, html.js .photo-side.is-visible, html.js .map-wrapper.is-visible, html.js .final-photo.is-visible, html.js .color-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

html.js .final-photo-left.is-visible {
    transform: translateY(0) rotate(-3deg);
}

html.js .final-photo-right.is-visible {
    transform: translateY(0) rotate(3deg);
}

html.js .color-card:nth-child(2) {
    transition-delay: 0.08s;
}

html.js .color-card:nth-child(3) {
    transition-delay: 0.16s;
}

html.js .color-card:nth-child(4) {
    transition-delay: 0.24s;
}

html.js .color-card:nth-child(5) {
    transition-delay: 0.32s;
}

/* ---------------------------------------------------------
   АДАПТИВНОСТЬ / СОСТОЯНИЕ: (prefers-reduced-motion: reduce)
   --------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    html.js .site > section, html.js .photo-side, html.js .map-wrapper, html.js .final-photo, html.js .color-card {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ---------------------------------------------------------
   АДАПТИВНОСТЬ / СОСТОЯНИЕ: (max-width: 700px)
   --------------------------------------------------------- */
@media (max-width: 700px) {
    .story-timing .timing-side {
        padding-top: 300px;
    }
}

/* ---------------------------------------------------------
   АДАПТИВНОСТЬ / СОСТОЯНИЕ: (max-width: 700px)
   --------------------------------------------------------- */
@media (max-width: 700px) {
    .location-inner {
        width: 100%;
        padding-left: 0;
        padding-right: 0;
    }

    .map-wrapper {
        width: 94% !important;
        max-width: 94% !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .map-image {
        width: 100% !important;
        height: auto !important;
        object-fit: contain !important;
    }
}

.timeline-secret {
    margin-top: 38px;
    padding-top: 0;
    text-align: center;
    position: relative;
}

.timeline-secret::before {
    display: none;
}

.timeline-secret__ornament {
    display: block;
    margin-bottom: 10px;
    font-size: 13px;
    opacity: 0.65;
}

.timeline-secret__question {
    margin: 0;
    font-family: "Cormorant Garamond", serif;
    font-size: 50px;
    line-height: 1.2;
    font-style: italic;
}

.timeline-secret__answer {
    margin: 7px 0 0;
    font-family: "Manrope", sans-serif;
    font-size: 30px;
    line-height: 1.5;
    letter-spacing: 0.08em;
    opacity: 0.6;
}

/* ---------------------------------------------------------
   АНИМАЦИЯ: introPhotoMove
   --------------------------------------------------------- */
@keyframes introPhotoMove {
    0% {
        transform: scale(1.03);
    }

    100% {
        transform: scale(1.085);
    }
}

/* ---------------------------------------------------------
   АНИМАЦИЯ: candleGlow
   --------------------------------------------------------- */
@keyframes candleGlow {
    0% {
        opacity: 0.35;
        transform: scale(1);
    }

    25% {
        opacity: 0.55;
        transform: scale(1.025);
    }

    50% {
        opacity: 0.40;
        transform: scale(0.99);
    }

    75% {
        opacity: 0.58;
        transform: scale(1.015);
    }

    100% {
        opacity: 0.38;
        transform: scale(1);
    }
}

/* ---------------------------------------------------------
   АНИМАЦИЯ: candleFlame
   --------------------------------------------------------- */
@keyframes candleFlame {
    0% {
        opacity: 0.48;
        transform: translate3d(0, 0, 0)
scale(0.96);
    }

    12% {
        opacity: 0.72;
        transform: translate3d(-0.7%, -0.5%, 0)
scale(1.015);
    }

    24% {
        opacity: 0.57;
        transform: translate3d(0.5%, 0.4%, 0)
scale(0.985);
    }

    39% {
        opacity: 0.82;
        transform: translate3d(-0.4%, 0.2%, 0)
scale(1.035);
    }

    53% {
        opacity: 0.60;
        transform: translate3d(0.8%, -0.3%, 0)
scale(0.98);
    }

    68% {
        opacity: 0.76;
        transform: translate3d(-0.5%, 0.5%, 0)
scale(1.02);
    }

    82% {
        opacity: 0.52;
        transform: translate3d(0.4%, -0.2%, 0)
scale(0.97);
    }

    100% {
        opacity: 0.64;
        transform: translate3d(0, 0, 0)
scale(1);
    }
}

/* ---------------------------------------------------------
   АНИМАЦИЯ: candleAmbient
   --------------------------------------------------------- */
@keyframes candleAmbient {
    0% {
        opacity: 0.42;
        transform: scale(0.96);
    }

    20% {
        opacity: 0.68;
        transform: scale(1.025);
    }

    42% {
        opacity: 0.50;
        transform: scale(0.985);
    }

    63% {
        opacity: 0.76;
        transform: scale(1.035);
    }

    82% {
        opacity: 0.46;
        transform: scale(0.975);
    }

    100% {
        opacity: 0.58;
        transform: scale(1);
    }
}

/* ---------------------------------------------------------
   АНИМАЦИЯ: cinematicSweep
   --------------------------------------------------------- */
@keyframes cinematicSweep {
    0% {
        left: -80%;
        opacity: 0;
    }

    12% {
        opacity: 0.45;
    }

    42% {
        left: 125%;
        opacity: 0.25;
    }

    48% {
        left: 125%;
        opacity: 0;
    }

    100% {
        left: 125%;
        opacity: 0;
    }
}

/* ---------------------------------------------------------
   АНИМАЦИЯ: vinylRotate
   --------------------------------------------------------- */
@keyframes vinylRotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* ---------------------------------------------------------
   АДАПТИВНОСТЬ / СОСТОЯНИЕ: (max-width: 900px)
   --------------------------------------------------------- */
@media (max-width: 900px) {
    .guest-selection {
        width: 92%;
    }

    .guest-side-buttons {
        gap: 15px;
    }

    .guest-side-option span {
        font-size: 17px;
    }

    .guest-name {
        font-size: 21px;
    }

    .story-timing {
        padding: 90px 0 110px;
    }

    .photo-side {
        width: min(760px, 88%);
    }

    .timing-side {
        width: min(760px, 88%);
    }

    .timing-inner {
        max-width: 620px;
    }

    .site {
        background-attachment: scroll;
    }

    .photo-side {
        min-height: 65vh;
    }

    .timing-side {
        min-height: auto;
        padding: 90px 12%;
    }

    .map-image {
        height: 350px;
    }

    .colors {
        gap: 12px;
    }

    .color {
        width: 85px;
    }

    .dresscode-inner {
        padding: 60px 40px;
    }

    .colors {
        grid-template-columns: repeat(3, 1fr);
        gap: 22px 18px;
    }

    .color-card .color {
        height: 140px;
    }

    .site > section:not(.final)::after {
        bottom: -17px;
        width: 78%;
        height: 34px;
        background-size: 82px auto;
    }
}

/* ---------------------------------------------------------
   АДАПТИВНОСТЬ / СОСТОЯНИЕ: (max-width: 380px)
   --------------------------------------------------------- */
@media (max-width: 380px) {
    .guest-text {
        font-size: 23px;
    }

    .guest-selection-title {
        font-size: 22px;
    }

    .guest-group .guest-selection-title {
        font-size: 19px;
    }

    .guest-name {
        font-size: 17px;
    }

    .guest-option {
        padding: 11px 12px;
    }

    .timer {
        gap: 8px;
    }

    .timer-item span {
        font-size: 34px;
    }

    .story-timing {
        padding: 60px 0
80px;
    }

    .photo-side {
        width: 90%;
        height: 360px;
    }

    .timing-side {
        width: 90%;
        padding: 55px 20px
10px;
    }

    .timing-side h2 {
        margin-bottom: 38px;
    }

    .timeline {
        padding-left: 25px;
    }

    .timeline-item {
        grid-template-columns: 47px minmax(0, 1fr);
        gap: 10px;
        margin-bottom: 28px;
    }

    .timeline-item::before {
        left: -25px;
    }

    .timeline-item time {
        font-size: 14px;
    }

    .timeline-item p {
        font-size: 17px;
    }

    .invitation-paper {
        min-height: 550px;
        padding: 45px 22px;
    }

    .invitation-content h1 {
        font-size: 34px;
    }

    .welcome-names {
        font-size: 62px;
    }

    .timer {
        gap: 8px;
    }

    .timer-item span {
        font-size: 34px;
    }

    .color {
        width: 52px;
        height: 80px;
    }

    .dresscode-inner {
        padding: 45px 12px;
    }

    .colors {
        gap: 20px 8px;
    }

    .color-card .color {
        height: 105px;
    }
}

/* =========================================================
   17. АНИМАЦИЯ ПОЯВЛЕНИЯ ПРИ ПРОКРУТКЕ
   ========================================================= */

/* ---------------------------------------------------------
   АДАПТИВНОСТЬ / СОСТОЯНИЕ: (max-width: 700px)
   --------------------------------------------------------- */
@media (max-width: 700px) {
    .colors {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px 16px;
    }

    .color-name {
        margin-top: 11px;
        font-size: 17px;
    }

    .color-hint {
        margin-top: 6px;
        font-size: 11px;
    }

    .dresscode-modal {
        padding: 15px;
    }

    .dresscode-modal-content {
        width: 100%;
        max-width: 100%;
        max-height: 90vh;
        padding: 14px;
    }

    .dresscode-modal-content h3 {
        margin-top: 5px;
        margin-bottom: 14px;
        font-size: 21px;
    }

    .dresscode-modal-content img {
        max-width: 100%;
        max-height: 78vh;
        border-radius: 6px;
    }

    .dresscode-modal-close {
        top: 8px;
        right: 10px;
        width: 38px;
        height: 38px;
        font-size: 30px;
    }

    .guests .section-inner::after {
        width: 85px;
        height: 130px;
        right: -5px;
        bottom: -30px;
        opacity: 0.16;
    }

    .story-timing::before, .story-timing::after {
        width: 75px;
        height: 125px;
        top: 50%;
        opacity: 0.15;
    }

    .story-timing::before {
        left: 4px;
    }

    .story-timing::after {
        right: 4px;
    }

    .dresscode .section-inner::before, .dresscode .section-inner::after {
        width: 70px;
        height: 70px;
        opacity: 0.15;
    }

    .dresscode .section-inner::before {
        left: 0;
        top: -10px;
    }

    .dresscode .section-inner::after {
        right: 0;
        bottom: -10px;
    }

    .rsvp .section-inner::before {
        width: 75px;
        height: 120px;
        left: -5px;
        opacity: 0.13;
    }

    .final::before, .final::after {
        width: 80px;
        height: 125px;
        bottom: 10px;
        opacity: 0.20;
    }

    .final::before {
        left: 0;
    }

    .final::after {
        right: 0;
    }

    .welcome-line {
        width: 82px;
        height: 27px;
    }

    .guests h2::after, .story-timing h2::after, .dresscode h2::after, .location h2::after, .rsvp h2::after, .final h2::after {
        width: 62px;
        height: 21px;
        margin-top: 10px;
    }

    .site > section:not(.final)::after {
        width: 78%;
        height: 24px;
        background-image: linear-gradient(
to right,
transparent 0%,
rgba(91, 42, 42, 0.17) 8%,
rgba(91, 42, 42, 0.17) 39%,
transparent 39%,
transparent 61%,
rgba(91, 42, 42, 0.17) 61%,
rgba(91, 42, 42, 0.17) 92%,
transparent 100%
);
    }

    .site > section:not(.final)::before {
        bottom: -7px;
        width: 38px;
        height: 20px;
        font-size: 15px;
    }

    .welcome {
        padding-bottom: 65px;
    }

    .guests {
        padding-bottom: 70px;
    }

    .story-timing {
        padding-bottom: 75px;
    }

    .dresscode {
        padding-bottom: 70px;
    }

    .location {
        padding-bottom: 70px;
    }

    .rsvp {
        padding-bottom: 75px;
    }

    .final {
        padding-bottom: 70px;
    }

    .welcome::before, .welcome::after {
        width: 90px;
        height: 90px;
        opacity: 0.13;
    }

    .guests .section-inner::before, .guests .section-inner::after {
        width: 75px;
        height: 115px;
        opacity: 0.13;
    }

    .story-timing::before, .story-timing::after {
        width: 75px;
        height: 125px;
        opacity: 0.13;
    }

    .story-timing::before {
        left: -2px;
    }

    .story-timing::after {
        right: -2px;
    }

    .dresscode .section-inner::before, .dresscode .section-inner::after {
        width: 75px;
        height: 75px;
        opacity: 0.13;
    }

    .location::before {
        width: 75px;
        height: 75px;
        opacity: 0.12;
    }

    .location::after {
        width: 80px;
        height: 120px;
        opacity: 0.13;
    }

    .rsvp .section-inner::before {
        width: 75px;
        height: 115px;
        opacity: 0.12;
        left: -5px;
    }

    .rsvp .section-inner::after {
        width: 70px;
        height: 70px;
        opacity: 0.12;
    }

    .final::before, .final::after {
        width: 85px;
        height: 130px;
        opacity: 0.17;
    }

    .final::before {
        left: -2px;
    }

    .final::after {
        right: -2px;
    }

    .guests h2::after, .story-timing h2::after, .dresscode h2::after, .location h2::after, .rsvp h2::after, .final h2::after {
        width: 62px;
        height: 21px;
        margin-top: 10px;
    }

    .site > section:not(.final)::after {
        width: 82%;
        height: 24px;
        background-size: 58px auto,
100% 1px;
    }

    .site > section:not(.final)::after {
        bottom: -16px !important;
        width: 82% !important;
        height: 32px !important;
        border-top-width: 2px !important;
        background-size: 50px 20px !important;
        font-size: 22px !important;
    }

    .story-timing {
        padding-bottom: 120px;
    }

    .story-timing .story-timing-inner::after {
        bottom: -70px;
        width: 82%;
        height: 24px;
        background-size: 58px auto,
100% 1px;
        opacity: 0.72;
    }
}

/* ---------------------------------------------------------
   АДАПТИВНОСТЬ / СОСТОЯНИЕ: (max-width: 430px)
   --------------------------------------------------------- */
@media (max-width: 430px) {
    .story-timing::before, .story-timing::after {
        width: 55px;
        height: 95px;
        opacity: 0.12;
    }

    .guests .section-inner::after {
        width: 65px;
        height: 100px;
        opacity: 0.13;
    }

    .dresscode .section-inner::before, .dresscode .section-inner::after {
        width: 55px;
        height: 55px;
        opacity: 0.12;
    }

    .rsvp .section-inner::before {
        width: 60px;
        height: 95px;
        opacity: 0.10;
    }

    .final::before, .final::after {
        width: 60px;
        height: 95px;
        opacity: 0.16;
    }

    .site > section:not(.final)::after {
        width: 82%;
    }

    .site > section:not(.final)::before {
        font-size: 14px;
    }

    .welcome::before, .welcome::after {
        width: 65px;
        height: 65px;
    }

    .guests .section-inner::before, .guests .section-inner::after {
        width: 60px;
        height: 90px;
    }

    .story-timing::before, .story-timing::after {
        width: 55px;
        height: 95px;
        opacity: 0.11;
    }

    .dresscode .section-inner::before, .dresscode .section-inner::after {
        width: 55px;
        height: 55px;
    }

    .location::before {
        width: 55px;
        height: 55px;
    }

    .location::after {
        width: 60px;
        height: 90px;
    }

    .rsvp .section-inner::before {
        width: 58px;
        height: 88px;
    }

    .rsvp .section-inner::after {
        width: 52px;
        height: 52px;
    }

    .final::before, .final::after {
        width: 62px;
        height: 95px;
    }

    .site > section:not(.final)::after {
        width: 86% !important;
    }

    .story-timing {
        padding-top: 90px;
    }

    .site > section:not(.final)::after {
        width: 80%;
        height: 26px;
        background-size: 66px auto;
    }

    .site > section:not(.final)::after {
        bottom: -15px;
        width: 84%;
        height: 30px;
        background-size: 68px auto;
    }

    .story-timing {
        padding-bottom: 165px !important;
    }

    .story-timing::after {
        bottom: -15px !important;
        width: 84% !important;
        height: 30px !important;
        background-size: 68px auto !important;
    }

    .story-timing {
        padding-bottom: 115px;
    }

    .story-timing .story-timing-inner::after {
        bottom: -65px;
        width: 84%;
        background-size: 54px auto,
100% 1px;
    }
}

/* ---------------------------------------------------------
   АДАПТИВНОСТЬ / СОСТОЯНИЕ: (max-width: 430px)
   --------------------------------------------------------- */
@media (max-width: 430px) {
    .section-divider {
        height: 70px;
    }

    .section-divider::before {
        width: 72px;
        height: 26px;
    }
}

/* ---------------------------------------------------------
   АДАПТИВНОСТЬ / СОСТОЯНИЕ: (max-width: 700px)
   --------------------------------------------------------- */
@media (max-width: 700px) {
    .section-divider {
        width: 82%;
        height: 32px;
    }

    .section-divider::before {
        width: 100%;
        height: 32px;
        border-top-width: 2px;
        background-size: 50px 20px;
        font-size: 22px;
    }
}

/* ---------------------------------------------------------
   АДАПТИВНОСТЬ / СОСТОЯНИЕ: (max-width: 700px)
   --------------------------------------------------------- */
@media (max-width: 700px) {
    .map-wrapper {
        width: 100%;
        box-shadow: 0 14px 30px rgba(40, 25, 20, 0.12),
0 0 0 5px rgba(238, 228, 211, 0.55),
0 0 0 6px rgba(110, 38, 56, 0.10);
    }

    .map-wrapper::before {
        inset: 8px;
    }

    .map-image {
        width: 100%;
        height: auto;
        transform: none;
    }

    .map-wrapper:hover .map-image {
        transform: none;
    }
}

/* ---------------------------------------------------------
   АДАПТИВНОСТЬ / СОСТОЯНИЕ: (max-width: 430px)
   --------------------------------------------------------- */
@media (max-width: 430px) {
    .map-wrapper::before {
        inset: 7px;
    }
}

/* ---------------------------------------------------------
   АДАПТИВНОСТЬ / СОСТОЯНИЕ: (max-width: 700px)
   --------------------------------------------------------- */
@media (max-width: 700px) {
    .photo-side {
        width: 88%;
        height: 420px;
        border-width: 1px;
        box-shadow: 0 14px 30px rgba(40, 25, 20, 0.12),
0 0 0 5px rgba(238, 228, 211, 0.55),
0 0 0 6px rgba(110, 38, 56, 0.10);
    }

    .photo-side::before {
        inset: 8px;
    }

    .photo-side img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transform: none;
    }

    .photo-side:hover img {
        transform: none;
    }
}

/* ---------------------------------------------------------
   АДАПТИВНОСТЬ / СОСТОЯНИЕ: (max-width: 430px)
   --------------------------------------------------------- */
@media (max-width: 430px) {
    .photo-side {
        width: 90%;
        height: 360px;
    }

    .photo-side::before {
        inset: 7px;
    }
}

/* ---------------------------------------------------------
   АДАПТИВНОСТЬ / СОСТОЯНИЕ: (max-width: 430px)
   --------------------------------------------------------- */
@media (max-width: 430px) {
    .final-photos-inner {
        width: 92%;
        height: 575px;
    }

    .final-photo {
        width: 61%;
        max-width: 220px;
    }

    .final-photo-left {
        left: 0;
        top: 10px;
    }

    .final-photo-right {
        right: 0;
        top: 245px;
    }
}

/* ---------------------------------------------------------
   АДАПТИВНОСТЬ / СОСТОЯНИЕ: (max-width: 430px)
   --------------------------------------------------------- */
@media (max-width: 430px) {
    .story-timing .timing-side {
        padding-top: 300px;
        margin-bottom: -50px;
    }
}

/* ---------------------------------------------------------
   АДАПТИВНОСТЬ / СОСТОЯНИЕ: (max-width: 430px)
   --------------------------------------------------------- */
@media (max-width: 430px) {
    .map-wrapper {
        width: 92% !important;
        max-width: 92% !important;
    }
}

/* ---------------------------------------------------------
   АДАПТИВНОСТЬ / СОСТОЯНИЕ: (max-width: 600px)
   --------------------------------------------------------- */
@media (max-width: 600px) {
    .timeline-secret {
        margin-top: 32px;
    }

    .timeline-secret__question {
        font-size: 30px;
    }

    .timeline-secret__answer {
        font-size: 20px;
    }
}

/* ---------------------------------------------------------
   АДАПТИВНОСТЬ / СОСТОЯНИЕ: (min-width: 701px)
   --------------------------------------------------------- */
@media (min-width: 701px) {
    .story-timing .photo-side {
        margin-bottom: 250px;
    }

    .story-timing .timing-side::before {
        content: "";
        display: block;
        width: 92px;
        height: 32px;
        margin: 0 auto 65px;
        background-image: url("../img/decor/divider.svg");
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
        opacity: 0.78;
        pointer-events: none;
    }
}

.invitation-paper::before {
    display: none;
}

.invitation-paper, .invitation-paper::before {
    clip-path: none;
}

.site::before {
    clip-path: none !important;
}

.site > section {
    position: relative;
    overflow: visible;
}

.site > section::before, .site > section::after {
    pointer-events: none;
}

.welcome::before, .welcome::after, .guests .section-inner::before, .guests .section-inner::after, .story-timing::before, .story-timing::after, .dresscode .section-inner::before, .dresscode .section-inner::after, .location .section-inner::before, .location .section-inner::after, .rsvp .section-inner::before, .rsvp .section-inner::after, .final::before, .final::after {
    content: "";
    position: absolute;
    width: 92px;
    height: 145px;

    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.28;
    pointer-events: none;
    z-index: 1;
}

.welcome::before, .guests .section-inner::before, .story-timing::before, .dresscode .section-inner::before, .location .section-inner::before, .rsvp .section-inner::before, .final::before {
    left: -18px;
    top: 18%;
    transform: scaleX(-1) rotate(-5deg);
}

.welcome::after, .guests .section-inner::after, .story-timing::after, .dresscode .section-inner::after, .location .section-inner::after, .rsvp .section-inner::after, .final::after {
    right: -18px;
    bottom: 14%;
    transform: rotate(5deg);
}

.guests .section-inner, .story-timing .story-timing-inner, .dresscode .section-inner, .location .section-inner, .rsvp .section-inner, .final {
    position: relative;
}

.guests .section-inner::marker {
    display: none;
}

.guests .section-inner::after, .dresscode .section-inner::after, .location .section-inner::after, .rsvp .section-inner::after {
    box-shadow: 0 0 0 transparent;
}

.story-timing::before {
    top: 12%;
}

.story-timing::after {
    bottom: 12%;
}

/* =========================================================
   18. СКРЫТАЯ ЧАСТЬ ТАЙМЛАЙНА
   ========================================================= */

.rsvp .section-inner::before {
    top: 10%;
}

.rsvp .section-inner::after {
    bottom: 10%;
}

.final::before {
    top: 15%;
}

.final::after {
    bottom: 15%;
}

/* ---------------------------------------------------------
   АНИМАЦИЯ: paperDecorFloatLeft
   --------------------------------------------------------- */
@keyframes paperDecorFloatLeft {
    0%, 100% {
        transform: scaleX(-1) rotate(-5deg) translateY(0);
    }

    50% {
        transform: scaleX(-1) rotate(-3deg) translateY(-4px);
    }
}

/* ---------------------------------------------------------
   АНИМАЦИЯ: paperDecorFloatRight
   --------------------------------------------------------- */
@keyframes paperDecorFloatRight {
    0%, 100% {
        transform: rotate(5deg) translateY(0);
    }

    50% {
        transform: rotate(3deg) translateY(4px);
    }
}

.welcome::before, .guests .section-inner::before, .story-timing::before, .dresscode .section-inner::before, .location .section-inner::before, .rsvp .section-inner::before, .final::before {
    animation: paperDecorFloatLeft 7s ease-in-out infinite;
}

.welcome::after, .guests .section-inner::after, .story-timing::after, .dresscode .section-inner::after, .location .section-inner::after, .rsvp .section-inner::after, .final::after {
    animation: paperDecorFloatRight 8s ease-in-out infinite;
}

/* ---------------------------------------------------------
   АДАПТИВНОСТЬ / СОСТОЯНИЕ: (max-width: 700px)
   --------------------------------------------------------- */
@media (max-width: 700px) {
    .welcome::before, .welcome::after, .guests .section-inner::before, .guests .section-inner::after, .story-timing::before, .story-timing::after, .dresscode .section-inner::before, .dresscode .section-inner::after, .location .section-inner::before, .location .section-inner::after, .rsvp .section-inner::before, .rsvp .section-inner::after, .final::before, .final::after {
        width: 64px;
        height: 105px;
        opacity: 0.24;
    }

    .welcome::before, .guests .section-inner::before, .story-timing::before, .dresscode .section-inner::before, .location .section-inner::before, .rsvp .section-inner::before, .final::before {
        left: -8px;
    }

    .welcome::after, .guests .section-inner::after, .story-timing::after, .dresscode .section-inner::after, .location .section-inner::after, .rsvp .section-inner::after, .final::after {
        right: -8px;
    }
}

/* ---------------------------------------------------------
   АДАПТИВНОСТЬ / СОСТОЯНИЕ: (max-width: 430px)
   --------------------------------------------------------- */
@media (max-width: 430px) {
    .welcome::before, .welcome::after, .guests .section-inner::before, .guests .section-inner::after, .story-timing::before, .story-timing::after, .dresscode .section-inner::before, .dresscode .section-inner::after, .location .section-inner::before, .location .section-inner::after, .rsvp .section-inner::before, .rsvp .section-inner::after, .final::before, .final::after {
        width: 52px;
        height: 88px;
        opacity: 0.22;
    }

    .welcome::before, .guests .section-inner::before, .story-timing::before, .dresscode .section-inner::before, .location .section-inner::before, .rsvp .section-inner::before, .final::before {
        left: -4px;
    }

    .welcome::after, .guests .section-inner::after, .story-timing::after, .dresscode .section-inner::after, .location .section-inner::after, .rsvp .section-inner::after, .final::after {
        right: -4px;
    }
}

/* ---------------------------------------------------------
   АДАПТИВНОСТЬ / СОСТОЯНИЕ: (prefers-reduced-motion: reduce)
   --------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    .welcome::before, .welcome::after, .guests .section-inner::before, .guests .section-inner::after, .story-timing::before, .story-timing::after, .dresscode .section-inner::before, .dresscode .section-inner::after, .location .section-inner::before, .location .section-inner::after, .rsvp .section-inner::before, .rsvp .section-inner::after, .final::before, .final::after {
        animation: none;
    }
}

.welcome, .guests, .story-timing, .dresscode, .location, .rsvp, .final {
    position: relative;
}

.welcome > *, .guests > *, .story-timing > *, .dresscode > *, .location > *, .rsvp > *, .final > * {
    position: relative;
    z-index: 3;
}

.welcome {
    overflow: hidden;
}

.welcome::before, .welcome::after {
    content: "";
    position: absolute;
    width: 165px;
    height: 165px;

    background-repeat: no-repeat;
    background-size: contain;
    pointer-events: none;
    z-index: 1;
}

.welcome::before {
    left: -8px;
    top: 20px;
    background-position: left top;
    opacity: 0.30;
}

.welcome::after {
    right: -8px;
    bottom: 35px;
    background-position: right bottom;
    transform: rotate(180deg);
    opacity: 0.30;
}

.welcome .welcome-inner::before {
    content: "";
    position: absolute;
    width: 150px;
    height: 240px;
    left: -105px;
    top: 50%;
    transform: translateY(-50%)
        rotate(-8deg);

    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    opacity: 0.34;
    pointer-events: none;
    z-index: 1;
}

.guests {
    overflow: hidden;
}

.guests .section-inner {
    position: relative;
}

.guests .section-inner::before {
    content: "";
    position: absolute;
    width: 145px;
    height: 220px;
    left: -30px;
    top: 5%;

    background-repeat: no-repeat;
    background-size: contain;
    background-position: left center;
    opacity: 0.30;
    pointer-events: none;
    z-index: 1;
}

.guests .section-inner::after {
    content: "";
    position: absolute;
    width: 150px;
    height: 230px;
    right: -30px;
    bottom: 5%;

    background-repeat: no-repeat;
    background-size: contain;
    background-position: right center;
    opacity: 0.30;
    pointer-events: none;
    z-index: 1;
}

.story-timing {
    overflow: visible;
}

.story-timing-inner {
    position: relative;
}

.story-timing-inner::before {
    content: "";
    position: absolute;
    width: 165px;
    height: 270px;
    left: max(-35px, calc(50% - 610px));
    top: 34%;

    background-repeat: no-repeat;
    background-size: contain;
    background-position: left center;
    opacity: 0.34;
    pointer-events: none;
    z-index: 1;
}

.story-timing-inner::after {
    content: "";
    position: absolute;
    width: 165px;
    height: 270px;
    right: max(-35px, calc(50% - 610px));
    top: 58%;

    background-repeat: no-repeat;
    background-size: contain;
    background-position: right center;
    opacity: 0.34;
    pointer-events: none;
    z-index: 1;
}

.dresscode {
    overflow: hidden;
}

.dresscode .section-inner {
    position: relative;
}

.dresscode .section-inner::before {
    content: "";
    position: absolute;
    width: 155px;
    height: 155px;
    left: -15px;
    top: -25px;

    background-repeat: no-repeat;
    background-size: contain;
    background-position: left top;
    opacity: 0.30;
    pointer-events: none;
    z-index: 1;
}
.dresscode .section-inner::after {
    content: "";
    position: absolute;
    width: 155px;
    height: 155px;
    right: -15px;
    bottom: -30px;

    background-repeat: no-repeat;
    background-size: contain;
    background-position: right bottom;
    transform: rotate(180deg);
    opacity: 0.30;
    pointer-events: none;
    z-index: 1;
}

/* =========================================================
   19. ДОПОЛНИТЕЛЬНЫЕ ТЕКСТУРЫ И ВИЗУАЛЬНЫЕ НАСТРОЙКИ
   ========================================================= */

.location {
    overflow: hidden;
}

.location::before, .location::after {
    content: "";
    position: absolute;
    background-repeat: no-repeat;
    background-size: contain;
    pointer-events: none;
    z-index: 1;
}

.location::before {
    width: 155px;
    height: 155px;
    right: -5px;
    top: 25px;

    background-position: right top;
    opacity: 0.28;
}

.location::after {
    width: 155px;
    height: 245px;
    left: -40px;
    bottom: -35px;

    background-position: left bottom;
    opacity: 0.32;
    transform: rotate(-8deg);
}

.rsvp {
    overflow: hidden;
}

.rsvp .section-inner {
    position: relative;
}

.rsvp .section-inner::before {
    content: "";
    position: absolute;
    width: 145px;
    height: 230px;
    left: -35px;
    top: 20%;

    background-repeat: no-repeat;
    background-size: contain;
    background-position: left center;
    opacity: 0.28;
    pointer-events: none;
    z-index: 1;
}

.rsvp .section-inner::after {
    content: "";
    position: absolute;
    width: 140px;
    height: 140px;
    right: -10px;
    bottom: -20px;

    background-repeat: no-repeat;
    background-size: contain;
    background-position: right bottom;
    transform: rotate(180deg);
    opacity: 0.27;
    pointer-events: none;
    z-index: 1;
}

.final {
    overflow: hidden;
}

.final::before {
    content: "";
    position: absolute;
    width: 180px;
    height: 280px;
    left: max(-30px, calc(50% - 610px));
    bottom: 15px;

    background-repeat: no-repeat;
    background-size: contain;
    background-position: left bottom;
    opacity: 0.36;
    pointer-events: none;
    z-index: 1;
}

.final::after {
    content: "";
    position: absolute;
    width: 180px;
    height: 280px;
    right: max(-30px, calc(50% - 610px));
    bottom: 15px;

    background-repeat: no-repeat;
    background-size: contain;
    background-position: right bottom;
    opacity: 0.36;
    pointer-events: none;
    z-index: 1;
}

/* ---------------------------------------------------------
   АДАПТИВНОСТЬ / СОСТОЯНИЕ: (max-width: 600px)
   --------------------------------------------------------- */
@media (max-width: 600px) {
    .welcome::before, .welcome::after {
        width: 105px;
        height: 105px;
    }

    .welcome::before {
        left: -12px;
        top: 15px;
    }

    .welcome::after {
        right: -12px;
        bottom: 25px;
    }

    .welcome .welcome-inner::before {
        width: 95px;
        height: 160px;
        left: -65px;
        top: 48%;
        opacity: 0.27;
    }

    .guests .section-inner::before {
        width: 90px;
        height: 145px;
        left: -25px;
        top: 4%;
        opacity: 0.25;
    }

    .guests .section-inner::after {
        width: 95px;
        height: 150px;
        right: -25px;
        bottom: 4%;
        opacity: 0.25;
    }

    .story-timing-inner::before {
        width: 95px;
        height: 160px;
        left: -25px;
        top: 22%;
        opacity: 0.27;
    }

    .story-timing-inner::after {
        width: 95px;
        height: 160px;
        right: -25px;
        top: 62%;
        opacity: 0.27;
    }

    .dresscode .section-inner::before, .dresscode .section-inner::after {
        width: 100px;
        height: 100px;
    }

    .dresscode .section-inner::before {
        left: -10px;
        top: -10px;
    }

    .dresscode .section-inner::after {
        right: -10px;
        bottom: -20px;
    }

    .location::before {
        width: 100px;
        height: 100px;
        right: -8px;
        top: 15px;
        opacity: 0.25;
    }

    .location::after {
        width: 100px;
        height: 165px;
        left: -28px;
        bottom: -25px;
        opacity: 0.27;
    }

    .rsvp .section-inner::before {
        width: 90px;
        height: 150px;
        left: -25px;
        top: 20%;
        opacity: 0.24;
    }

    .rsvp .section-inner::after {
        width: 95px;
        height: 95px;
        right: -8px;
        bottom: -10px;
        opacity: 0.24;
    }

    .final::before, .final::after {
        width: 105px;
        height: 170px;
        bottom: 5px;
        opacity: 0.30;
    }

    .final::before {
        left: -25px;
    }

    .final::after {
        right: -25px;
    }
}

/* ---------------------------------------------------------
   АДАПТИВНОСТЬ / СОСТОЯНИЕ: (max-width: 700px)
   --------------------------------------------------------- */
@media (max-width: 700px) {
    html, body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden !important;
    }

    .site {
        width: 100%;
        max-width: 100%;
        overflow-x: clip;
    }

    .site > section {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .site > section::before {
        left: 12px !important;
        right: 12px !important;
        top: 10px !important;
        bottom: 10px !important;
        border-left-width: 1px;
        border-right-width: 1px;
        background-size: 3px 48px, 3px 48px;
        background-position: -1px 20px, calc(100% + 1px) 35px;
    }
}




/* =========================================================
   ДОПОЛНИТЕЛЬНЫЙ ДЕКОР — РЕАЛЬНЫЕ ГРАФИЧЕСКИЕ ЭЛЕМЕНТЫ
   Версия 1: существующий дизайн и разделители не изменяются.
   ========================================================= */

.site-decor {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    right: auto;
    width: min(1180px, 100%);
    transform: translateX(-50%);
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

/* Декор всегда живёт внутри ширины бумажного листа.
   На десктопе лист имеет ту же максимальную ширину 1180px,
   что и .site::before/.site::after. Поэтому проценты left/right
   у отдельных элементов больше не считаются от ширины всего экрана. */
.site-decor .decor {
    position: absolute;
}

.site-decor .decor {
    position: absolute;
    display: block;
    width: auto;
    height: auto;
    max-width: none;
    object-fit: contain;
    pointer-events: none;
    user-select: none;
}

/* Сбрасываем только старые пустые псевдо-декорации.
   Разделители и h2::after НЕ затрагиваются. */
.welcome::before,
.welcome::after,
.welcome .welcome-inner::before,
.guests .section-inner::before,
.guests .section-inner::after,
.story-timing::before,
.story-timing::after,
.story-timing-inner::before,
.story-timing-inner::after,
.dresscode .section-inner::before,
.dresscode .section-inner::after,
.location::before,
.location::after,
.location .section-inner::before,
.location .section-inner::after,
.rsvp .section-inner::before,
.rsvp .section-inner::after,
.final::before,
.final::after {
    content: none !important;
    background-image: none !important;
}

/* ---------------------------------------------------------
   WELCOME
   Воздушные элементы по сторонам большого центрального имени.
   --------------------------------------------------------- */
.decor-welcome-flower {
    width: 118px !important;
    left: 6%;
    top: 16%;
    transform: rotate(-7deg);
    opacity: .90;
}

.decor-welcome-rose {
    width: 112px !important;
    right: 7%;
    top: 10%;
    transform: rotate(8deg);
    opacity: .88;
}

.decor-welcome-leaf {
    width: 82px !important;
    right: 12%;
    bottom: 13%;
    transform: rotate(-28deg);
    opacity: .76;
}

/* ---------------------------------------------------------
   GUESTS
   Декор у внешних полей, чтобы не вмешиваться в список гостей.
   --------------------------------------------------------- */
.decor-guests-tall {
    width: 96px !important;
    left: 3.5%;
    top: 18%;
    transform: rotate(-5deg);
    opacity: .82;
}

.decor-guests-grapes {
    width: 92px !important;
    right: 4.5%;
    top: 11%;
    transform: rotate(7deg);
    opacity: .92;
}

.decor-guests-curve {
    width: 145px !important;
    right: 2.5%;
    bottom: 9%;
    transform: rotate(-5deg);
    opacity: .82;
}

/* ---------------------------------------------------------
   STORY + TIMING
   Крупный виноград остаётся в свободном внешнем поле,
   а тонкий завиток уходит к нижней части секции.
   --------------------------------------------------------- */
.decor-story-grape {
    width: 150px !important;
    left: 0.5%;
    top: 8%;
    transform: rotate(-7deg);
    opacity: .86;
}

.decor-story-flourish {
    width: 120px !important;
    right: 2.5%;
    top: 64%;
    transform: rotate(8deg);
    opacity: .84;
}

.decor-story-leaf {
    width: 72px !important;
    left: 4%;
    bottom: 7%;
    transform: rotate(18deg);
    opacity: .72;
}

/* ---------------------------------------------------------
   DRESS CODE
   Здесь декор легче, чтобы палитра оставалась главным акцентом.
   --------------------------------------------------------- */
.decor-dress-flower {
    width: 105px !important;
    left: 3%;
    top: 9%;
    transform: rotate(-8deg);
    opacity: .86;
}

.decor-dress-curve {
    width: 135px !important;
    right: 2.5%;
    bottom: 15%;
    transform: rotate(6deg);
    opacity: .80;
}

.decor-dress-grapes {
    width: 78px !important;
    left: 6%;
    bottom: 8%;
    transform: rotate(-9deg);
    opacity: .82;
}

/* ---------------------------------------------------------
   LOCATION
   Важный момент: элементы находятся в верхнем/нижнем
   воздухе секции и не кладутся на карту.
   --------------------------------------------------------- */
.decor-location-grape {
    width: 150px !important;
    right: 1.5%;
    top: 18px;
    transform: rotate(7deg);
    opacity: .88;
}

.decor-location-flower {
    width: 112px !important;
    left: 3%;
    top: 24px;
    transform: rotate(-9deg);
    opacity: .82;
}

/* ---------------------------------------------------------
   RSVP
   Здесь декор держится далеко от узкой формы.
   --------------------------------------------------------- */
.decor-rsvp-tall {
    width: 105px !important;
    left: 2%;
    top: 17%;
    transform: rotate(-7deg);
    opacity: .80;
}

.decor-rsvp-flourish {
    width: 112px !important;
    right: 2.5%;
    top: 58%;
    transform: rotate(6deg);
    opacity: .82;
}

.decor-rsvp-leaf {
    width: 68px !important;
    right: 7%;
    bottom: 8%;
    transform: rotate(-18deg);
    opacity: .72;
}

/* ---------------------------------------------------------
   FINAL
   Самый выразительный раздел: виноград становится главным
   декоративным мотивом, но остаётся по сторонам от текста.
   --------------------------------------------------------- */
.decor-final-grape-left {
    width: 185px !important;
    left: max(1%, calc(50% - 640px));
    bottom: 4%;
    transform: rotate(-7deg);
    opacity: .90;
}

.decor-final-grape-right {
    width: 175px !important;
    right: max(1%, calc(50% - 640px));
    bottom: 7%;
    transform: rotate(8deg);
    opacity: .90;
}

.decor-final-flower {
    width: 95px !important;
    right: 12%;
    top: 12%;
    transform: rotate(12deg);
    opacity: .78;
}

/* ---------------------------------------------------------
   MOBILE
   На узком экране не уменьшаем всё механически: сохраняем
   разные композиции и уводим крупный виноград от контента.
   --------------------------------------------------------- */
@media (max-width: 700px) {
    .site-decor {
        left: 0;
        width: 100%;
        transform: none;
        overflow: hidden;
    }

    .decor-welcome-flower { width: 74px !important; left: -4px; top: 13%; }
    .decor-welcome-rose { width: 70px !important; right: -3px; top: 9%; }
    .decor-welcome-leaf { width: 54px !important; right: 3%; bottom: 9%; }

    .decor-guests-tall { width: 62px !important; left: -5px; top: 14%; }
    .decor-guests-grapes { width: 61px !important; right: -4px; top: 9%; }
    .decor-guests-curve { width: 82px !important; right: -5px; bottom: 7%; }

    .decor-story-grape { width: 82px !important; left: -7px; top: 3%; opacity: .78; }
    .decor-story-flourish { width: 72px !important; right: -5px; top: 63%; }
    .decor-story-leaf { width: 48px !important; left: -3px; bottom: 5%; }

    .decor-dress-flower { width: 70px !important; left: -4px; top: 7%; }
    .decor-dress-curve { width: 78px !important; right: -5px; bottom: 13%; }
    .decor-dress-grapes { width: 52px !important; left: -2px; bottom: 7%; }

    .decor-location-grape { width: 88px !important; right: -5px; top: 12px; }
    .decor-location-flower { width: 67px !important; left: -4px; top: 18px; }

    .decor-rsvp-tall { width: 67px !important; left: -6px; top: 13%; }
    .decor-rsvp-flourish { width: 66px !important; right: -5px; top: 60%; }
    .decor-rsvp-leaf { width: 45px !important; right: 1%; bottom: 7%; }

    .decor-final-grape-left { width: 105px !important; left: -10px; bottom: 3%; opacity: .86; }
    .decor-final-grape-right { width: 100px !important; right: -9px; bottom: 5%; opacity: .86; }
    .decor-final-flower { width: 61px !important; right: 4%; top: 11%; }
}

@media (max-width: 430px) {
    .decor-welcome-flower { width: 62px !important; }
    .decor-welcome-rose { width: 58px !important; }
    .decor-welcome-leaf { width: 46px !important; }

    .decor-guests-tall { width: 54px !important; }
    .decor-guests-grapes { width: 53px !important; }
    .decor-guests-curve { width: 72px !important; }

    .decor-story-grape { width: 68px !important; }
    .decor-story-flourish { width: 62px !important; }
    .decor-story-leaf { width: 42px !important; }

    .decor-dress-flower { width: 60px !important; }
    .decor-dress-curve { width: 68px !important; }
    .decor-dress-grapes { width: 46px !important; }

    .decor-location-grape { width: 76px !important; }
    .decor-location-flower { width: 58px !important; }

    .decor-rsvp-tall { width: 57px !important; }
    .decor-rsvp-flourish { width: 58px !important; }
    .decor-rsvp-leaf { width: 40px !important; }

    .decor-final-grape-left { width: 88px !important; }
    .decor-final-grape-right { width: 84px !important; }
    .decor-final-flower { width: 54px !important; }
}

/* =========================================================
   ДОПОЛНЕНИЕ: НОВЫЕ 4 БОТАНИЧЕСКИХ ЭЛЕМЕНТА
   Добавлены без изменения существующих разделителей.
   ========================================================= */
.decor-guests-flower-cluster {
    width: 118px !important;
    left: 1.5%;
    bottom: 13%;
    transform: rotate(-8deg);
    opacity: .86;
}

.decor-story-flower-cluster {
    width: 128px !important;
    right: 1%;
    top: 9%;
    transform: rotate(7deg);
    opacity: .86;
}

.decor-dress-flower-cluster {
    width: 108px !important;
    right: 4%;
    top: 7%;
    transform: rotate(10deg);
    opacity: .84;
}

.decor-rsvp-flower-cluster {
    width: 112px !important;
    left: 1%;
    bottom: 12%;
    transform: rotate(-10deg);
    opacity: .84;
}

@media (max-width: 700px) {
    .decor-guests-flower-cluster { width: 72px !important; left: -6px; bottom: 12%; }
    .decor-story-flower-cluster { width: 76px !important; right: -6px; top: 9%; }
    .decor-dress-flower-cluster { width: 68px !important; right: -5px; top: 7%; }
    .decor-rsvp-flower-cluster { width: 70px !important; left: -7px; bottom: 11%; }
}

@media (max-width: 430px) {
    .decor-guests-flower-cluster { width: 61px !important; }
    .decor-story-flower-cluster { width: 64px !important; }
    .decor-dress-flower-cluster { width: 57px !important; }
    .decor-rsvp-flower-cluster { width: 59px !important; }
}

/* =========================================================
   ДЕКОР — КОМПОЗИЦИЯ V2
   Реальные ботанические элементы распределены по свободным
   зонам секций. Разделители не затрагиваются.
   ========================================================= */

/* Общий слой: декоративные изображения находятся внутри листа */
.site-decor {
    width: min(1180px, 100%);
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    overflow: hidden;
    z-index: 1;
}

.site-decor .decor {
    z-index: 1;
}

/* -------------------------
   1. WELCOME
   Не симметрия: цветочная ветка слева выше, роза справа ниже,
   маленькая листовая веточка у нижнего края.
   ------------------------- */
.decor-welcome-flower {
    width: 106px !important;
    left: 5.2%;
    top: 20%;
    transform: rotate(-9deg);
    opacity: .92;
}

.decor-welcome-rose {
    width: 102px !important;
    right: 5.4%;
    top: 47%;
    transform: rotate(13deg) scaleX(-1);
    opacity: .90;
}

.decor-welcome-leaf {
    width: 72px !important;
    left: 11%;
    right: auto;
    bottom: 10%;
    transform: rotate(18deg);
    opacity: .76;
}

/* -------------------------
   2. GUESTS
   Четыре элемента распределены по вертикали, чтобы секция
   не выглядела как рамка из одинаковых украшений.
   ------------------------- */
.decor-guests-tall {
    width: 91px !important;
    left: 2.8%;
    top: 25%;
    transform: rotate(-7deg);
    opacity: .84;
}

.decor-guests-grapes {
    width: 84px !important;
    right: 4.2%;
    top: 13%;
    transform: rotate(8deg);
    opacity: .92;
}

.decor-guests-flower-cluster {
    width: 100px !important;
    left: 1.7%;
    bottom: 17%;
    transform: rotate(-11deg);
    opacity: .84;
}

.decor-guests-curve {
    width: 122px !important;
    right: 2.1%;
    bottom: 7%;
    transform: rotate(6deg) scaleX(-1);
    opacity: .78;
}

/* -------------------------
   3. STORY + TIMING
   Здесь крупный виноград работает как главный акцент слева,
   а цветы/листовой элемент уравновешивают правую часть.
   ------------------------- */
.decor-story-grape {
    width: 142px !important;
    left: 1.0%;
    top: 6%;
    transform: rotate(-8deg);
    opacity: .88;
}

.decor-story-flower-cluster {
    width: 104px !important;
    right: 1.6%;
    top: 34%;
    transform: rotate(10deg);
    opacity: .86;
}

.decor-story-flourish {
    width: 112px !important;
    left: 4.1%;
    right: auto;
    bottom: 13%;
    transform: rotate(-12deg);
    opacity: .78;
}

.decor-story-leaf {
    width: 69px !important;
    right: 5.4%;
    left: auto;
    bottom: 8%;
    transform: rotate(-19deg) scaleX(-1);
    opacity: .72;
}

/* -------------------------
   4. DRESS CODE
   Декор не конкурирует с пятью цветами: элементы сидят
   в верхних/нижних боковых паузах.
   ------------------------- */
.decor-dress-flower {
    width: 92px !important;
    left: 2.0%;
    top: 13%;
    transform: rotate(-9deg);
    opacity: .84;
}

.decor-dress-flower-cluster {
    width: 96px !important;
    right: 2.2%;
    top: 27%;
    transform: rotate(10deg);
    opacity: .82;
}

.decor-dress-grapes {
    width: 68px !important;
    left: 3.0%;
    bottom: 11%;
    transform: rotate(-8deg);
    opacity: .78;
}

.decor-dress-curve {
    width: 118px !important;
    right: 2.0%;
    bottom: 8%;
    transform: rotate(7deg);
    opacity: .76;
}

/* -------------------------
   5. LOCATION
   Карта очень высокая, поэтому здесь элементы распределены
   вокруг верхней части и далеко от изображения карты.
   ------------------------- */
.decor-location-grape {
    width: 124px !important;
    right: 1.4%;
    top: 3.2%;
    transform: rotate(8deg);
    opacity: .86;
}

.decor-location-flower {
    width: 94px !important;
    left: 2.0%;
    top: 6.0%;
    transform: rotate(-10deg);
    opacity: .82;
}

/* -------------------------
   6. RSVP
   Свободные боковые поля формы: верхний левый + нижний правый
   + два очень лёгких промежуточных акцента.
   ------------------------- */
.decor-rsvp-tall {
    width: 96px !important;
    left: 2.1%;
    top: 17%;
    transform: rotate(-8deg);
    opacity: .82;
}

.decor-rsvp-flower-cluster {
    width: 96px !important;
    right: 1.6%;
    top: 8%;
    transform: rotate(10deg);
    opacity: .84;
}

.decor-rsvp-flourish {
    width: 106px !important;
    right: 2.5%;
    bottom: 17%;
    transform: rotate(8deg) scaleX(-1);
    opacity: .76;
}

.decor-rsvp-leaf {
    width: 65px !important;
    left: 7.0%;
    right: auto;
    bottom: 7%;
    transform: rotate(15deg);
    opacity: .68;
}

/* -------------------------
   7. FINAL
   Финал — самая выразительная композиция, но не зеркальная:
   большой виноград слева, второй выше справа, цветок отдельно.
   ------------------------- */
.decor-final-grape-left {
    width: 168px !important;
    left: 0.6%;
    bottom: 4%;
    transform: rotate(-9deg);
    opacity: .90;
}

.decor-final-grape-right {
    width: 148px !important;
    right: 1.0%;
    top: 12%;
    bottom: auto;
    transform: rotate(9deg) scaleX(-1);
    opacity: .88;
}

.decor-final-flower {
    width: 90px !important;
    left: 12%;
    right: auto;
    top: 16%;
    transform: rotate(-13deg);
    opacity: .78;
}

/* -------------------------
   MOBILE COMPOSITION
   На мобильном декор остаётся внутри бумажного листа и
   уходит в боковые поля; крупные элементы уменьшаются.
   ------------------------- */
@media (max-width: 700px) {
    .decor-welcome-flower { width: 66px !important; left: -5px; top: 18%; }
    .decor-welcome-rose { width: 62px !important; right: -4px; top: 52%; }
    .decor-welcome-leaf { width: 46px !important; left: 4%; bottom: 8%; }

    .decor-guests-tall { width: 57px !important; left: -6px; top: 23%; }
    .decor-guests-grapes { width: 54px !important; right: -5px; top: 11%; }
    .decor-guests-flower-cluster { width: 62px !important; left: -5px; bottom: 15%; }
    .decor-guests-curve { width: 75px !important; right: -6px; bottom: 6%; }

    .decor-story-grape { width: 78px !important; left: -8px; top: 4%; }
    .decor-story-flower-cluster { width: 65px !important; right: -6px; top: 38%; }
    .decor-story-flourish { width: 66px !important; left: -5px; bottom: 11%; }
    .decor-story-leaf { width: 44px !important; right: -2px; bottom: 6%; }

    .decor-dress-flower { width: 60px !important; left: -5px; top: 11%; }
    .decor-dress-flower-cluster { width: 64px !important; right: -5px; top: 26%; }
    .decor-dress-grapes { width: 45px !important; left: -3px; bottom: 10%; }
    .decor-dress-curve { width: 70px !important; right: -6px; bottom: 7%; }

    .decor-location-grape { width: 75px !important; right: -5px; top: 1.5%; }
    .decor-location-flower { width: 58px !important; left: -4px; top: 4%; }

    .decor-rsvp-tall { width: 61px !important; left: -6px; top: 16%; }
    .decor-rsvp-flower-cluster { width: 62px !important; right: -5px; top: 7%; }
    .decor-rsvp-flourish { width: 69px !important; right: -5px; bottom: 15%; }
    .decor-rsvp-leaf { width: 42px !important; left: 2%; bottom: 6%; }

    .decor-final-grape-left { width: 92px !important; left: -9px; bottom: 4%; }
    .decor-final-grape-right { width: 82px !important; right: -7px; top: 10%; }
    .decor-final-flower { width: 54px !important; left: 5%; top: 14%; }
}

@media (max-width: 430px) {
    .decor-welcome-flower { width: 56px !important; }
    .decor-welcome-rose { width: 52px !important; }
    .decor-welcome-leaf { width: 40px !important; }

    .decor-guests-tall { width: 49px !important; }
    .decor-guests-grapes { width: 46px !important; }
    .decor-guests-flower-cluster { width: 53px !important; }
    .decor-guests-curve { width: 64px !important; }

    .decor-story-grape { width: 67px !important; }
    .decor-story-flower-cluster { width: 55px !important; }
    .decor-story-flourish { width: 56px !important; }
    .decor-story-leaf { width: 38px !important; }

    .decor-dress-flower { width: 51px !important; }
    .decor-dress-flower-cluster { width: 54px !important; }
    .decor-dress-grapes { width: 39px !important; }
    .decor-dress-curve { width: 59px !important; }

    .decor-location-grape { width: 64px !important; }
    .decor-location-flower { width: 50px !important; }

    .decor-rsvp-tall { width: 52px !important; }
    .decor-rsvp-flower-cluster { width: 53px !important; }
    .decor-rsvp-flourish { width: 58px !important; }
    .decor-rsvp-leaf { width: 36px !important; }

    .decor-final-grape-left { width: 78px !important; }
    .decor-final-grape-right { width: 70px !important; }
    .decor-final-flower { width: 46px !important; }
}


/* =========================================================
   ДЕКОР V4 — МОБИЛЬНАЯ КОМПОЗИЦИЯ + ФОТО-ПЕРЕД-ФИНАЛОМ
   Только корректировка положения декоративных PNG.
   Разделители, типографика и существующий дизайн не меняются.
   ========================================================= */

/* ---------------------------------------------------------
   ФОТО ПЕРЕД ФИНАЛОМ
   Четыре элемента заполняют свободное пространство вокруг
   двух фотографий, не накладываясь на сами карточки.
   --------------------------------------------------------- */
.final-photos .site-decor-final-photos {
    z-index: 1;
}

.decor-photos-grape {
    width: 148px !important;
    right: 1.5%;
    top: 1.5%;
    transform: rotate(8deg) scaleX(-1);
    opacity: .86;
}

.decor-photos-flower {
    width: 108px !important;
    left: 1.8%;
    bottom: 1.5%;
    transform: rotate(-9deg);
    opacity: .82;
}

.decor-photos-leaf {
    width: 72px !important;
    left: 3.5%;
    top: 49%;
    transform: rotate(16deg);
    opacity: .72;
}

.decor-photos-branch {
    width: 92px !important;
    right: 3.5%;
    bottom: 7%;
    transform: rotate(-16deg) scaleX(-1);
    opacity: .74;
}

/* ---------------------------------------------------------
   MOBILE — УВОДИМ ДЕКОР ОТ КРАЁВ И ОТ ТЕКСТА
   Никаких отрицательных left/right: элементы остаются внутри
   бумажного поля. Верхние элементы смещены к пустым зонам,
   нижние — к свободным участкам, а не прямо под текст.
   --------------------------------------------------------- */
@media (max-width: 700px) {
    .decor-welcome-flower {
        width: 62px !important;
        left: 8%;
        top: 21%;
    }

    .decor-welcome-rose {
        width: 58px !important;
        right: 8%;
        top: 45%;
    }

    .decor-welcome-leaf {
        width: 43px !important;
        left: auto;
        right: 10%;
        bottom: 8%;
    }

    .decor-guests-tall {
        width: 52px !important;
        left: 7%;
        top: 25%;
    }

    .decor-guests-grapes {
        width: 50px !important;
        right: 8%;
        top: 13%;
    }

    .decor-guests-flower-cluster {
        width: 58px !important;
        left: 8%;
        bottom: 18%;
    }

    .decor-guests-curve {
        width: 68px !important;
        right: 7%;
        bottom: 8%;
    }

    .decor-story-grape {
        width: 72px !important;
        left: 7%;
        top: 10%;
        opacity: .80;
    }

    .decor-story-flower-cluster {
        width: 59px !important;
        right: 7%;
        top: 42%;
    }

    .decor-story-flourish {
        width: 60px !important;
        left: 8%;
        bottom: 13%;
    }

    .decor-story-leaf {
        width: 41px !important;
        right: 9%;
        left: auto;
        bottom: 7%;
    }

    .decor-dress-flower {
        width: 57px !important;
        left: 8%;
        top: 13%;
    }

    .decor-dress-flower-cluster {
        width: 59px !important;
        right: 8%;
        top: 29%;
    }

    .decor-dress-grapes {
        width: 42px !important;
        left: 9%;
        bottom: 12%;
    }

    .decor-dress-curve {
        width: 64px !important;
        right: 8%;
        bottom: 8%;
    }

    .decor-location-grape {
        width: 70px !important;
        right: 8%;
        top: 3%;
    }

    .decor-location-flower {
        width: 54px !important;
        left: 8%;
        top: 6%;
    }

    .decor-rsvp-tall {
        width: 57px !important;
        left: 8%;
        top: 18%;
    }

    .decor-rsvp-flower-cluster {
        width: 58px !important;
        right: 8%;
        top: 10%;
    }

    .decor-rsvp-flourish {
        width: 64px !important;
        right: 8%;
        bottom: 17%;
    }

    .decor-rsvp-leaf {
        width: 40px !important;
        left: 10%;
        right: auto;
        bottom: 7%;
    }

    .decor-final-grape-left {
        width: 88px !important;
        left: 6%;
        bottom: 4%;
    }

    .decor-final-grape-right {
        width: 78px !important;
        right: 7%;
        top: 12%;
    }

    .decor-final-flower {
        width: 50px !important;
        left: 8%;
        right: auto;
        top: 17%;
    }

    /* Фото перед финалом */
    .decor-photos-grape {
        width: 82px !important;
        right: 8%;
        top: 1.5%;
        opacity: .84;
    }

    .decor-photos-flower {
        width: 65px !important;
        left: 8%;
        bottom: 2%;
        opacity: .80;
    }

    .decor-photos-leaf {
        width: 45px !important;
        left: 8%;
        top: 48%;
        opacity: .68;
    }

    .decor-photos-branch {
        width: 57px !important;
        right: 8%;
        bottom: 8%;
        opacity: .70;
    }
}

@media (max-width: 430px) {
    .decor-welcome-flower { width: 54px !important; left: 9%; }
    .decor-welcome-rose { width: 50px !important; right: 9%; }
    .decor-welcome-leaf { width: 37px !important; right: 11%; }

    .decor-guests-tall { width: 46px !important; left: 8%; }
    .decor-guests-grapes { width: 44px !important; right: 9%; }
    .decor-guests-flower-cluster { width: 50px !important; left: 9%; }
    .decor-guests-curve { width: 58px !important; right: 8%; }

    .decor-story-grape { width: 62px !important; left: 8%; }
    .decor-story-flower-cluster { width: 51px !important; right: 8%; }
    .decor-story-flourish { width: 52px !important; left: 9%; }
    .decor-story-leaf { width: 35px !important; right: 10%; }

    .decor-dress-flower { width: 49px !important; left: 9%; }
    .decor-dress-flower-cluster { width: 51px !important; right: 9%; }
    .decor-dress-grapes { width: 36px !important; left: 10%; }
    .decor-dress-curve { width: 55px !important; right: 9%; }

    .decor-location-grape { width: 60px !important; right: 9%; }
    .decor-location-flower { width: 46px !important; left: 9%; }

    .decor-rsvp-tall { width: 49px !important; left: 9%; }
    .decor-rsvp-flower-cluster { width: 50px !important; right: 9%; }
    .decor-rsvp-flourish { width: 55px !important; right: 9%; }
    .decor-rsvp-leaf { width: 35px !important; left: 10%; }

    .decor-final-grape-left { width: 76px !important; left: 7%; }
    .decor-final-grape-right { width: 67px !important; right: 8%; }
    .decor-final-flower { width: 43px !important; left: 9%; }

    .decor-photos-grape { width: 70px !important; right: 9%; }
    .decor-photos-flower { width: 56px !important; left: 9%; }
    .decor-photos-leaf { width: 39px !important; left: 9%; }
    .decor-photos-branch { width: 49px !important; right: 9%; }
}

/* =========================================================
   ДЕКОР V5 — МОБИЛЬНАЯ БЕЗОПАСНАЯ КОМПОЗИЦИЯ
   Десктопную расстановку не меняем.
   На мобильном декоративные элементы уходят в реальные
   свободные зоны секций: верхние/нижние поля, а не поверх
   фотографий, заголовков, списков и формы.
   ========================================================= */
@media (max-width: 700px) {
    /* Базовая защита: декор не должен быть интерактивным и
       не должен расширять визуальную область страницы. */
    .site-decor {
        overflow: hidden;
    }

    /* WELCOME — свободные поля вокруг центрального текста */
    .decor-welcome-flower {
        width: 50px !important;
        left: 5% !important;
        top: 5% !important;
        transform: rotate(-10deg);
    }
    .decor-welcome-rose {
        width: 48px !important;
        right: 5% !important;
        top: auto !important;
        bottom: 14% !important;
        transform: rotate(12deg) scaleX(-1);
    }
    .decor-welcome-leaf {
        width: 34px !important;
        left: auto !important;
        right: 12% !important;
        bottom: 4% !important;
    }

    /* GUESTS — первый и последний экран секции свободны,
       середину со списками не загромождаем. */
    .decor-guests-tall {
        width: 45px !important;
        left: 5% !important;
        top: 2% !important;
    }
    .decor-guests-grapes {
        width: 43px !important;
        right: 5% !important;
        top: 2% !important;
    }
    .decor-guests-flower-cluster {
        width: 48px !important;
        left: 6% !important;
        bottom: 3% !important;
    }
    .decor-guests-curve {
        width: 54px !important;
        right: 6% !important;
        bottom: 2% !important;
    }

    /* STORY + TIMING — НИКАКОГО декора внутри фото и таймлайна.
       Один акцент живёт в верхнем padding перед фото, остальные
       в нижнем padding после программы. */
    .decor-story-grape {
        width: 58px !important;
        left: 4% !important;
        top: 1.2% !important;
        opacity: .82;
    }
    .decor-story-flower-cluster {
        width: 48px !important;
        right: 5% !important;
        top: auto !important;
        bottom: 5.5% !important;
        opacity: .82;
    }
    .decor-story-flourish {
        width: 48px !important;
        left: 7% !important;
        bottom: 2% !important;
        opacity: .74;
    }
    .decor-story-leaf {
        width: 32px !important;
        right: 9% !important;
        bottom: 1.2% !important;
        opacity: .68;
    }

    /* DRESS CODE — только верхнее и нижнее свободные поля.
       Палитра остаётся главным объектом. */
    .decor-dress-flower {
        width: 44px !important;
        left: 5% !important;
        top: 1.5% !important;
    }
    .decor-dress-flower-cluster {
        width: 46px !important;
        right: 5% !important;
        top: auto !important;
        bottom: 2.5% !important;
    }
    .decor-dress-grapes {
        display: none !important;
    }
    .decor-dress-curve {
        display: none !important;
    }

    /* LOCATION — карта занимает почти всю мобильную секцию,
       поэтому не кладём изображения на карту. Два маленьких
       акцента остаются в верхнем/нижнем поле. */
    .decor-location-grape {
        width: 48px !important;
        right: 5% !important;
        top: 1% !important;
    }
    .decor-location-flower {
        width: 40px !important;
        left: 5% !important;
        top: auto !important;
        bottom: 3% !important;
    }

    /* RSVP — декор только в верхнем и нижнем padding формы. */
    .decor-rsvp-tall {
        width: 45px !important;
        left: 5% !important;
        top: 2% !important;
    }
    .decor-rsvp-flower-cluster {
        width: 44px !important;
        right: 5% !important;
        top: auto !important;
        bottom: 2% !important;
    }
    .decor-rsvp-flourish,
    .decor-rsvp-leaf {
        display: none !important;
    }

    /* ДВЕ ФОТОГРАФИИ — элементы стоят только в свободных
       полях ДО первой и ПОСЛЕ второй фотографии. */
    .decor-photos-grape {
        width: 58px !important;
        right: 5% !important;
        top: 1.2% !important;
        opacity: .82;
    }
    .decor-photos-flower {
        width: 48px !important;
        left: 5% !important;
        bottom: 1.2% !important;
        opacity: .80;
    }
    .decor-photos-leaf,
    .decor-photos-branch {
        display: none !important;
    }

    /* FINAL — боковые нижние поля, чтобы не пересекаться
       с центральной надписью. */
    .decor-final-grape-left {
        width: 68px !important;
        left: 4% !important;
        bottom: 3% !important;
    }
    .decor-final-grape-right {
        width: 62px !important;
        right: 4% !important;
        top: 3% !important;
    }
    .decor-final-flower {
        width: 40px !important;
        left: auto !important;
        right: 13% !important;
        top: auto !important;
        bottom: 12% !important;
    }
}

@media (max-width: 430px) {
    /* На узких телефонах ещё немного уменьшаем элементы,
       но сохраняем их заметность. */
    .decor-welcome-flower { width: 44px !important; }
    .decor-welcome-rose { width: 42px !important; }
    .decor-welcome-leaf { width: 30px !important; }

    .decor-guests-tall { width: 39px !important; }
    .decor-guests-grapes { width: 38px !important; }
    .decor-guests-flower-cluster { width: 42px !important; }
    .decor-guests-curve { width: 48px !important; }

    .decor-story-grape { width: 51px !important; }
    .decor-story-flower-cluster { width: 43px !important; }
    .decor-story-flourish { width: 42px !important; }
    .decor-story-leaf { width: 28px !important; }

    .decor-dress-flower { width: 39px !important; }
    .decor-dress-flower-cluster { width: 41px !important; }

    .decor-location-grape { width: 43px !important; }
    .decor-location-flower { width: 36px !important; }

    .decor-rsvp-tall { width: 40px !important; }
    .decor-rsvp-flower-cluster { width: 39px !important; }

    .decor-photos-grape { width: 51px !important; }
    .decor-photos-flower { width: 43px !important; }

    .decor-final-grape-left { width: 60px !important; }
    .decor-final-grape-right { width: 55px !important; }
    .decor-final-flower { width: 36px !important; }
}
/* =========================================================
   МОИ ЛИЧНЫЕ НАСТРОЙКИ ДЕКОРА
   =========================================================

   ЭТОТ БЛОК НУЖНО РЕДАКТИРОВАТЬ.

   Здесь собраны только настройки декоративных элементов.
   Основной дизайн сайта ниже/выше не меняем.

   ЧТО МЕНЯТЬ:

   width        = размер элемента
   top          = двигает вниз/вверх от верхней границы раздела
   bottom       = двигает вверх/вниз от нижней границы раздела
   left         = двигает вправо/влево от левой границы
   right        = двигает влево/вправо от правой границы
   transform    = поворот элемента

   ВАЖНО:
   - Все элементы по умолчанию одинакового размера.
   - Не используем отрицательные left/right.
   - Не ставим два элемента рядом.
   - Не ставим декор на текст, фото, карту или разделители.
   - Если в конкретном месте нет свободного пространства — элемент лучше убрать.
   ========================================================= */

:root {
    /* ЕДИНЫЙ РАЗМЕР ВСЕХ ЭЛЕМЕНТОВ НА ДЕСКТОПЕ */
    --personal-decor-size: 100px;

    /* ЕДИНЫЙ РАЗМЕР ВСЕХ ЭЛЕМЕНТОВ НА МОБИЛЬНОМ */
    --personal-decor-size-mobile: 100px;

    /* ЕДИНЫЙ РАЗМЕР НА ОЧЕНЬ УЗКИХ ЭКРАНАХ */
    --personal-decor-size-small: 70px;
}

/* =========================================================
   1. WELCOME / ПЕРВЫЙ РАЗДЕЛ
   ========================================================= */

/* flower-sprig.png
   Что менять:
   top  -> вверх/вниз
   left -> вправо/влево
*/
.decor-welcome-flower {
    width: var(--personal-decor-size) !important;
    top: 18%;
    left: 7%;
    right: auto;
    bottom: auto;
    transform: rotate(-10deg);
}

/* rose-branch.png
   right -> влево/вправо
   top   -> вверх/вниз
*/
.decor-welcome-rose {
    width: var(--personal-decor-size) !important;
    top: 35%;
    right: 15%;
    left: auto;
    bottom: auto;
    transform: rotate(9deg);
}

/* leaf-sprig.png
   bottom -> вверх/вниз
   right  -> влево/вправо
*/
.decor-welcome-leaf {
    width: var(--personal-decor-size) !important;
    bottom: 8%;
    right: 9%;
    left: auto;
    top: auto;
    transform: rotate(14deg);
}


/* =========================================================
   2. GUESTS / ГОСТИ
   ========================================================= */

/* branch-tall.png — левая свободная зона */
.decor-guests-tall {
    width: var(--personal-decor-size) !important;
    top: 18%;
    left: 7%;
    right: auto;
    bottom: auto;
    transform: rotate(-7deg);
}

/* grapes-small.png — верхняя правая свободная зона */
.decor-guests-grapes {
    width: var(--personal-decor-size) !important;
    top: 9%;
    right: 7%;
    left: auto;
    bottom: auto;
    transform: rotate(8deg);
}

/* flower-cluster-b.png — нижняя левая свободная зона */
.decor-guests-flower-cluster {
    width: var(--personal-decor-size) !important;
    bottom: 14%;
    left: 8%;
    right: auto;
    top: auto;
    transform: rotate(-8deg);
}

/* curved-branch.png — нижняя правая свободная зона */
.decor-guests-curve {
    width: var(--personal-decor-size) !important;
    bottom: 7%;
    right: 8%;
    left: auto;
    top: auto;
    transform: rotate(7deg);
}


/* =========================================================
   3. STORY / TIMING / ДВЕ ФОТОГРАФИИ + ПРОГРАММА
   ========================================================= */

/* grape-vine-a.png — свободное место слева */
.decor-story-grape {
    width: 100px;
    top: 5%;
    left: 7%;
    right: auto;
    bottom: auto;
    transform: rotate(-8deg);
}

/* flower-cluster-c.png — свободное место справа */
.decor-story-flower-cluster {
    width: 100px;
    top: 36%;
    right: 7%;
    left: auto;
    bottom: auto;
    transform: rotate(9deg);
}

/* flourish.png — нижняя левая свободная зона */
.decor-story-flourish {
    width: var(--personal-decor-size) !important;
    bottom: 11%;
    left: 8%;
    right: auto;
    top: auto;
    transform: rotate(-8deg);
}

/* leaf-sprig.png — нижняя правая свободная зона */
.decor-story-leaf {
    width: var(--personal-decor-size) !important;
    bottom: 7%;
    right: 9%;
    left: auto;
    top: auto;
    transform: rotate(14deg);
}


/* =========================================================
   4. DRESS CODE / ДРЕСС-КОД
   ========================================================= */

/* flower-sprig.png — верхняя левая пауза */
.decor-dress-flower {
    width: var(--personal-decor-size) !important;
    top: 10%;
    left: 8%;
    right: auto;
    bottom: auto;
    transform: rotate(-9deg);
}

/* flower-cluster-d.png — верхняя правая пауза */
.decor-dress-flower-cluster {
    width: var(--personal-decor-size) !important;
    top: 15%;
    right: 8%;
    left: auto;
    bottom: auto;
    transform: rotate(10deg);
}

/* grapes-small.png — нижняя левая пауза */
.decor-dress-grapes {
    width: var(--personal-decor-size) !important;
    bottom: 12%;
    left: 9%;
    right: auto;
    top: auto;
    transform: rotate(-8deg);
}

/* curved-branch.png — нижняя правая пауза */
.decor-dress-curve {
    width: 100px;
    bottom: 8%;
    right: 8%;
    left: auto;
    top: auto;
    transform: rotate(7deg);
}


/* =========================================================
   5. LOCATION / ЛОКАЦИЯ
   ========================================================= */

/* grape-vine-b.png — верхняя правая зона, вдали от карты */
.decor-location-grape {
    width: 100px;
    top: 1%;
    right: 2%;
    left: auto;
    bottom: auto;
    transform: rotate(8deg);
}

/* rose-branch.png — верхняя левая зона, вдали от карты */
.decor-location-flower {
    width: 100px;
    top: 2%;
    left: 3%;
    right: auto;
    bottom: auto;
    transform: rotate(-10deg);
}


/* =========================================================
   6. RSVP / ФОРМА
   ========================================================= */

/* branch-tall.png — верхняя левая свободная зона */
.decor-rsvp-tall {
    width: 100px;
    top: 10%;
    left: 8%;
    right: auto;
    bottom: auto;
    transform: rotate(-8deg);
}

/* flower-cluster-a.png — верхняя правая свободная зона */
.decor-rsvp-flower-cluster {
    width: 100px;
    top: 8%;
    right: 8%;
    left: auto;
    bottom: auto;
    transform: rotate(10deg);
}

/* flourish.png — нижняя правая свободная зона */
.decor-rsvp-flourish {
    width: 100px;
    bottom: 16%;
    right: 8%;
    left: auto;
    top: auto;
    transform: rotate(8deg) scaleX(-1);
}

/* leaf-sprig.png — нижняя левая свободная зона */
.decor-rsvp-leaf {
    width: 100px;
    bottom: 7%;
    left: 9%;
    right: auto;
    top: auto;
    transform: rotate(15deg);
}


/* =========================================================
   7. ФОТОГРАФИИ ПЕРЕД ФИНАЛОМ
   Здесь специально оставляем больше воздуха.
   Декор не должен касаться двух фотографий.
   ========================================================= */

/* grape-vine-b.png — верхняя правая свободная зона */
.decor-photos-grape {
    width: 100px;
    top: 10%;
    right: 15%;
    left: auto;
    bottom: auto;
    transform: rotate(8deg) scaleX(-1);
}

/* flower-cluster-d.png — нижняя левая свободная зона */
.decor-photos-flower {
    width: 100px;
    bottom: 5%;
    left: 30%;
    right: auto;
    top: auto;
    transform: rotate(-9deg);
}

/* leaf-sprig.png — боковая свободная зона */
.decor-photos-leaf {
    width: 100px;
    top: 30%;
    left: 9%;
    right: auto;
    bottom: auto;
    transform: rotate(16deg);
}

/* flower-sprig.png — нижняя правая свободная зона */
.decor-photos-branch {
    width: 100px;
    bottom: 9%;
    right: 9%;
    left: auto;
    top: 75%;
    transform: rotate(-16deg) scaleX(-1);
}


/* =========================================================
   8. FINAL / ФИНАЛ
   ========================================================= */

/* grape-vine-a.png — нижняя левая свободная зона */
.decor-final-grape-left {
    width: 100px;
    bottom: 6%;
    left: 8%;
    right: auto;
    top: auto;
    transform: rotate(-9deg);
}

/* grape-vine-b.png — верхняя правая свободная зона */
.decor-final-grape-right {
    width: 100px;
    top: 45%;
    right: 8%;
    left: auto;
    bottom: auto;
    transform: rotate(9deg) scaleX(-1);
}

/* flower-sprig.png — отдельная свободная зона */
.decor-final-flower {
    width: 100px;
    top: 18%;
    left: 12%;
    right: auto;
    bottom: auto;
    transform: rotate(-13deg);
}


/* =========================================================
   МОБИЛЬНАЯ ВЕРСИЯ

   Здесь те же элементы, но расположение задаём отдельно.
   Поэтому можно менять телефон, не ломая десктоп.

   Для движения используются те же правила:
   left/right = влево/вправо
   top/bottom = вверх/вниз
   ========================================================= */

@media (max-width: 700px) {

    /* =====================================================
       МОЯ ЛИЧНАЯ НАСТРОЙКА ДЕКОРА — МОБИЛЬНАЯ ВЕРСИЯ

       ВАЖНО:
       - этот блок влияет ТОЛЬКО на телефоны;
       - desktop выше НЕ меняется;
       - width  = размер элемента;
       - top    = выше / ниже;
       - bottom = выше / ниже от нижнего края;
       - left   = левее / правее;
       - right  = левее / правее от правого края.

       Если двигаешь элемент, меняй только 1–2 значения.
       Разделители и основной контент здесь НЕ меняем.
       ===================================================== */

    /* =====================================================
       1. WELCOME / ПЕРВЫЙ ЭКРАН
       Здесь оставляем только свободные боковые зоны.
       Не ставить декор под именами и кнопкой.
       ===================================================== */

    /* flower-sprig.png — левая верхняя свободная зона */
    .decor-welcome-flower {
        width: 80px;
        top: 8% !important;
        left: 5% !important;
        right: auto !important;
        bottom: auto !important;
    }

    /* rose-branch.png — правая боковая свободная зона */
    .decor-welcome-rose {
        width: 80px !important;
        top: 45% !important;
        right: 5% !important;
        left: auto !important;
        bottom: auto !important;
    }

    


    /* =====================================================
       3. STORY / TIMING
       Фотографию и таймлайн НЕ перекрываем.
       ===================================================== */

    /* grape-vine-a.png — верхняя левая свободная зона */
    .decor-story-grape {
        width: 110px !important;
        top: 0% !important;
        left: -5% !important;
        right: auto !important;
        bottom: auto !important;
    }

    /* flower-cluster-c.png — верхняя правая свободная зона */
    .decor-story-flower-cluster {
        width: 100px !important;
        top: 36% !important;
        right: 2% !important;
        left: auto !important;
        bottom: auto !important;
    }

    /* flourish.png — нижняя левая свободная зона */
    .decor-story-flourish {
        width: var(--personal-decor-size-mobile) !important;
        bottom: 12% !important;
        left: 8% !important;
        right: auto !important;
        top: 78% !important;
    }

    /* leaf-sprig.png — нижняя правая свободная зона */
    .decor-story-leaf {
        width: 80px !important;
        bottom: 5% !important;
        right: 8% !important;
        left: auto !important;
        top: 91% !important;
    }


    /* =====================================================
       4. DRESS CODE
       Декор только вокруг палитры, не между цветами.
       ===================================================== */

    /* flower-sprig.png — верхняя левая зона */
    .decor-dress-flower {
        width: 100px !important;
        top: 9% !important;
        left: 8% !important;
        right: auto !important;
        bottom: auto !important;
    }
    /* flower-cluster-d.png — верхняя правая зона */
    .decor-dress-flower-cluster {
        width: var(--personal-decor-size-mobile) !important;
        top: 18% !important;
        right: 3% !important;
        left: auto !important;
        bottom: auto !important;
    }




    /* =====================================================
       6. RSVP
       Декор только в свободных полях формы.
       ===================================================== */

    /* branch-tall.png — верхняя левая зона */
    .decor-rsvp-tall {
        width: 40px !important;
        top: 13.5% !important;
        left: 3% !important;
        right: auto !important;
        bottom: auto !important;
    }

    /* flower-cluster-a.png — верхняя правая зона */
    .decor-rsvp-flower-cluster {
        width: var(--personal-decor-size-mobile) !important;
        top: 24% !important;
        right: 5% !important;
        left: auto !important;
        bottom: auto !important;
    }



    /* =====================================================
       7. ДВЕ ФОТОГРАФИИ
       Самое важное правило: НЕ накладываем элементы на фото.
       Оставляем только две самые безопасные точки.
       ===================================================== */

    /* grape-vine-b.png — свободное место ДО фотографий */
    .decor-photos-grape {
        width: 200px !important;
        top: 15% !important;
        right: 2% !important;
        left: auto !important;
        bottom: auto !important;
    }

    /* flower-cluster-d.png — свободное место ПОСЛЕ фотографий */
    .decor-photos-flower {
        width: var(--personal-decor-size-mobile) !important;
        bottom: 3% !important;
        left: 9% !important;
        right: auto !important;
        top: 65% !important;
    }

    /* Два дополнительных элемента на телефоне скрываем:
       если свободного места мало, лучше оставить воздух. */
    .decor-photos-leaf,
    .decor-photos-branch {
        display: none !important;
    }


    /* =====================================================
       8. FINAL / ФИНАЛ
       Три элемента, но в разных частях секции.
       ===================================================== */

    /* grape-vine-a.png — нижняя левая зона */
    .decor-final-grape-left {
        width: 150px !important;
        bottom: 5% !important;
        left: -5% !important;
        right: auto !important;
        top: auto !important;
    }

    /* grape-vine-b.png — верхняя правая зона */
    .decor-final-grape-right {
        width: 180px !important;
        top: 2% !important;
        right: -5% !important;
        left: auto !important;
        bottom: auto !important;
    }

    /* flower-sprig.png — отдельная левая зона */
    .decor-final-flower {
        width: var(--personal-decor-size-mobile) !important;
        top: 31% !important;
        left: 9% !important;
        right: auto !important;
        bottom: auto !important;
    }
}


/* =========================================================
   ОЧЕНЬ УЗКИЙ ТЕЛЕФОН — ДО 430px
   Размер уменьшается, но координаты не меняются.
   Поэтому здесь можно менять только размер.
   ========================================================= */

@media (max-width: 430px) {
    :root {
        --personal-decor-size-mobile: var(--personal-decor-size-small);
    }
}

/* =========================================================
   DESKTOP — КОМПОЗИЦИЯ В СТИЛЕ МОБИЛЬНОЙ ВЕРСИИ

   ВАЖНО:
   Этот блок НЕ меняет мобильную версию.
   Он работает только от 701px и выше.

   Идея:
   - те же декоративные точки, что и на телефоне;
   - одинаковый спокойный масштаб;
   - элементы находятся только в свободном пространстве;
   - не добавляем декор просто ради заполнения пустоты.

   Для ручной настройки:
   width  = размер
   top    = выше / ниже
   bottom = выше / ниже от нижнего края
   left   = левее / правее
   right  = левее / правее от правого края
   ========================================================= */

@media (min-width: 701px) {

    /* =====================================================
       1. WELCOME / ПЕРВЫЙ ЭКРАН
       ===================================================== */

    .decor-welcome-flower {
        width: 200px !important;
        top: 8% !important;
        left: 5% !important;
        right: auto !important;
        bottom: auto !important;
    }

    .decor-welcome-rose {
        width: 200px !important;
        top: 45% !important;
        right: 5% !important;
        left: auto !important;
        bottom: auto !important;
    }






    /* =====================================================
       3. STORY / TIMING
       ===================================================== */

    .decor-story-grape {
        width: 300px !important;
        top: 1% !important;
        left: 5% !important;
        right: auto !important;
        bottom: auto !important;
    }

    .decor-story-flower-cluster {
        width: 200px !important;
        top: 35% !important;
        right: 8% !important;
        left: auto !important;
        bottom: auto !important;
    }

    .decor-story-flourish {
        width: 150px !important;
        bottom: 12% !important;
        left: 4% !important;
        right: auto !important;
        top:  81% !important;
    }

    .decor-story-leaf {
        width: 100px !important;
        bottom: 5% !important;
        right: 8% !important;
        left: auto !important;
        top: 89% !important;
    }


    /* =====================================================
       4. DRESS CODE
       ===================================================== */

    .decor-dress-flower {
        width: 180px !important;
        top: 2% !important;
        left: 6% !important;
        right: auto !important;
        bottom: auto !important;
    }

    .decor-dress-flower-cluster {
        width: 100px !important;
        top: 16% !important;
        right: 12% !important;
        left: auto !important;
        bottom: auto !important;
    }

    .decor-dress-grapes {
        width: 60px !important;
        bottom: 12% !important;
        left: 9% !important;
        right: auto !important;
        top: auto !important;
    }

    .decor-dress-curve {
        width: 75px !important;
        bottom: 8% !important;
        right: 8% !important;
        left: auto !important;
        top: auto !important;
    }




    /* =====================================================
       6. RSVP
       ===================================================== */

    .decor-rsvp-tall {
        width: 200px !important;
        top: 13.5% !important;
        left: 2% !important;
        right: auto !important;
        bottom: auto !important;
    }

    .decor-rsvp-flower-cluster {
        width: 200px !important;
        top: 60% !important;
        right: 3% !important;
        left: auto !important;
        bottom: auto !important;
    }

    

    /* =====================================================
       7. ДВЕ ФОТОГРАФИИ
       Только две безопасные точки.
       Два дополнительных элемента остаются скрытыми.
       ===================================================== */

    .decor-photos-grape {
        width: 300px !important;
        top: 5% !important;
        right: 20% !important;
        left: auto !important;
        bottom: auto !important;
    }

    .decor-photos-flower {
        width: 130px !important;
        bottom: 3% !important;
        left: 30% !important;
        right: auto !important;
        top: 68% !important;
    }




    /* =====================================================
       8. FINAL / ФИНАЛ
       ===================================================== */

    .decor-final-grape-left {
        width: 300px !important;
        bottom: 5% !important;
        left: 6% !important;
        right: auto !important;
        top: auto !important;
    }

    .decor-final-grape-right {
        width: 300px !important;
        top: 2% !important;
        right: 6% !important;
        left: auto !important;
        bottom: auto !important;
    }
 }    