html { scroll-behavior: smooth; }
/* БАЗОВЫЕ СТИЛИ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    overflow-x: hidden;
    width: 100%;
}
body {
    font-family: 'Montserrat', sans-serif;
    background: #111;
    color: #fff;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    position: relative;
}
/* ЗАЩИТА: ни одна картинка/видео не вылезет за экран */
img, video, svg {
    max-width: 100%;
}
/* ЗАЩИТА: ловим любой элемент, который вдруг стал шире экрана */
/* ============================================================
   CASES — горизонтальный desktop-блок
   Шапка + средний кейс + карточки + нижний SEO-текст
   ============================================================ */

.cases {
    position: relative;
    z-index: 1;
    padding: 72px 0 64px;
    background:
        radial-gradient(circle at 86% 0%, rgba(124, 58, 237, 0.30), transparent 34%),
        radial-gradient(circle at 18% 2%, rgba(124, 58, 237, 0.16), transparent 30%),
        linear-gradient(180deg, #030407 0%, #010102 100%);
    overflow: hidden;
    isolation: isolate;
}

.cases::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(0,0,0,0.58) 0%, rgba(0,0,0,0.10) 48%, rgba(0,0,0,0.62) 100%),
        radial-gradient(circle at 72% 18%, rgba(139,92,246,0.18), transparent 42%);
}

.cases .cases__container {
    width: min(100% - 80px, 1320px);
    max-width: 1320px;
    margin: 0 auto;
    padding: 0;
}

/* ВЕРХНИЙ ТЕКСТ */
.cases__top {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin: 0 0 34px;
}

.cases__top-left {
    max-width: 780px;
}

.cases__label {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin: 0 0 12px;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2.4px;
    text-transform: uppercase;
    color: #fff;
}

.cases__label::after {
    content: '';
    width: 46px;
    height: 2px;
    background: #c8f000;
    border-radius: 99px;
}

.cases__title {
    margin: 0 0 24px;
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(34px, 3.4vw, 54px);
    font-weight: 400;
    line-height: 1.02;
    letter-spacing: -0.8px;
    color: #fff;
    text-transform: uppercase;
}

.cases__title .accent {
    color: #9b5cff;
}

.cases__subtitle {
    max-width: 690px;
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.65;
    color: rgba(255,255,255,0.62);
}

.cases__nav {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 8px;
}

.cases__nav-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.22);
    background: rgba(255,255,255,0.03);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
}

.cases__nav-btn:hover {
    border-color: #c8f000;
    color: #c8f000;
    background: rgba(200,240,0,0.06);
}

/* ГЛАВНЫЙ КЕЙС */
.case-big {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    align-items: stretch;
    gap: clamp(28px, 3vw, 46px);
    min-height: 0;
}

/* ЛЕВОЕ ФОТО — растягивается по высоте правой колонки */
.case-big__photo {
    position: relative;
    overflow: hidden;
    min-height: 570px;
    height: auto;
    align-self: stretch;
    border-radius: 22px;
    background: #08080b;
    border: 1px solid rgba(255,255,255,0.14);
    box-shadow:
        0 28px 70px rgba(0,0,0,0.50),
        inset 0 1px 0 rgba(255,255,255,0.08);
}

.case-big__photo::after {
    display: none;
}

.case-big__photo img {
    width: 100%;
    height: 100%;
    min-height: 500px;
    display: block;
    object-fit: cover;
    object-position: center center;
    filter: none;
    transition: opacity 0.25s ease;
}

.case-big__photo img.is-photo-changing {
    opacity: 0;
}

/* СТРЕЛКИ ВНУТРИ БОЛЬШОГО ФОТО */
.case-photo__arrow {
    position: absolute;
    top: 50%;
    z-index: 4;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.38);
    background: rgba(0,0,0,0.38);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transform: translateY(-50%);
    backdrop-filter: blur(8px);
    transition: all 0.25s ease;
}

.case-photo__arrow:hover {
    border-color: #c8f000;
    color: #c8f000;
    background: rgba(0,0,0,0.58);
}

.case-photo__arrow--prev {
    left: 16px;
}

.case-photo__arrow--next {
    right: 16px;
}

/* ПРАВАЯ ЧАСТЬ */
.case-big__content {
    position: relative;
    z-index: 2;
    min-width: 0;
    min-height: 500px;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 0;
}

.case-big__badge {
    display: inline-block;
    margin: 0 0 14px;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: #c8f000;
}

.case-big__name {
    max-width: 720px;
    margin: 0 0 9px;
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(32px, 2.8vw, 44px);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -1.4px;
    color: #fff;
    text-transform: none;
}

/* ИСТОРИЯ ПРОЕКТА */
.case-big__story {
    display: flex;
    flex-direction: column;
    margin: 0 0 14px;
    border-top: 1px solid rgba(255,255,255,0.11);
}

.case-big__story-row {
    display: grid;
    grid-template-columns: 50px 102px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.11);
}

.case-big__story-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #c8f000;
    font-size: 16px;
    background: radial-gradient(circle at 50% 45%, rgba(200,240,0,0.10), rgba(255,255,255,0.035));
    border: 1px solid rgba(255,255,255,0.14);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.07);
}

.case-big__story-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
}

.case-big__story-text {
    max-width: 520px;
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.42;
    color: rgba(255,255,255,0.62);
}

/* ЦИФРЫ */
.case-big__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin: 2px 0 14px;
}

.case-big__stat {
    position: relative;
    text-align: center;
    padding: 0 14px;
}

.case-big__stat + .case-big__stat {
    border-left: 1px solid rgba(255,255,255,0.18);
}

.case-big__stat b {
    display: block;
    margin: 0 0 5px;
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(38px, 3.4vw, 50px);
    font-weight: 800;
    line-height: 0.95;
    letter-spacing: -1.6px;
    color: #c8f000;
    text-shadow: 0 0 18px rgba(200,240,0,0.14);
}

.case-big__stat span {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 10px;
    font-weight: 500;
    line-height: 1.2;
    color: rgba(255,255,255,0.62);
    text-transform: uppercase;
}

/* КНОПКА */
.case-big__btn {
    width: 100%;
    min-height: 52px;
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, #d6ff00 0%, #c8f000 50%, #b2e500 100%);
    color: #080808;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow:
        0 16px 32px rgba(200,240,0,0.14),
        inset 0 1px 0 rgba(255,255,255,0.45);
    transition: transform 0.25s ease, filter 0.25s ease, box-shadow 0.25s ease;
}

.case-big__btn i {
    font-size: 16px;
    transition: transform 0.25s ease;
}

.case-big__btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.05);
    box-shadow:
        0 22px 44px rgba(200,240,0,0.22),
        inset 0 1px 0 rgba(255,255,255,0.55);
}

.case-big__btn:hover i {
    transform: translateX(5px);
}

/* НИЖНИЕ КАРТОЧКИ */
.cases__thumbs {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
    margin-top: 26px;
    padding: 0;
    overflow: visible;
}

.cases__thumb {
    position: relative;
    min-height: 88px;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.24);
    background: #111;
    cursor: pointer;
    text-align: left;
    box-shadow: 0 16px 34px rgba(0,0,0,0.34);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.cases__thumb:hover {
    transform: translateY(-3px);
    border-color: rgba(200,240,0,0.55);
}

.cases__thumb--active {
    border-color: #c8f000;
    box-shadow:
        0 0 0 1px rgba(200,240,0,0.25),
        0 0 24px rgba(200,240,0,0.13),
        0 18px 38px rgba(0,0,0,0.45);
}

.cases__thumb-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: saturate(0.95) contrast(1.06) brightness(0.58);
    transition: transform 0.35s ease, filter 0.35s ease;
}

.cases__thumb:hover .cases__thumb-img {
    transform: scale(1.05);
    filter: saturate(1.05) contrast(1.08) brightness(0.70);
}

.cases__thumb-fade {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(4,4,6,0.92) 0%, rgba(4,4,6,0.62) 52%, rgba(4,4,6,0.14) 100%),
        linear-gradient(to top, rgba(0,0,0,0.72), transparent 60%);
}

.cases__thumb-content {
    position: relative;
    z-index: 2;
    min-height: 88px;
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr) 18px;
    align-items: end;
    gap: 8px;
    padding: 13px 12px;
}

.cases__thumb-content i {
    align-self: center;
    color: #c8f000;
    font-size: 16px;
}

.cases__thumb-title {
    align-self: center;
    max-width: 170px;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.18;
    color: #fff;
}

.cases__thumb-arrow {
    align-self: end;
    justify-self: end;
    color: #c8f000;
    font-size: 20px;
    line-height: 1;
}

/* НИЖНИЙ SEO-ТЕКСТ */
.cases__bottom-text {
    position: relative;
    z-index: 3;
    max-width: 1080px;
    margin: 42px auto 0;
    text-align: center;
}

.cases__bottom-text p {
    margin: 0 0 16px;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.75;
    color: rgba(255,255,255,0.68);
}

/* ПЛАВНАЯ СМЕНА */
.case-big.is-fading .case-big__photo img,
.case-big.is-fading .case-big__content > * {
    opacity: 0;
}

.case-big__photo img,
.case-big__content > * {
    transition: opacity 0.28s ease;
}

/* НОУТБУКИ */
@media (max-width: 1280px) {
    .cases .cases__container {
        width: min(100% - 52px, 1200px);
    }

    .case-big {
        grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
        gap: 30px;
    }

    .case-big__photo,
    .case-big__content {
        min-height: 470px;
        height: auto;
    }

    .case-big__photo img {
        min-height: 470px;
    }

    .case-big__name {
        font-size: 34px;
        margin-bottom: 16px;
    }

    .case-big__story-row {
        grid-template-columns: 42px 88px minmax(0, 1fr);
        gap: 12px;
        padding: 8px 0;
    }

    .case-big__story-icon {
        width: 34px;
        height: 34px;
        font-size: 14px;
    }

    .case-big__story-title {
        font-size: 16px;
    }

    .case-big__story-text {
        font-size: 12px;
        line-height: 1.32;
    }

    .case-big__stat b {
        font-size: 38px;
    }

    .case-big__btn {
        min-height: 48px;
        font-size: 12px;
    }

    .cases__thumb {
        min-height: 78px;
    }

    .cases__thumb-content {
        min-height: 78px;
    }
}

/* ПЛАНШЕТ — только здесь уходим в одну колонку */
@media (max-width: 900px) {
    .cases {
        padding: 56px 0 52px;
    }

    .cases .cases__container {
        width: min(100% - 32px, 760px);
    }

    .cases__top {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 28px;
    }

    .cases__nav {
        display: none;
    }

    .case-big {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .case-big__photo {
        min-height: 360px;
        height: auto;
    }

    .case-big__photo img {
        min-height: 360px;
    }

    .case-big__content {
        min-height: 0;
        height: auto;
        padding: 0;
    }

    .case-big__btn {
        margin-top: 0;
    }

    .cases__thumbs {
        display: flex;
        overflow-x: auto;
        gap: 12px;
        padding: 2px 2px 12px;
        margin-top: 24px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .cases__thumbs::-webkit-scrollbar {
        display: none;
    }

    .cases__thumb {
        flex: 0 0 140px;
        min-height: 92px;
    }

    .cases__thumb-content {
        min-height: 92px;
        grid-template-columns: 17px minmax(0, 1fr);
        gap: 6px;
        padding: 10px 9px;
    }

    .cases__thumb-content i {
        font-size: 13px;
    }

    .cases__thumb-title {
        max-width: none;
        font-size: 11px;
        line-height: 1.16;
    }

    .cases__thumb-arrow {
        display: none;
    }

    .cases__bottom-text {
        text-align: left;
    }
}

/* ТЕЛЕФОН */
@media (max-width: 560px) {
    .cases {
        padding: 48px 0 46px;
    }

    .cases .cases__container {
        width: 100%;
        padding-left: 14px;
        padding-right: 14px;
    }

    .cases__title {
        font-size: 32px;
    }

    .cases__subtitle {
        font-size: 13px;
    }

    .case-big__photo {
        min-height: 250px;
        border-radius: 18px;
    }

    .case-big__photo img {
        min-height: 250px;
    }

    .case-photo__arrow {
        width: 36px;
        height: 36px;
    }

    .case-photo__arrow--prev {
        left: 10px;
    }

    .case-photo__arrow--next {
        right: 10px;
    }

    .case-big__badge {
        margin-bottom: 16px;
        font-size: 11px;
        letter-spacing: 3.2px;
    }

    .case-big__name {
        margin-bottom: 22px;
        font-size: 30px;
        letter-spacing: -1.1px;
    }

    .case-big__story-row {
        grid-template-columns: 46px minmax(0, 1fr);
        gap: 12px;
        padding: 17px 0;
    }

    .case-big__story-icon {
        width: 42px;
        height: 42px;
        font-size: 17px;
        grid-row: span 2;
    }

    .case-big__story-title {
        font-size: 19px;
    }

    .case-big__story-text {
        grid-column: 2;
        font-size: 14px;
    }

    .case-big__stats {
        margin-bottom: 22px;
    }

    .case-big__stat {
        padding: 0 8px;
    }

    .case-big__stat b {
        font-size: 36px;
    }

    .case-big__stat span {
        font-size: 9px;
    }

    .case-big__btn {
        min-height: 58px;
        font-size: 12px;
        padding: 0 14px;
    }

    .cases__bottom-text p {
        font-size: 14px;
        line-height: 1.68;
    }
}
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}
a {
    text-decoration: none;
    color: inherit;
}
/* ШРИФТ ДЛЯ ЗАГОЛОВКОВ */
h1, h2, h3, h4 {
    font-family: 'Bebas Neue', 'Arial Narrow', Arial, sans-serif;
    font-weight: 400;
}
/* КНОПКИ */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 6px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}
.btn--green {
    background: #c8f000;
    color: #111;
    border: 2px solid #c8f000;
}
.btn--green:hover {
    background: #aacc00;
    transform: translateY(-2px);
}
.btn--outline {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}
.btn--outline:hover {
    background: #fff;
    color: #111;
}
.btn--outline-small {
    background: transparent;
    color: #fff;
    border: 2px solid #444;
    padding: 8px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s;
}
.btn--outline-small:hover {
    border-color: #c8f000;
    color: #c8f000;
}
/* HEADER */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(17,17,17,0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #222;
    padding: 16px 0;
}
.header__inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0;
    width: 100%;
}
.header__logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    margin-right: 60px;
    margin-left: 0;
}
.header__logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
    object-position: left center;
    margin-left: -12px;
}
.logo-don {
    font-size: 22px;
    font-weight: 900;
    color: #fff;
    letter-spacing: 2px;
}
.logo-event {
    font-size: 11px;
    font-weight: 600;
    color: #c8f000;
    letter-spacing: 3px;
}
.header__nav {
    display: flex;
    gap: 28px;
    flex: 1;
    justify-content: center;
}
.header__nav a {
    font-size: 13px;
    font-weight: 600;
    color: #ccc;
    transition: color 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.header__nav a:hover {
    color: #c8f000;
}
.header__phone {
    font-size: 16px;
    font-weight: 700;
    color: #c8f000;
    white-space: nowrap;
}
.header__contacts {
    display: flex;
    align-items: center;
    gap: 10px;
}
.header__socials {
    display: flex;
    flex-direction: row;
    gap: 8px;
}
.header__social {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    transition: transform 0.2s, opacity 0.2s;
    opacity: 0.8;
}
.header__social img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.header__social:hover {
    transform: scale(1.2);
    opacity: 1;
}
.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    margin-left: auto;
}
.burger span {
    display: block;
    width: 26px;
    height: 3px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s;
}
/* HERO */
.hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}
.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.45;
}
.hero__video {
    position: absolute;
    top: 0;
    right: 0;
    left: auto;
    width: 80%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
    z-index: 0;
}
.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( to right, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 22%, rgba(0,0,0,0.92) 30%, rgba(0,0,0,0.6) 44%, rgba(0,0,0,0.25) 60%, rgba(0,0,0,0) 100% ), linear-gradient( to bottom, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,0) 70%, rgba(0,0,0,0.35) 100% );
    z-index: 1;
}
.hero__inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 140px 40px 60px 40px;
    flex: 1;
}
.hero__content {
    flex: 0 0 40%;
    max-width: 40%;
    padding-right: 20px;
}
.hero__title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(48px, 5.5vw, 82px);
    font-weight: 900;
    line-height: 0.95;
    text-transform: uppercase;
    margin-bottom: 24px;
    color: #fff;
    letter-spacing: 1px;
}
.hero__accent {
    color: #c8f000;
    display: block;
}
.hero__text {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(13px, 1.1vw, 15px);
    color: #aaa;
    margin-bottom: 40px;
    line-height: 1.8;
    font-weight: 500;
}
.hero__btns {
    display: flex;
    flex-direction: row;
    gap: 20px;
    align-items: center;
    flex-wrap: nowrap;
}
.hero__phone-link {
    font-family: 'Bebas Neue', 'Arial Narrow', Arial, sans-serif;
    font-size: clamp(22px, 2.4vw, 36px);
    font-weight: 400;
    color: #fff;
    letter-spacing: 2px;
    white-space: nowrap;
    transition: color 0.3s;
}
.hero__phone-link:hover {
    color: #c8f000;
}
.hero__social {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    opacity: 0.85;
    transition: transform 0.2s, opacity 0.2s;
    flex-shrink: 0;
}
.hero__social img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.hero__social:hover {
    transform: scale(1.2);
    opacity: 1;
}
/* HERO IMAGE + BADGE */
.hero__image {
    flex: 0 0 55%;
    max-width: 55%;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    overflow: visible;
}
.hero__badge-wrap {
    position: relative;
    width: 320px;
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.hero__badge-img {
    width: 320px;
    height: 320px;
    position: relative;
    z-index: 2;
    object-fit: contain;
    display: block;
}
.hero__badge-glow {
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    z-index: 1;
    background: conic-gradient( from 0deg, transparent 0%, transparent 60%, #c8f000 75%, #ffffff 80%, #c8f000 85%, transparent 100% );
    animation: glowSpin 3s linear infinite;
}
.hero__badge-glow::after {
    content: '';
    position: absolute;
    inset: 3px;
    border-radius: 50%;
    background: #111;
    z-index: 1;
}
@keyframes glowSpin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}
/* HERO STATS */
.hero__stats {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 20px 0 40px 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    background: rgba(0,0,0,0.35);
    backdrop-filter: blur(4px);
}
.hero__stats-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0;
}
.hero__stat {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    flex: 1;
}
.hero__stat-icon {
    width: 52px;
    height: 52px;
    object-fit: contain;
    flex-shrink: 0;
    opacity: 0.9;
}
.hero__stat-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.hero__stat-num {
    font-family: 'Bebas Neue', 'Arial Narrow', Arial, sans-serif;
    font-size: clamp(20px, 2vw, 30px);
    font-weight: 400;
    color: #c8f000;
    line-height: 1;
    letter-spacing: 1px;
}
.hero__stat-label {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(11px, 1vw, 14px);
    color: #999;
    font-weight: 500;
}
.hero__stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.15);
    flex-shrink: 0;
    margin: 0 20px;
}
/* TRUST / COMFORT */
.trust {
    position: relative;
    background: radial-gradient(ellipse at -8% 52%, rgba(226, 209, 178, 0.34) 0%, rgba(250,249,248,0) 42%), radial-gradient(ellipse at 108% 8%, rgba(226, 209, 178, 0.30) 0%, rgba(250,249,248,0) 38%), #FAF9F8;
    padding: 54px 0 26px;
    overflow: hidden;
    color: #23272e;
    isolation: isolate;
}
/* лёгкая сетка, почти незаметная */
.trust::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(35,35,35,0.013) 1px, transparent 1px), linear-gradient(90deg, rgba(35,35,35,0.013) 1px, transparent 1px);
    background-size: 72px 72px;
    opacity: 0.72;
    pointer-events: none;
    z-index: -3;
}
/* пунктирные овалы как на референсе */
.trust__decor {
    position: absolute;
    border: 1px dashed rgba(184, 145, 68, 0.30);
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
}
.trust__decor--left {
    width: 520px;
    height: 265px;
    left: -225px;
    bottom: 78px;
    transform: rotate(15deg);
}
.trust__decor--right {
    width: 540px;
    height: 286px;
    right: -210px;
    top: 10px;
    transform: rotate(-16deg);
}
.trust__inner {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}
.trust__main {
    display: grid;
    grid-template-columns: 470px minmax(560px, 720px);
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
/* ЛЕВАЯ ЧАСТЬ */
.trust__content {
    position: relative;
    z-index: 2;
    max-width: 470px;
    transform: translate3d( calc(var(--trust-mx, 0px) * -0.06), calc(var(--trust-my, 0px) * -0.04), 0 );
    transition: transform 0.35s ease-out;
}
.trust__title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(30px, 3vw, 46px);
    white-space: nowrap;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.5px;
    text-transform: uppercase;
    color: #24282f;
    margin: 0 0 24px;
}
.trust__title span {
    color: #A8DF00;
}
.trust__text {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(15px, 1.08vw, 17px);
    font-weight: 500;
    line-height: 1.72;
    color: #687079;
    max-width: 380px;
    margin: 0;
}
.trust__arrow {
    width: 170px;
    margin-top: 20px;
    margin-left: 145px;
}
.trust__arrow svg {
    display: block;
    width: 100%;
    height: auto;
}
.trust__arrow-line, .trust__arrow-head {
    stroke: #A8DF00;
    stroke-dasharray: 260;
    stroke-dashoffset: 260;
}
.trust.is-visible .trust__arrow-line {
    animation: trustArrowDraw 0.9s ease forwards 0.68s;
}
.trust.is-visible .trust__arrow-head {
    animation: trustArrowDraw 0.45s ease forwards 1.08s;
}
@keyframes trustArrowDraw {
    to {
        stroke-dashoffset: 0;
    }
}
/* ПРАВАЯ КАРТИНКА-КАРТОЧКА */
.trust__panel-img-wrap {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 720px;
    justify-self: end;
    opacity: 0;
    transform: translateX(70px) scale(0.985);
    transition: opacity 0.78s ease, transform 0.78s cubic-bezier(.2,.8,.2,1);
    isolation: isolate;
}
.trust__panel-img-wrap::before {
    content: '';
    position: absolute;
    left: 6%;
    right: 6%;
    bottom: -28px;
    height: 92px;
    background: radial-gradient(ellipse at center, rgba(194, 163, 111, 0.28) 0%, rgba(194, 163, 111, 0.12) 42%, rgba(194, 163, 111, 0) 72%);
    filter: blur(18px);
    z-index: -1;
    pointer-events: none;
}
.trust__panel-img {
    position: relative;
    z-index: 2;
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}
/* АНИМАЦИИ ПОЯВЛЕНИЯ */
.trust__reveal {
    opacity: 0;
    transform: translateX(-64px);
    transition: opacity 1.1s ease, transform 1.1s cubic-bezier(.2,.8,.2,1);
}
.trust.is-visible .trust__reveal {
    opacity: 1;
    transform: translateX(0);
}
.trust.is-visible .trust__reveal:nth-child(1) {
    transition-delay: 0.04s;
}
.trust.is-visible .trust__reveal:nth-child(2) {
    transition-delay: 0.18s;
}
.trust.is-visible .trust__reveal:nth-child(3) {
    transition-delay: 0.32s;
}
.trust.is-visible .trust__panel-img-wrap {
    opacity: 1;
    transform: translate3d( calc(var(--trust-mx, 0px) * 0.06), calc(var(--trust-my, 0px) * 0.04), 0 ) scale(1);
    transition-delay: 0.12s;
}
/* ЛОГОТИПЫ */
.trust__clients {
    margin-top: 58px;
    padding-bottom: 12px;
}
.trust__clients-head {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 32px;
    margin-bottom: 30px;
}
.trust__clients-head span {
    position: relative;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(34,34,34,0.18), transparent);
}
.trust__clients-head span::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #A8DF00;
    transform: translateY(-50%);
}
.trust__clients-head span:first-child::after {
    right: -4px;
}
.trust__clients-head span:last-child::after {
    left: -4px;
}
.trust__label, .clients__label {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 900;
    color: #24282f;
    letter-spacing: 9px;
    white-space: nowrap;
    text-align: center;
}
.trust__logos-mask {
    width: 100%;
    overflow: hidden;
    padding: 36px 0;
    background: linear-gradient(180deg,
        rgba(255,255,255,0) 0%,
        #FFFFFF 26%,
        #FFFFFF 74%,
        rgba(255,255,255,0) 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.trust__logos-track {
    display: flex;
    width: max-content;
    animation: trustLogoMarquee 80s linear infinite;
}
.trust__logos-mask:hover .trust__logos-track {
    animation-play-state: paused;
}
.trust__logos-group {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}
.trust__logos-group img {
    width: 210px;
    height: 56px;
    object-fit: contain;
    padding: 0 34px;
    filter: grayscale(1) contrast(1.06);
    opacity: 0.88;
    border-right: 1px solid rgba(0,0,0,0.10);
    transition: opacity 0.25s ease, transform 0.25s ease;
}
.trust__logos-group img:hover {
    opacity: 1;
    transform: translateY(-2px);
}
@keyframes trustLogoMarquee {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}
/* АДАПТИВ */

@media (max-width: 1200px) {
    .trust__inner {
        max-width: 1400px;
        padding: 0 40px;
    }
    .trust__main {
        grid-template-columns: 430px minmax(520px, 1fr);
        gap: 24px;
    }
    .trust__content {
        max-width: 430px;
    }
    .trust__panel-img-wrap {
        max-width: 660px;
    }
    .trust__title {
        font-size: clamp(44px, 4.4vw, 56px);
    }
}

@media (max-width: 1024px) {
    .trust {
        padding: 48px 0 26px;
    }
    .trust__main {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .trust__content {
        max-width: 520px;
    }
    .trust__panel-img-wrap {
        max-width: 720px;
        justify-self: center;
    }
    .trust__title {
        font-size: clamp(46px, 7vw, 60px);
        white-space: normal;
        transform: none;
        width: auto;
        letter-spacing: -0.5px;
    }
    .trust__arrow {
        margin-left: 120px;
    }
    .trust__clients {
        margin-top: 44px;
    }
}

@media (max-width: 768px) {
    .trust {
        padding: 42px 0 24px;
    }
    .trust__inner {
        padding: 0 20px;
    }
    .trust__decor--left {
        width: 330px;
        height: 180px;
        left: -175px;
        bottom: 155px;
    }
    .trust__decor--right {
        width: 350px;
        height: 205px;
        right: -195px;
        top: 42px;
    }
    .trust__title {
        font-size: clamp(43px, 12vw, 56px);
        letter-spacing: -0.5px;
    }
    .trust__text {
        font-size: 15px;
    }
    .trust__text br {
        display: none;
    }
    .trust__arrow {
        width: 142px;
        margin-left: 54px;
    }
    .trust__clients-head {
        grid-template-columns: 1fr;
        gap: 14px;
        margin-bottom: 18px;
    }
    .trust__clients-head span {
        display: none;
    }
    .trust__label, .clients__label {
        font-size: 11px;
        letter-spacing: 4px;
    }
    .trust__logos-group img {
        width: 145px;
        height: 36px;
        padding: 0 24px;
    }
}

@media (max-width: 480px) {
    .trust__main {
        gap: 24px;
    }
    .trust__title {
        font-size: clamp(40px, 13vw, 52px);
    }
    .trust__panel-img-wrap {
        width: calc(100% + 28px);
        margin-left: -14px;
        margin-right: -14px;
    }
    .trust__logos-group img {
        width: 132px;
        padding: 0 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .trust__reveal, .trust__panel-img-wrap, .trust__logos-track, .trust__arrow-line, .trust__arrow-head {
        animation: none !important;
        transition: none !important;
        transform: none !important;
        opacity: 1 !important;
        stroke-dashoffset: 0 !important;
    }
}
/* SECTION TITLE */
.section-title {
    font-family: 'Bebas Neue', 'Arial Narrow', Arial, sans-serif;
    font-size: 42px;
    font-weight: 400;
    text-transform: uppercase;
    margin-bottom: 48px;
    line-height: 1.1;
    letter-spacing: 2px;
}
.accent {
    color: #c8f000;
}
/* SERVICES */
.services {
    background: transparent;
    padding: 90px 0;
    position: relative;
    z-index: 1;
}
/* Убираем большой отступ у заголовка ТОЛЬКО внутри services */
.services .section-title {
    margin-bottom: 0;
}
/* Подзаголовок сверху (под "ОРГАНИЗУЕМ ДЛЯ ВАС") */
.services__top-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #ccc;
    line-height: 1.6;
    max-width: 700px;
    margin: 12px 0 40px;
}
/* Текст под направлениями — ОДНА колонка по центру */
.services__about {
    margin-top: 50px;
    display: block;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}
.services__about-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.8;
    color: #cfcfcf;
    margin: 0 0 20px;
}
/* Кнопка-блок */
.services__cta {
    margin-top: 55px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}
.services__cta-btn {
    font-size: 17px;
    font-weight: 100;
    padding: 18px 48px;
    background: transparent;
    border: 1px solid #c8f000;
    color: #c8f000;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s;
}
.services__cta-btn:hover {
    background: #c8f000;
    color: #111;
    box-shadow: 0 8px 24px rgba(200,240,0,0.35);
}
.services__cta-note {
    font-family: 'Montserrat', sans-serif;
    font-size: 17px;
    font-weight: 100;
    color: #b7a7f7;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    .services {
        padding: 60px 0;
    }
    .services__top-subtitle {
        font-size: 14px;
    }
    .services__about {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-top: 40px;
    }
    .services__about-text {
        font-size: 14px;
    }
    .services__cta-note {
        font-size: 15px;
    }
}
.services__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
/* КАРТОЧКА */
.services__card {
    background: #1a1a1a;
    border-radius: 20px;
    border: 1.5px solid rgba(255,255,255,0.12);
    transition: transform 0.35s ease, border-color 0.3s, box-shadow 0.35s ease;
    position: relative;
    overflow: visible;
    display: flex;
    flex-direction: column;
    isolation: isolate;
}
.services__card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: #c8f000;
    box-shadow: 0 24px 60px rgba(0,0,0,0.7), 0 0 0 1px #c8f000;
}
/* ФОТО */
.services__img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 3/2;
    overflow: visible;
    border-radius: 18px 18px 0 0;
    flex-shrink: 0;
}
.services__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 18px 18px 0 0;
    overflow: hidden;
}
/* ИКОНКА-БЕЙДЖ на границе фото */
.services__icon-badge {
    position: absolute;
    bottom: -22px;
    left: 20px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
    border: 3px solid #1a1a1a;
}
.services__icon-badge--green {
    background: #c8f000;
}
.services__icon-badge--purple {
    background: #7c5cfc;
}
/* ТЕКСТОВАЯ ЧАСТЬ */
.services__body {
    padding: 40px 24px 28px;
    display: flex;
    flex-direction: column;
    flex: 1;
    position: relative;
    z-index: 1;
}
.services__title {
    font-family: 'Bebas Neue', 'Arial Narrow', Arial, sans-serif;
    font-size: 22px;
    font-weight: 400;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1.2;
    margin-bottom: 14px;
}
.services__desc {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: #888;
    line-height: 1.65;
    flex: 1;
    margin-bottom: 24px;
}
/* СТРЕЛКА */
.services__arrow {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: transparent;
    border: 1.5px solid rgba(255,255,255,0.25);
    color: #fff;
    border-radius: 50%;
    font-size: 18px;
    font-weight: 700;
    transition: background 0.3s, border-color 0.3s, color 0.3s;
    text-decoration: none;
}
.services__arrow:hover {
    background: #c8f000;
    border-color: #c8f000;
    color: #111;
}
/* PROCESS */
.process {
    display: none;
}
.process .section-title {
    font-size: 28px;
    margin-bottom: 0;
}
/* Громкоговоритель */
.process__megaphone {
    position: absolute;
    right: 60px;
    bottom: 0;
    width: 380px;
    z-index: 0;
    pointer-events: none;
}
.process__megaphone img {
    width: 100%;
    filter: drop-shadow(0 0 40px rgba(124,92,252,0.4));
}
/* Звёздочка */
.process__star {
    position: absolute;
    right: 200px;
    top: 40px;
    z-index: 0;
    pointer-events: none;
    animation: starPulse 2s ease-in-out infinite;
}
@keyframes starPulse {
    0%, 100% { transform: scale(1) rotate(0deg); opacity: 1; }
    50% { transform: scale(1.15) rotate(15deg); opacity: 0.8; }
}
/* Большая изогнутая стрелка */
.process__big-arrow {
    position: absolute;
    right: 280px;
    top: 30px;
    z-index: 0;
    pointer-events: none;
}
/* Шаги */
.process__steps {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0;
    flex-wrap: nowrap;
    margin-top: 40px;
    position: relative;
    z-index: 1;
    width: 75%;
}
/* Один шаг */
.process__step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
    flex-shrink: 0;
}
/* Иконка шага */
.process__step-icon {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    border: 1.5px solid rgba(124,92,252,0.5);
    background: rgba(124,92,252,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.3s, background 0.3s, transform 0.3s;
    padding: 10px;
}
.process__step-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.process__step:hover .process__step-icon {
    border-color: #7c5cfc;
    background: rgba(124,92,252,0.2);
    transform: translateY(-4px);
}
/* Подпись шага */
.process__step p {
    font-family: 'Montserrat', sans-serif;
    font-size: 17px;
    font-weight: 600;
    color: #fdfaf6;
    max-width: 150px;
    line-height: 1.4;
}
/* Пунктирная стрелка между шагами */
.process__dash-arrow {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
}
/* АДАПТИВ process */

@media (max-width: 1024px) {
    .process__megaphone {
        width: 220px;
        right: -10px;
    }
    .process__star {
        right: 140px;
    }
    .process__big-arrow {
        right: 200px;
    }
    .process__steps {
        flex-wrap: wrap;
        gap: 20px;
        justify-content: center;
    }
    .process__dash-arrow {
        display: none;
    }
}

@media (max-width: 768px) {
    .process__megaphone {
        display: none;
    }
    .process__star {
        display: none;
    }
    .process__big-arrow {
        display: none;
    }
    .process__steps {
        gap: 24px;
        justify-content: center;
    }
    .process__step-icon {
        width: 80px;
        height: 80px;
        padding: 16px;
    }
}
/* ===== CASES — финальная чистая версия ===== */
/* Если у обёртки кейсов в HTML уже стоит sections-bg-wrap--cases — оставляем чистый чёрный фон */
.sections-bg-wrap--cases {
    background: #030407 !important;
    background-image: none !important;
    background-attachment: scroll !important;
}
.sections-bg-wrap--cases::before {
    display: none !important;
}
/* Шапка блока */
/* Большой кейс */
/* Градиент поверх фото: растворяет изображение в чёрный фон со всех сторон */
/* Фото на фоне */
/* Glass-карточка справа */
/* Фолбэк для старых браузеров без blur */
/* Бейдж */
/* Название */
/* Мета */
/* Описание */
/* Статистика */
/* Кнопки */
/* Миниатюры */
/* Стрелки возле миниатюр */
/* Точки */
/* Нижний текст */
/* Плавная смена */
/* Низкие экраны */
/* Планшеты */
/* Телефоны */
/* Очень узкие телефоны */
/* ОБЩИЙ ФОН ДЛЯ 3 СЕКЦИЙ */
.sections-bg-wrap {
    position: relative;
    background-image: url('/uploads/section-bg.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 400px;
}
.sections-bg-wrap::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 0;
    pointer-events: none;
}
/* Контент секций поверх затемнения */
.sections-bg-wrap > section {
    position: relative;
    z-index: 1;
}
/* niz-map и niz-contacts — отдельный сплошной тёмный фон (вне bg-wrap) */
.niz-map, .niz-contacts, .footer {
    position: relative;
    z-index: 1;
    background: #05050b;
}
/* На мобильных fixed работает плохо → отключаем */

@media (max-width: 1024px) {
    .sections-bg-wrap {
        background-attachment: scroll;
    }
}
/* ===== ФОТОГАЛЕРЕЯ ===== */
.photo-gallery {
    background: #fcf9f4;
    padding: 50px 0;
    overflow: hidden;
    perspective: 1500px;
}
.photo-gallery .section-title {
    color: #1a1a1a;
}
.photo-gallery .section-title .accent {
    color: #7c5cfc;
}
/* Шапка с кнопками */
.photo-gallery__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 48px;
}
.photo-gallery__header .section-title {
    margin: 0;
}
/* Кнопки управления */
.photo-gallery__controls {
    display: flex;
    gap: 12px;
}
.photo-gallery__arrow {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(124,92,252,0.08);
    border: 1.5px solid rgba(124,92,252,0.25);
    color: #7c5cfc;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}
.photo-gallery__arrow:hover {
    background: #7c5cfc;
    border-color: #7c5cfc;
    color: #fff;
    transform: scale(1.08);
}
/* Обёртка слайдера */
.photo-gallery__slider-wrap {
    overflow: hidden;
    position: relative;
}
/* Трек слайдера — БЕЗ анимации */
.photo-gallery__track {
    display: flex;
    gap: 16px;
    transition: transform 0.8s cubic-bezier(0.45, 0, 0.15, 1);
    will-change: transform;
}
@keyframes galleryLeft {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
@keyframes galleryRight {
    0%   { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}
/* Карточка фото с 3D-эффектом */
.photo-gallery__item {
    position: relative;
    width: 380px;
    height: 260px;
    border-radius: 14px;
    overflow: hidden;
    flex-shrink: 0;
    cursor: pointer;
    border: 1.5px solid rgba(124,92,252,0.15);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    transform-style: preserve-3d;
    opacity: 0;
    animation: fadeInPhoto 0.8s ease forwards;
}
/* Плавное появление фото при загрузке */
@keyframes fadeInPhoto {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
/* 3D-наклон при наведении + свечение */
.photo-gallery__item:hover {
    border-color: #7c5cfc;
    transform: translateY(-12px) rotateX(5deg) scale(1.05);
    box-shadow: 0 25px 60px rgba(0,0,0,0.2), 0 0 40px rgba(124,92,252,0.2), inset 0 0 0 1.5px rgba(124,92,252,0.3);
}
.photo-gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1), filter 0.4s;
    will-change: transform;
}
.photo-gallery__item:hover img {
    transform: scale(1.12);
    filter: brightness(1.1) contrast(1.05);
}
.photo-gallery__overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient( circle at center, rgba(124,92,252,0.15) 0%, rgba(0,0,0,0.6) 100% );
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.4s ease;
    backdrop-filter: blur(2px);
}
.photo-gallery__item:hover .photo-gallery__overlay {
    opacity: 1;
}
.photo-gallery__overlay i {
    color: #7c5cfc;
    font-size: 32px;
    opacity: 0;
    transform: scale(0.5) rotate(-15deg);
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    text-shadow: 0 4px 20px rgba(124,92,252,0.4);
}
.photo-gallery__item:hover .photo-gallery__overlay i {
    opacity: 1;
    transform: scale(1) rotate(0deg);
    animation: iconPulse 1.5s ease infinite;
}
/* Пульсация иконки */
@keyframes iconPulse {
    0%, 100% {
        transform: scale(1) rotate(0deg);
    }
    50% {
        transform: scale(1.15) rotate(5deg);
    }
}
/* Градиент затемнения снизу при наведении */
.photo-gallery__item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient( to top, rgba(0,0,0,0.7) 0%, transparent 100% );
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
}
.photo-gallery__item:hover::after {
    opacity: 1;
}
/* Тень под фото */
.photo-gallery__item {
    box-shadow: 0 18px 25px -12px rgba(124,92,252,0.45);
}
.photo-gallery__item:hover {
    box-shadow: 0 25px 60px rgba(0,0,0,0.2), 0 0 40px rgba(124,92,252,0.2), inset 0 0 0 1.5px rgba(124,92,252,0.3);
}
/* Лайтбокс галереи фото */
.pg-lightbox {
    position: fixed;
    inset: 0;
    z-index: 10001;
    background: rgba(0,0,0,0.97);
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 16px;
}
.pg-lightbox.active {
    display: flex;
}
.pg-lightbox__img {
    max-width: 90vw;
    max-height: 82vh;
    object-fit: contain;
    border-radius: 10px;
    border: 1.5px solid rgba(124,92,252,0.3);
    transition: opacity 0.15s ease;
}
.pg-lightbox__close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.08);
    border: 1.5px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}
.pg-lightbox__close:hover {
    background: #7c5cfc;
    color: #fff;
    border-color: #7c5cfc;
}
.pg-lightbox__prev, .pg-lightbox__next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.08);
    border: 1.5px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}
.pg-lightbox__prev {
    left: 20px;
}
.pg-lightbox__next {
    right: 20px;
}
.pg-lightbox__prev:hover, .pg-lightbox__next:hover {
    background: #7c5cfc;
    color: #fff;
    border-color: #7c5cfc;
}
.pg-lightbox__counter {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    color: rgba(255,255,255,0.4);
}
/* WHY */
.why {
    background: #0d0d0d;
    padding: 80px 0;
}
.why__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
}
.why__item {
    background: #1a1a1a;
    border: 1px solid #222;
    border-radius: 14px;
    padding: 24px 20px;
    text-align: center;
    transition: border-color 0.3s, transform 0.3s;
}
.why__item:hover {
    border-color: #c8f000;
    transform: translateY(-4px);
}
.why__item span {
    font-size: 32px;
    display: block;
    margin-bottom: 12px;
}
.why__item h4 {
    font-size: 15px;
    text-transform: uppercase;
    margin-bottom: 10px;
    color: #c8f000;
    letter-spacing: 1px;
}
.why__item p {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    color: #888;
    line-height: 1.6;
}
/* CTA */
.cta {
    background: #fcf9f4;
    padding: 50px 0 70px;
    position: relative;
}
.section-divider-man {
    position: relative;
    height: 120px;
    z-index: 30;
    background: #fcf9f4 !important;
    overflow: visible;
}
.section-divider-man__img {
    --man-width: 530px;
    --man-bottom: -38px;
    position: absolute;
    left: 50%;
    bottom: var(--man-bottom);
    transform: translateX(-50%);
    width: var(--man-width);
    height: auto;
    z-index: 5;
    pointer-events: none;
}
.cta__card {
    background: #d3c2f8;
    border-radius: 30px;
    padding: 50px 60px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    min-height: 520px;
    isolation: isolate;
}
/* Поблескивание блока */
.cta__card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient( 110deg, transparent 0%, rgba(255,255,255,0) 35%, rgba(255,255,255,0.38) 50%, rgba(255,255,255,0) 65%, transparent 100% );
    transform: skewX(-20deg);
    animation: ctaShine 4s ease-in-out infinite;
    pointer-events: none;
    z-index: 10;
}
@keyframes ctaShine {
    0% { left: -120%; }
    45% { left: 130%; }
    100% { left: 130%; }
}
.cta__content {
    position: relative;
    z-index: 6;
    width: 640px;
    max-width: 640px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.cta__title {
    font-family: 'Bebas Neue', 'Arial Narrow', Arial, sans-serif;
    font-weight: 400;
    text-transform: uppercase;
    line-height: 0.95;
    margin-bottom: 34px;
    letter-spacing: 2px;
}
.cta__title-line {
    display: block;
    color: #1a1a1a;
    font-size: 48px;
    white-space: nowrap;
}
.cta__title-accent {
    display: block;
    color: #7c5cfc;
    font-size: 60px;
    white-space: nowrap;
}
.cta__subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    color: #1a1a1a;
    font-weight: 800;
    margin-bottom: 18px;
}
.cta__description {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    color: #3a3a3a;
    font-weight: 500;
    line-height: 1.5;
    margin-bottom: 34px;
    max-width: 620px;
}
.cta__contacts {
    display: flex;
    align-items: center;
    gap: 20px;
}
.cta__phone {
    font-family: 'Bebas Neue', Arial, sans-serif;
    font-size: clamp(28px, 5vw, 52px);
    font-weight: 400;
    color: #fff;
    letter-spacing: 2px;
    transition: color 0.3s;
    white-space: nowrap;
    max-width: 100%;
}
.cta__phone:hover {
    color: #7c5cfc;
}
.cta__socials {
    display: flex;
    gap: 12px;
}
.cta__social {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: #7c5cfc;
    border-radius: 50%;
    color: #fff;
    font-size: 28px;
    transition: all 0.3s;
}
.cta__social:hover {
    transform: translateY(-3px);
    background: #6a4ee8;
    box-shadow: 0 6px 20px rgba(124, 92, 252, 0.4);
}
.cta__text-link {
    margin-top: 12px;
    font-family: 'Montserrat', sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: #7c5cfc;
    line-height: 1;
    cursor: pointer;
}
/* Круг справа */
.cta__video-preview {
    position: absolute;
    right: 115px;
    top: 50%;
    transform: translateY(-50%);
    width: 430px;
    height: 430px;
    z-index: 4;
    border-radius: 50%;
    overflow: visible;
    animation: ctaVideoPulseMove 3.5s ease-in-out infinite;
    cursor: pointer;
    background: #111;
    border: none;
    padding: 0;
}
.cta__video-preview::before {
    content: '';
    position: absolute;
    inset: -14px;
    border-radius: 50%;
    border: 2px solid rgba(124, 92, 252, 0.45);
    animation: ctaVideoRing 2s ease-out infinite;
    pointer-events: none;
}
.cta__play-btn::before {
    content: '';
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.35);
    animation: ctaPlayPulse 1.7s ease-out infinite;
    z-index: -1;
}
.cta__video-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 50%;
}
@keyframes ctaVideoPulseMove {
    0%, 100% {
        transform: translateY(-50%) scale(1);
    }
    50% {
        transform: translateY(-52%) scale(1.025);
    }
}
@keyframes ctaVideoRing {
    0% {
        transform: scale(0.96);
        opacity: 0.75;
    }
    100% {
        transform: scale(1.08);
        opacity: 0;
    }
}
@keyframes ctaPlayPulse {
    0% {
        transform: scale(0.9);
        opacity: 0.7;
    }
    100% {
        transform: scale(1.45);
        opacity: 0;
    }
}
.cta__play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 78px;
    height: 78px;
    background: rgba(255,255,255,0.95);
    border: none;
    border-radius: 50%;
    color: #111;
    font-size: 28px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 7;
    padding-left: 5px;
    box-shadow: 0 10px 35px rgba(0,0,0,0.25);
}
.cta__video-preview:hover .cta__play-btn {
    background: #fff;
    transform: translate(-50%, -50%) scale(1.08);
}
/* Модальное окно видео */
.cta-video-modal {
    position: fixed;
    inset: 0;
    z-index: 10050;
    background: rgba(0,0,0,0.94);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 40px;
}
.cta-video-modal.active {
    display: flex;
}
.cta-video-modal__video {
    width: min(1100px, 90vw);
    max-height: 82vh;
    background: #000;
    border-radius: 10px;
    border: 1.5px solid rgba(124,92,252,0.35);
    box-shadow: 0 30px 80px rgba(0,0,0,0.5);
}
.cta-video-modal__close {
    position: absolute;
    top: 22px;
    right: 22px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1.5px solid rgba(255,255,255,0.25);
    background: rgba(255,255,255,0.08);
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cta-video-modal__close:hover {
    background: #7c5cfc;
    border-color: #7c5cfc;
}
/* АДАПТИВ */

@media (max-width: 1200px) {
    .cta__card {
        padding: 45px 50px;
        min-height: 480px;
    }
    .cta__content {
        width: calc(100% - 390px);
    }
    .cta__title-line {
        font-size: 46px;
    }
    .cta__title-accent {
        font-size: 56px;
    }
    .cta__video-preview {
        right: 60px;
        width: 360px;
        height: 360px;
    }
}

@media (max-width: 1024px) {
    .cta__card {
        padding: 40px;
        min-height: 440px;
    }
    .cta__content {
        width: calc(100% - 340px);
    }
    .cta__title-line {
        font-size: 38px;
    }
    .cta__title-accent {
        font-size: 46px;
    }
    .cta__phone {
        font-size: 36px;
    }
    .cta__video-preview {
        right: 35px;
        width: 320px;
        height: 320px;
    }
}

@media (max-width: 768px) {
    .cta__card {
        padding: 40px 30px 360px 30px;
        min-height: auto;
        flex-direction: column;
        align-items: flex-start;
    }
    .cta__content {
        width: 100%;
        margin-bottom: 20px;
    }
    .cta__title-line {
        font-size: 34px;
        white-space: normal;
    }
    .cta__title-accent {
        font-size: 44px;
        white-space: normal;
    }
    .cta__subtitle {
        font-size: 14px;
    }
    .cta__description {
        font-size: 13px;
        margin-bottom: 25px;
    }
    .cta__contacts {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    .cta__phone {
        font-size: 38px;
    }
    .cta__socials {
        gap: 12px;
    }
    .cta__social {
        width: 44px;
        height: 44px;
        font-size: 22px;
    }
    .cta__video-preview {
        right: 50%;
        bottom: 30px;
        top: auto;
        transform: translateX(50%);
        width: 300px;
        height: 300px;
    }
    .cta__play-btn {
        width: 64px;
        height: 64px;
        font-size: 22px;
    }
    .cta-video-modal {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .cta__title-line {
        font-size: 30px;
    }
    .cta__title-accent {
        font-size: 36px;
    }
    .cta__phone {
        font-size: 28px;
    }
    .cta__video-preview {
        width: 260px;
        height: 260px;
    }
    .cta__play-btn {
        width: 58px;
        height: 58px;
        font-size: 20px;
    }
}
/* НИЗ САЙТА */
.niz-map {
    background: #05050b;
    padding: 25px 0 40px;
    overflow: visible;
    position: relative;
    z-index: 20;
}
.niz-map .container {
    max-width: 1400px;
    padding: 0 40px;
}
.niz-map__inner {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    gap: 60px;
}
.niz-map__content {
    position: relative;
    z-index: 2;
}
.niz-map__line {
    display: block;
    width: 34px;
    height: 4px;
    background: #c8f000;
    margin-bottom: 18px;
}
.niz-map__title {
    font-family: 'Bebas Neue', Arial, sans-serif;
    font-size: 64px;
    line-height: 0.95;
    letter-spacing: 2px;
    color: #fff;
    margin-bottom: 26px;
}
.niz-map__title span {
    color: #c8f000;
}
.niz-map__text {
    max-width: 390px;
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255,255,255,0.72);
    margin-bottom: 26px;
}
.niz-map__regions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 26px;
}
.niz-map__regions span {
    font-size: 14px;
    color: rgba(255,255,255,0.82);
    display: flex;
    align-items: center;
    gap: 10px;
}
.niz-map__regions i {
    color: #9b4dff;
}
.niz-map__image {
    position: relative;
}
.niz-map__image::before {
    content: '';
    position: absolute;
    inset: 18%;
    background: radial-gradient( circle, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.45) 45%, rgba(0,0,0,0) 70% );
    filter: blur(25px);
    z-index: 0;
    pointer-events: none;
}
.niz-map__image img {
    position: relative;
    z-index: 1;
    width: 100%;
    max-height: 560px;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 0 30px rgba(0,0,0,0.9));
}
.niz-contacts {
    background: #05050b;
    padding: 45px 0 80px;
}
.niz-contacts__title {
    font-family: 'Bebas Neue', Arial, sans-serif;
    font-size: 56px;
    color: #fff;
    line-height: 1;
    letter-spacing: 2px;
    margin-bottom: 10px;
}
.niz-contacts__subtitle {
    font-size: 14px;
    color: rgba(255,255,255,0.65);
    margin-bottom: 36px;
}
.niz-contacts__card {
    background: linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 24px;
    padding: 50px 52px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1.2fr);
    gap: 52px;
    align-items: center;
    min-height: 300px;
    box-shadow: 0 28px 90px rgba(0,0,0,0.45);
}
.niz-contacts__person {
    display: flex;
    align-items: center;
    gap: 24px;
}
.niz-contacts__video {
    width: 230px;
    height: 230px;
    border-radius: 22px;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 0 55px rgba(124,92,252,0.45);
}
.niz-contacts__person-info h3, .niz-contacts__actions h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 34px;
    font-weight: 900;
    color: #fff;
    margin-bottom: 8px;
}
.niz-contacts__person-info span {
    display: block;
    font-size: 11px;
    font-weight: 800;
    color: #7c5cfc;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}
.niz-contacts__phone {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: #fff;
    font-size: 18px;
    font-weight: 900;
    margin-bottom: 18px;
}
.niz-contacts__phone i {
    color: #7c5cfc;
}
.niz-contacts__person-info p, .niz-contacts__actions p {
    font-size: 16px;
    color: rgba(255,255,255,0.65);
    line-height: 1.65;
    margin-bottom: 18px;
}
.niz-contacts__telegram-link {
    color: #c8f000;
    font-size: 13px;
    font-weight: 800;
}
.niz-contacts__divider {
    width: 1px;
    height: 130px;
    background: rgba(255,255,255,0.13);
}
.niz-contacts__actions {
    text-align: center;
}
.niz-contacts__buttons {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 22px;
}
.niz-contacts__btn {
    min-width: 0;
    min-height: 96px;
    border: 1px solid rgba(255,255,255,0.13);
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 20px 24px;
    color: #fff;
    background: rgba(0,0,0,0.22);
    transition: transform 0.3s, border-color 0.3s, background 0.3s;
}
.niz-contacts__btn:hover {
    transform: translateY(-4px);
    border-color: #7c5cfc;
    background: rgba(124,92,252,0.12);
}
.niz-contacts__btn span {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #7c5cfc;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    flex-shrink: 0;
}
.niz-contacts__btn--green span {
    background: #c8f000;
    color: #111;
}
.niz-contacts__btn strong {
    display: block;
    font-size: 12px;
    font-weight: 900;
    text-align: left;
}
.niz-contacts__btn small {
    display: block;
    font-size: 11px;
    color: rgba(255,255,255,0.6);
    text-align: left;
}
/* FOOTER */
.footer {
    background: #05050b;
    padding: 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    overflow: hidden;
}
.footer__inner {
    display: grid;
    grid-template-columns: 1.2fr 0.9fr 0.9fr 2fr;
    gap: 34px;
    align-items: center;
}
.footer__logo-img {
    width: 120px;
    height: auto;
    object-fit: contain;
    margin-bottom: 12px;
}
.footer__logo p {
    font-size: 12px;
    color: rgba(255,255,255,0.62);
    line-height: 1.6;
    margin-bottom: 8px;
}
.footer__nav-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 2px;
    color: #c8f000;
    margin-bottom: 12px;
    text-transform: uppercase;
}
.footer__nav a, .footer__contacts a {
    display: block;
    font-size: 12px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 8px;
    transition: color 0.3s;
}
.footer__nav a:hover, .footer__contacts a:hover {
    color: #c8f000;
}
.footer__contacts p {
    font-size: 12px;
    color: rgba(255,255,255,0.55);
    margin-top: 8px;
    line-height: 1.5;
}
.footer__image {
    height: 100%;
    min-height: 190px;
    overflow: visible;
    border-radius: 0;
    align-self: stretch;
}
.footer__image img {
    width: 100%;
    max-width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}
/* PROMO */
.promo {
    display: none;
}

@media (max-width: 1024px) {
    .niz-contacts__card {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .niz-contacts__divider {
        display: none;
    }
    .niz-contacts__actions {
        text-align: left;
    }
    .footer__inner {
        grid-template-columns: 1fr 1fr;
    }
    .footer__image {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .niz-contacts__title {
        font-size: 42px;
    }
    .niz-contacts__person {
        flex-direction: column;
        align-items: flex-start;
    }
    .niz-contacts__buttons {
        grid-template-columns: 1fr;
    }
    .footer__inner {
        grid-template-columns: 1fr;
    }
}
/* СТРАНИЦА УСЛУГ */
.page-hero {
    background: #111;
    padding: 80px 0 60px;
    border-bottom: 1px solid #222;
}
.page-hero__inner {
    text-align: center;
}
.page-hero__title {
    font-size: 64px;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 16px;
    letter-spacing: 3px;
}
.page-hero__text {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    color: #999;
}
.services-page {
    background: #111;
    padding: 80px 0;
}
.service-item {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 100px;
}
.service-item--reverse {
    flex-direction: row-reverse;
}
.service-item__img {
    flex: 1;
    border-radius: 20px;
    overflow: hidden;
}
.service-item__img img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}
.service-item__content {
    flex: 1;
}
.service-item__num {
    font-family: 'Bebas Neue', Arial, sans-serif;
    font-size: 80px;
    font-weight: 400;
    color: #222;
    line-height: 1;
    display: block;
    margin-bottom: 16px;
    letter-spacing: 3px;
}
.service-item__title {
    font-size: 36px;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 16px;
    letter-spacing: 2px;
}
.service-item__text {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    color: #999;
    line-height: 1.7;
    margin-bottom: 24px;
}
.service-item__list {
    list-style: none;
    margin-bottom: 32px;
}
.service-item__list li {
    font-family: 'Montserrat', sans-serif;
    color: #ccc;
    padding: 8px 0 8px 20px;
    border-bottom: 1px solid #222;
    position: relative;
    font-size: 15px;
}
.service-item__list li::before {
    content: "→";
    color: #c8f000;
    position: absolute;
    left: 0;
}
/* АДАПТИВ */

@media (max-width: 1024px) {
    .why__grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .services__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero__content {
        flex: 0 0 45%;
        max-width: 45%;
    }
    .hero__image {
        flex: 0 0 55%;
        max-width: 55%;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    .burger {
        display: flex;
    }
    .header__nav {
        display: none;
    }
    .header__nav.nav--open {
        display: flex !important;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: #111;
        padding: 20px;
        border-bottom: 1px solid #222;
        z-index: 999;
    }
    .hero__inner {
        flex-direction: column;
        align-items: center;
        padding: 100px 20px 40px;
        text-align: center;
        gap: 30px;
    }
    .hero__content {
        flex: unset;
        max-width: 100%;
        width: 100%;
        padding-right: 0;
    }
    .hero__image {
        flex: unset;
        max-width: 100%;
        width: 100%;
        justify-content: center;
        overflow: visible;
    }
    .hero__badge-wrap {
        width: 260px;
        height: 260px;
    }
    .hero__badge-img {
        width: 260px;
        height: 260px;
    }
    .hero__title {
        font-size: 48px;
    }
    .hero__btns {
        justify-content: center;
        flex-wrap: wrap;
    }
    .hero__stats {
        padding: 20px 20px 30px;
    }
    .hero__stats-inner {
        flex-wrap: wrap;
        gap: 20px;
        justify-content: flex-start;
    }
    .hero__stat {
        flex: 0 0 45%;
    }
    .hero__stat-divider {
        display: none;
    }
    .hero__stat-num {
        font-size: 24px;
    }
}
/* ← ЗАКРЫВАЕМ @media (max-width: 768px) */
/* ===== ГАЛЕРЕЯ МОДАЛКА ===== */
.gallery-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: flex-start;
    justify-content: center;
    overflow-y: auto;
    padding: 40px 20px;
}
.gallery-modal.active {
    display: flex;
}
.gallery-modal__overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.92);
    backdrop-filter: blur(6px);
    z-index: 0;
}
.gallery-modal__wrap {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1300px;
    background: #0c0f0f;
    border-radius: 20px;
    border: 1.5px solid rgba(200,240,0,0.3);
    padding: 40px;
    margin: auto;
}
.gallery-modal__close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.08);
    border: 1.5px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s, border-color 0.3s;
}
.gallery-modal__close:hover {
    background: #c8f000;
    border-color: #c8f000;
    color: #111;
}
.gallery-modal__header {
    margin-bottom: 0;
}
.gallery-modal__title {
    font-family: 'Bebas Neue', Arial, sans-serif;
    font-size: 36px;
    font-weight: 400;
    letter-spacing: 2px;
    color: #fff;
    margin-bottom: 4px;
}
.gallery-modal__sub {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: #888;
}
/* Двухколоночный макет модалки */
.gallery-modal__body {
    display: flex;
    gap: 0;
    align-items: stretch;
    min-height: 480px;
}
.gallery-modal__sidebar {
    flex: 0 0 30%;
    max-width: 30%;
    padding-right: 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.gallery-modal__divider {
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(200,240,0,0.3) 20%, rgba(200,240,0,0.3) 80%, transparent);
    flex-shrink: 0;
    align-self: stretch;
}
.gallery-modal__photos {
    flex: 1;
    padding-left: 32px;
}
.gallery-modal__desc p {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: #aaa;
    line-height: 1.7;
    margin-bottom: 0;
}
.gallery-modal__list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0;
}
.gallery-modal__list li {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    color: #ccc;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.gallery-modal__list li i {
    color: #c8f000;
    font-size: 11px;
    width: 14px;
    flex-shrink: 0;
}
.gallery-modal__cta {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.08);
}
.gallery-modal__cta-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    color: #aaa;
    line-height: 1.6;
    margin-bottom: 14px;
}
.gallery-modal__phone {
    display: block;
    font-family: 'Bebas Neue', Arial, sans-serif;
    font-size: 26px;
    color: #c8f000;
    letter-spacing: 2px;
    margin-bottom: 14px;
    transition: color 0.3s;
}
.gallery-modal__phone:hover {
    color: #aacc00;
}
.gallery-modal__socials {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.gallery-modal__social-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.06);
    border: 1.5px solid rgba(255,255,255,0.12);
    border-radius: 8px;
    padding: 10px 14px;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 600;
    transition: background 0.3s, border-color 0.3s;
    text-decoration: none;
}
.gallery-modal__social-btn:hover {
    background: rgba(200,240,0,0.1);
    border-color: #c8f000;
    color: #c8f000;
}
.gallery-modal__social-btn img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}
/* Сетка фото */
.gallery-modal__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}
.gallery-modal__photo {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    border: 1.5px solid transparent;
    transition: border-color 0.3s, transform 0.3s;
}
.gallery-modal__photo:hover {
    border-color: #c8f000;
    transform: scale(1.02);
}
.gallery-modal__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s;
}
.gallery-modal__photo:hover img {
    transform: scale(1.08);
}
.gallery-modal__photo-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}
.gallery-modal__photo:hover .gallery-modal__photo-overlay {
    background: rgba(0,0,0,0.3);
}
.gallery-modal__photo-overlay i {
    color: #fff;
    font-size: 24px;
    opacity: 0;
    transition: opacity 0.3s;
}
.gallery-modal__photo:hover .gallery-modal__photo-overlay i {
    opacity: 1;
}
/* Лайтбокс */
.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0,0,0,0.97);
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 16px;
}
.gallery-lightbox.active {
    display: flex;
}
.gallery-lightbox img {
    max-width: 90vw;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 10px;
    border: 1.5px solid rgba(200,240,0,0.3);
}
.gallery-lightbox__close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.08);
    border: 1.5px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}
.gallery-lightbox__close:hover {
    background: #c8f000;
    color: #111;
}
.gallery-lightbox__prev, .gallery-lightbox__next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.08);
    border: 1.5px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}
.gallery-lightbox__prev {
    left: 20px;
}
.gallery-lightbox__next {
    right: 20px;
}
.gallery-lightbox__prev:hover, .gallery-lightbox__next:hover {
    background: #c8f000;
    color: #111;
    border-color: #c8f000;
}
.gallery-lightbox__counter {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    color: rgba(255,255,255,0.4);
}
/* ===== О КОМПАНИИ ===== */
.about {
    background: #fcf9f4 !important;
    padding: 50px 0;
    color: #1a1a1a;
}
.about p, .about span, .about a {
    color: inherit;
}
.about__text-lead {
    color: #1a1a1a !important;
}
/* ВЕРХ */
.about__top {
    display: flex;
    align-items: stretch;
    gap: 50px;
    margin-bottom: 40px;
}
/* ЛЕВО — фото заполняет колонку, низ = низ инфографики */
.about__photo-wrap {
    position: relative;
    flex: 0 0 33%;
    max-width: 33%;
    padding: 0;
    align-self: stretch;
    display: flex;
}
.about__blob {
    display: none;
}
.about__photo {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    border-radius: 10px;
}
.about__leaf {
    display: none;
}
/* ПРАВО */
.about__content {
    flex: 1;
}
.about__title {
    font-family: 'Bebas Neue', 'Arial Narrow', Arial, sans-serif;
    font-size: 46px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #1a1a1a;
    line-height: 1;
    margin: 0;
}
.about__accent {
    color: #7c5cfc;
}
.about__line {
    display: block;
    width: 40px;
    height: 3px;
    background: #7c5cfc;
    margin: 16px 0 30px;
    border-radius: 2px;
}
/* текст одним блоком */
.about__text-block {
    margin-bottom: 34px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.about__text-lead {
    font-family: 'Montserrat', sans-serif;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.5;
    color: #1a1a1a;
    margin: 0;
}
/* плашка преимуществ — низкая, иконка слева */
.about__features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    background: #faf3f0;
    border-radius: 14px;
    padding: 28px 0;
}
.about__feature {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    padding: 8px 28px;
    border-right: 1px solid #e4d8d3;
}
.about__feature:last-child {
    border-right: none;
}
.about__feature img {
    width: 54px;
    height: 54px;
    object-fit: contain;
    flex-shrink: 0;
}
.about__feature p {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #444;
    line-height: 1.4;
    margin: 0;
}
/* НИЗ — награды */
.about__awards {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0;
    border-top: 1px solid #e6ddd0;
    padding-top: 40px;
    flex-wrap: nowrap;
    width: 100%;
}
.about__awards-title {
    font-family: 'Bebas Neue', 'Arial Narrow', Arial, sans-serif;
    font-size: 24px;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 260px;
    padding-right: 50px;
    white-space: nowrap;
}
/* Слово "НАШИ" — статичное */
.about__awards-static {
    color: #1a1a1a !important;
}
/* Слово "НАГРАДЫ" — печатается */
.about__awards-type {
    color: #7c5cfc !important;
    border-right: 2px solid #7c5cfc;
    animation: awardsCursor 0.7s step-end infinite;
    padding-right: 2px;
    display: inline-block;
    min-width: 130px;
    text-align: left;
}
@keyframes awardsCursor {
    0%, 100% { border-color: transparent; }
    50%      { border-color: #7c5cfc; }
}
.about__awards-arrow {
    font-size: 20px;
    color: #7c5cfc;
}
.about__award {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
    padding: 0 30px;
    border-left: 1px solid #e6ddd0;
}
.about__award img {
    width: 130px;
    height: 130px;
    object-fit: contain;
    flex-shrink: 0;
}
.about__award p {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.6;
    color: #5a5a5a;
    margin: 0;
}
/* АДАПТИВ */

@media (max-width: 1024px) {
    .about__top {
        flex-direction: column;
        align-items: center;
    }
    .about__photo-wrap {
        flex: unset;
        max-width: 320px;
    }
    .about__cols {
        grid-template-columns: repeat(2, 1fr);
    }
    .about__features {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .about {
        padding: 50px 0;
    }
    .about__cols {
        grid-template-columns: 1fr;
    }
    .about__features {
        grid-template-columns: 1fr;
    }
    .about__awards {
        flex-direction: column;
        align-items: flex-start;
    }
    .about__title {
        font-size: 38px;
    }
}
/* ===== МОДАЛКА КОНТАКТОВ ===== */
.contact-modal {
    position: fixed;
    inset: 0;
    z-index: 10060;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
}
.contact-modal.active {
    display: flex;
}
.contact-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.9);
    backdrop-filter: blur(6px);
}
.contact-modal__card {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1100px;
    display: flex;
    align-items: stretch;
    gap: 0;
    background: linear-gradient(135deg, #16161f 0%, #1a1424 100%);
    border: 1.5px solid rgba(124,92,252,0.3);
    border-radius: 22px;
    padding: 40px;
}
.contact-modal__close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1.5px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.08);
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 2;
}
.contact-modal__close:hover {
    background: #7c5cfc;
    border-color: #7c5cfc;
}
/* Левая часть — Мила */
.contact-modal__person {
    flex: 0 0 42%;
    display: flex;
    align-items: center;
    gap: 24px;
    padding-right: 40px;
}
.contact-modal__photo {
    flex: 0 0 150px;
    width: 150px;
    height: 190px;
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid rgba(124,92,252,0.5);
}
.contact-modal__photo img, .contact-modal__photo video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.contact-modal__name {
    font-family: 'Bebas Neue', Arial, sans-serif;
    font-size: 34px;
    line-height: 0.95;
    letter-spacing: 1.5px;
    color: #fff;
    margin-bottom: 8px;
}
.contact-modal__role {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #7c5cfc;
    margin-bottom: 14px;
}
.contact-modal__phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Bebas Neue', Arial, sans-serif;
    font-size: 24px;
    letter-spacing: 1px;
    color: #c8f000;
    margin-bottom: 14px;
    transition: color 0.3s;
}
.contact-modal__phone:hover {
    color: #aacc00;
}
.contact-modal__desc {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    color: #aaa;
    line-height: 1.6;
    margin-bottom: 14px;
}
.contact-modal__tg-link {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #c8f000;
    transition: color 0.3s;
}
.contact-modal__tg-link:hover {
    color: #fff;
}
/* Разделитель */
.contact-modal__divider {
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(124,92,252,0.35) 20%, rgba(124,92,252,0.35) 80%, transparent);
    flex-shrink: 0;
}
/* Правая часть */
.contact-modal__cta {
    flex: 1;
    padding-left: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.contact-modal__cta-title {
    font-family: 'Bebas Neue', Arial, sans-serif;
    font-size: 34px;
    letter-spacing: 1.5px;
    color: #fff;
    line-height: 1.05;
    margin-bottom: 10px;
}
.contact-modal__cta-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: #999;
    margin-bottom: 24px;
}
.contact-modal__btns {
    display: flex;
    gap: 14px;
}
.contact-modal__btn {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(255,255,255,0.04);
    border: 1.5px solid rgba(255,255,255,0.1);
    border-radius: 14px;
    padding: 16px 18px;
    transition: all 0.3s;
}
.contact-modal__btn:hover {
    border-color: #7c5cfc;
    background: rgba(124,92,252,0.1);
    transform: translateY(-3px);
}
.contact-modal__btn-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #fff;
}
.contact-modal__btn-icon--tg {
    background: #7c5cfc;
}
.contact-modal__btn-icon--vk {
    background: #7c5cfc;
}
.contact-modal__btn-icon--call {
    background: #c8f000;
    color: #111;
}
.contact-modal__btn-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.contact-modal__btn-text b {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.5px;
}
.contact-modal__btn-text small {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    color: #999;
}
/* АДАПТИВ МОДАЛКИ */

@media (max-width: 1024px) {
    .contact-modal__card {
        flex-direction: column;
        gap: 30px;
        padding: 30px;
    }
    .contact-modal__person {
        flex: unset;
        padding-right: 0;
    }
    .contact-modal__divider {
        width: 100%;
        height: 1px;
    }
    .contact-modal__cta {
        padding-left: 0;
    }
}

@media (max-width: 768px) {
    .contact-modal__person {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    .contact-modal__btns {
        flex-direction: column;
    }
    .contact-modal__cta-title {
        font-size: 28px;
    }
}
/* ==================================================
   АДАПТИВНЫЕ ПРАВКИ DON EVENT
   ================================================== */

@media (max-width: 1280px) {
    .container, .header__inner, .hero__inner {
        max-width: 1180px;
        padding-left: 32px;
        padding-right: 32px;
    }
    .header__nav {
        gap: 18px;
    }
    .header__phone {
        font-size: 14px;
    }
    .cta__card {
        min-height: 460px;
        padding: 44px 48px;
    }
    .cta__content {
        width: 560px;
        max-width: 560px;
    }
    .cta__title-line {
        font-size: 42px;
    }
    .cta__title-accent {
        font-size: 52px;
    }
    .cta__video-preview {
        right: 70px;
        width: 360px;
        height: 360px;
    }
    .section-divider-man__img {
        --man-width: 470px;
    }
    .niz-contacts__card {
        padding: 42px;
        gap: 34px;
    }
    .niz-contacts__video {
        width: 190px;
        height: 190px;
    }
}

@media (max-width: 1024px) {
    .header__nav, .header__contacts {
        display: none;
    }
    .burger {
        display: flex;
    }
    .header__nav.nav--open {
        display: flex !important;
        flex-direction: column;
        position: absolute;
        top: 82px;
        left: 0;
        right: 0;
        background: #111;
        padding: 24px 32px;
        border-bottom: 1px solid #222;
        z-index: 999;
    }
    .hero__inner {
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        min-height: auto;
        padding-top: 130px;
        gap: 40px;
    }
    .hero__content, .hero__image {
        flex: none;
        max-width: 100%;
        width: 100%;
    }
    .hero__image {
        justify-content: center;
    }
    .hero__stats-inner {
        flex-wrap: wrap;
        gap: 24px;
    }
    .hero__stat {
        flex: 0 0 calc(50% - 24px);
    }
    .hero__stat-divider {
        display: none;
    }
    .services__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .photo-gallery__item {
        width: 320px;
        height: 220px;
    }
    .about__top {
        flex-direction: column;
    }
    .about__photo-wrap {
        max-width: 420px;
        width: 100%;
    }
    .cta__card {
        flex-direction: column;
        align-items: flex-start;
        padding: 44px 40px 420px;
    }
    .cta__content {
        width: 100%;
        max-width: 100%;
    }
    .cta__video-preview {
        left: 50%;
        right: auto;
        top: auto;
        bottom: 40px;
        transform: translateX(-50%);
        width: 340px;
        height: 340px;
    }
    .niz-map__inner {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .niz-map__image img {
        max-height: 440px;
    }
    .niz-contacts__card {
        grid-template-columns: 1fr;
    }
    .niz-contacts__divider {
        display: none;
    }
    .niz-contacts__buttons {
        grid-template-columns: 1fr;
    }
    .footer__inner {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
    .footer__image {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .container, .header__inner, .hero__inner {
        padding-left: 20px;
        padding-right: 20px;
    }
    .header {
        padding: 10px 0;
    }
    .header__logo-img {
        height: 42px;
    }
    .hero {
        min-height: auto;
    }
    .hero__video {
        left: 0;
        width: 100%;
        opacity: 0.42;
    }
    .hero__overlay {
        background: rgba(0,0,0,0.72);
    }
    .hero__inner {
        padding-top: 110px;
        padding-bottom: 40px;
    }
    .hero__title {
        font-size: 48px;
    }
    .hero__btns {
        flex-wrap: wrap;
        gap: 14px;
    }
    .hero__phone-link {
        font-size: 28px;
    }
    .hero__badge-wrap, .hero__badge-img {
        width: 220px;
        height: 220px;
    }
    .hero__stat {
        flex: 0 0 100%;
    }
    .services__grid {
        grid-template-columns: 1fr;
    }
    .photo-gallery__header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    .photo-gallery__item {
        width: 100%;
        height: 230px;
        box-sizing: border-box;
    }
    .cta {
        padding: 40px 0 40px;
    }
    .cta__card {
        border-radius: 24px;
        padding: 34px 24px 330px;
    }
    .cta__title-line {
        font-size: 34px;
        white-space: normal;
    }
    .cta__title-accent {
        font-size: 42px;
        white-space: normal;
    }
    .cta__description {
        font-size: 14px;
    }
    .cta__contacts {
        flex-direction: column;
        align-items: flex-start;
    }
    .cta__phone {
        font-size: 34px;
    }
    .cta__video-preview {
        width: 260px;
        height: 260px;
        bottom: 34px;
    }
    .section-divider-man {
        height: 80px;
    }
    .section-divider-man__img {
        --man-width: 330px;
        --man-bottom: -20px;
    }
    .niz-map {
        padding-top: 30px;
    }
    .niz-map__title {
        font-size: 48px;
    }
    .niz-map__regions {
        grid-template-columns: 1fr;
    }
    .niz-contacts {
        padding: 40px 0 70px;
    }
    .niz-contacts__title {
        font-size: 42px;
    }
    .niz-contacts__card {
        padding: 28px 22px;
        border-radius: 20px;
    }
    .niz-contacts__person {
        flex-direction: column;
        align-items: flex-start;
    }
    .niz-contacts__video {
        width: 180px;
        height: 180px;
    }
    .niz-contacts__person-info h3, .niz-contacts__actions h3 {
        font-size: 28px;
    }
    .niz-contacts__phone {
        font-size: 16px;
        white-space: nowrap;
    }
    .footer__inner {
        grid-template-columns: 1fr 1fr;
        gap: 26px 24px;
        padding: 34px 0;
        align-items: start;
    }
    .footer__logo {
        grid-column: 1 / -1;
    }
    .footer__image {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero__title {
        font-size: 40px;
    }
    .section-title {
        font-size: 34px;
    }
    .btn {
        width: 100%;
        text-align: center;
    }
    .hero__phone-link {
        font-size: 24px;
    }
    .cta__card {
        padding: 28px 22px 310px;
        min-height: auto;
    }
    .cta__title-line {
        font-size: 30px;
        line-height: 1;
        white-space: normal;
    }
    .cta__title-accent {
        font-size: 36px;
        line-height: 1;
        white-space: normal;
    }
    .cta__phone {
        font-size: 26px;
    }
    .cta__video-preview {
        width: 220px;
        height: 220px;
        left: 50%;
        right: auto;
        top: auto;
        bottom: 42px;
        transform: translateX(-50%);
    }
    .section-divider-man {
        height: 115px;
    }
    .section-divider-man__img {
        --man-width: 260px;
        --man-bottom: -28px;
    }
    .niz-map__title {
        font-size: 40px;
    }
    .niz-contacts__card {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 26px !important;
        padding: 30px 22px !important;
        min-height: auto !important;
    }
    .niz-contacts__person {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 18px !important;
    }
    .niz-contacts__video {
        width: 150px;
        height: 150px;
    }
    .niz-contacts__person-info, .niz-contacts__actions {
        width: 100%;
        text-align: center;
    }
    .niz-contacts__person-info h3, .niz-contacts__actions h3 {
        font-size: 26px;
        line-height: 1.15;
        text-align: center;
    }
    .niz-contacts__person-info p, .niz-contacts__actions p {
        font-size: 14px;
        line-height: 1.55;
        text-align: center;
    }
    .niz-contacts__phone {
        font-size: 14px;
        justify-content: center;
        white-space: nowrap;
    }
    .niz-contacts__telegram-link {
        display: inline-block;
        text-align: center;
    }
    .niz-contacts__divider {
        display: none !important;
    }
    .niz-contacts__buttons {
        display: grid !important;
        grid-template-columns: 1fr !important;
        width: 100% !important;
        max-width: 100% !important;
        gap: 12px !important;
        margin: 0 !important;
    }
    .niz-contacts__btn {
        min-height: 74px;
        padding: 14px 16px;
        justify-content: flex-start;
        gap: 14px;
    }
    .niz-contacts__btn span {
        width: 46px;
        height: 46px;
        font-size: 22px;
        flex-shrink: 0;
    }
    .niz-contacts__btn strong {
        font-size: 12px;
    }
    .niz-contacts__btn small {
        font-size: 10px;
    }
}
/* ===== ФИКС: телефон Милы не должен переноситься ===== */
.niz-contacts__phone {
    white-space: nowrap;
    font-size: clamp(15px, 1.4vw, 18px);
}
.contact-modal__phone {
    white-space: nowrap;
}
/* ===== ФИКС: hero на планшете (горизонт и вертикаль) ===== */

@media (max-width: 1024px) {
    .hero__video {
        left: 0;
        right: 0;
        width: 100%;
    }
    .hero__overlay {
        background: linear-gradient( to right, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.6) 45%, rgba(0,0,0,0.35) 100% ), linear-gradient( to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0) 40%, rgba(0,0,0,0.45) 100% );
    }
}
/* ===== ФИКС: награды на планшете и телефоне ===== */

@media (max-width: 1024px) {
    /* блок наград — в столбик */
    .about__awards {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
    }
    /* заголовок "НАШИ НАГРАДЫ" — сверху, по центру */
    .about__awards-title {
        flex: unset;
        padding-right: 0;
        justify-content: center;
        margin-bottom: 4px;
    }
    /* награды — сетка по 2 в ряд (планшет) */
    .about__award {
        flex: unset;
        width: 100%;
        padding: 16px 0;
        border-left: none;
        border-top: 1px solid #e6ddd0;
    }
    .about__award:first-of-type {
        border-top: none;
    }
}
/* На узких телефонах — награда: фото сверху, текст под ним по центру */

@media (max-width: 560px) {
    .about__award {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    .about__award img {
        width: 110px;
        height: 110px;
    }
}
/* ===== ФИКС НАГРАД v2: планшет ===== */

@media (max-width: 1024px) {
    .about__awards {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        gap: 24px 30px;
        align-items: start;
    }
    /* заголовок "НАШИ НАГРАДЫ" — на всю ширину сверху */
    .about__awards-title {
        grid-column: 1 / -1;
        justify-content: flex-start;
        flex: unset;
        min-width: 0;
    }
    .about__awards-type {
        min-width: auto;
    }
    .about__award {
        flex-direction: row;
        align-items: center;
        gap: 16px;
        width: 100%;
        padding: 0;
        border: none;
    }
    .about__award img {
        width: 90px;
        height: 90px;
    }
    .about__award p {
        font-size: 13px;
    }
}

@media (max-width: 600px) {
    .about__awards {
        grid-template-columns: 1fr;
    }
}
/* ===== ФИКС HERO v2 ===== */

@media (max-width: 1280px) {
    .hero__bg {
        left: 0;
        right: 0;
        width: 100%;
    }
    .hero__video {
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover;
    }
    .hero__overlay {
        background: linear-gradient( to right, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.52) 22%, rgba(0,0,0,0.25) 52%, rgba(0,0,0,0.12) 100% ), linear-gradient( to bottom, rgba(0,0,0,0.28) 0%, rgba(0,0,0,0.05) 45%, rgba(0,0,0,0.45) 100% );
    }
}
/* ===== ФИКС: телефон Милы в одну строку (десктоп) ===== */
.niz-contacts__phone {
    white-space: nowrap !important;
    flex-wrap: nowrap;
}
.niz-contacts__person-info {
    min-width: 0;
}
/* ===== ФИКС: О компании на планшете горизонтально ===== */

@media (min-width: 769px) and (max-width: 1280px) {
    .about {
        padding: 70px 0;
        overflow: hidden;
    }
    .about .container {
        padding-left: 32px;
        padding-right: 32px;
    }
    .about__top {
        gap: 34px;
        align-items: stretch;
    }
    .about__photo-wrap {
        flex: 0 0 31%;
        max-width: 31%;
    }
    .about__title {
        font-size: 40px;
    }
    .about__line {
        margin: 12px 0 22px;
    }
    .about__text-block {
        gap: 12px;
        margin-bottom: 24px;
    }
    .about__text-lead {
        font-size: 18px;
        line-height: 1.42;
    }
    .about__text-body {
        font-size: 14px;
        line-height: 1.55;
    }
    .about__features {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        padding: 18px 0;
    }
    .about__feature {
        gap: 10px;
        padding: 8px 14px;
    }
    .about__feature img {
        width: 38px;
        height: 38px;
    }
    .about__feature p {
        font-size: 11px;
        line-height: 1.25;
    }
}
/* ===== ФИКС: нижний CTA на планшете горизонтально ===== */

@media (min-width: 1025px) and (max-width: 1280px) {
    .niz-contacts__card {
        padding: 34px 30px;
        grid-template-columns: minmax(0, 0.95fr) 1px minmax(0, 1.25fr);
        gap: 28px;
    }
    .niz-contacts__video {
        width: 170px;
        height: 170px;
    }
    .niz-contacts__person {
        gap: 18px;
    }
    .niz-contacts__person-info h3, .niz-contacts__actions h3 {
        font-size: 26px;
        line-height: 1.15;
    }
    .niz-contacts__person-info p, .niz-contacts__actions p {
        font-size: 14px;
        line-height: 1.5;
    }
    .niz-contacts__buttons {
        gap: 12px;
    }
    .niz-contacts__btn {
        min-width: 0;
        min-height: 82px;
        gap: 12px;
        padding: 14px 12px;
        border-radius: 14px;
    }
    .niz-contacts__btn span {
        width: 48px;
        height: 48px;
        font-size: 23px;
    }
    .niz-contacts__btn strong {
        font-size: 11px;
        line-height: 1.15;
    }
    .niz-contacts__btn small {
        font-size: 10px;
        line-height: 1.15;
    }
}
/* ==================================================
   ИТОГОВЫЙ ФИКС МОБИЛЬНЫХ (планшет вертикально + телефон)
   ================================================== */
/* --- 1. КОНТАКТЫ: планшет вертикально (769-1024px) --- */

@media (min-width: 769px) and (max-width: 1024px) {
    .niz-contacts__card {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 30px !important;
        padding: 36px 34px !important;
        align-items: stretch !important;
    }
    .niz-contacts__divider {
        display: none !important;
    }
    .niz-contacts__person {
        flex-direction: row;
        align-items: center;
        gap: 24px;
    }
    .niz-contacts__actions {
        text-align: left;
    }
    .niz-contacts__buttons {
        grid-template-columns: repeat(3, 1fr);
        gap: 14px;
    }
    .niz-contacts__btn {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        min-height: 0;
        padding: 16px;
    }
}
/* --- 2. CTA "ПРОФЕССИОНАЛАМ": кружок и текст на планшете/телефоне --- */

@media (max-width: 1024px) {
    .cta__card {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        padding: 40px 30px 40px !important;
        overflow: visible;
    }
    .cta__content {
        width: 100% !important;
        max-width: 100% !important;
        margin-bottom: 30px;
    }
    /* Кружок с видео — НЕ absolute, а в потоке, по центру */
    .cta__video-preview {
        position: relative !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        bottom: auto !important;
        transform: none !important;
        margin: 10px auto 0 !important;
        width: 300px !important;
        height: 300px !important;
        animation: none !important;
    }
    /* Текст "ПРОФЕССИОНАЛАМ" — уменьшаем, чтобы влезал */
    .cta__title-line {
        font-size: clamp(26px, 6vw, 40px) !important;
        white-space: normal !important;
        line-height: 1.05;
    }
    .cta__title-accent {
        font-size: clamp(30px, 7vw, 48px) !important;
        white-space: normal !important;
        line-height: 1.05;
    }
}
/* --- 3. Телефон: ещё меньше кружок и текст --- */

@media (max-width: 600px) {
    .cta__video-preview {
        width: 240px !important;
        height: 240px !important;
    }
    .cta__title-line {
        font-size: clamp(24px, 7vw, 32px) !important;
    }
    .cta__title-accent {
        font-size: clamp(28px, 8vw, 38px) !important;
    }
}
/* ==================================================
   ДОПРАВКА: CTA-текст + кейсы на мобильных
   ================================================== */
/* --- 1. "ПРОФЕССИОНАЛАМ" не вылазит (планшет + телефон) --- */

@media (max-width: 1024px) {
    .cta__title-accent {
        font-size: clamp(22px, 6.5vw, 44px) !important;
        white-space: normal !important;
        word-break: break-word;
        overflow-wrap: anywhere;
        line-height: 1.05;
        max-width: 100%;
    }
    .cta__title-line {
        font-size: clamp(22px, 6vw, 40px) !important;
        white-space: normal !important;
        word-break: break-word;
        line-height: 1.1;
    }
    .cta__title {
        max-width: 100%;
        overflow-wrap: anywhere;
    }
}
/* На узких телефонах — ещё компактнее */

@media (max-width: 480px) {
    .cta__title-accent {
        font-size: clamp(20px, 8vw, 32px) !important;
    }
    .cta__title-line {
        font-size: clamp(18px, 7vw, 28px) !important;
    }
}
/* --- 2. КЕЙС: всё влезает на телефоне (≤768px) --- */
/* ==================================================
   ФИНАЛ: модалка + "ПРОФЕССИОНАЛАМ" одним словом
   ================================================== */
/* --- 1. МОДАЛКА "Свяжитесь с нами" — прокрутка, не обрезается --- */

@media (max-width: 1024px) {
    .contact-modal {
        align-items: flex-start !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch;
        padding: 20px 16px 40px !important;
    }
    .contact-modal__card {
        margin: auto 0;
        max-height: none !important;
    }
}
/* --- 2. "ПРОФЕССИОНАЛАМ" — БЕЗ переноса, только уменьшение шрифта --- */

@media (max-width: 1024px) {
    .cta__title-accent {
        white-space: nowrap !important;
        word-break: normal !important;
        overflow-wrap: normal !important;
        font-size: clamp(20px, 7.2vw, 48px) !important;
    }
    .cta__title-line {
        white-space: normal !important;
        word-break: normal !important;
        font-size: clamp(22px, 6vw, 40px) !important;
    }
}
/* ==================================================
   ИКОНКА MAX — вписываем в круглые кнопки
   ================================================== */
/* CTA "Профессионалам" — круглая соц-кнопка */
.cta__social--max img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}
/* Блок контактов внизу — круглый значок */
.niz-contacts__btn-max {
    background: #7c5cfc;
}
.niz-contacts__btn-max img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}
/* Модалка "Свяжитесь с нами" — круглый значок */
.contact-modal__btn-icon--max {
    background: #7c5cfc;
}
.contact-modal__btn-icon--max img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}
/* ===== ФИНАЛЬНАЯ ПРАВКА СТРАНИЦЫ УСЛУГ ===== */
.services-page {
    background: #05050b;
    color: #fff;
}
.services-page-hero {
    padding: 145px 0 80px;
    background: linear-gradient( 90deg, rgba(5,5,11,0.58) 0%, rgba(5,5,11,0.30) 45%, rgba(5,5,11,0.10) 100% ), url('/uploads/ysl.jpg') center center / cover no-repeat;
}
.services-page-hero__label {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.services-page-hero__title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(44px, 5vw, 74px);
    font-weight: 900;
    line-height: 0.96;
    text-transform: uppercase;
    color: #fff;
    max-width: 820px;
    margin-bottom: 22px;
}
.services-page-hero__title span {
    color: #c8f000;
}
.services-page-hero__text {
    font-family: 'Montserrat', sans-serif;
    font-size: 17px;
    line-height: 1.7;
    color: #cfcfcf;
    max-width: 850px;
}
.services-page-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    align-items: center;
    gap: 70px;
}
.services-page-hero__content {
    max-width: 860px;
}
.services-page-hero__badge {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
.services-page-hero__badge .hero__badge-wrap, .services-page-hero__badge .hero__badge-img {
    width: 300px;
    height: 300px;
}

@media (max-width: 1024px) {
    .services-page-hero__inner {
        grid-template-columns: 1fr;
        gap: 34px;
    }
    .services-page-hero__badge {
        justify-content: flex-start;
    }
    .services-page-hero__badge .hero__badge-wrap, .services-page-hero__badge .hero__badge-img {
        width: 230px;
        height: 230px;
    }
}

@media (max-width: 768px) {
    .services-page-hero__title {
        font-size: clamp(36px, 10vw, 48px);
        max-width: 100%;
    }
    .services-page-hero__badge .hero__badge-wrap, .services-page-hero__badge .hero__badge-img {
        width: 200px;
        height: 200px;
    }
}
.services-page-list {
    padding: 70px 0 100px;
    background: #111;
}
.service-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 95px;
}
.service-item:last-child {
    margin-bottom: 0;
}
.service-item--reverse .service-item__img {
    order: 2;
}
.service-item--reverse .service-item__content {
    order: 1;
}
.service-item__img {
    border-radius: 20px;
    overflow: hidden;
}
.service-item__img img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}
.service-item__content {
    position: relative;
}
.service-item__num {
    font-family: 'Oswald', sans-serif;
    font-size: 74px;
    font-weight: 700;
    color: rgba(255,255,255,0.05);
    line-height: 1;
    display: block;
    margin-bottom: 18px;
}
.service-item__title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(32px, 3.3vw, 48px);
    font-weight: 500;
    line-height: 1.12;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 22px;
    max-width: 680px;
}
.service-item__title::after {
    content: '';
    display: block;
    width: 100%;
    max-width: 520px;
    height: 4px;
    background: #c8f000;
    margin-top: 14px;
    border-radius: 10px;
}
.service-item__text {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    line-height: 1.75;
    color: #aaa;
    margin-bottom: 24px;
    max-width: 720px;
}
.service-item__list {
    list-style: none;
    margin-bottom: 32px;
}
.service-item__list li {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    color: #d7d7d7;
    padding: 10px 0 10px 24px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    position: relative;
}
.service-item__list li::before {
    content: "→";
    color: #c8f000;
    position: absolute;
    left: 0;
}

@media (max-width: 1024px) {
    .service-item, .service-item--reverse {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .service-item--reverse .service-item__img, .service-item--reverse .service-item__content {
        order: initial;
    }
}

@media (max-width: 768px) {
    .services-page-hero {
        padding: 115px 0 50px;
    }
    .services-page-list {
        padding: 50px 0 70px;
    }
    .service-item {
        margin-bottom: 70px;
    }
    .service-item__img img {
        height: 260px;
    }
    .service-item__title {
        font-size: 30px;
    }
    .service-item__text, .service-item__list li {
        font-size: 14px;
    }
}
/* ===== CTA-блок на странице УСЛУГ (как на главной) ===== */
/* Светлый фон у секции */
.services-cta {
    background: #fcf9f4;
    padding: 50px 0 0;
    overflow: visible;
}
/* Полоска под карточкой — на ней стоит дед.
   Делаем высоту НИЖЕ, чтобы низ деда уходил за следующий чёрный блок */
.services-cta .section-divider-man {
    background: #fcf9f4 !important;
    height: 70px;
    overflow: visible;
    position: relative;
    z-index: 5;
}
/* Карточка как на главной */
.services-cta .cta__card {
    min-height: 520px;
}
/* Текст ужат слева, чтобы не лез под кружок */
.services-cta .cta__content {
    width: 640px;
    max-width: 640px;
}
.services-cta .cta__description {
    max-width: 470px;
}
/* ДЕД: крупный, справа возле кружка, низ уходит вниз за чёрный блок */
.services-cta .section-divider-man__img {
    --man-width: 600px;
    position: absolute;
    left: auto;
    right: 30%;
    bottom: -40px;
    transform: none;
    width: var(--man-width);
    height: auto;
    z-index: 5;
}
/* Следующий за CTA блок (карта Черноземья) должен быть ВЫШЕ деда,
   чтобы перекрывать его низ */
.services-cta + .niz-map {
    position: relative;
    z-index: 10;
}
/* Иконка MAX внутри круглой кнопки */
.services-cta .cta__social--max img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}
/* ПЛАНШЕТ — дед поменьше */

@media (max-width: 1024px) {
    .services-cta .section-divider-man__img {
        --man-width: 340px;
        right: 2%;
        bottom: -30px;
    }
}
/* ТЕЛЕФОН — дед ещё меньше и по центру под кружком */

@media (max-width: 768px) {
    .services-cta .section-divider-man__img {
        --man-width: 240px;
        right: 50%;
        transform: translateX(50%);
        bottom: -20px;
    }
}
/* ===== ФИКС: кнопки контактов на странице услуг — содержимое по центру ===== */
.services-page .niz-contacts__btn {
    justify-content: center;
}
/* ===== кнопки контактов на ГЛАВНОЙ — содержимое по левому краю ===== */
.niz-contacts__btn {
    justify-content: flex-start;
}
/* ==================================================
   ФИКС ГАЛЕРЕИ КЕЙСОВ НА МОБИЛЬНЫХ
   ================================================== */

@media (max-width: 1024px) {
    /* Модалка: прокрутка сверху, не по центру */
    .gallery-modal {
        align-items: flex-start;
        padding: 20px 14px 40px;
    }
    .gallery-modal__wrap {
        padding: 28px 22px;
        border-radius: 16px;
    }
    /* Тело модалки — в ОДНУ колонку (текст сверху, фото снизу) */
    .gallery-modal__body {
        flex-direction: column;
        gap: 24px;
        min-height: 0;
    }
    /* Сайдбар — на всю ширину */
    .gallery-modal__sidebar {
        flex: unset;
        max-width: 100%;
        padding-right: 0;
    }
    /* Вертикальный разделитель → горизонтальный */
    .gallery-modal__divider {
        width: 100%;
        height: 1px;
        background: linear-gradient(to right, transparent, rgba(200,240,0,0.3) 20%, rgba(200,240,0,0.3) 80%, transparent);
    }
    /* Фото — на всю ширину */
    .gallery-modal__photos {
        flex: unset;
        padding-left: 0;
        width: 100%;
    }
    /* Сетка фото — 2 в ряд на планшете */
    .gallery-modal__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

@media (max-width: 768px) {
    .gallery-modal {
        padding: 16px 10px 30px;
    }
    .gallery-modal__wrap {
        padding: 24px 16px;
    }
    /* Отступ под кнопкой закрытия, чтобы заголовок не налезал */
    .gallery-modal__header {
        padding-right: 44px;
    }
    .gallery-modal__title {
        font-size: 30px;
    }
    .gallery-modal__sub {
        font-size: 13px;
    }
    /* Описание — нормальный текст, без переноса по словам */
    .gallery-modal__desc p {
        font-size: 13px;
    }
    /* Сетка фото — 2 в ряд */
    .gallery-modal__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    /* Кнопка закрытия — чуть меньше */
    .gallery-modal__close {
        width: 36px;
        height: 36px;
        top: 14px;
        right: 14px;
        font-size: 14px;
    }
}
/* Очень узкие телефоны — фото по одному в ряд */

@media (max-width: 420px) {
    .gallery-modal__grid {
        grid-template-columns: 1fr;
    }
    .gallery-modal__title {
        font-size: 26px;
    }
}
/* FIX: скрываем видео-модалки, которые не должны быть видны внизу сайта */
.cta-video-modal, .video-modal, .case-video-modal {
    display: none !important;
}
.cta-video-modal.active, .video-modal.active, .case-video-modal.active {
    display: flex !important;
}
/* ============================================================
   КВИЗ «Соберите своё событие»
   ============================================================ */
.quiz {
    position: relative;
    z-index: 1;
    background:
        radial-gradient(90% 70% at 8% 8%, rgba(139,92,246,0.28), transparent 55%),
        radial-gradient(120% 90% at 88% 92%, rgba(139,92,246,0.28), transparent 55%),
        #0a0a0e;
    padding: 90px 0;
    overflow: hidden;
}
.quiz__inner {
    display: grid;
    grid-template-columns: 0.82fr 1.18fr;
    gap: 46px;
    align-items: stretch;
}
.quiz__left {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 4px;
}
.quiz__title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(38px, 4vw, 58px);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -0.5px;
    color: #fff;
    margin: 0 0 20px;
}
.quiz__title .accent { color: #c8f000; }
.quiz__sub {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(15px, 1.2vw, 18px);
    line-height: 1.55;
    color: #9a9aa5;
    max-width: 400px;
    margin: 0 0 34px;
}
.quiz__feat { display: flex; flex-direction: column; gap: 18px; }
.quiz__feat-row { display: flex; align-items: center; gap: 13px; }
.quiz__feat-ico {
    width: 44px; height: 44px; flex-shrink: 0;
    border-radius: 50%;
    border: 1.5px solid rgba(200,240,0,0.45);
    color: #c8f000; font-size: 17px;
    display: flex; align-items: center; justify-content: center;
}
.quiz__feat-t { font-family: 'Montserrat', sans-serif; font-size: 15px; font-weight: 700; color: #fff; }
.quiz__feat-s { font-family: 'Montserrat', sans-serif; font-size: 13px; color: #8a8a95; }
.quiz__note {
    max-width: 430px;
    margin-top: 30px;
    padding-left: 18px;
    border-left: 2px solid rgba(200,240,0,0.45);
}

.quiz__note p {
    margin: 0 0 14px;
    font-family: 'Montserrat', sans-serif;
    font-size: 13.5px;
    font-weight: 500;
    line-height: 1.75;
    color: rgba(255,255,255,0.66);
}

.quiz__note p:last-child {
    margin-bottom: 0;
}

.quiz__card-border {
    position: relative;
    border-radius: 24px;
    padding: 1px;
    background: linear-gradient(150deg, rgba(200,240,0,0.3), rgba(139,92,246,0.35) 55%, rgba(255,255,255,0.04));
}
.quiz__card {
    background: linear-gradient(160deg, #141118 0%, #100c15 55%, #130e1a 100%);
    border-radius: 23px;
    padding: 30px 28px;
    min-height: 100%;
    box-sizing: border-box;
}
.quiz__label { font-family: 'Montserrat', sans-serif; color: #f0f0f4; font-size: 13px; font-weight: 700; margin-bottom: 13px; }

.quiz__tabs { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 28px; }
.quiz__tab {
    background: #232323;
    border: 1.5px solid transparent;
    color: #ffffff;
    border-radius: 10px;
    padding: 12px 18px;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px; font-weight: 600;
    cursor: pointer;
    flex: 1 1 auto;
    white-space: nowrap;
}
.quiz__tab.is-active {
    background: #000;
    border-color: #c8f000;
    color: #c8f000;
    box-shadow: 0 0 16px rgba(200,240,0,0.5);
}

.quiz__row-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.quiz__row-title { font-family: 'Montserrat', sans-serif; color: #f0f0f4; font-size: 13px; font-weight: 700; }
.quiz__row-val { font-family: 'Montserrat', sans-serif; color: #c8f000; font-size: 22px; font-weight: 800; }
.quiz__slider { margin-bottom: 26px; }
.quiz__track { position: relative; height: 24px; cursor: pointer; }
.quiz__line { position: absolute; top: 50%; left: 0; right: 0; height: 3px; transform: translateY(-50%); background: rgba(255,255,255,0.16); border-radius: 3px; }
.quiz__fill { position: absolute; top: 50%; left: 0; height: 3px; transform: translateY(-50%); background: #c8f000; border-radius: 3px; }
.quiz__dots { position: absolute; top: 50%; left: 0; right: 0; transform: translateY(-50%); display: flex; justify-content: space-between; }
.quiz__dot { width: 11px; height: 11px; border-radius: 50%; background: #4a4a55; box-shadow: 0 0 0 3px #12101a; }
.quiz__dot.on { background: #c8f000; }
.quiz__knob { position: absolute; top: 50%; width: 19px; height: 19px; border-radius: 50%; background: #c8f000; transform: translate(-50%,-50%); box-shadow: 0 0 0 4px #12101a, 0 0 12px rgba(200,240,0,0.7); pointer-events: none; }
.quiz__range { position: absolute; inset: 0; width: 100%; margin: 0; opacity: 0; cursor: pointer; }
.quiz__labels { display: flex; justify-content: space-between; margin-top: 11px; font-family: 'Montserrat', sans-serif; font-size: 11px; color: #9a9aa5; }

.quiz__fields { display: flex; gap: 10px; margin-bottom: 10px; }
.quiz__inp {
    flex: 1; min-width: 0;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 10px;
    padding: 13px 14px;
    color: #fff;
    font-family: 'Montserrat', sans-serif; font-size: 13px;
}
.quiz__inp::placeholder { color: #7a7a85; }
.quiz__inp:focus { outline: none; border-color: #c8f000; }
.quiz__inp--full { width: 100%; box-sizing: border-box; margin-bottom: 20px; }

.quiz__submit {
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 12px;
    background: #c8f000;
    color: #0a0a0e;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 12px 30px rgba(200,240,0,0.28);
    transition: transform 0.2s ease, filter 0.2s ease;
}
.quiz__submit:hover { transform: translateY(-2px); filter: brightness(1.06); }
.quiz__submit:disabled { opacity: 0.6; cursor: default; transform: none; }

.quiz__thanks { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 100%; text-align: center; padding: 40px 20px; }
.quiz__thanks i { color: #c8f000; font-size: 46px; margin-bottom: 18px; }
.quiz__thanks-t { font-family: 'Montserrat', sans-serif; color: #fff; font-size: 20px; font-weight: 800; margin-bottom: 8px; }
.quiz__thanks-s { font-family: 'Montserrat', sans-serif; color: #9a9aa5; font-size: 13px; line-height: 1.5; }

/* Анимация появления (общая — переиспользуем для команды и отзывов) */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal--left { transform: translateX(-50px); }
.reveal--right { transform: translateX(50px); }
.reveal.is-visible { opacity: 1; transform: none; }

/* Планшет / телефон */
@media (max-width: 900px) {
    .quiz { padding: 64px 0; }
    .quiz__inner { grid-template-columns: 1fr; gap: 30px; }
    .quiz__left, .quiz__card-border, .quiz__card { min-width: 0; max-width: 100%; }
    .quiz__inp { min-width: 0; }
    .quiz__tab { flex: 1 1 auto; }
}
@media (max-width: 768px) {
    .quiz__card { padding: 24px 18px; }
    .quiz__tab { padding: 11px 13px; font-size: 12px; }
    .reveal--left, .reveal--right { transform: translateY(30px); }
}

/* ============================================================
   КОМАНДА (светлая секция)
   ============================================================ */
.team {
    position: relative;
    z-index: 1;
    background: #f5f3ee;
    padding: 130px 0;
    overflow: hidden;
}
.team__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: stretch;
}
.team__left { display: flex; flex-direction: column; }
.team__cta-row { margin-top: auto; }

.team__title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(30px, 3.4vw, 50px);
    font-weight: 600;
    line-height: 1.06;
    letter-spacing: 0.5px;
    color: #14140f;
    margin: 0 0 20px;
}
.team__line {
    display: block;
    width: 60px;
    height: 3px;
    border-radius: 3px;
    background: #c8f000;
    margin: 0 0 22px;
}
.team__sub {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(14px, 1.1vw, 16px);
    line-height: 1.6;
    color: #55554d;
    max-width: 440px;
    margin: 0 0 34px;
}
.team__sub b { color: #14140f; font-weight: 700; }

.team__feats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin: 0 0 36px;
    align-items: stretch;
}
.team__feat {
    height: 100%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 16px;
    padding: 16px 13px;
    box-shadow: 0 12px 28px rgba(0,0,0,0.06);
    overflow-wrap: break-word;
}
.team__feat {
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: #faf9f5;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 16px;
    padding: 18px 12px;
}
.team__feat-ico {
    width: 40px; height: 40px;
    border-radius: 50%;
    border: 1.5px solid #c8f000;
    background: #f3f2ec;
    display: flex; align-items: center; justify-content: center;
    color: #14140f; font-size: 16px;
    position: relative;
}
.team__feat-ico::after {
    display: none;
}
.team__feat-t { font-family: 'Montserrat', sans-serif; font-size: 12px; font-weight: 700; color: #14140f; white-space: nowrap; }
.team__feat-s { font-family: 'Montserrat', sans-serif; font-size: 12px; color: #7a7a70; line-height: 1.3; }

.team__cta-row { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.team__btn {
    display: inline-flex; align-items: center; gap: 12px;
    padding: 16px 28px;
    border-radius: 12px;
    background: #14140f;
    color: #fff;
    font-family: 'Montserrat', sans-serif; font-size: 14px; font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease, background 0.2s ease;
}
.team__btn i { color: #c8f000; }
.team__btn:hover { transform: translateY(-2px); background: #000; }
.team__note {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: 'Montserrat', sans-serif; font-size: 13px; color: #55554d;
}
.team__note-dot { width: 8px; height: 8px; border-radius: 50%; background: #c8f000; }

/* Правая часть — фото на орбите */
.team__right { position: relative; }
.team__orbit {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px 40px;
    max-width: 460px;
    margin: 0 auto;
}
.team__orbit::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 108%; height: 108%;
    transform: translate(-50%, -50%);
    border: 1.5px dashed rgba(0,0,0,0.14);
    border-radius: 50%;
    pointer-events: none;
}
.team__orbit::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 132%; height: 132%;
    transform: translate(-50%, -50%);
    border: 1px dashed rgba(0,0,0,0.08);
    border-radius: 50%;
    pointer-events: none;
}
.team__member { text-align: center; position: relative; z-index: 1; }
.team__photo {
    position: relative;
    width: clamp(140px, 16vw, 210px);
    height: clamp(140px, 16vw, 210px);
    margin: 0 auto 14px;
    border-radius: 50%;
    background: #e2e0d8;
    border: 4px solid #fff;
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
    overflow: visible;
    display: flex; align-items: center; justify-content: center;
}
.team__photo-ph { color: #b3b1a6; font-size: 40px; }
.team__photo img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    border-radius: 50%;
}
.team__badge {
    position: absolute; bottom: 8px; right: 8px;
    width: 30px; height: 30px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 12px; color: #14140f;
    border: 3px solid #f5f3ee;
    z-index: 2;
}
.team__badge--lime { background: #c8f000; }
.team__badge--purple { background: #8b5cf6; color: #fff; }
.team__name { font-family: 'Montserrat', sans-serif; font-size: clamp(14px, 1.1vw, 16px); font-weight: 800; color: #14140f; }
.team__role { font-family: 'Montserrat', sans-serif; font-size: 12px; color: #7a7a70; margin-top: 3px; }

/* Анимация появления (самодостаточна: без JS — всё видно) */
.reveal { transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal--armed { opacity: 0; transform: translateY(30px); }
.reveal--armed.reveal--left { transform: translateX(-50px); }
.reveal--armed.reveal--right { transform: translateX(50px); }
.reveal.is-visible { opacity: 1; transform: none; }

/* Планшет / телефон */
@media (max-width: 1024px) {
    .team { padding: 66px 0; }
    .team__inner { grid-template-columns: 1fr; gap: 44px; }
    .team__orbit::before { display: none; }
    .team__orbit { max-width: 420px; }
    .reveal--armed.reveal--left,
    .reveal--armed.reveal--right { transform: translateY(30px); }
}
@media (max-width: 768px) {
    .team__feats { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .team__feat { padding: 16px 12px; }
    .team__feat-t { font-size: 11.5px; }
}
@media (max-width: 420px) {
    .team__orbit { gap: 24px 20px; }
}
/* ============================================================
   ОТЗЫВЫ КЛИЕНТОВ — премиальная карусель
   4 карточки без обрезания, стрелки как в дизайне
   ============================================================ */

.reviews {
    position: relative;
    z-index: 1;
    background:
        linear-gradient(rgba(5,5,8,0.76), rgba(5,5,8,0.88)),
        radial-gradient(90% 70% at 70% 0%, rgba(139,92,246,0.24), transparent 58%),
        url('/uploads/section-bg.jpg') center center / cover no-repeat;
    padding: 84px 0 76px;
    overflow: hidden;
    isolation: isolate;
}

.reviews::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(circle at 18% 12%, rgba(139,92,246,0.16), transparent 34%),
        linear-gradient(90deg, rgba(0,0,0,0.68) 0%, rgba(0,0,0,0.20) 48%, rgba(0,0,0,0.72) 100%);
}

.reviews .container {
    max-width: 1440px;
}

/* ШАПКА */
.reviews__head {
    margin-bottom: 34px;
    max-width: 920px;
}

.reviews__title {
    margin: 0 0 18px;
    font-family: 'Bebas Neue', 'Arial Narrow', Arial, sans-serif;
    font-size: clamp(40px, 3.6vw, 56px);
    font-weight: 400;
    line-height: 1.02;
    letter-spacing: 2px;
    color: #fff;
}

.reviews__title .accent {
    color: #c8f000;
}

.reviews__sub {
    margin: 0;
    max-width: 980px;
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(13px, 1vw, 15px);
    font-weight: 400;
    line-height: 1.7;
    color: rgba(255,255,255,0.70);
}

/* СЛАЙДЕР */
.reviews__slider {
    position: relative;
    padding: 0;
    overflow: visible;
}

.reviews__track {
    display: flex;
    gap: 20px;
    width: 100%;
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 0;
    padding: 0 0 10px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.reviews__track::-webkit-scrollbar {
    display: none;
}

/* 4 карточки ровно помещаются в ряд */
.reviews__card {
    flex: 0 0 calc((100% - 60px) / 4);
    min-width: 0;
    aspect-ratio: 0.707 / 1;
    min-height: 0;
    scroll-snap-align: start;
    border-radius: 18px;
    background:
        linear-gradient(145deg, rgba(255,255,255,0.035) 0%, rgba(255,255,255,0.01) 45%, rgba(139,92,246,0.10) 100%),
        rgba(10,10,14,0.72);
    border: 1px solid rgba(139,92,246,0.34);
    box-shadow:
        0 20px 48px rgba(0,0,0,0.38),
        inset 0 1px 0 rgba(255,255,255,0.05);
    padding: 16px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.reviews__card--quote {
    position: relative;
    padding: 28px 26px 24px;
    border-color: rgba(139,92,246,0.58);
    background:
        linear-gradient(135deg, rgba(139,92,246,0.10) 0%, rgba(255,255,255,0.012) 48%, rgba(139,92,246,0.16) 100%),
        rgba(9,9,13,0.78);
}

.reviews__card--quote::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 44%;
    height: 100%;
    background: linear-gradient(135deg, transparent 0%, rgba(255,255,255,0.035) 50%, transparent 51%);
    pointer-events: none;
    opacity: 0.45;
}

/* Карточка-письмо */
.reviews__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    align-self: center;
    padding: 8px 18px;
    border-radius: 100px;
    background: rgba(139,92,246,0.14);
    border: 1px solid rgba(139,92,246,0.78);
    color: #d9ccff;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.reviews__badge i {
    color: #8b5cf6;
}

.reviews__letter {
    position: relative;
    width: 100%;
    flex: 1 1 auto;
    min-height: 0;
    border-radius: 8px;
    background: transparent;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reviews__letter-ph {
    display: none;
}

.reviews__letter img {
    position: static;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    object-position: center center;
    background: transparent;
}

/* Текстовый отзыв */
.reviews__quote-ico {
    position: relative;
    z-index: 1;
    display: block;
    color: #8b5cf6;
    font-size: 44px;
    line-height: 0.8;
    margin: 0 0 24px;
    text-shadow: 0 0 24px rgba(139,92,246,0.28);
}

.reviews__text {
    position: relative;
    z-index: 1;
    margin: 0 0 26px;
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(13px, 0.95vw, 15px);
    font-weight: 400;
    line-height: 1.62;
    color: rgba(255,255,255,0.78);
}

.reviews__author {
    position: relative;
    z-index: 1;
    margin-top: auto;
    border-top: 1px solid rgba(139,92,246,0.45);
    padding-top: 18px;
}

.reviews__author-name {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(16px, 1.15vw, 19px);
    font-weight: 900;
    line-height: 1.15;
    color: #fff;
}

.reviews__author-role {
    margin-top: 6px;
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(12px, 0.9vw, 14px);
    font-weight: 400;
    line-height: 1.25;
    color: rgba(255,255,255,0.58);
}

.reviews__author-company {
    margin-top: 7px;
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(12px, 0.9vw, 14px);
    font-weight: 800;
    line-height: 1.2;
    color: #8b5cf6;
}

/* Стрелки как на дизайне */
.reviews__arrow {
    position: absolute;
    top: 50%;
    z-index: 8;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    border: 1.5px solid rgba(255,255,255,0.88);
    background: rgba(0,0,0,0.28);
    color: #ffffff;
    font-size: 21px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transform: translateY(-50%);
    box-shadow: 0 18px 40px rgba(0,0,0,0.38);
    backdrop-filter: blur(8px);
    transition:
        transform 0.22s ease,
        background 0.22s ease,
        color 0.22s ease,
        border-color 0.22s ease;
}

.reviews__arrow:hover {
    background: rgba(255,255,255,0.14);
    color: #ffffff;
    border-color: #ffffff;
    transform: translateY(-50%) scale(1.06);
}

.reviews__arrow--prev {
    left: -78px;
}

.reviews__arrow--next {
    right: -78px;
}

/* Точки */
.reviews__dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.reviews__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.24);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.25s ease;
}

.reviews__dot.is-active {
    width: 110px;
    border-radius: 99px;
    background: linear-gradient(90deg, #8b5cf6, #c8f000);
}

/* Анимация появления */
.reveal {
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal--armed {
    opacity: 0;
    transform: translateY(30px);
}

.reveal--armed.reveal--left {
    transform: translateX(-50px);
}

.reveal--armed.reveal--right {
    transform: translateX(50px);
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

/* Ноутбуки */
@media (max-width: 1500px) {
    .reviews .container {
        max-width: 1280px;
    }

    .reviews__arrow--prev {
        left: -58px;
    }

    .reviews__arrow--next {
        right: -58px;
    }
}

/* Планшет */
@media (max-width: 1180px) {
    .reviews {
        padding: 66px 0;
    }

    .reviews__card {
        flex: 0 0 calc((100% - 40px) / 3);
    }

    .reviews__arrow {
        width: 50px;
        height: 50px;
    }

    .reviews__arrow--prev {
        left: -18px;
    }

    .reviews__arrow--next {
        right: -18px;
    }

    .reviews__dot.is-active {
        width: 80px;
    }
}

/* Телефон */
@media (max-width: 768px) {
    .reviews {
        padding: 56px 0;
    }

    .reviews__head {
        margin-bottom: 28px;
    }

    .reviews__card {
        flex: 0 0 82%;
        min-height: 420px;
    }

    .reviews__card--quote {
        padding: 28px 24px 24px;
    }

    .reviews__arrow {
        width: 42px;
        height: 42px;
        font-size: 16px;
        background: rgba(0,0,0,0.34);
        color: #ffffff;
        border-color: rgba(255,255,255,0.88);
    }

    .reviews__arrow--prev {
        left: 2px;
    }

    .reviews__arrow--next {
        right: 2px;
    }

    .reviews__dot.is-active {
        width: 48px;
    }

    .reveal--armed.reveal--left,
    .reveal--armed.reveal--right {
        transform: translateY(30px);
    }
}
.quiz__submit-row { display: flex; gap: 12px; }
.quiz__submit { flex: 1; }
.quiz__callback {
    flex: 0 0 auto;
    padding: 16px 22px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(120deg, #a855f7, #7c3aed);
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px; font-weight: 800; letter-spacing: 0.5px; text-transform: uppercase;
    cursor: pointer;
    white-space: nowrap;
    transition: transform 0.2s ease, filter 0.2s ease;
}
.quiz__callback:hover { transform: translateY(-2px); filter: brightness(1.08); }
.quiz__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
@media (max-width: 560px) {
    .quiz__submit-row { flex-direction: column; }
}
a.hero__badge-wrap { cursor: pointer; text-decoration: none; transition: transform 0.3s ease; }
a.hero__badge-wrap:hover { transform: scale(1.04); }
/* Плавное появление секций при прокрутке */
.reveal-up { opacity: 1; }
.js-anim .reveal-l,
.js-anim .reveal-r { opacity: 0; transition: opacity 1.1s cubic-bezier(.2,.8,.2,1), transform 1.1s cubic-bezier(.2,.8,.2,1); }
.js-anim .reveal-l { transform: translateX(-60px); }
.js-anim .reveal-r { transform: translateX(60px); }
.js-anim .reveal-l.is-visible,
.js-anim .reveal-r.is-visible { opacity: 1; transform: none; }
/* секции: анимируем содержимое, а не саму секцию — фон не мигает */
.js-anim .reveal-up > .container { opacity: 0; transform: translateY(48px); transition: opacity 1.1s cubic-bezier(.2,.8,.2,1), transform 1.1s cubic-bezier(.2,.8,.2,1); }
.js-anim .reveal-up.is-visible > .container { opacity: 1; transform: none; }

/* Волна-переход (живая, многослойная) */
.wave-transition {
    background: radial-gradient(140% 120% at 85% 0%, rgba(139,92,246,0.22), transparent 60%), #0a0a0e;
    line-height: 0;
}
.wave-transition .waves {
    display: block;
    width: 100%;
    height: 90px;
}
.wave-parallax > use {
    animation: wave-move 25s cubic-bezier(.55,.5,.45,.5) infinite;
}
.wave-parallax > use:nth-child(1) { animation-delay: -2s; animation-duration: 20s; }
.wave-parallax > use:nth-child(2) { animation-delay: -5s; animation-duration: 32s; }
@keyframes wave-move {
    0%   { transform: translate3d(-90px, 0, 0); }
    100% { transform: translate3d(85px, 0, 0); }
}
@media (prefers-reduced-motion: reduce) {
    .wave-parallax > use { animation: none; }
}
@media (max-width: 767px) {
    .hero__stats-inner {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0;
        padding: 0 20px;
    }
    .hero__stat-divider { display: none; }
    .hero__stat {
        flex: none;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 8px;
        padding: 22px 10px;
        border-bottom: 1px solid rgba(255,255,255,0.12);
    }
    .hero__stat-icon { width: 44px; height: 44px; }
    .hero__stat-num { font-size: 26px; }
    .hero__stat:nth-child(1),
    .hero__stat:nth-child(5) {
        border-right: 1px solid rgba(255,255,255,0.12);
    }
    .hero__stat:last-child {
        grid-column: 1 / -1;
        flex-direction: row;
        justify-content: center;
        gap: 14px;
        border-bottom: none;
        border-right: none;
    }
}
@media (max-width: 768px) {
    .quiz__tabs {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    .quiz__tab {
        width: 100%;
        text-align: center;
        padding: 12px 8px;
        font-size: 12px;
    }
    .quiz__row-head {
        flex-wrap: wrap;
        gap: 4px;
    }
    .quiz__row-val {
        font-size: 17px;
    }
    .quiz__fields {
        flex-direction: column;
        gap: 10px;
    }
    .quiz__inp {
        width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }
}
/* ==================== ГАЛЕРЕЯ: ВИДЕО + ФОТО ==================== */
.vgal {
    position: relative;
    background: #FAF9F8;
    padding: 64px 0 70px;
    overflow-x: clip;
}
.vgal .container { position: relative; z-index: 2; }
.vgal__header {
    display: flex; align-items: center; justify-content: space-between;
    gap: 20px; margin-bottom: 32px;
}
.vgal__controls { display: flex; gap: 12px; flex-shrink: 0; }
.vgal__arrow {
    width: 46px; height: 46px; border-radius: 50%;
    border: 1.5px solid rgba(124,92,252,0.35);
    background: #fff; color: #7c5cfc;
    display: flex; align-items: center; justify-content: center;
    font-size: 15px; cursor: pointer; transition: all 0.25s ease;
}
.vgal__arrow:hover { background: #7c5cfc; color: #fff; border-color: #7c5cfc; }

/* Слайдер видео */
.vgal__viewport { overflow: hidden; }
.vgal__track {
    display: flex; gap: 22px;
    align-items: flex-start; /* привязка карточек по верхней (и нижней) линии */
    transition: transform 0.6s cubic-bezier(0.45, 0, 0.15, 1);
    will-change: transform;
}
.vgal__card {
    flex: 0 0 auto; width: 195px;
    padding: 0; margin: 0; border: none; background: none;
    font-family: inherit; text-align: left; cursor: pointer;
}
/* Обложка 2:3 через padding-top — надёжно, не обрезается */
.vgal__thumb {
    position: relative; display: block;
    width: 100%; padding-top: 150%;
    border-radius: 16px; overflow: hidden;
    background: #14140f;
    box-shadow: 0 10px 30px rgba(20,10,40,0.10);
}
.vgal__thumb img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover; display: block;
    transition: transform 0.6s ease;
}
.vgal__card:hover .vgal__thumb img { transform: scale(1.06); }
.vgal__badge {
    position: absolute; top: 10px; left: 10px; z-index: 2;
    display: inline-flex; align-items: center; gap: 5px;
    padding: 4px 9px; border-radius: 20px;
    background: rgba(13,13,13,0.72); color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px; font-weight: 600; letter-spacing: 0.3px;
    backdrop-filter: blur(4px);
}
.vgal__badge i { font-size: 8px; color: #C6FF00; }
.vgal__play {
    position: absolute; top: 50%; left: 50%; z-index: 2;
    transform: translate(-50%, -50%);
    width: 52px; height: 52px; border-radius: 50%;
    background: rgba(255,255,255,0.9); color: #7c5cfc;
    display: flex; align-items: center; justify-content: center;
    font-size: 17px; padding-left: 3px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
    transition: all 0.25s ease;
}
.vgal__card:hover .vgal__play { transform: translate(-50%, -50%) scale(1.1); background: #fff; }
.vgal__caption {
    display: block; margin-top: 14px;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px; font-weight: 600; line-height: 1.3; color: #23272e;
}

/* Слайдер фото */
.pg-block { position: relative; margin-top: 44px; }
.pg-viewport { overflow: hidden; }
.pg-track2 {
    display: flex; gap: 16px;
    align-items: flex-start;
    transition: transform 0.6s cubic-bezier(0.45, 0, 0.15, 1);
    will-change: transform;
}

/* ФОТО-ГАЛЕРЕЯ ОТ КРАЯ ДО КРАЯ ЭКРАНА */
.pg-block--full {
    position: relative;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}
/* Плавное бесконечное движение (лента едет сама) */
.pg-track2--auto {
    animation: pgAutoScroll 90s linear infinite;
    transition: none;
}
.pg-block--full:hover .pg-track2--auto {
    animation-play-state: paused;
}
@keyframes pgAutoScroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
.pg-block .photo-gallery__item {
    flex: 0 0 auto;
    width: 355px;
    height: 237px;
    border-radius: 14px;
    overflow: hidden;
    animation: none;
    opacity: 1;
    border: none;
    box-shadow: none;
    transition: transform 0.45s cubic-bezier(0.23, 1, 0.32, 1);
    transform-origin: center center;
}

/* Ровное приближение по центру — БЕЗ подъёма вверх */
.pg-block .photo-gallery__item:hover {
    transform: scale(1.06);
}

/* Внутренняя картинка чуть зумится */
.pg-block .photo-gallery__item:hover img {
    transform: scale(1.10);
    filter: brightness(1.06) contrast(1.03);
}

/* Оверлей + иконка лупы */
.pg-block .photo-gallery__item:hover .photo-gallery__overlay {
    opacity: 1;
}
.pg-block .photo-gallery__item:hover .photo-gallery__overlay i {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}
.pg-arrow {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
    width: 42px; height: 42px; border-radius: 50%;
    border: none; background: rgba(255,255,255,0.92); color: #7c5cfc;
    display: none; align-items: center; justify-content: center;
    font-size: 15px; cursor: pointer; box-shadow: 0 4px 14px rgba(0,0,0,0.2);
}
.pg-arrow--prev { left: 8px; }
.pg-arrow--next { right: 8px; }

/* Планшет */
@media (max-width: 1024px) {
    .vgal { padding: 52px 0 58px; }
    .vgal__card { width: 190px; }
}
/* Телефон */
@media (max-width: 600px) {
    .vgal { padding: 44px 0 48px; }
    .vgal__header { margin-bottom: 22px; }
    .vgal__card { width: 60vw; max-width: 260px; }
    .vgal__caption { font-size: 14px; }
    .pg-block { margin-top: 30px; }
    .pg-block .photo-gallery__item { width: 220px; height: 150px; }
    .pg-arrow { display: flex; } /* стрелки фото — на мобильных */
}

/* ==================== ПОП-АП ВИДЕО ==================== */
.vmodal {
    position: fixed; inset: 0; z-index: 9999;
    display: none; align-items: center; justify-content: center; padding: 20px;
}
.vmodal.active { display: flex; }
.vmodal__overlay {
    position: absolute; inset: 0;
    background: rgba(8,6,15,0.82); backdrop-filter: blur(6px);
}
.vmodal__box { position: relative; z-index: 2; width: 100%; max-width: 880px; }
.vmodal__frame {
    position: relative; width: 100%; aspect-ratio: 16 / 9;
    border-radius: 16px; overflow: hidden; background: #000;
    box-shadow: 0 30px 80px rgba(0,0,0,0.5);
}
.vmodal__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vmodal__title { margin: 14px 2px 0; color: #fff; font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 16px; }
.vmodal__close {
    position: absolute; top: -46px; right: 0;
    width: 38px; height: 38px; border-radius: 50%;
    border: none; background: rgba(255,255,255,0.14);
    color: #fff; font-size: 16px; cursor: pointer; transition: 0.2s;
}
.vmodal__close:hover { background: rgba(255,255,255,0.28); }
@media (max-width: 600px) { .vmodal__close { top: -42px; } }

/* Стрелки фото-ленты больше не нужны (лента едет сама) */
.pg-block--full .pg-arrow { display: none !important; }
/* ЗАГОЛОВОК ГАЛЕРЕИ — серый + фиолетовый (как в дизайне) */
.vgal .section-title {
    color: #23272e;
}
.vgal .section-title .accent {
    color: #7c5cfc;
}
/* Фото-лента: небольшой воздух, чтобы приближение не обрезалось */
.pg-block--full .pg-viewport {
    overflow-x: hidden;
    overflow-y: visible;
    padding: 8px 0;
}
/* Лупа в фото-ленте — белая */
.pg-block .photo-gallery__overlay i {
    color: #fff;
    text-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

/* ==================================================
   CASES MOBILE STRUCTURE FIX
   Делаем мобильную карточку СИБУР как на референсе:
   4 отдельные карточки статистики + более аккуратная структура
   ================================================== */
/* Очень узкие телефоны */
/* ==================================================
   CASES MOBILE MEDIA BUTTONS FIX
   Айфон: кнопка крупнее + фото/видео отдельными карточками
   ================================================== */
/* Узкие айфоны */
/* ===== ВИДЕО-ПОП-АП: mp4 + вертикальные ролики ===== */
.vmodal__frame video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
    border: 0;
}
.vmodal__box {
    max-width: 480px;
}
.vmodal__frame {
    aspect-ratio: 9 / 16;
    max-height: 82vh;
}
@media (max-width: 1024px) {
    .vmodal__box { max-width: 420px; }
}
@media (max-width: 600px) {
    .vmodal { padding: 16px; }
    .vmodal__box { max-width: 92vw; }
    .vmodal__frame { max-height: 78vh; }
}
/* ==================================================
   ФИНАЛЬНЫЕ ПРАВКИ v2 (перебиваем старые правила)
   ================================================== */

/* --- 1. ВИДЕО без рамок --- */
.vmodal__frame {
    background: transparent !important;
    box-shadow: none !important;
}
.vmodal__frame video { border-radius: 16px; background: #000; }
.vmodal__frame iframe { border-radius: 16px; }

/* --- 2. ФОТО-ЛЕНТА НА ТЕЛЕФОНЕ +15% (перебиваем width:100% из 768px) --- */
@media (max-width: 768px) {
    .pg-block .photo-gallery__item {
        width: 291px !important;
        height: 198px !important;
        box-sizing: border-box;
    }
    .pg-track2--auto { animation-duration: 75s !important; }
}
.pg-track2--auto { animation-duration: 90s !important; }

/* --- 3. ЧЁРНЫЙ БЛОК ШИРЕ (почти до краёв) --- */
@media (max-width: 768px) {
    .trust__panel-img-wrap {
        width: calc(100% + 36px) !important;
        max-width: none !important;
        margin-left: -18px !important;
        margin-right: -18px !important;
    }
}
/* ==================================================
   ФИНАЛЬНЫЕ ПРАВКИ v3 — поп-ап видео без рамок
   Плеер обтягивается вплотную к ролику
   ================================================== */
.vmodal__box {
    width: auto !important;
    max-width: 92vw !important;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.vmodal__frame {
    width: auto !important;
    max-width: 100% !important;
    aspect-ratio: auto !important;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    overflow: visible !important;
    max-height: none !important;
    display: flex;
    justify-content: center;
}
.vmodal__frame video {
    position: static !important;
    inset: auto !important;
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 80vh !important;
    object-fit: contain;
    background: #000;
    border-radius: 16px;
    display: block;
}
.vmodal__frame iframe {
    position: static !important;
    inset: auto !important;
    width: min(480px, 92vw) !important;
    height: auto !important;
    aspect-ratio: 9 / 16 !important;
    max-height: 80vh !important;
    border-radius: 16px !important;
    display: block;
    background: #000;
}
.vmodal__title { text-align: center; }
/* ==================================================
   ФИНАЛЬНЫЕ ПРАВКИ v4 — стоят ПОСЛЕДНИМИ, перебивают всё
   ================================================== */

/* Фото на телефоне: крупнее + скорость как на десктопе */
@media (max-width: 768px) {
    .vgal .pg-block .photo-gallery__item {
        width: 340px !important;
        height: 226px !important;
        box-sizing: border-box;
    }
    .pg-track2--auto { animation-duration: 9s !important; }
}

/* Чёрный блок — почти до краёв */
@media (max-width: 768px) {
    .trust .trust__panel-img-wrap {
        width: calc(100% + 50px) !important;
        max-width: none !important;
        margin-left: -25px !important;
        margin-right: -25px !important;
    }
}

/* Видео в поп-апе без рамок */
.vmodal .vmodal__box {
    width: auto !important;
    max-width: 92vw !important;
}
.vmodal .vmodal__frame {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    aspect-ratio: auto !important;
    width: auto !important;
    max-width: 100% !important;
    max-height: none !important;
    overflow: visible !important;
    display: flex !important;
    justify-content: center !important;
}
.vmodal .vmodal__frame video {
    position: static !important;
    inset: auto !important;
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 80vh !important;
    object-fit: contain !important;
    border-radius: 16px !important;
    background: #000 !important;
    display: block !important;
}
/* ===== Кнопки на странице Услуги ===== */
.serv-btns { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.btn--purple {
    background: #8B5CF6;
    color: #fff;
    border: 2px solid #8B5CF6;
}
.btn--purple:hover { background: #7C5CFC; }
@media (max-width: 600px) {
    .serv-btns { width: 100%; }
    .serv-btns .btn { flex: 1 1 auto; justify-content: center; text-align: center; }
}
/* ===== CTA-видео из VK — чистое видео без рамки ===== */
.cta-video-modal {
    background: rgba(0, 0, 0, 0.9) !important;
    padding: 20px !important;
    border: none !important;
}
.cta-video-modal.active {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
#ctaVideoFrame {
    position: relative;
    width: 100%;
    max-width: 1000px;
    aspect-ratio: 16 / 9;
    max-height: 80vh;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}
#ctaVideoFrame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}
/* Крупный крестик */
.cta-video-modal__close {
    position: fixed !important;
    top: 24px !important;
    right: 24px !important;
    width: 52px !important;
    height: 52px !important;
    border-radius: 50% !important;
    border: none !important;
    background: rgba(255, 255, 255, 0.15) !important;
    color: #fff !important;
    font-size: 24px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer;
    z-index: 10;
    transition: background 0.2s ease;
}
.cta-video-modal__close:hover {
    background: rgba(255, 255, 255, 0.3) !important;
}

/* Мобильные */
@media (max-width: 768px) {
    .cta-video-modal { padding: 12px !important; }
    #ctaVideoFrame {
        max-width: 100%;
        border-radius: 8px;
    }
    .cta-video-modal__close {
        top: 14px !important;
        right: 14px !important;
        width: 44px !important;
        height: 44px !important;
        font-size: 20px !important;
    }
}
/* ===== ЛАЙТБОКС БЛАГОДАРСТВЕННЫХ ПИСЕМ ===== */
.reviews__letter-img {
    cursor: zoom-in;
    transition: transform 0.35s ease;
}
.reviews__card--letter:hover .reviews__letter-img {
    transform: scale(1.03);
}
.reviews__zoom {
    position: absolute;
    right: 10px;
    bottom: 10px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(13, 13, 13, 0.75);
    border: 1px solid rgba(200, 240, 0, 0.5);
    color: #c8f000;
    font-size: 14px;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}
.reviews__card--letter:hover .reviews__zoom {
    opacity: 1;
    transform: translateY(0);
}
@media (max-width: 768px) {
    .reviews__zoom {
        opacity: 1;
        transform: none;
    }
}
/* ===== ПОДЗАГОЛОВОК КЕЙСА ===== */
.case-big__sub {
    max-width: 720px;
    margin: 0 0 20px;
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(19px, 1.6vw, 26px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.7px;
    color: #fff;
}

/* ===== РЯД КНОПОК КЕЙСА ===== */
.case-big__actions {
    display: flex;
    gap: 12px;
    width: 100%;
    margin-top: auto;
}

.case-big__actions .case-big__btn {
    margin-top: 0;
    flex: 1 1 auto;
    min-width: 0;
}

.case-big__video-btn {
    flex: 0 0 auto;
    white-space: nowrap;
    min-height: 52px;
    padding: 0 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, #9D6BFF 0%, #8B5CF6 50%, #7B2FF2 100%);
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow:
        0 16px 32px rgba(139, 92, 246, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.30);
    transition: transform 0.25s ease, filter 0.25s ease, box-shadow 0.25s ease;
}

.case-big__video-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.08);
    box-shadow:
        0 20px 40px rgba(139, 92, 246, 0.34),
        inset 0 1px 0 rgba(255, 255, 255, 0.30);
}

.case-big__video-btn[hidden] {
    display: none;
}

@media (max-width: 768px) {
    .case-big__actions {
        flex-direction: column;
    }
}
/* ===== МОДАЛКА ВИДЕО КЕЙСА ===== */
.case-video-modal {
    position: fixed;
    inset: 0;
    z-index: 10060;
    background: rgba(6, 6, 8, 0.94);
    backdrop-filter: blur(6px);
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.case-video-modal__video {
    width: min(1100px, 92vw);
    max-height: 84vh;
    border-radius: 14px;
    background: #000;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
    outline: none;
}

.case-video-modal__close {
    position: absolute;
    top: 26px;
    right: 30px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.25s ease;
}

.case-video-modal__close:hover {
    background: #8B5CF6;
    transform: rotate(90deg);
}

@media (max-width: 768px) {
    .case-video-modal {
        padding: 16px;
    }
    .case-video-modal__close {
        top: 14px;
        right: 14px;
        width: 42px;
        height: 42px;
        font-size: 18px;
    }
}
/* ===== ПЛАВНОСТЬ ТЕКСТА ПРИ СМЕНЕ КЕЙСА ===== */
.case-big__content > * {
    transition: opacity 0.25s ease;
}
/* ===== МОБИЛЬНАЯ: КАРТОЧКИ КЕЙСОВ ВЫШЕ ФОТО ===== */
@media (max-width: 768px) {
    .cases .cases__container {
        display: flex;
        flex-direction: column;
    }

    .cases .cases__top {
        order: 1;
    }

    .cases .cases__thumbs {
        order: 2;
        margin-top: 4px;
        margin-bottom: 24px;
    }

    .cases .case-big {
        order: 3;
    }

    .cases .cases__bottom-text {
        order: 4;
    }
}
/* ===== НЕАКТИВНАЯ СТРЕЛКА В КАРТОЧКАХ УСЛУГ ===== */
.services__arrow--static {
    cursor: default;
    pointer-events: none;
}
/* ===== БАННЕР COOKIE ===== */
.cookie {
    position: fixed;
    left: 20px;
    right: 20px;
    bottom: 20px;
    z-index: 10080;
    display: flex;
    justify-content: center;
    animation: cookieUp 0.45s ease both;
}

.cookie[hidden] {
    display: none;
}

@keyframes cookieUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

.cookie__inner {
    width: 100%;
    max-width: 1000px;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 16px 20px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    background: rgba(16, 16, 20, 0.94);
    backdrop-filter: blur(12px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

.cookie__ico {
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(200, 240, 0, 0.12);
    color: #c8f000;
    font-size: 17px;
}

.cookie__text {
    flex: 1 1 auto;
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.78);
}

.cookie__link {
    color: #c8f000;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.cookie__btn {
    flex: 0 0 auto;
    min-height: 44px;
    padding: 0 28px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, #d6ff00 0%, #c8f000 50%, #b2e500 100%);
    color: #080808;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 0.25s ease, filter 0.25s ease;
}

.cookie__btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.06);
}

@media (max-width: 768px) {
    .cookie {
        left: 12px;
        right: 12px;
        bottom: 12px;
    }
    .cookie__inner {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        padding: 16px;
    }
    .cookie__ico {
        display: none;
    }
    .cookie__text {
        font-size: 12px;
    }
    .cookie__btn {
        width: 100%;
    }
}
/* ===== ГАЛОЧКА СОГЛАСИЯ В КВИЗЕ ===== */
.quiz__consent {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin: 16px 0 18px;
    cursor: pointer;
    user-select: none;
}

.quiz__consent-box {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.quiz__consent-mark {
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    margin-top: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid rgba(255, 255, 255, 0.30);
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.04);
    color: #0d0d0d;
    font-size: 11px;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.quiz__consent-mark i {
    opacity: 0;
    transform: scale(0.6);
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.quiz__consent-box:checked + .quiz__consent-mark {
    background: #c8f000;
    border-color: #c8f000;
}

.quiz__consent-box:checked + .quiz__consent-mark i {
    opacity: 1;
    transform: scale(1);
}

.quiz__consent-box:focus-visible + .quiz__consent-mark {
    outline: 2px solid #8B5CF6;
    outline-offset: 2px;
}

.quiz__consent-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.55);
}

.quiz__consent.is-error .quiz__consent-mark {
    border-color: #ff5a5a;
    background: rgba(255, 90, 90, 0.12);
    animation: consentShake 0.4s ease;
}

.quiz__consent.is-error .quiz__consent-text {
    color: #ff8a8a;
}

@keyframes consentShake {
    0%, 100% { transform: translateX(0); }
    25%      { transform: translateX(-4px); }
    75%      { transform: translateX(4px); }
}
/* ===== БАННЕР COOKIE ===== */
.cookie {
    position: fixed;
    left: 20px;
    right: 20px;
    bottom: 20px;
    z-index: 10080;
    display: flex;
    justify-content: center;
    animation: cookieUp 0.45s ease both;
}

.cookie[hidden] { display: none; }

@keyframes cookieUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

.cookie__inner {
    width: 100%;
    max-width: 1000px;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 16px 20px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    background: rgba(16, 16, 20, 0.94);
    backdrop-filter: blur(12px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

.cookie__ico {
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(200, 240, 0, 0.12);
    color: #c8f000;
    font-size: 17px;
}

.cookie__text {
    flex: 1 1 auto;
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.78);
}

.cookie__btn {
    flex: 0 0 auto;
    min-height: 44px;
    padding: 0 28px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, #d6ff00 0%, #c8f000 50%, #b2e500 100%);
    color: #080808;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 0.25s ease, filter 0.25s ease;
}

.cookie__btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.06);
}

@media (max-width: 768px) {
    .cookie { left: 12px; right: 12px; bottom: 12px; }
    .cookie__inner {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        padding: 16px;
    }
    .cookie__ico { display: none; }
    .cookie__text { font-size: 12px; }
    .cookie__btn { width: 100%; }
}
/* ===== СПИННЕР ЗАГРУЗКИ ФОТО В ЛАЙТБОКСЕ ===== */
.pg-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 54px;
    height: 54px;
    margin: -27px 0 0 -27px;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.18);
    border-top-color: #c8f000;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 5;
}

.pg-spinner.is-active {
    opacity: 1;
    visibility: visible;
    animation: pgSpin 0.7s linear infinite;
}

@keyframes pgSpin {
    to { transform: rotate(360deg); }
}
/* ===== СПИННЕР ЗАГРУЗКИ ФОТО В ЛАЙТБОКСЕ ===== */
.pg-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 54px;
    height: 54px;
    margin: -27px 0 0 -27px;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.18);
    border-top-color: #c8f000;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 5;
}

.pg-spinner.is-active {
    opacity: 1;
    visibility: visible;
    animation: pgSpin 0.7s linear infinite;
}

@keyframes pgSpin {
    to { transform: rotate(360deg); }
}
/* галочка внутри кружка — по умолчанию скрыта (десктоп) */
.services__arrow-check { display: none !important; }
.services__arrow-line  { display: inline; }

/* ===== МОБИЛЬНЫЙ ВИД БЛОКА «ОРГАНИЗУЕМ ДЛЯ ВАС» ===== */
@media (max-width: 768px) {

    .services__card {
        flex-direction: row;
        align-items: center;
        gap: 0;
        border-radius: 18px;
        background: #171717;
        padding: 14px;
    }

    /* фото — квадрат слева, иконка остаётся на его углу */
    .services__img-wrap {
        width: 96px;
        min-width: 96px;
        aspect-ratio: 1 / 1;
        border-radius: 14px;
        overflow: visible;
        flex-shrink: 0;
        align-self: center;
    }

    .services__img-wrap img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 14px;
    }

    .services__icon-badge {
        width: 38px;
        height: 38px;
        bottom: -14px;
        left: -10px;
    }

    /* тело — справа от фото */
    .services__body {
        padding: 2px 52px 2px 14px;
        justify-content: center;
        gap: 6px;
        position: static;
    }

    .services__title {
        font-size: 15px;
        line-height: 1.2;
        margin: 0;
    }

    .services__title { white-space: normal; }

    .services__desc {
        font-size: 12.5px;
        line-height: 1.4;
        margin: 0;
        color: rgba(255,255,255,0.6);
    }

    /* кружок с галочкой в правом нижнем углу карточки */
    .services__arrow {
        position: absolute;
        right: 12px;
        bottom: 12px;
        width: 36px;
        height: 36px;
        border: 1.5px solid rgba(255,255,255,0.28);
        align-self: auto;
        background: transparent;
        z-index: 3;
    }

    .services__arrow-line  { display: none !important; }
    .services__arrow-check { display: inline !important; font-size: 14px; color: #c8f000; }
}
/* ===== КЛИКАБЕЛЬНАЯ КАРТОЧКА ТИМБИЛДИНГА (только мобильная) ===== */
.services__card-cover {
    display: none;
}

@media (max-width: 768px) {
    .services__card--link {
        position: relative;
    }

    /* невидимый слой-ссылка поверх всей карточки */
    .services__card--link .services__card-cover {
        display: block;
        position: absolute;
        inset: 0;
        z-index: 2;
        border-radius: 18px;
    }

    /* кружок-галочка остаётся кликабельным поверх слоя */
    .services__card--link .services__arrow {
        z-index: 4;
    }
}