/*
Theme Name: Hubird
Text Domain: https://hubird.artech.kiev.ua/
Author: Bohdan
Author URI: https://artech.kiev.ua/
*/

:root {
    --c-white: #ebebeb;
    --c-black: #1a1819;
    --c-brown-light: #484041;
    --c-brown-dark: #2E2829;
    --c-orange: #f6ae2d;
    --c-green: #02c472;

    --container-padding-x: 20px;
    --section-gap-y: 50px;

    --font-family-base: 'Montserrat', sans-serif;
    font-size: .75em;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}
html {
    height: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: 64px;
}
html.is-lock {
    overflow: hidden;
}
html, body {
    min-height: 100%;
}
:where( h1, h2, h3, h4, h5, h6 ) {
    font-weight: 500;
}
body {
    font-family: var(--font-family-base);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    line-height: 1.3;
    color: var(--c-white);
    background-color: var(--c-brown-light);
    font-size: 18px;
}
.body-page {
    padding-top: 170px;
}
body.scroll-lock {
    overflow: hidden;
}
body,
:where(blockquote, figure):where([class]) {
    margin: 0;
}
a:where([class]),
header a,
footer a,
.contact-info a {
    text-decoration: unset;
}
:where(ul, ol):where([class]) {
    padding-left: 0;
}
:where(
  h1,
  h2,
  h3,
  h4,
  h5,
  h6,
  p,
  ul,
  ol,
  dl
):where([class]) {
    margin-block: 0;
}
p {
    margin: 0;
}
:where(dd[class]) {
    margin-left: 0;
}
:where(ul[class]) {
    list-style: none;
}
img {
    display: block;
    max-width: 100%;
    height: auto;
}
input,
textarea,
select,
button {
    font: inherit;
}
.container {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    overflow-x: clip;
    max-width: calc(1200px + var(--container-padding-x) * 2);
    padding-inline: var(--container-padding-x);
}
.container--small-padding {
    padding: 0 calc(var(--container-padding-x) / 2);
}
div.container-fluid {
    padding: 0;
    max-width: calc(100% - 8px);
}
div.container--right {
    padding-right: 0;
    max-width: 100%;
}
main {
    flex: 1;
}
/* Classes */
.fw-300 {
    font-weight: 300;
}
.fw-400 {
    font-weight: 400;
}
.fw-500 {
    font-weight: 500;
}
.fw-600 {
    font-weight: 600;
}
.fw-700 {
    font-weight: 700;
}
.ws-pl {
    white-space: pre-line;
}
.ws-nw {
    white-space: nowrap;
}
.c-black {
    color: var(--c-black);
}
.c-white {
    color: var(--c-white);
}
.bg-white {
    background-color: var(--c-white);
}
.bg-black {
    background-color: var(--c-black);
}
.w-100 {
    width: 100%;
}
.w-fc {
    width: fit-content;
}
.pos-r {
    position: relative;
}
.pos-a {
    position: absolute;
}
.layer-front {
    z-index: 1;
}
.layer-behind {
    z-index: -1;
}
.layer-behind-deeper {
    z-index: -2;
}
.t-center {
    text-align: center;
}
.t-left {
    text-align: left;
}
.t-right {
    text-align: right;
}
.m-auto {
    margin-left: auto;
    margin-right: auto;
}
.m-i-auto {
    margin-inline: auto;
}
.d-flex {
    display: flex;
    flex-wrap: wrap;
}
.fw-nowrap {
    flex-wrap: nowrap;
}
.overflow-h {
    overflow: hidden;
}
.f-direction-column {
    flex-direction: column;
}
.fs-0 {
    flex-shrink: 0;
}
.order-first {
    order: -1;
}
.br-circle {
    border-radius: 50%;
}
.sz-28 {
    width: 28px;
    height: 28px;
}
.tt-u {
    text-transform: uppercase;
}
.d-inline-flex {
    display: inline-flex;
    flex-wrap: wrap;
}
.fw-nw {
    flex-wrap: nowrap;
}
.flex-1 {
    flex: 1;
}
.d-block {
    display: block;
}
.d-grid {
    display: grid;
}
.d-none {
    display: none;
}
.d-ib {
    display: inline-block;
}
.is-hidden {
    display: none !important;
}
.width-fit-content {
    width: fit-content;
}
.wb-bw {
    word-break: break-word;
}
.d-inline-block {
    display: inline-block;
}
.jc-c {
    justify-content: center;
}
.jc-fe {
    justify-content: flex-end;
}
.jc-fs {
    justify-content: flex-start;
}
.jc-sb {
    justify-content: space-between;
}
.jc-sa {
    justify-content: space-around;
}
.ai-c {
    align-items: center;
}
.ai-fs {
    align-items: flex-start;
}
.ai-fe {
    align-items: flex-end;
}
.as-fe {
    align-self: flex-end;
}
.order-1 {
    order: 1;
}
.br-10 {
    border-radius: 10px;
}
.br-15 {
    border-radius: 15px;
}
.br-20 {
    border-radius: 20px;
}
.br-circle {
    border-radius: 50%;
}
.lh-1 {
    line-height: 1;
}
.lh-11 {
    line-height: 1.1;
}
.lh-12 {
    line-height: 1.2;
}
.lh-13 {
    line-height: 1.3;
}
.lh-15 {
    line-height: 1.5;
}
.lh-16 {
    line-height: 1.6;
}
.lh-2 {
    line-height: 2;
}
.pl-20 {
    padding-left: 1.125rem;
}
.pl-40 {
    padding-left: 2.5rem;
}
.ml-auto {
    margin-left: auto;
}
.ml-14 {
    margin-left: 14px;
}
.mr-16 {
    margin-right: 16px;
}
.mr-auto {
    margin-right: auto;
}
.mb-6 {
    margin-bottom: 6px;
}
.mb-8 {
    margin-bottom: 8px;
}
.mb-10 {
    margin-bottom: 10px;
}
.mb-16 {
    margin-bottom: 16px;
}
.mb-20 {
    margin-bottom: 1.25rem;
}
.mb-24 {
    margin-bottom: 1.5rem;
}
.mb-28 {
    margin-bottom: 1.75rem;
}
.mb-32 {
    margin-bottom: 1.875rem;
}
.mb-40 {
    margin-bottom: 2.5rem;
}
.mb-50 {
    margin-bottom: 3.125rem;
}
.mb-60 {
    margin-bottom: 3.5rem;
}
.mb-72 {
    margin-bottom: 4.5rem;
}
.mb-90 {
    margin-bottom: 5.625rem;
}
.mt-6 {
    margin-top: 6px;
}
.mt-8 {
    margin-top: 8px;
}
.mt-10 {
    margin-top: 10px;
}
.mt-16 {
    margin-top: 16px;
}
.mt-20 {
    margin-top: 1.25rem;
}
.mt-24 {
    margin-top: 1.5rem;
}
.mt-30 {
    margin-top: 1.875rem;
}
.mt-40 {
    margin-top: 2.5rem;
}
.mt-44 {
    margin-top: 2.75rem;
}
.mt-50 {
    margin-top: 3.125rem;
}
.mt-60 {
    margin-top: 3.75rem;
}
.ml-8 {
    margin-left: 8px;
}
.ml-20 {
    margin-left: 20px;
}
.gap-2 {
    gap: 2px;
}
.gap-4 {
    gap: 4px;
}
.gap-8 {
    gap: 8px;
}
.gap-10 {
    gap: 10px;
}
.gap-16 {
    gap: 1rem;
}
.gap-20 {
    gap: 1.25rem;
}
.gap-24 {
    gap: 1.5rem;
}
.gap-30 {
    gap: 1.875rem;
}
.gap-40 {
    gap: 2.5rem;
}
.gap-60 {
    gap: 3.75rem;
}
.gap-y-4 {
    row-gap: 10px;
}
.fz-h1,
.content h1 {
    font-size: 30px;
}
.fz-h2,
.content h2 {
    font-size: 24px;
}
.fz-h3,
.content h3 {
    font-size: 18px;
}

.fz-p,
.fz-p1,
.fz-p2,
.fz-h4,
.content :where(h4, h5, h6) {
    font-size: 14px;
}
.fz-text {
    font-size: 14px;
}
.fz-h1,
.fz-h2,
.fz-h3,
.fz-h4,
.fz-p {
    line-height: 1.3;
}
.paragraph-space p + p {
    margin-top: 1rem;
}
.content p {
    margin: revert;
    line-height: 1.5;
    font-size: 1.125rem;
    color: var(--c-black);
}
.privacy-heading__content p:last-child {
    color: var(--c-light-green);
}
.content :where( h1, h2, h3, h4, h5, h6 ) {
    color: var(--c-dark-blue);
    font-weight: 700;
    margin: revert;
}
.content :where(ul,ol) {
    list-style: revert;
    padding-left: 20px;
    color: var(--c-black);
    font-size: 1.125rem;
}
.content li:not(:first-child) {
    margin-top: .55rem;
}
.content > :first-child:is(h1, h2, h3, h4) {
    margin-top: 0;
}
.content :where(ul,ol) {
    list-style: revert;
    padding-left: 20px;
}
.content li:not(:first-child) {
    margin-top: .55rem;
}
.fz-button {
    font-size: 18px;
}
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.wb-bw {
    word-break: break-word;
}
.pointer {
    cursor: pointer;
}
.paragraph-space p + p {
    margin-top: 1.2rem;
}
/* Classes */
.section,
section {
    padding-top: var(--section-gap-y);
    padding-bottom: var(--section-gap-y);
}
.section-title {
    font-size: 2rem;
    font-weight: 700;
}
.section-text {
    font-size: 1.4rem;
}
header {
    position: sticky;
    top: 0;
    left: 0;
    z-index: 3;
    width: 100%;
    transition: all .4s ease-in;
    border-bottom: 1px solid var(--c-grey);
}
header.is-active .header-menu,
header.is-active .header-promo {
    padding-block: .5rem;
}
.header__overlay-menu-dialog {
    position: fixed;
    inset: 0;
    flex-direction: column-reverse;
    justify-content: start;
    row-gap: 16px;
    width: 100%;
    height: 100%;
    padding: var(--container-padding-x);
    background-color: var(--c-dark-blue);
    border: none;
    transition: .3s ease-in-out all;
    transition-behavior: allow-discrete;
}
.header__overlay-menu-dialog[open] {
    display: flex;
    @starting-style {
        opacity: 0;
        translate: 50%;
    }
}
.header__overlay-menu-dialog:not([open]) {
    opacity: 0;
    translate: 50%;
}
.burger-menu {
    display: block;
    cursor: pointer;
    user-select: none;
    width: 44px;
    position: relative;
    z-index: 5;
    padding: 8px;
}
.burger-menu span {
    display: block;
    height: 2px;
    background-color: var(--c-dark-blue);
    transition: all .35s;
}
.burger-menu span:not(:first-child) {
    margin-top: 5px;
}
.burger-menu.is-active .mobile-btn-top {
    transform: translateY(9px) translateX(0) rotate(45deg);
}
.burger-menu.is-active .mobile-btn-middle {
    opacity: 0;
}
.burger-menu.is-active .mobile-btn-bottom {
    transform: translateY(-5px) translateX(0) rotate(-45deg);
}
.header-menu {
    padding-block: .5rem;
    transition: .3s ease-in-out padding;
}
.header-menu__container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}
.logo__img {
    max-width: 100px;
    height: auto;
}
.header-menu-burger-text {
    font-size: 12px;
}
.header-menu-burger-button {
    display: block;
    cursor: pointer;
    user-select: none;
    width: 34px;
    position: relative;
}
.header-menu-burger-button__item {
    display: block;
    height: 1.5px;
    transition: all .35s;
}
.header-menu-burger-button__item:not(:first-child) {
    margin-top: 4px;
}
.header-menu .buttons {
    display: flex;
    align-items: center;
}
.header__logo {
    padding: 7px 0;
}
.header__logo-image {
    display: inline-block;
    max-width: 78px;
    width: 100%;
    height: auto;
    transition: max-width .3s ease-in-out;
}

.button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
    color: var(--c-brown-dark);
    background-color: var(--c-orange);
    border: 1px solid var(--c-orange);
    padding: 23px 32px;
    border-radius: 100px;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.625;
    cursor: pointer;
    transition: background-color .3s ease-in-out, color .3s ease-in-out, .3s ease-in-out border-color;
}
.button--brown {
    background-color: var(--c-brown-dark);
    border-color: var(--c-brown-dark);
    color: var(--c-white);
}
.button--brown-orange {
    background-color: var(--c-brown-dark);
    border-color: var(--c-brown-dark);
    color: var(--c-orange);
}
.button:hover {
    background-color: var(--c-brown-dark);
    border-color: var(--c-brown-dark);
    color: var(--c-white);
}
.button img {
    transition: .3s ease-in-out filter;
}
.button:hover img,
.button--brown img,
.button--brown-orange img {
    filter: invert(1) brightness(1);
}
.button--brown:hover img,
.button--brown-orange:hover img {
    filter: unset;
}
.button--brown:hover,
.button--brown-orange:hover {
    color: var(--c-brown-dark);
    background-color: var(--c-orange);
    border: 1px solid var(--c-orange);
}
.button--sm {
    gap: 16px;
    font-size: 14px;
    padding: 10px 20px;
}
.button__icon {
    width: 16px;
    /*transition: .3s ease-in-out filter;*/
}

.page-404-php {
    text-align: center;
    padding-top: 50px;
}
/*Pagination*/
.nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
}
.navigation.pagination {
    text-align: center;
    padding: 20px 0;
}
.page-numbers {
    font-size: 20px;
    display: inline-block;
    padding: 4px 10px;
    border: 1px solid #ececec;
    margin: 1px;
}
.page-numbers:hover {
    color: #4D24AA;
    background: #f8f8f8;
}
.page-numbers.current {
    color: #4D24AA;
    background: #f8f8f8;
}
.prev.page-numbers:hover,
.next.page-numbers:hover {
    background: #f8f8f8;
}
.prev.page-numbers:hover path,
.next.page-numbers:hover path {
    fill: #4D24AA;
}
.page-404-php {
    width: 100%;
    padding-top: 0;
    padding-bottom: 50px;
    margin-top: 50px;
}
.page-404-php .content {
    text-align: left;
}
.page-404-php .title {
    font-size: 80px;
    margin-bottom: 0;
}
.page-404-php .text {
    font-size: 28px;
}
.page-404-php .inner {
    display: flex;
    align-items: center;
    justify-content: space-around;
}
.page-404-php img {
    max-width: 350px;
}

.hero_title strong {
    font-weight: 700;
}
.hero_title em {
    background-color: var(--c-green);
    color: var(--c-brown-dark);
    font-style: normal;
    font-weight: 700;
}
.advantages-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 55px;
}
.advantages-list-image {
    height: 80px;
    width: 60px;
    object-fit: contain;
}
.advantages-list-image__wrap {
    padding-top: 15px;
    padding-left: 22px;
}
.advantages-list-image__wrap::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 75px;
    aspect-ratio: 1 / 1;
    background-color: var(--c-brown-dark);
    border-radius: 50%;
    z-index: -1;
}
.footer-copyright {
    padding-block: 26px;
    border-top: 1px solid var(--c-brown-dark) ;
}

@media (max-width: 1023px) {
    .header-menu li:not(:first-child) {
        margin-top: 1.5rem;
    }
    .header-menu ul a {
        color: var(--c-light-green);
        font-size: 16px;
        transition: .3s ease-in-out color;
        font-weight: 700;
    }
    .menu-item-has-children {
        cursor: pointer;
    }
    .menu-item-has-children > a {
        position: relative;
    }
    .menu-item-has-children > a:after {
        position: absolute;
        content: "";
        top: 50%;
        transform: translateY(-50%);
        right: -34px;
        width: 20px;
        height: 20px;
        background: url('/wp-content/uploads/2025/01/arrow-left-circle-i.svg') no-repeat center / contain;
        z-index: -1;
    }
    .menu-item-has-children .sub-menu {
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
        display: none;
        background: var(--c-white);
        visibility: hidden;
        overflow: auto;
        padding-bottom: 16px;
        opacity: 0;
        z-index: 5;
    }
    .menu-item-has-children .sub-menu.--open {
        display: block;
        visibility: visible;
        opacity: 1;
        z-index: 5;
    }
    .header-menu ul a:hover,
    .header-menu ul a[aria-current=page]:not([href^="/#"]) {
        color: var(--c-light-green);
    }
    .menu-header-container {
        margin-block: 1rem;
    }
    .mobile_menu_close {
        padding: 5px 10px;
        outline: none;
        user-select: none;
        position: fixed;
        top: 20px;
        right: 10px;
        cursor: pointer;
        z-index: -1;
        opacity: 0;
    }
    .header-menu.--open .mobile_menu_close {
        width: 46px;
        height: 46px;
        z-index: 3;
        opacity: 1;
        color: #666;
        transition: opacity 0.3s;
    }
    .mobile_menu_overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: -10;
        opacity: 0;
        visibility: hidden;
        background-color: #87acd0;
    }
    .header-menu.--open .mobile_menu_overlay {
        z-index: 1;
        opacity: 0.8;
        visibility: visible;
        transition: opacity 0.3s;
    }
    .header__button {
        margin-top: 30px;
    }
    .header-phone__img {
        display: none;
    }
    .sub-menu li {
        margin-top: 10px;
    }
    .header-menu .sub-menu a {
        font-size: 18px;
    }
    .header-button {
        margin-top: 1.5rem;
    }
    .d-inline-flex-md {
        display: inline-flex;
    }
    .d-inline-block-md {
        display: inline-block;
    }
    .w-100-md {
        width: 100%;
    }
    .d-flex-md {
        display: flex;
    }
    .d-block-md {
        display: block;
    }
    .d-grid-md {
        display: grid;
    }
    .flex-1-md {
        flex: 1;
    }
    .d-none-md {
        display: none;
    }
    .header-phone {
        order: -1;
        margin: 16px 0 0;
    }
    .header__overlay-menu-dialog {
        padding: 3rem;
    }
}
@media (max-width: 767px) {
    .page-404-php .inner {
        flex-direction: column;
    }
    .order-1-md {
        order: 1;
    }
    .has-bonus .popup-bonus__content {
        order: -1;
    }
}
@media (max-width: 540px) {
    .page-404-php {
        padding-bottom: 25px;
    }
    .page-404-php .content {
        text-align: center;
    }
    .page-404-php .title {
        font-size: 60px;
    }
    .page-404-php img {
        display: none;
    }
    .w-100-xs {
        width: 100%;
    }
    body {
        font-size: 14px;
    }
    .gap-10-xs {
        gap: 10px;
    }
    .gap-6-xs {
        gap: 6px;
    }
    .w-100-xs {
        width: 100%;
    }
}
@media (min-width: 768px) {
    :root {
        font-size: .875em;
        --container-padding-x: 30px;
    }
    .fz-h1 {
        font-size: 70px;
    }
    .fz-h2,
    .content h2 {
        font-size: 40px;
    }
    .fz-h3,
    .content h3 {
        font-size: 25px;
    }
    .fz-h4,
    .content h4 {
        font-size: 1.5rem;
    }
    .fz-p1,
    .content h5,
    .content h6 {
        font-size: 16px;
    }
    .fz-p2 {
        font-size: 1.125rem;
    }
}

@media (min-width: 1024px) {
    :root {
        --section-gap-y: 100px
    }
    html {
        scroll-padding-top: 140px;
    }
    .header-menu {
        padding-block: 0;
    }
    .header__logo-image {
        max-width: 150px;
    }
    .header-menu-burger {
        display: none;
    }
    .mobile_menu_btn, .mobile_menu_close, .mobile_menu_overlay {
        display: none;
    }
    .menu-header > li {
        position: relative;
        text-align: center;
    }
    .menu-header-bottom .button-wrapper a {
        margin-left: 1.5rem;
    }
    .menu-header > li:not(.button-wrapper) > a {
        font-size: 14px;
        text-transform: capitalize;
        display: block;
        color: var(--c-black);
        padding: 12px 9px;
        transition: .3s all ease-in;
        border-radius: 6px;
        border: 1px solid transparent;
        font-weight: 500;
    }
    .menu-header-bottom > li:not(.button-wrapper) > a {
        color: var(--c-white);
    }
    .menu-header-bottom {
        align-items: center;
        justify-content: flex-end;
    }
    .menu-header > li.menu-item-has-children > a {
        padding-right: 1rem;
    }
    .menu-header > li > a:hover,
    .menu-header > li > a[aria-current=page],
    .menu-item-has-children:hover > a {
        color: var(--c-dark-blue);
    }
    .menu-header .sub-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        visibility: hidden;
        opacity: 0;
        z-index: -1;
        height: 0;
        background-color: #fff;
        /*box-shadow: 0 0 10px rgba(0,0,0,.15);*/
        background-image: linear-gradient(33deg, #D9DBE1, #d9dbe100);
        border-radius: 4px;
        box-shadow: 5px 5px 14px rgba(0, 0, 0, .25);
        transition: opacity .3s;
        text-align: left;
        padding: 6px 0;
    }
    .header-menu .menu-item-has-children:hover .sub-menu {
        visibility: visible;
        opacity: 1;
        z-index: 1;
        height: auto;
        overflow: auto;
        max-height: calc(100vh - 70px);
        min-width: 255px;
    }
    .header-menu .menu-item-has-children:hover .sub-menu a {
        font-size: 16px;
        display: block;
        padding: 6px 14px;
        color: var(--c-black)
    }
    .header-menu .menu-item-has-children:hover .sub-menu a:hover {
        color: var(--c-light-green);
        background-clip: text;
        text-fill-color: transparent;
    }
    .header-menu {
        background: linear-gradient(to bottom, #fff 0 54%, var(--c-dark-blue) 54% 100%);
    }
    .header__logo {
        padding: 13px 0;
    }
    .header-bottom {
        padding: 14px 0;
    }
    .header-menu .last-dropdown-item {
        border-top: 1px solid var(--c-light-green);
    }
    .menu-item-has-children > a:after {
        right: 0;
        height: 10px;
        width: 10px;
        z-index: 1;
    }
    .menu-item-has-children:hover > a:after {
        transform: rotate(180deg) translateY(4px);
    }
    :root {
        font-size: .9em;
    }
    .burger-menu {
        display: none;
    }
    .header__overlay-menu-dialog {
        display: contents;
    }
}
@media (min-width: 1201px) {

}
@media (min-width: 1368px) {
    :root {
        font-size: 1em;
        --container-padding-x: 110px;
    }
}
@media (min-width: 1401px) {
}
@media (min-width: 1601px) {
}
