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

html, body {
    font-family: 'Raleway', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 27px;
    scroll-behavior: smooth;
}

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

ul {
    list-style: none;
}

.container {
    max-width: 1220px;
    padding: 0 10px;
    margin: 0 auto;
}

input, textarea {
    font-family: Arial;
    font-size: 14px;
}

/* настройки бургера START*/

.menu__btn {
    display: none;
    width: 30px;
    height: 25px;
    border: none;
    background-color: transparent;
    padding: 0;
    border-radius: 0;
    flex-direction: column;
    justify-content: space-between;
    order: 2;
    position: relative;
    z-index: 200;
}

.menu__btn-line {
    height: 4px;
    background-color: white;
    width: 100%;
    transition: .3s ease;
}

body.noscroll {
    overflow: hidden;
}

.menu__btn.menu--open .menu__btn-line:nth-child(1) {
    top: 9px;
    transform: translateY(9px) rotate(45deg);
}

.menu__btn.menu--open .menu__btn-line:nth-child(2) {
    opacity: 0;
}

.menu__btn.menu--open .menu__btn-line:nth-child(3) {
    transform: translateY(-12px) rotate(-45deg);
}

/* настройки бургера END */

.header {
    background-image: url("../images/bg_without_flower2.webp");
    background-repeat: no-repeat;
    background-size: cover;
    height: 986px;
    overflow: hidden;
    background-position-y: -7px; 
}

.podkladka {
    background: linear-gradient(to bottom,  rgba(0,0,0, 0.4) 20%, transparent );
} 

.header__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    padding-bottom: 40px;
    margin-bottom: 80px;
}

.logo {
    border-radius: 20px;
}

.logo__img {
    width: 180px;
    height: 115px;
}

.header__menu {
    color: white;
}

.menu__list {
    display: flex;
    gap: 65px;
}

.menu__list-link {
    font-weight: 700;
}

.menu__list-link::after {
    display: block; /*превращаем его в блочный элемент*/
    content: ""; /*контента в данном блоке не будет поэтому в кавычках ничего не ставим*/
    height: 3px; /*задаём высоту линии*/
    width: 0%; /*задаём начальную ширину элемента (линии)*/
    background-color: gold; /*цвет фона элемента*/
    transition: width 0.4s ease-in-out;
}

.menu__list-link:hover:after,
.menu__list-link:focus:after {
    width: 100%;
}

.menu__list-link:hover {
    color: gold;
}

.header__phone {
    background-color: rgba(212, 219, 223, 0.5);
    border-radius: 20px;
    padding: 10px;
    font-weight: 700;
    box-shadow: 3px 3px 7px #457591 inset, -3px -3px 7px #457591 inset;
    transition:all .6s;
    position: relative; 
}

.header__phone::before {
    content: ""; 
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    box-shadow: 0px 0px 0px #457591, 0px 0px 0px #457591;
    transition:all .6s;
}

.header__phone:hover {
    box-shadow: none;
}

.header__phone:hover::before {
    box-shadow: 3px 3px 12px #457591, -3px -3px 12px #457591;
}

.header__content {
    position: relative;
}

.header__content-title {
    font-size: 60px;
    font-weight: 700;
    line-height: 70px;
    max-width: 415px;
    margin-bottom: 25px;
}

.header__content-text {
    font-size: 24px;
    line-height: 32px;
    max-width: 495px;
    margin-bottom: 50px;
    backdrop-filter: blur(10px);
    text-shadow: 0 0 1px black;
}

.header__images {
    position: absolute;
    top: -90px;
    right: -65px;
    width: 847px;
    height: 610px;  
}

.header__flower-img {
    position: absolute;
    left: -165px;
    bottom: -113px;
    width: 13%;
}

.header__content-btn {
    padding: 16px 32px;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
    border-radius: 20px;
    transition: all ease-in .5s;
    position: relative;
    z-index: 100;
    border: 2px solid transparent;
}

.header__content-btn::before {
    content: ""; 
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    background: linear-gradient(180deg, #ED2B2E -43.65%, #480607 100%);
    box-shadow: 0px 0px 0px #457591, 0px 0px 0px #457591;
    transition:all 1.1s;
    z-index: -1;
}

.header__content-btn:hover {
    color: gold;
    box-shadow: 0px 0px 15px 0px goldenrod;
    border: 2px solid goldenrod;
}

.header__images-mobile {
    display: none;
}

.about {
    padding: 50px 0;
}

.about__us-title {
    margin-bottom: 50px;
}

.about__us-contentbox {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 100px;
}

.about__us-images {
    width: 620px;
    position: relative;
    background: linear-gradient(180deg, #ED2B2E -43.65%, #480607 100%);
    border-radius: 20px;
    box-shadow: 20px 20px 50px #fff inset, -20px -20px 50px #fff inset;
}

.image1 {
    position: absolute;
    width: 560px;
    height: 560px;
    top: 40px;
    right: -56px;
    border-radius: 20px;
}

.image2 {
    position: absolute;
    width: 250px;
    height: 250px;
    bottom: -40px;
    left: 40%;
    border-radius: 20px;
}

.about__us-info {
    max-width: calc(100% - 700px);
}

.about__us-desc {
    margin-bottom: 10px;
}

.about__title {
    margin-bottom: 70px;
}

.about__contentbox {
    display: flex;
}

.about__contentbox-imgleft {
    transform: translateY(-60px);
}

.about__img-1 {
    width: 68px;
}

.about__textbox {
    margin-left: 10px;
    max-width: 450px;
}

.about__img-mobile {
    display: none;
}

.about__textbox-item {
    margin-bottom: 30px;
}

.about__textbox-title {
    margin-bottom: 20px;
}

.about__textbox-text {
    font-size: 16px;
    line-height: 24px;
    min-height: 72px;
}

.about__contentbox-imgright {
    width: 672px;
    overflow: hidden;
}

.about__img2 {
    width: 100%;
    height: 100%;
}

.services {
    padding: 50px 0;
    background-color: #f6f6f6;
    background-size: cover;
    background-repeat: no-repeat;
}

.services__title {
    margin-bottom: 50px;
}

.services__inner {
    display: flex;
    justify-content: space-between;
    column-gap: 40px;
    flex-wrap: wrap;
}

.services__inner-infobox {
    position: relative;
    background-color: #FBFBFB;
    padding: 30px 14px;
    border-radius: 20px;
    max-width: 31%;
    height: min-content;
    box-shadow: 10px 10px 10px 0px rgba(214, 16, 16, 0.25);
    border: 3px solid #9B1010;
}

.services__inner-contour {
    height: 40px;
    width: 330px;
    transform: translateX(-35px);
    margin-bottom: 20px;
    border-radius: 20px;
}

.services__inner-title {
    margin-bottom: 20px;
    position: absolute;
    top: 32px;
    left: 85px;
    color: #fff;
}

.services__inner-list {
    list-style-image: url(../images/ellipse.svg);
    list-style-position: inside;
    font-size: 16px;
    margin-bottom: 20px;
}

.services__inner-item {
    margin-bottom: 5px;
}

.services__inner-pricebox {
    text-align: center;
    margin-bottom: 20px;
}

.services__inner-price {
    margin-bottom: 30px;
    font-size: 26px;
    font-weight: 700;
}

.advantages {
    padding: 100px 0;
}

.advantages__items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 30px;
    text-align: center;
}

.advantages__item {
    background-color: #f6f6f6;
    padding: 20px 20px;
    border: 3px solid #9B1010;
    border-radius: 20px;
}

.advantages__item-img {
    margin-bottom: 10px;
}

.advantages__item-title {
    margin-bottom: 20px;
    text-transform: uppercase;
    padding: 0 20px;
}

.title {
    text-align: center;
    font-size: 40px;
    line-height: 52px;
    font-weight: 700;
}

.advantages__title {
    margin-bottom: 50px;
}

.contacts {
    background-image: url(../images/tab009v7.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 44% 5px;
}

.contacts__inner {
    display: flex;
    justify-content: space-between;
    padding: 50px 0;
}

.contacts__infobox {
    flex: 50%;
}

.contacts__title {
    font-size: 40px;
    line-height: 52px;
    margin-bottom: 30px;
    margin-top: 20px;
}

.contacts__text {
    padding-right: 30px;
    margin-bottom: 20px;
}

.contacts__list {
    margin-bottom: 30px;
}

.contacts__item {
    margin-bottom: 20px;
}

.contacts__item-title {
    font-weight: 700;
}

.contacts__social {
    display: flex;
    gap: 10px;
}

.facebook {
    width: 32px;
    height: 32px;   
}

.facebook2 {
    width: 32px;
    height: 32px;   
}

.facebook:hover .st0 {
    fill: darkred;
    transition: all 1.3s;
}

.facebook:hover .st4 {
    fill: #1977f3;
    transition: all .6s;
}

.facebook2:hover .st5 {
    fill: #1977f3;
    transition: all .6s;
}

.telegram_svg {
    width: 32px;
    height: 32px;
    transition: fill 2.6s;
}

.telegram_svg:hover circle {
    fill: darkred;
    transition: fill 2.6s;
}

.telegram:hover .cls-1 {
    fill: goldenrod;
    transition: all .3s;
}

.telegram_svggrey {
    width: 32px;
    height: 32px;
}

.telegram_svggrey:hover circle {
    fill: #32aaff;
    transition: all 0.6s;
}

.telegram_svggrey2 {
    width: 32px;
    height: 32px;
}

.telegram_svggrey2:hover circle {
    fill: darkred;
    transition: all 0.6s;
}

.telegram_svgred:hover circle {
    fill: #32aaff;
    transition: all 0.6s;
}

.facebook_svg {
    fill: #2061ed; 
}

.facebook_svg:hover path {
    fill: goldenrod;
    transition: all .3s;
}

.contacts__line {
    margin: 50px 0;
    border-left: 3px solid darkred;
}

.contacts__form {
    flex: 50%; 
    padding: 20px 60px;
}

.contacts__form-title {
    margin-bottom: 30px;
}

.contacts__input {
    width: 100%;
    margin-bottom: 15px;
    padding: 24px 15px 
}

textarea + .wpcf7-not-valid-tip {
    transform: translateY(-28px);
}

/* Вар 1 */

/* .wpcf7-not-valid-tip {
    display: none;
}

.wpcf7-not-valid {
    border: 4px solid #ffb900;
} */

/* Вар 2 */

.wpcf7-not-valid-tip {
  position: relative;
  background: indianred;
    color: white;
    font-weight: 700;
    text-align: center;
    max-width: 70%;
    transform: translateY(-20px);
    margin-left: 30px;
    box-shadow: 2px 4px 4px rgba(205, 92, 92, 0.5);
}
.wpcf7-not-valid-tip:after {
  bottom: 100%;
  left: 50%;
  border: solid transparent;
  content: "";
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
  border-color: rgba(148, 64, 75, 0);
  border-bottom-color: indianred;
  border-width: 10px;
  margin-left: -20px;
}

/* END VAR 2 */



.contacts__inner-btn {
    display: flex;
    flex-wrap: wrap-reverse;
    gap: 20px;
}

.contacts__checkbox {
    align-self: start;
}

.wpcf7-list-item {
    margin: 0;
}

.wpcf7-not-valid-tip {
    font-size: 0.8em;
}

.contacts__checkbox-label {
    font-size: 16px;
    line-height: 18px;
    display: flex;
    flex: 50%;
}

.wpcf7 form.invalid .wpcf7-response-output, 
.wpcf7 form.unaccepted .wpcf7-response-output, 
.wpcf7 form.payment-required .wpcf7-response-output {
    background-color: #F0FFF0;
}

.footer {
    background-color: #A05050;
    color: white;
}

.footer__inner {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
    padding-top: 20px;
    padding-bottom: 20px;
}

.list-link__footer::after {
    display: block; /*превращаем его в блочный элемент*/
    content: ""; /*контента в данном блоке не будет поэтому в кавычках ничего не ставим*/
    height: 3px; /*задаём высоту линии*/
    width: 0%; /*задаём начальную ширину элемента (линии)*/
    background-color: gold; /*цвет фона элемента*/
    transition: width 0.4s ease-in-out;
}

.list-link__footer:hover:after,
.list-link__footer:focus:after {
    width: 100%;
}

.list-link__footer:hover {
    color: gold;
}

.footer__copyright {
    text-align: center;
    padding-bottom: 10px;
    padding-top: 10px;
    color: #FFF8F3;
    border-top: 2px solid white;
    font-size: 16px;
}

.footer__politics {
    color: lightgrey;
    font-size: 14px;
    max-width: fit-content;
}

.footer__politics:hover {
    color: gold;
}

.footer__politics::after {
    display: block; /*превращаем его в блочный элемент*/
    content: ""; /*контента в данном блоке не будет поэтому в кавычках ничего не ставим*/
    height: 1px; /*задаём высоту линии*/
    width: 0%; /*задаём начальную ширину элемента (линии)*/
    background-color: gold; /*цвет фона элемента*/
    transition: width 0.4s ease-in-out;
}

.footer__politics:hover:after,
.footer__politics:focus:after {
    width: 100%;
}

/*  Page - Polityka Prywatnosci */

.politica {
    padding: 50px 0;
}

.politica h1 {
    font-size: 54px;
    font-weight: 700;
    margin-bottom: 50px;
    line-height: 60px;
}

.politica h2 {
    font-size: 42px;
    margin-bottom: 30px;
    line-height: 50px;
}

.politica ol {
    padding-left: 25px;
    margin-bottom: 20px;
}

.politica a:hover {
    color: goldenrod;  
}

@media (max-width: 768px) {
    .politica h1 {
        font-size: 36px;
        line-height: 44px;
    }

    .politica h2 {
        font-size: 28px;
        line-height: 36px;
    }
}

/*  Page - Polityka Prywatnosci END */

/*  Page - 404 */

.error-info {
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
}

.error-info img {
    margin-bottom: 25px;
}

.error-info__title {
    font-weight: 700;
    font-size: 22px;
    line-height: 28px;
    text-align: center;
    margin-bottom: 14px;
}

.error-info__text {
    font-size: 16px;
    line-height: 26px;
    margin-bottom: 24px;
    color: #81819B;
}

.error-info a {
    font-weight: 700;
    font-size: 16px;
    line-height: 20px;
    color: #293ACC;
    /* text-decoration: none; */
    padding: 12px 22px;
    border: 1px solid rgba(129, 129, 155, 0.25);
    border-radius: 8px;
    transition: 0.3s all;
}

.error-info a:hover {
    background: #293ACC;
    color: #ffffff;
}

/*  Page - 404 END */


/* MEDIA */

@media (max-width: 1200px) {
    .header {
        background-image: url("../images/bg-header.webp");
        max-height: 780px;
        position: relative;
    }
    .header__content {
        position: static;
    }

    .header__content-title {
        margin-top: -30px;
    }

    .header__images {
        display: none;
    }
    .header__images-mobile {
        display: block;
        position: absolute;
        bottom: 0;
        right: 0;
        width: 100%;
    }

    .about__img2 {
        width: 650px;
        height: 1100px;
    }
    .advantages__items {
        grid-template-columns: repeat(2, 0.4fr);
        justify-content: center;
    }

    .about__us-images {
        max-width: 45%;    
    }

    .image1 {
        width: 80%;
        height: 80%;
        right: 50px;
    }

    .image2 {
        width: 200px;
        height: 200px; 
        left: 252px;
    }

    .about__us-info {
        max-width: calc(100% - 20px - 45%);
    }

    .services__inner {
        display: block; 
    }

    .services__inner-infobox {
        max-width: 75%;
        margin: 0 auto 50px;
    }

    .services__inner-contour {
        margin-left: auto;
        margin-right: auto;
        display: block;
        transform: translateX(0px);
    }

    .services__inner-title {
        left: 46%;
    }
}

@media (max-width: 1024px) {
    .menu__list {
        gap: 40px;
    }
    .about__contentbox {
        justify-content: center;
    }
    .about__img2 {
        width: 500px;
        height: 825px;
        margin-top: 87px;
    }
    .advantages__items {
        grid-template-columns: repeat(2, 1fr);   
    }

    .about__us-contentbox {
        flex-wrap: wrap;
    }

    .about__us-images {
        max-width: 100%; 
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .image1 {
        width: 90%;
        height: 90%;
        position: static;
    }

    .image2 {
        width: 250px;
        height: 250px; 
        left: 400px;
    }

    .about__us-info {
        max-width:100%;
        padding: 0 60px;
        order: -1;
        margin-bottom: 70px;
    }
}

@media (max-width: 900px) {
    .header__content-title {
        margin-top: 0;
    }
    .logo__img {
        width: 120px;
        height: 80px;
    }    
    .about__contentbox-imgright {
        display: none;
    }
    .about__textbox {
        margin-left: 30px;
    }
    .services__inner-infobox {
        max-width: 90%;
    }
    .footer__menu-list {
        display: block;
    }

    .contacts {
        background-position: 30% 5px;
    }

    .contacts__inner {
        flex-wrap: wrap;
        justify-content: center;
        gap: 30px;
    }

    .contacts__infobox {
        flex: 70%;
        text-align: center;
        max-width: 70%;
    }

    .contacts__text {
        padding-right: 0;
    }

    .contacts__social {
        justify-content: center;
    }

    .contacts__line {
        display: none;
    }

    .contacts__form {
        max-width: 70%;
    } 
    .logo__img--footer {
        width: 180px;
        height: 120px;
    }
    .menu__list-item--footer {
        padding: 20px 0;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .header__top {
        margin-bottom: 40px;    
    }
    .header__content-title {
        font-size: 42px;
        line-height: 49px;
    }
    .header__content-text {
        font-size: 18px;
        line-height: 24px;
        max-width: 403px;
    }

    .menu__btn {
        display: flex;
    }

    .header__menu {
        width: 100%;
        height: 115vh;
        background-color: #A05050;
        color: #FFF8F3;
        font-size: 40px;
        line-height: 60px;
        position: absolute;
        top: 0;
        right: 0;
        left: 0;
        bottom: 0;
        transform: translateY(-200%);
        transition: transform .5s ease;
        z-index: 101;
        overflow: auto;
        display: flex;
    }
    .header__menu-list {
        display: flex;
        flex-direction: column;
        margin: auto;
        padding: 50px 0 20px;  
    }
    .menu__list-item--header {
        text-align: center;
    }

    .list-link__header:hover {
        color: gold;
    }

    .list-link__header::after {
        background-color: gold; 
    }

    .header__menu.menu--open {
        transform: translateY(-11%);
    }

    .menu__list-link {
        display: inline-block;
    }

    .about {
        padding: 50px 0;
    }

    .about__us-info {
        margin-bottom: 30px;
    }

    .image2 {
        left: 300px;
    }

    .advantages {
        padding: 50px 0;
    }

    .advantages__items {
        grid-template-columns: minmax(320px, 550px);
        justify-content: center;
    } 

    .contacts {
        background-image: url(../images/tab009v8768.jpg);
        background-size: 1015px 1265px;
    }

    .contacts__form {
        max-width: 80%;
    }
}

@media (max-width: 570px) {
    .header {
        background-position-y: -57px;
    }
    .header__top {
        padding-top: 15px;
    }
    .header__images-mobile {
        transform: matrix(-1, 0, 0, 1, 0, -35);
    }
    .about__us-info {
        padding: 0 15px;
        font-size: 16px;
    }

    .image2 {
        width: 200px;
        height: 200px;
        left: 200px;
    }

    .about {
        padding: 0 0;
    }

    .about__us-title {
        margin-bottom: 25px;
    }

    .about__title {
        margin-bottom: 50px;
    }
    .about__textbox {
        margin-left: 15px;
    }
    .about__textbox {
        position: relative;
    }
    .about__textbox::before {
        content:"";
        position: absolute;
        z-index: -1;
        height: 90%;
        top: 0;
        bottom: 0;
        left: 24px;
        border-left: 2px dashed #ccc; 
    }
    .about__contentbox-imgleft {
        display: none;
    }
    
    .about__textbox-item {
        display: flex;
        flex-wrap: wrap;
    }
    .about__img-mobile {
        display: flex;
        transform: translateY(-12px);
    }
    .about__textbox-title {
        margin-left: 15px;
        max-width: 75%;
    }
    .about__textbox-text {
        margin-left: 63px;
    }

    .advantages {
        padding: 30px 0;
    }
    .advantages__items {
        grid-template-columns: repeat(1, 1fr);   
    }
    .services__inner-infobox {
        max-width: 95%;
    }
    .services__inner-title {
        left: 43%;
    }

    .footer__politics {
        width: 100%;
        text-align: center;
    }
    .footer__inner {
        gap: 30px;
        justify-content: space-around;
    }

    .contacts__infobox {
        max-width: 100%;
    }

    .contacts__form {
        max-width: 100%;
    }
}

@media (max-width: 485px) {
    .header {
        height: 680px;
        background-position-y: -7px;  
    }
    .header__top {
        margin-bottom: 20px;
    }
    .header__images-mobile {
        transform: matrix(-1, 0, 0, 1, 0, 2);
    }
    .about {
        padding: 0px 0 30px;
        margin-top: 30px;
    }
    .about__us-title {
        margin-bottom: 15px;
    }
    .about__us-contentbox {
        gap: 0;
    }
    .about__us-info {
        margin-bottom: 15px;
    }
    .image2 {
        width: 40%;
        height: auto;
        left: 200px;
    }
    .about__title {
        margin-bottom: 30px;
    }
    .title {
        font-size: 28px;
        line-height: 37px;
    }
    .about__textbox-item {
        justify-content: center;
    }
    .about__img-mobile {
        flex-basis: 100%;
        margin-bottom: -10px;
    }
    .about__textbox-title {
        font-size: 16px;
        line-height: 21px;
        margin-bottom: 10px;
        max-width: 100%;
        margin-left: 0px; 
        text-align: center;
    }
    .about__textbox-text {
        margin-left: 0px;
        text-align: center;
    }
    .about__textbox::before {
        display: none;
    }
    .advantages__title {
        margin-bottom: 30px;
    }
    .advantages__items {
        gap: 20px 0;
    }
    .advantages__item {
        padding: 10px 10px;
    }
    .advantages__item-title {
        font-size: 16px;
    }

    .services {
        padding: 10px 0;
    }
    .services__inner-contour {
        width: 280px;
        border-radius: 10px;
    }
    .services__inner-title {
        top: 35px;
        left: 41%;
    }
    .services__inner-item {
        line-height: 22px;
    }

    .services__inner-infobox {
        margin: 0 auto 30px;
    }    

    .contacts__title {
        font-size: 28px;
        line-height: 37px;
    }

    .contacts__inner {
        padding: 20px 0;
    }

    .contacts__form {
        padding: 20px 10px;
    }
}

@media (max-width: 370px) {
    .logo__img {
        width: 100px;
    }
    .logo__img--footer {
        width: 150px;
    }
    .header__phone {
        font-size: 14px;
    }
    .image2 {
        width: 40%;
        height: auto;
        left: 0;
    }
    
    .about {
        padding: 30px 0 0;
        margin-top: 0;
    }

    .services {
        padding: 30px 0;
    }

    .services__inner-infobox {
        max-width: 99%;
        padding: 30px 8px;
    }
    .services__inner-contour {
        width: 250px;
    } 
    .services__inner-title {
        left: 39%;
    } 
    
    .advantages {
        padding: 20px 0;
    }

    .contacts__inner {
        padding: 0 0;
    }
}

