:root {
    --bg: #0e1320;
    --bg-alt: #131a2b;
    --surface: rgba(255, 255, 255, 0.045);
    --surface-hover: rgba(255, 255, 255, 0.08);
    --border: rgba(255, 255, 255, 0.11);
    --border-top: rgba(255, 255, 255, 0.18);
    --text: #f8fafc;
    --text-muted: #94a3b8;
    --primary: #6366f1;
    --accent: #22d3ee;
    --brand-orange: #ff7a2f;
    --radius: 18px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, .logo {
    font-family: 'Syne', sans-serif;
    letter-spacing: -0.02em;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

/* Секции и мягкое фоновое свечение */
.section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.section--alt {
    background: var(--bg-alt);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.section--glow-left::before {
    content: '';
    position: absolute;
    top: 10%;
    left: -120px;
    width: 480px;
    height: 480px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.14) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.section--glow-right::before {
    content: '';
    position: absolute;
    top: 15%;
    right: -120px;
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, rgba(255, 122, 47, 0.12) 0%, rgba(34, 211, 238, 0.08) 45%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.section__header {
    margin-bottom: 56px;
    max-width: 640px;
}

.section__header h2 {
    font-size: 2.25rem;
    margin-bottom: 12px;
}

.section__header p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(310px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); }
.full-width { width: 100%; }

/* Шапка */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    background: rgba(14, 19, 32, 0.78);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border);
}

.header__inner {
    height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text);
    text-decoration: none;
}

.logo__icon {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    box-shadow: 0 4px 14px rgba(255, 122, 47, 0.22);
    transition: transform 0.25s ease;
}

.logo:hover .logo__icon {
    transform: scale(1.06);
}

.logo__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.dot { color: var(--brand-orange); }

.nav { display: flex; gap: 30px; }
.nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s;
}
.nav a:hover { color: var(--text); }

/* Кнопки */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 26px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.25s ease;
    border: 1px solid transparent;
    font-family: inherit;
}

.btn--primary {
    background: linear-gradient(135deg, var(--brand-orange), #f43f5e, var(--primary));
    color: #fff;
    box-shadow: 0 8px 26px rgba(255, 122, 47, 0.3);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(255, 122, 47, 0.45);
}

.btn--outline {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--border);
    border-top-color: var(--border-top);
    color: var(--text);
}

.btn--outline:hover {
    border-color: var(--accent);
    background: rgba(34, 211, 238, 0.1);
}

.btn--ghost {
    color: var(--text);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.btn--ghost:hover {
    color: var(--accent);
    border-color: rgba(34, 211, 238, 0.35);
}

/* Главный экран с видеофоном */
.hero {
    position: relative;
    padding: 185px 0 130px;
    text-align: center;
    overflow: hidden;
    min-height: 86vh;
    display: flex;
    align-items: center;
}

.hero__video-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    overflow: hidden;
}

.hero__video-bg iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw;
    min-height: 100%;
    min-width: 177.77vh;
    transform: translate(-50%, -50%);
    border: none;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(
        180deg,
        rgba(14, 19, 32, 0.58) 0%,
        rgba(14, 19, 32, 0.52) 55%,
        var(--bg) 100%
    );
}

.hero__content {
    position: relative;
    z-index: 1;
}

.badge {
    display: inline-block;
    padding: 7px 18px;
    border-radius: 99px;
    background: rgba(14, 19, 32, 0.65);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 122, 47, 0.35);
    color: #fdba74;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: clamp(2.4rem, 5vw, 4.2rem);
    line-height: 1.12;
    max-width: 920px;
    margin: 0 auto 24px;
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
}

.gradient-text {
    background: linear-gradient(90deg, #38bdf8, #818cf8, #fb923c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero__subtitle {
    color: #e2e8f0;
    font-size: 1.15rem;
    max-width: 650px;
    margin: 0 auto 40px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

.hero__actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Карточки услуг */
.card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.065) 0%, rgba(255, 255, 255, 0.025) 100%);
    border: 1px solid var(--border);
    border-top-color: var(--border-top);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    border-color: rgba(56, 189, 248, 0.45);
    box-shadow: 0 18px 40px rgba(14, 19, 32, 0.5);
}

.card__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255, 122, 47, 0.14);
    border: 1px solid rgba(255, 122, 47, 0.3);
    color: var(--brand-orange);
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 18px;
}

.card h3 { font-size: 1.3rem; margin-bottom: 12px; }
.card p { color: var(--text-muted); font-size: 0.95rem; }

/* Преимущества (2x2) */
.feature {
    padding: 30px;
    border-left: 3px solid var(--brand-orange);
    background: linear-gradient(90deg, rgba(255, 122, 47, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
    border-top: 1px solid var(--border);
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    border-radius: 0 var(--radius) var(--radius) 0;
}

.feature h4 { font-size: 1.15rem; margin-bottom: 8px; }
.feature p { color: var(--text-muted); font-size: 0.95rem; }

/* Тарифы */
.price-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.025) 100%);
    border: 1px solid var(--border);
    border-top-color: var(--border-top);
    border-radius: var(--radius);
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
    transition: transform 0.3s ease;
}

.price-card:hover {
    transform: translateY(-4px);
}

.price-card h3 {
    font-size: 1.18rem;
}

.price-card--featured {
    border-color: rgba(255, 122, 47, 0.55);
    background: linear-gradient(180deg, rgba(255, 122, 47, 0.14) 0%, rgba(99, 102, 241, 0.08) 50%, rgba(255, 255, 255, 0.03) 100%);
    box-shadow: 0 16px 42px rgba(255, 122, 47, 0.16);
}

.price-card__tag {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 8px;
}

.price-card--featured .price-card__tag {
    color: #fdba74;
}

.price {
    font-family: 'Syne', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    margin: 16px 0 24px;
}

.price span {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 400;
}

.price-card ul {
    list-style: none;
    margin-bottom: 32px;
    flex-grow: 1;
}

.price-card li {
    color: #cbd5e1;
    font-size: 0.92rem;
    padding: 9px 0;
    border-bottom: 1px solid var(--border);
}

/* Этапы работы */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.step {
    background: var(--surface);
    border: 1px solid var(--border);
    border-top-color: var(--border-top);
    border-radius: var(--radius);
    padding: 32px;
}

.step span {
    display: inline-block;
    font-family: 'Syne', sans-serif;
    font-size: 2.4rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
}

.step h4 { font-size: 1.25rem; margin-bottom: 8px; }
.step p { color: var(--text-muted); font-size: 0.95rem; }

/* Блок FAQ */
.faq-layout {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 48px;
    align-items: start;
}

.faq-sidebar {
    position: sticky;
    top: 104px;
}

.faq-sidebar h2 {
    font-size: 2.2rem;
    margin-bottom: 14px;
}

.faq-sidebar p {
    color: var(--text-muted);
    font-size: 0.98rem;
    margin-bottom: 28px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.025) 100%);
    border: 1px solid var(--border);
    border-top-color: var(--border-top);
    border-radius: var(--radius);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
    transition: border-color 0.25s ease, background 0.25s ease;
}

.faq-item:hover {
    border-color: rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.065);
}

.faq-item[open] {
    border-color: rgba(56, 189, 248, 0.45);
    background: rgba(56, 189, 248, 0.05);
}

.faq-question {
    list-style: none;
    padding: 24px 28px;
    font-family: 'Syne', sans-serif;
    font-size: 1.12rem;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    user-select: none;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-icon {
    position: relative;
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid var(--border);
    transition: background 0.25s ease, transform 0.3s ease;
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    background: var(--accent);
    transform: translate(-50%, -50%);
    border-radius: 2px;
}

.faq-icon::before {
    width: 12px;
    height: 2px;
}

.faq-icon::after {
    width: 2px;
    height: 12px;
}

.faq-item[open] .faq-icon {
    background: rgba(56, 189, 248, 0.18);
    border-color: var(--accent);
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 28px 24px;
    color: #cbd5e1;
    font-size: 0.96rem;
    line-height: 1.65;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    padding-top: 18px;
    margin: 0 28px;
    padding-left: 0;
    padding-right: 0;
}

/* Контакты */
.contacts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.contact-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.025) 100%);
    border: 1px solid var(--border);
    border-top-color: var(--border-top);
    border-radius: var(--radius);
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-card__label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
}

.contact-card__value {
    font-family: 'Syne', sans-serif;
    font-size: clamp(1.3rem, 2.5vw, 1.75rem);
    font-weight: 700;
    color: var(--text);
    text-decoration: none;
    transition: color 0.2s;
}

.contact-card__value:hover {
    color: var(--accent);
}

.messengers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}

.messenger-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px 24px;
    border-radius: 14px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    color: #fff;
    border: 1px solid var(--border);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.messenger-btn:hover {
    transform: translateY(-3px);
}

.messenger-btn--tg {
    background: linear-gradient(135deg, rgba(34, 158, 217, 0.28), rgba(34, 158, 217, 0.12));
    border-color: rgba(34, 158, 217, 0.5);
}

.messenger-btn--tg:hover {
    box-shadow: 0 10px 28px rgba(34, 158, 217, 0.28);
}

.messenger-btn--wa {
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.26), rgba(37, 211, 102, 0.1));
    border-color: rgba(37, 211, 102, 0.5);
}

.messenger-btn--wa:hover {
    box-shadow: 0 10px 28px rgba(37, 211, 102, 0.28);
}

.messenger-btn--max {
    background: linear-gradient(135deg, rgba(255, 122, 47, 0.28), rgba(99, 102, 241, 0.16));
    border-color: rgba(255, 122, 47, 0.5);
}

.messenger-btn--max:hover {
    box-shadow: 0 10px 28px rgba(255, 122, 47, 0.28);
}

/* Футер */
.footer {
    padding: 48px 0;
    border-top: 1px solid var(--border);
    background: #0b0f1a;
}

.footer__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer__copy { color: var(--text-muted); font-size: 0.9rem; margin-top: 10px; }
.ucoz-copyright { color: var(--text-muted); font-size: 0.8rem; margin-top: 6px; opacity: 0.65; }
.ucoz-copyright a { color: var(--text-muted); }

.footer__links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}
.footer__links a { color: var(--text); text-decoration: none; font-size: 0.95rem; }
.footer__links a:hover { color: var(--accent); }

/* Гамбургер-кнопка и мобильное меню */
.header__controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-only-btn {
    display: none;
}

.burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    cursor: pointer;
    padding: 0 10px;
    z-index: 102;
}

.burger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.burger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.burger.active span:nth-child(2) {
    opacity: 0;
}

.burger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 900px) {
    .faq-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .faq-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .header__cta {
        display: none;
    }

    .grid--2 {
        grid-template-columns: 1fr;
    }

    .burger {
        display: flex;
    }

    .header__cta {
        padding: 9px 16px;
        font-size: 0.85rem;
    }

    .nav {
        position: fixed;
        top: 78px;
        left: 0;
        width: 100%;
        background: rgba(14, 19, 32, 0.97);
        backdrop-filter: blur(20px);
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        align-items: center;
        gap: 24px;
        padding: 36px 24px;
        transform: translateY(-120%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.35s ease, opacity 0.3s ease;
    }

    .nav.active {
        display: flex;
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .nav a {
        font-size: 1.15rem;
        color: var(--text);
    }

    .mobile-only-btn {
        display: inline-flex;
        width: 100%;
        max-width: 280px;
        margin-top: 8px;
    }

    .hero {
        padding: 145px 0 85px;
    }
}







/* Информационное окошко справа внизу */
.notice-toast {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 150;
    width: calc(100% - 48px);
    max-width: 380px;
    background: rgba(18, 24, 40, 0.92);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-top: 1px solid rgba(255, 122, 47, 0.55);
    border-radius: 16px;
    padding: 18px 20px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.55);
    transform: translateY(24px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

.notice-toast.visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.notice-toast__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.notice-toast__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Syne', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #ff7a2f;
}

.notice-toast__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ff7a2f;
    box-shadow: 0 0 10px #ff7a2f;
    animation: noticePulse 2s infinite;
}

@keyframes noticePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.45; transform: scale(0.85); }
}

.notice-toast__close {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    width: 28px;
    height: 28px;
    border-radius: 8px;
    font-size: 1.2rem;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
}

.notice-toast__close:hover {
    background: rgba(255, 255, 255, 0.14);
    color: var(--text);
}

.notice-toast__text {
    color: #e4e4e7;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 480px) {
    .notice-toast {
        right: 16px;
        bottom: 16px;
        width: calc(100% - 32px);
        padding: 16px;
    }
}


/* Прелоадер */
.preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: radial-gradient(circle at center, #151c30 0%, #0b0f1a 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    transition: opacity 0.55s ease, visibility 0.55s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader__inner {
    position: relative;
    width: 88px;
    height: 88px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preloader__ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.08);
    border-top-color: #ff7a2f;
    border-right-color: #06b6d4;
    animation: preloaderSpin 1s cubic-bezier(0.55, 0.15, 0.45, 0.85) infinite;
    box-shadow: 0 0 24px rgba(255, 122, 47, 0.25);
}

.preloader__logo-box {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: preloaderPulse 1.8s ease-in-out infinite;
}

.preloader__logo-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.preloader__brand {
    font-family: 'Syne', sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: #f4f4f5;
}

.preloader__brand span {
    color: #ff7a2f;
}

@keyframes preloaderSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes preloaderPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(0.93); }
}