/* style.css */
:root {
    --primary: #e63946;
    --primary-dark: #800000;
    --accent: #4a0404;
    --bg-dark: #0f0f0f;
    --bg-light: #1a1a1a;
    --text-main: #ffffff;
    --text-muted: #a0a0a0;
    --transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    --gradient: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Manrope', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-weight: 800;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 16px;
}

.btn--outline {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--text-main);
}

.btn--outline:hover {
    background: var(--primary);
    box-shadow: 0 0 20px rgba(230, 57, 70, 0.4);
}

.btn--sm {
    padding: 10px 24px;
    font-size: 14px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.header--scrolled {
    background: rgba(15, 15, 15, 0.9);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.logo__dot {
    width: 12px;
    height: 12px;
    background: var(--gradient);
    border-radius: 2px;
    transform: rotate(45deg);
}

.nav__list {
    display: flex;
    gap: 30px;
}

.nav__link {
    font-weight: 500;
    font-size: 15px;
    color: var(--text-muted);
}

.nav__link:hover {
    color: var(--primary);
}

/* Burger */
.burger {
    display: none;
    background: none;
    border: none;
    width: 30px;
    height: 20px;
    position: relative;
    cursor: pointer;
}

.burger span,
.burger::before,
.burger::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: var(--text-main);
    transition: var(--transition);
}

.burger::before {
    top: 0;
}

.burger span {
    top: 9px;
}

.burger::after {
    bottom: 0;
}

/* Footer */
.footer {
    background: var(--bg-light);
    padding: 80px 0 30px;
    margin-top: 100px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer__description {
    margin-top: 20px;
    color: var(--text-muted);
    font-size: 14px;
}

.footer__title {
    margin-bottom: 25px;
    font-size: 18px;
    position: relative;
}

.footer__links li {
    margin-bottom: 12px;
}

.footer__links a {
    color: var(--text-muted);
    font-size: 14px;
}

.footer__links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer__contact li {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-bottom: 15px;
    color: var(--text-muted);
    font-size: 14px;
}

.footer__contact i {
    color: var(--primary);
}

.footer__bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    color: var(--text-muted);
    font-size: 13px;
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .footer__grid {
        grid-template-columns: 1fr 1fr;
    }

    .nav {
        display: none;
    }

    .burger {
        display: block;
    }
}

@media (max-width: 576px) {
    .footer__grid {
        grid-template-columns: 1fr;
    }
}
/* Hero Styles */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
    background: radial-gradient(circle at 10% 20%, rgba(74, 4, 4, 0.3) 0%, transparent 50%);
}

.hero__container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 5;
}

.hero__badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(230, 57, 70, 0.1);
    border: 1px solid var(--primary);
    border-radius: 4px;
    color: var(--primary);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero__title {
    font-size: clamp(40px, 6vw, 72px);
    margin-bottom: 24px;
}

.text-gradient {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero__text {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 540px;
    margin-bottom: 40px;
}

.hero__btns {
    display: flex;
    gap: 20px;
    align-items: center;
}

.btn--primary {
    background: var(--gradient);
    color: #fff;
    box-shadow: 0 10px 30px rgba(230, 57, 70, 0.3);
}

.btn--primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(230, 57, 70, 0.5);
}

.btn--link {
    font-weight: 600;
    color: var(--text-main);
}

.btn--link i {
    margin-left: 8px;
    transition: var(--transition);
}

.btn--link:hover i {
    transform: translateX(5px);
}

/* Visual Part */
.hero__image-wrapper {
    position: relative;
}

.hero__img {
    width: 100%;
    height: auto;
    border-radius: 24px;
    filter: grayscale(0.5) contrast(1.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero__card {
    position: absolute;
    background: rgba(26, 26, 26, 0.8);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 600;
}

.hero__card i {
    color: var(--primary);
    font-size: 24px;
}

.hero__card--1 {
    top: 10%;
    left: -15%;
}

.hero__card--2 {
    bottom: 15%;
    right: -5%;
}

/* Background Shapes */
.hero__shapes .shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    z-index: 1;
}

.shape--1 {
    width: 300px;
    height: 300px;
    background: rgba(128, 0, 0, 0.2);
    top: 10%;
    right: 10%;
}

.shape--2 {
    width: 400px;
    height: 400px;
    background: rgba(230, 57, 70, 0.1);
    bottom: -10%;
    left: 0%;
}

.shape--3 {
    width: 200px;
    height: 200px;
    background: var(--accent);
    top: 50%;
    left: 50%;
    opacity: 0.3;
}

@media (max-width: 992px) {
    .hero__container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero__text {
        margin: 0 auto 40px;
    }

    .hero__btns {
        justify-content: center;
    }

    .hero__card--1 {
        left: 0;
    }

    .hero__visual {
        margin-top: 60px;
    }
}
.strategies {
    padding: 100px 0;
    background: var(--bg-dark);
}

.section-head {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 42px;
    margin-bottom: 15px;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
}

.strategies__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.strategy-card {
    background: #1e1e1e;
    padding: 40px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.strategy-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    background: #252525;
}

.strategy-card.active {
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(128, 0, 0, 0.2);
}

.strategy-card__icon {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 25px;
}

.strategy-card__title {
    margin-bottom: 15px;
    font-size: 24px;
}

.strategy-card__text {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 25px;
}

.strategy-card__list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    margin-bottom: 10px;
    color: var(--text-main);
}

.strategy-card__list i {
    color: var(--primary);
    font-size: 12px;
}

@media (max-width: 992px) {
    .strategies__grid {
        grid-template-columns: 1fr;
    }
}

.expertise {
    position: relative;
    /* Увеличиваем высоту, чтобы было куда скроллить */
    padding-bottom: 100px;
}

/* Липкая подложка */
.expertise__sticky-wrapper {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    /* Высота на весь экран */
    z-index: 1;
    overflow: hidden;
}

.expertise__bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/img/two.jpg');
    background-size: cover;
    background-position: center;
    filter: brightness(0.3) saturate(0.5);
}

.expertise__bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, var(--bg-dark), transparent 20%, transparent 80%, var(--bg-dark)),
        radial-gradient(circle at center, rgba(74, 4, 4, 0.4) 0%, transparent 70%);
    z-index: 2;
}

.expertise__container {
    position: relative;
    z-index: 3;
    /* Сдвигаем контент вверх, чтобы он накладывался на липкий фон */
    margin-top: -100vh;
}

.expertise__spacer {
    height: 40vh;
    /* Отступ, чтобы в начале мы видели только фон */
}

.expertise__content {
    max-width: 550px;
    margin-left: auto;
    /* Прижимаем контент вправо для стиля */
    padding-bottom: 100px;
}

.expertise__step {
    background: rgba(15, 15, 15, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 50px;
    border-radius: 40px;
    border: 1px solid rgba(230, 57, 70, 0.2);
    margin-bottom: 60px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    transition: var(--transition);
}

.expertise__step:hover {
    border-color: var(--primary);
    transform: scale(1.02);
}

.step-num {
    font-size: 64px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    display: block;
    margin-bottom: 20px;
    opacity: 0.5;
}

/* Адаптив */
@media (max-width: 992px) {
    .expertise__content {
        margin: 0 auto;
    }
}
.cases {
    padding: 100px 0;
    background: var(--bg-dark);
    position: relative;
}

.cases__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.case-card {
    background: var(--bg-light);
    border-radius: 32px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.case-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

.case-card__image {
    position: relative;
    height: 250px;
}

.case-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
}

.case-card__tag {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--primary);
    padding: 6px 15px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.case-card__content {
    padding: 40px;
}

.case-card__title {
    font-size: 26px;
    margin-bottom: 15px;
}

.case-card__description {
    color: var(--text-muted);
    margin-bottom: 30px;
    font-size: 15px;
}

.case-card__stats {
    display: flex;
    gap: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-num {
    display: block;
    font-size: 32px;
    font-weight: 800;
    color: var(--primary);
}

.stat-item p {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 992px) {
    .cases__grid {
        grid-template-columns: 1fr;
    }
}
.blog {
    padding: 100px 0;
    background: var(--bg-dark);
}

.blog__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.blog-item {
    background: transparent;
    border-radius: 20px;
    transition: var(--transition);
}

.blog-item__img-box {
    height: 220px;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 25px;
}

.blog-item__img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.blog-item:hover .blog-item__img-box img {
    transform: scale(1.1);
}

.blog-item time {
    font-size: 13px;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
}

.blog-item h3 {
    font-size: 20px;
    margin: 12px 0;
    line-height: 1.4;
}

.blog-item p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 20px;
}

.blog-item__link {
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-main);
}

.blog-item__link i {
    font-size: 10px;
    transition: var(--transition);
}

.blog-item:hover .blog-item__link i {
    transform: translateX(5px);
    color: var(--primary);
}

.blog__footer {
    text-align: center;
}

@media (max-width: 992px) {
    .blog__grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .blog__grid {
        grid-template-columns: 1fr;
    }
}
/* Мобильное меню */
.menu-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: var(--bg-light);
    z-index: 1001;
    transition: var(--transition);
    padding: 100px 40px;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
}

.menu-overlay.active {
    right: 0;
}

.menu-overlay .nav__list {
    flex-direction: column;
    gap: 25px;
}

.menu-overlay .nav__link {
    font-size: 24px;
    color: #fff;
}

.burger.active::before {
    transform: translateY(9px) rotate(45deg);
}

.burger.active span {
    opacity: 0;
}

.burger.active::after {
    transform: translateY(-9px) rotate(-45deg);
}

/* Контакты */
.contact {
    padding: 100px 0;
    background: var(--bg-dark);
}

.contact__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.contact__text {
    color: var(--text-muted);
    margin: 30px 0;
    font-size: 18px;
}

.contact__item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    font-weight: 600;
}

.contact__item i {
    color: var(--primary);
}

.form {
    background: #1e1e1e;
    padding: 40px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.form__group {
    margin-bottom: 20px;
}

.form__input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px 20px;
    border-radius: 12px;
    color: #fff;
    outline: none;
    transition: var(--transition);
}

.form__input:focus {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.08);
}

.form__captcha {
    margin: 25px 0;
}

.form__label {
    display: block;
    margin-bottom: 10px;
    font-size: 14px;
    color: var(--text-muted);
}

.form__checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 25px;
}

.form__status {
    margin-top: 20px;
    text-align: center;
    font-weight: 600;
    display: none;
}

.form__status.success {
    color: #4caf50;
    display: block;
}

.form__status.error {
    color: var(--primary);
    display: block;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(150%);
    background: #252525;
    padding: 20px 30px;
    border-radius: 16px;
    border: 1px solid var(--primary);
    z-index: 2000;
    width: 90%;
    max-width: 500px;
    transition: var(--transition);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.cookie-popup.active {
    transform: translateX(-50%) translateY(0);
}

.cookie-popup__content {
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: space-between;
}

.cookie-popup p {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
}

.cookie-popup a {
    color: var(--primary);
    text-decoration: underline;
}

@media (max-width: 992px) {
    .contact__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}
/* Стили для юридических страниц (Этап 5.2) */
.pages {
    padding: 160px 0 100px;
    /* Отступ под хедером */
    background: var(--bg-dark);
    min-height: 80vh;
}

.pages .container {
    max-width: 800px;
    /* Узкая колонка для удобства чтения */
}

.pages h1 {
    font-size: 36px;
    margin-bottom: 40px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.pages h2 {
    font-size: 28px;
    margin: 40px 0 20px;
    color: var(--primary);
}

.pages p {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.8;
}

.pages ul {
    margin-bottom: 30px;
    padding-left: 20px;
}

.pages li {
    color: var(--text-muted);
    margin-bottom: 10px;
    position: relative;
    list-style: disc;
}