/* ============================================================
   Дмитрий Ядов — Юридический копирайтинг
   Тёмная тема, светлые контрастные шрифты
   ============================================================ */

:root {
    /* Палитра */
    --bg:           #0a0f1c;   /* основной тёмный фон */
    --bg-2:         #0f1729;   /* фон секций (alt) */
    --bg-3:         #141d33;   /* карточки */
    --bg-elev:      #1a2742;   /* приподнятые элементы */
    --line:         #243352;   /* границы */
    --line-soft:    #1b2742;

    --text:         #eef2fb;   /* основной светлый текст */
    --text-2:       #aab4cc;   /* вторичный текст */
    --text-3:       #7884a0;   /* приглушённый */

    --accent:       #d4a857;   /* золото — премиум/право */
    --accent-2:     #e8c07a;
    --accent-soft:  rgba(212, 168, 87, .14);
    --blue:         #5b8cff;
    --blue-soft:    rgba(91, 140, 255, .14);

    --radius:       16px;
    --radius-sm:    10px;
    --shadow:       0 18px 50px rgba(0, 0, 0, .45);
    --shadow-sm:    0 6px 20px rgba(0, 0, 0, .35);

    --header-h:     76px;
    --maxw:         1200px;

    --font-body:    'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --font-head:    'Montserrat', var(--font-body);

    --ease:         cubic-bezier(.4, 0, .2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
    font-size: 17px;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .25s var(--ease); }
ul { list-style: none; }

.container {
    width: 100%;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- Типографика ---------- */
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 800; line-height: 1.15; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.3rem; }
p  { color: var(--text-2); }

::selection { background: var(--accent); color: #1a1206; }

/* ============================================================
   ШАПКА
   ============================================================ */
.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--header-h);
    z-index: 1000;
    background: rgba(10, 15, 28, .55);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    border-bottom: 1px solid transparent;
    transition: background .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
/* При прокрутке — плотнее и заметнее */
.header.is-scrolled {
    background: rgba(8, 12, 24, .92);
    border-bottom-color: var(--line);
    box-shadow: 0 8px 30px rgba(0, 0, 0, .35);
}

.header__inner {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 28px;
}

/* Логотип */
.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo__mark {
    height: 42px;
    width: auto;
    display: block;
    border-radius: 9px;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .35));
    transition: transform .3s var(--ease);
}
.logo:hover .logo__mark { transform: scale(1.06); }
.logo__text {
    display: flex; flex-direction: column;
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1.02rem;
    line-height: 1.1;
}
.logo__text small { font-family: var(--font-body); font-weight: 500; font-size: .68rem; color: var(--text-3); text-transform: uppercase; letter-spacing: .12em; }

/* Навигация */
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav__link {
    padding: 9px 14px;
    font-size: .9rem;
    font-weight: 600;
    color: var(--text-2);
    border-radius: 8px;
    position: relative;
    white-space: nowrap;
}
.nav__link:hover { color: var(--text); background: rgba(255, 255, 255, .04); }
.nav__link.is-active { color: var(--accent-2); }
.nav__link.is-active::after {
    content: ''; position: absolute; left: 14px; right: 14px; bottom: 4px;
    height: 2px; background: var(--accent); border-radius: 2px;
}

.header__phone {
    margin-left: 8px;
    padding: 10px 18px;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: .92rem;
    color: var(--text);
    border: 1px solid var(--line);
    border-radius: 10px;
    white-space: nowrap;
    transition: all .25s var(--ease);
}
.header__phone:hover { border-color: var(--accent); color: var(--accent-2); background: var(--accent-soft); }

/* Бургер */
.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 42px; height: 42px;
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 10px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
}
.burger span { width: 20px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s var(--ease), opacity .3s var(--ease); }
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: calc(var(--header-h) + 60px) 0 80px;
    overflow: hidden;
}
.hero__bg {
    position: absolute; inset: 0;
    background: url('../background.png') center/cover no-repeat;
    transform: scale(1.05);
    animation: heroZoom 18s var(--ease) forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero__overlay {
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse at 70% 30%, rgba(91, 140, 255, .18), transparent 55%),
        linear-gradient(105deg, rgba(8, 12, 24, .95) 0%, rgba(10, 15, 28, .82) 45%, rgba(10, 15, 28, .55) 100%);
}
.hero__inner { position: relative; z-index: 2; max-width: 880px; }

.hero__eyebrow {
    display: inline-block;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: .78rem;
    letter-spacing: .25em;
    color: var(--accent-2);
    text-transform: uppercase;
    padding: 8px 16px;
    border: 1px solid rgba(212, 168, 87, .35);
    border-radius: 100px;
    background: var(--accent-soft);
    margin-bottom: 28px;
    animation: fadeUp .8s var(--ease) both;
}
.hero h1 {
    color: var(--text);
    margin-bottom: 24px;
    animation: fadeUp .8s var(--ease) .1s both;
}
.hero__lead {
    font-size: clamp(1.05rem, 1.6vw, 1.25rem);
    color: var(--text-2);
    max-width: 720px;
    margin-bottom: 36px;
    animation: fadeUp .8s var(--ease) .2s both;
}

@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* CTA */
.hero__cta { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 64px; animation: fadeUp .8s var(--ease) .3s both; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 15px 30px;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: .98rem;
    border-radius: 12px;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all .25s var(--ease);
    white-space: nowrap;
}
.btn--primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #1a1206;
    box-shadow: 0 10px 28px rgba(212, 168, 87, .32);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(212, 168, 87, .45); }
.btn--ghost {
    background: rgba(255, 255, 255, .04);
    color: var(--text);
    border-color: var(--line);
}
.btn--ghost:hover { border-color: var(--accent); color: var(--accent-2); background: var(--accent-soft); }
.btn--outline {
    width: 100%;
    background: transparent;
    color: var(--text);
    border-color: var(--line);
}
.btn--outline:hover { border-color: var(--accent); color: var(--accent-2); }

/* Статистика */
.stats { display: flex; flex-wrap: wrap; gap: 48px; animation: fadeUp .8s var(--ease) .4s both; }
.stats__item { display: flex; flex-direction: column; }
.stats__num {
    font-family: var(--font-head);
    font-weight: 900;
    font-size: clamp(2.2rem, 4vw, 3rem);
    color: var(--accent);
    line-height: 1;
}
.stats__label { font-size: .85rem; color: var(--text-3); text-transform: uppercase; letter-spacing: .08em; margin-top: 6px; }

/* Скролл-индикатор */
.hero__scroll {
    position: absolute; bottom: 30px; left: 50%;
    transform: translateX(-50%);
    width: 26px; height: 42px;
    border: 2px solid var(--line);
    border-radius: 14px;
    z-index: 2;
}
.hero__scroll span {
    position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
    width: 4px; height: 8px; background: var(--accent); border-radius: 2px;
    animation: scrollDot 1.8s var(--ease) infinite;
}
@keyframes scrollDot { 0% { opacity: 0; top: 6px; } 50% { opacity: 1; } 100% { opacity: 0; top: 22px; } }

/* ============================================================
   СЕКЦИИ
   ============================================================ */
.section { padding: 110px 0; position: relative; }
.section--alt { background: var(--bg-2); }

.section__head { max-width: 760px; margin-bottom: 56px; }
.section__tag {
    display: inline-block;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: .78rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--accent-2);
    margin-bottom: 18px;
}
.section__title { margin-bottom: 18px; }
.section__lead { font-size: 1.08rem; color: var(--text-2); }

/* Вводная карточка */
.intro-card {
    padding: 32px 36px;
    background: linear-gradient(135deg, var(--bg-3), var(--bg-elev));
    border: 1px solid var(--line);
    border-left: 3px solid var(--accent);
    border-radius: var(--radius);
    font-size: 1.15rem;
    color: var(--text);
    margin-bottom: 64px;
    box-shadow: var(--shadow-sm);
}
.intro-card p { color: var(--text); }

/* Feature блок (ИИ + Экспертность) */
.feature { margin-top: 8px; }
.feature--accent {
    padding: 48px;
    background: var(--bg-3);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}
.feature__head { margin-bottom: 40px; max-width: 720px; }
.feature__head h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin-bottom: 14px; }
.feature__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature__item {
    padding: 28px;
    background: var(--bg);
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-sm);
    transition: transform .3s var(--ease), border-color .3s var(--ease);
}
.feature__item:hover { transform: translateY(-4px); border-color: var(--accent); }
.feature__icon {
    width: 52px; height: 52px;
    display: grid; place-items: center;
    font-size: 1.5rem;
    background: var(--accent-soft);
    border-radius: 12px;
    margin-bottom: 18px;
}
.feature__item h4 { font-size: 1.08rem; margin-bottom: 10px; font-family: var(--font-head); }
.feature__item p { font-size: .93rem; color: var(--text-2); }

/* ============================================================
   ОБО МНЕ
   ============================================================ */
.about {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 64px;
    align-items: center;
}
.about__photo { position: relative; }
.avatar {
    width: 320px; height: 320px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto;
    border: 4px solid var(--line);
    box-shadow: var(--shadow);
    position: relative;
    background: var(--bg-3);
}
.avatar::after {
    content: '';
    position: absolute; inset: -4px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, var(--accent), var(--blue), var(--accent));
    z-index: -1;
    animation: spin 8s linear infinite;
}
.avatar img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center top;
}
@keyframes spin { to { transform: rotate(360deg); } }

.about__badge {
    text-align: center;
    margin-top: 28px;
    padding: 16px;
    background: var(--bg-3);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
}
.about__badge strong { display: block; font-family: var(--font-head); font-size: 1.2rem; }
.about__badge span { color: var(--accent-2); font-size: .9rem; }

.about__body p { margin-bottom: 20px; font-size: 1.05rem; }
.about__body strong { color: var(--text); }
.about__hi { font-size: 1.18rem !important; color: var(--text) !important; }

.about__facts {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin: 32px 0;
}
.about__facts li {
    padding: 16px 20px;
    background: var(--bg-3);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    font-size: .95rem;
    color: var(--text-2);
}
.about__facts b { color: var(--accent); font-family: var(--font-head); font-size: 1.2rem; display: block; }

/* ============================================================
   УСЛУГИ
   ============================================================ */
.services {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 72px;
}
.service {
    position: relative;
    padding: 36px 32px 32px;
    background: var(--bg-3);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.service::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--accent), transparent);
    transform: scaleX(0); transform-origin: left;
    transition: transform .4s var(--ease);
}
.service:hover { transform: translateY(-6px); border-color: var(--accent); box-shadow: var(--shadow); }
.service:hover::before { transform: scaleX(1); }

.service__num {
    position: absolute;
    top: 24px; right: 28px;
    font-family: var(--font-head);
    font-weight: 900;
    font-size: 2.6rem;
    color: var(--bg-elev);
    line-height: 1;
}
.service__icon {
    font-size: 2rem;
    margin-bottom: 20px;
    display: inline-block;
}
.service__title { font-size: 1.2rem; margin-bottom: 12px; max-width: 80%; }
.service p { font-size: .93rem; }

.services__cta {
    margin-top: 16px;
    padding: 48px;
    background: linear-gradient(135deg, var(--bg-3), var(--bg-elev));
    border: 1px solid var(--line);
    border-radius: var(--radius);
    text-align: center;
}
.services__cta h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin-bottom: 18px; }
.services__cta p { max-width: 680px; margin: 0 auto 14px; }

/* ============================================================
   ЦЕНЫ
   ============================================================ */
.prices {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    align-items: stretch;
}
.price {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 40px 34px;
    background: var(--bg-3);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: transform .35s var(--ease), border-color .35s var(--ease);
}
.price:hover { transform: translateY(-6px); border-color: var(--accent); }
.price--featured {
    background: linear-gradient(160deg, var(--bg-elev), var(--bg-3));
    border-color: var(--accent);
    box-shadow: 0 20px 50px rgba(212, 168, 87, .15);
    transform: scale(1.03);
}
.price--featured:hover { transform: scale(1.03) translateY(-6px); }
.price__ribbon {
    position: absolute;
    top: 18px; right: -34px;
    transform: rotate(45deg);
    background: var(--accent);
    color: #1a1206;
    font-family: var(--font-head);
    font-weight: 800;
    font-size: .75rem;
    padding: 5px 40px;
    text-transform: uppercase;
    letter-spacing: .1em;
}
.price__top { margin-bottom: 28px; }
.price__name { font-size: 1.3rem; margin-bottom: 10px; }
.price__desc { font-size: .92rem; }

.price__value {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 6px;
    padding-bottom: 28px;
    margin-bottom: 28px;
    border-bottom: 1px solid var(--line);
}
.price__from { font-size: .9rem; color: var(--text-3); }
.price__amount {
    font-family: var(--font-head);
    font-weight: 900;
    font-size: 2.6rem;
    color: var(--accent);
    line-height: 1;
}
.price__amount--sm { font-size: 1.4rem; color: var(--text); }
.price__unit { font-size: .92rem; color: var(--text-2); width: 100%; }

.price__list { margin-bottom: 32px; flex-grow: 1; }
.price__list li {
    position: relative;
    padding: 9px 0 9px 30px;
    font-size: .94rem;
    color: var(--text-2);
    border-bottom: 1px dashed var(--line-soft);
}
.price__list li:last-child { border-bottom: none; }
.price__list li::before {
    content: '✓';
    position: absolute; left: 0; top: 9px;
    width: 20px; height: 20px;
    display: grid; place-items: center;
    background: var(--accent-soft);
    color: var(--accent-2);
    border-radius: 50%;
    font-size: .72rem;
    font-weight: 700;
}

/* ============================================================
   КОНТАКТЫ
   ============================================================ */
.contacts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}
.contact-line {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 22px 26px;
    background: var(--bg-3);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
    transition: border-color .25s var(--ease), transform .25s var(--ease);
}
.contact-line:hover { border-color: var(--accent); transform: translateX(4px); }
.contact-line__icon {
    width: 48px; height: 48px;
    display: grid; place-items: center;
    background: var(--accent-soft);
    border-radius: 12px;
    font-size: 1.3rem;
    flex-shrink: 0;
}
.contact-line__body { display: flex; flex-direction: column; }
.contact-line__body small { font-size: .78rem; color: var(--text-3); text-transform: uppercase; letter-spacing: .1em; }
.contact-line__body strong { font-family: var(--font-head); font-size: 1.15rem; color: var(--text); }

.messengers { margin-top: 8px; }
.messengers__label { display: block; font-size: .82rem; color: var(--text-3); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 14px; }
.messenger {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    background: var(--bg-3);
    border: 1px solid var(--line);
    border-radius: 100px;
    font-weight: 600;
    font-size: .92rem;
    margin-right: 10px;
    margin-bottom: 8px;
    transition: all .25s var(--ease);
}
.messenger img { border-radius: 6px; }
.messenger:hover { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-2); transform: translateY(-2px); }

.contacts__cta {
    padding: 44px;
    background: linear-gradient(160deg, var(--bg-3), var(--bg-elev));
    border: 1px solid var(--line);
    border-radius: var(--radius);
}
.contacts__cta h3 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin-bottom: 16px; }
.contacts__cta p { margin-bottom: 16px; }
.contacts__btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 24px; }

/* ============================================================
   ПОДВАЛ
   ============================================================ */
.footer {
    background: #060a14;
    border-top: 1px solid var(--line);
    padding: 64px 0 28px;
}
.footer__inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 48px;
    align-items: start;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--line);
}
.footer__brand { display: flex; align-items: center; gap: 14px; }
.footer__brand strong { display: block; font-family: var(--font-head); font-size: 1.1rem; }
.footer__brand small { color: var(--text-3); font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; }

.footer__nav { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.footer__nav a { font-size: .92rem; color: var(--text-2); }
.footer__nav a:hover { color: var(--accent-2); }

.footer__contacts { text-align: right; display: flex; flex-direction: column; gap: 6px; }
.footer__contacts a { font-family: var(--font-head); font-weight: 600; }
.footer__contacts a:hover { color: var(--accent-2); }
.footer__social { display: flex; gap: 10px; justify-content: flex-end; margin-top: 8px; }
.footer__social a {
    width: 38px; height: 38px;
    display: grid; place-items: center;
    background: var(--bg-3);
    border: 1px solid var(--line);
    border-radius: 10px;
    transition: all .25s var(--ease);
}
.footer__social a:hover { border-color: var(--accent); transform: translateY(-2px); }

.footer__bottom {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 24px;
    font-size: .85rem;
    color: var(--text-3);
}

/* ============================================================
   COOKIE / ПЕРСОНАЛЬНЫЕ ДАННЫЕ
   ============================================================ */
.cookie {
    position: fixed;
    left: 24px;
    right: 24px;
    bottom: 24px;
    z-index: 1200;
    max-width: 720px;
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 20px 22px;
    background: rgba(18, 25, 46, .96);
    backdrop-filter: blur(16px) saturate(140%);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    border: 1px solid var(--line);
    border-left: 3px solid var(--accent);
    border-radius: var(--radius);
    box-shadow: 0 20px 60px rgba(0, 0, 0, .55);
    transform: translateY(150%);
    opacity: 0;
    transition: transform .5s var(--ease), opacity .5s var(--ease);
}
.cookie.is-visible { transform: translateY(0); opacity: 1; }
.cookie.is-hidden  { transform: translateY(150%); opacity: 0; pointer-events: none; }

.cookie__icon {
    font-size: 1.8rem;
    flex-shrink: 0;
    line-height: 1;
}
.cookie__text {
    flex: 1;
    font-size: .9rem;
    line-height: 1.55;
    color: var(--text-2);
}
.cookie__link {
    color: var(--accent-2);
    border-bottom: 1px dashed rgba(212, 168, 87, .5);
    font-weight: 600;
}
.cookie__link:hover { color: var(--accent); border-bottom-color: var(--accent); }

.cookie__btn {
    flex-shrink: 0;
    padding: 12px 24px;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: .9rem;
    color: #1a1206;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease);
    white-space: nowrap;
}
.cookie__btn:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(212, 168, 87, .4); }

.cookie__close {
    position: absolute;
    top: 8px; right: 10px;
    width: 30px; height: 30px;
    display: grid; place-items: center;
    background: transparent;
    border: none;
    color: var(--text-3);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    transition: color .25s var(--ease);
}
.cookie__close:hover { color: var(--text); }

/* ============================================================
   КНОПКА «УЗНАТЬ ПРО СТОИМОСТЬ ПОДРОБНЕЕ»
   ============================================================ */
.prices__more {
    margin-top: 48px;
    text-align: center;
}
.btn--lg { padding: 17px 38px; font-size: 1.02rem; }

/* ============================================================
   АДАПТИВ
   ============================================================ */
@media (max-width: 992px) {
    .feature__grid,
    .services,
    .prices { grid-template-columns: repeat(2, 1fr); }
    .price--featured { transform: none; }
    .price--featured:hover { transform: translateY(-6px); }
    .about { grid-template-columns: 1fr; gap: 40px; }
    .about__photo { max-width: 360px; margin: 0 auto; }
    .footer__inner { grid-template-columns: 1fr; gap: 32px; }
    .footer__contacts { text-align: left; }
    .footer__social { justify-content: flex-start; }
}

@media (max-width: 768px) {
    :root { --header-h: 64px; }
    .section { padding: 80px 0; }
    .feature--accent,
    .services__cta,
    .contacts__cta { padding: 32px 24px; }

    /* Мобильное меню */
    .burger { display: flex; }
    .header__phone { display: none; }
    .nav {
        position: fixed;
        top: var(--header-h); left: 0; right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: rgba(8, 12, 24, .98);
        backdrop-filter: blur(20px);
        border-bottom: 1px solid var(--line);
        padding: 16px;
        transform: translateY(-130%);
        transition: transform .4s var(--ease);
        max-height: calc(100vh - var(--header-h));
        overflow-y: auto;
    }
    .nav.is-open { transform: translateY(0); }
    .nav__link { padding: 14px 16px; font-size: 1rem; border-radius: 10px; }
    .nav__link.is-active::after { display: none; }

    .hero { min-height: auto; padding: calc(var(--header-h) + 50px) 0 60px; }
    .hero__cta { margin-bottom: 48px; }
    .stats { gap: 28px; }
    .stats__item { flex: 1 1 40%; }
    .hero__scroll { display: none; }

    .feature__grid,
    .services,
    .prices,
    .contacts { grid-template-columns: 1fr; }
    .intro-card { padding: 24px; font-size: 1.05rem; }
    .footer__bottom { flex-direction: column; }

    .cookie {
        left: 14px; right: 14px; bottom: 14px;
        flex-wrap: wrap;
        padding: 18px;
    }
    .cookie__icon { display: none; }
    .cookie__text { width: 100%; flex: 1 1 100%; font-size: .85rem; }
    .cookie__btn { width: 100%; }
    .cookie__close { top: 4px; right: 6px; }
}

@media (max-width: 420px) {
    .container { padding: 0 18px; }
    .btn { padding: 14px 22px; font-size: .92rem; }
    .about__facts { grid-template-columns: 1fr; }
    .stats { gap: 20px; }
}

/* ============================================================
   АНИМАЦИИ ПОЯВЛЕНИЯ
   ============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .reveal { opacity: 1; transform: none; }
    html { scroll-behavior: auto; }
}
