:root {
    --bg: #0b1020;
    --surface: #121a33;
    --surface-soft: #1a2546;
    --text: #eef2ff;
    --muted: #bcc7ee;
    --accent: #6ea8fe;
    --accent-strong: #4f8dff;
    --line: #2a3762;
}

html {
    scroll-behavior: smooth;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Segoe UI", Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    background-image:
        radial-gradient(circle at 8% 2%, rgba(110, 168, 254, 0.1), transparent 34%),
        radial-gradient(circle at 92% 12%, rgba(79, 141, 255, 0.12), transparent 28%),
        radial-gradient(circle at 50% 100%, rgba(63, 212, 122, 0.08), transparent 34%);
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1120px, 92%);
    margin: 0 auto;
}

.header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(11, 16, 32, 0.92);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(8px);
}

.header-inner {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.logo {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.nav {
    display: flex;
    align-items: center;
    gap: 20px;
    color: var(--muted);
}

.nav a:hover {
    color: var(--text);
}

.header-phone {
    color: var(--accent);
    font-weight: 600;
}

.hero {
    padding: 74px 0 56px;
    position: relative;
    overflow: clip;
}

.hero::before {
    content: "";
    position: absolute;
    width: 360px;
    height: 360px;
    right: -110px;
    top: -90px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(110, 168, 254, 0.2), rgba(110, 168, 254, 0));
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.85fr;
    gap: 28px;
    align-items: center;
}

.eyebrow {
    color: var(--accent);
    font-weight: 600;
    margin: 0 0 12px;
}

h1 {
    margin: 0;
    font-size: clamp(1.9rem, 3.8vw, 3.1rem);
    line-height: 1.15;
}

.hero-text {
    margin: 18px 0 26px;
    color: var(--muted);
    max-width: 62ch;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    padding: 12px 18px;
    font-weight: 600;
    border: 1px solid transparent;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    color: #fff;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(79, 141, 255, 0.28);
}

.btn:active {
    transform: translateY(0);
}

.btn:focus-visible {
    outline: 2px solid rgba(110, 168, 254, 0.42);
    outline-offset: 2px;
}

.btn-outline {
    border-color: var(--line);
    color: var(--text);
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.hero-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 24px;
}

.hero-card h2 {
    margin-top: 0;
}

.hero-card ul {
    margin: 0;
    padding-left: 0;
    list-style: none;
    color: var(--muted);
}

.hero-card li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 8px;
}

.hero-card li:last-child {
    margin-bottom: 0;
}

.hero-card li::before {
    content: "✔";
    position: absolute;
    left: 0;
    top: 0;
    color: #3fd47a;
    font-weight: 700;
}

.section {
    padding: 62px 0;
}

.section h2 {
    margin: 0 0 14px;
    font-size: 1.9rem;
    line-height: 1.2;
    letter-spacing: 0.01em;
}

.section p {
    margin: 0;
    color: var(--muted);
    max-width: 68ch;
}

.section p + p {
    margin-top: 10px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 22px;
    align-items: start;
}

.about-grid h2 {
    grid-column: 1 / -1;
    margin-bottom: 2px;
}

.about-text {
    display: grid;
    gap: 12px;
}

.about-points {
    margin: 0;
    padding: 16px 18px;
    list-style: none;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 14px;
    display: grid;
    gap: 10px;
    color: var(--text);
}

.about-points li {
    display: grid;
    grid-template-columns: 24px 1fr;
    gap: 8px;
    align-items: start;
    color: var(--muted);
}

.point-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(110, 168, 254, 0.16);
    border: 1px solid rgba(110, 168, 254, 0.4);
    color: #9dc0ff;
    margin-top: 1px;
}

.point-icon svg,
.card-icon svg,
.benefit-icon svg {
    width: 14px;
    height: 14px;
    display: block;
}

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: none;
}

.section-alt {
    background: var(--surface-soft);
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 22px;
}

.card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 20px;
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-3px);
    border-color: rgba(110, 168, 254, 0.45);
    box-shadow: 0 12px 28px rgba(5, 10, 22, 0.35);
}

.card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    margin-bottom: 10px;
    border: 1px solid rgba(110, 168, 254, 0.45);
    background: rgba(110, 168, 254, 0.12);
    color: #9dc0ff;
}

.card h3 {
    margin: 0 0 10px;
}

.card p {
    margin-top: auto;
}

.benefits {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 18px;
}

.benefit {
    position: relative;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 18px;
    background: var(--surface);
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.benefit:hover {
    transform: translateY(-3px);
    border-color: rgba(110, 168, 254, 0.45);
    box-shadow: 0 12px 26px rgba(5, 10, 22, 0.3);
}

.benefit-icon {
    position: absolute;
    right: 14px;
    top: 14px;
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(125, 211, 160, 0.55);
    background: rgba(125, 211, 160, 0.12);
    color: #8de6b6;
    color: #8de6b6;
}

.benefit p {
    margin-top: 8px;
}

.section-accent {
    background: linear-gradient(180deg, #111a33, #0f1730);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    align-items: start;
}

.contact-list {
    list-style: none;
    margin: 18px 0 0;
    padding: 0;
    display: grid;
    gap: 12px;
}

.contact-list li {
    display: grid;
    grid-template-columns: 32px 1fr;
    gap: 10px;
    align-items: start;
}

.contact-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #9dc0ff;
    border: 1px solid rgba(110, 168, 254, 0.42);
    background: rgba(110, 168, 254, 0.12);
}

.contact-icon svg {
    width: 15px;
    height: 15px;
}

.contact-list strong {
    display: block;
    font-size: 0.9rem;
    color: var(--muted);
    margin-bottom: 1px;
}

.contact-list a {
    color: var(--text);
}

.contact-list a:hover {
    color: #cfe0ff;
}

.contact-form {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 20px;
    display: grid;
    gap: 10px;
}

.required-mark {
    color: #8de6b6;
}

.form-notice {
    margin: 0 0 6px;
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 0.95rem;
}

.form-notice-success {
    border: 1px solid #1f7a44;
    background: #113823;
    color: #c8f3d8;
}

.form-notice-error {
    border: 1px solid #8f2e38;
    background: #42161b;
    color: #ffd7dc;
}

label {
    font-size: 0.95rem;
    color: var(--muted);
}

input,
textarea {
    width: 100%;
    background: #0d1430;
    border: 1px solid var(--line);
    border-radius: 10px;
    color: var(--text);
    padding: 11px 12px;
    font: inherit;
}

input::placeholder,
textarea::placeholder {
    color: #8a97c5;
}

input:focus,
textarea:focus {
    outline: 2px solid rgba(110, 168, 254, 0.35);
    border-color: var(--accent);
}

input:invalid:not(:focus):not(:placeholder-shown),
textarea:invalid:not(:focus):not(:placeholder-shown) {
    border-color: #b44b58;
}

.field-hint {
    font-size: 0.82rem;
    color: #97a5d5;
    margin-top: -4px;
}

.footer {
    border-top: 1px solid var(--line);
    padding: 18px 0 24px;
}

.footer-inner {
    color: var(--muted);
    font-size: 0.95rem;
}

.footer-links {
    margin-top: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-links a {
    color: var(--accent);
}

.footer-links a:hover {
    color: #9dc0ff;
}

.consent-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    line-height: 1.45;
}

.consent-row input[type="checkbox"] {
    margin-top: 3px;
    width: 16px;
    height: 16px;
}

.consent-row a {
    color: var(--accent);
    text-decoration: underline;
}

.legal-page {
    padding: 36px 0 52px;
}

.legal-container {
    max-width: 820px;
}

.legal-back {
    display: inline-block;
    margin-bottom: 16px;
    color: var(--accent);
}

.legal-container h1 {
    margin: 0 0 16px;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.legal-container h2 {
    margin: 24px 0 8px;
    font-size: 1.3rem;
}

.legal-container p {
    margin: 0;
    color: var(--muted);
}

.cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    display: none;
    padding: 12px;
}

.cookie-banner--visible {
    display: block;
}

.cookie-banner__inner {
    width: min(1120px, 96%);
    margin: 0 auto;
    background: rgba(10, 15, 30, 0.98);
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    padding: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.cookie-banner__text {
    margin: 0;
    color: var(--muted);
    font-size: 0.92rem;
}

.cookie-banner__text a {
    color: var(--accent);
    text-decoration: underline;
}

.cookie-banner__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.cookie-btn {
    white-space: nowrap;
}

@media (max-width: 900px) {
    .nav {
        display: none;
    }

    .hero-grid,
    .contact-grid,
    .cards,
    .benefits,
    .about-grid {
        grid-template-columns: 1fr;
    }

    .header-inner {
        flex-wrap: wrap;
        padding: 10px 0;
    }

    .header-phone {
        width: 100%;
        text-align: left;
    }

    .hero {
        padding-top: 48px;
    }

    .section {
        padding: 48px 0;
    }

    .footer-links {
        flex-direction: column;
        gap: 8px;
    }

    .cookie-banner__inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .cookie-banner__actions {
        width: 100%;
    }

    .cookie-btn {
        flex: 1 1 auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .reveal-on-scroll {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .card,
    .benefit {
        transition: none;
    }

    .card:hover,
    .benefit:hover {
        transform: none;
        box-shadow: none;
    }
}
