:root {
    --navy: #0d1b2a;
    --navy-2: #102a43;
    --navy-3: #1b3a5b;
    --gold: #f0a500;
    --gold-2: #ffc233;
    --ink: #16202b;
    --muted: #5b6b7b;
    --line: #e6ecf2;
    --bg: #f6f8fb;
    --white: #ffffff;
    --radius: 18px;
    --radius-sm: 12px;
    --shadow: 0 18px 48px rgba(13, 27, 42, 0.12);
    --shadow-sm: 0 8px 24px rgba(13, 27, 42, 0.08);
    --container: 1180px;
    --t: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Manrope', system-ui, -apple-system, sans-serif;
    color: var(--ink);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

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

/* ---------- Loader ---------- */
.page-loader {
    position: fixed; inset: 0; z-index: 1000;
    display: flex; align-items: center; justify-content: center;
    background: var(--navy);
    transition: opacity var(--t), visibility var(--t);
}
.page-loader.is-hidden { opacity: 0; visibility: hidden; }
.spinner {
    width: 48px; height: 48px; border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.15);
    border-top-color: var(--gold);
    animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    font: inherit; font-weight: 700; cursor: pointer;
    padding: 14px 26px; border-radius: 999px; border: 2px solid transparent;
    transition: transform var(--t), box-shadow var(--t), background var(--t), color var(--t);
    white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: linear-gradient(135deg, var(--gold), var(--gold-2)); color: var(--navy); box-shadow: 0 10px 24px rgba(240, 165, 0, 0.35); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(240, 165, 0, 0.45); }
.btn--ghost { background: transparent; border-color: rgba(255, 255, 255, 0.4); color: var(--white); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.1); }
.btn--outline { background: transparent; border-color: var(--navy); color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: var(--white); }
.btn--sm { padding: 10px 18px; font-size: 0.9rem; }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid var(--line);
    transition: box-shadow var(--t);
}
.header.is-scrolled { box-shadow: var(--shadow-sm); }
.header__inner { display: flex; align-items: center; gap: 24px; height: 76px; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo__mark { width: 62px; height: 30px; flex: 0 0 auto; }
.logo__text { display: flex; flex-direction: column; line-height: 1.15; }
.logo__text strong { font-size: 1rem; }
.logo__text small { color: var(--muted); font-size: 0.74rem; }
.logo--light .logo__text strong { color: var(--white); }
.logo--light .logo__text small { color: rgba(255, 255, 255, 0.6); }

.nav { display: flex; gap: 6px; margin-left: auto; }
.nav__link {
    padding: 8px 14px; border-radius: 999px; font-weight: 600; color: var(--navy-2);
    transition: background var(--t), color var(--t); font-size: 0.95rem;
}
.nav__link:hover { background: var(--bg); }
.nav__link.is-active { background: var(--navy); color: var(--white); }

.header__actions { display: flex; align-items: center; gap: 16px; }
.header__phone { font-weight: 800; color: var(--navy); font-size: 1.02rem; white-space: nowrap; }
.header__phone:hover { color: var(--gold); }

.burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.burger span { width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: var(--t); }

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section--tight { padding: 56px 0; }
.section__head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.eyebrow {
    display: inline-block; text-transform: uppercase; letter-spacing: 2px;
    font-size: 0.78rem; font-weight: 700; color: var(--gold);
    background: rgba(240, 165, 0, 0.12); padding: 6px 14px; border-radius: 999px; margin-bottom: 16px;
}
.section__title { font-size: clamp(1.7rem, 3vw, 2.5rem); font-weight: 800; line-height: 1.15; color: var(--navy); }
.section__subtitle { margin-top: 14px; color: var(--muted); font-size: 1.05rem; }

/* ---------- Hero ---------- */
.hero {
    position: relative; overflow: hidden; color: var(--white);
    background: var(--navy); padding: 110px 0 120px;
}
.hero__bg {
    position: absolute; inset: 0; z-index: 0;
    background: url('../img/hero-building.png') center right / cover no-repeat;
}
.hero__bg::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(100deg,
        var(--navy) 0%, rgba(13, 27, 42, 0.94) 28%,
        rgba(13, 27, 42, 0.6) 58%, rgba(13, 27, 42, 0.3) 100%);
}
.hero::before {
    content: ""; position: absolute; inset: 0; z-index: 1;
    background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 26px 26px; opacity: 0.5; pointer-events: none;
}
.hero__inner { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 760px); gap: 56px; align-items: center; }
.hero__badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.16);
    padding: 8px 16px; border-radius: 999px; font-size: 0.85rem; font-weight: 600; margin-bottom: 24px;
}
.hero__badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.25); }
.hero h1 { font-size: clamp(2.1rem, 4.5vw, 3.5rem); font-weight: 800; line-height: 1.08; letter-spacing: -0.5px; }
.hero h1 .accent { color: var(--gold); }
.hero__lead { margin: 22px 0 32px; font-size: 1.12rem; color: rgba(255, 255, 255, 0.78); max-width: 560px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__trust { margin-top: 36px; display: flex; gap: 28px; flex-wrap: wrap; }
.hero__trust div strong { display: block; font-size: 1.5rem; color: var(--gold); }
.hero__trust div span { font-size: 0.85rem; color: rgba(255,255,255,0.7); }

.icon--check { flex: 0 0 24px; width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: rgba(240,165,0,0.18); color: var(--gold); }

/* ---------- Icons (SVG) ---------- */
.icon { width: 24px; height: 24px; display: block; }

/* ---------- Page hero (внутренние страницы) ---------- */
.page-hero {
    position: relative; overflow: hidden; color: var(--white); padding: 80px 0 64px;
    background: var(--navy) center / cover no-repeat;
    background-image:
        linear-gradient(100deg, var(--navy) 0%, rgba(13, 27, 42, 0.92) 32%, rgba(13, 27, 42, 0.55) 66%, rgba(13, 27, 42, 0.3) 100%),
        radial-gradient(120% 150% at 85% 0%, var(--navy-3) 0%, var(--navy) 60%);
}
.page-hero--services {
    background-image:
        linear-gradient(100deg, var(--navy) 0%, rgba(13, 27, 42, 0.9) 32%, rgba(13, 27, 42, 0.5) 70%, rgba(13, 27, 42, 0.28) 100%),
        url('../img/page-services.png');
}
.page-hero--about {
    background-image:
        linear-gradient(100deg, var(--navy) 0%, rgba(13, 27, 42, 0.9) 32%, rgba(13, 27, 42, 0.5) 70%, rgba(13, 27, 42, 0.28) 100%),
        url('../img/page-about.png');
}
.page-hero--contacts {
    background-image:
        linear-gradient(100deg, var(--navy) 0%, rgba(13, 27, 42, 0.9) 32%, rgba(13, 27, 42, 0.5) 70%, rgba(13, 27, 42, 0.28) 100%),
        url('../img/page-contacts.png');
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero .eyebrow { background: rgba(240, 165, 0, 0.18); }
.page-hero__title { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 800; line-height: 1.12; margin-top: 6px; }
.page-hero__sub { color: rgba(255, 255, 255, 0.76); margin-top: 14px; font-size: 1.05rem; max-width: 640px; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.stat {
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 28px; text-align: center; box-shadow: var(--shadow-sm);
    transition: transform var(--t), box-shadow var(--t);
}
.stat:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.stat__value { font-size: 1.9rem; font-weight: 800; color: var(--navy); line-height: 1; }
.stat__title { font-weight: 700; margin-top: 8px; }
.stat__desc { color: var(--muted); font-size: 0.86rem; margin-top: 4px; }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 30px; transition: transform var(--t), box-shadow var(--t), border-color var(--t);
    position: relative; overflow: hidden;
}
.service-card::after {
    content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 100%;
    background: linear-gradient(90deg, var(--gold), var(--gold-2)); transform: scaleX(0); transform-origin: left; transition: transform var(--t);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.service-card:hover::after { transform: scaleX(1); }
.service-card__icon { width: 64px; height: 64px; border-radius: 16px; background: linear-gradient(135deg, rgba(240,165,0,0.12), rgba(240,165,0,0.04)); color: var(--gold); display: grid; place-items: center; margin-bottom: 18px; transition: background var(--t); }
.service-card__icon .icon { width: 32px; height: 32px; }
.service-card:hover .service-card__icon { background: linear-gradient(135deg, var(--gold), var(--gold-2)); color: var(--navy); }
.service-card h3 { font-size: 1.2rem; color: var(--navy); margin-bottom: 10px; }
.service-card p { color: var(--muted); font-size: 0.95rem; }
.service-card__more { margin-top: 18px; font-weight: 700; color: var(--gold); display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.service-card__full { color: var(--ink); font-size: 0.92rem; margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line); }

/* ---------- Use cases ---------- */
.usecases { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.usecase {
    display: flex; align-items: center; gap: 14px;
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm);
    padding: 18px 20px; font-weight: 600; transition: transform var(--t), box-shadow var(--t);
}
.usecase:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.usecase__icon { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 10px; background: rgba(240,165,0,0.12); color: var(--gold); display: grid; place-items: center; }
.usecase__icon .icon { width: 24px; height: 24px; }

/* ---------- CTA banner ---------- */
.cta-banner {
    background: linear-gradient(135deg, var(--navy-2), var(--navy));
    border-radius: 26px; padding: 56px; color: var(--white);
    display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
    position: relative; overflow: hidden;
}
.cta-banner::before { content: ""; position: absolute; right: -60px; top: -60px; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(circle, rgba(240,165,0,0.35), transparent 70%); }
.cta-banner h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); position: relative; }
.cta-banner p { color: rgba(255,255,255,0.78); margin-top: 8px; position: relative; }
.cta-banner__actions { display: flex; gap: 14px; flex-wrap: wrap; position: relative; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.about-text p { color: var(--muted); margin-bottom: 16px; }
.about-features { display: grid; gap: 16px; }
.about-feature { display: flex; gap: 16px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 20px; }
.about-feature__icon { flex: 0 0 48px; height: 48px; border-radius: 12px; background: rgba(240,165,0,0.12); color: var(--gold); display: grid; place-items: center; }
.about-feature__icon .icon { width: 26px; height: 26px; }
.about-feature h4 { color: var(--navy); margin-bottom: 4px; }
.about-feature p { color: var(--muted); font-size: 0.92rem; }

/* ---------- Contacts ---------- */
.contacts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: start; }
.contact-list { display: grid; gap: 18px; margin-bottom: 28px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 20px; }
.contact-item__icon { flex: 0 0 46px; height: 46px; border-radius: 12px; background: var(--navy); color: var(--gold); display: grid; place-items: center; }
.contact-item__icon .icon { width: 22px; height: 22px; }
.contact-item small { color: var(--muted); display: block; font-size: 0.8rem; }
.contact-item strong { font-size: 1.05rem; color: var(--navy); }
.map-frame { width: 100%; height: 100%; min-height: 360px; border: 0; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.contact-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); }
.contact-card h3 { color: var(--navy); margin-bottom: 6px; }
.contact-card > p { color: var(--muted); margin-bottom: 22px; }

/* ---------- Form ---------- */
.form { display: grid; gap: 16px; }
.form__field { display: grid; gap: 6px; }
.form__field span { font-size: 0.85rem; font-weight: 700; color: var(--navy-2); }
.form input, .form select, .form textarea {
    font: inherit; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
    background: var(--bg); transition: border-color var(--t), background var(--t), box-shadow var(--t); width: 100%;
}
.form input:focus, .form select:focus, .form textarea:focus {
    outline: none; border-color: var(--gold); background: var(--white); box-shadow: 0 0 0 4px rgba(240,165,0,0.12);
}
.form textarea { resize: vertical; }
.form__error { color: #e23b3b; font-size: 0.78rem; min-height: 0; }
.form__field.has-error input, .form__field.has-error select { border-color: #e23b3b; }
.form__note { font-size: 0.74rem; color: var(--muted); text-align: center; }
.form__success { text-align: center; padding: 24px 0; display: grid; gap: 16px; justify-items: center; }
.form__success-icon { width: 72px; height: 72px; border-radius: 50%; background: rgba(52,211,153,0.15); color: #16a34a; font-size: 2.2rem; display: grid; place-items: center; }

/* ---------- News ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform var(--t), box-shadow var(--t); }
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.news-card__link { display: block; color: inherit; }
.news-card__media { height: 190px; overflow: hidden; background: var(--bg); }
.news-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.news-card:hover .news-card__media img { transform: scale(1.06); }
.news-card__media--ph { display: grid; place-items: center; color: var(--gold); background: linear-gradient(135deg, var(--navy-2), var(--navy)); }
.news-card__media--ph .icon { width: 52px; height: 52px; opacity: 0.6; }
.news-card__body { padding: 22px; }
.news-card__date { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 0.82rem; margin-bottom: 10px; }
.news-card__date .icon { width: 16px; height: 16px; }
.news-card h3 { color: var(--navy); font-size: 1.12rem; line-height: 1.3; margin-bottom: 8px; }
.news-card p { color: var(--muted); font-size: 0.92rem; }
.news-card__more { display: inline-flex; align-items: center; gap: 6px; color: var(--gold); font-weight: 700; margin-top: 14px; font-size: 0.92rem; }
.news-card__more .icon { width: 16px; height: 16px; transition: transform var(--t); }
.news-card:hover .news-card__more .icon { transform: translateX(4px); }

.section__cta { text-align: center; margin-top: 38px; }
.empty-state { text-align: center; color: var(--muted); padding: 40px 0; font-size: 1.05rem; }

/* ---------- Article (детальная новость) ---------- */
.article { max-width: 820px; margin: 0 auto; }
.article__image { width: 100%; border-radius: var(--radius); margin-bottom: 28px; box-shadow: var(--shadow-sm); }
.article__body { font-size: 1.06rem; color: var(--ink); }
.article__body p { margin-bottom: 18px; }
.article__cta { margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); display: flex; gap: 14px; flex-wrap: wrap; }

.page-hero__back { display: inline-flex; align-items: center; gap: 8px; color: rgba(255,255,255,0.8); font-weight: 600; margin-bottom: 16px; transition: color var(--t); }
.page-hero__back:hover { color: var(--gold); }
.icon--back { transform: rotate(180deg); width: 18px; height: 18px; }
.page-hero__meta { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,0.72); margin-top: 16px; }
.page-hero__meta .icon { width: 18px; height: 18px; }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: rgba(255,255,255,0.7); padding-top: 64px; margin-top: 0; }
.footer__inner { display: grid; grid-template-columns: 1.6fr 1fr 1.4fr; gap: 40px; padding-bottom: 48px; }
.footer__col h4 { color: var(--white); margin-bottom: 18px; font-size: 1rem; }
.footer__col a { display: block; padding: 5px 0; transition: color var(--t); }
.footer__col a:hover { color: var(--gold); }
.footer__about { font-size: 0.9rem; margin-top: 16px; line-height: 1.7; }
.footer__contact-item { margin-bottom: 12px; font-size: 0.92rem; }
.footer__contact-item strong { color: var(--white); display: block; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 22px 0; }
.footer__bottom .container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 0.82rem; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal.is-open { display: flex; }
.modal__overlay { position: absolute; inset: 0; background: rgba(13, 27, 42, 0.6); backdrop-filter: blur(4px); animation: fade 0.25s; }
.modal__dialog {
    position: relative; background: var(--white); border-radius: 22px; padding: 34px;
    width: 100%; max-width: 460px; box-shadow: var(--shadow); animation: pop 0.3s; max-height: 92vh; overflow-y: auto;
}
.modal__close { position: absolute; top: 16px; right: 18px; background: none; border: 0; font-size: 1.8rem; line-height: 1; color: var(--muted); cursor: pointer; }
.modal__title { color: var(--navy); font-size: 1.4rem; }
.modal__subtitle { color: var(--muted); margin: 8px 0 22px; font-size: 0.95rem; }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(20px) scale(0.97); } }

/* ---------- FAB ---------- */
.fab {
    position: fixed; right: 24px; bottom: 24px; z-index: 90;
    width: 58px; height: 58px; border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-2)); color: var(--navy);
    display: grid; place-items: center;
    box-shadow: 0 12px 28px rgba(240,165,0,0.45); animation: pulse 2.4s infinite;
}
.fab .icon { width: 26px; height: 26px; }
@keyframes pulse { 0% { box-shadow: 0 12px 28px rgba(240,165,0,0.45), 0 0 0 0 rgba(240,165,0,0.4); } 70% { box-shadow: 0 12px 28px rgba(240,165,0,0.45), 0 0 0 16px rgba(240,165,0,0); } 100% { box-shadow: 0 12px 28px rgba(240,165,0,0.45), 0 0 0 0 rgba(240,165,0,0); } }

/* ---------- Каналы связи (выбор способа обращения) ---------- */
.channels { display: grid; gap: 10px; }
.channel {
    --ch: var(--navy-3);
    display: flex; align-items: center; gap: 14px;
    padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--radius-sm);
    background: var(--white); transition: border-color var(--t), transform var(--t), box-shadow var(--t);
}
.channel:hover { border-color: var(--ch); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.channel__icon {
    display: grid; place-items: center; flex: 0 0 40px; width: 40px; height: 40px;
    border-radius: 50%; background: color-mix(in srgb, var(--ch) 12%, transparent); color: var(--ch);
}
.channel__body { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.channel__body small { color: var(--muted); font-size: 0.78rem; }
.channel__body strong { font-size: 0.98rem; color: var(--navy); overflow-wrap: anywhere; }
.channel--phone { --ch: var(--gold); }
.channel--whatsapp { --ch: #25d366; }
.channel--telegram { --ch: #229ed9; }

.modal__divider { display: flex; align-items: center; gap: 12px; margin: 22px 0 18px; }
.modal__divider::before, .modal__divider::after { content: ""; height: 1px; flex: 1; background: var(--line); }
.modal__divider span { color: var(--muted); font-size: 0.82rem; }

/* ---------- Направления деятельности (73-ФЗ / 135-ФЗ) ---------- */
.practices { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.practice {
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 32px; box-shadow: var(--shadow-sm);
}
.practice__head { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 16px; }
.practice__icon {
    display: grid; place-items: center; flex: 0 0 52px; width: 52px; height: 52px;
    border-radius: 14px; background: linear-gradient(135deg, var(--navy-2), var(--navy-3)); color: var(--gold);
}
.practice__head h3 { font-size: 1.3rem; color: var(--navy); line-height: 1.2; }
.practice__law { margin-top: 6px; font-size: 0.85rem; color: var(--muted); }
.practice__intro { color: var(--muted); margin-bottom: 20px; }
.practice__items { list-style: none; display: grid; gap: 11px; }
.practice__items li { display: flex; align-items: flex-start; gap: 12px; font-size: 0.97rem; }
.practice__competence {
    margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line);
    font-size: 0.9rem; color: var(--muted);
}

/* ---------- Направления экспертизы ---------- */
.section--muted { background: var(--white); border-block: 1px solid var(--line); }
.directions { display: grid; gap: 36px; }
.direction-group { display: grid; grid-template-columns: 220px 1fr; gap: 32px; align-items: start; }
.direction-group__title {
    font-size: 1.05rem; color: var(--navy); font-weight: 800;
    padding-left: 14px; border-left: 3px solid var(--gold);
}
.direction-group__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; }
.direction {
    display: flex; gap: 14px; padding: 18px;
    background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-sm);
    transition: border-color var(--t), transform var(--t);
}
.direction:hover { border-color: var(--navy-3); transform: translateY(-2px); }
.direction__icon { flex: 0 0 24px; color: var(--navy-3); }
.direction__body strong { display: block; font-size: 0.97rem; color: var(--navy); line-height: 1.3; }
.direction__body p { margin-top: 6px; font-size: 0.86rem; color: var(--muted); }

.about-text__link { margin-top: 18px; }
.about-text__link a { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--navy-3); }
.about-text__link a:hover { color: var(--gold); }
.about-text__link .icon { width: 18px; height: 18px; }

/* ---------- Animations on enter ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
    .hero__inner { grid-template-columns: 1fr; }
    .stats, .usecases { grid-template-columns: repeat(2, 1fr); }
    .services-grid, .news-grid { grid-template-columns: repeat(2, 1fr); }
    .about-grid, .contacts-grid { grid-template-columns: 1fr; }
    .footer__inner { grid-template-columns: 1fr 1fr; }
    .practices { grid-template-columns: 1fr; }
    .direction-group { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 720px) {
    .nav, .header__phone { display: none; }
    .nav.is-open {
        display: flex; flex-direction: column; position: absolute; top: 76px; left: 0; right: 0;
        background: var(--white); padding: 16px 24px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    }
    .burger { display: flex; }
    .header__actions .btn { display: none; }
    .services-grid, .news-grid { grid-template-columns: 1fr; }
    .section { padding: 60px 0; }
    .cta-banner { padding: 36px 28px; }
    .footer__inner { grid-template-columns: 1fr; }
    .direction-group__list { grid-template-columns: 1fr; }
    .logo__text small { display: none; }
}
