/* ============================
   Spectrum Agency
   Clean Violet + Prism theme
   Outfit + Space Grotesk
   ============================ */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }

:root {
    --bg:          #0B0B14;
    --bg-2:        #0F0F1C;
    --bg-card:     rgba(255,255,255,0.04);
    --bg-card-h:   rgba(255,255,255,0.07);
    --border:      rgba(255,255,255,0.08);
    --border-h:    rgba(139,49,224,0.35);
    --violet:      #8B31E0;
    --indigo:      #5B45F0;
    --cyan:        #06C8E8;
    --violet-dim:  rgba(139,49,224,0.14);
    --violet-glow: rgba(139,49,224,0.3);
    --white:       #FFFFFF;
    --off-white:   rgba(255,255,255,0.88);
    --muted:       rgba(255,255,255,0.48);
    --muted-2:     rgba(255,255,255,0.3);
    --font-body:   'Outfit', sans-serif;
    --font-alt:    'Space Grotesk', sans-serif;
    --radius:      16px;
    --radius-sm:   10px;
    --grad:        linear-gradient(135deg, #8B31E0 0%, #5B45F0 50%, #06C8E8 100%);
    --grad-text:   linear-gradient(90deg, #B06CF5, #7C6FF5, #06C8E8);
}

body {
    font-family: var(--font-body);
    background-color: var(--bg);
    color: var(--white);
    line-height: 1.65;
    overflow-x: hidden;
}

.container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 28px;
}

/* ── GRADIENT TEXT UTILITY ── */
.g-text {
    background: var(--grad-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============ LOADER ============ */
.loader {
    position: fixed; inset: 0; z-index: 99999;
    background: var(--bg);
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}
.loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }

.loader-content {
    display: flex; flex-direction: column; align-items: center; gap: 28px;
    z-index: 1;
    animation: fadeUp 0.5s ease-out;
}

.loader-logo { display: flex; align-items: center; gap: 12px; }

.loader-mark {
    width: 52px; height: 52px;
    background: var(--grad);
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-alt);
    font-size: 26px; font-weight: 700; color: #fff;
    animation: markPulse 2s ease-in-out infinite;
}

@keyframes markPulse {
    0%,100% { box-shadow: 0 0 0 0 var(--violet-glow); }
    50%      { box-shadow: 0 0 0 14px rgba(139,49,224,0); }
}

.loader-name {
    font-family: var(--font-alt); font-size: 26px; font-weight: 700;
    color: var(--white); letter-spacing: -0.3px;
}
.loader-tag {
    font-size: 10px; font-weight: 600; letter-spacing: 3.5px;
    text-transform: uppercase;
    background: var(--grad-text);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    display: block; margin-top: 2px;
}
.loader-brand { display: flex; flex-direction: column; line-height: 1.15; }

.loader-bar-wrap {
    width: 160px; height: 2px;
    background: rgba(255,255,255,0.07);
    border-radius: 2px; overflow: hidden;
}
.loader-bar {
    height: 100%; width: 0%;
    background: var(--grad); border-radius: 2px;
    transition: width 0.1s linear;
}
.loader-hint {
    font-size: 11px; color: var(--muted-2);
    letter-spacing: 2px; text-transform: uppercase; font-weight: 500;
    animation: loaderBlink 2s ease-in-out infinite;
}
@keyframes loaderBlink { 0%,100%{opacity:.35} 50%{opacity:.8} }

.loader-orb {
    position: absolute; border-radius: 50%;
    filter: blur(90px); pointer-events: none;
}
.loader-orb-1 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(139,49,224,0.1), transparent 70%);
    top: -120px; right: -120px;
    animation: orbFloat 8s ease-in-out infinite;
}
.loader-orb-2 {
    width: 380px; height: 380px;
    background: radial-gradient(circle, rgba(6,200,232,0.07), transparent 70%);
    bottom: -80px; left: -60px;
    animation: orbFloat 10s ease-in-out infinite reverse;
}
@keyframes orbFloat {
    0%,100%{transform:translate(0,0) scale(1)}
    40%{transform:translate(-18px,22px) scale(1.04)}
    70%{transform:translate(14px,-14px) scale(0.97)}
}

/* ============ HEADER ============ */
.header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    padding: 18px 0;
    transition: all 0.4s ease;
}
.header.scrolled {
    background: rgba(11,11,20,0.94);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 32px rgba(0,0,0,0.4);
}

.header-content {
    display: flex; align-items: center;
    justify-content: space-between; gap: 24px;
}

/* Logo */
.logo { display: flex; align-items: center; gap: 11px; text-decoration: none; flex-shrink: 0; }

.logo-mark {
    width: 36px; height: 36px;
    background: var(--grad);
    border-radius: 9px;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-alt); font-size: 18px; font-weight: 700; color: #fff;
    flex-shrink: 0;
    transition: transform 0.3s, box-shadow 0.3s;
}
.logo:hover .logo-mark {
    transform: rotate(-6deg) scale(1.08);
    box-shadow: 0 0 18px var(--violet-glow);
}
.logo-mark-sm { width: 30px; height: 30px; font-size: 15px; border-radius: 7px; }

.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-name {
    font-family: var(--font-alt); font-size: 18px; font-weight: 700;
    color: var(--white); letter-spacing: -0.3px;
}
.logo-tag {
    font-size: 9px; font-weight: 600; letter-spacing: 3px;
    text-transform: uppercase;
    background: var(--grad-text);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

/* Desktop Nav */
.desktop-nav { display: none; }
.desktop-nav-list { display: flex; list-style: none; gap: 0; }
.desktop-nav-list .nav-link {
    display: block; padding: 8px 14px;
    color: var(--muted); text-decoration: none;
    font-size: 14px; font-weight: 500;
    position: relative; transition: color 0.25s;
    letter-spacing: 0.1px;
}
.desktop-nav-list .nav-link::after {
    content: ''; position: absolute;
    bottom: 4px; left: 14px; right: 14px; height: 1.5px;
    background: var(--grad);
    transform: scaleX(0); transition: transform 0.25s;
    border-radius: 2px;
}
.desktop-nav-list .nav-link:hover,
.desktop-nav-list .nav-link.active { color: var(--white); }
.desktop-nav-list .nav-link:hover::after,
.desktop-nav-list .nav-link.active::after { transform: scaleX(1); }

@media (min-width: 1080px) { .desktop-nav { display: block; } }

/* Header Right */
.header-right { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

.header-phone {
    display: none; align-items: center; gap: 7px;
    color: var(--muted); text-decoration: none;
    font-size: 13.5px; font-weight: 500; transition: color 0.25s;
}
.header-phone svg { color: var(--violet); flex-shrink: 0; }
.header-phone:hover { color: var(--white); }
@media (min-width: 768px) { .header-phone { display: flex; } }

.btn-header-cta {
    display: none; padding: 9px 22px;
    background: transparent;
    border: 1.5px solid var(--violet);
    color: var(--white);
    text-decoration: none; border-radius: 50px;
    font-size: 13px; font-weight: 600;
    transition: all 0.25s; letter-spacing: 0.2px;
}
.btn-header-cta:hover {
    background: var(--grad); border-color: transparent;
    box-shadow: 0 4px 18px var(--violet-glow);
}
@media (min-width: 900px) { .btn-header-cta { display: block; } }

/* Hamburger */
.hamburger {
    background: none; border: none; cursor: pointer;
    padding: 8px; display: flex; flex-direction: column;
    gap: 5px; z-index: 1001;
}
.hamburger span {
    width: 22px; height: 2px; background: var(--white);
    transition: all 0.3s; border-radius: 2px; display: block;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
@media (min-width: 1080px) { .hamburger { display: none; } }

/* Mobile Menu */
.mobile-menu {
    position: fixed; top: 0; right: -100%;
    width: min(320px, 100vw); height: 100vh;
    background: rgba(11,11,20,0.98);
    backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
    border-left: 1px solid var(--border);
    z-index: 999; transition: right 0.35s cubic-bezier(.4,0,.2,1);
    overflow-y: auto;
}
.mobile-menu.open { right: 0; }
.mobile-menu-inner {
    padding: 88px 28px 40px;
    display: flex; flex-direction: column; min-height: 100%; gap: 32px;
}
.mobile-nav-list { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.mobile-nav-list .nav-link {
    display: block; padding: 13px 16px;
    color: var(--muted); text-decoration: none;
    font-size: 16px; font-weight: 500;
    border-radius: var(--radius-sm); transition: all 0.2s;
}
.mobile-nav-list .nav-link:hover {
    color: var(--white); background: var(--bg-card); padding-left: 22px;
}
.mobile-contact { margin-top: auto; display: flex; flex-direction: column; gap: 12px; }
.mobile-phone-link {
    background: var(--grad-text);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    text-decoration: none; font-size: 18px; font-weight: 700;
}
.mobile-cta { text-align: center; }

/* ============ BUTTONS ============ */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 8px; padding: 14px 32px;
    border-radius: 50px;
    font-family: var(--font-body); font-size: 15px; font-weight: 600;
    text-decoration: none; border: none; cursor: pointer;
    transition: all 0.3s ease; letter-spacing: 0.2px;
}
.btn-gold {
    background: var(--grad); color: #fff;
    box-shadow: 0 6px 24px var(--violet-glow);
}
.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(91,69,240,0.5);
}
.btn-ghost {
    background: transparent;
    border: 1.5px solid rgba(255,255,255,0.2);
    color: var(--white);
}
.btn-ghost:hover {
    border-color: var(--violet);
    background: var(--violet-dim);
}
.btn-submit { width: 100%; padding: 16px 32px; font-size: 16px; border-radius: 50px; }

/* ============ SECTION COMMONS ============ */
section { padding: 96px 0; }

.section-header { margin-bottom: 60px; }

.section-label {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 11px; font-weight: 700;
    letter-spacing: 2.5px; text-transform: uppercase;
    color: var(--violet); margin-bottom: 16px;
}
.section-label::before {
    content: ''; display: inline-block;
    width: 20px; height: 2px;
    background: var(--grad); border-radius: 2px;
    flex-shrink: 0;
}
.section-label-light { color: rgba(176,108,245,0.85); }
.section-label-light::before { background: linear-gradient(90deg, rgba(176,108,245,0.8), rgba(6,200,232,0.6)); }

.section-title {
    font-family: var(--font-alt);
    font-size: 40px; font-weight: 700;
    color: var(--white); line-height: 1.15;
    letter-spacing: -0.5px;
}

/* ============ HERO ============ */
.hero {
    min-height: 100vh;
    display: flex; align-items: center;
    position: relative; overflow: hidden;
    background: var(--bg);
}

.hero-video {
    position: absolute; top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover; z-index: 0;
}
.hero-video-overlay {
    position: absolute; inset: 0;
    background: rgba(11,11,20,0.72); z-index: 0;
}


.hero-orb {
    position: absolute; border-radius: 50%;
    filter: blur(90px); pointer-events: none;
    animation: orbFloat 8s ease-in-out infinite;
}
.hero-orb-1 {
    width: 700px; height: 700px;
    background: radial-gradient(circle, rgba(139,49,224,0.12), transparent 65%);
    top: -200px; right: -200px;
}
.hero-orb-2 {
    width: 450px; height: 450px;
    background: radial-gradient(circle, rgba(6,200,232,0.08), transparent 65%);
    bottom: -80px; left: 5%;
    animation-delay: 3s;
}
.hero-orb-3 {
    width: 320px; height: 320px;
    background: radial-gradient(circle, rgba(91,69,240,0.07), transparent 65%);
    top: 40%; left: 45%;
    animation-delay: 5.5s;
}

.hero .container { position: relative; z-index: 1; width: 100%; }

/* Hero inner: 2 columns — content left, cards right */
.hero-inner {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 64px;
    align-items: center;
    min-height: 100vh;
    padding-top: 120px;
    padding-bottom: 80px;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 14px 6px 8px;
    background: var(--violet-dim);
    border: 1px solid rgba(139,49,224,0.28);
    border-radius: 50px;
    font-size: 12px; font-weight: 600;
    color: rgba(176,108,245,0.9);
    margin-bottom: 24px;
    animation: fadeUp 0.7s ease-out;
    width: fit-content;
}
.badge-dot {
    width: 6px; height: 6px;
    background: var(--grad); border-radius: 50%;
    animation: blink 2s ease-in-out infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.3} }

.hero-title {
    font-family: var(--font-alt);
    font-size: 58px; font-weight: 800;
    line-height: 1.06; color: var(--white);
    letter-spacing: -1px;
    margin-bottom: 22px;
    animation: fadeUp 0.7s ease-out 0.1s backwards;
}
.hero-title em {
    font-style: normal;
    background: var(--grad);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.hero-subtitle {
    font-size: 17px; color: var(--muted);
    line-height: 1.7; margin-bottom: 40px;
    max-width: 500px; font-weight: 400;
    animation: fadeUp 0.7s ease-out 0.2s backwards;
}

.hero-actions {
    display: flex; gap: 12px; flex-wrap: wrap;
    margin-bottom: 56px;
    animation: fadeUp 0.7s ease-out 0.3s backwards;
}

.hero-metrics {
    display: flex; align-items: stretch; gap: 0;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    animation: fadeUp 0.7s ease-out 0.5s backwards;
    max-width: 480px;
    width: fit-content;
}
.metric {
    flex: 1; display: flex; flex-direction: column;
    padding: 20px 18px;
    background: var(--bg-card);
    transition: background 0.2s;
}
.metric:hover { background: var(--bg-card-h); }
.metric + .metric { border-left: 1px solid var(--border); }
.metric-num {
    font-family: var(--font-alt);
    font-size: 36px; font-weight: 700; color: var(--white);
    line-height: 1; display: inline;
}
.metric-plus {
    font-size: 18px; font-weight: 700;
    background: var(--grad);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    margin-left: 2px;
}
.metric-label { font-size: 11.5px; color: var(--muted-2); font-weight: 500; margin-top: 6px; }
.metric-sep { display: none; }

/* Hero right panel — картки колонкою з ефектом сходинок */
.hero-visual {
    display: flex;
    flex-direction: column;
    gap: 14px;
    animation: fadeUp 0.7s ease-out 0.4s backwards;
}

.hero-stat-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: var(--radius);
    padding: 22px 24px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.hero-stat-card:nth-child(2) { margin-left: 20px; }
.hero-stat-card:nth-child(3) { margin-left: 40px; }
.hero-stat-card::before {
    content: ''; position: absolute;
    top: 0; left: 0; right: 0; height: 2px;
    background: var(--grad); opacity: 0;
    transition: opacity 0.3s;
}
.hero-stat-card:hover { border-color: var(--border-h); }
.hero-stat-card:hover::before { opacity: 1; }

.hsc-icon {
    width: 40px; height: 40px;
    background: var(--violet-dim); border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    color: rgba(176,108,245,0.9); margin-bottom: 14px;
}
.hsc-value {
    font-family: var(--font-alt); font-size: 28px; font-weight: 700;
    background: var(--grad);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    line-height: 1; margin-bottom: 4px;
}
.hsc-label { font-size: 13px; color: var(--muted); font-weight: 400; }

.hero-scroll-hint {
    position: absolute; bottom: 32px; left: 50%;
    transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 10px;
    opacity: 0.35;
    animation: fadeUp 1s ease-out 1s backwards;
}
.hero-scroll-hint span {
    font-size: 10px; letter-spacing: 2px;
    text-transform: uppercase; color: var(--muted);
}
.scroll-line {
    width: 1px; height: 40px;
    background: linear-gradient(to bottom, var(--violet), transparent);
    animation: scrollAnim 2s ease-in-out infinite;
}
@keyframes scrollAnim {
    0%{transform:scaleY(0);transform-origin:top}
    50%{transform:scaleY(1);transform-origin:top}
    51%{transform:scaleY(1);transform-origin:bottom}
    100%{transform:scaleY(0);transform-origin:bottom}
}

/* ============ SERVICES ============ */
.services { background: var(--bg-2); }

.services-list {
    display: flex; flex-direction: column; gap: 2px;
}

.service-row {
    display: grid;
    grid-template-columns: 72px 1fr auto;
    gap: 32px;
    align-items: center;
    padding: 28px 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all 0.3s;
    cursor: default;
    position: relative; overflow: hidden;
}
.service-row::after {
    content: ''; position: absolute;
    right: 0; top: 0; bottom: 0; width: 0;
    background: linear-gradient(90deg, transparent, rgba(139,49,224,0.06));
    transition: width 0.4s ease;
}
.service-row:hover {
    border-color: var(--border-h);
    background: var(--bg-card-h);
    transform: translateX(4px);
}
.service-row:hover::after { width: 40%; }

.service-num-big {
    font-family: var(--font-alt);
    font-size: 44px; font-weight: 800;
    background: var(--grad);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1; opacity: 0.6;
    user-select: none;
}
.service-body h3 {
    font-family: var(--font-alt);
    font-size: 19px; font-weight: 600;
    color: var(--white); margin-bottom: 8px;
    letter-spacing: -0.2px;
}
.service-body p {
    font-size: 14px; color: var(--muted); line-height: 1.7;
}
.service-icon-wrap {
    width: 48px; height: 48px; flex-shrink: 0;
    background: var(--violet-dim);
    border: 1px solid rgba(139,49,224,0.2);
    border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    color: rgba(176,108,245,0.9);
    transition: all 0.3s;
}
.service-row:hover .service-icon-wrap {
    background: rgba(139,49,224,0.22);
    border-color: rgba(139,49,224,0.4);
}
.service-link {
    display: inline-flex; align-items: center; gap: 6px;
    margin-top: 12px; font-size: 13.5px; font-weight: 600;
    background: var(--grad-text);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    text-decoration: none; transition: opacity 0.2s;
}
.service-link:hover { opacity: 0.75; }

/* ============ PROCESS ============ */
.process { background: var(--bg); }

.process-timeline {
    position: relative;
    display: flex; flex-direction: column; gap: 0;
    max-width: 740px;
}
.process-timeline::before {
    content: ''; position: absolute;
    left: 27px; top: 28px; bottom: 28px; width: 2px;
    background: linear-gradient(to bottom, var(--violet), rgba(91,69,240,0.3), transparent);
    border-radius: 2px;
}

.process-step {
    display: flex; gap: 28px; align-items: flex-start;
    padding: 0 0 36px 0;
    position: relative; z-index: 1;
}

.step-number {
    width: 56px; height: 56px; flex-shrink: 0;
    background: var(--bg-2);
    border: 2px solid var(--border);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-alt); font-size: 18px; font-weight: 700;
    color: var(--muted); transition: all 0.3s;
}
.process-step:hover .step-number {
    background: var(--grad); border-color: transparent; color: #fff;
    box-shadow: 0 0 22px var(--violet-glow);
}
.step-content {
    padding-top: 14px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 36px; flex: 1;
    transition: border-color 0.3s;
}
.process-step:last-child .step-content { border-bottom: none; padding-bottom: 0; }
.process-step:hover .step-content { border-color: var(--border-h); }

.step-content h3 {
    font-family: var(--font-alt); font-size: 17px; font-weight: 600;
    color: var(--white); margin-bottom: 8px; letter-spacing: -0.1px;
}
.step-content p {
    font-size: 14px; color: var(--muted); line-height: 1.65;
}
.step-arrow { display: none; }

/* ============ HEADHUNTING ============ */
.headhunting { background: var(--bg-2); position: relative; overflow: hidden; }

.headhunting-bg {
    position: absolute; top: 0; left: 0;
    width: 50%; height: 100%;
    background: radial-gradient(ellipse at 20% 50%, rgba(139,49,224,0.07), transparent 60%);
    pointer-events: none;
}

/* Flipped: visual LEFT, text RIGHT */
.headhunting-content {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 80px; align-items: center;
}

.headhunting-visual {
    order: -1;
    position: relative; display: flex; flex-direction: column; gap: 14px;
}

.hh-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px 22px;
    display: flex; align-items: center; gap: 16px;
    transition: all 0.3s;
}
.hh-card:hover { border-color: var(--border-h); transform: translateX(6px); background: var(--bg-card-h); }
.hh-card-icon {
    width: 46px; height: 46px; background: var(--violet-dim);
    border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    color: rgba(176,108,245,0.9); flex-shrink: 0;
}
.hh-card strong { display: block; font-size: 15px; color: var(--white); font-weight: 600; margin-bottom: 3px; }
.hh-card span { font-size: 13px; color: var(--muted); }
.hh-card-2 { margin-right: 20px; }
.hh-glow {
    position: absolute; bottom: -40px; left: -40px;
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(91,69,240,0.14), transparent 70%);
    pointer-events: none; filter: blur(30px);
}

.headhunting-title {
    font-family: var(--font-alt); font-size: 40px; font-weight: 700;
    line-height: 1.15; color: var(--white); margin-bottom: 18px;
    letter-spacing: -0.5px;
}
.headhunting-text > p {
    color: var(--muted); font-size: 15px; line-height: 1.8;
    margin-bottom: 28px;
}

.headhunting-features { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 36px; }
.headhunting-features li { display: flex; align-items: center; gap: 14px; font-size: 15px; color: var(--off-white); }
.hh-check {
    width: 22px; height: 22px;
    background: var(--violet-dim); border: 1px solid rgba(139,49,224,0.3);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 11px; font-weight: 700;
    background: var(--grad);
    color: #fff; flex-shrink: 0;
}

/* ============ RESULTS ============ */
.results { background: var(--bg); }

.results-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.result-item {
    padding: 40px 28px 36px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-align: center;
    transition: all 0.3s;
    position: relative; overflow: hidden;
}
.result-item::before {
    content: ''; position: absolute;
    bottom: 0; left: 0; right: 0; height: 3px;
    background: var(--grad); opacity: 0; transition: opacity 0.3s;
}
.result-item:hover { background: var(--bg-card-h); border-color: var(--border-h); }
.result-item:hover::before { opacity: 1; }
.result-item-accent {
    background: var(--violet-dim);
    border-color: rgba(139,49,224,0.25);
}
.result-item-accent::before { opacity: 0.6; }

.result-value { display: flex; align-items: baseline; justify-content: center; gap: 2px; margin-bottom: 12px; }
.result-num {
    font-family: var(--font-alt); font-size: 54px; font-weight: 800;
    color: var(--white); line-height: 1; letter-spacing: -2px;
}
.result-suffix {
    font-size: 26px; font-weight: 700;
    background: var(--grad);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.result-desc { font-size: 13px; color: var(--muted); line-height: 1.5; }

/* ============ WHY US ============ */
.why { background: var(--bg-2); }

.why-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 0;
    border: 1px solid var(--border);
    border-radius: var(--radius); overflow: hidden;
}
.why-card {
    padding: 32px 30px;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--bg-card);
    transition: all 0.3s;
    display: flex; gap: 20px; align-items: flex-start;
}
.why-card:nth-child(2n) { border-right: none; }
.why-card:nth-last-child(-n+2) { border-bottom: none; }
.why-card:hover { background: var(--bg-card-h); }

.why-icon {
    width: 44px; height: 44px; flex-shrink: 0;
    background: var(--violet-dim);
    border: 1px solid rgba(139,49,224,0.2);
    border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    color: rgba(176,108,245,0.9); margin-top: 2px;
    transition: all 0.3s;
}
.why-card:hover .why-icon {
    background: rgba(139,49,224,0.2);
    border-color: rgba(139,49,224,0.4);
}
.why-body h3 {
    font-family: var(--font-alt); font-size: 16px; font-weight: 600;
    color: var(--white); margin-bottom: 8px; letter-spacing: -0.1px;
}
.why-body p { font-size: 13.5px; color: var(--muted); line-height: 1.65; }

/* ============ FAQ ============ */
.faq { background: var(--bg); }

.faq-list {
    max-width: 800px; margin: 0 auto;
    display: flex; flex-direction: column; gap: 6px;
}
.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius); overflow: hidden;
    background: var(--bg-card); transition: border-color 0.3s;
}
.faq-item:hover, .faq-item.open { border-color: var(--border-h); }
.faq-question {
    width: 100%; display: flex; justify-content: space-between;
    align-items: center; padding: 20px 24px;
    background: none; border: none; cursor: pointer;
    gap: 16px; text-align: left;
}
.faq-question span {
    font-size: 15px; font-weight: 500; color: var(--off-white); line-height: 1.45;
}
.faq-toggle {
    width: 28px; height: 28px; flex-shrink: 0;
    background: var(--violet-dim); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    position: relative; transition: background 0.3s;
}
.faq-toggle span {
    position: absolute; width: 10px; height: 2px;
    background: rgba(176,108,245,0.8); border-radius: 2px; transition: all 0.3s;
}
.faq-toggle span:last-child { transform: rotate(90deg); }
.faq-item.open .faq-toggle { background: var(--grad); }
.faq-item.open .faq-toggle span { background: #fff; }
.faq-item.open .faq-toggle span:last-child { transform: rotate(0deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-item.open .faq-answer { max-height: 300px; }
.faq-answer p {
    padding: 0 24px 22px; font-size: 14px;
    color: var(--muted); line-height: 1.75;
    border-top: 1px solid var(--border); padding-top: 18px;
}

/* ============ CONTACT ============ */
.contact-section { background: var(--bg-2); }

.contact-wrap {
    display: grid; grid-template-columns: 1fr 1.3fr;
    gap: 80px; align-items: start;
}
.contact-info-block h2 {
    font-family: var(--font-alt); font-size: 34px; font-weight: 700;
    color: var(--white); line-height: 1.2;
    margin-bottom: 16px; margin-top: 10px; letter-spacing: -0.4px;
}
.contact-info-block > p {
    color: var(--muted); font-size: 15px; line-height: 1.7; margin-bottom: 36px;
}
.contact-details { display: flex; flex-direction: column; gap: 20px; }
.contact-detail-item { display: flex; align-items: flex-start; gap: 14px; }
.cd-icon {
    width: 40px; height: 40px;
    background: var(--violet-dim); border: 1px solid rgba(139,49,224,0.2);
    border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    color: rgba(176,108,245,0.9); flex-shrink: 0;
}
.cd-label {
    display: block; font-size: 11px; text-transform: uppercase;
    letter-spacing: 1.5px; color: var(--muted-2); font-weight: 600; margin-bottom: 4px;
}
.cd-value { font-size: 15px; font-weight: 600; color: var(--white); text-decoration: none; transition: color 0.2s; }
a.cd-value:hover { color: rgba(176,108,245,0.9); }

/* Form */
.contact-form-block {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 32px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-field label {
    font-size: 12px; font-weight: 600;
    text-transform: uppercase; letter-spacing: 1px; color: var(--muted-2);
}
.form-field input, .form-field textarea {
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 13px 16px;
    font-family: var(--font-body); font-size: 14px; color: var(--white);
    transition: all 0.25s; resize: vertical;
}
.form-field input:focus, .form-field textarea:focus {
    outline: none; border-color: var(--violet);
    box-shadow: 0 0 0 3px var(--violet-dim);
    background: rgba(255,255,255,0.06);
}
.form-field input::placeholder, .form-field textarea::placeholder { color: var(--muted-2); }
.form-note { text-align: center; font-size: 12px; color: var(--muted-2); margin-top: 12px; }

/* ============ FOOTER ============ */
.footer {
    background: var(--bg);
    border-top: 1px solid var(--border);
    padding: 60px 0 32px;
}
.footer-grid {
    display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr;
    gap: 40px; margin-bottom: 48px;
}
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand > p { font-size: 13.5px; color: var(--muted); line-height: 1.65; max-width: 240px; }
.footer-col h4 {
    font-family: var(--font-alt); font-size: 12px; font-weight: 700;
    letter-spacing: 2px; text-transform: uppercase;
    background: var(--grad-text);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    margin-bottom: 18px; display: inline-block;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a, .footer-col ul li span {
    font-size: 14px; color: var(--muted); text-decoration: none; transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--white); }
.footer-contacts li span { color: var(--muted); }
.footer-bottom {
    border-top: 1px solid var(--border); padding-top: 24px;
    display: flex; justify-content: space-between; align-items: center;
    gap: 16px; flex-wrap: wrap;
}
.footer-bottom p { font-size: 12.5px; color: var(--muted-2); }

/* ============ FLOAT BUTTON ============ */
.float-btn {
    position: fixed; bottom: 28px; right: 28px;
    width: 54px; height: 54px;
    background: var(--grad); border-radius: 50%;
    border: none;
    display: flex; align-items: center; justify-content: center;
    color: #fff; cursor: pointer; z-index: 900;
    box-shadow: 0 8px 24px var(--violet-glow);
    transition: all 0.3s;
    animation: floatPulse 3s ease-in-out infinite;
}
.float-btn:hover { transform: scale(1.1); box-shadow: 0 12px 32px rgba(91,69,240,0.55); }
@keyframes floatPulse {
    0%,100%{ box-shadow: 0 8px 24px var(--violet-glow), 0 0 0 0 rgba(139,49,224,0.4); }
    50%{ box-shadow: 0 8px 24px var(--violet-glow), 0 0 0 12px rgba(139,49,224,0); }
}

/* ============ MODAL ============ */
.modal {
    display: none; position: fixed; top: 0; left: 0;
    width: 100%; height: 100%; z-index: 10000;
    align-items: center; justify-content: center;
}
.modal.active { display: flex; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.8); backdrop-filter: blur(8px); }
.modal-box {
    position: relative; background: #0E0D1E;
    border: 1px solid var(--border);
    border-radius: var(--radius); padding: 36px 30px;
    max-width: 440px; width: 90%; z-index: 1;
    box-shadow: 0 30px 80px rgba(0,0,0,0.65);
    animation: modalIn 0.3s ease-out;
}
@keyframes modalIn {
    from{opacity:0;transform:translateY(-20px) scale(0.96)}
    to{opacity:1;transform:translateY(0) scale(1)}
}
.modal-close-btn {
    position: absolute; top: 14px; right: 14px;
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: 50%; width: 32px; height: 32px;
    display: flex; align-items: center; justify-content: center;
    color: var(--muted); cursor: pointer; transition: all 0.2s;
}
.modal-close-btn:hover { background: var(--bg-card-h); color: var(--white); }
.modal-header { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.modal-icon {
    width: 46px; height: 46px; background: var(--violet-dim);
    border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    color: rgba(176,108,245,0.9); flex-shrink: 0;
}
.modal-header h3 { font-size: 18px; font-weight: 700; color: var(--white); margin-bottom: 2px; }
.modal-header p { font-size: 13px; color: var(--muted); }
.callback-form .form-field { margin-bottom: 14px; }

/* ============ TOASTS ============ */
.toast-container {
    position: fixed; top: 20px; right: 20px; z-index: 20000;
    display: flex; flex-direction: column; gap: 10px;
    max-width: 360px; pointer-events: none;
}
.toast {
    background: #0E0D1E; border: 1px solid var(--border);
    border-radius: var(--radius); padding: 14px 16px;
    display: flex; align-items: flex-start; gap: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.5);
    animation: toastIn 0.35s ease-out;
    pointer-events: all; min-width: 280px;
}
.toast.success { border-left: 3px solid #4CAF50; }
.toast.error   { border-left: 3px solid #EF5350; }
.toast.warning { border-left: 3px solid var(--violet); }
.toast-icon { font-size: 15px; margin-top: 1px; }
.toast.success .toast-icon { color: #4CAF50; }
.toast.error   .toast-icon { color: #EF5350; }
.toast.warning .toast-icon { color: rgba(176,108,245,0.9); }
.toast-content { flex: 1; }
.toast-title { font-size: 13.5px; font-weight: 600; color: var(--white); margin-bottom: 2px; }
.toast-message { font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.toast-close {
    background: none; border: none; color: var(--muted-2); cursor: pointer;
    font-size: 18px; line-height: 1; padding: 0; margin-top: -1px; transition: color 0.2s;
}
.toast-close:hover { color: var(--white); }
@keyframes toastIn { from{opacity:0;transform:translateX(60px)} to{opacity:1;transform:translateX(0)} }
@keyframes toastOut { from{opacity:1;transform:translateX(0)} to{opacity:0;transform:translateX(60px)} }
.toast.removing { animation: toastOut 0.3s ease-out forwards; }

/* ============ ANIMATIONS ============ */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
}
.animate-up { opacity: 0; transform: translateY(24px); transition: opacity 0.65s ease, transform 0.65s ease; }
.animate-up.visible { opacity: 1; transform: translateY(0); }

/* ============ RESPONSIVE ============ */
@media (max-width: 1100px) {
    .section-title { font-size: 34px; }
    .hero-title { font-size: 46px; }
    .hero-inner { padding-top: 110px; padding-bottom: 60px; }
    .hero-inner { grid-template-columns: 1fr; gap: 48px; }
    .hero-visual { flex-direction: row; }
    .hero-stat-card:nth-child(2), .hero-stat-card:nth-child(3) { margin-left: 0; }
    .headhunting-title { font-size: 34px; }
    .results-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .process-timeline::before { display: none; }
    .why-grid { grid-template-columns: 1fr; }
    .why-card:nth-child(2n) { border-right: 1px solid var(--border); }
    .why-card:nth-last-child(-n+2) { border-bottom: 1px solid var(--border); }
    .why-card:last-child { border-bottom: none; }
}

@media (max-width: 900px) {
    .services-list .service-row { grid-template-columns: 56px 1fr; }
    .services-list .service-row .service-icon-wrap { display: none; }
    .headhunting-content { grid-template-columns: 1fr; gap: 48px; }
    .headhunting-visual { order: 0; }
    .contact-wrap { grid-template-columns: 1fr; gap: 48px; }
    .hero-title { font-size: 38px; }
    section { padding: 72px 0; }
}

@media (max-width: 680px) {
    .hero-title { font-size: 32px; }
    .hero-subtitle { font-size: 16px; }
    .hero-metrics { flex-direction: column; gap: 0; }
    .metric + .metric { border-left: none; border-top: 1px solid var(--border); }
    .metric-sep { display: none; }
    .section-title { font-size: 28px; }
    .results-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; align-items: flex-start; gap: 6px; }
    .form-row { grid-template-columns: 1fr; }
    .contact-form-block { padding: 28px 22px; }
    section { padding: 56px 0; }
    .hero-content { padding-top: 100px; padding-bottom: 60px; }
    .hh-card-2 { margin-right: 0; }
    .hero-scroll-hint { display: none; }
    .service-row { grid-template-columns: 1fr; gap: 16px; }
    .service-num-big { font-size: 32px; }
}

@media (max-width: 440px) {
    .container { padding: 0 16px; }
    .hero-title { font-size: 28px; }
    .btn { padding: 12px 24px; font-size: 14px; }
    .float-btn { bottom: 18px; right: 18px; width: 50px; height: 50px; }
    .toast-container { top: 10px; right: 10px; left: 10px; max-width: none; }
    .toast { min-width: auto; width: 100%; }
}
