@import url('./pb-variables.css');




.icon-16 {
    width: 16px;
    height: 16px;
    min-width: 16px;
    min-height: 16px;
}

.icon-18-24 {
    width: var(--size-18-24);
    height: var(--size-18-24);
    min-width: var(--size-18-24);
    min-height: var(--size-18-24);
}

.icon-20 {
    width: 20px;
    height: 20px;
    min-width: 20px;
    min-height: 20px;
}

.icon-24 {
    width: 24px;
    height: 24px;
    min-width: 24px;
    min-height: 24px;
}

.icon-32 {
    width: 32px;
    height: 32px;
    min-width: 32px;
    min-height: 32px;
}

.icon-24-32 {
    width: var(--size-24-32);
    height: var(--size-24-32);
    min-width: var(--size-24-32);
    min-height: var(--size-24-32);
}


.s-primary {
    stroke: var(--color-primary);
}

.s-white {
    stroke: #fff;
}

.f-primary {
    fill: var(--color-primary);
}

.f-white {
    fill: #fff;
}

.gap-6-12 {
    gap: var(--size-6-12);
}


header {
    padding: var(--size-4-6) 0;
}

header a,
footer a {
    text-decoration: none;
    color: inherit;
}

header a:hover,
footer a:hover {
    color: inherit;
}

h1 {
    font-size: var(--size-24-48);
}

h2 {
     font-size: var(--size-24-32);
     padding: var(--size-24-32) 0 var(--size-6-12) 0;
}

h3 {
     font-size: var(--size-18-24);
     padding: var(--size-6-12) 0 var(--size-6-12) 0;
}

p {
    line-height: 1.66;
}

.modal-title {
    font-size: var(--size-24-32);
    font-family: var(--font-heading);
}

.form-check-input {
    margin-top: 0;
}

.form-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.form-options .form-check {
    margin: 0;
    padding: 0;
}

.form-options .form-check-input {
    display: none;
}

.form-options .form-check-label {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
}

.form-options .form-check-input:checked + .form-check-label {
    color: #fff;
    background: var(--color-primary);
    border-color: var(--color-primary);
    
}

.list-style-icon {
    position: relative;
    margin: 0;
    padding:0;
    margin-left: 30px;
}

.list-style-icon li {
	position: relative;
	list-style-type: none;
	margin: 6px 0;
}

.list-style-icon li:before {
    content: '';
	width: 20px;
	height: 20px;
	position: absolute;
	left: -30px;
	top: 5px;
	margin-top: auto;
	margin-bottom: auto;
	background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23e40c21' viewBox='0 0 24 24'%3E%3Cpath d='M20,12C20,16.42 16.42,20 12,20C7.58,20 4,16.42 4,12C4,7.58 7.58,4 12,4C12.76,4 13.5,4.11 14.2,4.31L15.77,2.74C14.61,2.26 13.34,2 12,2C6.48,2 2,6.48 2,12C2,17.52 6.48,22 12,22C17.52,22 22,17.52 22,12M7.91,10.08L6.5,11.5L11,16L21,6L19.59,4.58L11,13.17L7.91,10.08Z'/%3E%3C/svg%3E");
	transition: 0.15s;
}

.form-button-send .btn-default {
    appearance: none;
    -webkit-appearance: none;

    width: 100%;
    min-height: var(--size-32-42);
    padding: var(--size-10-14) var(--size-16-24);

    border: 1px solid var(--color-primary);
    border-radius: 0;
    outline: none;

    color: #fff;
    background: var(--color-primary);

    font: inherit;
    font-weight: 600;
    line-height: 1;
    box-shadow: none;
    cursor: pointer;

    border-radius: 4px;
}

.form-button-send .btn-default:hover {
    background: var(--color-primary-hover);
    border-color: var(--color-primary-hover);
}

.form-button-send .btn-default:focus,
.form-button-send .btn-default:active {
    outline: none;
    box-shadow: none;
}


.b-menu-header {
    list-style: none;
    padding: 0;
    margin: 0;
}

.b-menu-header li {
    margin: 0;
    padding: 0;
}


.b-logo {
    display: flex;
    align-items: center;
}

.b-logo img {
    width: 100%;
    height: auto;
}


.b-contacts {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: var(--size-12-24);
    margin-bottom: var(--size-6-12);
    font-family: var(--font-heading);
}

@media screen and (max-width: 768px) {
    .b-contacts {
        flex-direction: column;
        align-items: start;
        gap: var(--size-4-6);
    }
}

.b-contacts__item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: var(--size-4-6);
    font-size: var(--size-16-24);
}

.b-contacts__item:hover {
    cursor: pointer;
    color: var(--color-primary-hover);
}


.b-footer-contacts {
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: var(--size-12-24);
    background-color: #fff;
    box-shadow: var(--shadow-default);
    padding: var(--size-12-24);
    border-left: 4px solid var(--color-primary);
    border-radius: 4px 0 0 4px;
}

.b-footer-contacts__item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: var(--size-6-12);
}



.b-menu {
    display: flex;
    flex-direction: row;
    align-items: center;
    
    gap: var(--size-12-24);
}


.b-attention {
    border-left: 4px solid var(--color-primary);
    border-radius: 4px 0 0 4px;
    background-color: var(--color-bg-soft);
    padding: var(--size-12-24);
    padding-left: var(--size-6-12);
}

.lazy-video {
    position: relative;
    width: 100%;
    aspect-ratio: var(--video-aspect-ratio, 16 / 9);
    overflow: hidden;
    background: #111;
    padding: var(--size-6-12);
    box-shadow: var(--shadow-default);
    background-color: #fff;
    border-radius: 12px;
    margin-bottom: var(--size-12-24);
}

.lazy-video__player {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    overflow: hidden;
}

.lazy-video__play {
    position: absolute;
    inset: 0;
    z-index: 2;

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

    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    appearance: none;
    cursor: pointer;
}

.lazy-video__play-icon {
    position: relative;
    padding: 4px;
    transition:
        fill 0.3s ease,
        transform 0.2s ease;
}

.lazy-video__play-icon::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 80%;   
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    background-color: rgba(255, 255, 255, 0.9);
    
    z-index: -5;
    border-radius: 14px;
}

.lazy-video__play svg {
    
    display: block;
    width: 64px;
    height: 64px;
    min-width: 64px;
    min-height: 64px;
   
    fill: var(--color-primary);
    transition:
        fill 0.2s ease,
        transform 0.2s ease;

    
}


.lazy-video:hover .lazy-video__play-icon {
    transform: scale(1.1);
}

.lazy-video:hover .lazy-video__play svg {
    fill: var(--color-primary-hover);
    
}

.lazy-video.is-loaded .lazy-video__play {
    display: none;
}




.form-title {
    font-family: var(--font-title-bold);
    font-size: var(--size-14-18);
}

.form-check-oferta label {
    user-select: none;
    font-size: 12px;
    line-height: 1.1;
    margin-bottom: 0;
}

.form-check-oferta input {
    width: var(--size-12-18);
    min-width: var(--size-12-18);
    height: var(--size-12-18);
    min-height: var(--size-12-18);
    
}

.form-check-oferta a {
    text-decoration: underline;
}

.form-check-oferta a:hover {
    color: inherit;
}

.form-button-send .btn-default {
    border: none;
    
    min-height: 100%;
    
}






.b-slider--product-blocks {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.b-slider--product-blocks .b-slider__items {
    width: 100%;
}

.b-slider--product-blocks .b-slider__item {
    min-width: 0;
    overflow: hidden;
}

.b-slider--product-blocks .b-slider__link,
.b-slider--product-blocks .b-slider__picture {
    display: block;
    width: 100%;
    overflow: hidden;
}

.b-slider--product-blocks .b-slider__picture {
    aspect-ratio: 4 / 3;
}

.b-slider--product-blocks .b-slider__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}



.b-slider__wrap {
    position: relative;
}

.b-slider__controls {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    bottom: 0;
    

    display: flex;
    justify-content: space-between;
    flex-direction: row;
}

.b-slider__controls > div {
    height: 100%;
    width: 80px;
    z-index: 10;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center center;
    text-align: center;
    display: flex;
    align-items: end;
    justify-content: center;
}

.b-slider__controls > div > svg {
    margin-bottom: var(--size-24-48);
    
    border-radius: 50%;
    padding: 4px;
    width: var(--size-24-48);
    height: var(--size-24-48);
    min-width: var(--size-24-48);
    min-height: var(--size-24-48);
    fill: var(--color-primary);
    transition: fill 0.2s ease;
    position:relative;
    box-shadow: var(--box-shadow-default-2);
    background-color: #fff;

    transition:
        transform 0.2s ease,
        fill 0.2s ease,
        background-color 0.2s ease;
}

.b-slider__controls > div:hover {
    cursor: pointer;
}

.b-slider__controls > div:hover svg {
    fill: var(--color-primary-hover);
    transform: scale(1.08);
    
}

.b-project-slider-item.tns-slide-active:hover {
    cursor: pointer;
}

.b-project-slider-item__wrap-img {
    position: relative;
}

.b-project-slider-item__img {
    overflow: hidden;
    border-radius: 12px;
    aspect-ratio: 16 / 9;
}

.b-project-slider-item__img img {
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center;
    aspect-ratio: 16 / 9;   
}

.b-project-slider-item__title {
    padding: var(--size-6-12);
    text-align: center;
    font-family: var(--font-bold);
    width: 100%;
    box-shadow: var(--box-shadow-default);
    z-index: 10;
    margin: var(--size-6-12) 0;
    border-radius: 6px;
    font-size: var(--size-14-18);
}

.b-project-overlay-params {
    position: absolute;
    display: flex;
    flex-direction: column;
    gap: var(--size-4-6);
    top: var(--size-6-12);
    left: -3px;
    z-index: 10;
}

.b-project-overlay-params__item {
    background-color: var(--color-primary);
    border-bottom: 3px solid var(--color-primary-dark);
    border-radius: 6px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: var(--size-6-12);
    flex-direction: row;
    padding: var(--size-4-6) var(--size-6-8);
    font-family: var(--font-bold);
}



.b-project-params-list {
    display: flex;
    align-items: center;
    justify-content: space-around;
    margin: var(--size-6-12) 0;
    font-size: var(--size-16-24);
    font-family: var(--font-bold);

    border: 3px solid var(--color-primary);
    border-top: none;
    border-left: none;
    border-right: none;
    padding: var(--size-6-12);

    box-shadow: var(--box-shadow-default);
}

.b-project-params-list__item {
    display: flex;
    align-items: center;
    gap: var(--size-6-12);
}


.b-project-slider-nav {
    margin-top: var(--size-12-24);
    display: flex;
    flex-direction: row;
    gap: var(--size-6-12);
    width: 100%;
    flex-wrap: wrap;
    margin-bottom: var(--size-12-32);
}

.b-project-slider-nav__item {
    border-radius: 0 0 6px 6px;

    flex: 0 0 calc(
        (100% - var(--size-6-12) * 6) / 7
    );
    min-width: 0;
    cursor: pointer;
}

@media (max-width: 767px) {
    .b-project-slider-nav__item {
        flex-basis: calc(
            (100% - var(--size-6-12) * 4) / 5
        );
    }
}

.b-project-slider-nav__item.tns-nav-active {
    border-bottom: 4px solid var(--color-primary);
}


.b-project-slider-nav__img {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: var(--size-6-12);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    transition: 0.3s;

    /* width: calc(192px / 1.2); */
    /* height: calc(108px / 1.2); */
    /* object-fit: cover; */
    /* object-position: center; */
    
    
    /* display: block; */
}

.b-project-slider-nav__item.tns-nav-active .b-project-slider-nav__img  {
    border-radius: var(--size-6-12) var(--size-6-12) 0 0;
}


.b-project-item-slider-item {
    aspect-ratio: 16 / 9;
}

.b-project-item-slider-item__wrap-img,
.b-project-item-slider-item__img,
.b-project-item-slider-item__img a {
    width: 100%;
    height: 100%;
    display: block;
}

.b-project-item-slider-item__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


.b-project-item-slider-nav {
    margin-top: var(--size-6-12);
    display: flex;
    flex-direction: row;
    gap: var(--size-6-12);
    width: 100%;
    flex-wrap: wrap;
    justify-content: start;
}

.b-project-item-slider-nav__img {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: var(--size-6-12);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    transition: 0.3s;
}

.b-project-item-slider-nav__item {
    border-radius: 0 0 6px 6px;

    flex: 0 0 calc(
        (100% - var(--size-6-12) * 4) / 5
    );
    min-width: 0;
    cursor: pointer;
}

@media (max-width: 767px) {
    .b-project-item-slider-nav__item {
        flex-basis: calc(
            (100% - var(--size-6-12) * 2) / 3
        );
    }
}

.b-project-item-slider-nav__item.tns-nav-active .b-project-item-slider-nav__img  {
    border-radius: 12px 12px 0 0;
}

.b-project-item-slider-nav__item.tns-nav-active {
    border-bottom: 4px solid var(--color-primary);
}



