﻿.block{
    padding: 75px 0;
}

/* Блок О НАС*/
.block-about{
    margin-top: 50px;
    padding-bottom: 75px;
}

.block-about p{
    margin-bottom: 20px;
    line-height: 130%;
    text-align: justify;
}

.block-about ul{
    list-style: none;
    margin-left: 15px;
}

.block-about ul li{
    font-size: 20px;
    position: relative;
    padding-left: 15px;
}

.block-about ul li::before{
    content: "";
    background-color: #DB3069;
    display: block;
    position: absolute;
    left: 0;
    top: 14px;
    border-radius: 1px;
    width: 6px;
    height: 6px;
}

/* Баннер на главной*/
.banner{

}

.banner .banner-img{
    width: 100%;
    height: auto;
}

.gallery-3{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 20px 0;
}

.gallery-3 .gallery-img .photo{
    cursor: pointer;
}

.gallery-img .photo{
    width: 100%;
    border-radius: 2px;
}

.gallery-img .gallery-text{
    font-size: 16px;
    margin-bottom: 0;
    text-align: left;
}

/* Блок НАШИ ПРЕИМУЩЕСТВА*/
.block-advantages .container{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.advantages-item{
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 35px 25px;
    background: #fff;
    border-bottom: 2px solid rgb(167, 214, 242);
    border-right: 2px solid rgb(167, 214, 242);
    border-radius: 2px;
}

.advantages-title{
    display: flex;
    gap: 15px;
    font-weight: 500;
    line-height: 120%;
    align-items: center;
}
.advantages-text{
    font-size: 20px;
    line-height: 130%;
}

/* Блок КАК ЗАКАЗАТЬ*/
.block-order-info p{
    line-height: 130%;
    text-align: justify;
}

/* Блок Разработка упаковки*/
.block-pack-development{
    padding-bottom: 55px;
}
.block-pack-development p{
    margin-bottom: 20px;
    line-height: 130%;
    text-align: justify;
}

/* Блок Производство*/
.block-production{
    padding-bottom: 55px;
}

.block-production p{
    line-height: 130%;
    text-align: justify;
}

.block-examples .container{
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.block-examples ul{
    list-style: none;
    margin-left: 15px;
}

.block-examples ul li{
    position: relative;
    padding-left: 15px;
}

.block-examples ul li::before{
    content: "";
    background-color: #DB3069;
    display: block;
    position: absolute;
    left: 0;
    top: 14px;
    border-radius: 1px;
    width: 6px;
    height: 6px;
}

/* Блок Доставка и оплата*/
.block-delivery-and-payment{
    padding-bottom: 55px;
}

.block-delivery-and-payment p{
    line-height: 130%;
    text-align: justify;
    margin-bottom: 20px;
}

.block-delivery-and-payment ul{
    list-style: none;
    margin-left: 15px;
    margin-bottom: 20px;
}

.block-delivery-and-payment ul li{
    position: relative;
    padding-left: 15px;
    font-size: 20px;
}

.block-delivery-and-payment ul li::before{
    content: "";
    background-color: #DB3069;
    display: block;
    position: absolute;
    left: 0;
    top: 14px;
    border-radius: 1px;
    width: 6px;
    height: 6px;
}

/* Блок Контакты*/
.block-contacts .container{
    display: flex;
    gap: 30px;
    flex-direction: column;
    margin-bottom: 50px;
}

.block-contacts .contacts-item{
    display: flex;
    gap: 10px;
    flex-direction: column;
}

.block-contacts .contacts-item .contacts-title{
    display: flex;
    gap: 20px;
    align-items: center;
    font-size: 32px;
    font-weight: 500;
}

.block-contacts .contacts-item .contacts-title svg{
    width: 45px;
    height: 45px;
}

.block-contacts .contacts-item .contacts-value{
    padding-left: 65px;
}

.block-contacts .contacts-item .contacts-value a{
    color: #3C3C3B;
}

.block-contacts .contacts-item .contacts-value a:hover{
    color:  #206092;
}

.block-contacts p{
    line-height: 130%;
    text-align: justify;
    margin-bottom: 20px;
}

/* Блок ОСТАЛИСЬ ВОПРОСЫ*/
.block-app-form .container {
    text-align: center;
}

.block-app-form h1{
    margin-bottom: 5px;
}

.block-app-form .first-level-heading{
    margin-bottom: 5px;
}

.app-form{
    margin-top: 25px;
    display: flex;
    justify-content: space-between;
    gap: 25px;
}
.app-form-field{
    width: 100%;
    padding-right: 5px;
    padding-bottom: 5px;
}
.app-form-field input{
    font-family: 'Jost', sans-serif;
    font-size: 20px;
    line-height: 29px;
    padding: 7px 15px;
    height: 45px;
    -webkit-box-shadow: 5px 5px 0px 0px rgba(167, 214, 242, 1);
    -moz-box-shadow: 5px 5px 0px 0px rgba(167, 214, 242, 1);
    box-shadow: 5px 5px 0px 0px rgba(167, 214, 242, 1);
    background-color: #fff;
    border-radius: 2px;
    border: 2px solid rgba(167, 214, 242, 1);
    box-sizing: border-box;
    width: 100%;
    display: flex;
    align-items: center;
}

.app-form-field input:focus {
    border: 2px solid #0289CD;
    border-radius: 2px;
    outline: none;
}

.app-form-field input[type=text],
.app-form-field  input::placeholder{
    color: #729BBA;
}

.app-form-btn{
    font-family: 'Jost', sans-serif;
    font-size: 20px;
    line-height: 29px;
    font-weight: 700;
    padding: 7px 55px;
    height: 44px;
    color: #fff;
    -webkit-box-shadow: 6px 6px 0px 0px rgba(179, 235, 151, 1);
    -moz-box-shadow: 6px 6px 0px 0px rgba(179, 235, 151, 1);
    box-shadow: 6px 6px 0px 0px rgba(179, 235, 151, 1);
    border-radius: 2px;    
    width: 100%;
}

.app-form-btn:hover{
    cursor: pointer;
}

/*Модальное окно*/

.callform-modal,.orderform-modal{
    position: fixed; /* фиксированное положение */
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(55, 55, 55, 0.75); /* цвет фона */
    z-index: 1050;
    opacity: 0; /* по умолчанию модальное окно прозрачно */
    -webkit-transition: opacity 200ms ease-in; 
    -moz-transition: opacity 200ms ease-in;
    transition: opacity 200ms ease-in; /* анимация перехода */
    pointer-events: none; /* элемент невидим для событий мыши */
    margin: 0;
    padding: 0;
}

  /* при отображении модального окно */
.callform-modal:target,.orderform-modal:target {
    opacity: 1; /* делаем окно видимым */
    pointer-events: auto; /* элемент видим для событий мыши */
    overflow-y: hidden;
}

.callform-modal .modal-dialog,
.orderform-modal .modal-dialog{
    position: relative;
    margin: auto;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    max-width: 500px;
}

.callform-modal .modal-header,
.orderform-modal .modal-header{
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.callform-modal .modal-header{
    margin-bottom: 20px; 
}

.orderform-modal .modal-header{
    margin-bottom: 10px;
}

.callform-modal .modal-header .modal-title,
.orderform-modal .modal-header .modal-title{
    text-align: center;
    margin-bottom: 5px;
}
  
.callform-modal .modal-header .modal-text,
.order-modal-text{
    text-align: center;
    font-size: 20px;
    line-height: 110%;
}

.modal-content{   
    top: 0;
    position: relative;
    z-index: 101;
    width: auto;
    height: 100%;
    padding: 0;
    overflow-y: auto;
    background-color: #fff;
    border-radius: 2px;
}

.callform-modal .modal-content,
.orderform-modal .modal-content{
    padding: 40px;
}

.modal-content , .modal-body{
    display: flex;
    flex-direction: column;
}

.callform-modal .modal-body form,
.orderform-modal .modal-body form{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.callform-modal .modal-body form .modal-form-field,
.orderform-modal .modal-body form .modal-form-field{
    width: 100%;
    padding-right: 5px;
    padding-bottom: 5px;
}

.callform-modal .modal-body form .modal-form-field input,
.orderform-modal .modal-body form .modal-form-field input{
    font-family: 'Jost', sans-serif;
    font-size: 20px;
    line-height: 29px;
    padding: 7px 15px;
    height: 45px;
    -webkit-box-shadow: 5px 5px 0px 0px rgba(167, 214, 242, 1);
    -moz-box-shadow: 5px 5px 0px 0px rgba(167, 214, 242, 1);
    box-shadow: 5px 5px 0px 0px rgba(167, 214, 242, 1);
    background-color: #fff;
    border-radius: 2px;
    border: 2px solid rgba(167, 214, 242, 1);
    box-sizing: border-box;
    display: flex;
    align-items: center;
    width: 100%;
}

  
.callform-modal .modal-body form .modal-form-field input[type=text],
.callform-modal .modal-body form .modal-form-field  input::placeholder,
.orderform-modal .modal-body form .modal-form-field input[type=text],
.orderform-modal .modal-body form .modal-form-field  input::placeholder{
    color: #729BBA;
}

.modal-form-field input:focus {
    border: 2px solid #0289CD;
    border-radius: 2px;
    outline: none;
}
  
.callform-modal .modal-body form .modal-form-field .modal-form-btn{
    width: 100%;
    font-family: 'Jost', sans-serif;
    font-size: 20px;
    line-height: 29px;
    font-weight: 700;
    padding: 7px 55px;
    height: 44px;
    color: #fff;
    -webkit-box-shadow: 6px 6px 0px 0px rgba(179, 235, 151, 1);
    -moz-box-shadow: 6px 6px 0px 0px rgba(179, 235, 151, 1);
    box-shadow: 6px 6px 0px 0px rgba(179, 235, 151, 1);
    border-radius: 2px;
}

.orderform-modal .modal-body form .modal-form-field .modal-form-btn{
    background: #1C7BB8;
    width: 100%;
    font-family: 'Jost', sans-serif;
    font-size: 20px;
    line-height: 29px;
    font-weight: 700;
    padding: 7px 55px;
    height: 44px;
    color: #fff;
    -webkit-box-shadow: 6px 6px 0px 0px rgba(167, 214, 242, 1);
    -moz-box-shadow: 6px 6px 0px 0px rgba(167, 214, 242, 1);
    box-shadow: 6px 6px 0px 0px rgba(167, 214, 242, 1);
    border-radius: 2px;
}


.callform-modal .modal-body form .modal-form-field .modal-form-btn:hover{
    cursor: pointer;
}

.orderform-modal .modal-body form .modal-form-field .modal-form-btn:hover{
    cursor: pointer;
    background: #206092;
}
  
.modal-close-btn{
    background: url('/templates/pl-pak/images/icons/close.svg');
    width: 16px;
    height: 16px;
    position: absolute;
    right: 20px;
    top: 20px;
}

.modal-close-btn:hover{
    background: url('/templates/pl-pak/images/icons/close-hover.svg');
    width: 16px;
    height: 16px;
    cursor: pointer;
}

/*форма заказа*/
.order-summary{ 
    padding: 15px; 
    border-radius: 2px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 10px;
}

.order-summary .product-title{
    font-size: 24px;
}

.order-summary .product-price{
    font-weight: 700;
}

.order-summary .quantity,
.order-summary .total-price{
    display: flex;
    gap: 5px;
    font-size: 20px;
}

.order-summary .total-price .total-price-value{
    font-weight: 500;
}

.order-modal-text{
    font-size: 20px;
    line-height: 110%;
}

/*media запросы*/
@media (max-width: 1260px){
    .block-advantages .container{
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px){
    .block-about p,
    .block-order-info p,
    .block-pack-development p,
    .block-production p,
    .block-delivery-and-payment p,
    .block-contacts p{
        text-align: left;
    }

    .app-form{
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .app-form-field,     
    .app-form-field input,
    .app-form-btn{
        width: 440px;
    }

    .block-contacts .contacts-item .contacts-title{
        font-size: 24px;
    }

    
    .block-advantages .advantages-item .advantages-title,
    .app-form-btn,
    .callform-modal .modal-body form .modal-form-field .modal-form-btn,
    .orderform-modal .modal-body form .modal-form-field .modal-form-btn{
        font-size: 18px;
    }

    .block-about ul li,
    .advantages-text,
    .block-delivery-and-payment ul li,
    .app-form-field input,
    .advantages-text,
    .callform-modal .modal-body form .modal-form-field input,
    .orderform-modal .modal-body form .modal-form-field input{
        font-size: 16px;
    }

    .app-form-field input,
    .app-form-btn,
    .callform-modal .modal-body form .modal-form-field input,
    .callform-modal .modal-body form .modal-form-field .modal-form-btn,
    .orderform-modal .modal-body form .modal-form-field input,
    .orderform-modal .modal-body form .modal-form-field .modal-form-btn{  
        line-height: 23px;
    }

    .block-about ul li::before,
    .block-delivery-and-payment ul li::before{
        left: 0;
        top: 10px;
        width: 5px;
        height: 5px;
    }
    
    .block-examples ul li::before{
        left: 0;
        top: 11px;
        width: 5px;
        height: 5px;
    }

    .advantages-title img{
        width: 40px;
        height: 40px;
    }

    .block-contacts .container{
        gap: 20px;
        margin-bottom: 30px;
    }

    .block-contacts .contacts-item .contacts-title{
        gap: 15px;
    }
    
    .block-contacts .contacts-item .contacts-title svg{
        width: 32px;
        height: 32px;
        display: block;
    }

    .block-contacts .contacts-item .contacts-title a{
        display: block;
    }

    .block-contacts .contacts-item .contacts-value{
        padding-left: 47px;
    }

    .callform-modal .modal-header .modal-text,
    .order-modal-text{
        font-size: 18px;
    }

    .order-summary .product-title{
        font-size: 20px;
    }
    
    .order-summary .quantity,
    .order-summary .total-price{
        font-size: 18px;
    }
    
    .gallery-img .gallery-text{
        font-size: 14px;
    }
}

@media (min-width: 426px) and (max-width: 768px){
    .callform-modal .modal-dialog,
    .orderform-modal .modal-dialog{
      top: 50px;
      transform: none;
      max-width: 400px;
    }
}

@media (max-width: 768px){
    .banner .wrap-container{
        margin: 0;
    }

    .block{
        padding: 45px 0;
    }

    .block-about{
        margin-top: 20px;
        padding-bottom: 45px;
    }

    .block-pack-development,.block-production,.block-delivery-and-payment{
        padding-bottom: 25px;
    }
    
    .block-contacts .contacts-item .contacts-title{
        font-size: 20px;
    }

    .block-advantages .advantages-item .advantages-title,
    .app-form-btn,
    .callform-modal .modal-body form .modal-form-field .modal-form-btn,
    .orderform-modal .modal-body form .modal-form-field .modal-form-btn{
        font-size: 16px;
    }

    .block-about ul li,
    .advantages-text,
    .block-delivery-and-payment ul li,
    .app-form-field input,
    .advantages-text,
    .callform-modal .modal-body form .modal-form-field input,
    .orderform-modal .modal-body form .modal-form-field input{
        font-size: 14px;
    }

    .app-form-field input,
    .app-form-btn,
    .callform-modal .modal-body form .modal-form-field input,
    .callform-modal .modal-body form .modal-form-field .modal-form-btn,
    .orderform-modal .modal-body form .modal-form-field input,
    .orderform-modal .modal-body form .modal-form-field .modal-form-btn{  
        line-height: 20px;
    }

    .app-form-field input,
    .callform-modal .modal-body form .modal-form-field input,
    .orderform-modal .modal-body form .modal-form-field input{
        height: 40px;
        padding: 5px 10px;
    }
    
    .app-form-btn,
    .callform-modal .modal-body form .modal-form-field .modal-form-btn,
    .orderform-modal .modal-body form .modal-form-field .modal-form-btn{
        height: 39px;
        padding: 5px 10px;
    }

    .block-examples .container{
        gap: 15px;
    }

    .block-about ul li::before,
    .block-delivery-and-payment ul li::before{
        left: 0;
        top: 9px;
        width: 5px;
        height: 5px;
    }
    
    .block-examples ul li::before{
        left: 0;
        top: 9px;
        width: 5px;
        height: 5px;
    }

    .block-advantages .container{
        gap: 20px;
    }
    
    .advantages-item{
        gap: 10px;
        padding: 20px;
    }

    .advantages-title{
        gap: 8px;
    }

    .gallery-3{
        gap: 15px;
        margin: 15px 0;
    }

    .callform-modal .modal-header .modal-text,
    .order-modal-text{
        font-size: 16px;
    }

    .order-summary .product-title{
        font-size: 18px;
    }
    
    .order-summary .quantity,
    .order-summary .total-price{
        font-size: 16px;
    }
    
}

@media (max-width: 600px){
    .block-examples .container{
        flex-direction: column;
        gap: 0;
    }

    .gallery-img .gallery-text{
        font-size: 12px;
    }
}

@media (max-width: 500px){
    .block-advantages .container{
        grid-template-columns: repeat(1, 1fr);
    }

    .block-advantages .advantages-item .advantages-title{
        gap: 10px;
    }

    .app-form-field,     
    .app-form-field input,
    .app-form-btn{
        width: 100%;
    } 
    
}

@media (max-width: 425px){ 
    .gallery-3{
        grid-template-columns: repeat(2, 1fr);
    }

    .callform-modal .modal-dialog,
    .orderform-modal .modal-dialog{
        position: fixed;
        top: 0;
        left: 0;
        z-index: 100;
        max-width: none;
        width: 100%;
        height: 100%;
        transform: none;
    }

    
    .callform-modal .modal-content,
    .orderform-modal .modal-content{
        padding: 30px 20px;
    }
      
    .modal-close-btn{
        right: 15px;
        top: 15px;
    }
}



 