/* QR Consult Privacy Landing Page Styles */

/* CSS Variables - Corporate Colors & Spacing */
:root {
    /* Brand Colors */
    --primary-color: #2563eb;
    --primary-hover: #1d4ed8;
    --primary-light: #dbeafe;
    --secondary-color: #64748b;
    --accent-color: #0ea5e9;

    /* Neutral Colors */
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --text-muted: #94a3b8;
    --background: #ffffff;
    --background-alt: #f8fafc;
    --background-section: #f1f5f9;
    --border-color: #e2e8f0;
    --shadow-color: rgba(0, 0, 0, 0.1);

    /* Success & Warning Colors */
    --success-color: #059669;
    --warning-color: #d97706;
    --error-color: #ef4444;

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;

    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
    --spacing-4xl: 6rem;

    /* Layout */
    --container-max-width: 1200px;
    --border-radius: 0.5rem;
    --border-radius-lg: 1rem;
    --box-shadow: 0 1px 3px 0 var(--shadow-color);
    --box-shadow-lg: 0 10px 15px -3px var(--shadow-color);

    /* Transitions */
    --transition: all 0.3s ease;
    --transition-fast: all 0.15s ease;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--background);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding-top: 80px;
    /* Высота header + небольшой отступ */
}

/* Container */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

@media (min-width: 768px) {
    .container {
        padding: 0 var(--spacing-xl);
    }
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: var(--spacing-md);
}

h1 {
    font-size: var(--font-size-4xl);
}

h2 {
    font-size: var(--font-size-3xl);
}

h3 {
    font-size: var(--font-size-2xl);
}

h4 {
    font-size: var(--font-size-xl);
}

h5 {
    font-size: var(--font-size-lg);
}

h6 {
    font-size: var(--font-size-base);
}

@media (max-width: 768px) {
    h1 {
        font-size: var(--font-size-3xl);
    }

    h2 {
        font-size: var(--font-size-2xl);
    }

    h3 {
        font-size: var(--font-size-xl);
    }
}

p {
    margin-bottom: var(--spacing-md);
    color: var(--text-secondary);
}

.text-accent {
    color: var(--accent-color);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-sm) var(--spacing-lg);
    font-size: var(--font-size-base);
    font-weight: 500;
    border: 2px solid transparent;
    border-radius: var(--border-radius);
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn--primary {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.btn--primary:hover,
.btn--primary:focus {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    transform: translateY(-1px);
    outline: 2px solid var(--primary-light);
    outline-offset: 2px;
}

.btn--secondary {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn--secondary:hover,
.btn--secondary:focus {
    background-color: var(--primary-color);
    color: white;
    outline: 2px solid var(--primary-light);
    outline-offset: 2px;
}

.btn--text {
    background-color: transparent;
    color: var(--text-secondary);
    border: none;
    padding: var(--spacing-sm);
}

.btn--text:hover,
.btn--text:focus {
    color: var(--primary-color);
    outline: 2px solid var(--primary-light);
    outline-offset: 2px;
}

.btn--small {
    padding: var(--spacing-xs) var(--spacing-md);
    font-size: var(--font-size-sm);
}

.btn--large {
    padding: var(--spacing-md) var(--spacing-2xl);
    font-size: var(--font-size-lg);
}

.btn--full {
    width: 100%;
}

/* Header */
.header {
    background-color: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.header.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.header__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-md) 0;
}

.header__logo .logo {
    height: 40px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}

.header__logo a {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    transition: var(--transition);
    text-decoration: none;
}

.header__logo-text {
    color: var(--text-primary);
    font-size: var(--font-size-lg);
    font-weight: 600;
    letter-spacing: -0.02em;
    transition: var(--transition);
    text-decoration: none;
}

.header__logo a:hover .logo {
    opacity: 0.8;
    transform: scale(1.05);
}

.header__logo a:hover .header__logo-text {
    opacity: 0.8;
}

.header__nav {
    display: block;
}

@media (max-width: 1023px) {
    .header__nav {
        display: none;
    }
}

.nav-list {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: var(--spacing-lg);
    list-style: none;
    margin: 0;
    padding: 0;
}

@media (max-width: 1023px) {
    .nav-list {
        flex-direction: column;
        gap: 1rem;
    }
}

.nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link:focus {
    color: var(--primary-color);
    outline: 2px solid var(--primary-light);
    outline-offset: 2px;
    border-radius: 4px;
}

.nav-link.nav__link--active,
.nav__link--active {
    color: var(--primary-color);
    font-weight: 600;
    background-color: var(--primary-light);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: 4px;
}

/* Header Contact & Social */
.header__contact {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    /* расстояние между соц. иконками и бургером */
}

.header__social {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.header__social-link,
.header__email-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: var(--text-secondary);
    background-color: var(--background-alt);
    border-radius: var(--border-radius);
    transition: var(--transition);
    text-decoration: none;
}

.header__social-link:hover,
.header__email-link:hover,
.header__social-link:focus,
.header__email-link:focus {
    background-color: var(--primary-light);
    color: var(--primary-color);
    transform: translateY(-1px);
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.header__social-link--whatsapp:hover {
    background-color: #e7f5e7;
    color: #25d366;
}

.header__social-link--telegram:hover {
    background-color: #e3f2fd;
    color: #0088cc;
}

.header__email-link:hover {
    background-color: #fef3c7;
    color: #d97706;
}

.header__social-link svg,
.header__email-link svg {
    width: 18px;
    height: 18px;
    transition: var(--transition);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    width: 30px;
    height: 30px;
    background: none;
    border: none;
    cursor: pointer;
    gap: 4px;
    justify-content: center;
    align-items: center;
    padding: 4px;
    border-radius: 4px;
    transition: var(--transition);
    margin-left: var(--spacing-sm);
}

@media (max-width: 1023px) {
    .mobile-menu-toggle {
        display: flex;
    }
}

.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
    background-color: var(--background-alt);
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.mobile-menu-toggle span {
    width: 22px;
    height: 3px;
    background-color: var(--primary-color);
    transition: var(--transition);
    border-radius: 1px;
}

/* Анимация бургера */
.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Navigation */
.header__nav.mobile-open {
    display: block !important;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 0.5rem;
    margin-top: 1rem;
    padding: 1rem;
    z-index: 1000;
}

@media (min-width: 1024px) {
    .header__nav.mobile-open {
        display: none !important;
    }
}

/* Footer */
.footer {
    background-color: var(--text-primary);
    color: white;
    padding: var(--spacing-3xl) 0 var(--spacing-xl);
}

.footer__content {
    display: grid;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

@media (min-width: 768px) {
    .footer__content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer__content {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}

.footer__logo {
    margin-bottom: var(--spacing-lg);
}

.footer__logo a {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    transition: var(--transition);
    text-decoration: none;
}

.footer__logo .logo {
    height: 48px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
    filter: brightness(0) invert(1);
}

.footer__logo-text {
    color: #ffffff;
    font-size: var(--font-size-xl);
    font-weight: 600;
    letter-spacing: -0.02em;
    transition: var(--transition);
    text-decoration: none;
}

.footer__logo a:hover .logo {
    transform: scale(1.05);
    opacity: 0.8;
}

.footer__logo a:hover .footer__logo-text {
    opacity: 0.8;
}

.footer__description {
    color: rgba(255, 255, 255, 0.8);
    max-width: 300px;
}

.footer__title {
    margin-bottom: var(--spacing-lg);
    font-size: var(--font-size-lg);
}

.footer__links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer__link,
.footer__contact {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    display: block;
    padding: var(--spacing-xs) 0;
    transition: var(--transition);
}

.footer__link:hover {
    color: white;
}

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: var(--spacing-lg);
    text-align: center;
}

.footer__copyright {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.footer__social {
    margin-top: var(--spacing-lg);
}

.footer__social-title {
    font-size: var(--font-size-base);
    margin-bottom: var(--spacing-md);
    color: white;
    font-weight: 500;
}

.social-links {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-link:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.social-link--whatsapp:hover {
    background-color: #25D366;
    border-color: #25D366;
}

.social-link--telegram:hover {
    background-color: #0088cc;
    border-color: #0088cc;
}

.social-link svg {
    width: 20px;
    height: 20px;
}

/* Cookie Banner как модальное окно */
.cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 -4px 32px rgba(0, 0, 0, 0.18);
    border-top: 1px solid var(--border-color);
    padding: 0;
    margin: 0;
    width: 100vw;
    max-width: 100vw;
    transition: transform 0.3s cubic-bezier(.4, 0, .2, 1), opacity 0.3s;
    transform: translateY(100%);
    opacity: 0;
    pointer-events: none;
}

.cookie-banner.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.cookie-banner__content {
    max-width: 600px;
    margin: 0 auto;
    padding: 1.5rem 1rem;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 2rem;
}

.cookie-banner__text {
    flex: 1;
}

.cookie-banner__actions {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
    align-items: center;
}

@media (max-width: 768px) {
    .cookie-banner__content {
        flex-direction: column;
        padding: 1rem 0.5rem;
        gap: 1rem;
    }

    .cookie-banner__actions {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }

    .cookie-banner__actions .btn {
        flex: 1;
        min-width: 120px;
    }
}

/* Process Section - горизонтальные карточки */
.process__steps {
    display: flex;
    flex-direction: row;
    gap: var(--spacing-xl);
    justify-content: center;
    align-items: stretch;
    margin-bottom: var(--spacing-3xl);
    flex-wrap: wrap;
}

.process-step {
    background: #fff;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.06);
    border: 1.5px solid var(--border-color);
    padding: var(--spacing-xl) var(--spacing-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 220px;
    max-width: 270px;
    flex: 1 1 220px;
    transition: box-shadow 0.2s, border-color 0.2s;
    position: relative;
    text-align: center;
}

.process-step:hover {
    border-color: var(--primary-color);
    box-shadow: 0 6px 24px rgba(37, 99, 235, 0.13);
}

.process-step__number {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
    background: var(--primary-light);
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
}

.process-step__icon {
    font-size: 2.2rem;
    margin-bottom: var(--spacing-md);
    margin-top: 0.2rem;
    line-height: 1;
}

.process-step__title {
    font-size: var(--font-size-lg);
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.process-step__text {
    color: var(--text-secondary);
    font-size: var(--font-size-base);
    margin-bottom: 0;
}

@media (max-width: 1023px) {
    .process__steps {
        flex-wrap: wrap;
        gap: var(--spacing-lg);
    }

    .process-step {
        min-width: 180px;
        max-width: 100%;
        padding: var(--spacing-lg) var(--spacing-md);
    }
}

@media (max-width: 767px) {
    .process__steps {
        flex-direction: column;
        gap: var(--spacing-lg);
        align-items: stretch;
    }

    .process-step {
        max-width: 100%;
        min-width: 0;
        width: 100%;
    }
}

/* Services Section - горизонтальные карточки */
.services__grid {
    display: flex;
    flex-direction: row;
    gap: var(--spacing-2xl);
    justify-content: center;
    align-items: stretch;
    margin-bottom: var(--spacing-3xl);
    flex-wrap: wrap;
}

/* Выровнять все основные поля внутри карточки по горизонтали */
.service-card {
    background: #fff;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.06);
    border: 1.5px solid var(--border-color);
    padding: 1.3rem 1rem 1.1rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Центрируем всё содержимое по горизонтали */
    min-width: 280px;
    max-width: 340px;
    flex: 1 1 300px;
    transition: box-shadow 0.2s, border-color 0.2s;
    position: relative;
    text-align: center;
    margin-bottom: 0;
    font-size: 0.97rem;
    /* Меньше базовый размер */
    line-height: 1.55;
}

.service-card__badge {
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: #fff;
    padding: 0.25em 1em;
    border-radius: var(--border-radius);
    font-size: var(--font-size-sm);
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.13);
    letter-spacing: 0.02em;
}

.service-card__badge--featured {
    background: var(--accent-color);
}

.service-card__header {
    margin-bottom: var(--spacing-lg);
    width: 100%;
}

.service-card__title {
    font-size: var(--font-size-xl);
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
    color: var(--text-primary);
    text-align: center;
    width: 100%;
    min-height: 3.2em;
    /* Подберите под ваш контент! */
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card__subtitle {
    color: var(--text-muted);
    font-size: var(--font-size-sm);
    margin-bottom: 0;
    text-align: center;
    width: 100%;
    min-height: 2.8em;
    /* Подберите под ваш контент! */
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card__price {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
    text-align: center;
    width: 100%;
    min-height: 1.5em;
    /* Подберите под ваш контент! */
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card__content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    flex-grow: 1;
    align-items: stretch;
    /* Было center, теперь stretch для левого выравнивания */
    width: 100%;
}

.service-list {
    list-style-type: none;
    flex-grow: 1;
    margin: 0 0 var(--spacing-md) 0;
    padding: 0;
    text-align: left;
    /* display: inline-block;  УБРАТЬ */
    /* width: auto;            УБРАТЬ */
    width: 100%;
}

.service-list li {
    position: relative;
    padding-left: 1.5em;
    margin-bottom: 0.5em;
    color: var(--text-secondary);
    font-size: var(--font-size-base);
    text-align: left;
}

.service-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0.1em;
    color: var(--success-color);
    font-weight: bold;
    font-size: 1em;
}

/* 4. Блок "Результат" — выравнивание по левому краю, min-height, flex */
.service-description {
    background: var(--primary-light);
    border-radius: var(--border-radius);
    padding: var(--spacing-sm) var(--spacing-md);
    color: var(--text-primary);
    font-size: var(--font-size-base);
    text-align: left;
    /* Было center, теперь left */
    width: 100%;
    margin: 0 auto;
    min-height: 6em;
    /* Подберите под ваш контент! */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-description strong {
    font-weight: 700;
    display: block;
    margin-bottom: var(--spacing-xs);
}

/* 5. Блок "Срок выполнения/Стоимость" — min-height, flex */
.service-timeline {
    background: rgba(34, 197, 94, 0.08);
    border-radius: var(--border-radius);
    padding: var(--spacing-xs) var(--spacing-md);
    color: var(--success-color);
    font-size: var(--font-size-sm);
    margin-bottom: var(--spacing-md);
    text-align: center;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    min-height: 3em;
    /* Подберите под ваш контент! */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* 6. Кнопка прижата к низу */
.btn--full {
    width: 100%;
    margin-top: auto;
}

@media (max-width: 1023px) {
    .services__grid {
        flex-wrap: wrap;
        gap: var(--spacing-xl);
    }

    .service-card {
        min-width: 220px;
        max-width: 100%;
        padding: var(--spacing-lg) var(--spacing-md);
    }
}

@media (max-width: 767px) {
    .services__grid {
        flex-direction: column;
        gap: var(--spacing-lg);
        align-items: stretch;
    }

    .service-card {
        max-width: 100%;
        min-width: 0;
        width: 100%;
    }
}

@media (max-width: 600px) {
    .services-section {
        padding: 20px 2px;
    }

    .section-title {
        font-size: 1.2rem;
        line-height: 1.2;
    }

    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 16px;
    }

    .packages-container {
        gap: 12px;
    }

    .package-card {
        padding: 12px 4px;
        max-width: 100%;
        font-size: 0.97rem;
        word-break: break-word;
        overflow-wrap: anywhere;
    }

    .package-title {
        font-size: 1.05rem;
        line-height: 1.2;
        word-break: break-word;
    }

    .details-header,
    .details-row {
        grid-template-columns: 1fr;
        gap: 6px;
        font-size: 0.95rem;
        padding: 6px 0;
    }

    .package-footer {
        margin-top: 10px;
    }

    .cta-button {
        width: 100%;
        padding: 10px 0;
        font-size: 1rem;
    }
}

/* Hero Section - как на примере */
.hero {
    background-color: var(--background);
    /* Возвращаем чисто белый фон */
    min-height: calc(100vh - 80px);
    /* Вычитаем высоту header */
    display: flex;
    align-items: center;
    position: relative;
    /* Обязательно для позиционирования анимации */
    padding: 2rem 0;
    margin-bottom: 0;
    overflow: hidden;
    /* Скрываем все, что может выйти за пределы */
}

.hero__content {
    position: relative;
    /* Контент должен быть над анимацией */
    z-index: 2;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    min-height: 100vh;
    gap: 0;
}

.hero__text {
    flex: 1 1 0;
    max-width: 600px;
    text-align: left;
    padding: 0;
    background: none;
    border-radius: 0;
    box-shadow: none;
    border: none;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero__title {
    font-size: 3.25rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 2.5rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.text-accent {
    color: var(--accent-color);
    font-weight: 800;
    letter-spacing: -0.01em;
    display: block;
}

.hero__subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.5;
    font-weight: 400;
    max-width: 600px;
}

.hero__actions {
    display: flex;
    gap: 0;
    flex-wrap: wrap;
    margin-top: 0;
    justify-content: flex-start;
}

.hero__actions .btn {
    font-size: 1.125rem;
    padding: 0.875rem 2.25rem;
    border-radius: 0.5rem;
    font-weight: 500;
    border: 1.5px solid var(--primary-color);
    color: var(--primary-color);
    background: #fff;
    box-shadow: none;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.hero__actions .btn:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.hero__visual {
    flex: 1 1 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-width: 0;
    height: 100%;
}

.hero__image {
    width: 100%;
    max-width: 520px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 100%;
}

.hero__img {
    width: 100%;
    max-width: 520px;
    height: auto;
    display: block;
    object-fit: contain;
    background: transparent;
}

@media (max-width: 1023px) {
    .hero__content {
        flex-direction: column;
        align-items: flex-start;
        min-height: 0;
        gap: 0;
    }

    .hero__visual {
        width: 100%;
        max-width: 100vw;
        margin-top: 2rem;
        justify-content: center;
    }

    .hero__image,
    .hero__img {
        max-width: 320px;
    }

    .hero__text {
        max-width: 100%;
        padding: 2.5rem 0 0 0;
    }
}

@media (max-width: 767px) {
    .hero {
        min-height: 0;
        height: auto;
        padding: 0;
    }

    .hero__content {
        flex-direction: column;
        align-items: flex-start;
        min-height: 0;
        gap: 0;
    }

    .hero__visual {
        width: 100%;
        max-width: 100vw;
        margin-top: 1.5rem;
        justify-content: center;
    }

    .hero__image,
    .hero__img {
        max-width: 200px;
    }

    .hero__text {
        max-width: 100%;
        padding: 2rem 0 0 0;
    }

    .hero__title {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }

    .hero__subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .hero__actions .btn {
        width: 100%;
        justify-content: center;
    }
}

/* Унифицированные заголовки секций */
.section-title {
    font-family: 'Inter', Arial, sans-serif;
    font-size: 2.25rem;
    font-weight: 700;
    color: #1e293b;
    text-align: center;
    margin-bottom: 1.2em;
    letter-spacing: -0.01em;
    line-height: 1.15;
}

.section-subtitle {
    font-family: 'Inter', Arial, sans-serif;
    font-size: 1.25rem;
    font-weight: 400;
    color: #475569;
    text-align: center;
    margin-bottom: 2.2em;
    line-height: 1.4;
}

.section-header {
    margin-bottom: 2.5em;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 600px) {
    .section-title {
        font-size: 1.5rem;
        margin-bottom: 1em;
    }

    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 1.2em;
    }

    .section-header {
        margin-bottom: 1.5em;
    }
}

/* Интервал после заголовка секции услуг */
.section-title {
    margin-bottom: 3.5rem;
    /* ~56px */
}

/* Убрать отступы между Header и Main Content (ничего не добавлять здесь) */

/* Добавить отступ между Main Content (hero) и Services Section */
#services {
    margin-top: 3.5rem;
    /* ~56px интервал между hero и секцией услуг */
}

/* Дополнительные стили для баннера cookies */
.cookie-banner {
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, sans-serif !important;
}

.cookie-banner * {
    box-sizing: border-box !important;
}

/* Гарантируем видимость баннера */
#cookie-banner {
    pointer-events: auto !important;
    user-select: auto !important;
}

/* Специальные стили для баннера cookies - предотвращение конфликтов */
#cookie-banner {
    /* Принудительное позиционирование */
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 999999 !important;

    /* Предотвращение смещения */
    margin: 0 !important;
    transform: none !important;

    /* Убеждаемся в видимости */
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;

    /* Предотвращение overflow скрытия */
    overflow: visible !important;
}

/* Предотвращаем конфликты с body */
body:has(#cookie-banner) {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

/* Убеждаемся что нет overflow hidden на основных контейнерах */
html,
body {
    overflow-x: hidden;
    overflow-y: auto;
}

/* FAQ Section */
.faq {
    background: var(--background-alt);
    padding: var(--spacing-4xl) 0;
}

/* FAQ Grid - современный дизайн с улучшенной адаптивностью */
.faq__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    padding: 0 1rem;
}

.faq-block {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    padding: 2rem;
    border: 1px solid rgba(226, 232, 240, 0.8);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.faq-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6, #06b6d4);
    border-radius: 20px 20px 0 0;
}

.faq-block:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

/* Заголовки блоков */
.faq-block__title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #1e293b;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
}

.faq-block__title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    border-radius: 2px;
}

/* Адаптивность для планшетов */
@media (max-width: 1024px) {
    .faq__grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
        padding: 0 0.5rem;
    }

    .faq-block {
        padding: 1.5rem;
    }

    .faq-block__title {
        font-size: 1.3rem;
    }
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .faq__grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0;
        margin-top: 1.5rem;
    }

    .faq-block {
        padding: 1.5rem;
        margin: 0;
        border-radius: 16px;
    }

    .faq-block__title {
        font-size: 1.25rem;
        margin-bottom: 1.25rem;
    }
}

/* FAQ Items - современный дизайн аккордеона */
.faq-item {
    margin-bottom: 1rem;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(226, 232, 240, 0.6);
    transition: all 0.3s ease;
}

.faq-item:hover {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(59, 130, 246, 0.3);
}

.faq-item__question {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    text-align: left;
    padding: 1.25rem 1.5rem;
    font-size: 1.1rem;
    font-family: inherit;
    color: #1e293b;
    background-color: transparent;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    line-height: 1.4;
    gap: 1rem;
}

.faq-item__question:hover {
    color: #3b82f6;
}

.faq-item__question::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 300;
    color: #3b82f6;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 50%;
}

.faq-item__question[aria-expanded="true"]::after {
    content: '−';
    transform: rotate(180deg);
    background: rgba(59, 130, 246, 0.2);
}

.faq-item__question[aria-expanded="true"] {
    color: #3b82f6;
    border-bottom: 1px solid rgba(59, 130, 246, 0.2);
}

.faq-item__answer {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.4s ease-in-out, padding 0.3s ease-in-out;
    padding: 0 1.5rem;
    background: rgba(248, 250, 252, 0.5);
}

.faq-item__question[aria-expanded="true"]+.faq-item__answer {
    max-height: 500px;
    padding: 1rem 1.5rem 1.5rem 1.5rem;
}

.faq-item__answer p {
    color: #475569;
    line-height: 1.6;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.faq-item__answer p:last-child {
    margin-bottom: 0;
}

.faq-item__answer strong {
    color: #1e293b;
    font-weight: 600;
}

/* Дополнительная адаптивность для очень маленьких экранов */
@media (max-width: 480px) {
    .faq__grid {
        padding: 0;
        gap: 1rem;
    }

    .faq-block {
        padding: 1rem;
        border-radius: 12px;
    }

    .faq-block__title {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }

    .faq-item__question {
        font-size: 0.95rem;
        padding: 0.875rem 1rem;
        gap: 0.75rem;
    }

    .faq-item__question::after {
        width: 20px;
        height: 20px;
        font-size: 1.25rem;
    }

    .faq-item__answer {
        padding: 0 1rem;
    }

    .faq-item__question[aria-expanded="true"]+.faq-item__answer {
        padding: 0.5rem 1rem 1rem 1rem;
    }

    .faq-item__answer p {
        font-size: 0.9rem;
    }
}

/* Предотвращение горизонтальной прокрутки */
.faq,
.faq * {
    max-width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
}

/* Убеждаемся что контейнер не создает горизонтальную прокрутку */
.faq .container {
    max-width: 100%;
    overflow-x: hidden;
}

/* --- PACKAGES (Пакеты услуг) --- */
.packages-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 2.5rem 0 2.5rem 0;
    /* Добавлен нижний отступ */
}

.services-section {
    margin-bottom: 3.5rem;
    /* Гарантируем отступ после секции */
}

.package-card {
    background: var(--background-section);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow);
    padding: 1.3rem 1rem 1.1rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    transition: box-shadow 0.2s, transform 0.2s;
    border: 1.5px solid var(--border-color);
    position: relative;
    min-height: 100%;
    font-size: 0.97rem;
    /* Меньше базовый размер */
    line-height: 1.55;
}

.package-card.featured {
    border: 2px solid var(--primary-color);
    background: linear-gradient(120deg, #f1f5ff 0%, #f8fafc 100%);
    box-shadow: 0 4px 18px 0 rgba(37, 99, 235, 0.07);
    /* убрано масштабирование и сильная тень */
    z-index: 1;
}

.package-title {
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.7rem;
    text-align: left;
}

.package-audience {
    font-size: 0.97rem;
    color: var(--text-secondary);
    margin-bottom: 0.7rem;
}

.problem-solver {
    margin-bottom: 0.7rem;
}

.problem-solver ul {
    margin: 0 0 0.5rem 1.2rem;
    padding: 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.package-details {
    margin-bottom: 0.7rem;
}

.details-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.3rem;
    font-size: 0.97rem;
}

.details-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem 1.5rem;
    margin-bottom: 0.3rem;
    font-size: 0.95rem;
}

.details-item {
    color: var(--text-primary);
    padding-right: 0.5rem;
}

.details-result {
    color: var(--success-color);
    font-weight: 500;
    padding-left: 0.5rem;
}

.package-footer {
    margin-top: auto;
    padding-top: 0.7rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.package-meta {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.cta-button {
    display: inline-block;
    background: var(--primary-color);
    color: #fff;
    border-radius: var(--border-radius);
    padding: 0.65rem 1.2rem;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    margin-top: 0.3rem;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px 0 rgba(37, 99, 235, 0.08);
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    background: var(--primary-hover);
    color: #fff;
    box-shadow: 0 4px 16px 0 rgba(37, 99, 235, 0.13);
}

@media (max-width: 1023px) {
    .packages-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .package-card.featured {
        /* Без масштабирования */
    }
}

@media (max-width: 600px) {
    .packages-container {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin: 1.2rem 0 1.2rem 0;
    }

    .package-card {
        padding: 0.8rem 0.3rem 0.7rem 0.3rem;
        font-size: 0.95rem;
    }

    .package-title {
        font-size: 0.98rem;
    }

    .details-header,
    .details-row {
        grid-template-columns: 1fr;
        font-size: 0.95rem;
    }
}

/* --- Анимация градиента для Hero секции --- */
@keyframes gradientAnimation {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* --- Стили для анимации частиц --- */
#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    /* Размещаем под контентом */
}/* Вып
адающее меню для навигации */
.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(226, 232, 240, 0.8);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    list-style: none;
    padding: 0.5rem 0;
    margin: 0;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-link {
    display: block;
    padding: 0.75rem 1.5rem;
    color: #1e293b;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    background: none;
}

.dropdown-link:hover {
    background: rgba(59, 130, 246, 0.05);
    color: #3b82f6;
    text-decoration: none;
}

.dropdown-link--active {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
    font-weight: 600;
}

.nav__link--active {
    color: #3b82f6;
    font-weight: 600;
}

/* Адаптивность для мобильных устройств - полностью скрываем выпадающие меню */
@media (max-width: 1023px) {
    .nav-dropdown .dropdown-menu {
        display: none !important;
    }
    
    .nav-dropdown > .nav-link::after {
        display: none;
    }
}/
* Скрываем выпадающее меню на мобильных и показываем отдельный пункт */
.mobile-only {
    display: none;
}

@media (max-width: 1023px) {
    .nav-dropdown {
        display: none;
    }
    
    .mobile-only {
        display: block;
    }
}

@media (min-width: 1024px) {
    .mobile-only {
        display: none;
    }
    
    .nav-dropdown {
        display: block;
    }
}/* С
тили для страницы услуги - мобильная адаптация */
.service-hero {
    padding: 2rem 0;
}

.service-hero .hero__title {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.service-hero .hero__subtitle {
    font-size: 1.1rem;
    line-height: 1.5;
    margin-bottom: 2rem;
}

.feature-card {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.feature-icon {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.step-card {
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.step-number {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

/* Адаптивность для планшетов */
@media (max-width: 1024px) {
    .service-hero .hero__title {
        font-size: 2.2rem;
    }
    
    .service-hero .hero__subtitle {
        font-size: 1rem;
    }
    
    .feature-card {
        padding: 1.25rem;
    }
    
    .step-card {
        padding: 1.25rem;
    }
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .service-hero {
        padding: 1.5rem 0;
    }
    
    .service-hero .hero__title {
        font-size: 1.8rem;
        line-height: 1.3;
        margin-bottom: 1rem;
        text-align: center;
    }
    
    .service-hero .hero__subtitle {
        font-size: 0.95rem;
        line-height: 1.4;
        margin-bottom: 1.5rem;
        text-align: center;
    }
    
    .hero-content {
        padding: 0 1rem;
    }
    
    .feature-card {
        padding: 1rem;
        margin-bottom: 1rem;
        text-align: center;
    }
    
    .feature-icon {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }
    
    .step-card {
        padding: 1rem;
        margin-bottom: 0.75rem;
    }
    
    .step-number {
        width: 2rem;
        height: 2rem;
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }
    
    /* Секции с отступами */
    .py-5 {
        padding: 2rem 0;
    }
    
    .bg-light {
        padding: 2rem 0;
    }
    
    /* Заголовки секций */
    .section-title {
        font-size: 1.5rem;
        margin-bottom: 1rem;
        line-height: 1.3;
    }
    
    /* Контейнеры */
    .container {
        padding: 0 1rem;
    }
    
    /* Сетки */
    .row {
        margin: 0 -0.5rem;
    }
    
    .row > * {
        padding: 0 0.5rem;
        margin-bottom: 1rem;
    }
    
    /* Списки */
    .list-unstyled li {
        margin-bottom: 0.75rem;
        font-size: 0.9rem;
        line-height: 1.4;
    }
    
    /* Текст с иконками */
    .d-flex.align-items-start {
        flex-direction: column;
        text-align: center;
    }
    
    .d-flex.align-items-start .feature-icon {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
}

/* Адаптивность для очень маленьких экранов */
@media (max-width: 480px) {
    .service-hero {
        padding: 1rem 0;
    }
    
    .service-hero .hero__title {
        font-size: 1.5rem;
        line-height: 1.2;
        margin-bottom: 0.75rem;
    }
    
    .service-hero .hero__subtitle {
        font-size: 0.9rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }
    
    .container {
        padding: 0 0.75rem;
    }
    
    .feature-card,
    .step-card {
        padding: 0.75rem;
        margin-bottom: 0.75rem;
    }
    
    .feature-icon {
        font-size: 1.25rem;
        margin-bottom: 0.5rem;
    }
    
    .step-number {
        width: 1.75rem;
        height: 1.75rem;
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
    
    .section-title {
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
    }
    
    .py-5,
    .bg-light {
        padding: 1.5rem 0;
    }
    
    .list-unstyled li {
        font-size: 0.85rem;
        margin-bottom: 0.5rem;
    }
}