@import url('https://fonts.googleapis.com/css2?family=Jost:wght@300;400;600;700&display=swap');


.offer {
    width: 100%;
    background: #f8f9fa;
    padding: 80px 0;
    font-family: 'Jost', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', SimHei, Arial, Helvetica, sans-serif;
    overflow: hidden;
}

.offer__container {
   text-align: -webkit-right;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}


.offer__header {
      display: flex;
    align-items: center;
    
    gap: clamp(1rem, 2vw, 3rem);
    margin-bottom: 60px;
    max-width: 1540px;

}

.offer__title {
    margin: 0;
    color: #333333;
    font-family: 'Jost', sans-serif;
    font-size: clamp(24px, 4vw, 32px);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}

.offer__line {
    background: #1a2f79;
    width: clamp(60px, 8vw, 120px);
    height: 4px;
    flex-shrink: 0;
}


.offer__slider-wrapper {
    position: relative;
    display: flex;
    max-width: 1450px;
    align-items: flex-start;
    gap: 20px;
}

.offer__nav-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    flex-shrink: 0;
}

.offer__slider {
    flex: 1;
    overflow: hidden;
    border-radius: 15px;
    margin-right: -300px; 
    padding-right: 300px;
}

.offer__track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}


.offer__nav {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border: 2px solid #1a2f79;
    border-radius: 50%;
    background: #ffffff;
    color: #1a2f79;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    z-index: 10;
}

.offer__nav:hover:not(:disabled) {
    background: #1a2f79;
    color: #ffffff;
    transform: scale(1.05);
}

.offer__nav:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
}

.offer__nav svg {
    width: 24px;
    height: 24px;
}


.offer__box {
    flex: 0 0 calc(40% - 20px); 
    margin: 0 10px;
    background: #ffffff;
    border-radius: 15px;
    padding: 50px 40px; 
    transition: all 0.3s ease;
    min-height: 550px; 
    display: flex;
    border: 1px solid rgba(26, 47, 121, 0.08);
    flex-direction: column;
}


.offer__box-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    height: 100%;
}

.offer__box-image {
    width: 100%;
    height: 300px;
    margin-bottom: 25px;
    border-radius: 10px;
    overflow: hidden;
}

.offer__box-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.offer__box-text {
    width: 100%;
}

.offer__box-title {
    margin: 0 0 20px 0;
    color: #333333;
    font-family: 'Jost', sans-serif;
    font-size: 24px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: left;
}

.offer__box-description {
    margin: 0 0 30px 0;
    color: #666666;
    font-family: 'Jost', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    text-align: left;
}






@media (max-width: 1199px) {
    .offer {
        padding: 60px 0;
    }
    
    .offer__container {
        padding: 0 15px;
    }
    
    .offer__slider {
        margin-right: -150px;
        padding-right: 150px;
    }
    
    .offer__box {
        flex: 0 0 calc(50% - 15px); 
        margin: 0 7.5px;
        padding: 40px 30px;
        min-height: 400px;
    }
    
    .offer__nav {
        width: 45px;
        height: 45px;
    }
    
    .offer__nav svg {
        width: 20px;
        height: 20px;
    }
}


@media (max-width: 767px) {
    .offer {
        padding: 50px 0;
    }
    
    .offer__container {
        padding: 0 10px;
    }
    
    .offer__header {
        margin-bottom: 40px;
        gap: 1rem;
    }
    
    .offer__title {
        font-size: 16px;
    }
    
    .offer__line {
        width: 50px;
    }
    
    .offer__slider-wrapper {
        gap: 15px;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    
    .offer__nav-container {
        flex-direction: row;
        order: 2;
        justify-content: center;
    }
    
    .offer__slider {
        margin-right: 0;
        padding-right: 0;
        order: 1;
        width: 100%;
    }
    
    .offer__box {
        flex: 0 0 calc(100% - 20px);
        margin: 0 10px;
        padding: 30px 20px;
        min-height: 350px;
    }
    
    .offer__nav {
        width: 40px;
        height: 40px;
        min-width: 40px;
    }
    
    .offer__nav svg {
        width: 18px;
        height: 18px;
    }
    
    .offer__box-image {
        height: 150px;
    }
    
    .offer__box-title {
        font-size: 20px;
        margin-bottom: 15px;
    }
    
    .offer__box-description {
        font-size: 14px;
        margin-bottom: 25px;
    }
}


@media (max-width: 480px) {
    .offer__container {
        padding: 0 10px;
    }
    
    .offer__slider-wrapper {
        gap: 10px;
    }
    
    .offer__box {
        flex: 0 0 calc(100% - 20px);
        margin: 0 10px;
        padding: 25px 15px;
    }
    
    .offer__nav {
        width: 35px;
        height: 35px;
        min-width: 35px;
    }
    
    .offer__nav svg {
        width: 16px;
        height: 16px;
    }
}


@media (prefers-reduced-motion: reduce) {
    .offer__track,
    .offer__box,
    .offer__nav,
    .offer__box-btn,
    .offer__dot {
        transition: none;
    }
}


.offer__nav:focus {
    outline: 2px solid #1a2f79;
    outline-offset: 2px;
}


@media (prefers-contrast: high) {
    .offer__box {
        border: 2px solid #333333;
    }
    
    .offer__nav {
        border-width: 3px;
    }
}