:root {
    --primary: #0A2540;
    --accent: #635BFF;
    --accent-light: #7A73FF;
    --text: #425466;
    --bg: #F6F9FC;
    --white: #ffffff;
    --container: 1200px;
    --transition: all 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: 'Inter', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
.logo__text {
    font-family: 'Manrope', sans-serif;
    color: var(--primary);
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* --- Buttons --- */
.btn {
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    display: inline-block;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn--outline {
    border: 2px solid var(--accent);
    color: var(--accent);
}

.btn--outline:hover {
    background: var(--accent);
    color: var(--white);
    transform: translateY(-2px);
}

/* --- Header --- */
.header {
    height: 80px;
    display: flex;
    align-items: center;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.header--scrolled {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.header__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.4rem;
    font-weight: 800;
}

.logo__icon {
    width: 32px;
    height: 32px;
    background: var(--accent);
    clip-path: polygon(25% 0%, 100% 0%, 75% 100%, 0% 100%);
}

.nav__list {
    display: flex;
    gap: 32px;
}

.nav__link:hover {
    color: var(--accent);
}

/* --- Footer --- */
.footer {
    background: var(--white);
    padding: 80px 0 40px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer__title {
    margin-bottom: 24px;
    font-size: 1.1rem;
}

.footer__links li {
    margin-bottom: 12px;
}

.footer__links a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer__contact li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer__bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.7;
}

.icon-sm {
    width: 18px;
    height: 18px;
    color: var(--accent);
}

/* Mobile Menu Placeholder */
.burger {
    display: none;
}

@media (max-width: 992px) {

    .nav,
    .header__cta {
        display: none;
    }

    .burger {
        display: block;
        background: none;
        border: none;
        cursor: pointer;
    }

    .footer__grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .footer__grid {
        grid-template-columns: 1fr;
    }
}
/* --- Hero Section --- */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 0% 0%, #ffffff 0%, #f0f4f8 100%);
}

.hero__canvas {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.8;
}

.hero__container {
    position: relative;
    z-index: 2;
}

.hero__content {
    max-width: 700px;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(99, 91, 255, 0.1);
    color: var(--accent);
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero__title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    margin-bottom: 24px;
    font-weight: 800;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero__subtitle {
    font-size: 1.2rem;
    color: var(--text);
    margin-bottom: 40px;
    max-width: 600px;
}

.hero__actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.btn--primary {
    background: var(--accent);
    color: var(--white);
    box-shadow: 0 10px 20px rgba(99, 91, 255, 0.2);
}

.btn--primary:hover {
    background: var(--accent-light);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(99, 91, 255, 0.3);
}

.btn--link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: var(--primary);
}

.btn--link:hover {
    color: var(--accent);
}

.hero__scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.mouse {
    width: 26px;
    height: 42px;
    border: 2px solid var(--text);
    border-radius: 20px;
    position: relative;
}

.mouse::before {
    content: '';
    width: 4px;
    height: 8px;
    background: var(--accent);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 8px;
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translate(-50%, 0);
    }

    100% {
        opacity: 0;
        transform: translate(-50%, 20px);
    }
}

@media (max-width: 768px) {
    .hero__actions {
        flex-direction: column;
        align-items: flex-start;
    }
}
/* --- Strategies Section --- */
.strategies {
    padding: 120px 0;
    background: var(--white);
}

.strategies__grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
}

.section-title {
    font-size: 2.4rem;
    margin-bottom: 40px;
    line-height: 1.2;
}

.strategy-item {
    padding: 24px;
    border-left: 3px solid #eee;
    margin-bottom: 20px;
    cursor: pointer;
    transition: var(--transition);
}

.strategy-item h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    transition: var(--transition);
}

.strategy-item p {
    font-size: 1rem;
    opacity: 0;
    max-height: 0;
    transition: all 0.5s ease;
    overflow: hidden;
}

/* Активное состояние */
.strategy-item.active {
    border-left-color: var(--accent);
    background: rgba(99, 91, 255, 0.03);
}

.strategy-item.active h3 {
    color: var(--accent);
}

.strategy-item.active p {
    opacity: 1;
    max-height: 100px;
    margin-top: 10px;
}

/* Визуал с морфингом */
.strategies__visual {
    position: sticky;
    top: 120px;
}

.morph-container {
    position: relative;
    width: 100%;
    aspect-ratio: 1/1;
    transition: var(--transition);
}

.morph-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: clip-path 0.8s cubic-bezier(0.6, 0.04, 0.4, 0.98);
    /* Начальная форма (круг) */
    clip-path: circle(45% at 50% 50%);
}

/* Определяем формы через классы, которые будем менять в JS */
.shape-circle {
    clip-path: circle(45% at 50% 50%);
}

.shape-polygon {
    clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
}

.shape-blob {
    clip-path: path('M44.7,-76.4C58.1,-69.2,69.2,-57.4,76.4,-43.8C83.6,-30.3,86.9,-15.1,84.5,-0.4C82.1,14.3,74.1,28.7,64.8,41.2C55.5,53.7,44.9,64.3,32.3,70.8C19.7,77.3,5.1,79.7,-9.6,78.8C-24.3,77.9,-39,73.8,-51.7,65.6C-64.4,57.4,-75.1,45.2,-81.1,31.2C-87.1,17.2,-88.4,1.4,-85.8,-13.6C-83.2,-28.5,-76.6,-42.6,-66.2,-53.4C-55.8,-64.1,-41.6,-71.4,-27.6,-78.3C-13.6,-85.2,0.1,-91.6,14.3,-91.1C28.4,-90.6,44.7,-76.4Z');
    transform: scale(3.5) translate(40px, 40px);
}

@media (max-width: 992px) {
    .strategies__grid {
        grid-template-columns: 1fr;
    }

    .strategies__visual {
        order: -1;
        max-width: 400px;
        margin: 0 auto;
    }
}
/* --- Expertise Section --- */
.expertise {
    padding: 120px 0;
    background: #fcfdfe;
}

.expertise__header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 80px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text);
}

.expertise__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.exp-card {
    background: var(--white);
    padding: 40px;
    border-radius: 24px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.exp-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(99, 91, 255, 0.05), transparent);
    opacity: 0;
    transition: var(--transition);
}

.exp-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    border-color: var(--accent);
}

.exp-card:hover::before {
    opacity: 1;
}

.exp-card__icon {
    width: 60px;
    height: 60px;
    background: var(--bg);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--accent);
    transition: var(--transition);
}

.exp-card:hover .exp-card__icon {
    background: var(--accent);
    color: var(--white);
    transform: rotateY(180deg);
}

.exp-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.exp-card__list {
    margin-top: 24px;
}

.exp-card__list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    margin-bottom: 8px;
    color: var(--primary);
    font-weight: 500;
}

.exp-card__list i {
    width: 16px;
    color: var(--accent);
}
/* --- Insights Section --- */
.insights {
    padding: 120px 0;
    background: var(--bg);
}

.insights__top {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 50px;
}

.swiper-navigation {
    display: flex;
    gap: 15px;
}

.swiper-button-prev-custom,
.swiper-button-next-custom {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid var(--accent);
    background: transparent;
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.swiper-button-prev-custom:hover,
.swiper-button-next-custom:hover {
    background: var(--accent);
    color: var(--white);
}

.insight-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    height: auto;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.insight-card__image {
    position: relative;
    height: 240px;
}

.insight-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.insight-card__image .category {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--accent);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

.insight-card__content {
    padding: 30px;
}

.insight-card__content h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    line-height: 1.4;
}

.insight-card__content p {
    font-size: 0.95rem;
    color: var(--text);
    margin-bottom: 25px;
}

.btn-text {
    font-weight: 700;
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-text:hover {
    gap: 12px;
}
/* --- Reviews Section --- */
.reviews {
    padding: 120px 0;
    background: var(--white);
}

.reviews__header {
    text-align: center;
    margin-bottom: 60px;
}

.reviews__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.review-card {
    background: var(--bg);
    padding: 40px;
    border-radius: 30px;
    position: relative;
    transition: var(--transition);
    border: 1px solid transparent;
}

.review-card:hover {
    background: var(--white);
    border-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(99, 91, 255, 0.08);
}

.review-card__quote {
    color: var(--accent);
    margin-bottom: 20px;
    opacity: 0.5;
}

.review-card__quote i {
    width: 40px;
    height: 40px;
}

.review-card__text {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--primary);
    line-height: 1.8;
    margin-bottom: 30px;
}

.review-card__author {
    display: flex;
    align-items: center;
    gap: 15px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 20px;
}

.author__info strong {
    display: block;
    font-size: 1rem;
    color: var(--primary);
}

.author__info span {
    font-size: 0.85rem;
    color: var(--text);
}

.reviews__cta {
    margin-top: 60px;
    text-align: center;
    font-weight: 600;
}
/* --- Contact Section --- */
.contact {
    padding: 120px 0;
    background: #0A2540;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: var(--accent);
    filter: blur(150px);
    opacity: 0.1;
    top: -200px;
    right: -200px;
}

.contact__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.contact__info .section-title {
    color: var(--white);
    margin-bottom: 24px;
}

.contact__methods {
    margin-top: 40px;
    display: grid;
    gap: 24px;
}

.method-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.method-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}

.method-item span {
    display: block;
    font-size: 0.85rem;
    opacity: 0.7;
}

/* Form Styles */
.contact__form-wrapper {
    background: var(--white);
    padding: 40px;
    border-radius: 30px;
    color: var(--primary);
}

.form-group {
    margin-bottom: 20px;
}

.contact__form input {
    width: 100%;
    padding: 16px 20px;
    border: 1px solid #E6E9F0;
    border-radius: 12px;
    font-family: inherit;
    transition: var(--transition);
}

.contact__form input:focus {
    border-color: var(--accent);
    outline: none;
    box-shadow: 0 0 0 4px rgba(99, 91, 255, 0.1);
}

.form-captcha {
    margin: 20px 0;
    padding: 15px;
    background: var(--bg);
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.form-captcha input {
    width: 80px;
    padding: 10px;
}

.form-agreement {
    margin-bottom: 25px;
    font-size: 0.9rem;
}

.btn--block {
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 10px;
    display: none;
    text-align: center;
    font-weight: 600;
}

.form-message.success {
    background: #E7F9ED;
    color: #22C55E;
    display: block;
}

.form-message.error {
    background: #FEEBEB;
    color: #EF4444;
    display: block;
}

@media (max-width: 992px) {
    .contact__container {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}
/* --- Mobile Menu --- */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background: var(--white);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.mobile-menu--active {
    right: 0;
}

.mobile-menu__close {
    position: absolute;
    top: 25px;
    right: 25px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--primary);
}

.mobile-menu__list {
    text-align: center;
}

.mobile-menu__link {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 20px;
    font-family: 'Manrope', sans-serif;
}

/* --- Cookie Popup --- */
.cookie-popup {
    position: fixed;
    bottom: -100px;
    left: 0;
    width: 100%;
    background: var(--primary);
    color: var(--white);
    padding: 20px 0;
    z-index: 1500;
    transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.cookie-popup--active {
    transform: translateY(-100px);
}

.cookie-popup__content {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.cookie-popup p {
    font-size: 0.9rem;
    opacity: 0.9;
}

.btn--accent-sm {
    background: var(--accent);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 8px;
    font-size: 0.85rem;
}

/* Burger Animation */
.burger span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--primary);
    margin: 5px 0;
    transition: var(--transition);
}
/* --- Legal Pages Styles --- */
.pages {
    padding: 160px 0 100px;
    /* Большой отступ сверху, чтобы не перекрывал фиксированный хедер */
    background: var(--white);
    min-height: 80vh;
}

.pages .container {
    max-width: 800px;
    /* Сужаем контент для лучшей читаемости текста */
}

.pages h1 {
    font-size: clamp(1.6rem, 4vw, 3rem);
    margin-bottom: 40px;
    line-height: 1.1;
    color: var(--primary);
}

.pages h2 {
    font-size: 1.8rem;
    margin: 40px 0 20px;
    color: var(--primary);
}

.pages p {
    font-size: 1.1rem;
    color: var(--text);
    margin-bottom: 20px;
    line-height: 1.7;
}

.pages ul {
    margin-bottom: 30px;
}

.pages li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: var(--text);
    line-height: 1.6;
}

.pages li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
}

.pages strong {
    color: var(--primary);
    font-weight: 700;
}

.pages a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.pages a:hover {
    color: var(--primary);
    text-decoration: none;
}