/**
 * Блок «Новый год»: таймер + предзаказ.
 */

.home-newyear {
    padding: 40px 0;
}

.home-newyear__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.home-newyear__card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background-color: #1e5a2b;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 32px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.home-newyear__card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.18);
}

.home-newyear__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(30, 90, 43, 0.75) 0%, rgba(30, 90, 43, 0.55) 100%);
    z-index: 1;
    pointer-events: none;
}

.home-newyear__card--order .home-newyear__overlay {
    background: linear-gradient(135deg, rgba(109, 71, 32, 0.78) 0%, rgba(109, 71, 32, 0.58) 100%);
}

.home-newyear__content {
    position: relative;
    z-index: 2;
    color: #fff;
    text-align: center;
    width: 100%;
}

.home-newyear__title {
    margin: 0 0 14px;
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
}

.home-newyear__year {
    font-size: 64px;
    font-weight: 800;
    line-height: 1;
    margin: 0 0 20px;
    color: #ffd966;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
    letter-spacing: 2px;
}

.home-newyear__countdown {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
}

.home-newyear__unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    min-width: 62px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 10px;
    padding: 10px 8px;
    backdrop-filter: blur(6px);
}

.home-newyear__num {
    font-size: 28px;
    font-weight: 800;
    line-height: 1;
    color: #fff;
    font-variant-numeric: tabular-nums;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.home-newyear__label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.85;
    color: #fff;
}

.home-newyear__sep {
    font-size: 22px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.6);
    padding: 0 2px;
}

.home-newyear__text {
    margin: 0 0 24px;
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.92);
    max-width: 380px;
    margin-left: auto;
    margin-right: auto;
}

.home-newyear__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 32px;
    background: #fff;
    color: #1e5a2b;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 10px;
    transition: 0.2s;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    border: none;
    font-family: inherit;
    cursor: pointer;
}

.home-newyear__btn:hover {
    background: #ffd966;
    color: #6d4720;
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.25);
}

/* Адаптив */
@media (max-width: 900px) {
    .home-newyear {
        padding: 30px 0;
    }

    .home-newyear__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .home-newyear__card {
        min-height: 260px;
        padding: 30px 22px;
        border-radius: 14px;
    }

    .home-newyear__title {
        font-size: 19px;
    }

    .home-newyear__year {
        font-size: 48px;
        margin-bottom: 14px;
    }

    .home-newyear__unit {
        min-width: 52px;
        padding: 8px 6px;
    }

    .home-newyear__num {
        font-size: 22px;
    }

    .home-newyear__label {
        font-size: 10px;
    }

    .home-newyear__sep {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .home-newyear__card {
        min-height: 230px;
        padding: 24px 16px;
    }

    .home-newyear__title {
        font-size: 17px;
    }

    .home-newyear__year {
        font-size: 40px;
    }

    .home-newyear__unit {
        min-width: 46px;
    }

    .home-newyear__num {
        font-size: 19px;
    }

    .home-newyear__btn {
        width: 100%;
        padding: 14px 20px;
        font-size: 15px;
    }
}