body, html {
    height: 100%;
    font-size: 14px;
    line-height: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    box-sizing: border-box;
    color: var(--temnyy-seryy);
    background: #fff;
}

body {
    font-family: var(--font-family);
}

.page, body {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    position: relative
}

.page, .main {
    -webkit-box-flex: 1;
    -ms-flex: 1 0 auto;
    flex: 1 0 auto;
    -ms-flex-negative: 0;
    flex-shrink: 0
}

.page:not(.page--has-banner) .main {
    padding: 20px 0 80px;
}

.main {
    padding-top: 37px;
}

/*********************************************************
    Typography
*********************************************************/

.page-title {
    margin-bottom: 40px;
}

p {
    margin: 27px 0;
}

b, strong {
    font-weight: 600;
}

/*********************************************************
    Titles
*********************************************************/

h1, .h1 {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 55px;
    line-height: 1.49;
    color: var(--chernyy);
}

h2, .h2 {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 35px;
    color: var(--chernyy);
}

h3, .h3 {
    font-family: var(--font-family);
    font-weight: 900;
    font-size: 24px;
    line-height: 120%;
}

h4, .h4 {
    font-family: var(--font-family);
    font-weight: 900;
    font-size: 20px;
    line-height: 120%;
}

h5, .h5 {
    font-family: var(--font-family);
    font-weight: 900;
    font-size: 16px;
    line-height: 120%;
}

/*********************************************************
    Links
*********************************************************/

a {
    text-decoration: none;
    color: var(--siniy);
}

a:hover {
    text-decoration-skip-ink: none;
    text-decoration: none;
}

/*********************************************************
    Buttons
*********************************************************/

.btn {
    border-radius: 8px;
    padding: 10px 20px;
    border: none;
    font-weight: 500;
    font-size: 16px;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    outline: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn:hover {
    transform: translateY(-3px);
}

.btn svg {
    transition: .3s ease all;
}

.btn[aria-disabled], .btn[disabled], .btn.btn-disabled {
    pointer-events: none;
}

.btn[aria-disabled]:after, .btn[disabled]:after, .btn.btn-disabled:after {
    display: none;
}

/*********************************************************
    Button sizes
*********************************************************/

.btn-sm {
    font-weight: 400;
    font-size: 14px;
    border-radius: 4px;
    padding: 4px 16px;
}

.btn-lg {
    font-weight: 500;
    font-size: 16px;
    padding: 14px 28.5px;
}

.btn-link {
    padding: 0;
    border: none;
    gap: 15px;
    background: none;
}

/*********************************************************
    Sliders
*********************************************************/

.sliders-container {
    width: 100%;
    /*max-width: 1900px;*/
    margin: 0 auto;
    display: flex;
    gap: 20px;
    padding: 0 20px;
}

.swiper-button-next, .swiper-button-prev {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    margin-top: -20px;
    transition: transform 0.3s ease;
}

.swiper-button-next:hover, .swiper-button-prev:hover {
    transform: translateY(-3px);
}

.swiper-button-prev:after {
    content: '';
    font-size: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='16' height='16' transform='translate(16) rotate(90)' fill='white'/%3E%3Cpath d='M10 2L5 8L10 14' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E%0A") center no-repeat;
}

.swiper-button-next:after {
    content: '';
    font-size: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='16' height='16' transform='translate(0 16) rotate(-90)' fill='white'/%3E%3Cpath d='M6 14L11 8L6 2' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E%0A");
    background-position: center;
    background-repeat: no-repeat;
}

.swiper.animated-translate {
    padding: 20px;
    margin: -20px;
}

/*********************************************************
    Lazy loading
*********************************************************/

.bx-lazy-loading {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.bx-lazy-loading-active {
    opacity: 0;
}

.bx-lazy-loaded {
    opacity: 1;
}

.bx-lazy-load-error {
    opacity: 0;
}

.bx-lazy-load-failed {
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
}

.bx-lazy-loading[data-src] {
    filter: blur(10px);
    transform: scale(1.02);
    transition: filter 0.3s ease, transform 0.3s ease;
}

.bx-lazy-loaded[data-src] {
    filter: blur(0);
    transform: scale(1);
}

.bx-lazy-container {
    position: relative;
    overflow: hidden;
}

.bx-lazy-container::before {
    content: '';
    display: block;
    padding-top: 56.25%;
}

.bx-lazy-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/*********************************************************
    Sections
*********************************************************/

.section {
    padding: 80px 0;
    position: relative;
}

.section--with-bg {
    background: var(--ochen-svetlyy-seryy);
    margin-bottom: 0;
}

.section--without-bg {
    background-color: transparent;
    margin-top: 0;
}

.section--without-bg + .section--with-bg {
    padding-top: 80px;
}

.section--with-bg + .section--without-bg {
    padding-top: 80px;
}

.section--with-bg + .section--with-bg {
    padding-top: 80px;
}

.section--without-bg + .section--without-bg {
    padding-top: 80px;
}

.section__title {
    font-weight: 500;
    font-size: 28px;
    color: var(--chernyy);
    margin-bottom: 20px;
}

.section__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.section__header .section__title {
    margin-bottom: 0;
}

.section__link {
    font-weight: 500;
    font-size: 16px;
    text-decoration: underline;
    text-decoration-skip-ink: none;
    color: var(--siniy);
}

.section__link:hover {
    text-decoration: none;
}