@import "fonts.css";
@import "reset.css";

:root {
    --background: #FFDE59;
    --text: #185563;
    --transition: all .4s;
}

html {
    scroll-behavior: smooth;
}

.body {
    font-family: "Inter", sans-serif;
    color: var(--text);
    background-color: var(--background);
    line-height: 1.33;

}

.wrapper {
    min-height: 100%;
    width: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.main {
    flex-grow: 1;
}

.container {
    max-width: 1520px;
    padding: 0 40px;
    margin: 0 auto;
    height: 100%;
}

/* ====================================== */

.burger-icon {
    display: none;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #fff;
    align-items: center;
    justify-content: center;
    z-index: 11;
    position: relative;
    cursor: pointer;
}

.burger-icon img {
    width: 60%;
}



/* ====================================== */
.header {
    background: url("../img/decor/clouds.png") 100% 100% / cover no-repeat;
    position: relative;
}

.header__top {
    padding-top: 52px;
}

.header__top-inner {
    display: flex;
    align-items: center;
    gap: 50px;
}

.header__logo {
    max-width: 255px;
    z-index: 11;
}

.header__logo img {
    width: 100%;
}

.header__logo-text {
    font-size: 18px;
    margin-top: 14px;
}

.header__nav-inner {
    display: flex;
    align-items: center;
}

.nav__list {
    display: flex;
    gap: 22px;
    font-size: 28px;
    letter-spacing: 0.02em;
}

.nav__item {
    position: relative;
    padding-left: 20px;
    transition: var(--transition);
    z-index: 2;
}

.nav__item:hover {
    color: #d94527
}

.nav__item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 11px;
    height: 11px;
    background-color: white;
    border-radius: 50%;
}

.header_language {
    background: url("../img/icons/icon_language.png") no-repeat center;
    background-size: contain;
    width: 78px;
    height: 59px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 12px;
    font-size: 32px;
    color: #fff;
    margin-bottom: 10%;
    cursor: pointer;
}

.hero__inner {
    display: flex;
    padding-top: 190px;
}

.hero__content {
    padding-left: 120px;
    padding-bottom: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero__content img {
    width: 60px;
    height: auto;
}

.hero__title {
    font-size: 33px;
    letter-spacing: 0.01em;
    max-width: 482px;
    text-align: center;
    padding-bottom: 20px;
}

.button {
    font-size: 18px;
    color: #fff;
    background: var(--text);
    border-radius: 30px;
    letter-spacing: 0.2%;
    width: 336px;
    height: 57px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--text);
    transition: var(--transition);
}

.button:hover {
    color: var(--text);
    background: inherit;
}

.hero__button {
    margin-bottom: 55px;
}

.hero__img {
    width: 720px;
}

.hero__img img {
    position: absolute;
    bottom: 0;
    z-index: 1;
}

/* ====================================== */
.about {
    background-image: url("../img/decor/clouds_back2.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center top 40px;
}

.about__inner {
    display: flex;
    padding-top: 40px;
    padding-bottom: 60px;
}

.about__inner {
    font-size: 22px;
    letter-spacing: 0.03em;
    position: relative;
}

.about__info {
    padding-top: 260px;
    max-width: 660px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.about__title {
    padding-bottom: 30px;
}

.about__text {
    margin-bottom: 50px;
}

.about__button {
    margin-bottom: 20px;
}

.slider {
    width: 100%;
    margin-top: 18px;
    margin-left: 6%;
    position: relative;
    display: flex;
    align-items: center;
}

.slides-container {
    overflow: hidden;
    width: 100%;
}

.slides {
    display: flex;
    transition: transform 0.5s ease;
}

.slide {
    min-width: 100%;
}

.slide img {
    width: 80%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.arrow {
    position: absolute;
    cursor: pointer;
    background: transparent;
    z-index: 1;
}

.arrow.disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

.arrow.prev {
    left: 6%;
}

.arrow.next {
    right: 25%;
}

.miniature1 {
    position: absolute;
    bottom: -0.5%;
    right: 17.5%;
    width: 350px;
}

.miniature2 {
    position: absolute;
    bottom: 1%;
    left: 43%;
    width: 350px;
}

.miniature3 {
    position: absolute;
    bottom: 1%;
    right: -1%;
    width: 400px;
}

/* ====================================== */
.advantage {
    background-image: url("../img/decor/clouds_back3.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center top 110px;

}

.main__advantage {
    display: flex;
    justify-content: center;
}

.advatange__top {
    display: flex;
    gap: 120px;
    padding-top: 95px;
}

.advantage__info, .advantage__info2{
    width: 370px;
    min-height: 310px;
    display: flex;
    flex-direction: column;

}

.advantage__info svg, .advantage__info2 img {
    align-self: center;
    margin-bottom: 18px;
    margin-top: 16px;
    flex-shrink: 0;
}
.advantage__info2 img {
    width: 93px;

}

.advantage__info-title {
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 0.02em;
}

.advantage__text {
    font-size: 18px;
    letter-spacing: 0.05em;
}

.advantage__title {
    font-size: 33px;
    max-width: 460px;
    text-align: center;
    padding-bottom: 23px;
    padding-top: 60px;
}

.advantage__image {
    display: block;
    margin: 0 auto;
}

.advantage__bottom {
    display: flex;
    justify-content: space-between;
    padding-bottom: 48px;
}

/* ====================================== */
.testimonials {
    background-image: url("../img/decor/clouds_back4.png");
    background-repeat: no-repeat;
    background-size: cover;
}

.main__testimonials {
    display: flex;
    justify-content: center;
}

.testimonials__inner {
    display: flex;
    gap: 163px;
}

.testimonials__col {
    padding-top: 155px;
    display: flex;
    flex-direction: column;
    gap: 33px;
}

.testimonials__block {
    background: url("../img/decor/block.png") no-repeat center;
    background-size: contain;
    width: 213px;
    height: 168px;
    display: flex;
    align-items: center;
    justify-content: center;


    padding: 20px 15px 50px;
    text-align: center;
    overflow: hidden;
}

.testimonials__col2 {
    padding-top: 89px;
}

.testimonials__title--mob {
    display: none;
}

.testimonials__title {
    font-size: 31px;
    line-height: 1.41;
    letter-spacing: 0.05em;
    padding-bottom: 43px;
}

.testimonials__video {
    position: relative;
	margin-top: 15%;
}

.testimonials__img-control {
    position: absolute;
    top: 52%;
    left: 50%;
    transform: translateX(-50%);
}

.testimonials__icon {
    display: flex;
    justify-content: center;
    padding-top: 42px;
    padding-bottom: 47px;
}

/* ====================================== */
.products {
    background-image: url("../img/decor/clouds_back4.png");
    background-repeat: no-repeat;
    background-size: cover;
}

.products__title {
    padding-top: 131px;
    font-size: 33px;
    letter-spacing: 0.01em;
    text-align: center;

}

.products__inner {
    padding-top: 50px;
    padding-bottom: 58px;
    display: flex;
    justify-content: space-around;
}

.card__inner {
    background-color: #fff;
    border-radius: 20px;
    width: 268px;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 558px;
}

.card__img {
    padding-top: 26px;
    padding-bottom: 12px;
}

.card__info {
    color: #000;
    font-size: 18px;
}

.card__button {
    font-weight: 700;
    font-size: 17px;
    line-height: 1.41;
    background: var(--text);
    border-radius: 30px;
    color: #fff;
    width: 221px;
    height: 49px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 18px;
    margin-bottom: 23px;
    border: 1px solid var(--text);
    transition: var(--transition);
	cursor: pointer;


}

.card__button:hover {
    color: var(--text);
    background: inherit;
}

.card__icon {
    display: block;
    margin: 0 auto;
    margin-top: 16px;
}

/* ====================================== */
.partner {
    background-image: url("../img/decor/clouds_back5.png");
    background-repeat: no-repeat;
    background-size: cover;
}

.partner__inner {
    display: flex;
}

.partner__info {
    width: 710px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 294px;
    padding-left: 95px;

}

.partner__text {
    display: flex;
    flex-direction: column;
    gap: 25px;
    font-size: 18px;
    letter-spacing: 0.05em;
    color: #000;
    margin-bottom: 29px;
}

.partner__button {
    margin-bottom: 26px;
}

.partner__img {
    padding-top: 189px;
    margin-left: -5%;
    max-width: 720px;
}

.partner__img img {
    width: 100%;
}

.partner__logo-text {
    text-align: center;
    margin-top: 8px;
    font-size: 17.5px;
}

/* ====================================== */
.footer {
    background-image: url("../img/decor/clouds_back6.png");
    background-repeat: no-repeat;
    background-size: cover;
}

.footer__top {
    padding-top: 209px;
    padding-bottom: 68px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.form__inner {
    padding-bottom: 74px;
}

.footer__title {
    font-size: 35px;
    letter-spacing: 0.01em;
    color: #000;
    margin-bottom: 29px;
    text-align: center;
}

.contact__form {
    display: flex;
    gap: 40px;
    flex-direction: column;
    align-items: center;
}

.contact__imputs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 51px;
}

.contact__form input {
    width: 335px;
    height: 56px;
    border-radius: 40px;
    background: var(--text);
    font-size: 18px;
    letter-spacing: 0.01em;
    color: #fff;
    text-align: center;
}

::placeholder {
    font-size: 18px;
    letter-spacing: 0.01em;
    color: #fff;
    text-align: center;
}

.social__inner {
    display: flex;
    gap: 80px;
}

.social__info {
    max-width: 640px;
    font-size: 35px;
    color: #000;
}

.social {
    display: flex;
    align-items: center;
    gap: 23px;
    padding-bottom: 89px;
}

.social p {
    font-size: 44px;
    color: #000;
    transition: var(--transition);
}

.social:hover p {
    color: var(--text);
}

.contact__inner {
    font-size: 35px;
    color: #000;
}

.contact__inner a {
    transition: var(--transition);
}

.contact__inner a:hover {
    color: var(--text);
}

.footer__logo-inner {
    width: 174px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer__logo img {
    width: 100%;
    padding-bottom: 11px;
}

.footer__logo-text {
    font-size: 11px;
    line-height: 1.45;
    letter-spacing: 0.03em;
}

.footer__bottom {
    padding-bottom: 30px;
    display: flex;
    gap: 65px;
    align-items: end;
}

.footer__bottom-info {
    display: flex;
    gap: 21px;
}

.footer__bottom-info a {
    color: #000;
    transition: var(--transition);
}

.footer__bottom-info a:hover {
    color: var(--text);
}

/* ====================================== */
/* ====================================== */
/* ====================================== */
@media (max-width: 1480px) {
    .header__top-inner {
        justify-content: space-between;
    }

    .nav__list {
        font-size: 22px;
    }

    /* ====================== */
    .about__inner {
        flex-direction: column;
    }

    .about__info {
        max-width: 100%;
        padding-top: 120px;
    }

    .slider {
        width: 80%;
        margin-left: 17%;
    }

    .miniature1, .miniature2, .miniature3 {
        display: none;
    }
}

@media (max-width: 1307px) {

    .header__top {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        background: var(--background);
        transition: all 0.3s ease;
    }

    .nav {
        position: fixed;
        top: 160px;
        right: 0;
        width: 300px;
        height: calc(70vh - 160px);
        max-height: none;
        z-index: 10;
        background: var(--background);
        padding: 30px 20px;
        font-size: 20px;
        transform: translateX(100%) translateY(-20px);
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        overflow-y: auto;
    }

    .nav__list {
        flex-direction: column;
        align-items: flex-end;
        gap: 0px;
    }

    .body--opened-menu .nav {
        transform: translateX(0) translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .body--opened-menu {
        overflow: hidden;
    }

    .nav__link {
        display: block;
        padding: 10px 0;
        transform: translateX(20px);
        opacity: 0;
        transition: all 0.3s ease 0.1s;
		text-transform: uppercase;
    }

    .body--opened-menu .nav__link {
        transform: translateX(0);
        opacity: 1;
    }

    .body--opened-menu .nav__list li:nth-child(1) .nav__link {
        transition-delay: 0.1s;
    }

    .body--opened-menu .nav__list li:nth-child(2) .nav__link {
        transition-delay: 0.2s;
    }

    .body--opened-menu .nav__list li:nth-child(3) .nav__link {
        transition-delay: 0.3s;
    }

    .body--opened-menu .nav__list li:nth-child(4) .nav__link {
        transition-delay: 0.4s;
    }

    .body--opened-menu .nav__list li:nth-child(5) .nav__link {
        transition-delay: 0.5s;
    }

    .burger-icon {
        display: flex;
    }

    .nav__list {
        text-transform: uppercase;
    }


    .nav__item::before {
        display: none;
    }

    .hero__img img {
        width: 600px;
    }

    .header {
        background: url("../img/decor/clouds.png") 20% 100% / cover no-repeat;
        position: relative;

    }

    .hero__inner {
        padding-top: 360px;
    }

    /* ====================== */
    .advatange__top {
        gap: 20px;
    }

    .advantage__info {
        width: 300px;
    }

    .advantage__info2 {
        width: 300px;
    }

    /* ====================== */
    .testimonials__inner {
        gap: 100px;
    }

    /* ====================== */
    .products__inner {
        flex-wrap: wrap;
        gap: 40px;
    }

    /* ====================== */
    .partner__inner {
        padding-bottom: 20px;
    }

    .partner__info {
        padding-left: 40px;
    }

    .partner__img {
        margin-left: 1%;
    }

}

@media (max-width: 1100px) {
    .hero__title {
        font-size: 30px;

    }

    .hero__img img {
        right: 2%;
    }

    /* ====================== */
    .advatange__top {
        flex-direction: column;
    }

    .advantage__image {
        display: none;
    }

    .advantage_col:nth-child(1) {
        order: 2;
    }

    .advantage_col:nth-child(2) {
        order: 1;
    }

    .advantage_col:nth-child(3) {
        order: 3;
    }

    .advantage__title {
        text-align: center;
        max-width: 100%;
    }

    .advantage__info, .advantage__info2 {
        width: 100%;
        min-height: 30px;
        flex-direction: row;
        gap: 15px;
    }

    .advantage__info div {
        align-self: center;
    }

    .advantage__info2 {
        width: 100%;
        display: flex;
        gap: 15px;
    }

    .advantage__info2 div {
        align-self: center;
    }


    .advantage__bottom {
        flex-direction: column;
    }

    /* ====================== */
    .testimonials__inner {
        gap: 70px;
    }

    /* ====================== */
    .partner__inner {
        flex-direction: column;
        align-items: center;
    }

    .partner__img {
        order: 1;
    }

    .partner__info {
        padding-top: 0px;
        margin-top: -20px;
        order: 2;
    }

}

@media (max-width: 960px) {

    .hero__content {
        padding-left: 0px;
    }

    .hero__img img {
        left: 32%
    }

    /* ====================== */
    .arrow.prev svg, .arrow.next svg {
        width: 60px;
    }

    .arrow.prev {
        left: 3%;
    }

    .arrow.next {
        right: 22%;
    }

    /* ====================== */
    .testimonials__inner {
        flex-direction: column;
        padding-bottom: 40px;
    }

    .testimonials__title--mob {
        display: block;
        font-size: 31px;
        line-height: 1.41;
        letter-spacing: 0.05em;
        padding-bottom: 43px;
        text-align: center;
        padding-top: 120px;
    }

    .testimonials__title {
        display: none;
    }

    .testimonials__icon {
        display: none;
    }

    .testimonials__col {
        flex-direction: row;
        padding-top: 0px;
    }

    .testimonials__col:last-child {
        padding-top: 0px;
    }

    .testimonials__title {
        text-align: center;
    }

    .testimonials__col2 {
        padding-top: 0px;
    }

    .testimonials__video {
        display: grid;
        place-items: center;
    }

    /* ====================== */
    .contact__imputs {
        gap: 20px;
    }

    .social__inner {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .social__info {
        text-align: center;
    }

    .contact__inner {
        text-align: center;
        width: 80%;
    }

}

@media (max-width: 750px) {


    .slides {
        min-height: 400px;
        height: auto;
    }

    /* ====================== */
    .advatange__top {
        gap: 0px;
    }

    /* ====================== */

    .testimonials__block--mobile {
        display: none;
    }

    /* ====================== */
    .partner__info {
        padding-left: 0px;
        width: 100%;
    }

    /* ====================== */
    .contact__inner {
        font-size: 33px;
    }

    .footer__logo-inner {
        display: none;
    }

    .footer__bottom-info {
        margin: 0 auto;
        flex-wrap: wrap;
        justify-content: center;
    }

}

@media (max-width: 600px) {
    .header {
        background-position: left top -15px;
    }

    .header__logo-text {
        display: none;
    }

    .header__logo img {
        width: 120px;
    }

    .burger-icon {
        margin-top: -16px;
    }

    .hero__inner {
        padding-top: 190px;
    }

    .hero__title {
        font-size: 22px;
    }

    .hero__img img {
        width: 380px;
    }

    .hero__img img {
        left: 32%;
    }

    .hero__button {
        width: 240px;
        font-size: 16px;
        text-align: center;
    }

    .hero__content {
        padding-left: 0px;
    }

    /* ====================== */
    .about {
        background-position: center top -80px;
        margin-top: -30px;
        padding-top: 50px;
        position: relative;
        z-index: 1;
    }

    .about__button {
        display: none;
    }

    .about__info img {
        display: none;
    }

    .about__text {
        margin-bottom: 0px;
    }

    .arrow.prev svg, .arrow.next svg {
        width: 45px;
    }

    .arrow.prev {
        left: -12%;
    }

    .arrow.next {
        right: 7%;
    }

    /* ====================== */
    .advantage {
        background-position: right top -87px;
        padding-bottom: 40px;
    }

    .advatange__top {
        padding-top: 20px;
    }

    .advantage__info {
        margin-bottom: 10px;
    }

    .advantage__info2 {
        margin-bottom: 10px;
    }

    /* ====================== */
    .testimonials {
        background-position: center top -204px;
    }

    .testimonials__inner {
        padding-bottom: 200px;
    }

    .testimonials__title--mob {
        padding-bottom: 0;
        padding-top: 40px;
    }

    .testimonials__block {
        width: 200px;
    }

    .testimonials__block--mobile {
        display: none;
    }

    .testimonials__col {
        gap: 45px;
    }

    /* ====================== */
    .products__title {
        padding-top: 0px;
    }

    /* ====================== */
    .social {
        padding-bottom: 40px;
    }

    .contact__inner {
        width: 90%;
    }

    .social__info, .contact__inner {
        font-size: 28px;
    }
}



@media (max-width: 450px) {
    .container {
        max-width: 1470px;
        padding: 0 15px;
    }

    .header__top-inner {
        gap: 10px;
    }

    .burger-icon {
        width: 50px;
        height: 50px;
    }

    .header_language {
        width: 60px;
        font-size: 30px;
    }

    .nav__list {
        gap: 5px;
    }

    .hero__title {
        font-size: 16px;
    }

    .hero__button {
        width: 173px;
        font-size: 15px;
		z-index: 999;
    }

    .hero__img img {
        position: absolute;
        left: 25%;
        max-width: 90%;
        height: auto;
    }

    .hero__content {
        padding-bottom: 80px;
    }

    /* ====================== */
    .about__info {
        padding-top: 50px;
    }

    .about__inner {
        font-size: 16px;
    }

    .arrow.prev {
        left: -20%;
    }

    .arrow.next {
        right: -4%;
    }

    /* ====================== */
    .advantage__info svg, .advantage__info2 img{
        width: 50px;
    }

    .advantage__title {
        font-size: 24px;
    }

    .advantage__info-title, .advantage__text {
        font-size: 16px;
    }

    /* ====================== */
    .testimonials__inner {
        gap: 45px;
    }

    .testimonials__title--mob {
        font-size: 27px;
    }

    .testimonials__img {
        width: 80%;
    }

    .testimonials__block {
    }

    .testimonials__block--mobile {
        display: none;
    }

    .testimonials__col {
        gap: 0px;
        justify-content: space-around;
    }

    /* ====================== */
    .partner__button {
        width: 280px;
    }

    .partner__img {
        padding-top: 100px;
    }

    .partner__logo-inner {
        width: 200px;
    }

    .partner__logo-inner img {
        width: 100%;
    }

    .partner__logo-text {
        font-size: 12px;
    }

    /* ====================== */
    .footer__top {
        padding-top: 120px;
    }

    .footer__title {
        font-size: 29px;
    }

    .contact__inner {
        width: 83%;
    }

    .contact__form input, .form__button {
        width: 260px;
    }

    .social__info, .contact__inner {
        font-size: 20px;
    }

    .social p {
        font-size: 33px;
    }

    .footer__bottom-info {
        gap: 5px;
    }
}


.modal { position: fixed; inset: 0; display: none; z-index: 9999; }
.modal.is-open { display: block; }

.modal__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.55); }

.modal__panel {
  position: relative;
  max-width: 520px;
  margin: 8vh auto;
  background: #fff;
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 18px 60px rgba(0,0,0,.25);
}

.modal__close {
  position: absolute; right: 12px; top: 10px;
  width: 36px; height: 36px;
  border: 0; border-radius: 10px;
  background: #f3f3f3; cursor: pointer;
  font-size: 22px; line-height: 36px;
}

.modal__title { font-size: 22px; margin: 0 0 6px; }
.modal__subtitle { margin: 0 0 16px; color: #666; }

.field { display: block; margin-bottom: 12px; }
.field__label { display: block; font-size: 12px; color: #666; margin-bottom: 6px; }
.field__input {
  width: 100%;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  padding: 12px 12px;
  outline: none;
  font-size: 14px;
}
.field__input:focus { border-color: #bbb; }

.btn--wide { width: 100%; }

.form-status { margin-top: 12px; font-size: 13px; color: #444; }
.form-status.is-ok { color: #0a7a2f; }
.form-status.is-err { color: #b00020; }

.modal { position: fixed; inset: 0; display: none; z-index: 9999; }
.modal.is-open { display: block; }
