@font-face {
    font-family: 'Sacramento';
    src: url('assets/Sacramento.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Cormorant Garamond', serif;
    background-color: #FDFDFC;
    color: #6e4f3c;
    line-height: 1.6;
}

/* Ограничение ширины на компьютере — как на телефоне, чуть крупнее */
@media (min-width: 500px) {
    body {
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
        box-shadow: 0 0 30px rgba(0, 0, 0, 0.08);
    }
}

/* Оптимизация загрузки изображений */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Плавное появление изображений при загрузке */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

/* Для изображений, которые уже загружены (hero изображения) */
img:not([loading="lazy"]) {
    opacity: 1;
}

/* Hero изображения всегда видимы */
.hero-slide {
    opacity: 1 !important;
}

.hero-block {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.hero-text {
    background-color: #FFFFFF;
    padding: 60px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.wedding-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 24px;
    font-weight: 300;
    letter-spacing: 8px;
    text-transform: uppercase;
    color: #6e4f3c;
    margin-bottom: 15px;
    position: relative;
}

.wedding-title::after {
    content: '';
    display: block;
    width: 120px;
    height: 1px;
    background-color: #6e4f3c;
    margin: 15px auto 0;
}

.names {
    font-family: 'Sacramento', cursive;
    font-size: 56px;
    font-weight: 400;
    color: #6e4f3c;
    margin-top: 35px;
    letter-spacing: 2px;
    font-style: normal;
    line-height: 1.2;
}

.quick-nav {
    background-color: #FFFFFF;
    padding: 30px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.nav-button {
    font-family: 'Cormorant Garamond', serif;
    font-size: 18px;
    font-weight: 400;
    color: #6e4f3c;
    text-decoration: none;
    padding: 12px 30px;
    border: 1px solid #6e4f3c;
    background-color: transparent;
    transition: all 0.3s ease;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.nav-button:hover {
    background-color: #6e4f3c;
    color: #FFFFFF;
}

.hero-image {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.hero-slide {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    animation: slideShow 9s infinite;
}

.hero-slide:nth-child(1) {
    animation-delay: 0s;
    position: relative;
    opacity: 1;
}

.hero-slide:nth-child(2) {
    animation-delay: 3s;
}

.hero-slide:nth-child(3) {
    animation-delay: 6s;
}

@keyframes slideShow {
    0% {
        opacity: 0;
        z-index: 1;
    }
    8.33% {
        opacity: 1;
        z-index: 2;
    }
    33.33% {
        opacity: 1;
        z-index: 2;
    }
    41.66% {
        opacity: 0;
        z-index: 1;
    }
    100% {
        opacity: 0;
        z-index: 1;
    }
}

.hero-progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: rgba(255, 255, 255, 0.3);
    z-index: 10;
    overflow: hidden;
}

.hero-progress-fill {
    height: 100%;
    width: 0%;
    background-color: rgba(255, 255, 255, 0.8);
    animation: progressBar 9s infinite linear;
}

@keyframes progressBar {
    0% {
        width: 0%;
    }
    33.33% {
        width: 100%;
    }
    33.34% {
        width: 0%;
    }
    66.66% {
        width: 100%;
    }
    66.67% {
        width: 0%;
    }
    100% {
        width: 100%;
    }
}

/* Мобильная адаптация */
@media (max-width: 9999px) {
    .hero-text {
        padding: 30px 10px;
    }
    
    .wedding-title {
        font-size: 16px;
        letter-spacing: 4px;
    }
    
    .wedding-title::after {
        width: 80px;
        margin: 10px auto 0;
    }
    
    .names {
        font-size: 32px;
        margin-top: 20px;
        letter-spacing: 1px;
    }
    
    .quick-nav {
        padding: 20px 10px;
        gap: 10px;
    }
    
    .nav-button {
        font-size: 14px;
        padding: 8px 20px;
        letter-spacing: 0.5px;
    }
}

/* Второй блок - О нас */
.about-block {
    width: 100%;
    background-color: #FFFFFF;
    padding: 80px 20px;
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.we-text {
    font-family: 'Sacramento', cursive;
    font-size: 120px;
    font-weight: 400;
    color: #CDB59E;
    line-height: 1;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    margin-bottom: -40px;
        margin-left: 60px;
}

.official-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 32px;
    font-weight: 600;
    color: #6e4f3c;
    text-transform: uppercase;
    letter-spacing: 3px;
    line-height: 1.3;
    margin-bottom: 40px;
    margin-left: 200px;
    margin-top: -60px;
}

.official-text div:first-child {
    margin-bottom: 5px;
}

.about-paragraph {
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px;
    font-weight: 400;
    color: #6e4f3c;
    line-height: 1.6;
    max-width: 600px;
    margin-left: 200px;
}

/* Мобильная адаптация для второго блока */
@media (max-width: 9999px) {
    .about-block {
        padding: 40px 15px;
    }
    
    .we-text {
        font-size: 60px;
        margin-bottom: -40px;
    }
    
    .official-text {
        font-size: 22px;
        letter-spacing: 1.5px;
        width: 80%;
        margin-left: 57px;
        text-align: right;
        margin-top: 10px;
        margin-bottom: 25px;
    }
    
    .about-paragraph {
        font-size: 16px;
        margin-left: 97px;
        line-height: 1.5;
        width: 295px;
    }
}

/* Блок Moments - Фотографии */
.moments-block {
    width: 100%;
    background-color: #FFFFFF;
    padding: 80px 20px;
    overflow: hidden;
}

.moments-content {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.moments-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 28px;
    font-weight: 300;
    color: #6e4f3c;
    text-transform: uppercase;
    letter-spacing: 6px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-bottom: 60px;
    padding-right: 20px;
}

.moments-line {
    display: inline-block;
    width: 100%;
    height: 1px;
    background-color: #2c2c2c;
    margin-right: 20px;
}

.moments-gallery {
    position: relative;
    min-height: 800px;
    width: 100%;
    padding-left: 10%;
    padding-right: 10%;
    display: block;
}

.photo-large {
    position: absolute !important;
    width: 400px;
    height: 600px;
    z-index: 3;
    right: 0%;
    top: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.photo-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.photo-medium {
    position: absolute !important;
    width: 280px;
    height: 420px;
    z-index: 2;
    left: 20%;
    top: 300px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.photo-medium img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.photo-small {
    position: absolute !important;
    width: 240px;
    height: 160px;
    z-index: 1;
    left: 10%;
    top: 550px;
    filter: grayscale(100%);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.photo-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Мобильная адаптация для блока Moments */
@media (max-width: 9999px) {
    .moments-block {
        padding: 40px 10px;
    }
    
    .moments-title {
        font-size: 20px;
        letter-spacing: 3px;
        margin-bottom: 30px;
        padding-right: 5px;
    }
    
    .moments-line {
        width: 100%;
        margin-right: 10px;
    }
    
    .moments-gallery {
        min-height: 450px;
        padding-left: 3%;
        padding-right: 3%;
        display: block;
    }
    
    .photo-large {
        position: absolute !important;
        width: 180px;
        height: 270px;
        right: 25%;
        top: 0;
        z-index: 3;
    }
    
    .photo-medium {
        position: absolute !important;
        width: 130px;
        height: 130px;
        left: 58%;
        top: 229px;
        z-index: 3;
    }
    
    .photo-small {
        position: absolute !important;
        width: 147px;
        height: 110px;
        left: 20%;
        top: 290px;
        z-index: 1;
        filter: grayscale(100%);
    }
    
}

/* Блок календаря */
.calendar-block {
    width: 100%;
    background-color: #FFFFFF;
    padding: 80px 20px;
}

.calendar-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.calendar-header {
    margin-bottom: 50px;
    position: relative;
    display: inline-block;
}

.calendar-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 28px;
    font-weight: 400;
    color: #6e4f3c;
    display: inline-block;
    margin-right: 15px;
}

.calendar-text-script {
    font-family: 'Sacramento', cursive;
    font-size: 64px;
    font-weight: 400;
    color: #795548;
    display: inline-block;
    position: relative;
    top: -10px;
}

.calendar-wrapper {
    border: 0.5px solid #2c2c2c;
    padding: 30px 20px;
    margin-bottom: 50px;
    background-color: #FFFFFF;
}

.calendar-month {
    font-family: 'Sacramento', cursive;
    font-size: 32px;
    font-weight: 400;
    color: #6e4f3c;
    margin-bottom: 20px;
    text-align: center;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    max-width: 100%;
}

.calendar-day {
    font-family: 'Cormorant Garamond', serif;
    font-size: 18px;
    font-weight: 400;
    color: #6e4f3c;
    padding: 12px 8px;
    text-align: center;
    min-height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.calendar-day-heart {
    position: relative;
}

.calendar-day-heart .heart {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    opacity: 0.3;
    z-index: 0;
    object-fit: contain;
}

.calendar-day-heart {
    color: #6e4f3c;
    z-index: 1;
    font-weight: 600;
}

.calendar-date {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
}

.date-line {
    width: 80px;
    height: 1px;
    background-color: #6e4f3c;
    flex-shrink: 0;
}

.date-number {
    font-family: 'Sacramento';
    font-size: 72px;
    font-weight: 300;
    color: #CDB59E;
    letter-spacing: 4px;
}

/* Мобильная адаптация для блока календаря */
@media (max-width: 9999px) {
    .calendar-block {
        padding: 40px 15px;
    }
    
    .calendar-header {
        margin-bottom: 30px;
    }
    
    .calendar-text {
        font-size: 20px;
        margin-right: 8px;
    }
    
    .calendar-text-script {
        font-size: 36px;
        top: -5px;
    }
    
    .calendar-wrapper {
        padding: 20px 10px;
        margin-bottom: 30px;
    }
    
    .calendar-month {
        font-size: 24px;
        margin-bottom: 12px;
    }
    
    .calendar-grid {
        gap: 5px;
    }
    
    .calendar-day {
        font-size: 14px;
        padding: 8px 4px;
        min-height: 35px;
    }
    
    .calendar-day-heart .heart {
        width: 55px;
        height: 55px;
    }
    
    .date-line {
        width: 40px;
    }
    
    .date-number {
        font-size: 42px;
        letter-spacing: 2px;
    }
    
    .calendar-date {
        gap: 10px;
        margin-top: 25px;
        flex-wrap: nowrap;
    }
}

/* Блок локации */
.location-block {
    width: 100%;
    background-color: #FFFFFF;
    padding: 80px 20px;
}

.location-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.location-title {
    font-family: 'Sacramento', cursive;
    font-size: 100px;
    font-weight: 400;
    color: #6e4f3c;
    margin-bottom: 30px;
    line-height: 1;
}

.location-subtitle {
    font-family: 'Cormorant Garamond', serif;
    font-size: 28px;
    font-weight: 400;
    color: #6e4f3c;
    text-transform: uppercase;
    letter-spacing: 3px;
    line-height: 1.5;
    margin-bottom: 50px;
}

.location-subtitle div:first-child {
    margin-bottom: 5px;
}

.location-image {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto 50px;
}

.location-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.location-venue {
    font-family: 'Cormorant Garamond', serif;
    font-size: 32px;
    font-weight: 400;
    color: #6e4f3c;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 30px;
    line-height: 1.2;
}

.location-address {
    margin-bottom: 40px;
}

.address-label {
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px;
    font-weight: 400;
    color: #6e4f3c;
    margin-bottom: 8px;
    line-height: 1.6;
}

.address-line {
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px;
    font-weight: 400;
    color: #6e4f3c;
    margin: 0;
    line-height: 1.6;
}

.location-gallery {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 40px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.location-photo {
    width: 200px;
    height: 200px;
    max-width: 200px;
    max-height: 200px;
    flex-shrink: 0;
    overflow: hidden;
}

.location-photo img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.location-button {
    display: inline-block;
    font-family: 'Cormorant Garamond', serif;
    font-size: 18px;
    font-weight: 400;
    color: #FFFFFF;
    text-decoration: none;
    padding: 15px 40px;
    background-color: #2c2c2c;
    transition: all 0.3s ease;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 2px;
}

.location-button:hover {
    background-color: #1a1a1a;
    opacity: 0.9;
}

/* Мобильная адаптация для блока локации */
@media (max-width: 9999px) {
    .location-block {
        padding: 40px 15px;
    }
    
    .location-title {
        font-size: 50px;
        margin-bottom: 20px;
    }
    
    .location-subtitle {
        font-size: 18px;
        letter-spacing: 1.5px;
        margin-bottom: 30px;
    }
    
    .location-image {
        margin-bottom: 30px;
    }
    
    .location-venue {
        font-size: 22px;
        margin-bottom: 20px;
        letter-spacing: 1px;
    }
    
    .location-address {
        margin-bottom: 25px;
    }
    
    .address-label,
    .address-line {
        font-size: 16px;
    }
    
    .location-gallery {
        flex-direction: row;
        gap: 12px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .location-photo {
        width: 150px;
        height: 150px;
        max-width: 150px;
        max-height: 150px;
    }
    
    .location-button {
        font-size: 14px;
        padding: 10px 25px;
        letter-spacing: 1px;
    }
}

/* Блок тайминга */
.timeline-block {
    width: 100%;
    background-color: #FFFFFF;
    padding: 80px 20px;
}

.timeline-content {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.timeline-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.timeline-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 32px;
    font-weight: 400;
    color: #6e4f3c;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 10px;
    display: inline-block;
}

.timeline-title-script {
    font-family: 'Sacramento', cursive;
    font-size: 80px;
    font-weight: 400;
    color: #CDB59E;
    line-height: 1;
    position: relative;
    display: inline-block;
    margin-left: 0px;
    margin-top: -20px;
}

.timeline-events {
    position: relative;
    padding-left: 120px;
}

.timeline-line {
    position: absolute;
    left: 100px;
    top: 0;
    bottom: 0;
    width: 1px;
    background-color: #2c2c2c;
}

.timeline-event {
    position: relative;
    margin-bottom: 60px;
    display: flex;
    align-items: flex-start;
}

.timeline-event:last-child {
    margin-bottom: 0;
}

.event-time {
    font-family: 'Cormorant Garamond', serif;
    font-size: 24px;
    font-weight: 400;
    color: #6e4f3c;
    position: absolute;
    left: -120px;
    top: 0;
    width: 100px;
    text-align: right;
    padding-right: 20px;
    margin-top: 13px;
}

.event-content {
    flex: 1;
    padding-left: 30px;
    display: flex;
    flex-direction: column;
}

.event-row {
    display: flex;
    align-items: center;
    width: 100%;
    margin-bottom: 10px;
}

.event-icon {
    width: 60px;
    height: 60px;
    object-fit: contain;
    flex-shrink: 0;
}

.event-russian {
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px;
    font-weight: 400;
    color: #6e4f3c;
    line-height: 1.6;
    text-align: right;
    margin-left: 20px;
}

.event-line {
    width: 200px;
    height: 1px;
    background-color: #2c2c2c;
    align-self: flex-end;
}

/* Мобильная адаптация для блока тайминга */
@media (max-width: 9999px) {
    .timeline-block {
        padding: 40px 15px;
    }
    
    .timeline-header {
        margin-bottom: 40px;
    }
    
    .timeline-title {
        font-size: 22px;
        letter-spacing: 2px;
    }
    
    .timeline-title-script {
        font-size: 48px;
        margin-top: -10px;
    }
    
    .timeline-events {
        padding-left: 80px;
    }
    
    .timeline-line {
        left: 60px;
    }
    
    .timeline-event {
        margin-bottom: 50px;
    }
    
    .event-time {
        left: -80px;
        width: 60px;
        font-size: 21px;
        padding-right: 10px;
        margin-top: 13px;
    }
    
    .event-content {
        padding-left: 20px;
    }
    
    .event-row {
        margin-bottom: 8px;
    }
    
    .event-icon {
        width: 60px;
        height: 60px;
    }
    
    .event-russian {
        font-size: 19px;
    }
    
    .event-line {
        width: 120px;
    }
}

/* Блок DRESS CODE */
.dresscode-block {
    width: 100%;
    background-color: #FFFFFF;
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
}

.dresscode-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.dresscode-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 32px;
    font-weight: 400;
    color: #6e4f3c;
    text-transform: uppercase;
    letter-spacing: 4px;
    text-align: center;
    margin-bottom: 40px;
}

.dresscode-text {
    margin-bottom: 60px;
}

.dresscode-paragraph {
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px;
    font-weight: 400;
    color: #6e4f3c;
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: left;
}

.dresscode-paragraph:last-child {
    margin-bottom: 0;
}

.dresscode-heart {
    color: #999;
    font-size: 18px;
}

.dresscode-watermark {
    font-family: 'Sacramento', cursive;
    font-size: 180px;
    font-weight: 400;
    color: rgba(224, 209, 185, 0.2);
    position: absolute;
    bottom: 100px;
    right: -50px;
    transform: rotate(-15deg);
    z-index: 1;
    pointer-events: none;
}

.dresscode-palette {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-top: 50px;
}

.color-swatch {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
}

/* Мобильная адаптация для блока DRESS CODE */
@media (max-width: 9999px) {
    .dresscode-block {
        padding: 40px 15px;
    }
    
    .dresscode-title {
        font-size: 22px;
        letter-spacing: 2px;
        margin-bottom: 25px;
    }
    
    .dresscode-text {
        margin-bottom: 40px;
    }
    
    .dresscode-paragraph {
        font-size: 16px;
        margin-bottom: 15px;
    }
    
    .dresscode-watermark {
        font-size: 100px;
        bottom: 60px;
        right: -30px;
    }
    
    .dresscode-palette {
        margin-top: 40px;
        flex-wrap: wrap;
        gap: 5px;
    }
    
    .color-swatch {
        width: 45px;
        height: 45px;
    }
}

/* Блок счетчика обратного отсчета */
.countdown-block {
    width: 100%;
    padding: 80px 20px;
    text-align: center;
}

.countdown-content {
    max-width: 1000px;
    margin: 0 auto;
}

.countdown-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 28px;
    font-weight: 400;
    color: #6e4f3c;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 50px;
    line-height: 1.5;
}

.countdown-title span {
    display: block;
}

.countdown-title span:first-child {
    margin-bottom: 5px;
}

.countdown-paper {
    background-image: url('assets/bg_date.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 60px 40px;
    position: relative;
    margin: 0 auto;
    max-width: 900px;
    border-radius: 0;
}

/* Эффект рваной бумаги сверху */
.countdown-paper::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 0;
    right: 0;
    height: 30px;
    background-size: 20px 30px;
    background-position: 0 0, 20px 0, 40px 0, 60px 0, 80px 0, 100px 0, 120px 0, 140px 0;
    background-repeat: repeat-x;
    z-index: 1;
}

/* Эффект рваной бумаги снизу */
.countdown-paper::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    right: 0;
    height: 30px;
    
    background-size: 20px 30px;
    background-position: 0 0, 20px 0, 40px 0, 60px 0, 80px 0, 100px 0, 120px 0, 140px 0;
    background-repeat: repeat-x;
    z-index: 1;
}

.countdown-items {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    min-width: 120px;
}

.countdown-number {
    font-family: 'Cormorant Garamond', serif;
    font-size: 72px;
    font-weight: 700;
    color: #6e4f3c;
    line-height: 1;
    margin-bottom: 15px;
}

.countdown-label {
    font-family: 'Sacramento', cursive;
    font-size: 24px;
    font-weight: 400;
    color: #6e4f3c;
    line-height: 1;
}

/* Мобильная адаптация для счетчика */
@media (max-width: 9999px) {
    .countdown-block {
        padding: 40px 0;
    }
    
    .countdown-content {
        max-width: 100%;
    }
    
    .countdown-title {
        font-size: 20px;
        letter-spacing: 1.5px;
        margin-bottom: 30px;
        padding: 0 15px;
    }
    
    .countdown-paper {
        padding: 40px 20px;
        max-width: 100%;
        margin: 0;
    }
    
    .countdown-items {
        gap: 15px;
    }
    
    .countdown-item {
        min-width: 60px;
    }
    
    .countdown-number {
        font-size: 42px;
        margin-bottom: 10px;
    }
    
    .countdown-label {
        font-size: 18px;
    }
}

/* Блок контактов */
.contacts-block {
    width: 100%;
    background-color: #FFFFFF;
    padding: 80px 20px;
    text-align: center;
}

.contacts-content {
    max-width: 800px;
    margin: 0 auto;
}

.contacts-header {
    margin-bottom: 40px;
}

.contacts-title-script {
    font-family: 'Sacramento', cursive;
    font-size: 48px;
    font-weight: 400;
    color: #CDB59E;
    line-height: 1;
    margin-bottom: 10px;
}

.contacts-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 32px;
    font-weight: 700;
    color: #6e4f3c;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin: 0;
    line-height: 1.2;
}

.contacts-intro {
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px;
    font-weight: 400;
    color: #6e4f3c;
    line-height: 1.6;
    text-align: left;
    margin-bottom: 50px;
    padding: 0 20px;
}

.contacts-list {
    display: flex;
    flex-direction: column;
    gap: 50px;
    align-items: center;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.contact-name {
    font-family: 'Sacramento', cursive;
    font-size: 64px;
    font-weight: 400;
    color: #6e4f3c;
    line-height: 1;
    margin-bottom: 20px;
}

.contact-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 25px;
    font-weight: 400;
    color: #6e4f3c;
    line-height: 1.6;
    text-decoration: none;
}

.contact-phone span {
    color: #6e4f3c;
    text-decoration: none;
}

/* Убираем синий цвет у автоматически созданных ссылок на телефоны */
a[href^="tel:"] {
    color: #6e4f3c !important;
    text-decoration: none !important;
}

.phone-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: #6e4f3c;
}

/* Мобильная адаптация для блока контактов */
@media (max-width: 9999px) {
    .contacts-block {
        padding: 40px 15px;
    }
    
    .contacts-title-script {
        font-size: 36px;
    }
    
    .contacts-title {
        font-size: 22px;
        letter-spacing: 2px;
    }
    
    .contacts-intro {
        font-size: 16px;
        margin-bottom: 30px;
        padding: 0 10px;
    }
    
    .contacts-list {
        gap: 35px;
    }
    
    .contact-name {
        font-size: 48px;
        margin-bottom: 12px;
    }
    
    .contact-phone {
        font-size: 25px;
    }
    
    .phone-icon {
        width: 14px;
        height: 14px;
    }
}

/* Финальный блок */
.final-block {
    width: 100%;
    background-color: #F8F7F4;
    padding: 100px 20px;
    text-align: center;
}

.final-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.final-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 28px;
    font-weight: 400;
    color: #6e4f3c;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 0;
    position: relative;
    z-index: 2;
}

.final-text-script {
    font-family: 'Sacramento', cursive;
    font-size: 120px;
    font-weight: 400;
    color: #CDB59E;
    line-height: 1;
    margin-top: -30px;
    position: relative;
    z-index: 1;
    display: inline-block;
}

/* Мобильная адаптация для финального блока */
@media (max-width: 9999px) {
    .final-block {
        padding: 60px 15px;
    }
    
    .final-text {
        font-size: 20px;
        letter-spacing: 1.5px;
    }
    
    .final-text-script {
        font-size: 70px;
        margin-top: -20px;
    }
}
