.btn--primary{
    width: 100%;
    height: 68px;
    border-radius: 34px;
    background-image: linear-gradient(90deg, #fb992b 0%, #fb992b 15%, #f98129 83%, #f98129 100%);
    border: 3px solid rgba(247,123,39,0.91);
    transition: .3s;
    font-size: 18px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #fbf7f3;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.btn--primary::before{
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;

    background-image: linear-gradient(
            90deg,
            #f98129 0%,
            #f98129 15%,
            #fb992b 83%,
            #fb992b 100%
    );

    opacity: 0;
    transition: opacity .35s ease;
    z-index: 0;
}
.btn--primary > *{
    position: relative;
    z-index: 1;
}
.btn--primary:hover::before{
    opacity: 1;
}

.hero-btn{
    max-width: 357px;
    width: 100%;
    height: 68px;
    border-radius: 34px;
    background-color: transparent;
    border: 0;
    box-shadow: inset 0 0 0 3px #333333;
    font-size: 18px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #333333;
    font-weight: 400;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    z-index: 0;
    transition: color 0.25s ease;
}
.hero-btn::before{
    content: "";
    position: absolute;
    inset: 0;
    background: #333333;
    border-radius: inherit;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s ease;
    z-index: -1;
    will-change: transform;
}
.hero-btn:hover::before{
    transform: scaleX(1);
}
.hero-btn__text{
    background-image: linear-gradient(
            to right,
            #ffffff 0%,
            #ffffff 50%,
            #333333 50%,
            #333333 100%
    );
    background-size: 200% 100%;
    background-position: 100% 0;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;

    transition: background-position .35s ease;
    will-change: background-position;
}
.hero-btn:hover .hero-btn__text{
    background-position: 0 0;
}
.hero-btn.btn-white{
    color: #fff;
    box-shadow: inset 0 0 0 3px #fff;
    background-color: transparent;
}
.hero-btn.btn-white:before{
    background: #fff;
}
.hero-btn.btn-white .hero-btn__text{
    background-image: linear-gradient(
            to right,
            #333333 0%,
            #333333 50%,
            #ffffff 50%,
            #ffffff 100%
    );
}

.swap-img{
    position: relative;
    display: block;
}
.swap-img__base,
.swap-img__hover{
    display: block;
    width: 100%;
    height: auto;
    transition: opacity .35s ease, transform .35s ease;
}
.swap-img__hover{
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(.98);
}
.swap-img:hover .swap-img__hover{ opacity: 1; transform: scale(1); }
.swap-img:hover .swap-img__base{ opacity: 0; }

.for-block{
    padding: 50px 0 80px;
}
.for-list{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: stretch;
    justify-content: space-around;
    gap: 20px;
}
.for-item{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    justify-content: space-between;
    flex: 1 1 0;
    height: 100%;
}
.for-item svg{
    align-self: center;
}
.for-item span{
    font-size: 30px;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: #20120b;
    font-weight: 500;
    text-align: center;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    word-break: break-word;
}
.for-item .fill-reveal {
    transform: scale(0);
    transition: transform .35s ease;
    transform-box: fill-box;
    transform-origin: center;
}
.for-item:hover .fill-reveal {
    transform: scale(1);
}

.hover-link {
    position: relative;
    display: inline-block;
    padding-bottom: 4px;
}
.hover-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: var(--accent);
    transform: scaleX(1);
    transform-origin: left;
    transition: transform 0.35s ease;
}
.hover-link:hover::after {
    transform: scaleX(0);
}

.main-block{
    padding: 80px 0 220px;
}
.main-list{
    display: flex;
    flex-direction: column;
    gap: 35px;
}
.main-item{
    background-color: #fbf7f3;
    border: 1px solid rgba(51,51,51,0.21);
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    justify-content: center;
    gap: 65px;
}
.main-item img{
    max-width: 100%;
    width: 100%;
    object-fit: cover;
    height: 100%;
}
.main-item:nth-child(even) div{
    text-align: right;
}
.main-title{
    font-size: 30px;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: #333333;
    font-weight: 500;
    line-height: 1.3;
}
.main-subtitle{
    font-size: 18px;
    letter-spacing: 2px;
    line-height: 30px;
    color: #999999;
    font-weight: 600;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.order-form{
    display: flex;
    flex-direction: column;
    gap: 36px;
    margin-bottom: 80px;
}
.order__fields{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}
.order__fields:not(:has(.order__field+.order__field)){
    grid-template-columns: 1fr;
}
.order__field{
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.order__field label{
    font-size: 20px;
    letter-spacing: 6px;
    line-height: 30px;
    text-transform: uppercase;
    color: #333333;
    font-weight: 400;
}
.order__field input,
.order__field textarea{
    width: 100%;
    height: 70px;
    min-width: 100px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    border: 2px solid #cbcbcb;
    font-size: 20px;
    letter-spacing: 2px;
    line-height: 36px;
    color: #333333;
    font-weight: 500;
    padding: 0 20px;
    outline: none;
}
.order__field textarea:focus,
.order__field input:focus{
    border: 2px solid #333333;
}
.order__field textarea{
    height: auto;
    padding: 10px 20px;
}
.order-form.is-leaving {
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 240ms ease, transform 240ms ease;
}
.order-success {
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 240ms ease, transform 240ms ease;
}
.order-success.is-enter {
    opacity: 1;
    transform: translateY(0);
    font-size: 28px;
    margin-bottom: 80px;
}
.date-field{
    position: relative;
}
.input--date{
    width: 100%;
    padding-right: 46px;          /* место под кастомную иконку справа */
    font-variant-numeric: tabular-nums;
}
.input--date::-webkit-calendar-picker-indicator{
    opacity: 0;
    cursor: pointer;
}
.input--date::-webkit-datetime-edit{
    padding: 0;
}
.date-field__icon{
    position: absolute;
    right: 14px;
    top: 50%;
    width: 18px;
    height: 18px;
    transform: translateY(-50%);
    pointer-events: auto;
    opacity: .7;
    background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M7 2v2M17 2v2M3.5 9h17' stroke='%23111111' stroke-width='1.6' stroke-linecap='round'/%3E%3Cpath d='M6 4h12a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2z' stroke='%23111111' stroke-width='1.6'/%3E%3C/svg%3E");
}
.date-field:focus-within .date-field__icon{
    opacity: 1;
}
.input--date:invalid{
    color: transparent;
}
.input--date:focus:invalid{
    color: transparent;
}
.input--date:valid{
    color: inherit;
}
.input--date:invalid::-webkit-datetime-edit{
    color: transparent;
}
.input--date:valid::-webkit-datetime-edit{
    color: inherit;
}

@media (max-width: 1199px){
    .for-list{
        display: grid;
        grid-template-columns: 1fr 1fr;
        row-gap: 40px;
    }
    .for-item{
        max-width: unset;
    }
    .main-block{
        padding: 50px 0;
    }
    .main-item{
        grid-template-columns: 1fr;
        gap: 35px;
    }
    .main-item:nth-child(even) div{
        order: 1;
    }
    .main-item div{
        padding: 0 20px 20px;
    }
}
@media(max-width: 991px){
    .order__fields{
        grid-template-columns: 1fr;
    }
}
@media (max-width: 767px) {
    .for-item span {
        font-size: 18px;
    }
    .main-title{
        font-size: 17px;
    }
    .main-subtitle{
        font-size: 16px;
    }
    .hero-btn {
        box-shadow: inset 0 0 0 3px #333333;
        background: transparent;
    }

    .hero-btn::before {
        display: none; /* убираем анимационный слой */
    }

    .hero-btn__text {
        background-image: none;       /* убираем градиент */
        color: #333333;               /* обычный текст */
        -webkit-text-fill-color: #333333; /* важно для мобил */
    }
}
@media (max-width: 520px){
    .for-list{
        grid-template-columns: 1fr;
    }
}