@font-face {
    font-family: 'Manrope';
    src: url('../fonts/Manrope-Regular.eot');
    src: url('../fonts/Manrope-Regular.eot?#iefix') format('embedded-opentype'),
        url('../fonts/Manrope-Regular.woff2') format('woff2'),
        url('../fonts/Manrope-Regular.woff') format('woff'),
        url('../fonts/Manrope-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Manrope';
    src: url('../fonts/Manrope-SemiBold.eot');
    src: url('../fonts/Manrope-SemiBold.eot?#iefix') format('embedded-opentype'),
        url('../fonts/Manrope-SemiBold.woff2') format('woff2'),
        url('../fonts/Manrope-SemiBold.woff') format('woff'),
        url('../fonts/Manrope-SemiBold.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
} 

@font-face {
    font-family: 'Manrope';
    src: url('../fonts/Manrope-Bold.eot');
    src: url('../fonts/Manrope-Bold.eot?#iefix') format('embedded-opentype'),
        url('../fonts/Manrope-Bold.woff2') format('woff2'),
        url('../fonts/Manrope-Bold.woff') format('woff'),
        url('../fonts/Manrope-Bold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
} 

body {
    font-family: 'Manrope', Arial, sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: #000;
    background-color: #fefefe;
    min-width: 320px;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: #3f6b7b;
    font-weight: 500;
}

.logo-link {
    display: block;
}

.logo-link img {
    width: 200px;
    height: auto;
}

.tac {
    text-align: center;
}

.mw {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.h1 {
    font-size: 40px;
    font-weight: 600;
    line-height: 1.1;
    color: #131516;
}

.h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.btn {
    display: inline-block;
    padding: 15px 30px;
    font-size: 16px;
    line-height: 1.55;
    font-weight: 500;

    border-radius: 30px;

    color: #252627;
    background-color: #e0f5f8;

    text-decoration: none;
    transition: all 0.5s ease;
}

.btn:hover {
    background-color: #cfd9db;
}

.btn--yellow {
    background-color: #ffbd7c;
}

.btn--black {
    color: #ede8e8;
    background-color: #131516;
}

.btn--black:hover {
    background-color: #4a545a;
}

.btn--yellow:hover {
    background-color: #d6a778
}

.bg--blue {
    background-color: #e9f4f8;
}

.c--blue {
    color: #27add9;
}

.section {
    padding: 70px 0;
}

.section-title {
    margin: 0;
    font-size: 32px;
    line-height: 1.15;
    font-weight: 600;
    color: #131516;
}

.section-intro {
    margin-top: 17px;
    font-size: 18px;
    line-height: 1.16;
    color: #545758;
}

.section-head {
    margin-bottom: 40px;
}

.section-head .btn {
    margin-top: 17px;
}

.section-content {
    padding: 20px 0;
}

.card {
    padding: 24px;
    border-radius: 24px;
    transition: box-shadow 0.5s ease;
}

.card:hover {
    box-shadow: 0 3px 8px 0 rgba(0, 0, 0, .3);
}

.card__img--1 {
    animation: float 4s ease-in-out infinite;
}
.card__img--2 {
    animation: float 5s ease-in-out infinite;
}
.card__img--3 {
    animation: float 6s ease-in-out infinite;
}
.card__img--4 {
    animation: float 7s ease-in-out infinite;
}

.card--blue {
    background-color: #e9f4f8;
}

.card--grey {
    background-color: #f1f1f1;
}

.card__list li {
    color: #252627
}

.socials {
    display: flex;
    gap: 16px;
}

.socials a {
    text-decoration: none;
}

.socials img {
    width: 40px;
    height: 40px;
}

/* slider */

.swiper {
    padding: 5px;
    width: 100%;
}

.slider-ba .swiper {
  height: 360px;
}

.slider-rev .swiper {
  height: 282px;
}

.swiper-button-next,
.swiper-button-prev {
    border-radius: 50%;
    padding: 5px;
    background-color: rgba(255, 255, 255, 0.5);
}

.swiper-button-next svg path,
.swiper-button-prev svg path {
    fill: #ffbd7c;
}

.slider-rev .swiper-slide {
    /* box-shadow: 0 8px 30px rgba(0,0,0,0.08); */
    border-radius: 24px;
    border: 1px solid #e6e6e6;
    text-align: center;
}

.slider-rev .swiper-slide img {
    border-radius: inherit;
}

/* form */

.form .btn {
    border: none;
}

.form__wrap {
    margin-bottom: 16px;
}

.form__wrap label,
.form__wrap input {
    display: block;
}

.form__wrap label {
    margin-bottom: 5px;
    font-size: 14px;
    color: #131516;
}

.form__input {
    width: 100%;
    background-color: transparent;
    outline: none;
    height: 46px;
    border: none;
    border-bottom: 1px solid #131516;
}

.form__wrap textarea {
    resize: none;
    -webkit-appearance: none;
    height: 85px;
}

.form__info {
    margin-top: 16px;
    font-size: 13px;
    max-width: 80%;
}

/* header */

.home .header {
    background-color: #fff9ef;
}

.header {
    padding: 16px 0;
}

.header__content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header__menu a {
    color: #252627;
    font-size: 18px;
    text-decoration: none;
}

.header__menu a + a {
    margin-left: 32px;
}

/* hero */

.hero {
    padding-top: 42px;
    min-height: 60vh;
    background: #fff9ef url(../img/hero-bg.svg) no-repeat center bottom;
}

.hero__content {
    text-align: center;
}

.hero__content h1 {
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.hero__content .section-intro {
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.hero__content .btn {
    margin-top: 17px;
}

.hero__pics {
    position: relative;
}

.hero__right-pic {
    position: absolute;
    right: 0;
    top: 40%;
    transform: translateY(-50%);
    width: 30%;
    height: auto;
    animation: float 4s ease-in-out infinite;
}

.hero__left-pic {
    position: absolute;
    left: 0;
    top: 60%;
    transform: translateY(-50%);
    width: 20%;
    height: auto;
    animation: float 5s ease-in-out infinite;
}

/* why-us */

.why-us__cards .card {
    margin-bottom: 24px;
    color: #2c3d40;

    display: flex;
    flex-direction: column;
    gap: 16px;
}

.why-us__cards .card img {
    width: 54px;
    height: 54px;
}

.why-us__item {
    margin-bottom: 16px;
}

.why-us__digit {
    margin-bottom: 4px;
    font-size: 40px;
    font-weight: 600;
    line-height: 1.15;
    color: #78bcd4;
}

.why-us__text {
    color: #545758;
}

.why-us__cards-text {
    line-height: 1.2;
    margin: 0;
}

/* services */

.services .card__list {
    margin: 15px 0;
}

.services .card {
    margin-bottom: 24px;
    width: 100%;
}

/* before-after */

.slider-ba .swiper-slide {
    overflow: hidden;
}

.slider-ba .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* faq */

.faq__item {
    padding: 28px 0;
    border-bottom: 1px solid #e6e6e6;
}

.faq__item:first-child {
    padding-top: 0;
}

.faq__item:last-child {
    border-bottom-color: transparent;
}

.faq__header {
    position: relative;
    padding-right: 40px;

    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    cursor: pointer;

    transition: color 0.3s ease;
}

.faq__header:hover,
.faq__header.active {
    color: #84B1B8;
}

.faq__header::after {
    position: absolute;
    content: '+';
    right: 0;
    top: 0;
    font-size: 40px;

    width: 32px;
    height: 32px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.faq__header.active::after {
    content: '-';
}

.faq__body {
    display: none;
    padding-top: 16px;

    font-size: 16px;
    color: #666666;
}

.faq__body p {
    margin: 0;
}

.faq__body p + p {
    margin-top: 10px;
}

/* feedback */

.feedback {
    padding: 140px 0;
}

.feedback .section-intro {
    max-width: 560px;
}

.contacts__item {
    position: relative;
    font-size: 18px;
    line-height: 1;
}

.contacts__item + .contacts__item {
    margin-top: 24px;
}

.contacts__item--arrow::before {
    position: absolute;
    content: '';
    left: -80px;
    top: -47px;
    width: 85px;
    height: 63px;
    background: url(../img/curve.svg) no-repeat center/contain;
    transform: rotate(66deg);
}

.contacts__name {
    margin-bottom: 8px;
    font-weight: 500;
    color: #131516;
}

.contacts__text a {
    font-weight: 400;
    color: inherit;
    text-decoration: none;
}

/* content */

.content {
    min-height: 100vh;
    padding: 60px 0;
}

/* footer */

.footer {
    padding: 40px 0;
    color: #f4f6ff;
    background-color: #111111;
    font-size: 18px;
}

.footer__content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.footer__content > * {
    padding: 5px 10px;
}

.footer__links a {
    text-decoration: none;
    color: inherit;
    margin: 0 5px;
}

.footer__content a:hover {
    text-decoration: underline;
}


@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}
