/*Общие стили (начало)*/
*,
*::before,
*::after {
    box-sizing: border-box;
}

:root {
    font-size: 18px;
    font-weight: 400;

    --white: #F5F5F5;
}

:focus {
    outline: 2px solid var(--darkAccentColor);
}

*[id]:before {
    display: block;
    content: " ";
    height: 50px;
    visibility: hidden;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Raleway", sans-serif;
}

ul {
    margin: 0;
    padding-left: 0;
    list-style-type: none;
}

h2,
h3,
p {
    margin: 0;
}

h1 {
    font-size: 4.6rem;
    font-weight: 700;
    font-style: normal;
    color: #011923;
    line-height: 90%;
    margin-bottom: 10px;
    margin-left: -6px;
    margin-top: 0;
}

h2 {
    font-size: 2rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #011923;
}

h3 {
    font-size: 1.44rem;
    font-weight: 700;
    text-transform: uppercase;
}

a {
    text-decoration: none;
}

.container {
    display: flex;
    max-width: 1180px;
    margin: 0 auto;
}

/*Общие стили (конец)*/

/*header (начало)*/

.header-visitka {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    background-color: #011923;
    margin: 0 auto;
    font-family: Inter, sans-serif;
}

.header-visitka-container {
    display: flex;
    width: 1180px;
    align-items: center;
    justify-content: space-between;
    color: #F5F5F5;
    padding: 10px 0;
}

.location {
    color: #F5F5F5;
    font-weight: 300;
}

.logo {
    display: flex;
    align-items: center;
    width: 100px;
    height: 100px;
}

.contacts {
    width: 223px;
    text-align: right;
    font-weight: 300;
}

.contacts p {
    font-size: 0.89rem;
}

.phone {
    color: #FCFAFA;
    font-size: 1.11rem;
}

.icons {
    margin-top: 7px;
}

.icon-tel {
    display: none;
}

.icon-center {
    margin-left: 6px;
    margin-right: 6px;
}


/*header (конец)*/


/*navbar (начало)*/

.navbar {
    display: flex;
    width: 100%;
    height: 120px;
    background-color: #F5F5F5;
}

.navbar-container {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.navbar-links,
.footer-links {
    display: flex;
    align-items: center;
    text-transform: uppercase;
    gap: 20px;
    font-size: 1rem;
    font-weight: 500;
}

.navbar-link {
    color: #011923;
    border-bottom: 0 solid #011923;
    transition: 0.2s;
}

.navbar-link:hover {
    border-bottom-width: 1px;
}

/*navbar (конец)*/

/*banner (начало)*/

.banner {
    background-color: #F5F5F5;
    padding-bottom: 50px;
}

.banner .container {
    justify-content: space-between;
    align-items: center;
}

.position-mob {
    display: none;
}

.slogan {
    font-size: 1.2rem;
    font-weight: 400;
    color: #A15E49;
}

.slogan1 {
    width: 480px;
    text-align: center;
    margin-top: 10px;
    background-color: #D3BDB0;
    font-size: 0.9rem;
    padding: 10px;
    text-transform: uppercase;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.slogan2 {
    text-align: center;
    margin-top: 10px;
    background-color: #D3BDB0;
    padding: 10px;
    border-radius: 10px;
}

.slogan1 .flare {
    position: absolute;
    top: 0;
    height: 100%;
    width: 46px;
    transform: skewX(-45deg);
    animation: flareAnimation;
    left: -150%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.9));
    animation: flareAnimation 6s infinite linear;
}

.position {
    margin-top: 10px;
    color: #011923;
    font-weight: 200;
    font-size: 0.9rem;
}

@keyframes flareAnimation {
    0% {
        left: -150%;
    }

    100% {
        left: 150%;
    }
}

button {
    margin-top: 50px;
    padding: 30px 108px;
    align-items: center;
    color: #048654;
    border: 1px solid #048654;
    border-radius: 40px;
    font-size: 1.11rem;
    font-weight: 500;
    letter-spacing: 1px;
    overflow: hidden;
    transition: 0.5s;
    -webkit-box-reflect: below 1px linear-gradient(transparent, #0003)
}

button:hover {
    color: #048654;
    background: #f0fff9;
    box-shadow: 0 0 2px #048654, 0 0 2px #048654, 0 0 30px #048654;
    transition-delay: 0s;
}

button span {
    position: absolute;
    display: block;
}

button span:nth-child(1) {
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #048654);
}

button:hover span:nth-child(1) {
    left: 100%;
    transition: 1s;
}

button span:nth-child(3) {
    bottom: 0;
    right: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(270deg, transparent, #048654);
}

button:hover span:nth-child(3) {
    right: 100%;
    transition: 1s;
    transition-delay: 0.5s;
}

button span:nth-child(2) {
    top: -100%;
    right: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, transparent, #048654);
}

button:hover span:nth-child(2) {
    top: 100%;
    transition: 1s;
    transition-delay: 0.25s;
}

button span:nth-child(4) {
    bottom: -100%;
    left: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(360deg, transparent, #048654);
}

button:hover span:nth-child(4) {
    bottom: 100%;
    transition: 1s;
    transition-delay: 0.75s;
}

.photo-banner {
    width: 490px;
    height: 490px;
    border-radius: 1000px;
}


/*main-form (начало)*/

.main-form {
    display: none;
    position: fixed;
    margin: 15px auto;
    padding: 0;
    left: 0;
    top: 0px;
    width: 100%;
    z-index: 99998;
    background-color: rgba(0, 0, 0, .4);
}

.form {
    width: 700px;
    padding: 60px 40px 120px;
    background: #048654;
    border: 1px solid #E1E5EC;
    margin: 300px auto;
}

.feedback-form-title {
    font-size: 30px;
    text-align: center;
    color: #E1E5EC;
    text-transform: uppercase;
}

.send {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.main-form-btn {
    display: flex;
    align-items: center;
}

.button-form {
    display: flex;
    padding: 10px 40px;
    text-transform: uppercase;
    color: #048654;
    font-size: 18px;
    border-radius: 30px;
    border: 1px solid #E1E5EC;
    gap: 10px;
    margin-top: 20px;
}

.img-close {
    position: fixed;
    margin-left: 625px;
    margin-top: -180px;
}

/*main-form (конец)*/

/*banner (конец)*/


/*banner-row (начало)*/

.banner-row {
    padding: 10px 0 13px;
    background-color: #048654;
    color: #F5F5F5;
}

.banner-row-text {
    display: flex;
    margin: 0 auto;
    gap: 26px;
}

/*banner-row (конец)*/

/*gallery (начало)*/

.gallery {
    background-color: #F5F5F5;
    padding-bottom: 250px;
}

.gallery .container {
    display: flex;
    flex-direction: column;
}

.gallery-row-text {
    display: flex;
    align-items: center;
    margin: 100px auto;
    gap: 63px;
    padding: 20px 50px;
    border: solid 1px #D3BDB0;
    border-radius: 50px;
}

.gallery-row-text-big {
    font-weight: 700;
    text-transform: uppercase;
}

.gallery-row-text-content {
    display: flex;
    gap: 23px;
}

.gallery-row-text-box {
    display: flex;
    align-items: center;
    gap: 10px;
}

.gallery-row-text-box img {
    width: 40px;
    height: 40px;
}

.gallery h2 {
    margin-top: 100px;
    margin-bottom: 24px;
}

.gallery-text {
    width: 610px;
    font-size: 1.33rem;
    font-weight: 400;
}

.gallery-text-best {
    max-width: 450px;
    font-size: 1.1rem;
    margin-left: 700px;
    color: #A15E49;
    margin-bottom: 70px;
}

.gallery-photos {
    margin-bottom: 70px;
    display: flex;
    gap: 20px;
    font-size: 1.1rem;
    font-weight: 500;
}

.card p {
    color: #A15E49;
    margin-left: 8px;
    margin-top: 10px;
}

.img-card-small,
.img-card-medium,
.img-card-big,
.img-card-tiny,
.img-card-XL,
.img-card-xs {
    object-fit: cover;
    border-radius: 10px;
    border: 8px solid #D3BDB0;
    transition: transform 0.3s ease;
}

.img-card-small:hover,
.img-card-medium:hover,
.img-card-big:hover,
.img-card-tiny:hover,
.img-card-XL:hover,
.img-card-xs:hover {
    transform: scale(1.4);
}

.img-card-xs {
    width: 380px;
    height: 260px;
}

.img-card-tiny {
    width: 380px;
    height: 240px;
}

.img-card-small {
    width: 280px;
    height: 500px;
}

.img-card-medium {
    width: 380px;
    height: 500px;
}

.img-card-big {
    width: 480px;
    height: 500px;
}

.img-card-XL {
    width: 580px;
    height: 480px;
}

.card-center {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.gallery-txt {
    padding: 30px;
    border-radius: 10px;
    border: 1px solid #D3BDB0;
    color: #A15E49;
    font-size: 1.3rem;
    font-weight: 400;
    height: 500px;
    width: 280px;
}


/*gallery-photos-color (начало)*/

.gallery-photos-color {
    position: relative;
    width: 100%;
    box-sizing: content-box;
    display: flex;
    flex-direction: column;
    gap: 50px;
    background-color: #D3BDB0;
    border-radius: 30px;
    padding: 100px 180px 185px 180px;
    margin-left: -183px;
    margin-bottom: 70px;
}

.gallery-photos-color p {
    color: #F5F5F5;
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
}

.gallery-photos-color .card {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.gallery-photos-color .img-card-small,
.gallery-photos-color .img-card-medium,
.gallery-photos-color .img-card-big {
    border: 8px solid #F5F5F5;
}

/*gallery-photos-color (конец)*/


.gallery-business {
    display: block;
}

.subtitle {
    color: #A15E49;
    font-size: 1.44rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 24px;
    margin-top: 75px;
}

.subtitle-best {
    font-size: 1.33rem;
    width: 402px;
}

.subtitle-best2 {
    width: 680px;
    color: #A15E49;
    margin-left: 500px;
    font-size: 1.33rem;
}

.gallery-business .slogan2 {
    width: 360px;
    margin: 0 0 40px;
    padding: 10px 20px;
    font-size: 1.09rem;
    margin-left: 820px;
    text-transform: none;
    text-align: left;
    color: #011923;
}

.subtitle-best3 {
    margin-left: 716px;
    color: #011923;
    font-weight: 500;
}

/*gallery (конец)*/


/*firms (начало)*/

.firms {
    background-color: #FFFFFF;
    margin-top: 200px;
}

.firms-container-title {
    display: flex;
    flex-direction: column;
}

.firms h3 {
    color: #048654;
    margin-bottom: 10px;
    margin-top: 26px;
}

.slogan2 {
    width: 618px;
    color: #F5F5F5;
    margin-bottom: 26px;
    font-size: 1rem;
    padding: 2px;
    text-transform: none;
}

.firms-logos {
    background-image: url(../img/firms/textured-background.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    padding: 50px 0 50px;
}

.firms-card-egger,
.firms-card-krono,
.firms-card-blum,
.firms-card-FGV,
.firms-card-Hettich {
    position: absolute;
    display: flex;
    flex-direction: column;
    background-color: #FCFAFA;
    border-top: 5px solid #D3BDB0;
    border-bottom: 5px solid #D3BDB0;
    border-left: 1px solid #D3BDB0;
    border-right: 1px solid #D3BDB0;
    border-radius: 5000px;
}

.firms-logos p {
    font-weight: 400;
}

.firms-card-egger,
.firms-card-krono {
    width: 304px;
    height: 304px;
    display: flex;
    justify-content: center;
    margin-top: 60px;
}

.firms-card-krono {
    margin-left: 879px;
}

.card-img {
    width: 242px;
    height: 73px;
    margin: 0 auto;
}

.card-text {
    width: 242px;
    font-weight: 700;
    color: #D3BDB0;
    font-size: 0.78rem;
    margin: 0 auto;
}

.firms-card-blum {
    width: 202px;
    height: 202px;
    display: flex;
    justify-content: center;
    margin-top: -100px;
    margin-left: 760px;
}

.card-img2 {
    width: 80px;
    height: 80px;
    margin: 0 auto;
}

.firms-card-blum .card-text {
    width: 100px;
    text-align: center;
}

.firms-card-FGV,
.firms-card-Hettich {
    width: 180px;
    height: 180px;
    display: flex;
    justify-content: center;
    margin-top: 304px;
}

.firms-card-FGV {
    margin-left: 227px;
}

.firms-card-Hettich {
    margin-left: 770px;
}

.card-img3 {
    width: 143px;
    height: 70px;
    margin: 0 auto;
}

.firms-card-FGV .card-text,
.firms-card-Hettich .card-text {
    width: 143px;
}

.paragraph {
    width: 450px;
    height: 450px;
    padding: 170px 93px;
    margin-left: 364px;
    border: 1px solid #FCFAFA;
    background-color: #048654;
    color: #FCFAFA;
    border-radius: 5000px;
    font-size: 1.1rem;
    font-weight: 500;
    transition: background-color 0.2s ease-in;
}

.paragraph:hover {
    background-color: #A15E49;
}

/*firms (конец)*/


/*about (начало)*/

.about {
    padding-top: 200px;
    padding-bottom: 250px;
    background-color: #FFFFFF;
}

.about .container {
    display: block;
}

.about-text {
    margin-left: 300px;
    font-size: 1.44rem;
    font-weight: 400;
    color: #A15E49;
}

.about-txt {
    margin-left: 778px;
    margin-bottom: 46px;
}

.cards {
    display: flex;
    gap: 20px;
}

.one,
.two,
.three,
.four {
    width: 280px;
    height: 580px;
    border-radius: 10px;
    padding-top: 77px;
    padding-left: 19px;
}

.one {
    background-color: #011923;
    color: #CDCDCD;
}

.two {
    background-color: #F5F5F5;
    color: #011923;
}

.three {
    background-color: #D3BDB0;
    color: #F5F5F5;
}

.four {
    background-color: #A15E49;
    color: #FFE0CB;
}

.heading {
    font-size: 1.44rem;
    font-weight: 700;
    margin-bottom: 50px;
}

/*about (конец)*/

/*step (начало)*/

.steps .container {
    display: block;
}

.steps {
    padding-top: 200px;
    padding-bottom: 250px;
    background-color: #011923;
    color: #CDCDCD;
}

.steps h2 {
    color: #CDCDCD;
    margin-bottom: 70px;
}

.steps-box {
    display: flex;
    flex-direction: column;
    gap: 70px;
}

.steps-box-step {
    display: flex;
}

.step-small {
    width: 280px;
    margin-right: 20px;
}

.step-medium {
    width: 380px;
    margin-right: 20px;
}

.step-big {
    width: 480px;
}

.number {
    width: 100px;
    height: 100px;
    text-align: center;
    padding: 26px 0;
    border-radius: 100px;
    border: 1px solid #CDCDCD;
    font-family: Inter;
    font-size: 1.78rem;
    font-weight: 400;
    margin-bottom: 20px;
}

.subject {
    font-size: 1.44rem;
    font-weight: 400;
    margin-bottom: 7px;
}

/*step (конец)*/


/*feedback (начало)*/

.feedback {
    padding: 250px 0;
    background-color: #048654;
}

.feedback-container h2 {
    margin-bottom: 70px;
}

.feedback-container-content {
    display: flex;
    gap: 20px;
}

.feedback-content-bloks-small,
.feedback-content-bloks-medium,
.feedback-content-bloks-big {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feedback-content-bloks-small {
    width: 280px;
}

.feedback-content-bloks-medium {
    width: 380px;
}

.feedback-content-bloks-big {
    width: 480px;
}

.feedback-content-bl {
    display: flex;
    flex-direction: column;
}

.img-col {
    border-radius: 10px;
    border: 8px solid #D3BDB0;
    object-fit: cover;
}

.feedback-content-box {
    background-color: #F5F5F5;
    padding: 60px 40px;
    border-radius: 10px;
    font-size: 0.9rem;
}

.feedback-heading {
    color: #A15E49;
}

.feedback-date-blok {
    display: flex;
    margin-top: 20px;
    margin-bottom: 10px;
}

.feedback-date {
    display: flex;
    font-family: Inter, sans-serif;
    font-weight: 300;
    align-items: center;
    margin-right: 6px;
}

.feedback-stars {
    display: flex;
    align-items: center;
}

.feedback-person {
    display: flex;
    justify-content: end;
    margin-top: 4px;
}


/*feedback (конец)*/


/*partners (начало)*/

.partners {
    background-color: #F5F5F5;
    padding: 200px 0 250px;
}

.partners .container {
    justify-content: space-between;
}

.partners-content {
    display: flex;
    flex-direction: column;
    width: 300px;
    gap: 20px;
    background-color: #F5F5F5;
}

.partners-content h2 {
    margin-bottom: 70px;
}

.cnt {
    font-size: 1.33rem;
}

.below {
    text-transform: uppercase;
    margin-top: 210px;
}

.partners-text {
    width: 750px;
    display: flex;
    flex-direction: column;
    padding: 150px;
    background-color: #A15E49;
    gap: 30px;
    border-radius: 10px;
}

.partners-box {
    display: flex;
    gap: 10px;
}

.circle {
    width: 10px;
    height: 10px;
    margin-top: 8px;
    background: #FFE0CB;
}

.circle-text {
    color: #FFE0CB;
}

.circle-guarantee {
    position: absolute;
    display: flex;
    align-items: center;
    padding: 38px 20px;
    border-radius: 50%;
    margin-top: 379px;
    margin-left: 170px;
    border: 1px solid #011923;
}

/*partners (конец)*/

/*footer (начало)*/

footer {
    background-color: #011923;
    padding: 30px 0;
    color: #FCFAFA;
}

footer .container {
    display: flex;
    flex-direction: column;
    text-align: center;
    margin: 0 auto;
}

.footer-name {
    font-size: 0.6rem;
    text-transform: uppercase;
}

.footer-links-box {
    display: flex;
    gap: 20px;
    font-size: 1rem;
    margin: 0 auto;
}

.footer-links {
    margin-top: 12px;
    margin-bottom: 12px;
    display: flex;
}

.footer-link {
    color: #FCFAFA;
}

.footer-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-top: 10px;
    font-size: 0.6rem;
    text-align: center;
    border-top: 1px solid #FCFAFA;
}

.footer-text a {
    color: #FCFAFA;
}

.freepik {
    font-size: 0.5rem;
}

/*footer(конец)*/