/* footer_black.css — вынесено из inline <style> компонента view/common/footer_black.php */
.contact-item-wrapper {
    display: flex;
    flex-direction: column;
    margin-bottom: 5px;
}

.contact-label {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    padding-left: 50px;
    font-style: italic;
}

.contact-item-wrapper .contact-item {
    margin-top: 0;
}

@media (max-width: 576px) {
    .contact-item-wrapper {
        margin-bottom: 0px;
    }
}

.footer-city-link,
.footer-js-city-link {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
    text-decoration: none;
    cursor: pointer;
}

.footer-city-link:hover,
.footer-js-city-link:hover {
    color: #6b5d4a;
}

.whtaspoverlay {
    display: block;
    width: 60px;
    height: 60px;
    background: #82cb6a;
    border-radius: 50%;
    position: fixed;
    bottom: 20px;
    right: 20px;
}
.watsup_button_svg {
    z-index: 1;
}
.corporate-footer {
    background-color: #1A1A1A;
    color: #ffffff;
    position: relative;
    font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
}

.footer-main {
    padding: 70px 0 50px;
    position: relative;
}

.footer-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(154, 138, 120, 0.15), transparent 60%);
    pointer-events: none;
}

/* Ширина футера совпадает с шапкой (.whitetheme .container) */
.corporate-footer .container {
    width: 90%;
    max-width: 1450px;
}

/* Пять колонок в один ряд. auto-fit с minmax(250px) при контейнере 1140px укладывал
   только четыре, и «Contact Us» уезжал на вторую строку. */
.footer-grid {
    display: grid;
    grid-template-columns: 1.7fr 0.9fr 0.95fr 0.95fr 1.1fr;
    gap: 44px;
    align-items: start;
}

.footer-company {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    margin-bottom: 25px;
}

.footer-logo img {
    height: 40px;
    width: auto;
}

.company-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 25px;
}

.footer-review-badges {
    margin-bottom: 10px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-social-block {
    margin-top: 4px;
}
.footer-review-label {
    display: block;
    font-size: 13px!important;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.45);
    margin-bottom: 10px;
}
.footer-review-logos {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}
.footer-review-logos a {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    padding: 10px 14px;
    opacity: 0.85;
    transition: all 0.3s ease;
}
.footer-review-logos a:hover {
    background: rgba(154,138,120,0.15);
    border-color: rgba(154,138,120,0.35);
    opacity: 1;
}
.footer-review-logos img {
    height: 23px;
    width: auto;
    display: block;
}

@media (max-width: 767px) {
    .footer-review-badges {
        margin-bottom: 20px;
        padding-bottom: 0;
        border-bottom: none;
    }
    .footer-review-logos {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
    .footer-review-logos a {
        padding: 10px 8px;
    }
    .footer-review-logos img {
        height: 22px;
    }
    .footer-social-block {
        margin-top: 0px;
        padding-top: 20px;
        border-top: 1px solid rgba(255,255,255,0.08);
    }
    .footer-review-label {
        margin-bottom: 12px;
    }
}
.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: #6b5d4a;
    transform: translateY(-3px);
}

.social-links svg {
    stroke: #ffffff;
}

.footer-cities-span {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 25px!important;
    color: #ffffff;
    position: relative;
    padding-bottom: 15px;
}



.footer-cities-span::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: #6b5d4a;
}



.corporate-footer h4 {
    font-size: 1rem;
    font-weight: 500;
    margin: 20px 0 10px;
    color: #6b5d4a;
}

.cities-grid2 {
    display: flex;
    gap: 30px;
    margin-top:40px;
}

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

.cities-column a, 
.cities-column span {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
    text-decoration: none;
}

.cities-column a:hover {
    color: #6b5d4a;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top:40px;
}

.footer-links li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 15px;
}

.footer-links li a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #6b5d4a;
    transition: all 0.3s ease;
}

.footer-links li a:hover {
    color: #6b5d4a;
    padding-left: 20px;
}

.footer-links li a:hover::before {
    width: 8px;
    height: 8px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
    margin-top:40px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-item:hover {
    color: #6b5d4a;
}

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.contact-icon svg {
    stroke: #6b5d4a;
}

.contact-item:hover .contact-icon {
    background-color: #6b5d4a;
}

.contact-item:hover .contact-icon svg {
    stroke: #ffffff;
}

.headquarters address {
    font-style: normal;
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
}

.footer-certifications {
    padding: 30px 0;
    background-color: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.certification-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
}

.certification-logos img,
.certification-logos a img {
    height: 40px;
    width: auto;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.certification-logos a:hover img,
.certification-logos img:hover {
    opacity: 1;
}

.footer-legal {
    padding: 25px 0;
    background-color: #0F1114;
}

.legal-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.legal-links {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.legal-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.legal-links a:hover {
    color: #6b5d4a;
}

.copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

.whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
}

.whatsapp-button a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.whatsapp-button a:hover {
    transform: scale(1.1);
}

.whatsapp-button svg {
    width: 35px;
    height: 35px;
}
.tel-input {
    display: block;
    width: 100%;
    padding: 12px 15px;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

@media (max-width: 1380px) {
    .corporate-footer .container {
        width: 100%;
    }
    .footer-grid {
        gap: 34px;
    }
}

@media (max-width: 1199px) {
    /* Пять колонок перестают помещаться: описание занимает всю строку, остальные идут по две */
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 36px 44px;
    }
    .footer-company {
        grid-column: 1 / -1;
    }
}

@media (max-width: 991px) {
    .footer-main {
        padding: 50px 0 30px;
    }

    .footer-grid {
        gap: 32px 36px;
    }
}

@media (max-width: 767px) {
    .corporate-footer .container {
        width: 90%;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .footer-company {
        grid-column: auto;
    }
    
    .cities-grid2,
    .legal-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .certification-logos {
        gap: 25px;
    }
    
    .certification-logos img,
    .certification-logos a img {
        height: 30px;
    }
}

@media (max-width: 576px) {
    .footer-main {
        padding: 40px 0 20px;
    }
    
   .footer-cities-span {
        font-size: 1.1rem;
    }

     .corporate-footer span {
        font-size: 1.1rem;
    }
    
    .legal-links,
    .legal-content { 
        justify-content: center;
        text-align: center;
    }
    
    .copyright {
        width: 100%;
        text-align: center;
    }
}

.language-switcher-dropdown {
    position: relative;
    margin-top: 20px;
    padding: 15px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.language-current {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
    min-width: 140px;
}

.language-current:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #6b5d4a;
}

.language-current .flag {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.language-current .flag img {
    width: 20px;
    height: 20px;
    object-fit: cover;
    border-radius: 50%;
}

.language-current:hover .flag {
    border-color: #6b5d4a;
    transform: scale(1.05);
}

.language-current .lang-name {
    flex: 1;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    font-weight: 500;
}

.dropdown-arrow {
    stroke: rgba(255, 255, 255, 0.6);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.language-switcher-dropdown.open .dropdown-arrow {
    transform: rotate(180deg);
}

.language-dropdown {
    position: absolute;
    top: 100%;
    right:15px!important;
    background-color: #1A1A1A;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    margin-top: 4px;
}

.language-switcher-dropdown.open .language-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 6px;
    margin: 4px;
}

.language-option:hover {
    background-color: rgba(154, 138, 120, 0.1);
    color: #6b5d4a;
}

.language-option .flag {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.language-option .flag img {
    width: 20px;
    height: 20px;
    object-fit: cover;
    border-radius: 50%;
}

.language-option:hover .flag {
    border-color: #6b5d4a;
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(154, 138, 120, 0.3);
}

.language-option .lang-name {
    font-size: 0.9rem;
    font-weight: 500;
}

@media (max-width: 767px) {
    .language-switcher-dropdown {
        display: flex;
        justify-content: center;
        margin-top: 25px;
        padding-top: 20px;
    }
    
    .language-current {
        min-width: -webkit-fill-available;
        padding: 8px 10px;
        gap: 8px;
    }
    
    .language-current .flag,
    .language-option .flag {
        width: 20px;
        height: 20px;
    }
    
    .language-current .flag img,
    .language-option .flag img {
        width: 16px;
        height: 16px;
    }
    
    .language-current .lang-name,
    .language-option .lang-name {
        font-size: 0.85rem;
    }
}
