/* Footer Section */
.footer {
    padding-top: 52px;
    padding-bottom: 73px;
    padding-left: 45px;
    padding-right: 45px;
}

.footer-content {
    border-radius: 40px;
    width: 100%;
    max-width: 1820px;
    min-height: 387px;
    background: linear-gradient(179deg, #0b5edd 0%, #063377 100%);
    padding: 45px;
    display: flex;
    gap: 20px;
}

.footer__left {
    max-width: 1200px;
    height: auto;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.footer__logos {
    display: flex;
    gap: 25px;
}

.footer__logo {
    max-width: 280px;
    width: 100%;
    height: 55px;
}

.footer__nav {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-left: 40px;
}

.footer__nav-row {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.footer__nav-row>a {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 18px;
    color: #fff;
    text-decoration: none;
    transition: opacity 0.3s;
}

.footer__nav-row>a:hover {
    opacity: 0.8;
}

/* Footer Dropdown */
.footer-dropdown {
    position: relative;
}

.footer-dropdown>a {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 18px;
    color: #fff;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.3s ease;
    position: relative;
    padding-right: 25px;
    display: inline-block;
}

.footer-dropdown>a:hover {
    text-decoration: underline;
    text-decoration-skip-ink: none;
}

/* Стрелочки для dropdown */
.footer-dropdown>a::after {
    content: '';
    position: absolute;
    right: -4px;
    top: 11%;
    width: 19px;
    height: 0px;
    border: 2.43px solid #fff;
    transform: rotate(-45deg);
    transform-origin: right center;
}

.footer-dropdown>a::before {
    content: '';
    position: absolute;
    right: -12px;
    top: 84%;
    width: 19px;
    height: 0px;
    border: 2.43px solid #fff;
    transform: rotate(-135deg);
    transform-origin: left center;
}

.dropdown-menu,
.footer-dropdown-menu {
    /* Существующие стили ... */

    /* Скрываем скроллбар во всех браузерах */
    scrollbar-width: none;          /* Firefox */
    -ms-overflow-style: none;       /* Старый Internet Edge */
}

.dropdown-menu::-webkit-scrollbar,
.footer-dropdown-menu::-webkit-scrollbar {
    width: 0;                       /* Chrome, Safari, новый Edge */
    display: none;
}
.footer-dropdown-menu {
    position: absolute;
    bottom: 100%;
    left: 0;
    background: #fff;
    border-radius: 15px;
    padding: 20px 11px;
    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-bottom: 10px;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
    z-index: 10;

    /* Вместо thin — полностью скрываем */
    scrollbar-width: none;          /* Firefox: нет скроллбара */
    -ms-overflow-style: none;       /* Старый Edge */
}

.footer-dropdown-menu::-webkit-scrollbar {
    width: 6px;
}

.footer-dropdown-menu::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.footer-dropdown-menu::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}

.footer-dropdown-menu::-webkit-scrollbar-thumb:hover {
    background: #aaa;
}

/* Активное состояние (открытое меню) */
.footer-dropdown.active .footer-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* hover убран - открывается только по клику через .active */

.footer-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;
}

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

/* Footer Dropdown Contacts */
.footer-dropdown-contacts {
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    border-radius: 15px;
    padding: 15px;
    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);
    z-index: 100;
}

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

.footer-dropdown-contacts a {
    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: 23px !important;
    text-align: center;
    color: #363636 !important;
    border: 1px solid #787878;
    border-radius: 15px;
    padding: 10px;
    width: 395px;
    height: 53px;
}

.footer-dropdown-contacts a:hover {
    border-color: #363636;
}

/* Footer Button */
.footer__button {
    background: linear-gradient(182deg, #c42c2c 0%, #421515 100%);
    border-radius: 17px;
    padding: 10px;
    width: 100%;
    max-width: 1199px;
    height: 121px;
    border: none;
    cursor: pointer;
    font-family: var(--second-family);
    font-weight: 400;
    font-size: 103px;
    color: #fff;
    transition: opacity 0.3s;
    margin-top: 20px;
}

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

.footer__left_inner {
    display: flex;
}

.footer__adress {
    margin-top: 45px;
}

.footer__ad1 {
    display: flex;
    gap: 22px;
    align-items: center;
}

.footer__ad1 img {
    width: 25px;
    height: 22px;
}

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

.footer__ad1 span {
    font-weight: 600;
}

.footer__adress {
    display: flex;
    align-items: center;
    gap: 40px;
}

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

/* Footer Right */
.footer__right {
    display: flex;
    gap: 8px;
    align-items: flex-start;
}

.footer__divider {
    border: 1px solid #fff;
    width: 2px;
    height: 209px;
    flex-shrink: 0;
}

.footer__right__wrapper {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer__right__content {
    display: flex;
    gap: 10px;
}

.footer__icons {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 31px;
}

.footer__whatsapp {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
}

.footer__right__text {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer__address {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 21px;
    color: #fff;
}

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

.footer__contact {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 25px;
    color: #fff;
}

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

.footer__right__text p:nth-child(4) {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 21px;
    line-height: 142%;
    color: #fff;
}

.footer__right__text p:nth-child(5) {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 21px;
    line-height: 142%;
    color: #fff;
}

.footer__right__text p:nth-child(5) span {
    font-weight: 400;
}

.footer__vk {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    margin-top: 40px;
}

.footer__policy {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 18px;
    color: #fff;
    margin-top: 10px;
}

.footer__policy {
    font-family: var(--font3);
    font-weight: 400;
    font-size: 30px;
    color: #89d7fc;
}

