/*
 * Theme Name: Тема сайта
 * Author: Eduard Shpigel
 * Author URI: https://t.me/edshpigel
 * Version: 1.0.0
 */
 
 /* Catalog Section */
.catalognew {
    padding: 50px 0;
}

.catalognew .catalog__grid {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.catalognew .product-card {
  background: #f4f4f4;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: calc(25% - 17px);
    position: relative;
    padding: 20px;
    display: flex;
    justify-content: right;
    min-height: 338px;
    text-decoration: none;
    color: inherit
}


.catalognew .product-card:hover {
    transform: translateY(-5px);
}

.catalognew .product-card .product-card__image {
    max-height: 230px;
    overflow: hidden;
    position: absolute;
    width: 70%;
    bottom: 0;
    left: 0;
    display: flex;
}

.catalognew .product-card__image img {
    width: 100%;
    object-fit: contain;
    object-position: left;
}

.catalognew .product-card__content {
    padding: 0px 0 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 80%;
    text-align: right;
    align-items: flex-end;
}

.catalognew .product-card__title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-top: 0;
    text-align: right;
    margin-bottom: 9px;
    max-width: 260px;
    line-height: 1.2;
}

.catalognew .product-card__price {
    text-align: right;
    font-size: 14px;
}
.catalognew .product-card .product-card__arrow{
    position: absolute;
    right: 20px;
    bottom: 20px;
    color: #d9484a;
    font-size: 40px;
    font-family: 'Manrope', Arial, sans-serif;
    line-height: 1.55;
    font-weight: 500;
    border-radius: 30px 30px 30px 30px;
    background-color: #ffffff;
    background-position: center center;
    border-color: transparent;
    border-style: solid;
    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out, border-color 0.2s ease-in-out;
}

/* Benefits Section */
.benefits {
    padding: 50px 0;
    background-color: #f8f9fa;
}

.benefits__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.benefit-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
}

.benefit-card__image {
    position: relative;
    height: 340px;
    overflow: hidden;
}

.benefit-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.benefit-card__number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 50px;
    font-weight: 500;
    color: rgb(255 255 255 / 20%);
    line-height: 1;
}

.benefit-card__content {
    padding: 30px;
}

.benefit-card__title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.2;
    margin-top: 0;
}

.benefit-card__description {
       color: #999;
    font-weight: 400;
    font-size: 20px;
    line-height: 1.3;
}
span.bg-title {
    background: #d9484a;
    color: #fff;
    padding: 0 15px;
}

.quiz__heading h2 {
    line-height: 1.3;
}
@media (max-width: 768px) {
   .benefits__grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 15px;
}

.catalognew .catalog__grid {
        gap: 12px;
    }
    
   .catalognew  .product-card {
        padding: 12px;
        min-height: 250px;
        width:calc(50% - 15px);
        display:block;
        min-height:0;
    }
    .catalognew .product-card .product-card__image {
    width: 100%;
    position: static;        height: 120px;
}
    .catalognew  .product-card__title {
                font-size: 14px;
        text-align: left;
    }
    
   .catalognew  .product-card__price {
        font-size: 14px;
    }
    .catalognew .product-card .product-card__arrow {
    font-size: 21px;
    }
    .catalognew .product-card__content {
    padding: 10px 0 0;
    width: 100%;
    text-align: left;
    align-items: flex-start;
}
}

/* About Section */
 #about.about  {
    position: relative;
    min-height: 100vh;
    background-color: #f8f9fa;
    overflow: hidden;
}
.aboutnew__heading{
    margin-bottom: 0;
    padding: 30px 0;
}
.aboutnew__heading h2{
    margin-bottom: 0;
}
 #about.about .about__background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: url('assets/imgs/workshop-bg.jpg') no-repeat center center;
    background-size: cover;
    z-index: 1;
    border-radius: 350px;
    opacity: 1;
    transition: border-radius 0.8s ease, position 0s, opacity 0.8s ease;
}

 #about.about .about__background.fixed {
    position: fixed;
    top: 0;
    left: 0;
}

 #about.about .about__background.scrolled {
    border-radius: 0;
}

/* When section bottom is reached, pin background to section bottom
   so it scrolls away naturally with the section */
 #about.about .about__background.stuck-bottom {
    position: absolute;
    top: auto;
    bottom: 0;
}

 #about.about .about__logo {
    position: absolute;
    top: 35%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
    opacity: 1;
    transition: transform 0.8s ease, opacity 0.8s ease;
}

 #about.about .about__logo.scrolled {
    transform: translate(-50%, -50%) scale(1.5);
}

 #about.about .about__logo.fade-out {
    opacity: 0;
    transition: opacity 0.6s ease;
}

 #about.about .about__logo-text {
    font-size: 120px;
    font-weight: 900;
    color: #fff;
    line-height: 1;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    font-family: 'Manrope', Arial, sans-serif;
}
#about.about .about__content{
    margin-right:auto ;
}
 #about.about .about__logo-subtitle {
    font-size: 24px;
    color: #fff;
    font-style: italic;
    margin-top: 10px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

 #about.about .about__content.container {
    position: relative;
    z-index: 3;
    padding: 80px 0;
}

 #about.about .about__text-block {
    background: #f6f6f6;
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
    visibility: hidden;
}

 #about.about .about__text-block.visible {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

 #about.about .about__badge {
    background-color: #d9484a;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
    width: 78px;
    height: 34px;
    border-radius: 20px;
    position:relative;
}
 #about.about .about__badge:after{
    content:"";
    position: absolute;
    right: -10px;
    height: calc(100% - 2px);
    width: 50px;
    border: 1px solid red;
    border-radius: 34px;
    z-index: -1;
}
 #about.about .about__block-content {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

 #about.about .about__block-content--reverse {
    flex-direction: row-reverse;
}

 #about.about .about__image {
    flex: 1;
    min-width: 300px;
    height: 100%;
        max-height: 465px;
    border-radius: 12px;
    overflow: hidden;
}

 #about.about .about__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

 #about.about .about__text-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

 #about.about p {
    font-size: 21px;
    color: #333;
    line-height: 1.7;
    margin: 0;
}

#about.about .about__image a {
    position: relative;
    display: block;
}

#about.about .about__image a span.video-ic {
    width: 70px;
    height: 70px;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

#about.about .about__image a span.video-ic svg {
}


@media (max-width: 767px) {
       #about.about .about__block-content {
        flex-direction: column;
        gap: 20px;
    }
   #about.about .about__description {
    font-size: 18px;
    color: #333;
    line-height: 1.7;
    margin: 0;
}
#about.about .about__logo-text {
        font-size: 50px;
    }
    
 #about.about   .about__logo-subtitle {
        font-size: 14px;
    }
    
  #about.about  .about__text-block {
        padding: 15px 10px;
    }
    
  #about.about  .about__image {
        height: 120px;
    }
    
    .about__badge {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
}








.about__points-item-text {
    color: black;
}

.hero__profits-item-icon {
    mask-image: var(--icon);
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
    background-color: var(--primary);
    width: 40px;
    height: 40px;
    filter: brightness(2);
}

.header__logo {
}

.h1,
h1,
.h2,
h2,
.h3,
h3 {
    font-style: var(--font-style-headers);
    text-transform: var(--font-style-headers);
    letter-spacing: var(--font-letter-spacing-headers);
}

.quiz-answers--on-imgs:not(.quiz-answers--on-radio):has(li:first-child > label > span):has(li:last-child > label > span)
    span,
.works__item-price,
.quiz .progress-counter {
    font-style: var(--font-style-headers);
}

.header__logo-text {
    font-size: 28px;
    color: #e70d0d;
    font-weight: 500;
    line-height: 1;
    font-style: italic;
}

@media (min-width: 769px) {
    .header__logo img {
        max-width: 200px;
    }
}
@media (min-width: 769px) {
    .bclose {
        background: #e3e3e3;
    }
}

.reviews-image-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 20px 0;
}

.reviews-image-grid__item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.hero__img:before {
    background: linear-gradient(to right, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.7), rgb(0 0 0 / 45%));
}

.header._fixed {
    color: var(--white);
}

.header__flex .header__logo + * {
    margin-left: auto;
}
.modal-form.fancybox__content#modal-form {
    max-width: 600px;
}
.header__flex .header__socials-item img {
    --header-socials-filter: brightness(0) invert(1);
}
.header._fixed .header__btn .btn span {
    background-color: var(--primary);
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    clip-path: var(--clip-path-btn);
}

.header._fixed .header__tel svg path {
    fill: #111;
}

.header._fixed .js-tel-text {
    color: #111;
}
.header._fixed .js-tel-text svg {
    fill: #111;
}

.header__logo-desc {
    color: black;
    max-width: 120px;
    word-break: break-all;
    white-space: wrap;
}

@media (max-width: 998px) {

    .header__flex .header__email {
        display: none;
    }
}
@media (max-width: 768px) {
    .header__email .js-email {
        display: none;
    }
    .header__tel svg path {
        fill: #111;
    }
    .header {
        background-color: #fff;
    }
    .header__flex .header__logo ~ .header__tel {
        margin-left: auto;
    }
}

@media (min-width: 1024px) {
    .header {
        position: relative;
        height: auto;
        max-height: 80px;
    }

    .header__email .js-email {
        margin-right: 15px;
    }

    .header {
        padding: 10px 0;
    }

    .header__tel {
        color: #111;
    }

    .header._fixed .header__logo {
        max-width: 360px;
    }

    .header._fixed {
        padding: 5px 0;
        min-height: auto;
    }
}

.header__flex .header__socials {
    gap: 10px;
}
.header__flex .header__socials-item {
    background-color: var(--social-hover-color);
}
.header__flex .header__btn .btn span {
    clip-path: var(--clip-path-btn);
    background-color: var(--primary);
}

#about.about:last-child {
	min-height: unset !important;
}

