html {
    box-sizing: border-box;
}
*,
*::before,
*::after {
    box-sizing: inherit;
}
/* Button Menu Burger Mobile */
.menu__btn {
    display: none;
}
/* End Button Menu Burger Mobile */
.mobile-nav,
.menu__close,
.footer__top-text--mob,
.mobile__phone-nav,
.mob__gallary,
.mob__header-content,
.mob__footer-phone,
.mob__phone {
    display: none;
}
body {
    color: #2d2d2d;
    font-family: "Montserrat", sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: 0.5px;
}
.container {
    max-width: 1220px;
    padding: 0 10px;
    margin: 0 auto;
}
header {
    background-image: url(../images/shino.webp);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center bottom;
    height: 100vh;
}
.header__calculate {
    background: none !important;
    background-image: none !important;
    background-color: transparent !important; /* если нужен прозрачный фон */
    height: auto;
}
.header__top-fone {
    height: 74px;
    width: 100%;
    background-color: #000000;
    margin-bottom: 20px;
}
.header__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
}
.header__content {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}
.header__content-offer--price,
.header__content-offer--time {
    background-color: rgba(69, 69, 69, 0.5);
    height: 42px;
    width: 100%;
    padding: 10px 0;
    border-top: 1px dashed #686868;
    border-bottom: 1px dashed #686868;
}
.highlight {
    font-weight: 900;
}
.logo__text {
    color: rgb(255, 255, 255);
    font-size: 20px;
    font-weight: 600;
    line-height: 80%;
}
.logo__span {
    color: rgb(255, 118, 118);
    font-size: 14px;
    font-weight: 300;
    letter-spacing: 1.4px;
}
.menu {
    display: flex;
}
.menu__list {
    display: flex;
    gap: 0 40px;
}
.menu__list-link {
    font-weight: 300;
    color: #ffffff;
}
.menu__list-link:hover {
    color: #eeeeee;
}
.menu__lang {
    display: flex;
    gap: 0 12px;
}
.menu__lang-btn.active .menu__link-uk,
.menu__lang-btn.active .menu__link-ru {
    color: #ffffff;
    font-weight: 400;
}
.menu__link-uk,
.menu__link-ru {
    color: #808080;
    font-weight: 300;
}
.phone__link {
    font-size: 18px;
    position: relative;
    color: #ffffff;
}
.phone__link::before {
    position: absolute;
    content: "";
    background-image: url(../images/phone-2.svg);
    background-repeat: no-repeat;
    background-size: cover;
    width: 19px;
    height: 20px;
    left: -26px;
    top: 2px;
}
.phone__text {
    color: rgb(255, 255, 255);
    font-size: 10px;
    font-weight: 300;
}
.header__content-descr {
    width: 560px;
    margin-top: 180px;
    color: rgb(255, 255, 255);
}
.header__content-title {
    font-size: 64px;
    font-weight: 700;
    line-height: 1.1;
}
.header__content-title span {
    display: block;
}
.header__content-text {
    font-size: 24px;
    font-weight: 400;
    line-height: 130%;
    letter-spacing: 0%;
    text-align: left;
    line-height: 1.4;
    margin: 18px 0 20px;
}
.header__content-button {
    color: #ffffff;
    background-color: #2f2f2f;
    font-size: 24px;
    font-weight: 500;
    margin-top: 80px;
    border-radius: 5px;
    margin-bottom: 10px;
    border: 1px solid #e3e3e3;
}
.header__content-button:hover {
    color: #ffffff;
    background-color: #3f3f3f;
}
.phone__btn {
    color: #ffffff;
    display: inline-block;
    padding: 20px 86px;
}
.header__content-button {
    position: relative;
}
.phone__img {
    position: absolute;
    top: 24px;
    left: 54px;
}
.header__content-discount {
    font-size: 20px;
    font-weight: 300;
}
.header__content-img {
    position: absolute;
    right: 180px;
    bottom: 0;
}
.header__content-img {
    width: 700px;
    background-size: cover;
}
.header__content-offer {
    display: flex;
    flex-direction: column;
    gap: 40px;
    color: #fff;
    text-align: center;
    background-color: rgba(88, 88, 88, 0.4);
    margin-top: 200px;
    padding: 20px 10px;
}
.header__content-offer--title {
    padding: 0 30px;
}
.header__content-phone {
    color: #fff;
    display: inline-block;
    padding: 20px 120px;
    /* background-color: #2f2f2f; */
    background: radial-gradient(circle, #fe6776, #c44451);
    /* border: 1px solid #ffffff; */
    font-size: 18px;
    border-radius: 5px;
    position: relative;
}
.header__content-phone::before {
    position: absolute;
    content: "";
    background-image: url(../images/calc-btn.svg);
    background-repeat: no-repeat;
    background-size: cover;
    width: 22px;
    height: 24px;
    left: 60px;
    top: 23px;
}
.header__content-phone:hover {
    background-color: #292929;
}
.about {
    padding: 80px 0 100px;
    background-color: #e3e3e3;
}
.about__descr {
    width: 660px;
    margin-bottom: 70px;
}
.about__descr span {
    font-weight: 700;
}
.title {
    font-size: 40px;
    color: #212121;
    font-weight: 600;
    margin-bottom: 80px;
    text-align: center;
}
.about__achiev {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 40px 20px;
    margin-bottom: 70px;
}
.about__achiev-item {
    width: 260px;
    text-align: center;
}
.about__mob-tire {
    margin-bottom: 20px;
}
.about__achiev-item h3 {
    font-size: 22px;
    font-weight: 600;
}
.about__text {
    text-align: center;
}
.services {
    padding: 80px 0 100px;
}
summary {
    cursor: pointer;
    margin-top: 6px;
}
.services__achiev {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    gap: 80px 40px;
}
.services__achiev-item {
    max-width: 360px;
}
.services__mob-tire {
    display: block;
    margin: 0 auto 30px;
}

.services__achiev-item h3 {
    margin-bottom: 20px;
}
.gallary,
.mob__gallary {
    background-color: #e3e3e3;
    padding: 80px 0 100px;
}
.gallery__wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
}
.gallery__photo img,
.mob__gallary-photo img {
    width: 370px; /* Ширина блока */
    height: 370px; /* Высота блока */
    object-fit: cover;
}

/* ------------------------- Exp ------------------------------- */
.price {
    padding: 80px 0 100px;
}
.price__achiev {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    gap: 40px;
}
.price__achiev-item {
    width: 360px;
    height: 415px;
    background-color: #383838;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    text-align: center;
    padding: 2px;
    border-radius: 5px;
    cursor: pointer;

    position: relative;
    transition:
        transform 0.1s ease,
        box-shadow 0.1s ease;
}
.price__achiev-item:hover {
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2); /* Легкая тень при наведении */
    transform: scale(1.01); /* Легкое увеличение */
}
.price__mob-tire {
    width: 80px;
    height: 80px;
}
.price__achiev-item-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}
.price__achiev-item.flipped .price__achiev-item-inner {
    transform: rotateY(180deg);
}
.price__achiev-front,
.price__achiev-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 10px;
    box-sizing: border-box;
}
.price__achiev-front {
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    text-align: center;
}
.price__achiev-back {
    background-color: #1e1e1e;
    transform: rotateY(180deg);
    color: #ffffff;
    font-size: 14px;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    text-align: left;
    padding-left: 32px;
    gap: 14px;
}
.price__hint {
    position: absolute;
    bottom: 10px;
    right: 10px;
    font-size: 1.5em;
    color: rgba(0, 0, 0, 0.5);
    pointer-events: none; /* Чтобы иконка не мешала клику */
}
.price__achiev-back-title {
    margin-top: 10px;
    text-align: center;
}
.price__achiev-back-list li {
    margin-bottom: 5px;
}

.footer {
    background-color: rgb(26, 26, 26);
}
.footer__top-wrapper {
    display: flex;
    justify-content: center;
    text-align: center;
    padding: 60px 0 50px;
    gap: 30px 20px;
}
.footer__top-contacts {
    color: #fff;
    max-width: 350px;
}

.footer__top-text {
    margin-bottom: 24px;
}

.footer__phone-text {
    margin-bottom: 20px;
    font-weight: 300;
}

.footer__contact-info {
    margin-left: 38px;
}
.footer__phone-telegram,
.footer__phone,
.footer__email {
    display: block;
    color: #fff;
    margin-bottom: 20px;
}
.footer__phone {
    position: relative;
}
.footer__phone::before {
    position: absolute;
    content: "";
    background-image: url(../images/footer-phone.svg);
    background-repeat: no-repeat;
    background-size: cover;
    width: 22px;
    height: 24px;
    left: 32px;
    top: 2px;
}
.footer__email {
    position: relative;
}
.footer__email::before {
    position: absolute;
    content: "";
    background-image: url(../images/footer-mail.svg);
    background-repeat: no-repeat;
    background-size: cover;
    width: 21px;
    height: 22px;
    left: 1px;
    top: 1px;
}
.footer__map {
    position: relative;
}
.footer__map::before {
    position: absolute;
    content: "";
    background-image: url(../images/map-marker.svg);
    background-repeat: no-repeat;
    background-size: cover;
    width: 25px;
    height: 25px;
    left: -38px;
    top: 4px;
}
/* Form */
.form-container {
    width: 500px;
}
.form-container input[type="text"] {
    width: 100%;
    padding: 16px;
    margin-bottom: 14px;
    background-color: #fff;
    border-radius: 5px;
    font-size: 16px;
    color: #202020;
}
.form__messenger,
.form__lessons {
    color: #fff;
    margin-bottom: 30px;
    font-size: 16px;
}
.form__lessons .form__lessons-check {
    margin-bottom: 20px;
}
.form__messenger-text,
.form__lessons-text {
    margin-bottom: 10px;
}
.form__messenger label {
    margin-right: 30px;
}
.form-container button {
    width: 100%;
    padding: 20px 0;
    border-radius: 5px;
    background: radial-gradient(circle,#fe6776,#c44451);
    color: #ffffff;
    cursor: pointer;
    font-size: 20px;
    margin-bottom: 10px;
}
.footer__button-text {
    color: #ffffff;
    font-size: 18px;
    margin-bottom: 10px;
}
.form-container button:hover {
    background-color: #242424;
    color: #fff;
}
.form-container select {
    margin-bottom: 20px;
}
.form__personal {
    font-size: 14px;
    color: #fff;
    margin-bottom: 10px;
}
/* End Form */
.footer__bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 38px;
    background-color: rgb(17, 17, 17);
}
.footer__bottom-text {
    font-size: 12px;
    font-weight: 200;
    text-transform: uppercase;
    text-align: center;
    color: #cccccc;
    padding: 10px 0;
}
.footer__logo-block {
    margin-bottom: 50px;
}
.footer__logo {
    color: rgb(255, 255, 255);
    font-size: 20px;
    font-weight: 700;
    line-height: 80%;
}
.footer__logo span {
    color: rgb(255, 118, 118);
}
.footer__text {
    margin-bottom: 10px;
}
.footer__text-2 {
    margin-bottom: 50px;
}
.footer__input-phone {
    margin-bottom: 50px;
}
/* -------------- Scroll to Top Button ------------------ */
#scrollToTopButton {
    display: none;
    font-size: 24px; /* задаем размер стрелки */
    font-weight: 100;
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 10;
    background-color: #272727;
    color: #fff;
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 0 1px #d4d4d4; /* добавляем круглую белую обводку */
}
#scrollToTopButton:hover {
    background-color: rgb(51, 51, 51);
}
/* --------------------- Slider Mob -------------------- */
.mob__gallary-wrapper {
    display: flex;
    transition: transform 0.5s ease;
}

.mob__gallary-photo {
    flex: 0 0 auto;
    width: 100%;
    margin-bottom: 28px;
}

.mob__gallary-photo img {
    width: 100%;
    height: 377px;
}
/* ------------------ Buttons ----------------- */
.mob-prevButton,
.mob-nextButton {
    position: relative;
    z-index: 10;
    cursor: pointer;
    padding: 10px 40px;
    background-color: #2c2c2c;
    color: #ffffff;
    border-radius: 5px;
    width: 130px;
    height: 36px;
}
.mob-prevButton {
    float: left;
}
.mob-nextButton {
    float: right;
}

/* ------------------- Arrow ------------------ */
.mob-prevButton::before {
    position: absolute;
    content: "";
    background-image: url(../images/arrow-left.svg);
    background-repeat: no-repeat;
    background-size: cover;
    width: 38px;
    height: 14px;
    left: 46px;
    top: 10px;
}
.mob-nextButton::before {
    position: absolute;
    content: "";
    background-image: url(../images/arrow-right.svg);
    background-repeat: no-repeat;
    background-size: cover;
    width: 38px;
    height: 14px;
    left: 46px;
    top: 10px;
}
/* --------------------- End Slider Mob -------------------- */

/* The form has been successfully submitted! */
#success_message {
    display: none;
    background-color: #105a61;
    color: #ffffff;
    font-size: 14px;
    padding: 10px;
    border-radius: 4px;
    margin-top: 10px;
}
