:root {
    --main-color: #d82616;
    --second-color: #36549d;
    --third-color: #373E52;
    --fourth-color: #323746;
    --text-color: #515355;
    --white-color: #fff;
    --hover-color: #ba1c0e;
    --active-color: #f22f1d;
    --disabled-color: #d8d6d6;

    --radius: 35px;
    --small-radius: 9px;
    --middle-radius: 15px;
    --big-radius: 50px;
    --gap: 24px;
    --middle-gap: 16px;
    --small-gap: 8px;
    --left-right-padding: 58px;
    --section-padding: 58px;
    --small-section-padding: 28px;
    --transition: 0.3s;
}

html {
    background-color: var(--white-color);
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    font-weight: normal;
    line-height: 1.5;
    color: var(--text-color);
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

body {
    overflow-x: hidden;
}

* {
    outline: none;
}

*, *:before, *:after {
    box-sizing: inherit;
}

section {
    padding: var(--section-padding) 0;
}

p {
    padding: 0;
    margin: 0 0 10px 0;
}

p:last-child {
    margin-bottom: 0;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition);
}

a:focus-visible {
    color: var(--second-color);
}

a:hover {
    color: var(--second-color);
}

a:active {
    color: var(--second-color);
}

figure {
    padding: 0;
    margin: 0;
}

iframe {
    border-radius: var(--radius);
}

img {
    max-width: 100%;
}

h1 {
    padding: 0;
    margin: 0 0 40px 0;
    font-weight: 600;
    font-size: 4rem;
    line-height: normal;
}

h2 {
    padding: 0;
    margin: 0 0 40px 0;
    font-weight: 600;
    font-size: 2.25rem;
    line-height: normal;
}

h3 {
    padding: 0;
    margin: 0 0 30px 0;
    font-weight: 600;
    font-size: 1.75rem;
    line-height: normal;
}

h4 {
    padding: 0;
    margin: 0 0 20px 0;
    font-weight: 600;
    font-size: 1.25rem;
    line-height: normal;
}

h5 {
    padding: 0;
    margin: 0 0 20px 0;
    font-weight: 600;
    font-size: 1rem;
    line-height: normal;
}

.container {
    position: relative;
    width: 100%;
    max-width: 1920px;
    padding: 0 var(--left-right-padding);
    margin: 0 auto;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    border: 0;
    clip: rect(0 0 0 0);
}

/*----- BTN -----*/
.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 16px 35px;
    margin: 0;
    background-color: var(--main-color);
    border: 1px solid var(--main-color);
    border-radius: var(--small-radius);
    font-weight: 400;
    font-size: 1.125rem;
    line-height: 1;
    color: var(--white-color);
    cursor: pointer;
    transition: background-color var(--transition), border-color var(--transition);
}

.btn:focus-visible {
    background-color: var(--hover-color);
    border-color: var(--hover-color);
    color: var(--white-color);
}

.btn:hover {
    background-color: var(--hover-color);
    border-color: var(--hover-color);
    color: var(--white-color);
}

.btn:active {
    background-color: var(--active-color);
    border-color: var(--active-color);
    color: var(--white-color);
}

.btn:disabled {
    background-color: var(--disabled-color);
    border-color: var(--disabled-color);
    color: #9d9d9d;
    cursor: not-allowed;
}
/*----- Конец BTN -----*/

/*----- Шапка сайта -----*/
.header-top__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 146px;
}

.header-top__left {
    display: inline-flex;
    align-items: center;
}

.header-top__logo {
    display: inline-flex;
    align-items: center;
    gap: 24px;
    width: 58px;
    height: 58px;
}

.header-top__logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.header-top__logo-text {
    white-space: nowrap;
    font-weight: 400;
    font-size: 1.25rem;
    line-height: 1.625rem;
}

.header-top__right {
    display: inline-flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
    height: 58px;
}

.header-top__phone {
    display: inline-flex;
    justify-content: space-between;
    align-items: center;
    width: 170px;
    font-weight: 400;
    font-size: 0.9375rem;
    line-height: 1.125rem;
}

.header-top__email {
    display: inline-flex;
    justify-content: space-between;
    align-items: center;
    width: 170px;
    font-weight: 400;
    font-size: 0.9375rem;
    line-height: 1.125rem;
}

.header-bottom__container {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 57px;
    background-color: var(--main-color);
}

.header-bottom__menu {
    display: inline-flex;
    align-items: center;
    gap: 74px;
    height: 100%;
    padding: 0;
    margin: 0;
    list-style: none;
}

.header-bottom__menu-item {
    display: inline-flex;
    align-items: center;
    height: 100%;
}

.header-bottom__menu-link {
    border-color: var(--main-color);
    font-weight: 400;
    font-size: 1.125rem;
    line-height: 1.5rem;
    color: var(--white-color);
    transition: border-color var(--transition);
}

.header-bottom__menu-link:focus-visible {
    border-bottom: 2px solid var(--white-color);
    color: var(--white-color);
}

.header-bottom__menu-link:hover {
    border-bottom: 2px solid var(--white-color);
    color: var(--white-color);
}

.header-bottom__menu-link:active {
    border-bottom: 2px solid var(--white-color);
    color: var(--white-color);
}

.header-bottom__submenu {
    position: absolute;
    top: 57px;
    left: 0;
    opacity: 0;
    visibility: hidden;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
    min-height: 108px;
    padding: 0 var(--section-padding);
    margin: 0;
    background-color: #ba1c0e;
    list-style: none;
    transition: opacity var(--transition);
}

.header-bottom__menu-item:focus-visible>.header-bottom__submenu {
    visibility: visible;
    opacity: 1;
}

.header-bottom__menu-item:hover>.header-bottom__submenu {
    visibility: visible;
    opacity: 1;
}

.header-bottom__menu-item:active>.header-bottom__submenu {
    visibility: visible;
    opacity: 1;
}

.header-bottom__submenu-link {
    font-weight: 400;
    font-size: 1.125rem;
    line-height: 1.5rem;
    color: var(--white-color);
}
/*----- Конец шапки сайта -----*/

/*----- Слайдер на главной -----*/
.main-slider__container {
    padding: 0;
    background-color: var(--second-color);
}

.main-slider__wrapper {
    position: relative;
    height: 670px;
}

.main-slider__carousel {
    height: 100%;
}

.main-slider__carousel .owl-stage-outer {
    height: 100%;
}

.main-slider__carousel .owl-stage {
    height: 100%;
}

.main-slider__carousel .owl-item {
    height: 100%;
}

.main-slider__item {
    position: relative;
    width: 100%;
    height: 100%;
    padding-top: 195px;
}

.main-slider__item::after {
    content: '';
    z-index: -1;
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    background-color: rgba(9, 9, 9, 0.45);
}

.main-slider__img {
    z-index: -1;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-bottom-left-radius: var(--radius);
    border-bottom-right-radius: var(--radius);
    object-fit: cover;
    object-position: center;
}

.main-slider__header {
    padding: 0 var(--section-padding);
    margin: 0;
    font-weight: 400;
    font-size: 3.4375rem;
    line-height: 4.25rem;
    color: #fff;
}

.main-slider__btn {
    position: absolute;
    bottom: 120px;
    left: var(--left-right-padding);
}

.main-slider__arrows {
    z-index: 10;
    position: absolute;
    bottom: 120px;
    right: var(--left-right-padding);
    display: flex;
    align-items: center;
    gap: 20px;
}

.main-slider__arrow {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    margin: 0;
    width: 46px;
    height: 38px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.main-slider__arrow svg {
    width: 100%;
    height: auto;
}

.main-slider__arrow svg path {
    stroke: var(--white-color);
    transition: stroke var(--transition);
}

.main-slider__arrow:focus-visible svg path {
    stroke: var(--hover-color);
}

.main-slider__arrow:hover svg path {
    stroke: var(--hover-color);
}

.main-slider__arrow:active svg path {
    stroke: var(--active-color);
}

.main-slider__current-slide {
    font-weight: 400;
    font-size: 2.625rem;
    line-height: 1;
    color: var(--white-color);
}
/*----- Конец слайдера на главной -----*/