/*
Theme Name: Food Import
Author: Velerbu
Version: 1.0
*/


/* =====================
   RESET
===================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin:0;
    padding:0;
    font-family:'Onest', Arial, sans-serif;
    color:#333;
    background:#fff;
    font-size:15px;
    line-height:1.5;
}

body{

    background:
        radial-gradient(
            circle at -10% 25%,
            rgba(236,247,253,.9) 0,
            rgba(236,247,253,.9) 12%,
            transparent 13%
        ),

        radial-gradient(
            circle at 110% -10%,
            rgba(236,247,253,.9) 0,
            rgba(236,247,253,.9) 18%,
            transparent 19%
        ),

        #fff;
}


@media(max-width:992px){

    body{
        background:#fff;
    }

}

img {
    max-width:100%;
    height:auto;
    display:block;
}


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


.container {
    width:100%;
    max-width:1296px;
    margin:0 auto;
    padding:0 15px;
}


/* =====================
   VARIABLES
===================== */

:root {

    --blue:#008bd2;
    --dark-blue:#003b57;
    --light-blue:#eef9ff;
    --border:#d8edf8;

    --text:#343434;

}



/* =================================
   HEADER
================================= */

.site-header{
    padding:20px 0;
}

.header-container{
    max-width:1280px;
    margin:0 auto;
    padding:0 20px;

    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:30px;
}

.header-logo img{
    width:144px;
    height:auto;
}

.main-menu{
    display:none;
}

.header-contacts{
    display:flex;
    gap:45px;
}

.header-contact{
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 16px;
    font-weight: 500;
    color: #2D2D2D;
    line-height: 1.35;
}

.header-contact img{
    width:18px;
    margin-top:3px;
}

.header-right{
    display:flex;
    flex-direction:column;
}

.header-phone{
    color:#0d8dd8;
    font-size:16px;
    font-weight:700;
    background: url("/wp-content/themes/velerbu-starter/assets/images/icon-header-phone.svg") no-repeat 0% 50%;
    padding: 0px 0px 0px 30px;
}

.header-email{
    font-size:16px;
    color:#444;
    background: url("/wp-content/themes/velerbu-starter/assets/images/icon-header-mail.svg") no-repeat 0% 50%;
    padding: 0px 0px 0px 30px;
}

.header-button{
    display:flex;
    align-items:center;
    justify-content:center;

    width:220px;
    height:56px;

    background:#0d8dd8;
    color:#fff;

    border-radius:999px;

    font-size:16px;
    font-weight:600;

    transition:.3s;
}

.header-button:hover{
    background:#007ac0;
}

/* =================================
   MOBILE HEADER
================================= */

.mobile-burger{
    display:none;
}

/* мобильная версия */

@media(max-width:992px){

    .site-header{
        padding:15px 0;
    }

    .header-container{

        display:flex;
        justify-content:space-between;
        align-items:center;
        flex-wrap:wrap;

        position:relative;
    }

    .header-logo{
        z-index:10;
    }

    .mobile-burger{

        display:flex;

        flex-direction:column;
        justify-content:center;

        width:42px;
        height:42px;

        background:none;
        border:none;

        cursor:pointer;

        padding:0;

        z-index:10;
    }

    .mobile-burger span{

        width:28px;
        height:3px;

        background:#003f63;

        margin:3px 0;

        border-radius:3px;

        transition:.3s;
    }

    .header-content{

        width:100%;

        display:none;

        padding-top:25px;
    }

    .mobile-open .header-content{
        display:block;
    }

    .header-content .header-contacts{

        display:flex;
        flex-direction:column;

        gap:15px;

        margin-bottom:20px;
    }

    .header-content .header-right{

        display:flex;
        flex-direction:column;

        gap:12px;

        margin-bottom:20px;
    }

    .header-content .header-button{

        display:flex;

        width:100%;

        justify-content:center;
    }

}

/* десктоп */

@media(min-width:993px){

    .mobile-burger{
        display:none !important;
    }

    .header-content{

        display:flex !important;

        align-items:center;

        gap:40px;
    }

}


/* =================================
   BANNER
================================= */

.banner{
    padding:40px 0 40px;
}

.banner .container{
    max-width:1280px;
}

.banner-grid{
    display:grid;
    grid-template-columns:420px 1fr;
    gap:63px;
    align-items:center;
}

.banner-images{
    position:relative;
    width:420px;
    height:520px;
}

.banner-image-large{
    position:absolute;
    top:0;
    right:0;

    width:355px;
    height:455px;

    overflow:hidden;

    border-top-right-radius:70px;
}

.banner-image-large img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.banner-image-small{
    position: absolute;
    left: 0;
    bottom: 0;
    width: 250px;
    height: 300px;
    overflow: hidden;
    border: 10px solid #fff;
    border-top-right-radius: 100px;
    border-bottom-left-radius: 100px;
}

.banner-image-small img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.banner-content h1{
    margin: 0;
    font-size: 65px;
    line-height: 1.25;
    font-weight: 600;
    color: #2D2D2D;
    letter-spacing: -2px;
}

.banner-text{
    margin-top: 40px;
    color: #666;
    font-size: 18px;
    line-height: 1.5;
    font-weight: 500;
}

.banner-buttons{
    display:flex;
    align-items:center;
    gap:40px;

    margin-top:45px;
}

.btn-primary{
    height:68px;
    padding:0 38px;

    background:#0d8dd8;
    color:#fff;

    border-radius:999px;

    font-size:22px;
    font-weight:600;

    display:flex;
    align-items:center;
}

.btn-primary:hover{
    background:#007ac0;
}

.btn-link{
    display:flex;
    align-items:center;
    gap:15px;

    font-size:24px;
    color:#444;
}

.play-icon{
    width:48px;
    height:48px;

    border:2px solid #cfcfcf;
    border-radius:50%;

    display:flex;
    align-items:center;
    justify-content:center;
}

/* =================================
   MOBILE BANNER
================================= */

@media(max-width:992px){

    .banner{
        padding:30px 0 50px;
    }

    .banner-grid{

        display:flex;
        flex-direction:column;

        gap:35px;
    }

    .banner-images{

        position:relative;

        width:100%;
        height:360px;

        margin:0 auto;
    }

    .banner-image-large{

        width:75%;

        height:300px;

        right:0;
    }

    .banner-image-small{

        width:45%;

        height:190px;

        left:0;

        bottom:0;

        border-width:6px;
    }

    .banner-content{

        text-align:center;
    }

    .banner-content h1{

        font-size:38px;

        line-height:1.15;

        letter-spacing:-1px;
    }

    .banner-text{

        margin-top:20px;

        font-size:18px;

        line-height:1.5;
    }

    .banner-buttons{

        display:flex;
        flex-direction:column;

        gap:15px;

        margin-top:30px;
    }

    .btn-primary{

        width:100%;

        justify-content:center;

        height:58px;

        font-size:18px;
    }

    .btn-link{

        justify-content:center;

        font-size:18px;
    }

}

@media(max-width:576px){

    .banner-images{

        height:300px;
    }

    .banner-image-large{

        width:72%;
        height:240px;
    }

    .banner-image-small{

        width:48%;
        height:150px;
    }

    .banner-content h1{

        font-size:30px;
    }

    .banner-text{

        font-size:16px;
    }

}


/* =================================
   PARTNERS
================================= */

.partners{
    padding:40px 0;
}


.partners .container{
    max-width:1280px;

    display:flex;
    align-items:center;
    justify-content:space-between;

    gap:40px;
}


.partner-item{
    opacity:.35;
    transition:.3s;

    display:flex;
    align-items:center;
    justify-content:center;
}


.partner-item:hover{
    opacity:.8;
}


.partner-item img{
    max-height:60px;
    width:auto;
}



/* =================================
   MOBILE
================================= */

@media (max-width:768px){

    .partners{
        padding:30px 0;
    }


    .partners .container{

        display:grid;
        grid-template-columns:repeat(2, 1fr);

        gap:30px 25px;

        padding:0 20px;

    }


    .partner-item img{

        max-height:45px;
        max-width:130px;

    }


}


@media (max-width:480px){

    .partners .container{

        gap:25px 15px;

    }


    .partner-item img{

        max-height:38px;
        max-width:110px;

    }

}


/* =================================
   ABOUT
================================= */

.about{
    position:relative;
    padding:40px 0 40px;
    overflow:hidden;
}

/* голубые области фона */
/*
.about::before{
    content:"";
    position:absolute;
    left:-180px;
    top:-120px;

    width:520px;
    height:520px;

    background:#eef8fd;
    border-radius:50%;

    z-index:-1;
}

.about::after{
    content:"";
    position:absolute;
    right:-250px;
    top:-250px;

    width:800px;
    height:800px;

    background:#eef8fd;
    border-radius:50%;

    z-index:-1;
}*/

.about-box{

    position:relative;

    display:flex;
    justify-content:space-between;
    align-items:center;

    min-height:460px;

    background:#f4fbff;

    border:2px solid #d5edf8;

    border-radius:0 80px 0 80px;

    overflow:hidden;

    padding:70px 70px 70px 70px;
}

.about-content{

    width:55%;
    position:relative;
    z-index:2;
}

.about-content h2{

    margin:0 0 35px;

    font-size:56px;
    line-height:1.1;

    font-weight:800;

    color:#2f2f2f;
}

.about-content p{

    margin:0 0 22px;

    font-size:22px;

    line-height:1.55;

    color:#8f959a;
}

.about-content p:last-child{
    margin-bottom:0;
}

.about-image{

    position:absolute;

    right:0;
    bottom:0;

    width:48%;
    height:100%;

    display:flex;
    align-items:flex-end;
    justify-content:flex-end;

    pointer-events:none;
}

.about-image img{

    width:100%;
    max-width:620px;

    height:auto;

    opacity:.95;
}

.about-content h2{
    text-transform:uppercase;
}

/* планшет */

@media(max-width:1200px){

    .about-box{
        padding:60px;
    }

    .about-content h2{
        font-size:44px;
    }

    .about-content p{
        font-size:18px;
    }

}

/* мобильная */

@media(max-width:900px){

    .about-box{

        display:block;

        min-height:auto;

        padding:50px 40px 250px;

        border-radius:0 50px 0 50px;
    }

    .about-content{
        width:100%;
    }

    .about-content h2{
        font-size:36px;
    }

    .about-content p{
        font-size:16px;
    }

    .about-image{

        width:100%;
        height:250px;
    }

    .about-image img{

        max-width:420px;
    }

}



/* =================================
   ADVANTAGES
================================= */

.advantages{
    padding:40px 0 40px 0;
}

.advantages-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:55px 20px;
}

.advantage-item{

    display:flex;
    align-items:flex-start;

    gap:18px;
}

.advantage-item-wide{

    grid-column:2 / 4;

}

.advantage-icon{

    flex-shrink:0;

    width:85px;
    height:85px;

    border-radius:18px;

    background:#fff;

    box-shadow:0 8px 30px rgba(0,0,0,.08);

    display:flex;
    align-items:center;
    justify-content:center;
}

.advantage-icon img{

    width:42px;
    height:42px;

    object-fit:contain;
}

.advantage-item p{

    margin:0;

    font-size:18px;

    line-height:1.5;

    color:#444;

    font-weight:500;
}

/* планшет */

@media(max-width:992px){

    .advantages{
        padding:60px 0;
    }

    .advantages-grid{

        grid-template-columns:1fr;

        gap:25px;
    }

    .advantage-item{

        gap:15px;
    }

    .advantage-icon{

        width:65px;
        height:65px;
    }

    .advantage-icon img{

        width:30px;
        height:30px;
    }

    .advantage-item p{

        font-size:15px;

        line-height:1.45;
    }

}

/* маленькие телефоны */

@media(max-width:576px){

    .advantage-icon{

        width:55px;
        height:55px;
    }

    .advantage-icon img{

        width:24px;
        height:24px;
    }

    .advantage-item p{

        font-size:14px;
    }

}

@media(max-width:992px){

    .advantage-item-wide{

        grid-column:auto;

    }

}

/* =================================
   PRODUCTS
================================= */

.products{
    padding:50px 0 0;
}

.products-main-title{
    font-size:50px;
    font-weight:600;
    margin:0 0 20px;
    color:#2D2D2D;
}

.product-category{
    margin-bottom:90px;
}

.category-title{
    font-size:32px;
    font-weight:500;
    margin:0 0 45px;
    color:#2D2D2D;
}

.products-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:55px 40px;
}

.product-item{
    text-align:center;
}

.product-item img{
    width:100%;
    max-width:180px;
    height:220px;
    object-fit:contain;
    margin:0 auto 20px;
    display:block;
}

.product-name{
    font-size:17px;
    line-height:1.35;
    color:#333;
    max-width:240px;
    margin:0 auto;
}

.show-more{

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

    width:190px;
    height:52px;

    margin:45px auto 0;

    background:#fff;

    border:1px solid #0d8dd8;

    color:#0d8dd8;

    border-radius:999px;

    cursor:pointer;

    transition:.3s;

    font-size:15px;
    font-weight:500;
}

.show-more:hover{

    background:#0d8dd8;
    color:#fff;

}

@media(max-width:1100px){

    .products-grid{
        grid-template-columns:repeat(3,1fr);
    }

}

@media(max-width:768px){

    .products-grid{
        grid-template-columns:repeat(2,1fr);
        gap:35px 20px;
    }

    .products-main-title{
        font-size:38px;
    }

    .category-title{
        font-size:26px;
    }

}

@media(max-width:480px){

    .products-grid{
        grid-template-columns:1fr;
    }

}

/*=========================
MENU OVERLAY
=========================*/

.menu-overlay{

    position:fixed;
    inset:0;

    background:rgba(13,141,216,.45);
    backdrop-filter:blur(6px);

    opacity:0;
    visibility:hidden;

    transition:.35s;

    z-index:998;

}

.menu-overlay.active{

    opacity:1;
    visibility:visible;

}

/* меню выше затемнения */

.site-header{

    position:relative;
    z-index:999;

}

/* чтобы страница не скроллилась */

body.menu-open{

    overflow:hidden;

}



/* =================================
   FOOTER
================================= */

.site-footer{
    background:#003f63;
    color:#fff;
}

.site-footer .container{

    max-width:1280px;
    padding:0 20px;
}

/* верх */

.footer-top{

    display:none;
}

/* середина */

.footer-middle{

    display:grid;

    grid-template-columns:
        180px
        1fr
        1fr
        auto
        auto;

    align-items:start;

    gap:70px;

    padding:35px 0;
}

.footer-logo{

    display:flex;
    align-items:center;
}

.footer-logo img{

    width:115px;
    height:auto;

    background:#fff;

    border-radius:0 25px 0 0;

    padding:12px;
}

.footer-item{

    display:flex;
    gap:10px;

    color:#fff;
}

.footer-item img{

    width:16px;
    height:16px;

    margin-top:5px;

    filter:brightness(0) invert(1);
}

.footer-item strong{

    display:block;

    font-size:14px;
    line-height:1.45;

    font-weight:700;

    margin-bottom:2px;
}

.footer-item span{

    display:block;

    font-size:14px;
    line-height:1.45;

    opacity:.95;
}

.footer-item a{

    color:#fff;

    font-size:14px;

    font-weight:600;

    text-decoration:underline;
}

/* нижняя полоса */

.footer-bottom{

    background:#002944;
    width:100%;
    margin:0;

    padding:36px 20px;

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

    gap:6px;

    font-size:16px;

    color:#fff;
}

.footer-bottom div{

    display:inline-block;
}

a.footer-phone {
    background: url(/wp-content/themes/velerbu-starter/assets/images/icon-footer-phone.svg) no-repeat 0% 50%;
    padding: 0px 0px 0px 30px;
}

a.footer-mail {
    background: url(/wp-content/themes/velerbu-starter/assets/images/icon-footer-mail.svg) no-repeat 0% 50%;
    padding: 0px 0px 0px 30px;
}

/* =================================
   MOBILE FOOTER
================================= */

@media(max-width:992px){

    .site-footer{
        margin-top:60px;
    }

    .footer-middle{

        display:flex;
        flex-direction:column;

        gap:25px;

        padding:40px 0;
    }

    .footer-logo{

        justify-content:center;
    }

    .footer-logo img{

        width:130px;
        margin:0 auto;
    }

    .footer-item{
        display:block;
    }

    .footer-item img{
        display:none;
    }

    .footer-item strong{

        display:block;

        font-size:16px;

        margin-bottom:8px;
    }

    .footer-item span{

        display:block;

        font-size:14px;

        line-height:1.6;
    }

    .footer-contact a{

        font-size:18px;

        font-weight:700;

        text-decoration:none;
    }

    .footer-bottom{

        padding:20px 15px;

        text-align:center;

        font-size:13px;

        line-height:1.5;
    }

}

@media(max-width:576px){

    .footer-middle{
        gap:20px;
    }

    .footer-item strong{
        font-size:15px;
    }

    .footer-item span{
        font-size:13px;
    }

    .footer-contact a{
        font-size:16px;
    }

}


/* =====================
 RESPONSIVE
===================== */


@media(max-width:992px){


.hero-inner {

    flex-direction:column;

}


.hero-title {

    font-size:34px;

}


.products-grid {

    grid-template-columns:repeat(3,1fr);

}


.advantages-grid {

    grid-template-columns:repeat(2,1fr);

}


}



@media(max-width:700px){


.site-header {
        height: auto;
        padding: 20px 0 60px 0;
        background: #fff;
        border-bottom-left-radius: 60px;
        border-bottom-right-radius: 60px;
}



.header-info {

    display:none;

}


.hero {

    padding-top:20px;

}


.hero-image {

    width:100%;

}


.hero-title {

    font-size:28px;

}


.hero-buttons {

    flex-direction:column;

    align-items:flex-start;

}



.products-grid {

    grid-template-columns:repeat(2,1fr);

}



.advantages-grid {

    grid-template-columns:1fr;

}



.footer-grid {

    grid-template-columns:1fr;

}


}



@media(max-width:450px){


.products-grid {

    grid-template-columns:1fr;

}


}


/* =====================
 CONTACT FORM 7
===================== */

.pop_title {
    margin: 0;
    font-size: 25px;
    line-height: 1.25;
    font-weight: 600;
    color: #2D2D2D;
}

div.fancybox-content {
    border-top-left-radius: 60px;
    border-bottom-right-radius: 60px;
}

.wpcf7-form {
    font-family: 'Onest', sans-serif;
}


/* INPUT + TEXTAREA */

.wpcf7-form input[type="text"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="email"],
.wpcf7-form textarea {
    width: 100%;
    padding: 16px 24px;
    border-radius: 999px;
    border: 1px solid #e3e7ec;
    background: #ffffff;
    font-family: 'Onest', sans-serif;
    font-size: 16px;
    color: #222;
    outline: none;
    transition: all .3s ease;
    box-sizing: border-box;
}


.wpcf7-form textarea {
    border-radius: 25px;
    min-height: 140px;
    resize: vertical;
}


/* PLACEHOLDER */

.wpcf7-form input::placeholder,
.wpcf7-form textarea::placeholder {
    color: #aeb5bf;
    opacity: 1;
}


/* FOCUS */

.wpcf7-form input:focus,
.wpcf7-form textarea:focus {
    border-color: #0d8dd8;
    box-shadow: 0 0 0 4px rgba(13,141,216,.12);
}


/* SUBMIT */

.wpcf7-form input[type="submit"] {

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 17px 42px;

    border-radius: 999px;
    border: none;

    background: #0d8dd8;
    color: #fff;

    font-family: 'Onest', sans-serif;
    font-size: 16px;
    font-weight: 500;

    cursor: pointer;

    transition: all .3s ease;

    box-shadow: 0 10px 25px rgba(13,141,216,.25);
}


/* HOVER */

.wpcf7-form input[type="submit"]:hover {

    background: #087bc0;
    transform: translateY(-2px);

    box-shadow: 0 14px 30px rgba(13,141,216,.35);
}


/* ERROR */

.wpcf7-not-valid {
    border-color: #e74c3c !important;
}


.wpcf7-response-output {
    border-radius: 20px;
    font-family: 'Onest', sans-serif;
}


/* MOBILE */

@media (max-width: 600px) {

    .wpcf7-form input[type="text"],
    .wpcf7-form input[type="tel"],
    .wpcf7-form input[type="email"],
    .wpcf7-form textarea {

        padding: 14px 20px;
        font-size: 15px;

    }


    .wpcf7-form input[type="submit"] {

        width: 100%;
        padding: 16px 25px;
        font-size: 15px;

    }

}