.sub-nav {
    color: #000000e6;
    border-color: #000000e6;
    text-decoration: none;
    font-family: MaxWebProSemiBold, Helvetica, Arial, sans-serif;
    align-items: center !important;
    display: flex;
    transition: color 0.3s ease;
}

.sub-nav:hover {
    color: #2777b8;
    text-decoration: none;
}

.navigation-mobile {
    transform: translateY(-100%);
    transition: transform .35s ease;
}

.navigation-mobile.clicked {
    transform: translateY(0);
}

.logo-xs {
    padding-top: 8px;
}

.white-menu {
    width: 100%;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.wrapper-product{
    margin-bottom: 40px;
    display:flex;
    flex-wrap:wrap;
    gap:30px;
}

.product__item{
    display:flex;
    position: relative;
    flex-direction:column;
    flex:1 1 calc(33.333% - 20px);
    min-width:250px;
    height: 300px;
}
.product-wrapper {
    padding: 25px;
    display: flex;
    flex-direction:column;
    margin-top: auto;
    z-index: 2;
}

.product__item-title {
    text-shadow: 1px 1px 3px rgba(118, 118, 118, .3);
    color: #fff;
}

.product__item--bg-5 {
    background-image: url("img/bg/bg-5.jpg");
    background-size: cover;
}
.product__item--bg-4 {
    background-image: url("img/bg/bg-4.jpg");
    background-size: cover;
}
.product__item--bg-3 {
    background-image: url("img/bg/bg-3.jpg");
    background-size: cover;
}
.product__item--bg-2 {
    background-image: url("img/bg/bg-2.jpg");
    background-size: cover;
}
.product__item--bg-1 {
    background-image: url("img/bg/bg-1.jpg");
    background-size: cover;
}

.product-wrapper__background-black {
    opacity: 0.4;
    position: absolute;
    width: 100%;
    height: 100%;
    background: #000;
}
.product-wrapper__background-black--5 {
    opacity: 0.5;
}
.product-wrapper p {
    color: #fff;
}



.advantages-wrapper {
    margin: 5px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.advantages__item {
    max-width: 25%;
    padding: 35px;
}
.advantages__item:first-child {
    padding-left: 0;
}
.advantages__item:last-child{
    padding-right: 0;
}
.advantages__item p {
    font-size: 13px;
    text-align: center;
    margin: 0;
    word-break: normal;
    overflow-wrap: break-word;
}
.advantages__item h3 {
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 0;
}
.advantages__item-img {
    max-width: 90px;
    margin: 0 auto 30px auto;
    display: block;
}

.cataloge-block {
    margin-bottom: 40px;
}

.about {
    position: relative;
    overflow: hidden;

    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;

    margin-top:40px;
    margin-bottom:45px;
    min-height:100vh;
    padding:5% 10%;
    width:100%;
}
.about::before{
    content:"";
    position:absolute;

    /* запас щоб не було пустоти */
    inset:-15vh 0;

    background-image:url("./img/bg/bg-about.png");
    background-size:cover;
    background-position:center;

    z-index:-1;

    transform:translateY(var(--parallaxY,0));
    will-change:transform;
}

.about h1 {
    text-align: center;
    color: #fff;
    margin-bottom: 40px;
}
.about p {
    max-width: 50%;
    line-height: 1.8;
    font-size: 17px;
    opacity: 0.95;
    color: #fff;
    word-break: normal;
    overflow-wrap: break-word;
}
.about__p--left {
    align-self: flex-start;
    text-align: right;
}
.about__p--right {
    align-self: flex-end;
}

.about__and{
    font-weight: 300;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
.nav__and {
    font-size: 14px;
    font-weight: 600;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    margin: 0 2px;
}

.about [data-reveal]{
    opacity:0;
    transform: translateX(0); /* стартове значення */
    visibility:hidden;
    transition: transform 1.6s cubic-bezier(.22,.61,.36,1),
    opacity 1.6s cubic-bezier(.22,.61,.36,1);
}

.about [data-reveal="left"]  { transform: translateX(-400px); }
.about [data-reveal="right"] { transform: translateX(400px); }

.about [data-reveal].show{
    opacity:1;
    visibility:visible;
    transform: translateX(0);
}



.contact-wrapper {
    display: flex;
    margin-bottom: 40px;
    gap: 40px;
}

.contact-form {
    width: 50%;
}
.contact__location {
    width: 50%;
}


.simple-form{
    max-width: 100%;
}

.simple-form .field {
    margin-top: 12px;
}
.simple-form .field:first-child{
    margin-top:0;
}

.simple-form .field p{
    margin: 0;
}

.simple-form .field label {
    margin: 0;
}

.simple-form .req{
    color: #e53935;
}

.simple-form input,
.simple-form textarea{
    width: 100%;
    border: none;
    border-bottom: 1px solid #f2efec;
    font-size: 16px;
    outline: none;
    background: transparent;
    color: #111;
}

.simple-form textarea{
    resize: vertical;
    min-height: 30px;
}

.simple-form input:focus,
.simple-form textarea:focus{
    border-bottom-color: rgba(0,0,0,.6);
}

.simple-form .btn{
    display: block;
    margin: 12px auto 0 auto;
    border: 1px solid #000000e6;
    background: transparent;
    font-size: 16px;
    padding: 10px 50px;
    cursor: pointer;
}


.lang-dropdown {
    position: relative;
    display: inline-block;
}

.lang-btn {
    background: none;
    border: none;
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
}

.flag {
    width: 20px;
    margin-right: 6px;
    border: 0.5px solid rgba(0,0,0,0.15);
}

.arrow {
    margin-left: 6px;
    font-size: 10px;
}

.lang-menu {
    position: absolute;
    top: 150%;
    left: 0;
    background: white;
    border: 1px solid #ddd;
    min-width: 160px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    z-index: 1000;

    opacity: 0;
    transform: translateY(-8px);
    visibility: hidden;
    transition: all 0.25s ease;
}

.lang-item {
    padding: 8px 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    color: #000000;
    font-size: 12px;
}

.lang-item:hover {
    background: #f5f5f5;
}

.lang-dropdown.active .lang-menu {
    display: block;
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}


.mobile-lang {
    position: relative;
}

.mobile-lang-btn {
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-lang-menu {
    position: absolute;
    top: 120%;
    right: 0;
    background: white;
    width: 180px;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
    padding: 6px 0;
    z-index: 999;

    opacity: 0;
    transform: translateY(-10px);
    visibility: hidden;
    transition: all 0.25s ease;
}

.mobile-lang.active .mobile-lang-menu {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

.mobile-lang-item {
    padding: 10px 15px;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.mobile-lang-item img {
    width: 20px;
    margin-right: 10px;
}

.mobile-lang-item:hover {
    background: #f5f5f5;
}


@media only screen and (max-width:1100px) {
    .about__p--left {
        align-self: center;
        text-align: center;
    }
    .about__p--right {
        align-self: center;
        text-align: center;
    }

    .about [data-reveal]{
        opacity:1 !important;
        visibility:visible !important;
        transform:none !important;
        filter:none !important;
        transition:none !important;
    }
    .about p{
        max-width: 100%;
    }

    .contact__location {
        width: 35%;
    }
    .contact-form {
        width: 65%;
    }

}

@media only screen and (max-width:992px) {

    .advantages__item{
        max-width: 50%;
        flex: 0 0 50%;
        padding: 35px;
    }
    .advantages__item {
        font-size: 12px;
        text-align: center;
        margin: 0;
    }

    .about p{
        font-size: 14px;
    }

    .contact__location {
        width: 100%;
    }
    .contact-form {
        width: 100%;
    }

    .footer__bottom-links {
        display: flex;
    }
}

@media only screen and (max-width:768px) {
    .cataloge-block {
        margin-bottom: 30px;
    }
    .contact-wrapper {
        flex-direction:column;
    }
    .copyright {
        font-size: 12px;
        margin-top: 0 !important;
    }
    .footer__bottom-links:last-child {
        padding-bottom: 30px;
    }
    .about__p {
        margin-bottom: 30px;
        line-height: 1.8;
        letter-spacing: 0.2px;
        text-wrap: pretty;       /* де підтримується */
        text-align: center;

    }
}

@media only screen and (max-width:576px) {


    .footer__free-text .footer__heading {
        font-size: 26px;
    }
    .footer__free-text h4 {
        font-size: 18px;
    }

    .contact-wrapper {
        gap: 20px;
    }


    .contact-form .footer__heading {
        font-size: 26px;
    }


    .content-heading {
        font-size: 18px;
    }
    .flexboxcontentblockmodel .common-block.common--no-image .common-text {
        font-size: 12px;
    }
    .advantages__item-img {
        max-width: 80px;
        margin: 0 auto 40px auto;
        display: block;
    }

    .advantages__item{
        max-width: 100%;
        flex: 0 0 100%;
        padding: 35px;
    }
    .advantages__item:first-child {
        padding-left: 35px;
    }
    .advantages__item:last-child{
        padding-right: 35px;
    }

    .about h1{
        font-size: 25px;
    }

}