* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #fefaef;
    color: #333;
    overflow-x: hidden;
    line-height: 1.6;
}

.container {
    width: 100%;
    margin: 0 auto;
    padding: 0;
}

/* Hero Section */
.hero {
    min-height: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 50px 0 0;
    position: relative;
} 

.hero-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    position: relative;
}

.hero-object {
    width: 100vw;
    max-width: none;
    height: auto;
    position: absolute;
    top: 50px;
    left: 0;
    z-index: 1;
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.main-text {
    text-align: center;
    margin-top: 30vh;
    padding: 0 15px;
    position: relative;
    z-index: 2;
}

.subtitle {
    font-family: 'Caveat', cursive;
    font-size: 2.2rem;
    font-weight: 500;
    color: #000;
    margin-bottom: 1px;
    letter-spacing: 1px;
}

.title {
    font-family: 'Caveat', cursive;
    font-size: 3.5rem;
    font-weight: 600;
    color: #740e23;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.photo-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 40px auto 0;
    padding: 0;
    z-index: 2;
}

.couple-photo {
    width: 100%;
    height: auto;
    border-radius: 0;
    box-shadow: none;
    filter: none;
    display: block;
    filter: url(#outline-filter);
}

.quote-left, .quote-right {
    position: absolute;
    max-width: 45%;
    background-color: transparent;
    padding: 0;
    box-shadow: none;
    border-radius: 0;
    z-index: 3;
}

.quote-left {
    top: 50px;
    left: 30px;
    text-align: left;
}

.quote-right {
    top: 50px !important;
    right: 30px;
    text-align: right;
}

.quote-text {
    font-family: 'Caveat', cursive;
    font-size: 1.3rem;
    font-weight: 500;
    color: #000;
    display: block;
    line-height: 1.1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Бегущая строка */
.marquee-container {
    background-color: #740e23;
    padding: 10px 0;
    overflow: hidden;
    position: relative;
    width: 100%;
    height: 60px;
    display: flex;
    align-items: center;
    margin-top: 0;
}

.marquee {
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
}

.marquee-content {
    display: inline-flex;
    animation: marquee 25s linear infinite;
}

.marquee-text {
    font-family: 'Caveat', cursive;
    font-size: 2rem;
    color: white;
    padding: 0 20px;
    display: inline-block;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Новая секция с приглашением */
.invitation-section {
    padding: 60px 20px;
    max-width: 800px;
    margin: 0 auto;
}

.invitation-content {
    text-align: center;
}

.invitation-text {
    margin-bottom: 20px;
}

.invitation-text p {
    font-family: 'Caveat', cursive;
    font-size: 1.8rem;
    font-weight: 500;
    color: #000;
    line-height: 1.2;
    font-style: normal;
}

.invitation-date {
    margin-top: 10px;
    margin-bottom: 20px;
}

.invitation-date span {
    font-family: 'Caveat', cursive;
    font-size: 3.5rem;
    font-weight: 600;
    color: #740e23;
    display: inline-block;
}

/* Календарь */
.calendar {
    background-color: white;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    max-width: 400px;
    margin: 0 auto;
}

.calendar-header {
    margin-bottom: 10px;
}

.calendar-month {
    font-family: 'Caveat', cursive;
    font-size: 1.8rem;
    font-weight: 600;
    color: #740e23;
    text-align: center;
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    margin-bottom: 8px;
}

.calendar-weekdays div {
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    color: #666;
    padding: 2px 0;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

.calendar-day {
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    padding: 6px 0;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.calendar-day:hover {
    background-color: #f5f5f5;
}

.wedding-day {
    background-color: #740e23;
    color: white !important;
    font-weight: 600;
    position: relative;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(116, 14, 35, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(116, 14, 35, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(116, 14, 35, 0);
    }
}

/* Секция с локацией */
.location-section {
    background-color: #740e23;
    padding: 60px 20px;
    margin-top: 20px;
}

.location-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.location-title {
    font-family: 'Caveat', cursive;
    font-size: 2.5rem;
    font-weight: 600;
    color: white;
    margin-bottom: 15px;
}

.location-address {
    margin-bottom: 15px;
}

.location-address p {
    font-family: 'Caveat', cursive;
    font-size: 1.6rem;
    font-weight: 500;
    color: white;
    line-height: 1.2;
}

.location-button {
    display: inline-block;
    background-color: white;
    color: #740e23;
    font-family: 'Caveat', cursive;
    font-size: 1.4rem;
    font-weight: 600;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.location-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    background-color: #f8f8f8;
}

/* Секция с таймингом */
.timing-section {
    background-color: #fefaef;
    padding: 30px 15px;
    position: relative;
    overflow: hidden;
}

.timing-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.timing-title {
    font-family: 'Caveat', cursive;
    font-size: 2.8rem;
    font-weight: 600;
    color: #740e23;
    text-align: center;
    margin-bottom: 30px;
}

/* Фото 3.png как фон таймлайна */
.timeline-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.timeline-image {
    width: 95%;
    max-width: 1000px;
    height: auto;
    opacity: 0.9;
}

.timing-items {
    position: relative;
    z-index: 2;
    height: 600px;
}

.timing-item {
    position: absolute;
    width: 80%;
    max-width: 300px;
}

/* Общие стили для всех элементов тайминга */
.time {
    font-family: 'Caveat', cursive;
    font-size: 1.6rem;
    font-weight: 600;
    color: #740e23;
    margin-bottom: 1px !important;
    line-height: 1;
}

.description {
    font-family: 'Caveat', cursive;
    font-size: 1.2rem;
    font-weight: 500;
    color: #000;
    margin-bottom: 1px !important;
    line-height: 1;
}

.subtext {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: #666;
    line-height: 1.1 !important;
    margin-top: 0;
    padding-top: 0;
}

/* Для десктопов (769px+) */
@media (min-width: 769px) {
    .timing-section {
        padding: 50px 20px;
    }
    
    .timing-title {
        font-size: 3.2rem;
        margin-bottom: 40px;
    }
    
    .timeline-image {
        width: 98%;
        max-width: 1100px;
    }
    
    .timing-items {
        height: 800px;
    }
    
    .timing-item {
        width: 40%;
        max-width: 350px;
    }
    
    /* 15.00 */
    .timing-item:nth-child(1) {
        text-align: left;
        left: 5%;
        top: 30px;
    }
    
    /* 16.00 */
    .timing-item:nth-child(2) {
        text-align: right;
        right: 5%;
        top: 250px;
    }
    
    /* 17.00 */
    .timing-item:nth-child(3) {
        text-align: left;
        left: 5%;
        top: 500px;
    }
    
    /* 20.30 */
    .timing-item:nth-child(4) {
        text-align: right;
        right: 3%;
        top: 260px;
    }
    
    /* 22.00 */
    .timing-item:nth-child(5) {
        text-align: center;
        left: 50%;
        transform: translateX(-50%);
        top: 360px;
        width: 80%;
    }
    
    /* 23.00 */
    .timing-item:nth-child(6) {
        text-align: center;
        left: 50%;
        transform: translateX(-50%);
        top: 470px;
        width: 80%;
    }
    
    .time {
        font-size: 1.9rem;
        margin-bottom: 1px !important;
        line-height: 1;
    }
    
    .description {
        font-size: 1.4rem;
        margin-bottom: 1px !important;
        line-height: 1;
    }
    
    .subtext {
        font-size: 1.05rem;
        line-height: 1.1 !important;
    }

    .timing-section {
        padding-bottom: 100px !important;
    }
}

/* Планшеты (481px - 768px) */
@media (min-width: 481px) and (max-width: 768px) {
    .timing-title {
        font-size: 2.4rem;
        margin-bottom: 30px;
    }
    
    .timeline-image {
        width: 97%;
        max-width: 900px;
    }
    
    .timing-items {
        height: 700px;
    }
    
    .timing-item {
        width: 75%;
    }
    
    /* 15.00 */
    .timing-item:nth-child(1) {
        text-align: left;
        left: 5%;
        top: 30px;
    }
    
    /* 16.00 */
    .timing-item:nth-child(2) {
        text-align: right;
        right: 5%;
        top: 250px;
    }
    
    /* 17.00 */
    .timing-item:nth-child(3) {
        text-align: left;
        left: 5%;
        top: 500px;
    }
    
    /* 20.30 */
    .timing-item:nth-child(4) {
        text-align: right;
        right: 3%;
        top: 260px;
    }
    
    /* 22.00 */
    .timing-item:nth-child(5) {
        text-align: center;
        left: 50%;
        transform: translateX(-50%);
        top: 360px;
        width: 85%;
    }
    
    /* 23.00 */
    .timing-item:nth-child(6) {
        text-align: center;
        left: 50%;
        transform: translateX(-50%);
        top: 470px;
        width: 85%;
    }
    
    .time {
        font-size: 1.8rem;
        margin-bottom: 1px !important;
        line-height: 1;
    }
    
    .description {
        font-size: 1.3rem;
        margin-bottom: 1px !important;
        line-height: 1;
    }
    
    .subtext {
        font-size: 0.95rem;
        line-height: 1.1 !important;
    }

    .timing-section {
        padding-bottom: 100px !important;
    }
}

/* Маленькие телефоны (до 480px) */
@media (max-width: 480px) {
    .hero {
        padding: 30px 0 0;
    }
    
    .hero-object {
        top: 30px;
    }
    
    .main-text {
        margin-top: 15vh;
    }
    
    .subtitle {
        font-size: 1.5rem;
        margin-bottom: 0;
    }
    
    .title {
        font-size: 2.2rem;
        margin-bottom: 15px;
    }
    
    .photo-container {
        margin: 15px auto 0;
    }
    
    .quote-text {
        font-size: 1rem;
        line-height: 1.1;
    }
    
    .quote-left, .quote-right {
        max-width: 45%;
    }
    
    .quote-left {
        top: 20px;
        left: 15px;
    }
    
    .quote-right {
        top: 10px !important;
        right: 15px;
    }
    
    .marquee-container {
        height: 45px;
    }
    
    .marquee-text {
        font-size: 1.4rem;
    }
    
    .invitation-section {
        padding: 40px 15px;
    }
    
    .invitation-text p {
        font-size: 1.3rem;
        line-height: 1.1;
    }
    
    .invitation-date span {
        font-size: 2.2rem;
    }
    
    .calendar {
        padding: 10px;
        max-width: 320px;
    }
    
    .calendar-month {
        font-size: 1.4rem;
    }
    
    .calendar-weekdays {
        gap: 3px;
    }
    
    .calendar-weekdays div {
        font-size: 0.8rem;
        padding: 1px 0;
    }
    
    .calendar-days {
        gap: 3px;
    }
    
    .calendar-day {
        padding: 3px 0;
        font-size: 0.85rem;
    }
    
    .location-section {
        padding: 40px 15px;
    }
    
    .location-title {
        font-size: 1.8rem;
        margin-bottom: 10px;
    }
    
    .location-address p {
        font-size: 1.2rem;
        line-height: 1.1;
    }
    
    .location-button {
        font-size: 1.1rem;
        padding: 10px 20px;
    }
    
    /* НАСТРОЙКИ ТАЙМИНГА ДЛЯ ТЕЛЕФОНОВ */
    .timing-section {
        padding: 25px 10px;
    }
    
    .timing-title {
        font-size: 2rem;
        margin-bottom: 25px;
    }
    
    .timeline-image {
        width: 100%;
        max-width: 850px;
    }
    
    .timing-items {
        height: 500px;
    }
    
    .timing-item {
        width: 90%;
    }
    
    /* 15.00 */
    .timing-item:nth-child(1) {
        text-align: left;
        left: 5%;
        top: 30px;
    }
    
    /* 16.00 */
    .timing-item:nth-child(2) {
        text-align: right;
        right: 5%;
        top: 250px;
    }
    
    /* 17.00 */
    .timing-item:nth-child(3) {
        text-align: left;
        left: 5%;
        top: 500px;
    }
    
    /* 20.30 */
    .timing-item:nth-child(4) {
        text-align: right;
        right: 3%;
        top: 260px;
    }
    
    /* 22.00 */
    .timing-item:nth-child(5) {
        text-align: center;
        left: 40%;
        transform: translateX(-50%);
        top: 360px;
        width: 85%;
    }
    
    /* 23.00 */
    .timing-item:nth-child(6) {
        text-align: center;
        left: 50%;
        transform: translateX(-50%);
        top: 600px !important;
        width: 100%;
    }
    
    .time {
        font-size: 1.6rem;
        margin-bottom: 1px !important;
        line-height: 1;
    }
    
    .description {
        font-size: 1.6rem !important;
        margin-bottom: 3px !important;
    }
    
    .subtext {
        font-size: 0.75rem !important;
        line-height: 1.2 !important;
        margin-top: 2px !important;
    }

    .timing-section {
        padding-bottom: 100px !important;
    }
}

/* Адаптивность для планшетов (768px) */
@media (max-width: 768px) {
    .hero {
        padding: 40px 0 0;
    }
    
    .hero-object {
        top: 60px;
    }
    
    .main-text {
        margin-top: 21vh;
    }
    
    .subtitle {
        font-size: 1.8rem;
        margin-bottom: 0;
    }
    
    .title {
        font-size: 2.8rem;
        margin-bottom: 20px;
    }
    
    .photo-container {
        margin: 30px auto 0;
    }
    
    .quote-text {
        font-size: 1.1rem;
        line-height: 1.1;
    }
    
    .quote-left, .quote-right {
        max-width: 50%;
    }
    
    .quote-left {
        top: 15px;
        left: 20px;
    }
    
    .quote-right {
        top: 10px;
        right: 30px !important;
    }
    
    .marquee-container {
        height: 50px;
    }
    
    .marquee-text {
        font-size: 1.6rem;
    }
    
    .invitation-section {
        padding: 50px 20px;
    }
    
    .invitation-text p {
        font-size: 1.5rem;
        line-height: 1.1;
    }
    
    .invitation-date span {
        font-size: 2.8rem;
    }
    
    .calendar {
        padding: 15px;
        max-width: 350px;
    }
    
    .calendar-day {
        padding: 5px 0;
        font-size: 0.9rem;
    }
    
    .location-section {
        padding: 50px 20px;
    }
    
    .location-title {
        font-size: 2.2rem;
        margin-bottom: 15px;
    }
    
    .location-address p {
        font-size: 1.4rem;
        line-height: 1.1;
    }
    
    .location-button {
        font-size: 1.2rem;
        padding: 10px 20px;
    }
}

/* Переопределение для всех устройств */
.time, .description {
    margin-bottom: 1px !important;
    line-height: 1 !important;
}

.subtext {
    line-height: 1.1 !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.timeline-background {
    margin-top: 62px;
}

.timing-section {
    padding-bottom: 110px !important;
}

/* ======================= */
/* РАЗМЕРЫ ШРИФТОВ ТАЙМИНГА */
/* ======================= */

/* Мобильные устройства (до 480px) */
@media (max-width: 480px) {
    .description {
        font-size: 1.6rem !important;
        margin-bottom: 3px !important;
    }
    
    .subtext {
        font-size: 0.75rem !important;
        line-height: 1.2 !important;
        margin-top: 2px !important;
    }
}

/* Планшеты (481px - 768px) */
@media (min-width: 481px) and (max-width: 768px) {
    .description {
        font-size: 1.8rem !important;
        margin-bottom: 3px !important;
    }
    
    .subtext {
        font-size: 0.8rem !important;
        line-height: 1.2 !important;
        margin-top: 2px !important;
    }
}

/* Десктопы (769px и больше) */
@media (min-width: 769px) {
    .description {
        font-size: 2.2rem !important;
        margin-bottom: 3px !important;
    }
    
    .subtext {
        font-size: 0.85rem !important;
        line-height: 1.3 !important;
        margin-top: 3px !important;
    }
}

/* Секция с дресс-кодом */
.dresscode-section {
    background-color: #fefaef;
    padding: 40px 15px;
}

.dresscode-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.dresscode-title {
    font-family: 'Caveat', cursive;
    font-size: 2.5rem;
    font-weight: 600;
    color: #740e23;
    margin-bottom: 20px;
}

.dresscode-text {
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.dresscode-text p {
    font-family: 'Caveat', cursive;
    font-size: 1.6rem;
    font-weight: 500;
    color: #333;
    line-height: 1.3;
}

/* Сетка для двух фото */
.dresscode-grid {
    display: flex;
    flex-direction: row;
    gap: 20px;
    justify-content: center;
    align-items: flex-start;
    max-width: 700px;
    margin: 0 auto;
}

.dresscode-item {
    flex: 1;
    min-width: 0; /* Предотвращает переполнение */
    text-align: center;
}

.dresscode-photo {
    width: 100%;
    margin-bottom: 10px;
}

.dresscode-photo img {
    width: 120%;
    height: auto;
    border-radius: 0;
    /* box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05); */
    background-color: transparent;
    transition: transform 0.3s ease;
}

.dresscode-photo img:hover {
    transform: scale(1.02);
}

.dresscode-caption {
    font-family: 'Caveat', cursive;
    font-size: 1.4rem;
    font-weight: 500;
    color: #740e23;
    margin-top: 5px;
    padding-bottom: 5px;
    border-bottom: 2px solid rgba(116, 14, 35, 0.2);
    display: inline-block;
}

.dresscode-item:first-child .dresscode-photo img {
    max-width: 80%; /* Уменьшаем до 80% от оригинального размера */
}

/* Адаптивность для мобильных - вертикальное расположение */
@media (max-width: 600px) {
    .dresscode-section {
        padding: 30px 15px;
    }
    
    .dresscode-title {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    
    .dresscode-text p {
        font-size: 1.3rem;
        line-height: 1.2;
        margin-bottom: 20px;
    }
    
    .dresscode-grid {
        flex-direction: column;
        gap: 30px;
        max-width: 350px;
    }
    
    .dresscode-item {
        width: 100%;
    }
    
    .dresscode-photo {
        max-width: 280px;
        margin: 0 auto 8px;
    }
    
    .dresscode-caption {
        font-size: 1.3rem;
    }
}

/* Для очень маленьких экранов */
@media (max-width: 380px) {
    .dresscode-text p {
        font-size: 1.2rem;
    }
    
    .dresscode-photo {
        max-width: 240px;
    }
    
    .dresscode-caption {
        font-size: 1.2rem;
    }
}

/* Для планшетов */
@media (min-width: 601px) and (max-width: 900px) {
    .dresscode-grid {
        gap: 15px;
    }
    
    .dresscode-caption {
        font-size: 1.3rem;
    }
}

/* Секция с анкетой гостя */
.guest-form-section {
    background-color: #fefaef;
    padding: 60px 20px;
}

.guest-form-content {
    max-width: 800px;
    margin: 0 auto;
}

.guest-form-title {
    font-family: 'Caveat', cursive;
    font-size: 2.5rem;
    font-weight: 600;
    color: #740e23;
    text-align: center;
    margin-bottom: 20px;
}

.guest-form-intro {
    text-align: center;
    margin-bottom: 30px;
}

.guest-form-intro p {
    font-family: 'Caveat', cursive;
    font-size: 1.8rem;
    font-weight: 500;
    color: #333;
    line-height: 1.3;
}

/* Форма анкеты */
.guest-form {
    background-color: transparent;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    margin-bottom: 40px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 8px 0; /* Убираем боковые отступы, оставляем только вертикальные */
    border: none; /* Убираем все границы */
    border-bottom: 2px solid #740e23; /* Только нижняя линия */
    border-radius: 0; /* Убираем скругление */
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: #333;
    background-color: transparent;
    transition: all 0.3s ease;
    outline: none; /* Убираем обводку при фокусе */
    -webkit-appearance: none;
    appearance: none;
}

.form-group input:focus,
.form-group select:focus {
    border-bottom-color: #5c0b1c; /* Темнее при фокусе */
    border-bottom-width: 2px; /* Оставляем ту же толщину */
    background-color: transparent; /* Убираем фон */
}

.form-group input::placeholder {
    color: #999;
    opacity: 1;
    font-style: italic;
    font-size: 0.95rem;
}

.form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23740e23' d='M6 8.25L1.5 3.75h9L6 8.25z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0 center; /* Стрелка справа без отступа */
    background-size: 12px;
    padding-right: 20px;
    background-color: transparent;
    cursor: pointer;
}

.form-group select::-ms-expand {
    display: none;
}

.submit-btn {
    width: 100%;
    background-color: #740e23;
    color: white;
    font-family: 'Caveat', cursive;
    font-size: 1.5rem;
    font-weight: 600;
    padding: 15px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.submit-btn:hover {
    background-color: #5c0b1c;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(116, 14, 35, 0.3);
}

/* Таймер обратного отсчета */
.countdown-timer {
    background-color: #740e23;
    border-radius: 0;
    padding: 30px 0;
    text-align: center;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.countdown-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.countdown-title {
    font-family: 'Caveat', cursive;
    font-size: 1.8rem;
    font-weight: 600;
    color: white;
    margin-bottom: 20px;
}

.countdown-display {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 60px;
}

.countdown-number {
    font-family: 'Inter', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: white;
    line-height: 1;
    margin-bottom: 5px;
}

.countdown-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.countdown-separator {
    font-family: 'Inter', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
}

/* Адаптивность для анкеты */
@media (max-width: 768px) {
    .guest-form-section {
        padding: 40px 15px;
    }
    
    .guest-form-title {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    
    .guest-form-intro p {
        font-size: 1.4rem;
        line-height: 1.2;
    }
    
    .guest-form {
        margin-bottom: 30px;
    }
    
    .form-group {
        margin-bottom: 15px;
    }
    
    .form-group label {
        font-size: 1rem;
    }
    
    .form-group input,
    .form-group select {
        padding: 10px 12px;
        font-size: 0.95rem;
        border-width: 1.5px;
    }
    
    .form-group select {
        background-size: 10px;
        padding-right: 35px;
        background-position: right 12px center;
    }
    
    .submit-btn {
        font-size: 1.3rem;
        padding: 13px;
    }
    
    .countdown-timer {
        padding: 25px 0;
    }
    
    .countdown-title {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }
    
    .countdown-display {
        gap: 8px;
    }
    
    .countdown-item {
        min-width: 50px;
    }
    
    .countdown-number {
        font-size: 1.8rem;
    }
    
    .countdown-label {
        font-size: 0.8rem;
    }
    
    .countdown-separator {
        font-size: 1.6rem;
        margin-bottom: 15px;
    }
}

@media (max-width: 480px) {
    .guest-form-section {
        padding: 30px 10px;
    }
    
    .guest-form-title {
        font-size: 1.8rem;
    }
    
    .guest-form-intro p {
        font-size: 1.2rem;
    }
    
    .form-group input,
    .form-group select {
        padding: 8px 10px;
        font-size: 0.9rem;
        border-width: 1px;
    }
    
    .form-group select {
        background-size: 8px;
        padding-right: 30px;
        background-position: right 10px center;
    }
    
    .countdown-timer {
        padding: 20px 0;
    }
    
    .countdown-display {
        flex-wrap: wrap;
        gap: 5px;
    }
    
    .countdown-item {
        min-width: 45px;
    }
    
    .countdown-number {
        font-size: 1.5rem;
    }
    
    .countdown-label {
        font-size: 0.7rem;
    }
    
    .countdown-separator {
        font-size: 1.3rem;
        margin-bottom: 10px;
    }
}

/* Отключение синего выделения на мобильных устройствах */
@media (max-width: 768px) {
    /* Для всех кнопок и интерактивных элементов */
    button,
    .submit-btn,
    .location-button,
    .form-group input,
    .form-group select,
    a {
        -webkit-tap-highlight-color: transparent;
        tap-highlight-color: transparent;
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        user-select: none;
    }
    
    /* Для кнопок формы */
    .submit-btn {
        -webkit-tap-highlight-color: rgba(116, 14, 35, 0.3);
    }
    
    /* Для кнопок навигации/ссылок */
    .location-button {
        -webkit-tap-highlight-color: rgba(116, 14, 35, 0.3);
    }
    
    /* Для полей ввода - легкое выделение при фокусе */
    .form-group input:focus,
    .form-group select:focus {
        -webkit-tap-highlight-color: rgba(116, 14, 35, 0.1);
    }
}

/* Альтернативно - для всех устройств */
button,
input[type="submit"],
input[type="button"],
.submit-btn,
.location-button,
a {
    -webkit-tap-highlight-color: transparent;
    outline: none;
}

/* Но сохраняем фокус для доступности на десктопах */
@media (min-width: 769px) {
    button:focus,
    .submit-btn:focus,
    .location-button:focus,
    input:focus,
    select:focus,
    a:focus {
        outline: 2px solid #740e23;
        outline-offset: 2px;
    }
}

/* Отключение выделения при долгом нажатии на мобильных */
* {
    -webkit-tap-highlight-color: transparent;
}

/* Футер */
.footer-section {
    background-color: #fefaef;
    padding: 60px 20px;
    border-top: 1px solid #e0d9b0;
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.footer-title {
    font-family: 'Caveat', cursive;
    font-size: 2.5rem;
    font-weight: 600;
    color: #740e23;
    margin-bottom: 25px;
}

.footer-text {
    margin-bottom: 20px;
}

.footer-text p {
    font-family: 'Caveat', cursive;
    font-size: 1.8rem;
    font-weight: 500;
    color: #333;
    line-height: 1.4;
}

.footer-text a {
    color: #740e23;
    text-decoration: none;
    font-weight: 600;
    /* border-bottom: 1px dashed rgba(116, 14, 35, 0.5); */
    transition: all 0.3s ease;
    padding: 0 2px;
}

.footer-text a:hover {
    color: #5c0b1c;
    border-bottom: 1px solid #740e23;
}

/* Адаптивность для футера */
@media (max-width: 768px) {
    .footer-section {
        padding: 40px 15px;
    }
    
    .footer-title {
        font-size: 2rem;
        margin-bottom: 20px;
    }
    
    .footer-text p {
        font-size: 1.4rem;
        line-height: 1.3;
    }
    
    .footer-text a {
        display: block;
        margin: 5px 0;
        padding: 2px 0;
    }
}

@media (max-width: 480px) {
    .footer-section {
        padding: 30px 10px;
    }
    
    .footer-title {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }
    
    .footer-text p {
        font-size: 1.2rem;
        line-height: 1.2;
    }
    
    .footer-text a {
        font-size: 1.1rem;
        margin: 8px 0;
    }
}

/* Убедимся, что телефонные ссылки не имеют синего выделения на мобильных */
@media (max-width: 768px) {
    .footer-text a {
        -webkit-tap-highlight-color: rgba(116, 14, 35, 0.1);
        tap-highlight-color: rgba(116, 14, 35, 0.1);
    }
}



/* Секция с пожеланиями - с SVG сердечками */
.wishes-section {
    background-color: #fefaef;
    padding: 60px 20px;
}

.wishes-content {
    max-width: 800px;
    margin: 0 auto;
}

.wishes-title {
    font-family: 'Caveat', cursive;
    font-size: 2.5rem;
    font-weight: 600;
    color: #740e23;
    text-align: center;
    margin-bottom: 40px;
}

.wishes-items {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.wishes-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    position: relative;
    padding-bottom: 30px;
}

/* SVG сердечко между пунктами */
.wishes-item:not(:last-child)::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23740e23'%3E%3Cpath d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-color: #fefaef;
    padding: 0 20px;
    z-index: 2;
    animation: heartbeat 1.5s ease-in-out infinite;
}

/* Анимация пульсации сердечка */
@keyframes heartbeat {
    0%, 100% {
        transform: translateX(-50%) scale(1);
    }
    50% {
        transform: translateX(-50%) scale(1.2);
    }
}

.wishes-text p {
    font-family: 'Caveat', cursive;
    font-size: 1.4rem;
    line-height: 1.3;
    color: #333;
    margin: 0;
}

/* Адаптивность */
@media (max-width: 768px) {
    .wishes-section {
        padding: 40px 15px;
    }
    
    .wishes-title {
        font-size: 2rem;
    }
    
    .wishes-text p {
        font-size: 1.2rem;
    }
    
    .wishes-item:not(:last-child)::after {
        width: 25px;
        height: 25px;
        bottom: -12px;
    }
}

@media (max-width: 480px) {
    .wishes-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 10px;
    }
    
    .wishes-text p {
        font-size: 1.1rem;
    }
    
    .wishes-item:not(:last-child)::after {
        width: 20px;
        height: 20px;
        bottom: -10px;
    }
}

/* Дополнительные стили для SVG иконок */
.wishes-icon svg {
    transition: transform 0.3s ease;
}

.wishes-item:hover svg {
    transform: scale(1.1);
}

.wishes-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}



/* Стили для чекбоксов */
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 10px;
}

.checkbox-item {
    display: flex;
    align-items: center;
    cursor: pointer;
    position: relative;
    padding: 5px 0;
    border-bottom: 1px solid rgba(116, 14, 35, 0.2); /* Тонкая линия между пунктами */
}

.checkbox-item:last-child {
    border-bottom: none; /* Убираем линию у последнего */
}

.checkbox-item input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkbox-custom {
    position: relative;
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2px solid #740e23;
    margin-right: 12px;
    transition: all 0.2s ease;
}

.checkbox-item input[type="checkbox"]:checked ~ .checkbox-custom {
    background-color: #740e23;
}

.checkbox-custom:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-item input[type="checkbox"]:checked ~ .checkbox-custom:after {
    display: block;
}

.checkbox-item .checkbox-custom:after {
    left: 5px;
    top: 1px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-label {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: #333;
    flex: 1;
}

.checkbox-item:hover .checkbox-label {
    color: #740e23;
}

.checkbox-hint {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: #666;
    margin-top: 8px;
    font-style: italic;
}

/* Для мобильных */
@media (max-width: 768px) {
    .checkbox-group {
        gap: 10px;
    }
    
    .checkbox-item {
        padding: 4px 0;
    }
    
    .checkbox-custom {
        width: 16px;
        height: 16px;
        margin-right: 10px;
    }
    
    .checkbox-item .checkbox-custom:after {
        left: 4px;
        top: 0;
        width: 4px;
        height: 8px;
    }
    
    .checkbox-label {
        font-size: 0.95rem;
    }
}


