/* ===============================
   RESET
   =============================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

a {
    text-decoration: none;
    color: inherit;
}

ul, ol {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

address {
    font-style: normal;
}


/* ===============================
   CUSTOM STYLES
   =============================== */
body {
    font: 16px / 160% arimo, arial, sans-serif;
    background: #fff;
    margin: 0;
    color: #000;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    overflow-x: hidden;
}

.container {
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    max-width: 1304px;
    padding-left: 32px;
    padding-right: 32px;
}

.btn {
    font: 700 16px / 1 arimo, arial, sans-serif;
    color: #fff !important;
    background: #e7461e;
    border: 2px solid #e7461e;
    height: 40px;
    display: inline-flex;
    cursor: pointer;
    justify-content: center;
    align-items: center;
    padding: 0 16px;
    transition: background-color .3s ease, border-color .3s ease, color .3s ease, outline .3s ease;
    width: -webkit-max-content;
    width: -moz-max-content;
    width: max-content;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border-radius: 8px;
    outline: 0;
    box-shadow: none !important;
}

.btn:focus-visible, .btn:hover {
    background: #333;
    border: 2px solid #333;
    color: #fff !important;
}

.link, a {
    text-decoration: underline;
    color: #000;
    transition: color .3s ease;
    text-underline-offset: .14em;
}

.header {
    width: 100%;
    z-index: 100;
    padding: 20px 0 15px;
    background: #fff;
    border-bottom: 1px solid #dddddd;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 34px;
}

.header-top__logo {
    width: 27%;
    height: 40px;
    cursor: pointer;
    min-width: 300px;
}

.header-top__search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 50%;
    height: 48px;
    float: none;
    border: 1px solid #c4c4c4;
    border-radius: 8px;
    padding: 0;
    margin: 0 !important;
}

.top-search__submit-btn {
    position: absolute;
    z-index: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 48px;
    left: 5px;
    border: none;
    background: 0 0;
    box-shadow: none;
    padding: 0;
    margin: 0;
}

.top-search__icon {
    position: absolute;
    width: 20px;
    height: 20px;
    margin: auto;
    left: 15px;
}

.header-top__user {
    display: flex;
    justify-content: end;
    gap: 38px;
    width: 27%;
}

.top-user__link {
    position: relative;
    outline: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: 400;
    font-size: 14px;
    color: #000;
    border: none;
    background: 0 0;
    padding: 0;
    transition: color .3s ease;
    cursor: pointer;
}

.top-user__link:hover {
    color: red;
}

.top-user__link:hover path {
    fill: red;
}

.top-user__icon {
    margin-right: 10px;
}

.header__menu-handler {
    display: none;
}

.header-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 30px;
}

.header-nav_menu {
    display: flex;
    gap: 30px;
}

.header-nav_menu a {
    text-decoration: none;
    font-size: 14px;
    color: #333;
    position: relative;
    z-index: 1;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    outline: 0;
}

.verify-wrapper {
    max-width: 500px;
    margin: 60px auto;
    padding: 32px;
    background: var(--color-white);
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}

.verify-wrapper h2 {
    margin-bottom: 24px;
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    color: var(--color-black);
}

.verify-form input {
    width: 100%;
    padding: 14px 16px;
    font-size: 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.verify-form input:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(231, 70, 30, 0.15);
}

.verify-form button {
    font: 700 14px / 1 arimo, arial, sans-serif;
    color: #fff;
    background: #e7461e;
    border: 2px solid #e7461e;
    height: 40px;
    display: flex;
    cursor: pointer;
    justify-content: center;
    align-items: center;
    padding: 0 5px;
    margin: 10px auto 0;
    border-radius: 8px;
    transition: background-color .3s ease, border-color .3s ease, color .3s ease, outline .3s ease;
    width: 100%;
    max-width: 160px;
    text-wrap: nowrap;
    white-space: nowrap;
}

.footer {
    border-top: 1px solid #dddddd;
}
    
.footer__main {
    display: flex;
    flex-wrap: nowrap;
    border-top: none;
    align-items: flex-start;
    justify-content: space-between;
    padding: 50px 0 30px;
    gap: 20px;
}

.footer__part_logo {
    order: 0;
    margin-top: 0;
    width: auto;
}
    
.footer__under-logo-text {
    color: #6b6b6b;
    font-size: 14px;
    line-height: 160%;
    margin-left: 40px;
    margin-top: 26px;
}
    
.footer__part_menu {
    width: auto;
    margin-bottom: 0;
}
    
.footer-menu__title {
    font-size: 14px;
    color: #333;
    margin-bottom: 14px;
    font-weight: 700;
}

.footer-menu__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-menu__link {
    font-size: 14px;
    color: #6b6b6b;
    text-decoration: none;
}

.footer-menu__link:hover {
    text-decoration: none;
    color: #e7461e;
}

.footer-contacts {
    display: block;
    margin-top: 0;
}
    
.footer-contacts__item {
    display: flex;
    align-items: flex-start;
}

.footer-contacts__item:not(:last-of-type) {
    margin-bottom: 25px;
}

.footer-contacts__icon {
    min-width: 24px;
    margin-right: 10px;
}

.footer-contacts__detail {
    max-width: 224px;
}

.footer-contacts__title {
    font-size: 14px;
    color: #333;
    font-weight: 700;
}

.footer-contacts__desc {
    color: #6b6b6b;
    text-decoration: none;
    font-size: 14px;
    line-height: 160%;
}

.footer-contacts__desc-sm {
    font-size: 12px;
    color: #6b6b6b;
    line-height: 130%;
}

.footer__copyright {
    text-align: center;
    color: #6b6b6b;
    line-height: 130%;
    font-size: 12px;
    padding: 20px 0;
    border-top: 1px solid #dddddd;
}


/* ===============================
   RESPONSIVE
================================ */
@media (max-width: 1140px) {
    .header-nav_menu {
        gap: 10px;
    }
}

@media (max-width: 991px) {
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .header {
        padding:  10px 0;
    }
    
    .header-top__logo {
        min-width: 260px;
    }
    
    .header-top__search-wrapper {
        display: none;
    }
    
    .header-top__user {
        gap: 15px;
    }
    
    .top-user__icon {
        margin-right: 0;
    }
    
    .top-user__link > span {
        display: none;
    }
    
    .header__menu-handler {
        position: relative;
        z-index: 10;
        outline: 0;
        display: block;
        width: 24px;
        height: 24px;
        border: none;
        background: 0 0;
        box-shadow: none;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        padding: 0;
    }

    .header__menu-handler span {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        display: block;
        background: #333;
        border: none;
        width: 20px;
        height: 2px;
        border-radius: 1px;
        transition: .5s all;
        pointer-events: none;
        margin: auto;
    }

    .header__menu-handler span:first-of-type {
        top: -14px;
        transition: transform .4s, top .2s;
    }
    
    .header__menu-handler span:nth-of-type(2) {
        top: 0;
        transition: transform .4s, top .2s;
        transition-delay: .2s, 0s;
    }
    
    .header__menu-handler span:last-of-type {
        top: 14px;
        transition: all .4s;
        transition-delay: .1s;
    }
    
    .header-nav {
        display: none;
    }
    
    .verify-wrapper {
        margin: 30px auto;
        padding: 24px;
    }
    
    .footer__main {
        display: flex;
        flex-wrap: wrap;
        border-top: 1px solid #e9e9e9;
        padding: 26px 0 0;
    }
    
    .footer__part_logo {
        order: 5;
        margin-top: 40px;
        width: 100%;
    }
    
    .footer__part_menu {
        width: 23%;
        margin-bottom: 25px;
    }
    
    .footer__copyright {
        text-align: left;
        font-size: 12px;
        padding-top: 18px;
        padding-bottom: 26px;
    }
    
}

@media (max-width: 767px) {
    .header-top__logo {
        min-width: 195px;
    }
    
    .footer__part_menu {
        width: 46%;
    }
    
    .footer-menu__title {
        margin-bottom: 10px;    
    }
    
    .footer-menu__list {
        gap: 5px;
    }
    
    .footer-menu__link,
    .footer-contacts__title,
    .footer__under-logo-text{
        font-size: 12px;
    }
}
