@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&display=swap');

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg: #fafbfc;
    --bg-white: #ffffff;
    --bg-soft: #f3f6fa;
    --bg-mist: #eef3f9;
    --text: #141820;
    --text-secondary: #4d5566;
    --text-tertiary: #8b93a3;
    --border: rgba(20, 40, 80, 0.08);
    --border-strong: rgba(20, 40, 80, 0.14);
    --accent: #185FA5;
    --accent-light: #3d7ec4;
    --accent-soft: rgba(24, 95, 165, 0.1);
    --accent-glow: rgba(24, 95, 165, 0.18);
    --shadow-sm: 0 4px 20px rgba(24, 55, 100, 0.06);
    --shadow-md: 0 12px 40px rgba(24, 55, 100, 0.08);
    --shadow-lg: 0 24px 60px rgba(24, 55, 100, 0.1);
    --font: 'Space Grotesk', system-ui, sans-serif;
    --radius: 14px;
    --radius-lg: 20px;
    --content: 1100px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    font-size: 15px;
    line-height: 1.65;
    overflow-x: hidden;
}

/* ── Ambient background ── */
.page-bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: radial-gradient(ellipse 70% 50% at 85% 5%, rgba(24, 95, 165, 0.07), transparent 55%), radial-gradient(ellipse 50% 40% at 10% 30%, rgba(100, 160, 220, 0.06), transparent 50%), radial-gradient(ellipse 60% 50% at 50% 100%, rgba(24, 95, 165, 0.04), transparent 55%), var(--bg);
}

/* ── NAV ── */
.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
    transition: padding 0.35s var(--ease), background 0.35s, box-shadow 0.35s;
}

    .nav.scrolled {
        padding: 0.65rem 2rem;
        background: rgba(255, 255, 255, 0.82);
        backdrop-filter: blur(16px);
        box-shadow: 0 1px 0 var(--border), var(--shadow-sm);
    }

.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

    .nav-logo img {
        height: 24px;
        width: auto;
        display: block;
    }

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.75rem;
}

    .nav-links a {
        font-size: 13px;
        font-weight: 500;
        color: var(--text-secondary);
        text-decoration: none;
        transition: color 0.2s;
        position: relative;
    }

        .nav-links a::after {
            content: '';
            position: absolute;
            left: 0;
            bottom: -4px;
            width: 0;
            height: 2px;
            background: var(--accent);
            border-radius: 2px;
            transition: width 0.25s var(--ease);
        }

        .nav-links a:hover {
            color: var(--text);
        }

            .nav-links a:hover::after {
                width: 100%;
            }

.nav-cta {
    padding: 0.55rem 1.15rem !important;
    background: var(--text) !important;
    color: #fff !important;
    border-radius: 999px;
    font-size: 12px !important;
    letter-spacing: 0.03em;
    transition: transform 0.25s var(--ease), box-shadow 0.25s !important;
}

    .nav-cta::after {
        display: none !important;
    }

    .nav-cta:hover {
        transform: translateY(-1px);
        box-shadow: 0 8px 24px rgba(20, 24, 32, 0.15);
        color: #fff !important;
    }

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

    .menu-toggle span {
        display: block;
        width: 18px;
        height: 1.5px;
        background: var(--text);
        transition: transform 0.25s, opacity 0.25s;
    }

.nav.open .menu-toggle span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
}

.nav.open .menu-toggle span:nth-child(2) {
    opacity: 0;
}

.nav.open .menu-toggle span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
}

.drawer {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 190;
    background: rgba(20, 30, 50, 0.2);
    backdrop-filter: blur(4px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

    .drawer.open {
        opacity: 1;
        pointer-events: auto;
    }

.drawer__panel {
    position: absolute;
    top: 0;
    right: 0;
    width: min(320px, 90vw);
    height: 100%;
    background: #fff;
    padding: 5.5rem 1.5rem 2rem;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
    box-shadow: -8px 0 40px rgba(24, 55, 100, 0.08);
}

.drawer.open .drawer__panel {
    transform: translateX(0);
}

.drawer__panel a {
    display: block;
    padding: 0.9rem 0;
    font-size: 15px;
    font-weight: 500;
    color: var(--text);
    text-decoration: none;
    border-bottom: 1px solid var(--border);
}

    .drawer__panel a:hover {
        color: var(--accent);
    }

@media (max-width: 900px) {
    .nav {
        padding: 0.85rem 1.25rem;
    }

    .nav-links {
        display: none;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .drawer {
        display: block;
    }
}

/* ── LAYOUT ── */
main {
    padding-top: 72px;
}

.section-wrap {
    max-width: var(--content);
    margin: 0 auto;
    padding: 0 2rem;
}

.screen {
    padding: 5rem 0;
    position: relative;
}

.screen--alt {
    background: linear-gradient(180deg, transparent, var(--bg-soft) 15%, var(--bg-soft) 85%, transparent);
}

    .screen--alt::before {
        content: '';
        position: absolute;
        inset: 0;
        background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(24, 95, 165, 0.04), transparent 70%);
        pointer-events: none;
    }

/* ── HERO ── */
.hero {
    min-height: calc(100vh - 72px);
    display: flex;
    align-items: center;
    padding: 3rem 0 5rem;
    position: relative;
    overflow: hidden;
}

.hero__grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(24, 95, 165, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(24, 95, 165, 0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 20%, transparent 75%);
    animation: grid-drift 40s linear infinite;
}

@keyframes grid-drift {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(48px, 48px);
    }
}

.hero__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    animation: orb-float 12s ease-in-out infinite;
    pointer-events: none;
}

.hero__orb--1 {
    width: 420px;
    height: 420px;
    background: rgba(24, 95, 165, 0.12);
    top: -10%;
    right: -5%;
}

.hero__orb--2 {
    width: 280px;
    height: 280px;
    background: rgba(140, 190, 240, 0.2);
    bottom: 10%;
    left: -5%;
    animation-delay: -4s;
}

@keyframes orb-float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(-20px, 15px) scale(1.05);
    }
}

#hero-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.55;
}

.hero__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero__content {
    max-width: 540px;
}

.hero__eyeline {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    padding: 1.15rem 1.4rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(238, 243, 249, 0.88));
    border: 1px solid var(--border);
    border-left: 3px solid var(--accent);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    animation: fade-up 0.8s var(--ease) both;
}

.hero__eyeline-head {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
}

.hero__eyeline-head i {
    font-size: 15px;
}

.hero__eyeline-text {
    margin: 0;
    max-width: 62rem;
    font-size: 15px;
    line-height: 1.75;
    color: var(--text-secondary);
    text-wrap: pretty;
}

.hero__eyeline a {
    color: var(--text);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid rgba(24, 95, 165, 0.28);
    transition: color 0.2s, border-color 0.2s;
}

.hero__eyeline a:hover {
    color: var(--accent);
    border-bottom-color: var(--accent);
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1.25rem;
    box-shadow: var(--shadow-sm);
    animation: fade-up 0.8s var(--ease) both;
}

    .hero__badge i {
        font-size: 14px;
    }

.hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--text);
    margin-bottom: 1rem;
    animation: fade-up 0.8s var(--ease) 0.1s both;
}

    .hero h1 span {
        background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

.hero__lead {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 1.5rem;
    animation: fade-up 0.8s var(--ease) 0.2s both;
}

.hero__checklist {
    list-style: none;
    display: grid;
    gap: 0.55rem;
    margin-bottom: 1.75rem;
    animation: fade-up 0.8s var(--ease) 0.3s both;
}

    .hero__checklist li {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 14px;
        color: var(--text-secondary);
    }

    .hero__checklist i {
        color: var(--accent);
        font-size: 16px;
        flex-shrink: 0;
    }

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    animation: fade-up 0.8s var(--ease) 0.4s both;
}

/* Hero visual */
.hero__visual {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
    padding-bottom: 0.5rem;
    animation: fade-up 1s var(--ease) 0.35s both;
}

.visual-card {
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(20px);
}

.visual-card--main {
    grid-column: 1 / -1;
    position: relative;
    z-index: 2;
}

.visual-card--float {
    padding: 0.7rem 0.85rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
}

.visual-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border);
}

.visual-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 4px var(--accent-soft);
    animation: pulse-dot 2.5s ease infinite;
}

@keyframes pulse-dot {
    0%, 100% {
        box-shadow: 0 0 0 4px var(--accent-soft);
    }

    50% {
        box-shadow: 0 0 0 8px rgba(24, 95, 165, 0.05);
    }
}

.visual-header span {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
}

.visual-nodes {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.visual-node {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0.65rem 0.85rem;
    background: var(--bg-soft);
    border-radius: 10px;
    font-size: 13px;
    color: var(--text-secondary);
    transition: transform 0.3s var(--ease), background 0.3s;
}

    .visual-node:hover {
        transform: translateX(4px);
        background: var(--accent-soft);
    }

    .visual-node i {
        font-size: 16px;
        color: var(--accent);
    }

.visual-mini {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
}

    .visual-mini i {
        color: var(--accent);
        font-size: 16px;
    }

@media (max-width: 900px) {
    .hero__inner {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: auto;
        padding-top: 2rem;
        overflow: visible;
    }

    .hero__visual {
        order: -1;
    }

    .visual-mini {
        font-size: 11px;
    }
}

/* ── TYPOGRAPHY ── */
.label {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.85rem;
    padding: 4px 10px;
    background: var(--accent-soft);
    border-radius: 6px;
}

h2 {
    font-size: clamp(1.6rem, 3.5vw, 2rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text);
}

h3 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.4rem;
}

p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.lead {
    max-width: 560px;
    font-size: 1.02rem;
}

.mt-sm {
    margin-top: 0.75rem;
}

.note {
    font-size: 13px;
    color: var(--text-tertiary);
    margin-top: 1.25rem;
}

.opsec-intro {
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    margin: 1.25rem 0 1rem;
}

/* ── BUTTONS ── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0.85rem 1.75rem;
    background: linear-gradient(135deg, var(--text) 0%, #2a3140 100%);
    color: #fff;
    border: none;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    letter-spacing: 0.02em;
    text-decoration: none;
    cursor: pointer;
    margin-top: 1.5rem;
    transition: transform 0.3s var(--ease), box-shadow 0.3s;
    box-shadow: 0 8px 28px rgba(20, 24, 32, 0.15);
}

    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 14px 36px rgba(20, 24, 32, 0.2);
    }

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0.85rem 1.5rem;
    background: rgba(255, 255, 255, 0.8);
    color: var(--text);
    border: 1px solid var(--border-strong);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    text-decoration: none;
    transition: border-color 0.2s, background 0.2s, transform 0.2s;
}

    .btn-ghost:hover {
        border-color: var(--accent);
        background: #fff;
        transform: translateY(-1px);
    }

.hero__actions .btn-primary,
.hero__actions .btn-ghost {
    margin-top: 0;
}

/* ── CARDS ── */
.card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.15rem 1.25rem;
    transition: transform 0.35s var(--ease), box-shadow 0.35s, border-color 0.35s;
}

    .card:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-md);
        border-color: rgba(24, 95, 165, 0.15);
    }

.risk-grid,
.opsec-grid,
.platform-grid,
.pricing-grid,
.consulting-grid {
    display: grid;
    gap: 14px;
    margin-top: 1.75rem;
}

.risk-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.opsec-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.platform-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.pricing-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.consulting-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.risk-card i,
.opsec-q i,
.platform-card i {
    font-size: 22px;
    color: var(--accent);
    margin-bottom: 10px;
    display: block;
    transition: transform 0.3s var(--ease);
}

.card:hover i {
    transform: scale(1.08);
}

.risk-card p,
.opsec-q,
.platform-card p,
.consulting-item p {
    font-size: 13px;
}

.opsec-q {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
}

.platform-card {
    position: relative;
    overflow: hidden;
}

    .platform-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: linear-gradient(90deg, var(--accent), var(--accent-light));
        transform: scaleX(0);
        transform-origin: left;
        transition: transform 0.4s var(--ease);
    }

    .platform-card:hover::before {
        transform: scaleX(1);
    }

/* ── CHECKLIST ── */
.check-list {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-top: 1rem;
}

.check-item,
.cross-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-secondary);
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    transition: background 0.2s;
}

    .check-item:hover {
        background: var(--accent-soft);
    }

    .check-item i {
        color: var(--accent);
        font-size: 17px;
    }

    .cross-item i {
        color: var(--text-tertiary);
        font-size: 17px;
    }

.hero .check-list {
    margin-top: 0;
}

/* ── FLOW ── */
.flow {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.flow-step {
    display: flex;
    gap: 16px;
    padding: 1rem 1.25rem;
    margin-left: -1.25rem;
    border-radius: var(--radius);
    transition: background 0.3s;
}

    .flow-step:hover {
        background: rgba(255, 255, 255, 0.7);
    }

.flow-line {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}

.flow-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 4px var(--accent-soft);
    margin-top: 5px;
}

.flow-connector {
    width: 2px;
    flex: 1;
    min-height: 28px;
    background: linear-gradient(180deg, var(--accent-soft), var(--border));
    margin: 4px 0;
}

.flow-text strong {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
}

.flow-text p {
    font-size: 13px;
    color: var(--text-tertiary);
    margin-top: 2px;
}

/* ── SCENARIO ── */
.scenario {
    margin-top: 1.5rem;
    padding: 1.5rem 1.75rem;
    background: linear-gradient(135deg, rgba(255,255,255,0.9), var(--bg-mist));
    border: 1px solid var(--border);
    border-left: 3px solid var(--accent);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.config-block {
    margin-top: 1.5rem;
    padding: 1.1rem 1.25rem;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.65;
}

    .config-block strong {
        color: var(--text);
    }

.scenario p {
    font-size: 14px;
    font-style: italic;
    line-height: 1.75;
}

.divider {
    height: 1px;
    background: var(--border);
    margin: 1.5rem 0;
}

/* ── PRICING ── */
.price-card {
    padding: 1.5rem;
}

    .price-card.featured {
        border: 2px solid var(--accent);
        background: linear-gradient(180deg, #fff 0%, #f8fbff 100%);
        box-shadow: var(--shadow-md);
        transform: scale(1.02);
    }

        .price-card.featured:hover {
            transform: scale(1.02) translateY(-4px);
        }

.price-badge {
    display: inline-block;
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 999px;
    margin-bottom: 0.75rem;
}

.price-tier {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-tertiary);
    margin-bottom: 0.4rem;
}

.price-amount {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text);
}

.price-period {
    font-size: 12px;
    color: var(--text-tertiary);
    margin-bottom: 1rem;
}

.price-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.price-feature {
    display: flex;
    gap: 8px;
    font-size: 13px;
    color: var(--text-secondary);
}

    .price-feature i {
        color: var(--accent);
        margin-top: 2px;
    }

/* ── TRAINING ── */
.training-card {
    margin-top: 1.5rem;
    padding: 1.75rem;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.topic-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 1rem;
}

.topic-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-secondary);
    padding: 0.5rem 0.65rem;
    border-radius: 8px;
    transition: background 0.2s;
}

    .topic-item:hover {
        background: var(--bg-soft);
    }

    .topic-item i {
        color: var(--accent);
    }

.format-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin-top: 1rem;
}

.format-tag {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-secondary);
    padding: 0.5rem 0.85rem;
    background: var(--bg-soft);
    border-radius: 999px;
}

    .format-tag i {
        color: var(--accent);
    }

/* ── CONSULTING ── */
.consulting-item {
    padding-top: 1rem;
    border-top: 2px solid var(--border);
    transition: border-color 0.3s;
}

    .consulting-item:hover {
        border-color: var(--accent);
    }

/* ── FIT ── */
.fit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 1.5rem;
}

.fit-section {
    padding: 1.5rem;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

    .fit-section h3 {
        font-size: 11px;
        font-weight: 600;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: var(--text-tertiary);
        margin-bottom: 1rem;
    }

/* ── CLIENTS ── */
.clients-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
    margin-top: 2rem;
}

.client-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 96px;
    padding: 1.15rem 1.35rem;
    background: #e8ebf0;
    border: 1px solid rgba(20, 40, 80, 0.09);
    border-radius: var(--radius);
    text-decoration: none;
    transition: transform 0.35s var(--ease), box-shadow 0.35s, border-color 0.35s, background 0.35s;
}

    .client-logo:hover {
        transform: translateY(-4px);
        background: #f0f3f7;
        box-shadow: var(--shadow-md);
        border-color: rgba(24, 95, 165, 0.22);
    }

    .client-logo img {
        display: block;
        width: 100%;
        max-width: 148px;
        height: auto;
        max-height: 60px;
        object-fit: contain;
        padding: 0.45rem 0.7rem;
        background: #fff;
        border-radius: 8px;
        box-shadow: 0 1px 0 rgba(20, 40, 80, 0.04);
        transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
    }

    .client-logo:hover img {
        transform: scale(1.03);
        box-shadow: 0 4px 14px rgba(20, 40, 80, 0.08);
    }

/* ── CONTACTS ── */
.screen.final {
    padding: 5rem 0 4rem;
    background: linear-gradient(180deg, var(--bg-soft), #fff);
}

.cta-box {
    padding: 2.5rem;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

    .cta-box::before {
        content: '';
        position: absolute;
        top: -50%;
        right: -20%;
        width: 300px;
        height: 300px;
        background: radial-gradient(circle, var(--accent-glow), transparent 70%);
        pointer-events: none;
    }

.contacts {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
}

.contact-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.65rem 1rem;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.25s var(--ease);
}

    .contact-item:hover {
        background: #fff;
        border-color: var(--accent);
        color: var(--accent);
        transform: translateY(-2px);
        box-shadow: var(--shadow-sm);
    }

    .contact-item i {
        font-size: 16px;
    }

.footer-logo {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2.5rem;
    padding-top: 1.75rem;
    border-top: 1px solid var(--border);
}

    .footer-logo img {
        height: 18px;
    }

.footer-tagline {
    font-size: 13px;
    color: var(--text-tertiary);
}

.prepayment-note {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    margin: 0.5rem 0 1.25rem;
}

.footer-eyeline,
.footer-copy {
    font-size: 12px;
    color: var(--text-tertiary);
    margin-top: 0.75rem;
}

    .footer-eyeline a {
        color: var(--text-secondary);
        text-decoration: none;
        border-bottom: 1px solid transparent;
        transition: color 0.2s, border-color 0.2s;
    }

        .footer-eyeline a:hover {
            color: var(--accent);
            border-bottom-color: var(--accent);
        }

.footer-copy {
    margin-top: 0.35rem;
}

/* ── REVEAL ANIMATIONS ── */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

    .reveal.visible {
        opacity: 1;
        transform: translateY(0);
    }

.reveal-delay-1 {
    transition-delay: 0.08s;
}

.reveal-delay-2 {
    transition-delay: 0.16s;
}

.reveal-delay-3 {
    transition-delay: 0.24s;
}

@keyframes fade-up {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================================
   НОВАЯ КРАСИВАЯ ФОРМА — контрастная, с иконками, идеальное выравнивание
   ============================================================ */
.contact-form {
    max-width: 720px;
    margin: 2rem 0 1.5rem;
    text-align: left;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.form-group {
    margin-bottom: 0.5rem;
    position: relative;
}

    .form-group.full-width {
        grid-column: 1 / -1;
    }

    .form-group label {
        display: block;
        font-size: 0.8rem;
        font-weight: 600;
        color: #475569;
        margin-bottom: 0.4rem;
        letter-spacing: 0.04em;
        text-transform: uppercase;
        transition: color 0.3s ease;
    }

    .form-group:focus-within label {
        color: #185FA5;
    }

/* Обёртка для иконки + поля */
.input-wrap {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 18px;
    pointer-events: none;
    transition: color 0.3s ease;
    z-index: 1;
}

/* Для textarea иконка прижимается к верху */
.form-group textarea ~ .input-icon {
    top: 18px;
    transform: none;
}

.input-wrap input,
.input-wrap textarea {
    width: 100%;
    padding: 0.85rem 1.1rem 0.85rem 44px;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    color: #0f172a;
    font-size: 0.95rem;
    font-family: inherit;
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    outline: none;
    box-sizing: border-box;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

    .input-wrap input::placeholder,
    .input-wrap textarea::placeholder {
        color: #94a3b8;
        font-weight: 400;
    }

    .input-wrap input:focus,
    .input-wrap textarea:focus {
        border-color: #185FA5;
        box-shadow: 0 0 0 4px rgba(24, 95, 165, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
        background: #ffffff;
    }

.input-wrap:focus-within .input-icon {
    color: #185FA5;
}

.input-wrap textarea {
    resize: vertical;
    min-height: 100px;
    line-height: 1.6;
    padding-top: 0.85rem;
}

/* Поля с ошибкой */
.form-group.error input,
.form-group.error textarea {
    border-color: #ef4444;
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.08);
}

.form-group.error label {
    color: #ef4444;
}

.form-group.error .input-icon {
    color: #ef4444;
}

/* Чекбокс согласия */
.checkbox-group {
    margin-top: 0.25rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.85rem;
    color: #475569;
    cursor: pointer;
    line-height: 1.5;
    padding: 0.25rem 0;
    transition: color 0.3s ease;
}

    .checkbox-label:hover {
        color: #0f172a;
    }

    .checkbox-label input[type="checkbox"] {
        flex-shrink: 0;
        width: 19px;
        height: 19px;
        margin-top: 0.1rem;
        accent-color: #185FA5;
        cursor: pointer;
        border-radius: 4px;
        transition: all 0.2s ease;
    }

        .checkbox-label input[type="checkbox"]:checked + span {
            color: #0f172a;
        }

    .checkbox-label a {
        color: #185FA5;
        text-decoration: none;
        border-bottom: 1px solid transparent;
        transition: border-color 0.2s;
    }

        .checkbox-label a:hover {
            border-bottom-color: #185FA5;
        }

/* Кнопка и статус */
.form-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 0.75rem;
}

    .form-actions .btn-primary {
        min-width: 220px;
        padding: 0.95rem 2.5rem;
        font-size: 0.95rem;
        font-weight: 600;
        background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
        border: none;
        border-radius: 12px;
        color: #ffffff;
        cursor: pointer;
        transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.75rem;
        letter-spacing: 0.02em;
        box-shadow: 0 4px 14px rgba(15, 23, 42, 0.15);
        margin-top: 0;
    }

        .form-actions .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 28px rgba(15, 23, 42, 0.2);
            background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
        }

        .form-actions .btn-primary:active {
            transform: translateY(0);
        }

        .form-actions .btn-primary:disabled {
            opacity: 0.7;
            cursor: not-allowed;
            transform: none;
        }

        .form-actions .btn-primary .btn-loader {
            display: none;
            width: 20px;
            height: 20px;
            border: 2px solid rgba(255, 255, 255, 0.2);
            border-top-color: #ffffff;
            border-radius: 50%;
            animation: spin 0.7s linear infinite;
        }

        .form-actions .btn-primary.is-loading .btn-text {
            display: none;
        }

        .form-actions .btn-primary.is-loading .btn-loader {
            display: inline-block;
        }

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.form-status {
    font-size: 0.9rem;
    color: #64748b;
    min-height: 2.5rem;
    flex: 1;
    display: flex;
    align-items: center;
    padding: 0.5rem 0;
}

    .form-status.success {
        color: #16a34a;
    }

        .form-status.success::before {
            content: '✓';
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 22px;
            height: 22px;
            background: #dcfce7;
            color: #16a34a;
            border-radius: 50%;
            margin-right: 10px;
            font-size: 14px;
            font-weight: 700;
            flex-shrink: 0;
        }

    .form-status.error {
        color: #dc2626;
    }

        .form-status.error::before {
            content: '✕';
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 22px;
            height: 22px;
            background: #fee2e2;
            color: #dc2626;
            border-radius: 50%;
            margin-right: 10px;
            font-size: 14px;
            font-weight: 700;
            flex-shrink: 0;
        }

/* ── АДАПТИВ ДЛЯ ФОРМЫ ── */
@media (max-width: 640px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .form-actions {
        flex-direction: column;
        align-items: stretch;
    }

        .form-actions .btn-primary {
            width: 100%;
            min-width: unset;
            padding: 0.9rem 1.5rem;
        }

    .form-status {
        text-align: left;
        justify-content: flex-start;
        min-height: 3rem;
    }

    .input-wrap input,
    .input-wrap textarea {
        padding: 0.75rem 1rem 0.75rem 40px;
        font-size: 0.9rem;
    }

    .input-icon {
        left: 12px;
        font-size: 16px;
    }
}

@media (max-width: 900px) and (min-width: 641px) {
    .clients-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 640px) {
    .section-wrap {
        padding: 0 1.25rem;
    }

    .screen {
        padding: 3.5rem 0;
    }

    .topic-grid, .fit-grid {
        grid-template-columns: 1fr;
    }

    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .price-card.featured {
        transform: none;
    }

    .cta-box {
        padding: 1.75rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, .reveal, .hero__grid, .hero__orb {
        animation: none !important;
        transition: none !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}

.form-honeypot {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.input-icon--top {
    top: 18px;
    transform: none;
}

/* ── PRIVACY PAGE ── */
.privacy-page {
    padding: 6rem 0 4rem;
    min-height: 100vh;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.privacy-container {
    max-width: 820px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.privacy-card {
    background: #fff;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.privacy-card .back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #185FA5;
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.privacy-card .back-link:hover { color: #0d3d6e; }

.privacy-card h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1.5rem;
}

.privacy-card h2 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #0f172a;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.privacy-card p,
.privacy-card ul li {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #334155;
}

.privacy-card ul {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.privacy-card .highlight {
    background: #f1f5f9;
    padding: 1.25rem 1.5rem;
    border-radius: 12px;
    border-left: 4px solid #185FA5;
    margin: 1.25rem 0;
}

.privacy-card .meta {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
    font-size: 0.85rem;
    color: #94a3b8;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.privacy-card .meta a {
    color: #185FA5;
    text-decoration: none;
}

@media (max-width: 640px) {
    .privacy-card { padding: 1.75rem; }
    .privacy-card h1 { font-size: 1.4rem; }
    .privacy-card .meta { flex-direction: column; }
}
