/* Reset and Base Styles */
* {
    box-sizing: border-box;
    text-align: center;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: sans-serif;
    font-size: 14px;
    line-height: 19px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin: 0;
    color: #fff;
}

h1 {
    font-weight: 700;
    font-size: 45px;
    line-height: 87px;
    font-variant: all-small-caps;
}

h2 {
    font-size: 30px;
    line-height: 57px;
}

address {
    font-style: normal;
}

a {
    text-decoration: none;
    color: black;
}

/* Layout */
.wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 10px;
    transition: transform 0.3s ease;
}

.header {
    position: sticky;
    top:0;
    width: 100%;
    background-color: #fff;
    padding: 5px 0;
    z-index: 100;
}

/* Header Styles */
.header .logo {
    position: relative;
    display: flex;
    justify-content: center;
    width: 100%;
}

.header .logo-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5px 0;
}

.header .img {
    width: 200px;
    height: auto;
    display: block;
}

.header .promo_social {
    position: absolute;
    right: 10%;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
}

.header .promo_social_link {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
    margin: 1px;
    padding: 1px;
}

.header .promo_social_link img {
    width: 32px;
    height: 32px;
}

.header .promo_social_link:hover {
    transform: translateY(-3px);
}

/* Media Queries for Header */
@media (max-width: 768px) {
    .header .logo-container {
        padding: 10px 0;
        gap: 10px;
    }

    .header .img {
        width: 180px;
    }

    .header .promo_social {
        position: static;
        transform: none;
    }

    .menu__btn {
        top: 15px;
    }
}

@media (max-width: 480px) {
    .header .img {
        width: 150px;
    }

    .header .promo_social {
        gap: 15px;
    }

    .header .promo_social_link img {
        width: 28px;
        height: 28px;
    }

    .menu__btn {
        top: 10px;
        right: 15px;
    }
}

/* Logo styles */
.logo {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    padding: 5px;
    margin: 5px;
    width: 100%;
}

.logo-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 5px 0;
}

.logo-container a {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5px;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.logo_footer {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    padding-top: 50px;
    margin: 5px;
    width: 100%;
}

.img {
    width: 250px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.logo-container a:hover {
    transform: none;
}

/* Media queries for responsive images */
@media screen and (max-width: 768px) {
    .logo-container {
        width: calc(100% - 40px);
        justify-content: center;
    }
    
    .img {
        height: 4vh;
    }

    .logo-container a {
        padding: 4px;
    }
}

@media screen and (max-width: 480px) {
    .logo-container {
        width: calc(100% - 35px);
        justify-content: center;
    }
    
    .img {
        height: 3.5vh;
    }

    .logo-container a {
        padding: 3px;
    }
}

@media screen and (max-width: 320px) {
    .logo-container {
        width: calc(100% - 30px);
        justify-content: center;
    }
    
    .img {
        height: 3vh;
    }

    .img_hidden {
        display: none;
    }
}

/* Hamburger Menu */
#menu__toggle {
    display: none;
}

.menu__btn {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 26px;
    height: 26px;
    cursor: pointer;
    z-index: 1001;
}

.menu__btn > span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 2px;
    background-color: #333;
    transition: .3s all cubic-bezier(.4,0,.2,1);
}

.menu__btn > span::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #333;
    transition: .3s all cubic-bezier(.4,0,.2,1);
}

.menu__btn > span::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #333;
    transition: .3s all cubic-bezier(.4,0,.2,1);
}

.menu__box {
    position: fixed;
    top: 0;
    z-index: 1000;
    right: -100%;
    width: 300px;
    height: 300px;
    padding: 80px 0;
    background-color: #fff;
    box-shadow: -2px 2px 6px rgba(0, 0, 0, .4);
    transition: .4s right cubic-bezier(.4,0,.2,1);
}

.menu__item {
    display: block;
    padding: 12px 24px;
    color: #333;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: .2s background-color ease, .2s color ease;
}

.menu__item:hover {
    background-color: #f8f9fa;
    color: #0056b3;
}

#menu__toggle:checked ~ .menu__box {
    right: 0;
}

#menu__toggle:checked ~ .menu__btn > span {
    background-color: transparent;
    transition-delay: .2s;
}

#menu__toggle:checked ~ .menu__btn > span::before {
    top: 0;
    transform: rotate(45deg);
    transition-delay: .2s;
}

#menu__toggle:checked ~ .menu__btn > span::after {
    top: 0;
    transform: rotate(-45deg);
    transition-delay: .2s;
}

/* Buttons */
button {
    background-color: transparent;
    outline: none;
    cursor: pointer;
    transition: all .3s;
}

.btn {
    font-family: sans-serif;
    font-size: 18px;
    line-height: 25px;
    font-style: oblique;
    color: #fff;
    display: inline-flex;
    justify-content: center;
    border-radius: 20px;
    border: 1px solid #fff;
    background-color: transparent;
    padding: 6px 12px;
    cursor: pointer;
    transition: all .3s;
}

.btn:hover {
    background-color: #0056b3;
    color: #fff;
}

/* Promo Section */
.promo {
    width: 100%;
    min-height: 100vh;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(../img/promo/bg.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.promo_wrap {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 10px;
    backdrop-filter: blur(5px);
}

.promo_caption {
    font-size: clamp(20px, 4vw, 30px);
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    line-height: 1.4;
    margin-bottom: 20px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.promo_title {
    font-size: clamp(30px, 5vw, 45px);
    line-height: 1.3;
    margin-bottom: 20px;
    font-weight: 700;
    letter-spacing: 1px;
}

.promo_subtitle {
    font-size: clamp(18px, 3vw, 30px);
    line-height: 1.4;
    margin-bottom: 30px;
    font-weight: 500;
    opacity: 0.9;
}

.promo_btn.btn {
    font-size: clamp(16px, 2vw, 18px);
    padding: clamp(8px, 2vw, 12px) clamp(16px, 4vw, 32px);
    border: 2px solid #fff;
    background-color: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-shadow: none;
}

.promo_btn.btn:hover {
    background-color: #0056b3;
    border-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 86, 179, 0.3);
}

/* Feedback Form */
.feedback-form-section {
    background-color: #fff;
    padding: 60px 0;
    color: #333;
}

.feedback-form-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 30px;
    color: #333;
    font-weight: 600;
}

.feedback-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 500px;
    margin: 0 auto;
    padding: 30px;
    background-color: #f8f9fa;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.feedback-form input,
.feedback-form textarea {
    padding: 12px;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    background-color: #fff;
    color: #333;
    font-size: 16px;
    transition: all 0.3s ease;
}

.feedback-form input::placeholder,
.feedback-form textarea::placeholder {
    color: #6c757d;
}

.feedback-form input:focus,
.feedback-form textarea:focus {
    outline: none;
    border-color: #0056b3;
    box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.1);
}

.feedback-form textarea {
    min-height: 120px;
    resize: vertical;
}

.feedback-form .btn {
    background-color: #0056b3;
    color: #fff;
    border: none;
    padding: 12px 24px;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 5px;
}

.feedback-form .btn:hover {
    background-color: #004494;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 86, 179, 0.2);
}

/* Container Section */
.container_section {
    background-color: #fff;
    padding: 60px 0;
    color: #333;
}

.container_body {
    background-color: #fff;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.contacts_title {
    font-size: 32px;
    margin-bottom: 30px;
    text-align: center;
    color: #333;
    font-weight: 600;
}

.contacts_items {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contacts_item {
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    font-family: sans-serif;
    font-size: 16px;
    line-height: 19px;
    font-weight: normal;
    -webkit-font-smoothing: auto;
    -moz-osx-font-smoothing: auto;
    letter-spacing: normal;
}

.contacts_item:hover {
    transform: none;
    box-shadow: none;
    color:#0056b3;
}

.contacts_item a {
    cursor: pointer;
    transition: opacity 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.contacts_item a:hover {
    opacity: 0.8;
}

/* Brands Section */
.brands {
    padding: 50px 0;
}

.brands_grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.brand_item {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
    cursor: pointer;
}

.brand_item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.brand_logo {
    padding: 1.5rem;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 200px;
    overflow: hidden;
}

.brand_logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.brand_item:hover .brand_logo img {
    transform: scale(1.05);
}

.brand_desc {
    padding: 1.5rem;
    background: #f8f9fa;
    flex-grow: 1;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #333;
}

@media (max-width: 768px) {
    .brands_grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
        padding: 1rem;
    }

    .brand_logo {
        height: 150px;
        padding: 1rem;
    }

    .brand_desc {
        padding: 1rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .brands_grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .brand_logo {
        height: 120px;
    }
}

/* Footer Styles */
.footer {
    background-color: #f8f9fa;
    padding: 5px 0;
}

.footer-content {
    text-align: center;
    color: #333;
}

.footer-content p {
    margin-bottom: 10px;
}

.footer-link {
    color: #0056b3;
    text-decoration: none;
}

.footer-link:hover {
    text-decoration: underline;
}

/* Existing Footer Styles - оставляем без изменений */
.footer .logo-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5px 0;
}

.footer .img {
    width: 250px;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Social Links */
.promo_social {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.promo_social_link {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.promo_social_link:hover {
    transform: translateY(-5px) scale(1.1);
    background-color: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.promo_social_link img {
    width: 24px;
    height: 24px;
}

/* Custom Alert */
.custom-alert {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    min-width: 300px;
    max-width: 80%;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    text-align: center;
    animation: slideDown 0.3s ease-out;
}

.custom-alert.success {
    border-left: 4px solid #28a745;
}

.custom-alert.error {
    border-left: 4px solid #dc3545;
}

.custom-alert-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.custom-alert-message {
    color: #333;
    font-size: 16px;
    line-height: 1.5;
    margin: 0;
    flex-grow: 1;
}

/* Privacy Policy Styles */
.privacy-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
    color: #333;
}

.privacy-section {
    margin: 30px 0;
}

.privacy-subtitle {
    color: #333;
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: bold;
}

.privacy-content p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.privacy-content ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 15px;
}

.privacy-content li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.privacy-title {
    color: #333;
    margin-bottom: 30px;
    text-align: center;
}

.privacy-policy {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

.back-link {
    display: inline-block;
    margin-top: 30px;
    color: #0056b3;
    text-decoration: none;
}

.back-link:hover {
    text-decoration: underline;
}

/* Media Queries */
@media (max-width: 1230px) {
    h1 {
        font-size: 40px;
        line-height: 60px;
    }
    h2 {
        font-size: 25px;
        line-height: 35px;
    }
    .btn {
        font-size: 16px;
        line-height: 24px;
        padding: 12px 32px;
    }
    .promo_subtitle {
        margin-bottom: 30px;
        margin-top: 5px
    }
}

@media (max-width: 1200px) {
    .img {
        display: flex;
        margin: 0 auto;
        padding: 5px;
        height: 5vh;
    }
    .img_hidden {
        display: none;
    }
    h1 {
        font-size: 30px;
        line-height: 40px;
    }
    h2 {
        font-size: 22px;
        line-height: 30px;
    }
    .btn {
        font-size: 14px;
        line-height: 20px;
        padding: 8px 24px;
    }
    .promo_subtitle {
        margin-bottom: 20px;
        margin-top: 5px
    }
}

@media (max-width: 768px) {
    .promo {
        padding: 20px;
    }
    
    .promo_wrap {
        padding: 15px;
        background-color: rgba(0, 0, 0, 0.5);
    }
}

@media (max-width: 480px) {
    .promo {
        padding: 15px;
    }

    .promo_wrap {
        padding: 10px;
    }

    .promo_btn.btn {
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }
}

@media (max-width: 1230px) {
    .promo_wrap {
        max-width: 90%;
        padding: 15px;
    }
}

@media (max-width: 424px) {
    h1 {
        font-size: 20px;
        line-height: 32px;
    }
    h2 {
        font-size: 17px;
        line-height: 24px;
    }
    .btn {
        font-size: 15px;
        line-height: 15px;
        padding: 5px 18px;
    }
    .promo_subtitle {
        margin-bottom: 10px;
        margin-top: 3px
    }
}

a {
    padding-left: 15px;
}

#map {
    width: 100%;
    height: 400px;
    margin: 30px 0;
    background: #f0f0f0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}