/* Hero Section */
.hero {
    min-height: 1132px;
    background: linear-gradient(180deg, #0c5fdf 0%, #033684 100%);
}

.hero__container {
    display: flex;
    max-width: 1920px;
    margin-left: auto;
    margin-right: auto;
}

.hero__wrapper {
    width: 52.4%;
    max-width: 1006px;
    padding-left: 63px;
    display: flex;
    flex-direction: column;
}

.logo {
    padding-top: 84px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 290px));
    gap: 25px;
    align-items: center;
}

.logo1,
.logo2,
.logo3 {
    max-width: 290px;
    width: 100%;
    height: auto;
}

.logo1-wrapper {
    grid-column: 1;
    grid-row: 1;
    position: relative;
    display: flex;
    align-items: center;
    gap: 24px;
    padding-right: 25px;
}

.logo1-wrapper::after {
    content: '';
    display: block;
    height: 65px;
    width: 2px;
    background: #fff;
    flex-shrink: 0;


}

.logo1 {
    max-width: 290px;
    width: 100%;
    height: auto;
}

.logo2 {
    grid-column: 2;
    grid-row: 1;
}

.logo3 {
    grid-column: 3;
    grid-row: 1;
}

/* VK по умолчанию под logo1 */
.logo__vk {
    grid-column: 1;
    grid-row: 2;
}

.logo__vk img {
    max-width: 57px;
    width: 100%;
    height: auto;
}

/* Бургер меню - скрыт по умолчанию */
.burger-menu {
    display: none;
}

.nav-menu {
    display: flex;
    gap: 30px;
    margin-top: 40px;
    list-style: none;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 26px;
    color: #fff;
    text-decoration: none;
    display: inline-block;
    position: relative;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    text-decoration: underline;
    text-decoration-skip-ink: none;
    color: #fff;
}

/* Главная с жирным шрифтом */
.nav-menu li:first-child a {
    font-weight: 600;
}

/* Стрелочки для Каталог и Контакты */
.nav-menu li:nth-child(3)>a,
.nav-menu li:nth-child(6)>a {
    position: relative;
    padding-right: 25px;
}

.nav-menu li:nth-child(3)>a::after,
.nav-menu li:nth-child(6)>a::after {
    content: '';
    position: absolute;
    right: -5px;
    top: 29%;
    width: 19px;
    height: 0px;
    border: 2.43px solid #fff;
    transform: rotate(-45deg);
    transform-origin: right center;
}

.nav-menu li:nth-child(3)>a::before,
.nav-menu li:nth-child(6)>a::before {
    content: '';
    position: absolute;
    right: -13px;
    top: 80%;
    width: 19px;
    height: 0px;
    border: 2.43px solid #fff;
    transform: rotate(-135deg);
    transform-origin: left center;
}

/* Dropdown menu */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    border-radius: 15px;
    padding: 20px 11px; /* увеличил padding сверху/снизу для красоты */
    width: 238px;
    min-width: 192px;
    max-width: 482px;
    
    /* Ключевые свойства для скролла */
    max-height: 462px;           /* фиксированная максимальная высота (как у вас было) */
    overflow-y: auto;            /* вертикальный скролл при переполнении */
    overflow-x: hidden;          /* горизонтальный не нужен */
    
    display: flex;
    flex-direction: column;
    gap: 12px;
    
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
    margin-top: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 10;
    
    /* Опционально: красивый скроллбар (для WebKit браузеров) */
    scrollbar-width: thin;                 /* Firefox */
    scrollbar-color: #ccc #fff;            /* Firefox */
}

.dropdown-menu::-webkit-scrollbar {
    width: 6px;
}
.dropdown-menu::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}
.dropdown-menu::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}
.dropdown-menu::-webkit-scrollbar-thumb:hover {
    background: #aaa;
}

.dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 19px;
    text-align: center;
    color: #525252;
    border-radius: 15px;
    padding: 8px 11px;
    border: 2px solid transparent;
    transition: border-color 0.2s ease;
}

.dropdown-menu a:hover {
    text-decoration: none;
    color: #525252;
    border-color: #525252;
}

/* Dropdown contacts */
.dropd__contact {
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    border-radius: 25px;
    padding: 15px;
    width: 426px;
    height: 150px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
    margin-top: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.dropdown.active .dropd__contact {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.num1,
.num2 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    transition: border-color 0.2s ease;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 22px !important;
    text-align: center;
    color: #363636 !important;
    border: 1px solid #787878;
    border-radius: 15px;
    padding: 10px;
    max-width: 395px;
    width: 100%;
    height: 53px;
}

.num1:hover,
.num2:hover {
    border-color: #363636;
}

.hero__title h1 {
    font-family: var(--second-family);
    font-weight: 400;
    font-size: 118px;
    line-height: 92%;
    color: #fff;
    margin-top: 33px;
}

.col {
    font-weight: 600;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 31px;
    color: #fff;
    margin-top: 33px;
}

.ad1__icon {
    display: flex;
    flex-direction: column;
    gap: 34px;
    padding-top: 43px;
}

.ad1__icon img {
    width: 33px;
    height: 30px;
    max-width: 100%;
}

.ad1 {
    display: flex;
    align-items: center;

}

.ad1__text {
    padding-top: 30px;
    padding-left: 34px;
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 28px;
    line-height: 134%;
    color: #fff;

}

.ad1__text span {
    font-weight: 400;
    font-size: 24px;
}

.ad2 {
    display: flex;
    flex-direction: column;
    padding-top: 30px;
    gap: 40px;
    margin-left: 30px;
}

.hero__adress {
    display: flex;

}

.street {
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 28px;
    line-height: 134%;
    color: #fff;
    display: flex;
    align-items: center;
    padding-top: 10px;
}

.work__time {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 26px;
    color: #fff;
    display: flex;
}

.adstick {
    border: 1px solid #fff;
    width: 2px;
    height: 54px;
    margin-right: 10px;
}

.call {
    background: linear-gradient(182deg, #c42c2c 0%, #421515 100%);
    border-radius: 50px;
    padding: 10px;
    max-width: 416px;
    width: 100%;
    height: 80px;
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 35px;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.call:hover {
    background: linear-gradient(178deg, #c42c2c 0%, #6b0909 100%);
}

.callback {
    margin-top: 44px;
    display: flex;
}

.callstick {
    border: 1.10px solid #fff;
    width: 1px;
    height: 87px;
    margin-left: 34px;
    margin-right: 34px;
}

.callback__num a {
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 36px;
    color: #fff;
    margin-left: 24px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    text-decoration: none;
}

.callback__num {
    display: flex;
    align-items: center;
}

.num__name a {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 25px;
    color: #fff;
}

.num__name span {
    font-weight: 700;
    font-size: 25px;
}

.num__name p {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 17px;
    color: #fff;
}

.num__name {
    display: flex;
    flex-direction: column;
    gap: 5px;

}

.hero__adress__number {
    margin-top: 40px;
    display: flex;
    gap: 26px;
}

.num__name2 p {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 17px;
    color: #fff
}

.num__name2 a {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 25px;
    color: #fff
}

.num__name2 {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.privacy-policy {
    font-family: var(--font3);
    font-weight: 400;
    font-size: 29px;
    color: #89d7fc;
    margin-top: 35px;
}

/* Hero wrap */
.hero__wrap {
    display: flex;
    flex-direction: column;
    margin-left: 63px;
    margin-top: 80px;
    margin-right: 90px;
    flex: 1;
}

/* Feedback form */
.feedback-form {
    background: #fff;
    border-radius: 22px;
    padding: 12px 16px;
    width: 100%;
    max-width: 717px;
    min-height: 513px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feedback-title {
    font-family: var(--second-family);
    font-weight: 400;
    font-size: 69px;
    text-align: center;
    background: linear-gradient(360deg, #033685 0%, #0c59d0 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-top: 34px;
    margin-left: 27px;
    margin-right: 27px;
    margin-bottom: 25px;
}

.address-select {
    display: flex;
    gap: 11px;
    margin-bottom: 15px;
}

.address-option {
    border: 1px solid #787878;
    border-radius: 15px;
    padding: 10px;
    width: 336px;
    height: 49px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 24px;
    text-align: center;
    color: #363636;
}

.address-option:hover {
    background: #8d8c8cc4;
}

.feedback-input {
    border: 2.21px solid #c4c4c4;
    border-radius: 17px;
    padding: 16px 27px;
    width: 100%;
    max-width: 683px;
    height: 65px;
    margin-bottom: 15px;
    font-family: var(--font-family);
    font-size: 18px;
}

.feedback-input::placeholder {
    color: #c4c4c4;
}

.feedback-textarea {
    border: 2.21px solid #c4c4c4;
    border-radius: 17px;
    padding: 16px 27px;
    width: 100%;
    max-width: 683px;
    height: 93px;
    margin-bottom: 15px;
    font-family: var(--font-family);
    font-size: 18px;
    resize: none;
}

.feedback-textarea::placeholder {
    color: #c4c4c4;
}

.feedback-submit {
    background: linear-gradient(182deg, #c42c2c 0%, #421515 100%);
    border-radius: 17px;
    padding: 10px;
    width: 100%;
    max-width: 683px;
    height: 71px;
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 39px;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.feedback-submit:hover {
    background: linear-gradient(178deg, #c42c2c 0%, #6b0909 100%);
}

.col span {
    font-weight: 600;
}

/* Hero slider */
.hero__slider {
    width: 100%;
    max-width: 717px;
    height: 403px;
    margin-top: 52px;
    position: relative;
}

.hero__slider .swiper {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero__slider .swiper-slide {
    width: 100%;
    height: 100%;
}

.hero__slider .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero__slider .swiper-button-prev,
.hero__slider .swiper-button-next {
    color: #fff;
    background: transparent;
    width: 50px;
    height: 50px;
}

.hero__slider .swiper-button-prev:after,
.hero__slider .swiper-button-next:after {
    font-size: 20px;
}

/* Catalog Section */
.catalog {
    padding-top: 60px;
}

.catalog__row {
    display: flex;
    gap: 34px;
}

.catalog__row--first {
    padding-left: 185px;
    padding-right: 185px;
}

.catalog__row--second {
    padding-left: 45px;
    padding-right: 45px;
    margin-top: 34px;
}

.catalog__row--third {
    display: none;
}

.catalog__item {
    display: block;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.catalog__item:hover {
    transform: scale(1.05);
}

.catalog__item svg {
    display: block;
    width: 100%;
    height: auto;
}

/* About Section */
.about {
    margin-top: 60px;
    padding-right: 40px;
    padding-left: 40px;
}

.about__row {
    display: flex;
    gap: 36px;
}

.about__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    border: 1px solid #0065ff;
    border-radius: 10px;
    padding: 10px;
}

.about__item:nth-child(1) {
    flex: 1;
    max-width: 334px;
    min-height: 295px;
}

.about__item:nth-child(2) {
    flex: 1.55;
    max-width: 520px;
    min-height: 268px;
}

.about__item:nth-child(3) {
    flex: 1.23;
    max-width: 410px;
    min-height: 268px;
}

.about__item:nth-child(4) {
    flex: 1.44;
    max-width: 480px;
    min-height: 268px;
}

.about__image {
    max-width: 242px;
    width: 100%;
    height: auto;
}

.about__image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.about__text {
    font-family: var(--third-family);
    font-weight: 600;
    font-size: 21px;
    text-align: center;
    color: #0b5cd9;
}

/* Contacts Section */
.contacts {
    padding-top: 50px;
    padding-left: 45px;
    padding-right: 45px;
}

.contacts__wrapper {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.contacts__content {
    flex: 1;
}

.contacts__title {
    font-family: var(--second-family);
    font-weight: 400;
    font-size: 67px;
    color: #000;
}

.contacts__x2 {
    display: inline-block;
    margin-bottom: 21px;
}

.contacts__subtitle {
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 22px;
    color: #000;
    margin-top: 21px;
    margin-bottom: 20px;
}

.contacts__list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contacts__item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 21px;
    color: #000;
}

.contacts__item svg {
    flex-shrink: 0;
    margin-top: 5px;
}

.contacts__image {
    width: 100%;
    max-width: 1341px;
}

.contacts__image img {
    width: 100%;
    height: auto;
    display: block;
}