* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #111;
    color: white;
    font-family: "Manrope", Arial, sans-serif;
    margin: 0;
    padding: 0;
}

h1 {
    font-size: 60px;
}

p {
    font-size: 20px;
}

button {
    padding: 15px 30px;
    color: #111;
    font-size: 20px;
    cursor: pointer;
    background-color: gray;
    border-radius: 15px;
    border: 0;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: white;
}


/* ================= HEADER ================= */

.header {
    position: relative;
    z-index: 2;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 20px 40px;
}

.logo {
    display: flex;
    flex-direction: column;

    font-family: "Manrope", sans-serif;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 1;
}

.logo span {
    margin-top: 6px;

    font-size: 9px;
    font-weight: 500;
    letter-spacing: 2.7px;

    color: #a0a0a0;
    white-space: nowrap;
}

.nav {
    display: flex;
    gap: 30px;
}

.nav a {
    color: white;
    text-decoration: none;
    font-size: 16px;
}


/* ================= HERO ================= */

.hero {
    position: relative;
    z-index: 2;

    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 40px;

    padding: 20px 40px 50px;
}

.hero-content {
    width: 50%;

    display: flex;
    flex-direction: column;
    align-items: flex-start;

    border-radius: 15px;
}

.hero-content button {
    width: auto;
    align-self: flex-start;
}

.subtitle {
    margin: 0 0 20px;

    font-size: 18px;
    color: #d0d0d0;
}

.description {
    max-width: 600px;

    margin: 0 0 25px;

    font-size: 20px;
    line-height: 1.5;

    color: #d0d0d0;
}

.hero-content h1 {
    margin: 20px 0;
}


/* ================= СЛАЙДЕР ================= */

.hero-image {
    width: 50%;
    height: 400px;

    position: relative;
    overflow: hidden;

    border-radius: 15px;
    flex-shrink: 0;
}

.golf4,
.slider {
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center center;

    display: block;

    transition: opacity 0.8s ease;
}


/* Лёгкое атмосферное затемнение */

.hero-image::after {
    content: "";

    position: absolute;
    inset: 0;

    pointer-events: none;

    background:
        linear-gradient(
            to right,
            rgba(0, 0, 0, 0.14) 0%,
            rgba(0, 0, 0, 0.05) 10%,
            transparent 25%,
            transparent 75%,
            rgba(0, 0, 0, 0.05) 90%,
            rgba(0, 0, 0, 0.14) 100%
        ),
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.12) 0%,
            rgba(0, 0, 0, 0.04) 10%,
            transparent 25%,
            transparent 75%,
            rgba(0, 0, 0, 0.04) 90%,
            rgba(0, 0, 0, 0.12) 100%
        );

    z-index: 3;

    opacity: 1;
    transition: opacity 0.3s ease;
}

.hero-image.changing::after {
    opacity: 0;
}


/* ================= КНОПКИ СЛАЙДЕРА ================= */

.ibutton1,
.ibutton2 {
    padding: 10px 20px;

    background-color: rgba(255, 255, 255, 0.5);

    border: none;
    cursor: pointer;

    border-radius: 80px;

    display: flex;
    position: absolute;

    top: 50%;

    transform: translateY(-50%);

    z-index: 4;
}

.ibutton1 {
    left: 20px;
}

.ibutton2 {
    right: 20px;
}


/* ================= ВИДЕО ================= */

.video-section {
    position: relative;
    min-height: 580px;
    overflow: hidden;
}

.video-section::after {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 180px;

    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.8),
        rgba(0, 0, 0, 0)
    );

    z-index: 1;

    pointer-events: none;
}

.background-video {
    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 580px;

    object-fit: cover;
    z-index: 0;
}


/* ================= ЗАГОЛОВКИ СЕКЦИЙ ================= */

.subtitle-uslug,
.subtitle-about,
.subtitle-works,
.subtitle-footer {
    display: flex;
    justify-content: center;

    margin: 0;
    padding: 60px 20px 25px;

    background-color: #111;
}

.subtitle-uslug p,
.subtitle-about p,
.subtitle-works p,
.subtitle-footer p {
    margin: 0;

    font-size: 16px;
    font-weight: bold;
    letter-spacing: 7px;

    color: #bdbdbd;
}


/* ================= УСЛУГИ ================= */

.Uslugi {
    position: relative;
    z-index: 2;

    padding: 0 40px 20px;
    background-color: #111;
}

.list-uslug {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.usluga {
    display: flex;
    flex-direction: column;

    background-color: rgba(30, 30, 30, 0.9);

    border-radius: 15px;
    overflow: hidden;
}

.image-usluga {
    width: 100%;
    height: 220px;

    object-fit: cover;
    display: block;
}

.usluga h3 {
    margin: 25px 25px 15px;
}

.usluga p {
    font-size: 17px;
    line-height: 1.5;

    margin: 0 25px 15px;
    color: #d0d0d0;
}

.usluga .price {
    font-weight: bold;
    color: white;
    margin-top: auto;
}

.usluga button {
    margin: 10px 25px 25px;

    padding: 12px 20px;
    font-size: 16px;

    background-color: gray;
    color: #111;

    border-radius: 10px;
}

.usluga button:hover {
    background-color: white;
}


/* ================= О НАС ================= */

h4 {
    font-family: "Manrope", sans-serif;
    font-size: 80px;
    font-weight: 600;
    letter-spacing: 8px;

    padding-left: 40px;
    margin: 0 0 35px;

    color: #f2f2f2;
}

.about p {
    padding-left: 40px;
}

h5 {
    font-size: 65px;
    padding-left: 40px;
    margin: 20px 0;
}

.image-about {
    width: 50%;
    height: 100%;

    object-fit: cover;
    display: block;
}

.about-text {
    display: flex;
    flex-direction: column;
    justify-content: center;

    padding-top: 46px;
    height: 100%;
}

.about {
    display: flex;

    background-color: rgba(30, 30, 30, 0.9);

    border-radius: 20px;

    margin-left: 40px;
    margin-right: 40px;

    overflow: hidden;
    margin-top: 20px;
}


/* ================= ГАЛЕРЕЯ ================= */

.work-slider {
    width: 100%;
    overflow: hidden;
    background-color: #1b1b1b;
}

.works-track {
    display: flex;
    width: max-content;

    will-change: transform;
}

.works {
    display: grid;

    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: 280px 240px 280px;

    gap: 8px;

    width: 100vw;
    min-width: 100vw;

    padding: 0 8px 8px;

    background-color: #1b1b1b;

    flex-shrink: 0;
}

.work1 {
    grid-column: span 4;
    grid-row: 1;
}

.work2 {
    grid-column: span 5;
    grid-row: 1;
}

.work3 {
    grid-column: span 3;
    grid-row: 1;
}

.work4 {
    grid-column: span 3;
    grid-row: 2;
}

.work5 {
    grid-column: span 2;
    grid-row: 2;
}

.work6 {
    grid-column: span 4;
    grid-row: 2;
}

.work7 {
    grid-column: span 3;
    grid-row: 2;
}

.work8 {
    grid-column: span 5;
    grid-row: 3;
}

.work9 {
    grid-column: span 7;
    grid-row: 3;
}

.work1,
.work2,
.work3,
.work4,
.work5,
.work6,
.work7,
.work8,
.work9 {
    overflow: hidden;
    border-radius: 12px;
}

.work {
    width: 100%;
    height: 100%;

    object-fit: cover;
    display: block;

    transition: transform 0.4s ease;
}

.work:hover {
    transform: scale(1.03);
}


/* ================= КОНТАКТЫ ================= */

.subtitle-footer {
    padding-top: 60px;
    padding-bottom: 25px;
}


/* ================= ОСНОВНАЯ КАРТОЧКА КОНТАКТОВ ================= */

.footer {
    display: flex;

    min-height: 600px;

    margin: 20px 40px 0;

    background-color: #181818;

    border: 1px solid #303030;
    border-radius: 20px;

    overflow: hidden;
}


/* ================= ЛЕВАЯ ЧАСТЬ ================= */

.image-footer {
    width: 52%;

    position: relative;

    overflow: hidden;
}

.image-footer::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(15, 15, 15, 0.38),
            rgba(15, 15, 15, 0.05)
        ),
        linear-gradient(
            0deg,
            rgba(15, 15, 15, 0.72),
            transparent 60%
        );

    z-index: 1;

    pointer-events: none;
}

.image-footer img {
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    display: block;
}


/* ================= ТЕКСТ ПОВЕРХ ФОТО ================= */

.footer-info {
    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    padding: 55px;

    z-index: 2;

    display: flex;
    flex-direction: column;
}

.footer-info h2 {
    margin: 0;

    font-size: 58px;
    font-weight: 700;

    letter-spacing: 8px;
}

.footer-subtitle {
    margin: 12px 0 0;

    font-size: 13px !important;
    font-weight: 500;

    letter-spacing: 6px;

    color: #a8a8a8;
}

.footer-description {
    margin: 40px 0 0;

    font-size: 19px !important;
    line-height: 1.6;

    color: #d0d0d0;
}

.footer-line {
    width: 68px;
    height: 1px;

    margin-top: 42px;

    background-color: #aaa;
}


/* ================= СПИСОК КОНТАКТОВ ================= */

.contact-list {
    margin-top: auto;

    display: flex;
    flex-direction: column;

    gap: 22px;
}

.contact-list div {
    display: flex;
    align-items: center;

    gap: 18px;
}

.contact-list span {
    width: 25px;

    font-size: 22px;

    color: #d0d0d0;

    text-align: center;
}

.contact-list p {
    margin: 0;

    font-size: 16px !important;

    color: #d0d0d0;
}


/* ================= ПРАВАЯ ЧАСТЬ ================= */

.footer-form {
    width: 48%;

    display: flex;
    align-items: center;

    padding: 65px 58px;
}

.footer-form form {
    width: 100%;

    display: flex;
    flex-direction: column;
}

.footer-form h3 {
    margin: 0 0 30px;

    font-size: 20px;
    font-weight: 400;

    letter-spacing: 6px;

    color: #e0e0e0;
}


/* ================= ПОЛЯ ФОРМЫ ================= */

.footer-form input,
.footer-form select,
.footer-form textarea {
    width: 100%;

    padding: 15px 5px;

    margin-bottom: 18px;

    background: transparent;

    border: none;
    border-bottom: 1px solid #555;

    outline: none;

    color: white;

    font-family: "Manrope", Arial, sans-serif;
    font-size: 17px;

    transition: border-color 0.3s ease;
}

.footer-form input::placeholder,
.footer-form textarea::placeholder {
    color: #aaa;
}

.footer-form input:focus,
.footer-form select:focus,
.footer-form textarea:focus {
    border-bottom-color: white;
}

.footer-form select {
    color: #aaa;
    cursor: pointer;
}

.footer-form select option {
    color: white;
    background-color: #222;
}

.footer-form textarea {
    height: 80px;
    resize: none;
}


/* ================= КНОПКА ФОРМЫ ================= */

.footer-form button {
    width: 100%;

    margin-top: 10px;

    padding: 21px 30px;

    display: flex;

    justify-content: center;
    align-items: center;

    gap: 25px;

    color: white;

    background: linear-gradient(
        135deg,
        #777,
        #444
    );

    border: 1px solid #666;
    border-radius: 13px;

    font-size: 15px;
    letter-spacing: 2px;

    transition:
        background-color 0.3s ease,
        transform 0.3s ease;
}

.footer-form button:hover {
    background: linear-gradient(
        135deg,
        #999,
        #555
    );

    transform: translateY(-1px);
}

.footer-form button span {
    font-size: 25px;
}


/* ================= ЗАЩИТА ДАННЫХ ================= */

.privacy {
    margin: 18px 0 0;

    font-size: 13px !important;

    color: #999;
}


/* ================= НИЖНИЙ FOOTER ================= */

.bottom-footer {
    margin: 36px 40px 0;

    padding-bottom: 28px;
}

.bottom-footer-top {
    border-top: 1px solid #444;

    padding: 38px 48px;

    display: flex;

    justify-content: space-between;
    align-items: center;
}

.bottom-logo h2 {
    margin: 0;

    font-size: 28px;

    font-weight: 700;

    letter-spacing: 7px;
}

.bottom-logo p {
    margin: 8px 0 0;

    font-size: 10px;

    letter-spacing: 4px;

    color: #999;
}

.bottom-nav {
    display: flex;

    gap: 42px;
}

.bottom-nav a {
    color: #d0d0d0;

    text-decoration: none;

    font-size: 15px;

    transition: color 0.3s ease;
}

.bottom-nav a:hover {
    color: white;
}

.socials {
    display: flex;

    gap: 18px;
}

.socials a {
    width: 34px;
    height: 34px;

    display: flex;

    align-items: center;
    justify-content: center;

    color: #d0d0d0;

    text-decoration: none;

    border: 1px solid #555;

    border-radius: 50%;

    font-size: 17px;

    transition:
        color 0.3s ease,
        background-color 0.3s ease;
}

.socials a:hover {
    color: #111;
    background-color: white;
}

.bottom-footer-line {
    height: 1px;

    background-color: #333;
}

.copyright {
    text-align: center;

    padding-top: 28px;

    color: #999;

    font-size: 14px;
}



/* ================================================= */
/* ================= АДАПТАЦИЯ ===================== */
/* ================================================= */

@media (max-width: 1100px) {

    .list-uslug {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer {
        flex-direction: column;
    }

    .image-footer,
    .footer-form {
        width: 100%;
    }

    .image-footer {
        min-height: 560px;
    }

    .footer-form {
        padding: 50px;
    }

    .bottom-footer-top {
        flex-direction: column;
        gap: 30px;
    }
}


@media (max-width: 900px) {

    .header {
        padding: 20px 25px;
    }

    .hero {
        gap: 30px;
        padding: 20px 25px 45px;
    }

    .hero-content,
    .hero-image {
        width: 50%;
    }

    .hero-image {
        height: 340px;
    }

    .hero-content h1 {
        font-size: 48px;
    }

    .description {
        font-size: 18px;
    }

    .about {
        margin-left: 25px;
        margin-right: 25px;
    }

    h5 {
        font-size: 48px;
    }

    h4 {
        font-size: 65px;
    }

    .footer-info {
        padding: 45px;
    }

    .footer-info h2 {
        font-size: 48px;
    }
}


@media (max-width: 700px) {

    body {
        overflow-x: hidden;
    }

    /* ================= HEADER ================= */

    .header {
        padding: 18px 20px;
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }

    .logo {
        font-size: 23px;
    }

    .logo span {
        margin-top: 5px;
        font-size: 8px;
        letter-spacing: 2.3px;
    }

    .nav {
        width: 100%;
        gap: 20px;
        flex-wrap: wrap;
    }

    .nav a {
        font-size: 13px;
    }

    /* ================= HERO ================= */

    .video-section {
        min-height: auto;
    }

    .background-video {
        height: 620px;
    }

    .hero {
        flex-direction: column;
        align-items: stretch;
        gap: 30px;
        padding: 20px 20px 45px;
    }

    .hero-content,
    .hero-image {
        width: 100%;
    }

    .hero-content {
        align-items: flex-start;
    }

    .subtitle {
        font-size: 15px;
        margin-bottom: 14px;
    }

    .hero-content h1 {
        font-size: 40px;
        line-height: 1.05;
        margin: 12px 0 18px;
    }

    .description {
        max-width: 100%;
        font-size: 17px;
        line-height: 1.5;
        margin-bottom: 22px;
    }

    .hero-content button {
        width: auto;
        padding: 13px 24px;
        font-size: 16px;
    }

    .hero-image {
        height: 300px;
    }

    .ibutton1,
    .ibutton2 {
        padding: 8px 15px;
    }

    .ibutton1 {
        left: 12px;
    }

    .ibutton2 {
        right: 12px;
    }

    /* ================= ЗАГОЛОВКИ ================= */

    .subtitle-uslug {
        height: 80px;
    }

    .subtitle-about,
    .subtitle-works,
    .subtitle-footer {
        height: 70px;
    }

    .subtitle-uslug p,
    .subtitle-about p,
    .subtitle-works p,
    .subtitle-footer p {
        font-size: 12px;
        letter-spacing: 4px;
    }

    /* ================= УСЛУГИ ================= */

    .Uslugi {
        padding: 0 20px 20px;
    }

    .list-uslug {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .image-usluga {
        height: 210px;
    }

    .usluga h3 {
        margin: 20px 20px 12px;
        font-size: 20px;
    }

    .usluga p {
        margin-left: 20px;
        margin-right: 20px;
        font-size: 16px;
    }

    .usluga button {
        margin: 10px 20px 20px;
        width: auto;
        font-size: 15px;
    }

    /* ================= О НАС ================= */

    .about {
        flex-direction: column;
        margin: 0 20px;
        border-radius: 18px;
    }

    .image-about {
        width: 100%;
        height: 300px;
    }

    .about-text {
        padding: 30px 0 35px;
    }

    h4 {
        font-size: 48px;
        padding: 0 25px;
        margin: 0 0 20px;
        letter-spacing: 5px;
    }

    h5 {
        font-size: 32px;
        line-height: 1.1;
        padding: 0 25px;
        margin: 10px 0 18px;
    }

    .about p {
        padding: 0 25px;
    }

    /* ================= ГАЛЕРЕЯ ================= */

    .works {
        grid-template-rows: 170px 145px 170px;
        gap: 6px;
        padding: 0 6px 6px;
    }

    .work1,
    .work2,
    .work3,
    .work4,
    .work5,
    .work6,
    .work7,
    .work8,
    .work9 {
        border-radius: 9px;
    }

    /* ================= КОНТАКТЫ ================= */

    .subtitle-footer {
        height: 70px;
    }

    .footer {
        flex-direction: column;
        margin: 20px 20px 0;
        min-height: 0;
        border-radius: 18px;
    }

    .image-footer {
        width: 100%;
        min-height: 500px;
    }

    .image-footer img {
        object-position: center;
    }

    .footer-info {
        padding: 35px 25px;
    }

    .footer-info h2 {
        font-size: 40px;
        letter-spacing: 6px;
    }

    .footer-subtitle {
        font-size: 11px !important;
        letter-spacing: 4px;
        margin-top: 9px;
    }

    .footer-description {
        font-size: 16px !important;
        line-height: 1.55;
        margin-top: 28px;
    }

    .footer-line {
        margin-top: 28px;
    }

    .contact-list {
        gap: 16px;
    }

    .contact-list p {
        font-size: 14px !important;
    }

    .footer-form {
        width: 100%;
        padding: 35px 25px 40px;
    }

    .footer-form h3 {
        font-size: 16px;
        letter-spacing: 4px;
        margin-bottom: 24px;
    }

    .footer-form input,
    .footer-form select,
    .footer-form textarea {
        font-size: 15px;
    }

    .footer-form button {
        padding: 18px 20px;
        font-size: 13px;
    }

    /* ================= НИЖНИЙ FOOTER ================= */

    .bottom-footer {
        margin: 25px 20px 0;
        padding-bottom: 25px;
    }

    .bottom-footer-top {
        padding: 30px 10px;
        align-items: center;
        gap: 28px;
        text-align: center;
    }

    .bottom-logo h2 {
        font-size: 23px;
        letter-spacing: 5px;
    }

    .bottom-logo p {
        font-size: 9px;
        letter-spacing: 3px;
    }

    .bottom-nav {
        justify-content: center;
        gap: 14px 22px;
    }

    .bottom-nav a {
        font-size: 13px;
    }

    .socials {
        gap: 12px;
    }

    .socials a {
        width: 32px;
        height: 32px;
        font-size: 15px;
    }

    .copyright {
        font-size: 12px;
        padding-top: 20px;
    }
}


@media (max-width: 420px) {

    .header {
        padding-left: 16px;
        padding-right: 16px;
    }

    .hero {
        padding-left: 16px;
        padding-right: 16px;
    }

    .hero-content h1 {
        font-size: 34px;
    }

    .hero-image {
        height: 250px;
    }

    .Uslugi {
        padding-left: 16px;
        padding-right: 16px;
    }

    .about {
        margin-left: 16px;
        margin-right: 16px;
    }

    .image-about {
        height: 250px;
    }

    .footer {
        margin-left: 16px;
        margin-right: 16px;
    }

    .image-footer {
        min-height: 450px;
    }

    .footer-info {
        padding: 30px 20px;
    }

    .footer-info h2 {
        font-size: 34px;
    }

    .contact-list span {
        font-size: 18px;
    }

    .bottom-footer {
        margin-left: 16px;
        margin-right: 16px;
    }
}


/* ================= ШРИФТЫ ================= */

h1,
h3,
h4,
h5 {
    font-family: "Manrope", sans-serif;
}

/* ================================================= */
/* ================= АНИМАЦИИ ====================== */
/* ================================================= */

/* Заголовки секций */
.subtitle-uslug,
.subtitle-about,
.subtitle-works,
.subtitle-footer {
    overflow: hidden;
}

.subtitle-uslug p,
.subtitle-about p,
.subtitle-works p,
.subtitle-footer p {
    opacity: 0;
    transform: translateY(15px);
    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}

.subtitle-uslug.visible p,
.subtitle-about.visible p,
.subtitle-works.visible p,
.subtitle-footer.visible p {
    opacity: 1;
    transform: translateY(0);
}

/* Карточки услуг */
.usluga {
    opacity: 0;
    transform: translateY(35px);
    transition:
        opacity 0.7s ease,
        transform 0.7s ease,
        box-shadow 0.3s ease;
}

.usluga.show {
    opacity: 1;
    transform: translateY(0);
}

.usluga:nth-child(1) { transition-delay: 0.05s; }
.usluga:nth-child(2) { transition-delay: 0.12s; }
.usluga:nth-child(3) { transition-delay: 0.19s; }
.usluga:nth-child(4) { transition-delay: 0.26s; }
.usluga:nth-child(5) { transition-delay: 0.33s; }
.usluga:nth-child(6) { transition-delay: 0.40s; }

/* О нас */
.about {
    opacity: 0;
    transform: translateY(35px);
    transition:
        opacity 0.9s ease,
        transform 0.9s ease;
}

.about.show {
    opacity: 1;
    transform: translateY(0);
}

.about .image-about {
    transition: transform 1.2s ease;
}

.about:hover .image-about {
    transform: scale(1.02);
}

/* Галерея */
.work-slider {
    opacity: 0;
    transform: translateY(30px);
    transition:
        opacity 0.9s ease,
        transform 0.9s ease;
}

.work-slider.show {
    opacity: 1;
    transform: translateY(0);
}

/* Контакты */
.footer {
    opacity: 0;
    transform: translateY(35px);
    transition:
        opacity 0.9s ease,
        transform 0.9s ease;
}

.footer.show {
    opacity: 1;
    transform: translateY(0);
}

/* Нижний footer */
.bottom-footer {
    opacity: 0;
    transition: opacity 1s ease;
}

.bottom-footer.show {
    opacity: 1;
}

/* Hero появляется при загрузке */
.hero-content {
    animation: heroContentAppear 1s ease forwards;
}

.hero-image {
    animation: heroImageAppear 1.2s ease forwards;
}

@keyframes heroContentAppear {
    from {
        opacity: 0;
        transform: translateX(-25px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes heroImageAppear {
    from {
        opacity: 0;
        transform: translateX(25px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Уважение к системной настройке уменьшения движения */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}


/* ================================================= */
/* ============ МОБИЛЬНОЕ МЕНЮ — FIX ============== */
/* ================================================= */

.mobile-menu-button {
    display: none !important;

    width: 36px;
    height: 36px;
    padding: 0;

    position: relative;
    align-items: center;
    justify-content: center;

    color: white;
    background: transparent;
    border: none;
    border-radius: 0;

    cursor: pointer;
    z-index: 102;
}

.mobile-menu-button:hover,
.mobile-menu-button.open:hover {
    background: transparent;
    transform: none;
}

.mobile-menu-button span {
    position: absolute;

    width: 22px;
    height: 1px;

    left: 50%;
    top: 50%;

    background: white;

    transform-origin: center;
    transition: transform 0.25s ease, opacity 0.2s ease;
}

.mobile-menu-button span:nth-child(1) {
    transform: translate(-50%, -8px);
}

.mobile-menu-button span:nth-child(2) {
    transform: translate(-50%, -50%);
}

.mobile-menu-button span:nth-child(3) {
    transform: translate(-50%, 7px);
}

.mobile-menu-button.open span:nth-child(1) {
    transform: translate(-50%, -50%) rotate(45deg);
}

.mobile-menu-button.open span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-button.open span:nth-child(3) {
    transform: translate(-50%, -50%) rotate(-45deg);
}

@media (max-width: 700px) {

    .header {
        position: relative;
        z-index: 100;

        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 0;
    }

    .mobile-menu-button {
        display: flex !important;
        flex-shrink: 0;
    }

    .nav {
        position: absolute;

        top: calc(100% + 10px);
        right: 20px;

        width: 210px;
        padding: 10px;

        display: flex;
        flex-direction: column;
        gap: 3px;

        background: rgba(17, 17, 17, 0.96);
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: 14px;

        box-shadow: 0 18px 45px rgba(0, 0, 0, 0.4);

        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);

        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);

        transition: opacity 0.25s ease,
                    visibility 0.25s ease,
                    transform 0.25s ease;

        z-index: 101;
    }

    .nav.mobile-open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav a {
        width: 100%;
        padding: 13px 14px;

        font-size: 15px;
        color: #dcdcdc;

        border-radius: 8px;
        transition: background-color 0.2s ease, color 0.2s ease;
    }

    .nav a:hover {
        color: white;
        background-color: rgba(255, 255, 255, 0.08);
    }
}


/* ================================================= */
/* ========== УСПЕШНАЯ ОТПРАВКА ФОРМЫ ============= */
/* ================================================= */

.form-success {
    display: none;
    width: 100%;
    margin-top: 20px;
    padding: 25px 20px;
    text-align: center;
}

.form-success.show {
    display: block;
}

.form-success-icon {
    margin-bottom: 15px;
    font-size: 42px;
    color: #d0d0d0;
}

.form-success h3 {
    margin: 0 0 12px;
    font-size: 20px;
    font-weight: 500;
    letter-spacing: 5px;
    color: white;
}

.form-success p {
    margin: 0;
    font-size: 15px !important;
    line-height: 1.6;
    color: #999;
}


/* ================================================= */
/* ============ МОБИЛЬНЫЕ ССЫЛКИ =================== */
/* ================================================= */

a[href^="tel:"] {
    color: white;
    -webkit-text-fill-color: white;
    text-decoration: none;
}

