* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: 'LOVE';
    src: url(https://static.tildacdn.com/tild3338-3030-4331-a164-336139353038/harmony-Regular.woff) format('woff');
    font-weight: normal;
    font-style: normal;
}



body {
    background-color: #ffffff;
}

.hero {
    width: 100%;
    height: 100vh;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-container {
    text-align: center;
    padding: 20px;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 1.5s ease, transform 1.5s ease;
}

.hero-container.visible {
    opacity: 1;
    transform: translateY(0);
}

.hero-image {
    margin-bottom: 32px;
}

.hero-image img {
    width: 100%;
    max-width: 340px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.hero-invite-text {
    font-family: 'Inter', sans-serif;
    font-weight: 200;
    font-size: 16px;
    line-height: 1.4;
    letter-spacing: 0.02em;
    color: #000000;
    margin-bottom: 24px;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
}

.hero-date-text {
    vertical-align: middle;
    color: #000000;
    font-size: 18px;
    font-family: 'Open Sans', Arial, sans-serif;
    line-height: 1.55;
    font-weight: 400;
    background-position: center center;
    border-width: var(--t396-borderwidth, 0);
    border-style: var(--t396-borderstyle, solid);
    border-color: var(--t396-bordercolor, transparent);
    margin-bottom: 28px;
}

.hero-couple-name {
    font-family: 'LOVE', Arial, sans-serif;
    font-weight: normal;
    font-size: 78px;
    line-height: 1.2;
    color: #000000;
    margin-bottom: 0;
}

@media (min-width: 768px) {
    .hero-container {
        max-width: 500px;
    }
    
    .hero-image img {
        max-width: 400px;
    }
    
    .hero-invite-text {
        font-size: 18px;
        max-width: 380px;
    }
    
    .hero-date-text {
        font-size: 20px;
    }
    
    .hero-couple-name {
        font-size: 98px;
    }
}

.divider {
    width: 80px;
    height: 1px;
    background-color: #cccccc;
    margin: 0 auto;
}

.guests-section {
    background-color: #ffffff;
    padding: 15px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.guests-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.guests-container {
    text-align: center;
    max-width: 400px;
    width: 100%;
    margin: 0 auto;
}

.guests-title {
    font-family: 'LOVE', Arial, sans-serif;
    font-weight: normal;
    font-size: 98px;
    line-height: 1;
    color: #000000;
    margin-bottom: 1px;
}

.guests-text {
    font-family: 'Inter', sans-serif;
    font-weight: 200;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.02em;
    color: #000000;
    max-width: 320px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .divider {
        width: 100px;
    }
    
    .guests-container {
        max-width: 500px;
    }
    
    .guests-title {
        font-size: 98px;
    }
    
    .guests-text {
        font-size: 18px;
        max-width: 380px;
    }
}


/* Третья секция - Таймер */
.timer-section {
    background-color: #ffffff;
    padding: 30px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.timer-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.timer-container {
    text-align: center;
    max-width: 400px;
    width: 100%;
    margin: 0 auto;
}

.timer-title {
    font-family: 'LOVE', Arial, sans-serif;
    font-weight: 200;
    font-size: 78px;
    line-height: 1;
    color: #000000;
    margin-bottom: 30px;
}

.timer {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: nowrap;
}

.timer-block {
    text-align: center;
    min-width: 60px;
}

.timer-number {
    font-family: 'Dynalight', cursive;
    font-weight: 200;
    font-size: 50px;
    color: #000000;
    display: block;
    line-height: 1.2;
    margin-bottom: 8px;
}

.timer-label {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: 15px;
    color: #000000;
    text-transform: lowercase;
}

.tilde {
    font-family: 'Inter', sans-serif;
    font-size: 40px;
    color: #000000;
    text-align: center;
    margin: 10px auto;
    line-height: 1;
}

@media (min-width: 768px) {
    .timer-container {
        max-width: 500px;
    }
    
    .timer-title {
        font-size: 98px;
    }
    
    .timer {
        gap: 25px;
    }
    
    .timer-block {
        min-width: 80px;
    }
    
    .timer-number {
        font-size: 38px;
    }
    
    .timer-label {
        font-size: 14px;
    }
    
    .tilde {
        font-size: 50px;
        margin: 15px auto;
    }
}



/* Четвертая секция - Программа дня */
.program-section {
    background-color: #ffffff;
    padding: 30px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.program-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.program-container {
    max-width: 400px;
    width: 100%;
    margin: 0 auto;
}

.program-title {
    font-family: 'LOVE', Arial, sans-serif;
    font-weight: normal;
    font-size: 78px;
    line-height: 1;
    color: #000000;
    text-align: center;
    margin-bottom: 40px;
}

.program-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
}

.program-photo {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
}

.program-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.program-info {
    flex: 1;
}

.program-time {
    font-family: 'Dynalight', cursive;
    font-weight: 400;
    font-size: 38px;
    color: #000000;
    line-height: 1.2;
    margin-bottom: 8px;
}

.program-event {
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #000000;
    line-height: 1.55;
    margin-bottom: 8px;
}

.program-description {
    font-family: 'Inter', sans-serif;
    font-weight: 200;
    font-size: 14px;
    line-height: 1.4;
    letter-spacing: 0.02em;
    color: #000000;
}

@media (min-width: 768px) {
    .program-container {
        max-width: 500px;
    }
    
    .program-title {
        font-size: 98px;
    }
    
    .program-photo {
        width: 120px;
        height: 120px;
    }
    
    .program-time {
        font-size: 34px;
    }
    
    .program-event {
        font-size: 18px;
    }
    
    .program-description {
        font-size: 16px;
    }
} 



/* Пятая секция - Локация */
.location-section {
    background-color: #ffffff;
    padding: 30px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.location-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.location-container {
    text-align: center;
    max-width: 400px;
    width: 100%;
    margin: 0 auto;
}

.location-title {
    font-family: 'LOVE', Arial, sans-serif;
    font-weight: normal;
    font-size: 78px;
    line-height: 1;
    color: #000000;
    margin-bottom: 30px;
}

.location-text {
    font-family: 'Inter', sans-serif;
    font-weight: 200;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.02em;
    color: #000000;
    margin-bottom: 15px;
}

.location-address {
    font-family: 'Inter', sans-serif;
    font-weight: 200;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.02em;
    color: #000000;
    margin-bottom: 25px;
}

.location-photo {
    margin-top: 10px;
}

.location-photo img {
    width: 100%;
    max-width: 340px;
    height: auto;
    display: block;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .location-container {
        max-width: 500px;
    }
    
    .location-title {
        font-size: 98px;
    }
    
    .location-text {
        font-size: 18px;
    }
    
    .location-address {
        font-size: 18px;
    }
    
    .location-photo img {
        max-width: 400px;
    }
}


/* Шестая секция - Как добраться? */
.map-section {
    background-color: #ffffff;
    padding: 30px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.map-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.map-container {
    text-align: center;
    max-width: 400px;
    width: 100%;
    margin: 0 auto;
}

.map-title {
    font-family: 'LOVE', Arial, sans-serif;
    font-weight: normal;
    font-size: 78px;
    line-height: 1;
    color: #000000;
    margin-bottom: 30px;
}

.map-text {
    font-family: 'Inter', sans-serif;
    font-weight: 200;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.02em;
    color: #000000;
    margin-bottom: 25px;
}

.map-iframe {
    width: 100%;
    border-radius: 0;
    overflow: hidden;
}

.map-iframe iframe {
    width: 100%;
    height: 300px;
    display: block;
}

@media (min-width: 768px) {
    .map-container {
        max-width: 600px;
    }
    
    .map-title {
        font-size: 98px;
    }
    
    .map-text {
        font-size: 18px;
    }
    
    .map-iframe iframe {
        height: 400px;
    }
}

/* Седьмая секция - Детали */
.details-section {
    background-color: #ffffff;
    padding: 30px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.details-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.details-container {
    text-align: center;
    max-width: 400px;
    width: 100%;
    margin: 0 auto;
}

.details-title {
    font-family: 'LOVE', Arial, sans-serif;
    font-weight: normal;
    font-size: 78px;
    line-height: 1;
    color: #000000;
    margin-bottom: 30px;
}

.details-text {
    font-family: 'Inter', sans-serif;
    font-weight: 200;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.02em;
    color: #000000;
    margin-bottom: 30px;
}

.details-divider {
    width: 80px;
    height: 1px;
    background-color: #cccccc;
    margin: 0 auto 30px auto;
}

.details-note {
    font-family: 'Inter', sans-serif;
    font-weight: 200;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.02em;
    color: #000000;
}

@media (min-width: 768px) {
    .details-container {
        max-width: 500px;
    }
    
    .details-title {
        font-size: 98px;
    }
    
    .details-text {
        font-size: 18px;
    }
    
    .details-divider {
        width: 100px;
    }
    
    .details-note {
        font-size: 18px;
    }
}


/* Восьмая секция - Дресс-код */
.dresscode-section {
    background-color: #ffffff;
    padding: 30px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.dresscode-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.dresscode-container {
    text-align: center;
    max-width: 400px;
    width: 100%;
    margin: 0 auto;
}

.dresscode-title {
    font-family: 'LOVE', Arial, sans-serif;
    font-weight: normal;
    font-size: 78px;
    line-height: 1;
    color: #000000;
    margin-bottom: 30px;
}

.dresscode-text {
    font-family: 'Inter', sans-serif;
    font-weight: 200;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.02em;
    color: #000000;
    margin-bottom: 30px;
}

.dresscode-colors {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: nowrap;
}

.color-box {
    width: 50px;
    height: 50px;
    border-radius: 0;
}

@media (min-width: 768px) {
    .dresscode-container {
        max-width: 500px;
    }
    
    .dresscode-title {
        font-size: 98px;
    }
    
    .dresscode-text {
        font-size: 18px;
    }
    
    .dresscode-colors {
        gap: 15px;
    }
    
    .color-box {
        width: 60px;
        height: 60px;
    }
}


/* Девятая секция - Присутствие на торжестве */
.rsvp-section {
    background-color: #ffffff;
    padding: 30px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.rsvp-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.rsvp-container {
    max-width: 400px;
    width: 100%;
    margin: 0 auto;
}

.rsvp-title {
    font-family: 'LOVE', Arial, sans-serif;
    font-weight: normal;
    font-size: 78px;
    line-height: 1;
    color: #000000;
    text-align: center;
    margin-bottom: 30px;
}

.rsvp-text {
    font-family: 'Inter', sans-serif;
    font-weight: 200;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.02em;
    color: #000000;
    text-align: center;
    margin-bottom: 15px;
}

.rsvp-deadline {
    font-family: 'Inter', sans-serif;
    font-weight: 200;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.02em;
    color: #000000;
    text-align: center;
    margin-bottom: 40px;
}

.rsvp-question {
    margin-bottom: 35px;
}

.rsvp-question-title {
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #000000;
    line-height: 1.55;
    margin-bottom: 5px;  /* добавил или уменьшил */
    text-align: left;
}

.rsvp-radio-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rsvp-radio-label {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Inter', sans-serif;
    font-weight: 200;
    font-size: 16px;
    letter-spacing: 0.02em;
    color: #000000;
    cursor: pointer;
}

.rsvp-radio {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #000000;
}

.rsvp-input {
    width: 100%;
    border: none;
    border-bottom: 1px solid #000000;
    padding: 10px 0;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 300;
    color: #000000;
    background: transparent;
    outline: none;
}

.rsvp-input::placeholder {
    color: #cccccc;
}

.rsvp-checkbox-subtitle {
    font-family: 'Inter', sans-serif;
    font-weight: 200;
    font-size: 14px;
    line-height: 1.2;  /* уменьшил межстрочный интервал */
    letter-spacing: 0.02em;
    color: #666666;
    margin-top: -5px;  /* добавил отрицательный отступ */
    margin-bottom: 15px;
    text-align: left;
}

.rsvp-checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rsvp-checkbox-label {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Inter', sans-serif;
    font-weight: 200;
    font-size: 16px;
    letter-spacing: 0.02em;
    color: #000000;
    cursor: pointer;
}

.rsvp-checkbox {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #000000;
}

.rsvp-button {
    width: 100%;
    background-color: #000000;
    color: #ffffff;
    border: none;
    padding: 16px 20px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 0.05em;
    cursor: pointer;
    margin-top: 20px;
    transition: opacity 0.3s ease;
}

.rsvp-button:hover {
    opacity: 0.8;
}

@media (min-width: 768px) {
    .rsvp-container {
        max-width: 500px;
    }
    
    .rsvp-title {
        font-size: 98px;
    }
    
    .rsvp-text {
        font-size: 18px;
    }
    
    .rsvp-deadline {
        font-size: 18px;
    }
    
    .rsvp-question-title {
        font-size: 18px;
    }
    
    .rsvp-radio-label {
        font-size: 18px;
    }
    
    .rsvp-input {
        font-size: 18px;
    }
    
    .rsvp-checkbox-label {
        font-size: 18px;
    }
    
    .rsvp-button {
        font-size: 18px;
        padding: 18px 20px;
    }
}


/* Десятая секция - До встречи */
.farewell-section {
    background-color: #ffffff;
    padding: 60px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.farewell-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.farewell-container {
    text-align: center;
    max-width: 400px;
    width: 100%;
    margin: 0 auto;
}

.farewell-image {
    margin-bottom: 30px;
}

.farewell-image img {
    width: 100%;
    max-width: 340px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.farewell-title {
    font-family: 'LOVE', Arial, sans-serif;
    font-weight: normal;
    font-size: 98px;
    line-height: 1;
    color: #000000;
}

@media (min-width: 768px) {
    .farewell-container {
        max-width: 500px;
    }
    
    .farewell-image img {
        max-width: 400px;
    }
    
    .farewell-title {
        font-size: 98px;
    }
}


/* Нулевая секция - Обложка */
.cover-section {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.cover-section.hide {
    opacity: 0;
    visibility: hidden;
}

.cover-container {
    text-align: center;
    padding: 20px;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.cover-subtitle {
    font-family: 'Love Light', cursive;
    font-weight: 400;
    font-size: 32px;
    color: #000000;
    margin-bottom: 15px;
    letter-spacing: 0.02em;
}

.cover-title {
    font-family: 'LOVE', Arial, sans-serif;
    font-weight: normal;
    font-size: 64px;
    line-height: 1.1;
    color: #000000;
    margin-bottom: 40px;
}

.cover-button {
    background-color: transparent;
    color: #000000;
    border: 1px solid #000000;
    padding: 12px 32px;
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: 16px;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.cover-button:hover {
    background-color: #000000;
    color: #ffffff;
}

@media (min-width: 768px) {
    .cover-subtitle {
        font-size: 38px;
    }
    
    .cover-title {
        font-size: 78px;
    }
    
    .cover-button {
        font-size: 18px;
        padding: 14px 40px;
    }
}

/* Убираем синее/серое выделение при нажатии на все интерактивные элементы */
button,
.cover-button,
.rsvp-button,
.rsvp-radio-label,
.rsvp-checkbox-label,
.rsvp-radio,
.rsvp-checkbox,
input,
textarea,
select,
label,
[type="radio"],
[type="checkbox"],
.rsvp-input {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    outline: none;
    user-select: none;
}

/* Убираем обводку при фокусе */
.rsvp-radio:focus,
.rsvp-checkbox:focus,
.rsvp-input:focus {
    outline: none;
}


.details-contacts {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.details-contacts .details-text {
    margin-bottom: 0;
}

.details-contact-link {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: 18px;
    color: #000000;
    text-decoration: none;
    transition: opacity 0.3s ease;
    display: inline-block;
    line-height: 1.3;
}

.details-contact-link:active {
    opacity: 0.6;
}

@media (min-width: 768px) {
    .details-contact-link {
        font-size: 20px;
    }
}

.details-chat-button {
    display: inline-block;
    width: 100%;
    background-color: #000000;
    color: #ffffff;
    border: none;
    padding: 16px 20px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 0.05em;
    cursor: pointer;
    margin-top: 30px;
    transition: opacity 0.3s ease;
    text-align: center;
    text-decoration: none;
}

.details-chat-button:hover {
    opacity: 0.8;
}

@media (min-width: 768px) {
    .details-chat-button {
        font-size: 18px;
        padding: 18px 20px;
    }
}


.details-contact-link i {
    font-size: 12px;
    margin-left: 4px;
}


@media (max-width: 767px) {
    .hero-container {
        padding: 0 !important;
        max-width: 100% !important;
    }
    
    .hero-image {
        margin-bottom: 0 !important;
    }
    
    .hero-image img {
        width: 100% !important;
        max-width: 100% !important;
        display: block;
    }
    

    
    .hero-date-text,
    .hero-couple-name {
        padding: 0 20px;
    }
    
    .hero {
        margin-bottom: 80px;
        height: auto !important;
        min-height: 0 !important;
    }
}
/* Hero секция - мобильная адаптация */
@media (max-width: 767px) {
    /* Добавляем пустой блок перед текстом */
    .hero-image::after {
        content: "";
        display: block;
        height: 60px;
    }
}

@media (max-width: 767px) {
    .hero {
        height: auto !important;
        min-height: 0 !important;
    }
}


@media (max-width: 767px) {
    .hero {
        margin-bottom: 120px;
    }
}

