@font-face {
    font-family: 'Novoposelensky';
    src: url('fonts/Novoposelensky.otf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'SohostdExtraLightItalic';
    src: url('fonts/sohostd-extralightitalic1.otf') format('opentype');
    font-weight: 200;
    font-style: italic;
}
@font-face {
    font-family: 'Denistina';
    src: url('fonts/denistina.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Denistina';
    src: url('fonts/denistina.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
}
* {
    box-sizing: border-box;
}
body {
    margin: 0;
    font-family: 'Montserrat', Arial, sans-serif;
    background:#E8E4D9;
    color: #404040;
}
.container {
    max-width: 1382.4px;
    margin: auto;
    /* height: 100%; */
}
.hero-item-bant{
    width: auto;
    display: block;
    position: absolute;
    top: 72.0px;
    left: 160.56px;
}
.hero-item-heart{
    display: none;
}
.hero {
    position: relative;
    background: #E8E4D9;
    min-height: 388.8px;
    max-width: 1382.4px;
    margin: 0 auto;
    overflow: hidden;
    text-align: center;
    height: 1224.0px;
}
.hero-bg-heart {
    position: absolute;
    left: 50%;
    top: 36.0px;
    transform: translateX(-50%);
    width: 273.6px;
    height: 252.0px;
    background: url('heart.svg') no-repeat center/contain;
    z-index: 1;
    opacity: 1;
}
.hero-couple {
    position: absolute;
    left: 50%;
    top: 72px;
    width: min(864px, 93.6vw);
    height: auto;
    transform: translateX(-50%);
    z-index: 2;
    display: block;
    background: transparent;
}
.hero-names {
    position: absolute;
    top: 288px;
    right: 86px;
    left: auto;
    color: #6f8553;
    font-weight: 600;
    line-height: 1.1;
    z-index: 3;
    text-align: right;
    font-size: 55.3px;
    font-family: 'Comfortaa', cursive;
}
.hero-names .text-left {

}
.hero-names .text-right {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.15em;
}
.hero-guest-names {
    font-weight: 400;
    line-height: 1.2;
}
.hero-top-right {
    position: absolute;
    left: 42px;
    top: 72px;
    right: auto;
    color: #7683b6;
    font-size: 74.88px;
    z-index: 3;
    width: auto;
    max-width: min(990.72px, 72vw);
    text-align: left;
    font-family: 'Denistina', cursive;
    font-style: italic;
}
.hero-top-right .text-right,
.hero-guest-names .text-right {
    color: #5A6B2B;
    text-align: left;
}
.hero-title {
    position: absolute;
    left: 50%;
    bottom: 43.2px;
    transform: translateX(-50%);
    color: #7683b6;
    font-size: 93.6px;
    width: 100%;
    font-family: 'Novoposelensky', cursive;
}
.hero-item-stars {
    width: auto;
    display: block;
    position: absolute;
    bottom: 275.2px;
    right: 171.68px;
}
.hero-item-rings {
    width: auto;
    display: block;
    position: absolute;
    bottom: 463.2px;
    left: 114.24px;
    transform: rotate(-30deg);
    transform-origin: center center;
}
.hero-bottom-left,
.hero-bottom-right {
    position: absolute;
    bottom: 46.8px;
    z-index: 4;
}
.hero-bottom-left { left: 20.16px; }
.hero-bottom-right { right: 27.36px; }
.invite-block {
    background: #E8E4D9;
    font-family: 'Comfortaa', Arial, sans-serif;
    text-align: center;
    position: relative;

}

.invite-block .invite-text {
    color: #6f8553;
    line-height: 1.35;
    margin-bottom: 11.52px;
    font-family: 'Comfortaa', Arial, sans-serif;
    font-weight: 400;
    font-size: 28.8px;
    max-width: min(920px, 92vw);
    margin-left: auto;
    margin-right: auto;
}

.invite-block .invite-svg {
    margin: 56.88px 0 12.96px;
}

.invite-block .calendar-month {
    font-size: 39.6px;
    letter-spacing: 0.02em;
    font-weight: 400;
    margin-top: 72.0px;
    font-family: 'Comfortaa', Arial, sans-serif;
    margin-bottom: 28.8px;
}

.invite-block .calendar-table {
    display: flex;
    justify-content: center;
    gap: 55.44px;
    margin-top: 5.76px;
    font-size: 38.16px;
    color: #232221;
    font-family: 'Comfortaa', Arial, sans-serif;
    margin-bottom: 57.6px;
}

.invite-block .calendar-table .day,
.invite-block .calendar-table .date {

    text-align: center;
}

.invite-block .calendar-table .date {
    margin-top: 25.2px;
}

.invite-block .calendar-table .active {
    color: #e8e4d9;
    position: relative;
    font-weight: 700;
}
.calendar-table .active {

}
.invite-item-petlya {
    position: absolute;
    left: 213.84px;
    top: 72.0px;
}
.data-day {
    display: block;
    z-index: 999;
    position: relative;
}
.invite-block .heart-svg {
    position: absolute;
    left: 8%;
    top: -49%;
    pointer-events: none;

}
.location-block {
    padding: 25.92px 0 120px 0;
    text-align: center;
}
.timing-cell--left .timing-caption,
.timing-cell--right .timing-caption {
    width: 291.34px;
    max-width: 100%;
}

.location-title {
    font-family: 'Novoposelensky', 'Comfortaa', Arial, sans-serif;
    color: #495b2a;
    margin-bottom: 64.8px;
    font-size: 69.12px;
    font-weight: 100;
}

.location-map-wrap {
    position: relative;
    width: 1067.04px; /* адаптируй под свою ширину */
    height: 635.76px;
    margin: 0 auto;
}

.location-map-bg {
    position: absolute;
    left: 0; top: 0; right: 0; bottom: 0;
    width: 100%;
    height: 100%;
    border-radius: 10.08px;
    overflow: hidden;
    z-index: 1;
}

.location-yandex-map-root {
    width: 100%;
    height: 100%;
    min-height: 216px;
}

/* Полароид: ещё −10% габарит, сдвиг влево 32px; скотч (::before) заходит на рамку и выступает наружу */
.location-polaroid-bg {
    position: relative;
    left: -11px;
    top: -4.23px;
    width: 468px;
    height: 658px;
    box-sizing: border-box;
    padding: 29px 22px 44px 22px;
    --polaroid-tilt: -8deg;
    background: linear-gradient(155deg, #faf8f4 0%, #efede5 42%, #e6e2d6 100%);
    border: 1px solid rgba(150, 140, 120, 0.32);
    box-shadow:
        0 22px 56px rgba(49, 48, 38, 0.22),
        0 8px 20px rgba(49, 48, 38, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.72);
    border-radius: 5px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    overflow: visible;
    transform: rotate(var(--polaroid-tilt));
    transform-origin: center center;
}

.location-polaroid-bg::before {
    content: '';
    position: absolute;
    top: -7px;
    left: 50%;
    width: min(31%, 144px);
    height: 14px;
    background: linear-gradient(
        90deg,
        rgba(188, 176, 152, 0.55) 0%,
        rgba(240, 232, 212, 0.92) 42%,
        rgba(218, 206, 182, 0.7) 100%
    );
    border: 1px solid rgba(130, 118, 98, 0.28);
    border-radius: 1px;
    transform: translateX(-50%) rotate(-20deg);
    z-index: 8;
    pointer-events: none;
    box-shadow:
        0 2px 4px rgba(0, 0, 0, 0.12),
        0 1px 0 rgba(255, 255, 255, 0.45) inset;
}

.location-polaroid-media {
    position: relative;
    z-index: 2;
    flex: 0 0 auto;
    width: 100%;
    aspect-ratio: 1 / 1;
    margin-top: 13px;
    overflow: hidden;
    background: #0c0c0c;
    border-radius: 3px;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.14);
    pointer-events: none;
}

.location-polaroid-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    background: #000;
    transform: scale(1.2);
    transform-origin: center center;
}

.location-polaroid-text {
    border-radius: 5.76px;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
    font-family: 'Comfortaa', Arial, sans-serif;
    position: relative;
    align-self: center;
    margin-left: 0;
    margin-top: auto;
    padding: 8px 6px 4px 6px;
    z-index: 4;
    flex-shrink: 0;
    text-align: center;
}

.location-photo-title {
    font-weight: 700;
    color: #5A6B2B;
    font-size: calc(17.28px + 1pt);
    margin-bottom: 18.72px;
}

.location-photo-desc {
    color: #5A6B2B;
    font-size: calc(12.96px + 1pt);
    line-height: 1.35;
    text-align: center;
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto;
}

.timing-block {
    padding: 23.04px 0 34.56px 0;
    text-align: center;
    position: relative;
}

.timing-title {
    font-family: 'Novoposelensky', 'Comfortaa', Arial, sans-serif;
    font-size: 69.12px;
    color: #5A6B2B;
    letter-spacing: 0.08em;
    margin-bottom: 73.44px;
}

.timing-content {
    --timing-deco-size: 220px;
    --timing-gap: 100px;
    --timing-line-col: 187.2px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) var(--timing-line-col) minmax(0, 1fr);
    grid-template-rows: repeat(5, auto);
    align-items: center;
    column-gap: var(--timing-gap);
    row-gap: clamp(20px, 3.2vw, 44px);
    position: relative;
    min-height: 0;
}

.timing-cell {
    position: relative;
    z-index: 2;
    text-align: left;
    max-width: 396px;
}

/* Левые — 100px от линии; правые — симметрично */
.timing-cell--1,
.timing-cell--3,
.timing-cell--5 {
    grid-column: 1;
    justify-self: end;
    margin: 0;
    width: auto;
    max-width: 100%;
}

.timing-cell--2,
.timing-cell--4 {
    grid-column: 3;
    justify-self: start;
    margin: 0;
    width: auto;
    max-width: 100%;
}

.timing-cell--1 {
    grid-row: 1;
}

.timing-cell--2 {
    grid-row: 2;
}

.timing-cell--3 {
    grid-row: 3;
}

.timing-cell--4 {
    grid-row: 4;
}

.timing-cell--5 {
    grid-row: 5;
}

/* Иллюстрации напротив текстовых блоков (заменяемые img в img/) */
.timing-deco {
    display: flex;
    align-items: center;
    pointer-events: none;
    z-index: 2;
}

.timing-cell--art {
    max-width: none;
    width: auto;
    margin: 0;
    overflow: visible;
}

.timing-cell--art-1,
.timing-cell--art-3,
.timing-cell--art-5 {
    grid-column: 3;
    justify-self: start;
}

.timing-cell--art-2,
.timing-cell--art-4 {
    grid-column: 1;
    justify-self: end;
}

.timing-cell--art-1 { grid-row: 1; }
.timing-cell--art-2 { grid-row: 2; }
.timing-cell--art-3 { grid-row: 3; }
.timing-cell--art-4 { grid-row: 4; }
.timing-cell--art-5 { grid-row: 5; }

.timing-deco img {
    display: block;
    height: auto;
    max-width: none;
}

.timing-cell--art-1 img,
.timing-cell--art-2 img,
.timing-cell--art-3 img,
.timing-cell--art-4 img,
.timing-cell--art-5 img {
    width: var(--timing-deco-size);
    height: auto;
}

.location-item-blick_1 {
    width: auto;
    display: block;
    position: absolute;
    bottom: 22%;
    left: 15%;
    z-index: 5;
    pointer-events: none;
}
.location-item-blick_2 {
    width: auto;
    display: block;
    position: absolute;
    bottom: 15%;
    right: 6%;
    z-index: 5;
    pointer-events: none;
}
.dresscode-disc-text {
    font-size: 23.04px;
    text-align: left;
    margin-left: 40%;
    margin-top: 72.0px;
    margin-bottom: 48px;
    color: #5A6B2B;
}

.dresscode-film {
    margin-top: 56px;
}

.dresscode-film .film-one-photo-block {
    margin-top: 0;
}
.timing-item {
    margin-bottom: 0;
    font-family: 'Comfortaa', Arial, sans-serif;
}

.timing-time {
    font-size: 103.68px;
    font-weight: 500;
    color: #232221;
    margin-bottom: 12.44px;
}

.timing-caption {
    color: #232221;
    margin-bottom: 18.66px;
    font-size: 24.89px;
}
.timing-caption b{
    font-size: 37.32px;
    font-weight: 700;
}
.timing-line {
    grid-column: 2;
    grid-row: 1 / -1;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    justify-self: center;
    position: relative;
    z-index: 1;
    margin: 0;
    align-self: stretch;
    display: flex;
    align-items: stretch;
    justify-content: center;
    min-height: 0;
}

.timing-line-svg {
    width: 100%;
    height: 100%;
    min-height: 0;
    display: block;
    flex: 1 1 auto;
    user-select: none;
    pointer-events: none;
}

/* Сердечки на линии: размер фиксирован, top/left выставляет скрипт под каждый пункт */
.timing-line-heart-marker {
    position: absolute;
    width: 38px;
    z-index: 2;
    pointer-events: none;
    transform: translate(-50%, -50%);
}
.timing-line-heart-marker img,
.timing-line-heart-marker svg {
    width: 100%;
    height: auto;
    display: block;
}

/* Кот, ездит по линии при скролле */
.timing-scroll-mascot {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 4;
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: top 0.08s linear, left 0.08s linear;
}
.timing-scroll-mascot img {
    display: block;
    width: 138px;
    height: auto;
    background: transparent;
    border-radius: 0;
    padding: 0;
    box-sizing: border-box;
}

@media (max-width: 1035px) {
    .timing-scroll-mascot img {
        width: 124.2px;
        height: auto;
    }
}

@media (max-width: 930px) {
    .timing-scroll-mascot img {
        width: 105.58px;
        height: auto;
    }
}

@media (max-width: 625px) {
    .timing-scroll-mascot img {
        width: 72.36px;
        height: auto;
    }
}
.wishes-block {
    max-width: 1067.04px;
    margin: 28.8px auto;
    background: #B4C3D7;
    border-radius: 20.16px;
    padding: 91.44px;
    position: relative;
    margin-top: 144.0px;

}

.wishes-title {
    font-family: 'Novoposelensky', 'Comfortaa', Arial, sans-serif;
    font-size: 50.4px;
    color: #5A6B2B;
    letter-spacing: 0.07em;
    margin-bottom: 64.8px;
    text-align: left;
}

.wishes-content {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
}

.wishes-content ol {
    margin: 0;
    padding-left: 0px;
    font-family: 'Comfortaa', Arial, sans-serif;
    font-size: 21.6px;
    color: #232221;
    flex: 1 1 66%;
    line-height: 1.4;
    max-width: 730.08px;
}

.wishes-content li {
    margin-bottom: 14.4px;
    padding-left: 72.0px;
}

.wishes-glasses {
    flex: 0 0 auto;
    width: 570.58px;
    height: auto;
    align-self: center;
}

.wishes-glasses-img {
    display: block;
    width: 100%;
    height: auto;
}
.wishes-content li::marker {
    font-size: 28.8px;
    color: #232221;
    font-family: inherit;
}

.addition-block {
    text-align: center;
    padding: 34.56px 0 46.08px 0;
    max-width: 824.4px;
    margin: 40px auto 36px;
}

.addition-title {
    font-family: 'Novoposelensky', 'Comfortaa', Arial, sans-serif;
    font-size: 69.12px;
    color: #3A5930;
    letter-spacing: 0.06em;
    margin-bottom: 25.2px;
}

.addition-text {
    font-family: 'Comfortaa', Arial, sans-serif;
    font-size: 28.8px;
    color: #232221;
    margin-bottom: 23.04px;
}

.addition-contact {
    font-family: 'Comfortaa', Arial, sans-serif;
    font-size: 28.8px;
    color: #232221;
    margin-bottom: 14.4px;
}

.addition-contact-name {
    display: block;
    font-size: 28.8px;
    font-weight: 600;
    margin-top: 10.8px;
}

.addition-btn {
    display: inline-block;
    padding: 11.52px 46.08px;
    background: #B4C3D7;
    color: #232221;
    font-family: 'Comfortaa', Arial, sans-serif;
    font-size: 25.92px;
    border-radius: 15.84px;
    text-decoration: none;
    margin-top: 14.4px;
    transition: background 0.2s, color 0.2s;
    border: 0;
    cursor: pointer;
}

.addition-btn:hover {
    background: #b1bfd3;
    color: #3A5930;
}
.photo-single-block {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 0 12px;
}

.photo-collage {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(20px, 3.5vw, 48px);
    max-width: 1238.4px;
    width: min(92vw, 1238.4px);
    margin: 0 auto;
}

.photo-polaroid {
    position: relative;
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
    padding: clamp(18px, 2.4vw, 28px) clamp(16px, 2vw, 22px) clamp(24px, 3vw, 36px);
    box-sizing: border-box;
    background: linear-gradient(155deg, #faf8f4 0%, #efede5 42%, #e6e2d6 100%);
    border: 1px solid rgba(150, 140, 120, 0.32);
    box-shadow:
        0 22px 56px rgba(49, 48, 38, 0.22),
        0 8px 20px rgba(49, 48, 38, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.72);
    border-radius: 5px;
    transform: rotate(var(--photo-tilt, 0deg));
    transform-origin: center center;
    overflow: visible;
}

/* Скотч: одна полоска сверху, толще оригинала; угол свой у каждого фото */
.photo-polaroid::before {
    content: '';
    position: absolute;
    top: -9px;
    left: 50%;
    width: min(36%, 168px);
    height: 22px;
    background: linear-gradient(
        90deg,
        rgba(188, 176, 152, 0.55) 0%,
        rgba(240, 232, 212, 0.92) 42%,
        rgba(218, 206, 182, 0.7) 100%
    );
    border: 1px solid rgba(130, 118, 98, 0.28);
    border-radius: 1px;
    transform: translateX(-50%) rotate(var(--tape-tilt, -20deg));
    z-index: 9;
    pointer-events: none;
    box-shadow:
        0 2px 5px rgba(0, 0, 0, 0.14),
        0 1px 0 rgba(255, 255, 255, 0.45) inset;
}

.photo-polaroid--1 {
    --photo-tilt: -4deg;
    --tape-tilt: -34deg;
}

.photo-polaroid--1::before {
    left: 44%;
    width: min(34%, 156px);
}

.photo-polaroid--2 {
    --photo-tilt: 3.5deg;
    --tape-tilt: 16deg;
}

.photo-polaroid--2::before {
    left: 53%;
    width: min(38%, 172px);
}

.photo-polaroid--3 {
    --photo-tilt: -5deg;
    --tape-tilt: -11deg;
}

.photo-polaroid--3::before {
    left: 47%;
    width: min(33%, 150px);
    height: 20px;
}

.photo-polaroid--4 {
    --photo-tilt: 2.5deg;
    --tape-tilt: 28deg;
}

.photo-polaroid--4::before {
    left: 56%;
    width: min(37%, 164px);
    height: 24px;
}

.photo-polaroid__media {
    position: relative;
    z-index: 2;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #0c0c0c;
    border-radius: 3px;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.14);
}

.photo-polaroid__media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center center;
}

.dresscode-block {
    text-align: center;
    padding: 34.56px 0 0 0;
    margin-top: 40px;
}

.dresscode-title {
    font-family: 'Novoposelensky', 'Comfortaa', Arial, sans-serif;
    font-size: 69.12px;
    color: #3A5930;
    margin-bottom: 21.6px;
}

.dresscode-desc {
    font-family: 'Comfortaa', Arial, sans-serif;
    font-size: 28.8px;
    color: #000;
    margin-bottom: 57.6px;;
    line-height: 1.22;
}

.dresscode-image-row {
    position: relative;
    max-width: 1078.56px;
    margin: 0 auto 0 auto;
    height: 478.8px;
    padding-bottom: 40px;
}

.dresscode-image {
    display: block;
    width: 100%;
    max-width: 520.56px;
    margin: 0 auto;
}

.dresscode-colors-text {
    position: absolute;
    font-family: 'SohostdExtraLightItalic', 'Novoposelensky', 'Comfortaa', Arial, sans-serif;
    font-size: 24.48px;
    color: #96a4ca;
    opacity: 0.87;
    pointer-events: none;
    user-select: none;
    font-style: italic;
    white-space: nowrap;
}

.dresscode-colors-lady {
    left: -31.68px;
    bottom: -5.76px;
    font-size: 25.92px;
    font-family: 'SohostdExtraLightItalic', 'Novoposelensky', 'Comfortaa', Arial, sans-serif;
}

.dresscode-colors-right {
    right: -10.8px;
    top: 31.68px;
    font-size: 20.16px;
    font-style: italic;
    transform: rotate(-12deg);
}
.film-one-photo-block {
    position: relative;
    width: 100%;
    max-width: 1396.08px; /* Размер по PNG-плёнке */
    aspect-ratio: 1939 / 697;
    margin: 28.8px auto 0 auto;
    overflow: hidden;
    /* Можно убрать фон, если нужен полностью прозрачный */
}

.film-one-photo-bg {
    position: absolute;
    left: 0; top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;      /* или object-fit: contain; если фото не подгонять по высоте */
    z-index: 1;
}

.film-one-photo-overlay {
    position: absolute;
    left: 0; top: 0;
    width: 102%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    user-select: none;
}

/* Сердечки и надпись по центру поверх */
.film-one-center-content {
    text-align: center;
    height: 61.2px;
    padding: 14.4px;
    position: relative;
}

.film-heart {
    font-size: 30.24px;
    opacity: 0.87;
    margin: 0 2.16px;
}

.film-man {
    position: absolute;
    right: 144.0px;
    top: 14.4px;
}

/* Если несколько блоков подряд — расстояние между ними */
.film-one-photo-block + .film-one-photo-block {
    margin-top: 31.68px;
}
.guest-form-block {
    max-width: 628.56px;
    margin: 34.56px auto 0 auto;
}

.guest-form {
    border: 1.44px solid #5A6B2B;
    border-radius: 12.96px;
    padding: 50.4px 56.88px;
    position: relative;
}

.guest-form-title {
    font-family: 'Novoposelensky', 'Comfortaa', Arial, sans-serif;
    color: #5A6B2B;
    font-size: 50.4px;
    text-align: center;
    margin-bottom: 7.2px;
}

.guest-form-desc {
    font-family: 'Comfortaa', Arial, sans-serif;
    color: #232221;
    font-size: 21.6px;
    text-align: center;
    margin-bottom: 46.8px;
}

.guest-form-input,
.guest-form-textarea {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    font-family: 'Comfortaa', Arial, sans-serif;
    font-size: 21.6px;
    padding: 5.76px 11.52px;
    margin-bottom: 0;
    border: 1.44px solid #b5b79f;
    border-radius: 3.6px;
    color: #595959;
    background: transparent;
}

.guest-form-input {
    width: 80%;
    margin-bottom: 18.72px;
}

.guest-form-textarea {
    display: block;
    min-height: 86.4px;
    resize: vertical;
    line-height: 1.35;
}

.guest-form-group {
    margin-bottom: 36.0px;
}

.guest-form-question {
    font-family: 'Comfortaa', Arial, sans-serif;
    font-size: 21.6px;
    color: #000;
    margin-bottom: 21.6px;
}

.guest-form-checkbox {
    display: block;
    font-family: 'Comfortaa', Arial, sans-serif;
    font-size: 15px;
    color: #000;
    margin-bottom: 3.6px;
    cursor: pointer;
    user-select: none;
}

.guest-form-checkbox input[type="checkbox"],
.guest-form-checkbox input[type="radio"] {
    accent-color: #5A6B2B;
    width: 12.96px;
    height: 12.96px;
    margin-right: 4.32px;
    vertical-align: middle;
}

.guest-form-add {
    color: #5A6B2B;
    font-family: 'Comfortaa', Arial, sans-serif;
    font-size: 18.72px;
    margin: 17.28px 0 21.6px 1.44px;
    cursor: pointer;
    text-align: center;
}

.guest-form-btn {
    background: #5A6B2B;
    color: #E8E4D9;
    font-family: 'Comfortaa', Arial, sans-serif;
    font-size: 21.6px;
    border-radius: 7.2px;
    border: none;
    padding: 8.64px 27.36px;
    display: block;
    margin: 0 auto;
    margin-top: 61.2px;
    cursor: pointer;
    transition: background 0.17s;
}

.guest-form-btn:hover {
    background: #5A6B2B;
}

.guest-form-flower {
    position: absolute;
    right: 24.48px;
    bottom: 194.4px;
    width: 114.48px;
    opacity: 0.85;
    pointer-events: none;
    user-select: none;
}

.remove-guest-btn {
    margin: 11.52px 0 0 0;
    background: #fff0f0;
    border: 1.08px solid #b07070;
    color: #b07070;
    border-radius: 5.04px;
    padding: 3.6px 15.84px;
    font-family: 'Comfortaa', Arial, sans-serif;
    font-size: 10.8px;
    cursor: pointer;
    transition: background 0.14s;
    margin: auto;
    margin-bottom: 15px;
    margin-top: 70px;
}
.remove-guest-btn:hover {
    background: #fce1e1;
}
.waiting-block {
    text-align: center;
    padding: 50.4px 0 37.44px 0;
    min-height: 244.8px;
}

.waiting-title {
    font-family: 'Denistina', cursive, Arial, sans-serif;
    font-size: 72.0px;
    color: #495b2a;
    margin-bottom: 14.4px;
    margin-top: 0;
}
.waiting-text-block {
    color: #96A4CA;
    font-size: 34.56px;
    width: 475.2px;
    /* text-align: center; */
    margin: auto;
    margin-bottom: 28.8px;
}
.waiting-frogs-img {
    width: 258.34px;
    height: auto;
    max-width: 70vw;
    object-fit: contain;
    opacity: 0.93;
    margin-top: 0;
}
.hero-item-bant svg {
    width: 137px;
    height: 93px;
}
.hero-item-bant svg {
    width: 137px;
    height: 93px;
}
.hero-item-heart svg {
    width: 158px;
    height: 164px;
}
.hero-item-rings img {
    width: 204px;
    height: auto;
    display: block;
}
.hero-item-stars img {
    width: 168px;
    height: auto;
    display: block;
}
.invite-item-petlya  svg{
    width: 108px;
    height: 95px;
}
.invite-svg img{
    width: 414px;
    height: auto;
    max-width: 100%;
    display: block;
    margin: 0 auto;
}
.heart-svg svg{
    width: 58.8px;
    height: 70.7px;
}
.location-item-blick_1 svg,.location-item-blick_2 svg{
    width: 43.4px;
    height: 42.7px;
}
.wishes-glasses-img {
    max-width: 555.36px;
}
.dresscode-colors-lady svg{
    width: 164px;
    height: 97px;
}
.dresscode-colors-right svg{
    width: 193px;
    height: 109px
}
.film-one-center-content svg{
    width: 375px;
    height: 53px;
}
.guest-form-flower svg{
    width: 111px;
    height: 180px;
}
.hero-names .text-right svg {
    width: 25.6px !important;
    height: 31.92px !important;
}
.big-numbers-list {
    counter-reset: num;
    list-style: none;
    margin: 0;
    padding: 0;
}

.big-numbers-list li {
    position: relative;
    margin-bottom: 24px;
    padding-left: 56px; /* Место под цифру */
    font-size: 18px;
    line-height: 1.45;
}

.big-numbers-list li::before {
    counter-increment: num;
    content: counter(num) ".";
    position: absolute;
    left: 0;
    top: 0;
    font-size: 40px;
    font-weight: 700;
    line-height: 1;
    width: 48px;            /* Фикс ширины под все цифры */
    text-align: left;
}

/* Ещё на 10% меньше — при ширине <= 1035px */
@media (max-width: 1035px) {
    .hero-names .text-right svg {
        width: 23.04px !important;
        height: 28.73px !important;
    }
}

/* Ещё на 15% меньше — при ширине <= 930px */
@media (max-width: 930px) {
    .hero-names .text-right svg {
        width: 19.58px !important;
        height: 24.42px !important;
    }
}

/* Ещё на 20% меньше — при ширине <= 625px */
@media (max-width: 625px) {
    .hero-names .text-right svg {
        width: 15.66px !important;
        height: 19.54px !important;
    }
}
/* Ещё на 10% меньше — при ширине <= 1035px */
@media (max-width: 1035px) {
    .big-numbers-list li {
        padding-left: 50.4px;
        font-size: 16.2px;
    }
    .big-numbers-list li::before {
        font-size: 36px;
        width: 43.2px;
    }
}

/* Ещё на 15% меньше — при ширине <= 930px */
@media (max-width: 930px) {
    .big-numbers-list li {
        padding-left: 42.8px;      /* 50.4 - 15% */
        font-size: 13.77px;        /* 16.2 - 15% */
    }
    .big-numbers-list li::before {
        font-size: 30.6px;         /* 36 - 15% */
        width: 36.72px;            /* 43.2 - 15% */
    }
}

/* Ещё на 20% меньше — при ширине <= 625px */
@media (max-width: 625px) {
    .big-numbers-list li {
        padding-left: 34.24px;     /* 42.8 - 20% */
        font-size: 11.02px;        /* 13.77 - 20% */
    }
    .big-numbers-list li::before {
        font-size: 24.48px;        /* 30.6 - 20% */
        width: 29.38px;            /* 36.72 - 20% */
    }
}
@media (max-width: 1400px) {
    .container { max-width: 1244.16px; }
    .hero { max-width: 1244.16px; min-height: 349.92px; height: 1101.6px; }
    .hero-item-bant { top: 64.8px; left: 144.5px; }
    .hero-item-heart { top: 259.2px; right: 123.12px; }
    .hero-bg-heart { top: 32.4px; width: 246.24px; height: 226.8px; }
    .hero-couple { top: 77.76px; width: 917.57px; }
    .hero-names { right: 78px; top: 259.2px; left: auto; font-size: 49.77px; }
    .hero-top-right { left: 40px; top: 64.8px; right: auto; font-size: 67.39px; max-width: 891.65px; }
    .hero-title { bottom: 38.88px; font-size: 84.24px; }
    .hero-item-stars { bottom: 245.68px; right: 150.51px; }
    .hero-item-rings { bottom: 422.88px; left: 96.82px; }
    .hero-bottom-left, .hero-bottom-right { bottom: 42.12px; }
    .hero-bottom-left { left: 18.14px; }
    .hero-bottom-right { right: 24.62px; }
    .invite-block .invite-text { margin-bottom: 10.37px; font-size: 25.92px; }
    .invite-block .invite-svg { margin: 51.19px 0 11.66px; }
    .invite-block .calendar-month { font-size: 35.64px; margin-top: 64.8px; margin-bottom: 25.92px; }
    .invite-block .calendar-table { gap: 49.90px; font-size: 34.34px; margin-bottom: 51.84px; }
    .invite-block .calendar-table .date { margin-top: 22.68px; }
    .invite-item-petlya { left: 192.46px; top: 64.8px; }
    .location-block { padding: 23.33px 0 126px 0; }
    .timing-cell--left .timing-caption,
    .timing-cell--right .timing-caption { width: 182.09px; }
    .location-title { margin-bottom: 58.32px; font-size: 62.21px; }
    .location-map-wrap { width: 960.34px; height: 572.18px; }
    .location-map-bg { border-radius: 9.07px; }
    .location-yandex-map-root { min-height: 194.4px; }
    .location-polaroid-bg { left: -13.1px; top: 1.19px; width: 421.09px; height: auto; min-height: 0; padding: 26px 23px 26px 23px; gap: 14px; overflow: hidden; }
    .location-polaroid-text { border-radius: 5.18px; padding: 12px 7px 10px 7px; }
    .location-photo-title { font-size: calc(15.55px + 1pt); margin-bottom: 16.85px; }
    .location-photo-desc { font-size: calc(11.66px + 1pt); }
    .timing-block { padding: 20.74px 0 31.10px 0; }
    .timing-title { font-size: 62.21px; margin-bottom: 66.10px; }
    .timing-content {
        --timing-deco-size: 212.62px;
        --timing-line-col: 168.48px;
        --timing-gap: 90px;
        row-gap: clamp(18px, 2.9vw, 40px);
    }
    .dresscode-disc-text { font-size: 20.74px; margin-top: 64.8px; }
    .timing-time { font-size: 64.8px; margin-bottom: 7.78px; }
    .timing-caption { margin-bottom: 11.66px; font-size: 15.55px; }
    .timing-caption b { font-size: 23.33px; }
    .timing-line { width: 100%; max-width: 100%; min-width: 0; margin: 0; }
    .timing-line-heart-marker { width: 42.78px; height: 42.78px; }
    .timing-item-heand { right: 388.8px; top: 129.6px; }
    .timing-item-heart { left: 338.91px; top: 475.00px; }
    .timing-item-eat { right: 341.5px; bottom: 364.18px; }
    .timing-item-music { left: 320.76px; bottom: -45.36px; }
    .wishes-block { max-width: 960.34px; border-radius: 18.14px; padding: 82.30px; margin-top: 129.6px; }
    .wishes-title { font-size: 45.36px; margin-bottom: 58.32px; }
    .wishes-content ol { padding-left: 0px; font-size: 19.44px; max-width: 657.07px; }
    .wishes-content li { margin-bottom: 12.96px; padding-left: 64.8px; }
    .wishes-glasses { width: 256.76px; }
    .wishes-content li::marker { font-size: 25.92px; }
    .addition-block { padding: 31.10px 0 41.47px 0; max-width: 742.00px; margin-bottom: 32.40px; }
    .addition-title { font-size: 62.21px; margin-bottom: 22.68px; }
    .addition-text, .addition-contact, .addition-contact-name { font-size: 25.92px; }
    .addition-contact-name { margin-top: 9.72px; }
    .addition-btn { padding: 10.37px 41.47px; border-radius: 14.26px; font-size: 23.33px; margin-top: 12.96px; }
    .photo-single-block { }
    .photo-collage { max-width: 1114.56px; }
    .dresscode-block { padding: 31.10px 0 0 0; }
    .dresscode-title { font-size: 62.21px; margin-bottom: 19.44px; }
    .dresscode-desc { font-size: 25.92px; margin-bottom: 51.84px; }
    .dresscode-image-row { max-width: 970.70px; height: 430.92px; }
    .dresscode-image { max-width: 468.50px; }
    .dresscode-colors-text { font-size: 22.03px; }
    .dresscode-colors-lady { left: -28.51px; bottom: -5.18px; font-size: 23.33px; }
    .dresscode-colors-right { right: -9.72px; top: 28.51px; font-size: 18.14px; }
    .film-one-photo-block { max-width: 1256.47px; margin: 25.92px auto 0 auto; }
    .film-one-center-content { height: 55.08px; padding: 12.96px; }
    .film-heart { font-size: 27.22px; margin: 0 1.94px; }
    .film-man { right: 129.6px; top: 12.96px; }
    .film-one-photo-block + .film-one-photo-block { margin-top: 28.51px; }
    .guest-form-block { max-width: 565.70px; margin: 31.10px auto 0 auto; }
    .guest-form { border-radius: 11.66px; padding: 45.36px 51.19px; }
    .guest-form-title { font-size: 45.36px; margin-bottom: 6.48px; }
    .guest-form-desc { font-size: 19.44px; margin-bottom: 42.12px; }
    .guest-form-input,
    .guest-form-textarea { font-size: 19.44px; padding: 5.18px 10.37px; border-radius: 3.24px; }
    .guest-form-input { margin-bottom: 16.85px; }
    .guest-form-group { margin-bottom: 32.4px; }
    .guest-form-question { font-size: 19.44px; margin-bottom: 19.44px; }
    .guest-form-checkbox { font-size: 13px; margin-bottom: 3.24px; }
    .guest-form-checkbox input[type="checkbox"],
    .guest-form-checkbox input[type="radio"] { width: 11.66px; height: 11.66px; margin-right: 3.89px; }
    .guest-form-add { font-size: 16.85px; margin: 15.55px 0 19.44px 1.3px; }
    .guest-form-btn { border-radius: 6.48px; font-size: 19.44px; padding: 7.78px 24.62px; margin-top: 55.08px; }
    .guest-form-flower { right: 22.03px; bottom: 174.96px; width: 103.03px; }
    .waiting-block { padding: 45.36px 0 33.7px 0; min-height: 220.32px; }
    .waiting-title { font-size: 64.8px; margin-bottom: 12.96px; }
    .waiting-text-block { font-size: 31.10px; width: 427.68px; margin-bottom: 25.92px; }
    .waiting-frogs-img { width: 232.5px; }
    /* SVG конкретно */
    .hero-item-bant svg { width: 123.3px; height: 83.7px; }
    .hero-item-heart svg { width: 142.2px; height: 147.6px; }
    .hero-item-rings img { width: 183.6px; height: auto; }
    .hero-item-stars img { width: 151.2px; height: auto; }
    .invite-item-petlya svg{ width: 97.2px; height: 85.5px; }
    .invite-svg img{ width: 372.6px; height: 234.9px; }
    .heart-svg svg{ width: 52.92px; height: 63.63px; }
    .location-item-blick_1 svg,.location-item-blick_2 svg{ width: 39.06px; height: 38.43px; }
    .wishes-glasses-img { width: 249.91px; height: 244.3px; }
    .dresscode-colors-lady svg{ width: 147.6px; height: 87.3px; }
    .dresscode-colors-right svg{ width: 173.7px; height: 98.1px; }
    .film-one-center-content svg{ width: 337.5px; height: 47.7px; }
    .guest-form-flower svg{ width: 99.9px; height: 162px; }
}
@media (max-width: 1280px) {
    .container { max-width: 1057.54px; }
    .hero { max-width: 1057.54px; min-height: 297.43px; height: 936.36px; }
    .hero-item-bant { top: 55.08px; left: 122.83px; }
    .hero-item-heart { top: 220.32px; right: 104.65px; }
    .hero-bg-heart { top: 25.54px; width: 209.30px; height: 192.78px; }
    .hero-couple { top: 62.56px; width: 779.93px; }
    .hero-names { right: 62px; top: 220.32px; left: auto; font-size: 42.3px; }
    .hero-top-right { left: 34px; top: 55.08px; right: auto; font-size: 57.28px; max-width: 757.9px; }
    .hero-title { bottom: 32.05px; font-size: 71.60px; }
    .hero-item-stars { bottom: 205.83px; right: 121.93px; }
    .hero-item-rings { bottom: 251.42px; left: 69.29px; }
    .hero-bottom-left, .hero-bottom-right { bottom: 35.80px; }
    .hero-bottom-left { left: 15.41px; }
    .hero-bottom-right { right: 20.93px; }
    .invite-block .invite-text { margin-bottom: 8.82px; font-size: 21.03px; }
    .invite-block .invite-svg { margin: 41.66px 0 9.92px; }
    .invite-block .calendar-month { font-size: 28.70px; margin-top: 52.08px; margin-bottom: 20.87px; }
    .invite-block .calendar-table { gap: 41.41px; font-size: 27.19px; margin-bottom: 41.98px; }
    .invite-block .calendar-table .date { margin-top: 18.28px; }
    .invite-item-petlya { left: 159.59px; top: 55.08px; }
    .location-block { padding: 18.83px 0 118px 0; }
    .timing-cell--left .timing-caption,
    .timing-cell--right .timing-caption { width: 154.78px; }
    .location-title { margin-bottom: 49.57px; font-size: 52.88px; }
    .location-map-wrap { width: 816.29px; height: 486.35px; }
    .location-map-bg { border-radius: 7.71px; }
    .location-yandex-map-root { min-height: 165.24px; }
    .location-polaroid-bg { left: -16.75px; top: 10.56px; width: 357.92px; height: auto; min-height: 0; padding: 22px 20px 22px 20px; gap: 13px; overflow: hidden; }
    .location-polaroid-text { border-radius: 4.40px; padding: 10px 6px 8px 6px; }
    .location-photo-title { font-size: calc(12.87px + 1pt); margin-bottom: 13.98px; }
    .location-photo-desc { font-size: calc(9.91px + 1pt); }
    .timing-block { padding: 16.63px 0 24.44px 0; }
    .timing-title { font-size: 52.88px; margin-bottom: 56.19px; }
    .timing-content {
        --timing-deco-size: 180.75px;
        --timing-line-col: 143.2px;
        --timing-gap: 77px;
        row-gap: clamp(16px, 2.6vw, 36px);
    }
    .dresscode-disc-text { font-size: 17.63px; margin-top: 52.08px; }
    .timing-time { font-size: 55.08px; margin-bottom: 6.61px; }
    .timing-caption { margin-bottom: 9.91px; font-size: 12.87px; }
    .timing-caption b { font-size: 19.83px; }
    .timing-line { width: 100%; max-width: 100%; min-width: 0; margin: 0; }
    .timing-line-heart-marker { width: 36.36px; height: 36.36px; }
    .timing-item-heand { right: 319.49px; top: 106.67px; }
    .timing-item-heart { left: 278.08px; top: 396.25px; }
    .timing-item-eat { right: 280.28px; bottom: 303.56px; }
    .timing-item-music { left: 263.64px; bottom: -37.56px; }
    .wishes-block { max-width: 816.29px; border-radius: 15.41px; padding: 69.96px; margin-top: 106.67px; }
    .wishes-title { font-size: 37.56px; margin-bottom: 49.57px; }
    .wishes-content ol { padding-left: 0px; font-size: 15.52px; max-width: 560.51px; }
    .wishes-content li { margin-bottom: 10.99px; padding-left: 52.08px; }
    .wishes-glasses { width: 204.57px; }
    .wishes-content li::marker { font-size: 21.03px; }
    .addition-block { padding: 24.44px 0 32.09px 0; max-width: 617.70px; margin-bottom: 27.54px; }
    .addition-title { font-size: 52.88px; margin-bottom: 18.28px; }
    .addition-text, .addition-contact, .addition-contact-name { font-size: 21.03px; }
    .addition-contact-name { margin-top: 7.78px; }
    .addition-btn { padding: 8.82px 35.25px; border-radius: 12.12px; font-size: 19.83px; margin-top: 10.99px; }
    .photo-single-block { }
    .photo-collage { max-width: 947.38px; }
    .dresscode-block { padding: 24.44px 0 0 0; }
    .dresscode-title { font-size: 52.88px; margin-bottom: 15.52px; }
    .dresscode-desc { font-size: 21.03px; margin-bottom: 41.98px; }
    .dresscode-image-row { max-width: 825.10px; height: 366.28px; }
    .dresscode-image { max-width: 398.22px; }
    .dresscode-colors-text { font-size: 18.73px; }
    .dresscode-colors-lady { left: -24.23px; bottom: -4.41px; font-size: 19.83px; }
    .dresscode-colors-right { right: -8.26px; top: 24.23px; font-size: 15.41px; }
    .film-one-photo-block { max-width: 1068.00px; margin: 21.03px auto 0 auto; }
    .film-one-center-content { height: 46.32px; padding: 10.99px; }
    .film-heart { font-size: 23.14px; margin: 0 1.65px; }
    .film-man { right: 106.67px; top: 10.99px; }
    .film-one-photo-block + .film-one-photo-block { margin-top: 23.24px; }
    .guest-form-block { max-width: 459.90px; margin: 25.44px auto 0 auto; }
    .guest-form { border-radius: 9.91px; padding: 38.56px 43.51px; }
    .guest-form-title { font-size: 37.56px; margin-bottom: 5.51px; }
    .guest-form-desc { font-size: 15.52px; margin-bottom: 33.80px; }
    .guest-form-input,
    .guest-form-textarea { font-size: 15.52px; padding: 4.41px 8.82px; border-radius: 2.75px; }
    .guest-form-input { margin-bottom: 13.98px; }
    .guest-form-group { margin-bottom: 26.54px; }
    .guest-form-question { font-size: 15.52px; margin-bottom: 15.52px; }
    .guest-form-checkbox { font-size: 12px; margin-bottom: 2.75px; }
    .guest-form-checkbox input[type="checkbox"],
    .guest-form-checkbox input[type="radio"] { width: 9.91px; height: 9.91px; margin-right: 3.31px; }
    .guest-form-add { font-size: 14.32px; margin: 13.22px 0 15.52px 1.10px; }
    .guest-form-btn { border-radius: 5.51px; font-size: 15.52px; padding: 6.61px 20.93px; margin-top: 46.32px; }
    .guest-form-flower { right: 18.73px; bottom: 148.72px; width: 87.92px; }
    .waiting-block { padding: 38.56px 0 28.65px 0; min-height: 187.27px; }
    .waiting-title { font-size: 55.08px; margin-bottom: 10.99px; }
    .waiting-text-block { font-size: 26.44px; width: 363.53px; margin-bottom: 20.93px; }
    .waiting-frogs-img { width: 197.64px; }
    /* SVG конкретно */
    .hero-item-bant svg { width: 104.81px; height: 71.15px; }
    .hero-item-heart svg { width: 120.87px; height: 125.46px; }
    .hero-item-rings img { width: 156.06px; height: auto; }
    .hero-item-stars img { width: 128.52px; height: auto; }
    .invite-item-petlya svg{ width: 82.62px; height: 72.68px; }
    .invite-svg img{ width: 316.71px; height: 199.67px; }
    .heart-svg svg{ width: 44.98px; height: 54.09px; }
    .location-item-blick_1 svg,.location-item-blick_2 svg { width: 33.2px; height: 32.67px; }
    .wishes-glasses-img { width: 210.86px; height: 206.09px; }
    .dresscode-colors-lady svg{ width: 124.46px; height: 73.21px; }
    .dresscode-colors-right svg{ width: 146.65px; height: 82.39px; }
    .film-one-center-content svg{ width: 286.88px; height: 40.55px; }
    .guest-form-flower svg{ width: 84.92px; height: 137.7px; }
}
@media (max-width: 1035px) {
    .container { max-width: 951.8px; }
    .hero { max-width: 951.8px; min-height: 267.7px; height: 842.7px; }
    .hero-item-bant { top: 49.6px; left: 110.5px; }
    .hero-item-heart { top: 198.3px; right: 94.2px; }
    .hero-bg-heart { top: 23.0px; width: 188.4px; height: 173.5px; }
    .hero-couple { top: 56.3px; width: 701.94px; }
    .hero-names { right: 48px; top: 198.3px; left: auto; font-size: 38.08px; }
    .hero-top-right { left: 30px; top: 49.6px; right: auto; font-size: 51.52px; max-width: 682.08px; }
    .hero-title { bottom: 28.8px; font-size: 64.44px; }
    .hero-item-stars { bottom: 183.25px; right: 105.7px; }
    .hero-item-rings { bottom: 232.28px; left: 56.4px; }
    .hero-bottom-left, .hero-bottom-right { bottom: 32.2px; }
    .hero-bottom-left { left: 13.87px; }
    .hero-bottom-right { right: 18.83px; }
    .invite-block .invite-text { margin-bottom: 7.94px; font-size: 18.92px; }
    .invite-block .invite-svg { margin: 37.49px 0 8.93px; }
    .invite-block .calendar-month { font-size: 25.83px; margin-top: 46.87px; margin-bottom: 18.78px; }
    .invite-block .calendar-table { gap: 37.27px; font-size: 24.47px; margin-bottom: 37.78px; }
    .invite-block .calendar-table .date { margin-top: 16.45px; }
    .invite-item-petlya { left: 143.63px; top: 49.6px; }
    .location-block { padding: 16.95px 0 112px 0; }
    .timing-cell--left .timing-caption,
    .timing-cell--right .timing-caption { width: 139.3px; }
    .location-title { margin-bottom: 44.6px; font-size: 47.6px; }
    .location-map-wrap { width: 734.66px; height: 437.7px; }
    .location-map-bg { border-radius: 6.94px; }
    .location-yandex-map-root { min-height: 148.72px; }
    .location-polaroid-bg { left: -2.88px; top: 14.50px; width: 322.13px; height: auto; min-height: 0; padding: 21px 18px 21px 18px; gap: 13px; overflow: hidden; }
    .location-polaroid-text { border-radius: 3.96px; padding: 9px 5px 8px 5px; }
    .location-photo-title { font-size: calc(11.59px + 1pt); margin-bottom: 12.58px; }
    .location-photo-desc { font-size: calc(8.92px + 1pt); }
    .timing-block { padding: 14.97px 0 22.00px 0; }
    .timing-title { font-size: 47.6px; margin-bottom: 50.57px; }
    .timing-content {
        --timing-deco-size: 158.13px;
        --timing-line-col: 121.72px;
        --timing-gap: 65px;
        row-gap: clamp(14px, 2.4vw, 32px);
    }
    .dresscode-disc-text { font-size: 14.99px; margin-top: 46.87px; }
    .timing-time { font-size: 46.82px; margin-bottom: 5.62px; }
    .timing-caption { margin-bottom: 8.42px; font-size: 11.59px; }
    .timing-caption b { font-size: 17.02px; }
    .timing-line { width: 100%; max-width: 100%; min-width: 0; margin: 0; }
    .timing-line-heart-marker { width: 30.9px; height: 30.9px; }
    .timing-item-heand { right: 287.54px; top: 95.99px; }
    .timing-item-heart { left: 250.37px; top: 337.81px; }
    .timing-item-eat { right: 252.25px; bottom: 258.03px; }
    .timing-item-music { left: 237.09px; bottom: -33.80px; }
    .wishes-block { max-width: 694.1px; border-radius: 13.09px; padding: 59.47px; margin-top: 95.99px; }
    .wishes-title { font-size: 31.93px; margin-bottom: 42.13px; }
    .wishes-content ol { padding-left:0px; font-size: 13.19px; max-width: 476.43px; }
    .wishes-content li { margin-bottom: 9.34px; padding-left: 46.27px; }
    .wishes-glasses { width: 173.89px; }
    .wishes-content li::marker { font-size: 18.92px; }
    .addition-block { padding: 22.00px 0 28.28px 0; max-width: 525.05px; margin-bottom: 23.41px; }
    .addition-title { font-size: 47.6px; margin-bottom: 15.54px; }
    .addition-text, .addition-contact, .addition-contact-name { font-size: 18.92px; }
    .addition-contact-name { margin-top: 7.00px; }
    .addition-btn { padding: 7.94px 31.96px; border-radius: 10.91px; font-size: 17.02px; margin-top: 9.89px; }
    .photo-single-block { }
    .photo-collage { max-width: 805.27px; }
    .dresscode-block { padding: 22.00px 0 0 0; }
    .dresscode-title { font-size: 47.6px; margin-bottom: 13.19px; }
    .dresscode-desc { font-size: 18.92px; margin-bottom: 37.68px; }
    .dresscode-image-row { max-width: 701.33px; height: 311.34px; }
    .dresscode-image { max-width: 338.49px; }
    .dresscode-colors-text { font-size: 15.92px; }
    .dresscode-colors-lady { left: -20.60px; bottom: -3.97px; font-size: 17.02px; }
    .dresscode-colors-right { right: -7.34px; top: 21.60px; font-size: 13.09px; }
    .film-one-photo-block { max-width: 907.80px; margin: 18.92px auto 0 auto; }
    .film-one-center-content { height: 39.37px; padding: 9.89px; }
    .film-heart { font-size: 20.16px; margin: 0 1.48px; }
    .film-man { right: 95.99px; top: 9.89px; }
    .film-one-photo-block + .film-one-photo-block { margin-top: 18.92px; }
    .guest-form-block { max-width: 413.91px; margin: 22.90px auto 0 auto; }
    .guest-form { border-radius: 8.92px; padding: 34.70px 39.16px; }
    .guest-form-title { font-size: 33.81px; margin-bottom: 4.96px; }
    .guest-form-desc { font-size: 13.97px; margin-bottom: 30.42px; }
    .guest-form-input,
    .guest-form-textarea { font-size: 13.97px; padding: 3.97px 7.97px; border-radius: 2.21px; }
    .guest-form-input { margin-bottom: 10.98px; }
    .guest-form-group { margin-bottom: 19.88px; }
    .guest-form-question { font-size: 13.97px; margin-bottom: 13.97px; }
    .guest-form-checkbox { font-size: 12px; margin-bottom: 1.98px; }
    .guest-form-checkbox input[type="checkbox"],
    .guest-form-checkbox input[type="radio"] { width: 8.92px; height: 8.92px; margin-right: 2.98px; }
    .guest-form-add { font-size: 12.89px; margin: 9.91px 0 12.98px 0.91px; }
    .guest-form-btn { border-radius: 4.96px; font-size: 13.97px; padding: 4.96px 15.33px; margin-top: 34.70px; }
    .guest-form-flower { right: 12.89px; bottom: 102.10px; width: 57.39px; }
    .waiting-block { padding: 34.70px 0 25.79px 0; min-height: 168.18px; }
    .waiting-title { font-size: 47.6px; margin-bottom: 9.89px; }
    .waiting-text-block { font-size: 22.48px; width: 308.00px; margin-bottom: 16.53px; }
    .waiting-frogs-img { width: 177.88px; }
    /* SVG */
    .hero-item-bant svg { width: 94.33px; height: 64.19px; }
    .hero-item-heart svg { width: 108.78px; height: 112.91px; }
    .hero-item-rings img { width: 140.46px; height: auto; }
    .hero-item-stars img { width: 115.82px; height: auto; }
    .invite-item-petlya svg{ width: 75.11px; height: 65.91px; }
    .invite-svg img{ width: 287.77px; height: 181.70px; }
    .heart-svg svg{ width: 40.23px; height: 48.98px; }
    .location-item-blick_1 svg,.location-item-blick_2 svg{ width: 29.22px; height: 28.77px; }
    .wishes-glasses-img { width: 184.65px; height: 179.86px; }
    .dresscode-colors-lady svg{ width: 109.79px; height: 64.23px; }
    .dresscode-colors-right svg{ width: 129.65px; height: 72.03px; }
    .film-one-center-content svg{ width: 243.85px; height: 34.47px; }
    .guest-form-flower svg{ width: 72.18px; height: 117.05px; }

}
@media (max-width: 930px) {
    .container { max-width: 809px; }
    .hero { max-width: 809px; min-height: 227.5px; height: 716.3px; }
    .hero-item-bant { top: 42.2px; left: 94px; }
    .hero-item-heart { top: 168.6px; right: 80.1px; }
    .hero-bg-heart { top: 19.6px; width: 160.14px; height: 147.48px; }
    .hero-couple { top: 47.9px; width: 596.65px; }
    .hero-names { right: 38px; top: 168.6px; left: auto; font-size: 32.37px; }
    .hero-top-right { left: 25px; top: 42.2px; right: auto; font-size: 43.79px; max-width: 579.78px; }
    .hero-title { bottom: 24.5px; font-size: 54.77px; }
    .hero-item-stars { bottom: 152.76px; right: 83.84px; }
    .hero-item-rings { bottom: 206.44px; left: 38.94px; }
    .hero-bottom-left, .hero-bottom-right { bottom: 27.37px; }
    .hero-bottom-left { left: 11.80px; }
    .hero-bottom-right { right: 16.01px; }
    .invite-block .invite-text { margin-bottom: 6.75px; font-size: 16.08px; }
    .invite-block .invite-svg { margin: 31.87px 0 7.59px; }
    .invite-block .calendar-month { font-size: 21.96px; margin-top: 39.84px; margin-bottom: 15.96px; }
    .invite-block .calendar-table { gap: 31.68px; font-size: 20.80px; margin-bottom: 32.11px; }
    .invite-block .calendar-table .date { margin-top: 14.00px; }
    .invite-item-petlya { left: 122.09px; top: 42.2px; }
    .location-block { padding: 14.41px 0 108px 0; }
    .timing-cell--left .timing-caption,
    .timing-cell--right .timing-caption { width: 118.41px; }
    .location-title { margin-bottom: 37.91px; font-size: 40.46px; }
    .location-map-wrap { width: 624.46px; height: 372.05px; }
    .location-map-bg { border-radius: 5.90px; }
    .location-yandex-map-root { min-height: 126.41px; }
    .location-polaroid-bg { left: -20.33px; top: 19.82px; width: 273.81px; height: auto; min-height: 0; padding: 18px 16px 18px 16px; gap: 12px; overflow: hidden; }
    .location-polaroid-text { border-radius: 3.37px; padding: 8px 5px 6px 5px; }
    .location-photo-title { font-size: calc(9.85px + 1pt); margin-bottom: 10.69px; }
    .location-photo-desc { font-size: calc(7.58px + 1pt); }
    .timing-block { padding: 12.72px 0 18.70px 0; }
    .timing-title { font-size: 40.46px; margin-bottom: 42.98px; }
    .timing-content {
        --timing-deco-size: 134.41px;
        --timing-line-col: 103.46px;
        --timing-gap: 55px;
        row-gap: clamp(12px, 2.2vw, 28px);
    }
    .dresscode-disc-text { font-size: 12.74px; margin-top: 39.84px; }
    .timing-time { font-size: 39.80px; margin-bottom: 4.78px; }
    .timing-caption { margin-bottom: 7.16px; font-size: 9.85px; }
    .timing-caption b { font-size: 14.47px; }
    .timing-line { width: 100%; max-width: 100%; min-width: 0; margin: 0; }
    .timing-line-heart-marker { width: 26.25px; height: 26.25px; }
    .timing-item-heand { right: 244.41px; top: 81.59px; }
    .timing-item-heart { left: 212.81px; top: 287.14px; }
    .timing-item-eat { right: 214.41px; bottom: 219.33px; }
    .timing-item-music { left: 201.53px; bottom: -28.73px; }
    .wishes-block { max-width: 589.84px; border-radius: 11.13px; padding: 50.55px; margin-top: 81.59px; }
    .wishes-title { font-size: 27.24px; margin-bottom: 35.81px; }
    .wishes-content ol { padding-left: 0px; font-size: 11.19px; max-width: 405.97px; }
    .wishes-content li { margin-bottom: 7.94px; padding-left: 39.33px; }
    .wishes-glasses { width: 147.81px; }
    .wishes-content li::marker { font-size: 16.08px; }
    .addition-block { padding: 18.70px 0 24.04px 0; max-width: 446.29px; margin-bottom: 19.90px; }
    .addition-title { font-size: 40.46px; margin-bottom: 13.21px; }
    .addition-text, .addition-contact, .addition-contact-name { font-size: 16.08px; }
    .addition-contact-name { margin-top: 5.95px; }
    .addition-btn { padding: 6.75px 27.17px; border-radius: 9.27px; font-size: 14.47px; margin-top: 8.41px; }
    .photo-single-block { }
    .photo-collage { max-width: 684.48px; }
    .dresscode-block { padding: 18.70px 0 0 0; }
    .dresscode-title { font-size: 40.46px; margin-bottom: 11.19px; }
    .dresscode-desc { font-size: 16.08px; margin-bottom: 32.78px; }
    .dresscode-image-row { max-width: 593.34px; height: 263.94px; }
    .dresscode-image { max-width: 286.72px; }
    .dresscode-colors-text { font-size: 13.53px; }
    .dresscode-colors-lady { left: -17.51px; bottom: -3.37px; font-size: 14.47px; }
    .dresscode-colors-right { right: -6.24px; top: 18.37px; font-size: 11.13px; }
    .film-one-photo-block { max-width: 771.63px; margin: 16.08px auto 0 auto; }
    .film-one-center-content { height: 33.47px; padding: 8.41px; }
    .film-heart { font-size: 17.14px; margin: 0 1.26px; }
    .film-man { right: 81.59px; top: 8.41px; }
    .film-one-photo-block + .film-one-photo-block { margin-top: 16.08px; }
    .waiting-block { padding: 29.50px 0 21.92px 0; min-height: 142.95px; }
    .waiting-title { font-size: 40.46px; margin-bottom: 8.41px; }
    .waiting-text-block { font-size: 18.01px; width: 261.80px; margin-bottom: 13.95px; }
    .waiting-frogs-img { width: 151.2px; }
    /* SVG */
    .hero-item-bant svg { width: 80.18px; height: 54.56px; }
    .hero-item-heart svg { width: 92.47px; height: 95.98px; }
    .hero-item-rings img { width: 119.39px; height: auto; }
    .hero-item-stars img { width: 99.05px; height: auto; }
    .invite-item-petlya svg{ width: 64.84px; height: 56.02px; }
    .invite-svg img{ width: 248.61px; height: 156.45px; }
    .heart-svg svg{ width: 34.20px; height: 41.63px; }
    .location-item-blick_1 svg,.location-item-blick_2 svg{ width: 24.84px; height: 24.46px; }
    .wishes-glasses-img { width: 156.95px; height: 152.87px; }
    .dresscode-colors-lady svg{ width: 93.32px; height: 54.59px; }
    .dresscode-colors-right svg{ width: 110.2px; height: 61.23px; }
    .film-one-center-content svg{ width: 207.27px; height: 29.30px; }
    .guest-form-flower svg{ width: 61.35px; height: 99.49px; }

    /* guest-form-block НЕ уменьшаем! Оставляем предыдущие значения */
    /* .guest-form-block, .guest-form, .guest-form-title, .guest-form-desc и т.д. — без изменений */
    .guest-form-title { font-size: 25.81px; margin-bottom: 4.96px; }
}
@media (max-width: 780px) {
    .container { max-width: 687.65px; }
    .hero { max-width: 687.65px; min-height: 193.38px; height: 609.85px; }
    .hero-item-bant { top: 35.87px; left: 79.9px; }
    .hero-item-heart { top: 143.31px; right: 68.08px; }
    .hero-bg-heart { top: 16.66px; width: 136.12px; height: 125.36px; }
    .hero-couple { top: 40.71px; width: 507.16px; }
    .hero-names { right: 26px; top: 143.31px; left: auto; font-size: 27.51px; }
    .hero-top-right { left: 21px; top: 35.87px; right: auto; font-size: 37.23px; max-width: 492.82px; }
    .hero-title { bottom: 20.83px; font-size: 46.55px; }
    .hero-item-stars { bottom: 126.85px; right: 65.26px; }
    .hero-item-rings { bottom: 184.47px; left: 24.1px; }
    .hero-bottom-left, .hero-bottom-right { bottom: 23.27px; }
    .hero-bottom-left { left: 10.03px; }
    .hero-bottom-right { right: 13.61px; }
    .invite-block .invite-text { margin-bottom: 5.74px; font-size: 13.67px; }
    .invite-block .invite-svg { margin: 27.09px 0 6.45px; }
    .invite-block .calendar-month { font-size: 18.67px; margin-top: 33.87px; margin-bottom: 13.57px; }
    .invite-block .calendar-table { gap: 26.93px; font-size: 17.68px; margin-bottom: 27.29px; }
    .invite-block .calendar-table .date { margin-top: 11.9px; }
    .invite-item-petlya { left: 103.78px; top: 35.87px; }
    .location-block { padding: 12.25px 0 104px 0; }
    .timing-cell--left .timing-caption,
    .timing-cell--right .timing-caption { width: 100.65px; }
    .location-title { margin-bottom: 32.22px; font-size: 34.39px; }
    .location-map-wrap { width: 530.79px; height: 316.24px; }
    .location-map-bg { border-radius: 5.02px; }
    .location-yandex-map-root { min-height: 107.45px; }
    .location-polaroid-bg { left: -22.07px; top: 24.35px; width: 232.74px; height: auto; min-height: 0; padding: 16px 14px 16px 14px; gap: 10px; overflow: hidden; }
    .location-polaroid-text { border-radius: 2.87px; padding: 7px 4px 6px 4px; }
    .location-photo-title { font-size: calc(8.37px + 1pt); margin-bottom: 9.09px; }
    .location-photo-desc { font-size: calc(6.44px + 1pt); }
    .timing-block { padding: 10.82px 0 15.9px 0; }
    .timing-title { font-size: 34.39px; margin-bottom: 36.53px; }
    .timing-content {
        --timing-deco-size: 114.25px;
        --timing-line-col: 87.94px;
        --timing-gap: 47px;
        row-gap: clamp(10px, 2vw, 24px);
    }
    .dresscode-disc-text { font-size: 10.83px; margin-top: 33.87px; }
    .timing-time { font-size: 33.83px; margin-bottom: 4.06px; }
    .timing-caption { margin-bottom: 6.09px; font-size: 8.37px; }
    .timing-caption b { font-size: 12.3px; }
    .timing-line { width: 100%; max-width: 100%; min-width: 0; margin: 0; }
    .timing-line-heart-marker { width: 22.32px; height: 22.32px; }
    .timing-item-heand { right: 207.75px; top: 69.35px; }
    .timing-item-heart { left: 180.89px; top: 244.07px; }
    .timing-item-eat { right: 182.25px; bottom: 186.43px; }
    .timing-item-music { left: 171.3px; bottom: -24.42px; }
    .wishes-block { max-width: 501.37px; border-radius: 9.46px; padding: 42.97px; margin-top: 69.35px; }
    .wishes-title { font-size: 23.16px; margin-bottom: 30.44px; }
    .wishes-content ol { padding-left: 0px; font-size: 9.51px; max-width: 345.07px; }
    .wishes-content li { margin-bottom: 6.75px; padding-left: 33.43px; }
    .wishes-glasses { width: 125.65px; }
    .wishes-content li::marker { font-size: 13.67px; }
    .addition-block { padding: 15.9px 0 20.44px 0; max-width: 379.35px; margin-bottom: 16.92px; }
    .addition-title { font-size: 34.39px; margin-bottom: 11.23px; }
    .addition-text, .addition-contact, .addition-contact-name { font-size: 13.67px; }
    .addition-contact-name { margin-top: 5.06px; }
    .addition-btn { padding: 5.74px 23.09px; border-radius: 7.88px; font-size: 12.3px; margin-top: 7.15px; }
    .photo-single-block { }
    .photo-collage { max-width: 581.81px; }
    .dresscode-block { padding: 15.9px 0 0 0; }
    .dresscode-title { font-size: 34.39px; margin-bottom: 9.51px; }
    .dresscode-desc { font-size: 13.67px; margin-bottom: 27.86px; }
    .dresscode-image-row { max-width: 504.34px; height: 224.35px; }
    .dresscode-image { max-width: 243.71px; }
    .dresscode-colors-text { font-size: 11.5px; }
    .dresscode-colors-lady { left: -14.89px; bottom: -2.87px; font-size: 12.3px; }
    .dresscode-colors-right { right: -5.3px; top: 15.61px; font-size: 9.46px; }
    .film-one-photo-block { max-width: 655.88px; margin: 13.67px auto 0 auto; }
    .film-one-center-content { height: 28.45px; padding: 7.15px; }
    .film-heart { font-size: 14.57px; margin: 0 1.07px; }
    .film-man { right: 69.35px; top: 7.15px; }
    .film-one-photo-block + .film-one-photo-block { margin-top: 13.67px; }
    .waiting-block { padding: 25.08px 0 18.63px 0; min-height: 121.51px; }
    .waiting-title { font-size: 34.39px; margin-bottom: 7.15px; }
    .waiting-text-block { font-size: 15.31px; width: 222.53px; margin-bottom: 11.86px; }
    .waiting-frogs-img { width: 128.53px; }
    /* SVG */
    .hero-item-bant svg { width: 68.15px; height: 46.38px; }
    .hero-item-heart svg { width: 78.60px; height: 81.58px; }
    .hero-item-rings img { width: 101.48px; height: auto; }
    .hero-item-stars img { width: 84.19px; height: auto; }
    .invite-item-petlya svg{ width: 55.12px; height: 47.62px; }
    .invite-svg img{ width: 211.32px; height: 133.98px; }
    .heart-svg svg{ width: 29.07px; height: 35.39px; }
    .location-item-blick_1 svg,.location-item-blick_2 svg{ width: 21.12px; height: 20.79px; }
    .wishes-glasses-img { width: 133.41px; height: 129.94px; }
    .dresscode-colors-lady svg{ width: 79.32px; height: 46.40px; }
    .dresscode-colors-right svg{ width: 93.67px; height: 52.05px; }
    .film-one-center-content svg{ width: 176.18px; height: 24.91px; }
    .guest-form-flower svg{ width: 52.15px; height: 84.57px; }

    /* .guest-form-block и его содержимое — без изменений! */
}
@media (max-width: 625px) {
    .container { max-width: 550.12px; }
    .hero { max-width: 550.12px; min-height: 154.70px; height: 487.88px; }
    .hero-item-bant { top: 28.70px; left: 63.92px; }
    .hero-item-heart { top: 114.65px; right: 54.46px; }
    .hero-bg-heart { top: 13.33px; width: 108.90px; height: 100.29px; }
    .hero-couple { top: 32.57px; width: 405.72px; }
    .hero-names { right: 18px; top: 114.65px; left: auto; font-size: 22.01px; }
    .hero-top-right { left: 16px; top: 28.7px; right: auto; font-size: 29.79px; max-width: 394.26px; }
    .hero-title { bottom: 16.67px; font-size: 37.24px; }
    .hero-item-stars { bottom: 97.48px; right: 44.21px; }
    .hero-item-rings { bottom: 159.58px; left: 7.28px; }
    .hero-bottom-left, .hero-bottom-right { bottom: 18.62px; }
    .hero-bottom-left { left: 8.02px; }
    .hero-bottom-right { right: 10.89px; }
    .invite-block .invite-text { margin-bottom: 4.59px; font-size: 10.94px; }
    .invite-block .invite-svg { margin: 21.67px 0 5.16px; }
    .invite-block .calendar-month { font-size: 14.94px; margin-top: 27.10px; margin-bottom: 10.86px; }
    .invite-block .calendar-table { gap: 21.54px; font-size: 14.13px; margin-bottom: 21.83px; }
    .invite-block .calendar-table .date { margin-top: 9.52px; }
    .invite-item-petlya { left: 83.02px; top: 28.70px; }
    .location-block { padding: 9.80px 0 100px 0; }
    .timing-cell--left .timing-caption,
    .timing-cell--right .timing-caption { width: 80.52px; }
    .location-title { margin-bottom: 25.78px; font-size: 27.51px; }
    .location-map-wrap { width: 424.63px; height: 253.00px; }
    .location-map-bg { border-radius: 4.02px; }
    .location-yandex-map-root { min-height: 85.96px; }
    .location-polaroid-bg { left: -24.08px; top: 29.48px; width: 186.07px; height: auto; min-height: 0; padding: 13px 12px 13px 12px; gap: 8px; overflow: hidden; }
    .location-polaroid-text { border-radius: 2.30px; padding: 6px 4px 5px 4px; }
    .location-photo-title { font-size: calc(6.70px + 1pt); margin-bottom: 7.27px; }
    .location-photo-desc { font-size: calc(5.15px + 1pt); }
    .timing-block { padding: 8.66px 0 12.72px 0; }
    .timing-title { font-size: 27.51px; margin-bottom: 29.22px; }
    .timing-content {
        --timing-deco-size: 117.47px;
        --timing-line-col: 70.35px;
        --timing-gap: 38px;
        row-gap: clamp(8px, 1.8vw, 20px);
    }
    .dresscode-disc-text { font-size: 8.66px; margin-top: 27.10px; }
    .timing-time { font-size: 27.07px; margin-bottom: 3.25px; }
    .timing-caption { margin-bottom: 4.87px; font-size: 6.70px; }
    .timing-caption b { font-size: 9.84px; }
    .timing-line { width: 100%; max-width: 100%; min-width: 0; margin: 0; }
    .timing-line-heart-marker { width: 17.85px; height: 17.85px; }
    .timing-item-heand { right: 165.73px; top: 55.48px; }
    .timing-item-heart { left: 144.76px; top: 195.46px; }
    .timing-item-eat { right: 145.91px; bottom: 149.14px; }
    .timing-item-music { left: 137.61px; bottom: -19.54px; }
    .wishes-block {
        max-width: 401.10px;
        border-radius: 7.57px;
        padding: 25.38px;
        margin-top: 55.48px;
        margin-left: 10px;
        margin-right: 10px;
        margin: auto;
        margin-top: 55.48px;

    }
    .wishes-title { font-size: 18.53px; margin-bottom: 24.35px; }
    .wishes-content ol { padding-left: 0px; font-size: 7.61px;}
    .wishes-content li { margin-bottom: 5.40px; padding-left: 26.74px; }
    .wishes-glasses { width: 100.52px; }
    .wishes-content li::marker { font-size: 10.94px; }
    .addition-block { padding: 12.72px 0 16.35px 0; max-width: 303.48px; margin-bottom: 13.54px; }
    .addition-title { font-size: 27.51px; margin-bottom: 8.99px; }
    .addition-text, .addition-contact, .addition-contact-name { font-size: 10.94px; }
    .addition-contact-name { margin-top: 4.05px; }
    .addition-btn { padding: 4.59px 18.47px; border-radius: 6.30px; font-size: 9.84px; margin-top: 5.72px; }
    .photo-single-block { }
    .photo-collage { max-width: 465.45px; }
    .dresscode-block { padding: 12.72px 0 0 0; }
    .dresscode-title { font-size: 27.51px; margin-bottom: 7.61px; }
    .dresscode-desc { font-size: 10.94px; margin-bottom: 22.29px; }
    .dresscode-image-row { max-width: 403.47px; height: 179.48px; }
    .dresscode-image { max-width: 194.97px; }
    .dresscode-colors-text { font-size: 9.77px; }
    .dresscode-colors-lady { left: -11.91px; bottom: -2.30px; font-size: 9.84px; }
    .dresscode-colors-right { right: -4.51px; top: 13.27px; font-size: 7.57px; }
    .film-one-photo-block { max-width: 524.70px; margin: 10.94px auto 0 auto; }
    .film-one-center-content { height: 22.76px; padding: 5.72px; }
    .film-heart { font-size: 11.66px; margin: 0 0.86px; }
    .film-man { right: 55.48px; top: 5.72px; }
    .film-one-photo-block + .film-one-photo-block { margin-top: 10.94px; }
    .waiting-block { padding: 20.07px 0 14.90px 0; min-height: 97.21px; }
    .waiting-title { font-size: 27.51px; margin-bottom: 5.72px; }
    .waiting-text-block { font-size: 12.25px; width: 178.02px; margin-bottom: 9.49px; }
    .waiting-frogs-img { width: 102.82px; }
    /* SVG */
    .hero-item-bant svg { width: 54.52px; height: 37.42px; }
    .hero-item-heart svg { width: 62.88px; height: 65.27px; }
    .hero-item-rings img { width: 81.19px; height: auto; }
    .hero-item-stars img { width: 67.97px; height: auto; }
    .invite-item-petlya svg{ width: 44.10px; height: 38.48px; }
    .invite-svg img{ width: 169.06px; height: 107.18px; }
    .heart-svg svg{ width: 23.26px; height: 28.31px; }
    .location-item-blick_1 svg,.location-item-blick_2 svg{ width: 16.90px; height: 16.63px; }
    .wishes-glasses-img { width: 106.73px; height: 103.95px; }
    .dresscode-colors-lady svg{ width: 63.46px; height: 37.12px; }
    .dresscode-colors-right svg{ width: 74.93px; height: 41.64px; }
    .film-one-center-content svg{ width: 140.94px; height: 19.93px; }
    .guest-form-flower svg{ width: 41.72px; height: 67.66px; }

    /* .guest-form-block и его содержимое — без изменений! */
    .wishes-glasses {
        display: none;
    }
}

@media (max-width: 500px) {
    .guest-form-block{
        margin: 29px 15px;
        width: calc(100% - 30px);
    }
    .guest-form {
        padding: 18.7px 20.16px;
    }
    .container { max-width: 467.6px; }
    .hero { max-width: 467.6px; min-height: 131.5px; height: 414.7px; }
    .hero-item-bant { top: 24.4px; left: 54.34px; }
    .hero-item-heart { top: 97.45px; right: 46.29px; }
    .hero-bg-heart { top: 11.33px; width: 92.57px; height: 85.25px; }
    .hero-couple { top: 27.68px; width: 344.87px; }
    .hero-names { right: 10px; top: 97.45px; left: auto; font-size: 18.71px; }
    .hero-top-right { left: 12px; top: 24.4px; right: auto; font-size: 25.33px; max-width: 335.12px; }
    .hero-title { bottom: 14.17px; font-size: 31.65px; }
    .hero-item-stars { bottom: 79.86px; right: 11.58px; }
    .hero-item-rings { bottom: 171.64px; left: -20.81px; }
    .hero-bottom-left, .hero-bottom-right { bottom: 15.83px; }
    .hero-bottom-left { left: 6.82px; }
    .hero-bottom-right { right: 9.26px; }
    .invite-block .invite-text { margin-bottom: 3.90px; font-size: 11px; }
    .invite-block .invite-svg { margin: 18.42px 0 4.39px; }
    .invite-block .calendar-month { font-size: 12.7px; margin-top: 23.04px; margin-bottom: 9.23px; }
    .invite-block .calendar-table { gap: 18.31px; font-size: 12.01px; margin-bottom: 18.56px; }
    .invite-block .calendar-table .date { margin-top: 8.09px; }
    .invite-item-petlya { left: 44.57px; top: 24.4px; }
    .location-block { padding: 8.33px 0 96px 0; }
    .timing-cell--left .timing-caption,
    .timing-cell--right .timing-caption { width: 68.44px; }
    .location-title { margin-bottom: 21.91px; font-size: 23.39px; }
    .location-map-wrap { width: 361.94px; height: 215.05px; }
    .location-map-bg { border-radius: 3.42px; }
    .location-yandex-map-root { min-height: 73.06px; }
    .location-polaroid-bg { left: -25.25px; top: 32.56px; width: 158.27px; height: auto; min-height: 0; padding: 12px 11px 12px 11px; gap: 8px; overflow: hidden; }
    .location-polaroid-media { margin-top: 8px; }
    .location-polaroid-text {
        border-radius: 1.96px;
        padding: 5px 3px 4px 3px;
    }
    .location-photo-title { font-size: calc(6.70px + 1pt); margin-bottom: 7.27px; }
    .location-photo-desc { font-size: calc(5.15px + 1pt); line-height: 1.3; }
    .timing-block { padding: 7.36px 0 10.81px 0; }
    .timing-title { font-size: 23.39px; margin-bottom: 24.84px; }
    .timing-content {
        --timing-deco-size: 99.82px;
        row-gap: clamp(6px, 1.6vw, 16px);
    }
    .dresscode-disc-text { font-size: 7.36px; margin-top: 23.04px; }
    .timing-time { font-size: 25.01px; margin-bottom: 2.76px; }
    .timing-caption { margin-bottom: 4.14px; font-size: 8px; }
    .timing-caption b { font-size: 8.36px; }
    .timing-item-heand { right: 140.87px; top: 47.16px; }
    .timing-item-heart { left: 122.05px; top: 166.14px; }
    .timing-item-eat { right: 123.02px; bottom: 126.77px; }
    .timing-item-music { left: 115.97px; bottom: -16.61px; }
    .wishes-block {
        width: calc(100% - 90px);
        border-radius: 6.44px;
        padding: 20.08px;
        margin-top: 47.16px;
        margin-left: 8.5px;
        margin-right: 8.5px;
        margin: auto;
        margin-top: 47.16px;
    }
    .wishes-title { font-size: 12.75px; margin-bottom: 20.70px; }
    .wishes-content ol { padding-left: 0px; font-size: 8px; }
    .wishes-content li { margin-bottom: 14.59px; padding-left: 26.73px; }
    .wishes-glasses { width: 85.44px; }
    .wishes-content li::marker { font-size: 20px; }
    .addition-block { padding: 10.81px 0 13.08px 0; max-width: 247.55px; margin-bottom: 11.51px; }
    .addition-title { font-size: 23.39px; margin-bottom: 7.64px; }
    .addition-text, .addition-contact, .addition-contact-name { font-size: 9.3px; }
    .addition-contact-name { margin-top: 3.44px; }
    .addition-btn { padding: 3.9px 15.7px; border-radius: 5.36px; font-size: 8.36px; margin-top: 4.86px; }
    .photo-single-block { }
    .photo-collage { max-width: 395.63px; }
    .dresscode-block { padding: 10.81px 0 0 0; }
    .dresscode-title { font-size: 23.39px; margin-bottom: 6.47px; }
    .dresscode-desc { font-size: 9.3px; margin-bottom: 18.95px; }
    .dresscode-image-row { max-width: 342.95px; height: 152.56px; }
    .dresscode-image { max-width: 165.72px; }
    .dresscode-colors-text { font-size: 8.3px; }
    .dresscode-colors-lady { left: -10.12px; bottom: -1.96px; font-size: 8.36px; }
    .dresscode-colors-right { right: -3.83px; top: 11.28px; font-size: 6.44px; }
    .film-one-photo-block { max-width: 446.00px; margin: 9.3px auto 0 auto; }
    .film-one-center-content { height: 19.35px; padding: 4.86px; }
    .film-heart { font-size: 9.91px; margin: 0 0.73px; }
    .film-man { right: 47.16px; top: 4.86px; }
    .film-one-photo-block + .film-one-photo-block { margin-top: 9.3px; }
    .waiting-block { padding: 17.06px 0 12.67px 0; min-height: 82.63px; }
    .waiting-title { font-size: 23.39px; margin-bottom: 4.86px; }
    .waiting-text-block { font-size: 10.41px; width: 151.32px; margin-bottom: 8.07px; }
    .waiting-frogs-img { width: 87.41px; }
    /* SVG */
    .hero-item-bant svg { width: 56.34px; height: 38.81px; }
    .hero-item-heart svg { width: 53.45px; height: 55.48px; }
    .hero-item-rings img { width: 69.01px; height: auto; }
    .hero-item-stars img { width: 57.77px; height: auto; }
    .invite-item-petlya svg{ width: 37.49px; height: 32.71px; }
    .invite-svg img{ width: 143.7px; height: 91.10px; }
    .heart-svg svg{ width: 19.77px; height: 24.07px; }
    .location-item-blick_1 svg,.location-item-blick_2 svg{ width: 14.36px; height: 14.14px; }
    .wishes-glasses-img { width: 90.73px; height: 88.36px; }
    .dresscode-colors-lady svg{ width: 53.94px; height: 31.55px; }
    .dresscode-colors-right svg{ width: 63.69px; height: 35.39px; }
    .film-one-center-content svg{ width: 119.8px; height: 16.94px; }
    .guest-form-flower svg{ width: 35.46px; height: 57.51px; }

    /* .guest-form-block и его содержимое — без изменений! */
}
.envelope-topbar {
    width: 100vw;
    min-height: 100vh;
    background: #e8e4d9;
    position: absolute;
    top: 0; left: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px #7683b62a;
    transition: opacity .6s, transform .7s;
    will-change: opacity, transform;
    padding-right: 16px;
}

.envelope {
    width: 300px;
    height: 150px;
    background: #b49976;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.envelope__check {
    height: 100%;
    width: 100%;
    z-index: 10;
    opacity: 0;
    position: absolute;
    left: 0;
    top: 0;
    margin: 0;
    cursor: pointer;
}
.envelope label {
    display: block;
    width: 100%;
    height: 100%;
    cursor: pointer;
    position: relative;
}
.envelope__flap {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 75%;
    transition: transform 0.25s 0.5s, z-index 0s 0.5s;
    transform-origin: top center;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    background: repeating-linear-gradient(-45deg, #c1ab8e, #c1ab8e 10px, #e74c3c 10px, #e74c3c 20px, #c1ab8e 20px, #c1ab8e 30px, #1e90ff 30px, #1e90ff 40px) 0 0 / 100% 5px no-repeat, #c1ab8e;
    z-index: 4;
    -webkit-clip-path: polygon(5% 40%, 50% 100%, 95% 40%, 100% 0, 0 0);
    clip-path: polygon(5% 40%, 50% 100%, 95% 40%, 100% 0, 0 0);;
}
.envelope__flap--inside {
    background: #c1ab8e;
    -webkit-backface-visibility: visible;
    backface-visibility: visible;
}
.envelope__back {
    height: 100%;
    width: 100%;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 3;
    background: repeating-linear-gradient(-45deg, #cebda6, #cebda6 10px, #e74c3c 10px, #e74c3c 20px, #cebda6 20px, #cebda6 30px, #1e90ff 30px, #1e90ff 40px) 0 100% / 100% 5px no-repeat, repeating-linear-gradient(-45deg, #cebda6, #cebda6 10px, #e74c3c 10px, #e74c3c 20px, #cebda6 20px, #cebda6 30px, #1e90ff 30px, #1e90ff 40px) 0 100% / 5px 100% no-repeat, repeating-linear-gradient(-45deg, #cebda6, #cebda6 10px, #e74c3c 10px, #e74c3c 20px, #cebda6 20px, #cebda6 30px, #1e90ff 30px, #1e90ff 40px) 100% 100% / 5px 100% no-repeat, #cebda6;
    -webkit-clip-path: polygon(80% 40%, 100% 0, 100% 100%, 0 100%, 0 0, 20% 40%);
    clip-path: polygon(80% 40%, 100% 0, 100% 100%, 0 100%, 0 0, 20% 40%);
}
.envelope__back:after {
    height: 100%;
    width: 100%;
    background: repeating-linear-gradient(-45deg, #c7b49a, #c7b49a 10px, #e74c3c 10px, #e74c3c 20px, #c7b49a 20px, #c7b49a 30px, #1e90ff 30px, #1e90ff 40px) 0 100% / 100% 5px no-repeat, #c7b49a;
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    -webkit-clip-path: polygon(70% 10%, 100% 100%, 0 100%, 30% 10%);
    clip-path: polygon(70% 10%, 100% 100%, 0 100%, 30% 10%);
}

.envelope__letter {
    height: 90%;
    width: 90%;
    z-index: 1;
    position: absolute;
    left: 5%; top: 5%;
    transition:
            transform 0.28s 0.18s,
            z-index 0s 0.3s,
            box-shadow 0.3s 0s;
    transform: translateY(0) scale(1);
    background: #E8E4D9;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    will-change: transform, box-shadow;
}

/* Открытие flap и выезд письма */
.envelope__check:checked ~ label .envelope__flap {
    transition: transform 0.25s 0s, z-index 0s 0.25s;
    transform: rotateX(-180deg);
    z-index: 0;
}
.envelope__check:checked ~ label .envelope__letter {
    transform: translateY(-110%);
    transition: transform 0.25s 0.25s, z-index 0s 0.5s;
    z-index: 5;
}
.envelope__check:checked ~ label .envelope__letter .letter__content:nth-child(2),
.envelope__check:checked ~ label .envelope__letter .letter__content:nth-child(3) {
    transition: transform 0.25s 0.5s;
    transform: rotateX(0deg);
}

/* ПРЕОБРАЖЕНИЕ: письмо становится сайтом */
.envelope__check:checked ~ label .envelope__letter.expand {
    /* Становится full-screen баннером */
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%,-50%) scale(1) !important;
    width: 100vw !important;
    height: 100vh !important;
    max-width: none !important;
    max-height: none !important;
    border-radius: 0 !important;
    box-shadow: 0 0 0 #0000 !important;
    transition:
            width .85s cubic-bezier(.18,.7,.29,1.01),
            height .85s cubic-bezier(.18,.7,.29,1.01),
            left .85s cubic-bezier(.18,.7,.29,1.01),
            top .85s cubic-bezier(.18,.7,.29,1.01),
            border-radius .5s .25s,
            box-shadow .65s .2s;
    background: #E8E4D9;
    z-index: 200;
}

.letter {
    position: relative;
    width: 100%;
    text-align: center;
}
#mainSiteBlock {
    opacity: 0;
    transition: opacity 2.5s ease;
}
.letter__content {
    background: #e8e4d9;
    font-size: 1.18rem;
}
#mainSiteBlock.visible {
    opacity: 1;
}
#siteContent {
    opacity: 0;
    transition: opacity .7s .2s;
}

#siteContent.visible {
    opacity: 1;
}

.envelope-topbar.hide {
    opacity: 0;
    pointer-events: none;
    transform: translateY(-80px) scale(0.96);
}
#siteContentPlaceholder {
     min-height: 500px; /* чтобы не прыгал скролл */
    position: absolute;
    width: 100%;
    z-index:  9999;
 }
.envelope__letter.expand,
.envelope__letter.expand .letter,
.envelope__letter.expand .letter__content {
    display: block !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    height: auto !important;
}
.envelope--fly {
    animation: envelopeFlyInSide 1.1s cubic-bezier(.19,.85,.35,1.07);
}
@keyframes envelopeFlyInSide {
    0% {
        opacity: 0;
        transform: translateX(380px) scale(0.6) rotate(8deg);
    }
    65% {
        opacity: 1;
        transform: translateX(-22px) scale(1.06) rotate(-3deg);
    }
    100% {
        opacity: 1;
        transform: translateX(0) scale(1) rotate(0);
    }
}
@media (max-width: 500px) {
    padding-right: 0px;
}
.modal {
    position: fixed; z-index: 1001; left: 0; top: 0; width: 100vw; height: 100vh;
    display: flex; align-items: center; justify-content: center;
    z-index: 9999;
}
.modal-backdrop {
    position: absolute; left:0; top:0; width:100vw; height:100vh;
    background: rgba(0,0,0,0.35);
    cursor: pointer;
}
.modal-content {
    position: relative;
    background: #B4C3D7;; padding: 32px 28px 20px 28px;
    border-radius: 12px; min-width: 320px; max-width: 92vw; box-shadow: 0 4px 24px rgba(0,0,0,0.13);
    z-index: 1; text-align: center;
    animation: modal-in 0.17s;

}
.modal-close {
    position: absolute; right: 18px; top: 15px; font-size: 32px; color: #888; cursor:pointer; font-weight: 300;
    z-index:2;
}
.modal-btn {
    padding: 8px 24px; border-radius: 4px; border: none; background: #f1f3f5; color: #333; font-size:16px; cursor:pointer;
    transition: background 0.16s;
    display: none;
}
.modal-btn:hover { background: #e1e5ea; }
@keyframes modal-in {
    from { opacity: 0; transform: translateY(40px) scale(0.97);}
    to   { opacity: 1; transform: translateY(0) scale(1);}
}
/* Location polaroid: рамка по высоте контента; отступ снизу = сверху (см. padding в MQ ≤1035px) */
@media (max-width: 768px) {
    .location-item-blick_1,
    .location-item-blick_2 {
        transform: scale(0.72);
        transform-origin: center center;
    }

    .location-item-blick_1 {
        bottom: 20% !important;
        left: 6% !important;
    }

    .location-item-blick_2 {
        bottom: 14% !important;
        right: 2% !important;
    }
}

@media (max-width: 380px) {
    .hero-item-bant {
        left: 13.34px;
    }
    .hero-item-heart{
        right: 24.29px;
    }
    .hero-names {
        right: 0;
    }
}

/* Local font hardening for Cyrillic text blocks */
.hero-top-right,
.hero-guest-names {
    font-family: 'Denistina', cursive !important;
    font-style: italic !important;
    font-weight: 400 !important;
}
.invite-block .invite-text {
    font-family: 'Comfortaa', Arial, sans-serif !important;
    font-weight: 400 !important;
}