/* =========================================================
   styles-new.css — оформление первых 3 экранов (новый дизайн)
   Подключается ПОСЛЕ styles.css и переопределяет нужное.
   ========================================================= */

:root {
    --nv-bg-dark-1: #0b0524;
    --nv-bg-dark-2: #1a0a4a;
    --nv-bg-dark-3: #2a126b;
    --nv-accent-pink: #ff3ec9;
    --nv-accent-violet: #a44dff;
    --nv-accent-blue: #11a9fb;
    --nv-text-muted: #c8c1e6;
    --nv-card-bg: #ffffff;
    --nv-card-border: rgba(120, 90, 200, 0.12);
    --nv-card-shadow: 0 8px 30px rgba(40, 10, 90, 0.08);
}

/* Защита от горизонтального скролла на мобильных */
html, body { overflow-x: hidden; max-width: 100%; }

/* На странице с новым дизайном баннер из styles.css не используем */
.hero-v2 ~ * .main_banner,
body:has(.hero-v2) .main_banner { display: none; }

/* ====== Общий контейнер ====== */
.hero-v2 .container,
.services-v2 .container,
.about-v2 .container {
    max-width: 1280px !important;
    padding: 0 30px;
    box-sizing: border-box;
}

/* =========================================================
   ЭКРАН 1 — HERO
   ========================================================= */
.hero-v2 {
    position: relative;
    min-height: 100vh;
    width: 100%;
    color: #fff;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, #0b0524 0%, #170b4d 50%, #2a126b 100%);
    font-family: 'Jost', 'Roboto', sans-serif;
}

/* Параллаксный слой с картинкой и градиентом-оверлеем слева */
.hero-v2__bg {
    display: block;
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(90deg, #0b0524 0%, rgba(11,5,36,0.92) 30%, rgba(23,11,77,0.35) 60%, rgba(42,18,107,0) 100%),
        url('img/background_main.webp');
    background-repeat: no-repeat, no-repeat;
    background-position: left center, right center;
    background-size: cover, contain;
    will-change: transform;
    z-index: 0;
    pointer-events: none;
}

/* Контент поверх фонового слоя */
.hero-v2__header,
.hero-v2__content { position: relative; z-index: 2; }

/* Эффект "наезжающих карточек": каждая следующая секция чуть выезжает
   на предыдущую и имеет округлённый верх — создаёт ощущение слоёв. */
.services-v2,
.about-v2,
.certs-v2,
.price.scrollblock,
.blog-section,
.contact.scrollblock {
    position: relative;
    margin-top: -40px;
    border-radius: 40px 40px 0 0;
    box-shadow: 0 -16px 40px rgba(40, 10, 90, 0.12);
    z-index: 1;
}

/* --- Шапка --- */
.hero-v2__header {
    position: relative;
    z-index: 5;
    padding: 22px 0;
    transition: padding .25s ease, background .25s ease;
}
.hero-v2__header.is-sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 10px 0;
    background: rgba(11, 5, 36, 0.85);
    backdrop-filter: blur(12px);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3);
    z-index: 9500;
    animation: stickyDrop .3s ease;
}
@keyframes stickyDrop {
    from { transform: translateY(-100%); }
    to   { transform: translateY(0); }
}
.hero-v2__header-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 30px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 30px;
}
.hero-v2__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #fff;
    flex-shrink: 0;
}
.hero-v2__logo-mark {
    width: 52px;
    height: 52px;
    object-fit: contain;
    filter: drop-shadow(0 4px 16px rgba(255, 62, 201, 0.4));
}
.hero-v2__logo-text {
    font-weight: 700;
    letter-spacing: 4.5px;
    font-size: 24px;
    text-transform: uppercase;
    line-height: 1.05;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.hero-v2__logo-sub {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1.6px;
    background: linear-gradient(90deg, var(--nv-accent-pink), var(--nv-accent-blue));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
.hero-v2__nav { justify-self: center; min-width: 0; }
.hero-v2__nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin: 0;
    padding: 0;
    justify-content: center;
    align-items: center;
}
/* Выпадающее меню: специфичность 0-2-1 бьёт 0-1-1 у правила выше */
.hero-v2__nav ul.menu-dropdown {
    display: none;
    position: absolute;
    z-index: 9500;
    flex-wrap: initial;
    gap: initial;
    justify-content: initial;
    align-items: initial;
}
.hero-v2__nav li.menu-has-dropdown:hover ul.menu-dropdown {
    display: block;
}
.hero-v2__nav a {
    color: #e8e2ff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
    white-space: nowrap;
}
.hero-v2__nav a li {
    list-style: none;
    padding: 8px 14px;
    border-radius: 10px;
    transition: color .2s, background .2s;
    white-space: nowrap;
}
.hero-v2__nav a:hover li {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}
/* Блок справа: иконка ВК + телефон/email колонкой */
.hero-v2__cta-block {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}
.hero-v2__vk-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--nv-accent-pink), var(--nv-accent-violet));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 6px 18px rgba(255, 62, 201, 0.35);
    transition: transform .2s, box-shadow .2s;
    flex-shrink: 0;
}
.hero-v2__vk-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(255, 62, 201, 0.5);
}

.hero-v2__cta-contacts {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    font-size: 15px;
    line-height: 1.4;
    flex-shrink: 0;
}
.hero-v2__cta-contacts a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color .2s;
    font-weight: 500;
}
.hero-v2__cta-contacts a:first-child { font-size: 17px; font-weight: 600; }
.hero-v2__cta-contacts a:hover { color: var(--nv-accent-pink); }

/* --- Контент --- */
.hero-v2__content {
    position: relative;
    z-index: 2;
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    padding: 20px 30px 50px;
    box-sizing: border-box;
    flex: 1;
    display: flex;
    align-items: center;
}
.hero-v2__text {
    max-width: 620px;
    width: 100%;
}

.hero-v2__greeting {
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 18px;
    padding-left: 14px;
    border-left: 3px solid var(--nv-accent-pink);
}

.hero-v2__title {
    font-size: 50px;
    line-height: 1.1;
    font-weight: 700;
    margin: 0 0 25px;
    text-transform: none;
    letter-spacing: -0.5px;
}
.hero-v2__accent {
    background: linear-gradient(90deg, var(--nv-accent-pink), var(--nv-accent-violet));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
.hero-v2__subtitle {
    font-size: 17px;
    line-height: 1.55;
    color: var(--nv-text-muted);
    margin: 0 0 35px;
    max-width: 560px;
}

.hero-v2__buttons {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr) max-content;
    align-items: center;
    gap: 22px;
    margin-bottom: 50px;
}
.hero-v2__socials {
    justify-self: start;
    min-width: 0;
}
.hero-v2__btn-primary,
.hero-v2__btn-secondary { white-space: nowrap; }
.hero-v2__btn-primary {
    background: linear-gradient(135deg, var(--nv-accent-pink), var(--nv-accent-violet));
    color: #fff;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    line-height: normal;
    display: inline-block;
    padding: 16px 36px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 500;
    box-shadow: 0 10px 28px rgba(255, 62, 201, 0.4);
    transition: transform .2s, box-shadow .2s;
}
.hero-v2__btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 36px rgba(255, 62, 201, 0.55);
}
.hero-v2__btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    transition: opacity .2s;
}
.hero-v2__btn-secondary:hover { opacity: 0.85; }
.hero-v2__play {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.35);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding-left: 3px;
}

/* --- Соцсети --- */
.hero-v2__socials {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.hero-v2__social {
    position: relative;            /* для абсолютной подписи-tooltip */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #fff;
}
.hero-v2__social-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--nv-accent-pink), var(--nv-accent-violet));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(255, 62, 201, 0.35);
    transition: transform .25s, box-shadow .25s;
}
/* Подпись всплывает СВЕРХУ над иконкой — ничего не сдвигает */
.hero-v2__social-label {
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    padding: 7px 14px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 30px;
    background: rgba(11, 5, 36, 0.85);
    backdrop-filter: blur(6px);
    font-size: 13px;
    white-space: nowrap;
    color: #fff;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease, transform .25s ease;
    z-index: 10;
}
.hero-v2__social:hover .hero-v2__social-icon {
    transform: translateY(-3px);
    box-shadow: 0 10px 26px rgba(255, 62, 201, 0.55);
}
.hero-v2__social:hover .hero-v2__social-label {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.hero-v2__features {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 720px;
}
.hero-v2__features li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 13px;
    line-height: 1.35;
    color: #d4cdf2;
}
.hero-v2__feat-icon {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: rgba(164, 77, 255, 0.15);
    color: var(--nv-accent-violet);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* --- Иллюстрация теперь как фон .hero-v2, отдельных стилей не требуется --- */

/* =========================================================
   ЭКРАН 2 — УСЛУГИ
   ========================================================= */
.services-v2 {
    position: relative;
    background: #f7f5ff;
    min-height: 100vh;
    padding: 40px 0 100px;
    display: flex;
    align-items: center;
    font-family: 'Jost', 'Roboto', sans-serif;
    z-index: 1;
}
.services-v2__inner {
    width: 100%;
}
.services-v2__title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0 0 14px;
    color: #1a103d;
    letter-spacing: 0.5px;
}
.services-v2__subtitle {
    text-align: center;
    font-size: 17px;
    color: #6a6088;
    margin: 0 auto 50px;
    max-width: 700px;
}
.services-v2__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.services-v2__card {
    background: var(--nv-card-bg);
    border-radius: 22px;
    padding: 28px 24px 30px;
    box-shadow: var(--nv-card-shadow);
    border: 1px solid var(--nv-card-border);
    display: flex;
    flex-direction: column;
    transition: transform .25s, box-shadow .25s;
}
.services-v2__card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(40, 10, 90, 0.14);
}
.services-v2__icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin-bottom: 18px;
}
.services-v2__icon--purple { background: linear-gradient(135deg, #8b5cf6, #6d3df3); }
.services-v2__icon--pink   { background: linear-gradient(135deg, #ff3ec9, #ff0099); }
.services-v2__icon--blue   { background: linear-gradient(135deg, #2da7ff, #1571e6); }
.services-v2__icon--teal   { background: linear-gradient(135deg, #4dd6c5, #1cb19c); }

.services-v2__card-title {
    font-size: 18px;
    font-weight: 600;
    color: #1a103d;
    margin: 0 0 14px;
    line-height: 1.3;
}
.services-v2__list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.services-v2__list li {
    position: relative;
    padding-left: 16px;
    font-size: 13.5px;
    line-height: 1.45;
    color: #4d4566;
    margin-bottom: 10px;
}
.services-v2__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--nv-accent-blue);
}

/* =========================================================
   ГОРИЗОНТАЛЬНАЯ ПЛАШКА АУДИТА (главная страница)
   ========================================================= */
.services-v2__audit-card {
    background: #fff;
    border-radius: 22px;
    padding: 28px 32px;
    box-shadow: 0 4px 24px rgba(139, 92, 246, 0.1);
    border: 1.5px solid rgba(139, 92, 246, 0.2);
    margin-bottom: 24px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 28px;
    align-items: center;
    transition: transform .25s, box-shadow .25s;
}
.services-v2__audit-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(139, 92, 246, 0.16);
}
.services-v2__audit-card__left {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}
.services-v2__audit-card__title-block h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1a103d;
    margin: 0 0 4px;
    line-height: 1.2;
}
.services-v2__audit-card__title-block p {
    font-size: 14px;
    color: #6a6088;
    margin: 0;
}
.services-v2__audit-card__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 28px;
    align-items: start;
    align-self: center;
}
.services-v2__audit-card__list li {
    position: relative;
    padding-left: 16px;
    font-size: 13.5px;
    color: #4d4566;
    line-height: 1.45;
}
.services-v2__audit-card__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--nv-accent-blue);
}
.services-v2__audit-card__cta {
    flex-shrink: 0;
    display: inline-block;
    background: linear-gradient(135deg, #8b5cf6, #6d28d9);
    color: #fff;
    padding: 13px 26px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: opacity .2s, transform .15s;
}
.services-v2__audit-card__cta:hover { opacity: .88; transform: translateY(-1px); }

@media (max-width: 900px) {
    .services-v2__audit-card {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .services-v2__audit-card__cta { text-align: center; }
}
@media (max-width: 600px) {
    .services-v2__audit-card { padding: 20px; }
    .services-v2__audit-card__left { flex-direction: column; align-items: flex-start; gap: 12px; }
}

/* =========================================================
   ЭКРАН 3 — ОБО МНЕ
   ========================================================= */
.about-v2 {
    position: relative;
    background: linear-gradient(135deg, #f6efff 0%, #ffeaf6 100%);
    min-height: 100vh;
    padding: 60px 0 100px;
    display: flex;
    align-items: center;
    font-family: 'Jost', 'Roboto', sans-serif;
    z-index: 1;
}
.about-v2__inner {
    width: 100%;
}
.about-v2__title {
    text-align: center;
    font-size: 38px;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0 0 12px;
    color: #1a103d;
}
.about-v2__subtitle {
    text-align: center;
    font-size: 17px;
    color: #6a6088;
    margin: 0 auto 40px;
    max-width: 760px;
}
.about-v2__grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 30px;
    align-items: start;
}
.about-v2__col {
    background: #ffffff;
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 10px 36px rgba(80, 30, 140, 0.08);
    border: 1px solid rgba(150, 110, 230, 0.1);
}

/* --- Верх левой колонки: фото + текст --- */
.about-v2__intro {
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 22px;
    align-items: center;
    margin-bottom: 28px;
}
.about-v2__photo img {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: 0 8px 24px rgba(164, 77, 255, 0.35);
    background: linear-gradient(135deg, #ff3ec9, #a44dff);
}
.about-v2__intro-text h3 {
    margin: 0 0 10px;
    font-size: 20px;
    font-weight: 600;
    color: #1a103d;
    line-height: 1.3;
}
.about-v2__intro-text p {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.5;
    color: #4d4566;
}

/* --- Заголовки разделов --- */
.about-v2__section-title {
    text-transform: uppercase;
    color: var(--nv-accent-violet);
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 1px;
    margin: 10px 0 22px;
}
.about-v2__section-title--accent { color: var(--nv-accent-violet); }

/* --- Сетка преимуществ --- */
.about-v2__benefits {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px 24px;
}
.about-v2__benefit {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}
.about-v2__benefit-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(164, 77, 255, 0.12);
    color: var(--nv-accent-violet);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.about-v2__benefit-text h5 {
    margin: 0 0 6px;
    font-size: 14.5px;
    font-weight: 600;
    color: #1a103d;
}
.about-v2__benefit-text p {
    margin: 0;
    font-size: 12.5px;
    line-height: 1.45;
    color: #5a5278;
}

/* --- Таймлайн --- */
.about-v2__timeline {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
}
.about-v2__timeline::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 8px;
    bottom: 8px;
    width: 1px;
    background: linear-gradient(to bottom, var(--nv-accent-violet), rgba(164, 77, 255, 0.2));
}
.about-v2__step {
    position: relative;
    padding: 0 0 22px 32px;
}
.about-v2__step:last-child { padding-bottom: 0; }
.about-v2__step::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: var(--nv-accent-violet);
    box-shadow: 0 0 0 4px rgba(164, 77, 255, 0.15);
}
.about-v2__step-title {
    font-weight: 700;
    color: #1a103d;
    font-size: 14.5px;
    margin-bottom: 6px;
}
.about-v2__step p {
    margin: 0 0 6px;
    font-size: 13px;
    line-height: 1.5;
    color: #4d4566;
}
.about-v2__step ul {
    margin: 6px 0 0;
    padding-left: 18px;
}
.about-v2__step ul li {
    font-size: 12.5px;
    line-height: 1.5;
    color: #4d4566;
    margin-bottom: 3px;
}

/* =========================================================
   СЕКЦИЯ: СЕРТИФИКАТЫ (слайдер)
   ========================================================= */
.certs-v2 {
    position: relative;
    background: #f7f5ff;
    padding: 60px 0 100px;
    font-family: 'Jost', 'Roboto', sans-serif;
    z-index: 1;
}
.certs-v2__inner { width: 100%; }
.certs-v2__title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0 0 14px;
    color: #1a103d;
    letter-spacing: 0.5px;
}
.certs-v2__subtitle {
    text-align: center;
    font-size: 17px;
    color: #6a6088;
    margin: 0 auto 50px;
    max-width: 700px;
}

/* Обёртка карусели — даёт место под стрелки по бокам */
.certs-v2__wrapper {
    padding: 0 60px;
    position: relative;
}

/* Карточка сертификата — без подложки, сертификат прямо на фоне секции */
.certs-v2 .carousel-item.cert-card {
    background: none;
    animation: none;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    border: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    color: inherit;
    transition: transform .25s;
    box-sizing: border-box;
}
.certs-v2 .carousel-item.cert-card:hover {
    transform: translateY(-6px);
}
.cert-card__img {
    width: 100%;
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    padding: 0;
    margin-bottom: 18px;
    box-sizing: border-box;
}
.cert-card__img img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 10px 26px rgba(40, 10, 90, 0.15));
    transition: filter .25s;
}
.certs-v2 .carousel-item.cert-card:hover .cert-card__img img {
    filter: drop-shadow(0 18px 36px rgba(40, 10, 90, 0.28));
}
.cert-card__cat {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--nv-accent-violet);
    background: rgba(164, 77, 255, 0.12);
    padding: 4px 12px;
    border-radius: 12px;
    margin-bottom: 10px;
}
.cert-card__title {
    font-size: 15px;
    font-weight: 600;
    color: #1a103d;
    line-height: 1.35;
}

/* Стрелки — крупные, заметные. SVG занимает почти весь круг */
.certs-v2 .carousel-arrow {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #ffffff;
    color: var(--nv-accent-violet);
    border: 1px solid rgba(120, 90, 200, 0.2);
    box-shadow: 0 4px 16px rgba(40, 10, 90, 0.12);
    padding: 0;
    z-index: 20;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
    overflow: hidden;
    transition: background .25s, color .25s, transform .25s, box-shadow .25s;
}
.certs-v2 .carousel-arrow svg {
    width: 36px;
    height: 36px;
    display: block;
}
.certs-v2 .carousel-arrow-left  { left: 0; }
.certs-v2 .carousel-arrow-right { right: 0; }
.certs-v2 .carousel-arrow:hover {
    color: #fff;
    background: linear-gradient(135deg, var(--nv-accent-pink), var(--nv-accent-violet));
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 8px 24px rgba(255, 62, 201, 0.4);
}

/* =========================================================
   АНИМАЦИИ ПОЯВЛЕНИЯ ПРИ СКРОЛЛЕ
   ========================================================= */
.reveal,
.reveal--left,
.reveal--right,
.reveal--scale {
    opacity: 1;
    transform: none;
}

/* =========================================================
   ВИЗУАЛЬНОЕ РАЗДЕЛЕНИЕ ПОРТФОЛИО / БЛОГ
   Портфолио оставляем на белом, блог переводим на светло-сиреневый.
   ========================================================= */
#blog.blog-section { background: #f6efff; }

/* =========================================================
   СЕКЦИЯ КОНТАКТОВ — светлый градиент, тёмный текст
   ========================================================= */
.contact.scrollblock {
    background-image:
        radial-gradient(ellipse at 80% 20%, rgba(164, 77, 255, 0.18) 0%, transparent 55%),
        radial-gradient(ellipse at 20% 80%, rgba(255, 62, 201, 0.18) 0%, transparent 55%),
        linear-gradient(135deg, #f6efff 0%, #ffeaf6 100%) !important;
    color: #1a103d;
}
.contact.scrollblock h2 { color: #1a103d; }
.contact.scrollblock > .container > p { color: #4d4566; }
.contact.scrollblock .contact_form h4 { color: #1a103d; }
.contact.scrollblock .contact_form input,
.contact.scrollblock .contact_form textarea {
    background: #fff;
    border: 1px solid #e0d8f5;
    color: #1a103d;
}
.contact.scrollblock .contact_form input::placeholder,
.contact.scrollblock .contact_form textarea::placeholder {
    color: #9a90b8;
}
.contact.scrollblock .contact_text,
.contact.scrollblock .contact_text_inner,
.contact.scrollblock .contact_text_inner p,
.contact.scrollblock .contact_text_inner b { color: #1a103d; }
.contact.scrollblock .contact_text_inner p[style*="color"] { color: #6a6088 !important; }

/* Плашки результата отправки формы — внутри блока контактов, над формой */
.form-notice {
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.4;
    margin: 12px 0 4px;
    animation: noticeIn .3s ease;
}
.form-notice--ok {
    background: rgba(74, 222, 128, 0.15);
    color: #167a3e;
    border: 1px solid rgba(74, 222, 128, 0.4);
}
.form-notice--err {
    background: rgba(225, 11, 31, 0.08);
    color: #b40818;
    border: 1px solid rgba(225, 11, 31, 0.3);
}
@keyframes noticeIn {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: none; }
}

/* =========================================================
   ПЛАВАЮЩАЯ КНОПКА ЧАТА
   Круг с иконкой, всегда видна. При ховере выезжает подпись слева.
   ========================================================= */
.floating-cta {
    position: fixed;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9000;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-family: 'Jost', 'Roboto', sans-serif;
}
.floating-cta:focus { outline: none; }
.floating-cta:focus-visible .floating-cta__icon {
    box-shadow: 0 0 0 3px rgba(255, 62, 201, 0.4), 0 8px 24px rgba(255, 62, 201, 0.45);
}
.floating-cta__icon {
    width: 78px;
    height: 78px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--nv-accent-pink), var(--nv-accent-violet));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(255, 62, 201, 0.45);
    transition: transform .3s ease;
    position: relative;
    z-index: 2;
    animation: ctaPulse 2.4s ease-in-out infinite;
}
.floating-cta__icon svg { width: 32px; height: 32px; }

@keyframes ctaPulse {
    0%, 100% {
        box-shadow: 0 8px 24px rgba(255, 62, 201, 0.45),
                    0 0 0 0 rgba(255, 62, 201, 0.55);
    }
    50% {
        box-shadow: 0 12px 32px rgba(255, 62, 201, 0.6),
                    0 0 0 18px rgba(255, 62, 201, 0);
    }
}
@media (prefers-reduced-motion: reduce) {
    .floating-cta__icon { animation: none; }
}
.floating-cta__label {
    position: absolute;
    right: calc(100% + 4px);
    top: 50%;
    transform: translateY(-50%);
    padding: 9px 18px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 30px;
    font-size: 14px;
    color: #fff;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease, right .3s ease;
    background: rgba(11, 5, 36, 0.75);
    backdrop-filter: blur(8px);
    z-index: 1;
}
.floating-cta:hover .floating-cta__icon {
    transform: translateX(-4px);
    box-shadow: 0 12px 32px rgba(255, 62, 201, 0.6);
}
.floating-cta:hover .floating-cta__label {
    opacity: 1;
    right: calc(100% + 12px);
}

/* =========================================================
   ЕДИНЫЙ СТИЛЬ ВСЕХ КНОПОК САЙТА
   Перебивает старые .button-scroll / .submit_input из styles.css.
   ========================================================= */
.button-scroll,
.submit_input,
.view-all-btn,
.pagination-btn,
.sop-price-btn {
    background: linear-gradient(135deg, var(--nv-accent-pink), var(--nv-accent-violet)) !important;
    background-image: linear-gradient(135deg, var(--nv-accent-pink), var(--nv-accent-violet)) !important;
    background-size: auto !important;
    color: #fff !important;
    border: none !important;
    border-radius: 30px !important;
    padding: 14px 30px !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    box-shadow: 0 10px 28px rgba(255, 62, 201, 0.4) !important;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: transform .2s ease, box-shadow .2s ease !important;
    animation: none !important;
    font-family: 'Jost', 'Roboto', sans-serif !important;
}
.button-scroll:hover,
.submit_input:hover,
.view-all-btn:hover,
.pagination-btn:hover,
.sop-price-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 36px rgba(255, 62, 201, 0.6) !important;
}

/* =========================================================
   ФУТЕР — тёмный, в гамме hero
   ========================================================= */
.footer {
    background: linear-gradient(135deg, #0b0524 0%, #170b4d 50%, #2a126b 100%) !important;
    background-image: linear-gradient(135deg, #0b0524 0%, #170b4d 50%, #2a126b 100%) !important;
    color: #fff !important;
    position: relative;
    overflow: hidden;
}
.footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 80% 30%, rgba(164, 77, 255, 0.25) 0%, transparent 55%),
        radial-gradient(ellipse at 20% 80%, rgba(255, 62, 201, 0.2) 0%, transparent 55%);
    pointer-events: none;
}
.footer .container { position: relative; z-index: 1; }
.footer a { color: #fff; }
.footer a:hover { color: var(--nv-accent-pink); }

.footer_socials {
    display: flex;
    gap: 10px;
    margin-top: 12px;
}
.footer_socials a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff !important;
    transition: background .2s, transform .2s;
}
.footer_socials a:hover {
    background: rgba(255,255,255,0.22);
    transform: translateY(-2px);
    color: #fff !important;
}

/* Блок автора статьи */
.article-author-card {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    background: #f7f3ff;
    border: 1.5px solid #e0d6ff;
    border-radius: 16px;
    padding: 24px;
    margin: 40px 0 0;
}
.article-author-img {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 3px solid #c4a8f5;
}
.article-author-name {
    font-weight: 700;
    font-size: 17px;
    color: #1a0a3c;
}
.article-author-role {
    font-size: 13px;
    color: #7b5ea7;
    margin-top: 2px;
    margin-bottom: 8px;
}
.article-author-bio {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    margin: 0 0 12px;
}
.article-author-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.article-author-link {
    display: inline-block;
    font-size: 13px;
    color: #5b1383 !important;
    background: #ede8ff;
    border-radius: 20px;
    padding: 4px 14px;
    text-decoration: none !important;
    transition: background .2s;
}
.article-author-link:hover {
    background: #d8ccff;
}
.article-author-cta {
    margin-top: 14px;
    display: inline-block;
    background: linear-gradient(135deg, #a855f7, #ec4899);
    color: #fff;
    border: none;
    border-radius: 24px;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity .2s;
}
.article-author-cta:hover { opacity: .88; }
@media (max-width: 540px) {
    .article-author-card { flex-direction: column; align-items: center; text-align: center; }
    .article-author-links { justify-content: center; }
    .article-author-cta { width: 100%; text-align: center; }
}

/* =========================================================
   reCAPTCHA — скрываем плавающий значок, оставляем работающую защиту.
   Google требует, чтобы при скрытии badge на странице был виден
   текст про reCAPTCHA — добавлен под кнопкой "Отправить".
   ========================================================= */
.grecaptcha-badge {
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}
.recaptcha-notice {
    font-size: 11px;
    color: rgba(106, 96, 136, 0.7);
    margin-top: 12px;
    line-height: 1.4;
}
.recaptcha-notice a {
    color: rgba(106, 96, 136, 0.85);
    text-decoration: underline;
}
.contact.scrollblock .recaptcha-notice { color: #6a6088; }
.contact.scrollblock .recaptcha-notice a { color: var(--nv-accent-violet); }

/* =========================================================
   КНОПКА "НАВЕРХ"
   ========================================================= */
.scroll-top {
    position: fixed;
    right: 40px;
    bottom: 30px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--nv-accent-pink), var(--nv-accent-violet));
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(255, 62, 201, 0.35);
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
    transition: opacity .25s ease, transform .25s ease, box-shadow .2s;
    z-index: 8500;
}
.scroll-top.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}
.scroll-top:hover {
    box-shadow: 0 10px 24px rgba(255, 62, 201, 0.55);
}
@media (max-width: 500px) {
    .scroll-top { right: 14px; bottom: 14px; }
}

/* =========================================================
   ВИДЖЕТ ЧАТА
   ========================================================= */
.floating-cta__badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    background: #ff3ec9;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    line-height: 18px;
    text-align: center;
    padding: 0 5px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.chat-widget {
    position: fixed;
    right: 20px;
    bottom: 90px;
    width: 360px;
    max-width: calc(100vw - 24px);
    height: 520px;
    max-height: calc(100vh - 120px);
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 20px 60px rgba(40, 10, 90, 0.3);
    z-index: 9050;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    font-family: 'Jost', 'Roboto', sans-serif;
    animation: chatPop .25s ease;
}
.chat-widget[hidden] { display: none; }
@keyframes chatPop {
    from { opacity: 0; transform: translateY(20px) scale(.96); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.chat-widget__head {
    padding: 14px 18px;
    background: linear-gradient(135deg, #170b4d 0%, #2a126b 100%);
    color: #fff;
    display: flex;
    align-items: center;
    gap: 12px;
}
.chat-widget__head-text { flex: 1; min-width: 0; }
.chat-widget__title {
    font-size: 16px;
    font-weight: 600;
}
.chat-widget__sub {
    font-size: 12px;
    color: rgba(255,255,255,0.75);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 2px;
}
.chat-widget__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 0 2px rgba(74,222,128,0.25);
}
.chat-widget__dot.offline {
    background: #a0a0a0;
    box-shadow: none;
}
.chat-widget__close {
    background: rgba(255,255,255,0.1);
    border: none;
    color: #fff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    flex-shrink: 0;
}
.chat-widget__close:hover { background: rgba(255,255,255,0.2); }

.chat-widget__body {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    background: #f7f5ff;
}
.chat-widget__greeting {
    font-size: 13px;
    color: #5a5278;
    background: #fff;
    padding: 12px 14px;
    border-radius: 14px 14px 14px 4px;
    margin-bottom: 12px;
    line-height: 1.4;
    box-shadow: 0 2px 8px rgba(40, 10, 90, 0.04);
}

.chat-widget__messages {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.chat-msg {
    max-width: 80%;
    padding: 10px 14px;
    border-radius: 14px;
    font-size: 14px;
    line-height: 1.4;
    word-wrap: break-word;
    white-space: pre-wrap;
}
.chat-msg--client {
    align-self: flex-end;
    background: linear-gradient(135deg, #ff3ec9, #a44dff);
    color: #fff;
    border-bottom-right-radius: 4px;
}
.chat-msg--owner {
    align-self: flex-start;
    background: #fff;
    color: #1a103d;
    border-bottom-left-radius: 4px;
    box-shadow: 0 2px 8px rgba(40, 10, 90, 0.06);
}
.chat-msg--system {
    align-self: center;
    background: rgba(255, 62, 201, 0.12);
    color: #8b3a8b;
    border: 1px solid rgba(255, 62, 201, 0.25);
    font-size: 12.5px;
    max-width: 90%;
    text-align: center;
    border-radius: 12px;
    padding: 8px 12px;
}
.chat-msg__time {
    display: block;
    font-size: 10px;
    opacity: 0.6;
    margin-top: 3px;
}

.chat-widget__contact {
    padding: 14px 16px;
    border-top: 1px solid #eee5ff;
    background: #fff;
    display: none;
}
.chat-widget__contact.is-visible { display: block; }
.chat-widget__contact-title {
    font-size: 12px;
    color: #6a6088;
    margin-bottom: 8px;
}
.chat-widget__contact input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #e0d8f5;
    border-radius: 10px;
    font-size: 13px;
    margin-bottom: 6px;
    box-sizing: border-box;
    font-family: inherit;
}
.chat-widget__contact input:focus {
    outline: none;
    border-color: var(--nv-accent-violet);
}
.chat-widget__contact button {
    padding: 8px 14px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    font-size: 13px;
    background: linear-gradient(135deg, #ff3ec9, #a44dff);
    color: #fff;
    font-weight: 500;
    margin-right: 6px;
    font-family: inherit;
}
.chat-widget__contact-error {
    font-size: 12px;
    color: #d32f6a;
    margin: 0 0 6px;
}

.chat-widget__form {
    display: flex;
    padding: 10px 12px;
    border-top: 1px solid #eee5ff;
    gap: 8px;
    background: #fff;
}
.chat-widget__form textarea {
    flex: 1;
    border: 1px solid #e0d8f5;
    border-radius: 18px;
    padding: 10px 14px;
    font-size: 14px;
    resize: none;
    max-height: 100px;
    font-family: inherit;
    line-height: 1.3;
    box-sizing: border-box;
}
.chat-widget__form textarea:focus {
    outline: none;
    border-color: var(--nv-accent-violet);
}
.chat-widget__form button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff3ec9, #a44dff);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    align-self: flex-end;
}
.chat-widget__form button:hover { transform: scale(1.05); }

@media (max-width: 768px) {
    .chat-widget {
        right: 8px;
        left: 8px;
        width: auto;
        bottom: 80px;
        max-height: calc(100vh - 220px);
    }
}

/* =========================================================
   "Назад к кейсам" в hero-баннере страниц кейсов
   ========================================================= */
.case-back-link {
    margin: 0 0 16px;
    font-size: 14px;
}
.case-back-link a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    padding: 6px 14px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 20px;
    display: inline-block;
    transition: background .2s, border-color .2s, color .2s;
}
.case-back-link a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

/* =========================================================
   БАННЕР-ЗАГОЛОВОК ВНУТРЕННИХ СТРАНИЦ (portfolio, blog)
   ========================================================= */
.blog-banner,
.blog-banner.portfolio-banner {
    background-color: #0b0524 !important;
    background-image: linear-gradient(135deg, #0b0524 0%, #170b4d 50%, #2a126b 100%) !important;
    background-attachment: scroll !important;
    background-repeat: no-repeat !important;
    background-size: auto !important;
    min-height: 320px !important;
    position: relative;
    overflow: hidden;
}
.blog-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 80% 30%, rgba(164, 77, 255, 0.4) 0%, transparent 55%),
        radial-gradient(ellipse at 20% 80%, rgba(255, 62, 201, 0.3) 0%, transparent 55%);
    pointer-events: none;
}
.blog-banner::after { display: none !important; }
.blog-banner-inner {
    position: relative;
    z-index: 2;
    font-family: 'Jost', 'Roboto', sans-serif;
}
.blog-banner-title {
    background: linear-gradient(90deg, #ffffff 30%, #ffb3ec 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

/* Больше воздуха снизу у списков карточек portfolio/blog */
.blog-list-main { padding-bottom: 100px !important; }

/* Больше воздуха снизу у секций портфолио и блога на главной */
.blog-section {
    padding-top: 60px !important;
    padding-bottom: 100px !important;
}

/* =========================================================
   ШАПКА ВНУТРЕННИХ СТРАНИЦ (portfolio, blog, …)
   Использует те же подклассы .hero-v2__*, что и hero.
   ========================================================= */
.topbar-v2 {
    position: sticky;
    top: 0;
    background: linear-gradient(135deg, #0b0524 0%, #170b4d 50%, #2a126b 100%);
    color: #fff;
    padding: 18px 0;
    font-family: 'Jost', 'Roboto', sans-serif;
    z-index: 9400;
}
.topbar-v2__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 30px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 30px;
}
/* На внутренних страницах в навигации больше пунктов — уменьшаем подпись под логотипом */
.topbar-v2 .hero-v2__logo-sub {
    font-size: 13px;
    letter-spacing: 0.9px;
}

/* =========================================================
   МОБИЛЬНЫЙ ГАМБУРГЕР (только для нового дизайна)
   Оригинальная кнопка из styles.css 80×50 — слишком большая.
   ========================================================= */
body:has(.hero-v2) .hamburger-menu,
body:has(.topbar-v2) .hamburger-menu {
    top: 16px;
    left: auto;
    right: 16px;
    z-index: 9999;
}
body:has(.hero-v2) .hamburger,
body:has(.topbar-v2) .hamburger {
    width: 44px;
    height: 44px;
    background-size: contain;
    background-position: center;
}

/* =========================================================
   АДАПТИВ
   ========================================================= */

/* Планшеты */
@media (max-width: 1100px) {
    .hero-v2 {
        background-image:
            linear-gradient(180deg, rgba(11,5,36,0.85) 0%, rgba(11,5,36,0.75) 60%, rgba(11,5,36,0.6) 100%),
            url('img/background_main.webp');
        background-position: center, center right;
        background-size: cover, cover;
    }
    .hero-v2__text { max-width: 100%; }
    .hero-v2__title { font-size: 40px; }
    .hero-v2__features {
        grid-template-columns: repeat(2, 1fr);
        max-width: 100%;
    }
    .services-v2__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .about-v2__grid {
        grid-template-columns: 1fr;
    }
    .certs-v2__wrapper { padding: 0 50px; }
}

/* Брейкпоинт гамбургера — синхронно со styles.css */
@media (max-width: 1000px) {
    .hero-v2__header-inner {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 12px;
    }
    /* Меню — drawer справа, fixed; всегда в DOM, открывается через .show-menu */
    .hero-v2__nav {
        display: block !important;
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;
        max-width: 90vw;
        height: 100vh;
        background: rgba(11, 5, 36, 0.97);
        backdrop-filter: blur(12px);
        z-index: 9100;
        padding: 80px 24px 24px;
        box-sizing: border-box;
        overflow-y: auto;
        transform: translateX(100%);
        transition: transform .3s ease;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
    }
    .hero-v2__nav.show-menu {
        transform: translateX(0);
    }
    .hero-v2__nav ul {
        flex-direction: column;
        gap: 4px;
        align-items: stretch;
        justify-content: flex-start;
    }
    .hero-v2__nav a li {
        padding: 14px 16px;
        text-align: left;
        font-size: 17px;
    }
    .hero-v2__cta-contacts { font-size: 13px; }
    .hero-v2__cta-contacts a:first-child { font-size: 14px; }
    .hero-v2__logo-text { font-size: 13px; }
}

/* Гамбургер должен быть выше drawer-а, чтобы по нему всегда можно было кликнуть */
body:has(.hero-v2) .hamburger-menu,
body:has(.topbar-v2) .hamburger-menu { z-index: 9200; }

/* Мобильные */
@media (max-width: 760px) {
    .hero-v2 { min-height: auto; padding-bottom: 40px; }
    .hero-v2__header { padding: 16px 0; }

    /* Лого сверху-слева, телефон по центру под ним.
       VK и email на мобильных скрываем (VK перекрывал гамбургер, email — лишний рядом с телефоном) */
    .hero-v2__header-inner,
    .topbar-v2__inner {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        padding-right: 60px;            /* место под гамбургер */
    }
    .hero-v2__logo { align-self: flex-start; }
    .hero-v2__vk-link { display: none; }
    .hero-v2__cta-block {
        width: 100%;
        justify-content: center;
        gap: 10px;
    }
    .hero-v2__cta-contacts {
        align-items: center;
        gap: 0;
    }
    .hero-v2__cta-contacts a:first-child { font-size: 16px; font-weight: 600; }
    .hero-v2__cta-contacts a:not(:first-child) { display: none; }

    .hero-v2__content { padding: 10px 20px 30px; }
    .hero-v2__title { font-size: 30px; }
    .hero-v2__subtitle { font-size: 15px; margin-bottom: 25px; }
    /* На мобильных кнопки складываем — иначе grid распирает viewport */
    .hero-v2__buttons {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 14px;
        margin-bottom: 30px;
        width: 90%;
    }
    .hero-v2__socials { order: 2; }
    .hero-v2__btn-primary {
        padding: 13px 24px;
        font-size: 14px;
        white-space: normal;
        order: 1;
        flex: 0 0 100%;          /* "Обсудить задачу" — на всю ширину */
        text-align: center;
    }
    .hero-v2__btn-secondary {
        order: 3;
        white-space: normal;
    }
    .hero-v2__features {
        grid-template-columns: 1fr;
        gap: 12px;
        max-width: 360px;
        margin: 24px auto 0;
    }
    .hero-v2__features li {
        justify-content: center;
    }

    .services-v2 { min-height: auto; padding: 50px 0; }
    .services-v2__title { font-size: 26px; }
    .services-v2__subtitle { font-size: 15px; margin-bottom: 30px; }
    .services-v2__grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .about-v2 { min-height: auto; padding: 50px 0; }
    .about-v2__title { font-size: 28px; }
    .about-v2__subtitle { font-size: 15px; margin-bottom: 30px; }
    .about-v2__col { padding: 22px; border-radius: 18px; }
    .about-v2__intro {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 18px;
    }
    .about-v2__photo {
        display: flex;
        justify-content: center;
    }
    .about-v2__photo img { width: 110px; height: 110px; }
    .about-v2__benefits {
        grid-template-columns: 1fr;
    }

    .certs-v2 { padding: 50px 0; }
    .certs-v2__title { font-size: 26px; }
    .certs-v2__subtitle { font-size: 15px; margin-bottom: 30px; }
    .certs-v2__wrapper { padding: 0 40px; }
    .certs-v2 .carousel-arrow {
        width: 40px;
        height: 40px;
        font-size: 26px;
    }
    .certs-v2 .carousel-arrow-left  { left: 0; }
    .certs-v2 .carousel-arrow-right { right: 0; }
    .cert-card__img { height: 220px; }
}

/* ═══════════════════════════════════════════════════════════
   БЛОК ЦЕН НА ГЛАВНОЙ (#price)
   ═══════════════════════════════════════════════════════════ */

/* Сбрасываем padding у обёртки — его берут на себя под-блоки */
.price.scrollblock { padding-top: 0; padding-bottom: 0; }

/* ── Под-блоки (три секции с чередующимся фоном) ─────────── */
.price-subblock {
    padding: 80px 0;
}
.price-subblock--lavender {
    background: linear-gradient(135deg, #f6efff 0%, #ede8ff 100%);
}

/* ── Общий подзаголовок под-блока ────────────────────────── */
.price__subtitle {
    text-align: center;
    font-size: 18px;
    color: #555;
    margin: -4px 0 44px;
    line-height: 1.5;
}
.price-sub__title {
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    color: #1a0050;
    margin: 0 0 40px;
}

/* ── Сетка карточек (выравнивание по высоте) ─────────────── */
.price-cards {
    align-items: stretch;   /* override audit-packages default (start) */
    margin-bottom: 0;
}
.price-card__title {
    font-size: 20px;
    font-weight: 700;
    color: #1a0050;
    margin: 0;
    line-height: 1.3;
}
.price-card__rows {
    display: flex;
    flex-direction: column;
    border-radius: 10px;
    overflow: hidden;
}
.price-card__row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    padding: 9px 14px;
    font-size: 14px;
    color: #333;
    background: #f9f5ff;
    border-bottom: 1px solid #efe8ff;
}
.price-card__row:last-child { border-bottom: none; }
.price-card__row-price {
    font-weight: 700;
    color: #7c3aed;
    white-space: nowrap;
    flex-shrink: 0;
}
.price-card__row--highlight {
    background: linear-gradient(90deg, #f6efff, #fde8ff);
}
.price-card__row--highlight .price-card__row-price { color: #c026d3; }
.price-card__table-header {
    font-size: 13px;
    font-weight: 600;
    color: #6a3ea1;
    margin: 0 0 6px;
}
.price-card__row-single {
    font-size: 13px;
    color: #555;
    margin: 8px 0 0;
    padding: 8px 14px;
    background: #f3f4f6;
    border-radius: 8px;
}

/* Гарантийная строка в карточке 3 */
.price-card__guarantee {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-size: 14px;
    font-weight: 600;
    color: #0d6a52;
    background: #edfaf6;
    border-radius: 8px;
    padding: 9px 14px;
    margin: 0;
    line-height: 1.5;
}
.price-card__guarantee svg { flex-shrink: 0; margin-top: 2px; }

/* Футер карточки: кнопка + ссылка прижаты к низу */
.price-card__footer {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.price-card__more-link {
    font-size: 13px;
    color: #8b5cf6;
    text-decoration: none;
    text-align: center;
    display: block;
}
.price-card__more-link:hover { text-decoration: underline; }

/* ── Блок «Почему это выгодно» ───────────────────────────── */
.price-why {
    display: grid;
    grid-template-columns: 1fr 1.35fr 1fr;
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
    align-items: start;
}
.price-why__item {
    background: #fff;
    border: 1.5px solid #e8dcff;
    border-radius: 20px;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.price-why__item--key {
    border-color: #c084fc;
    box-shadow: 0 8px 36px rgba(139, 92, 246, 0.14);
}
.price-why__thesis {
    font-size: 14px;
    color: #333;
    line-height: 1.6;
    margin: 0;
}
.price-why__thesis strong {
    display: block;
    font-size: 17px;
    font-weight: 700;
    color: #1a0050;
    margin-bottom: 6px;
}
.price-why__note {
    font-size: 14px;
    color: #555;
    margin: 0;
    line-height: 1.6;
}

/* Мини-расчёт «100 000 → 150 000 ₽» */
.price-why__calc {
    border-radius: 12px;
    overflow: hidden;
}
.price-why__calc-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 9px 14px;
    font-size: 14px;
    background: #f9f5ff;
    border-bottom: 1px solid #efe8ff;
}
.price-why__calc-row:last-child { border-bottom: none; }
.price-why__calc-row--total {
    background: linear-gradient(90deg, #f6efff, #fde8ff);
}
.price-why__calc-label { color: #555; }
.price-why__calc-num {
    font-weight: 700;
    color: #7c3aed;
    white-space: nowrap;
    flex-shrink: 0;
}
.price-why__calc-num--add { color: #e83aac; }
.price-why__calc-num--total { color: #c026d3; font-size: 15px; }

/* ── Адаптив ─────────────────────────────────────────────── */
@media (max-width: 900px) {
    .price-why {
        grid-template-columns: 1fr;
        max-width: 520px;
    }
}
@media (max-width: 760px) {
    .price-subblock { padding: 48px 0; }
    .price-sub__title { font-size: 20px; margin-bottom: 28px; }
    .price__subtitle { font-size: 16px; margin-bottom: 32px; }
    /* восстанавливаем floating-cta label на мобильном */
    .floating-cta__label { font-size: 13px; padding: 7px 18px 7px 14px; }
}

/* ====== Breadcrumb — навигационная цепочка ====== */
.breadcrumb {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
    background: transparent;
    border: none;
    padding: 0;
}
.breadcrumb__wrap {
    max-width: 1280px;
    margin: 0 auto;
    padding: 14px 30px;
}
.breadcrumb__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 2px;
}
.breadcrumb__item {
    display: flex;
    align-items: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.4;
    font-family: 'Jost', 'Roboto', sans-serif;
}
.breadcrumb__item--current span {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}
.breadcrumb__link {
    color: rgba(192, 155, 255, 0.8);
    text-decoration: none;
    transition: color 0.2s;
}
.breadcrumb__link:hover {
    color: #ff3ec9;
    text-decoration: none;
}
.breadcrumb__sep {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.2);
    padding: 0 4px;
    list-style: none;
    line-height: 1;
}
@media (max-width: 600px) {
    .breadcrumb__wrap { padding: 8px 16px; }
    .breadcrumb__item, .breadcrumb__sep { font-size: 12px; }
}

/* Чат-кнопка на мобильных — выносим отдельным блоком чтобы гарантированно перебить top:50% */
@media (max-width: 768px) {
    .floating-cta {
        right: 16px;
        top: auto !important;
        bottom: 80px;
        transform: none !important;
    }
    .floating-cta__icon { width: 54px; height: 54px; }
}

/* ── Блог на главной: 3 колонки с темами ── */
.blog-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}
.blog-col__header {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    color: #a040c8;
    padding-bottom: 12px;
    border-bottom: 2px solid #a040c8;
    margin-bottom: 4px;
    text-align: center;
}
.blog-col__list {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 6px rgba(140,80,200,0.07);
}
.blog-col__item {
    display: block;
    text-decoration: none;
    padding: 14px 16px;
    border-bottom: 1px solid #f0eaf7;
    transition: background 0.15s;
}
.blog-col__item:last-child { border-bottom: none; }
.blog-col__item:hover { background: #faf6ff; }
.blog-col__empty {
    padding: 20px 16px;
    font-size: 14px;
    color: #bbb;
    text-align: center;
}
.blog-col__time {
    font-size: 11px;
    color: #aaa;
    margin-bottom: 5px;
}
.blog-col__row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}
.blog-col__title {
    font-size: 14px;
    color: #333;
    font-weight: 500;
    line-height: 1.45;
    flex: 1;
    transition: color 0.15s;
}
.blog-col__item:hover .blog-col__title { color: #a020c8; }
.blog-col__arrow {
    color: #c060d0;
    font-size: 15px;
    flex-shrink: 0;
    margin-top: 1px;
    transition: transform 0.15s;
}
.blog-col__item:hover .blog-col__arrow { transform: translateX(2px); }
@media (max-width: 900px) {
    .blog-cols { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 560px) {
    .blog-cols { gap: 16px; }
    .blog-col__item { padding: 12px 14px; }
}

/* =========================================================
   FAQ-АККОРДЕОН (blog-post.php)
   ========================================================= */
.faq-section {
    margin: 48px 0 40px;
    background: none !important;
    padding: 0 !important;
}
.faq-section__title {
    font-size: 22px;
    font-weight: 700;
    color: #1a103d;
    margin-bottom: 20px;
    text-align: left;
}
.faq-section__list {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #ede8f8;
}
.faq-item {
    border-bottom: 1px solid #ede8f8;
}
.faq-item:last-child { border-bottom: none; }
.faq-item__q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    text-align: left;
    background: #fff;
    border: none;
    padding: 18px 20px;
    font-size: 15px;
    font-weight: 600;
    color: #1a103d;
    cursor: pointer;
    transition: background 0.15s;
    line-height: 1.4;
}
.faq-item__q:hover { background: #f9f7fd; }
.faq-item__q[aria-expanded="true"] { background: #fff; color: #a020c8; }
.faq-item__icon {
    font-size: 22px;
    font-weight: 300;
    color: #a040c8;
    flex-shrink: 0;
    line-height: 1;
    transition: transform 0.2s;
}
.faq-item__q[aria-expanded="true"] .faq-item__icon {
    transform: rotate(45deg);
}
.faq-item__a {
    background: #fff;
    padding: 0 20px 18px;
    font-size: 14px;
    color: #4d4566;
    line-height: 1.65;
    border-top: 1px solid #ede8f8;
}
.faq-item__a p { margin: 0; }
@media (max-width: 560px) {
    .faq-item__q { padding: 14px 16px; font-size: 14px; }
    .faq-item__a { padding: 0 16px 14px; }
}

/* =========================================================
   ЧИТАЙТЕ ТАКЖЕ — перелинковка
   ========================================================= */
.related-links-section {
    margin: 0 0 36px;
}
.related-links__title {
    font-size: 20px;
    font-weight: 700;
    color: #1a103d;
    margin-bottom: 14px;
}
.related-links__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.related-links__item {
    display: flex;
    align-items: flex-start;
}
.related-links__item::before {
    content: '→';
    color: #a020c8;
    font-weight: 700;
    margin-right: 8px;
    flex-shrink: 0;
    line-height: 1.5;
}
.related-links__link {
    color: #5b2d9e;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.5;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.15s;
}
.related-links__link:hover { color: #a020c8; }
