@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    /* Серо-синяя палитра — чуть светлее исходной, без «IT-ночи» */
    --bg-0: #1e2733;
    --bg-1: #242f3d;
    --bg-2: #2a3545;
    --bg-3: #313e50;
    --surface: #2d3848;
    --surface-elevated: #354153;
    --surface-raised: #3b495c;

    --white: #FFFFFF;
    --text: #edf1f6;
    --muted: rgba(217, 226, 236, 0.64);
    --muted-soft: rgba(217, 226, 236, 0.44);

    --accent: #4a8fe0;
    --accent-hover: #5fa0ec;
    --accent-deep: #2264F4;
    --steel: #8a9bb0;
    --steel-light: #a9b8cb;

    --line: rgba(255, 255, 255, 0.09);
    --line-soft: rgba(255, 255, 255, 0.055);
    --divider-fade-h: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.04) 10%, rgba(255, 255, 255, 0.09) 50%, rgba(255, 255, 255, 0.04) 90%, transparent 100%);
    --divider-fade-v: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.04) 15%, rgba(255, 255, 255, 0.09) 50%, rgba(255, 255, 255, 0.04) 85%, transparent 100%);
    --glass: rgba(36, 44, 56, 0.72);

    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-medium: rgba(255, 255, 255, 0.14);
    --fill-subtle: rgba(255, 255, 255, 0.04);
    --fill-medium: rgba(255, 255, 255, 0.07);
    --nav-fg: rgba(255, 255, 255, 0.88);
    --nav-fg-hover: #fff;
    --nav-toggle: #fff;
    --card-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
    --card-shadow-hover: 0 24px 64px rgba(0, 0, 0, 0.42);

    --radius-card: 22px;
    --radius-btn: 980px;
    --header-h: 72px;
    --font: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;

    --shadow-soft: 0 24px 80px rgba(0, 0, 0, 0.32);
    --shadow-deep: 0 40px 120px rgba(0, 0, 0, 0.45);
    --shadow-card:
        0 1px 0 rgba(255, 255, 255, 0.04) inset,
        0 18px 50px -30px rgba(0, 0, 0, 0.9);
    /* Объёмная тёмная тень (без перекраски фона) */
    --shadow-volume:
        0 1px 0 rgba(255, 255, 255, 0.04) inset,
        0 28px 72px rgba(0, 0, 0, 0.55);
    --shadow-volume-hover:
        0 1px 0 rgba(255, 255, 255, 0.05) inset,
        0 32px 80px rgba(0, 0, 0, 0.65);
    /* Панель work-cards — полный стиль со свечением */
    --shadow-work-panel:
        0 0 0 1px rgba(74, 143, 224, 0.12),
        0 0 48px rgba(34, 100, 244, 0.28),
        0 28px 72px rgba(0, 0, 0, 0.55);
    --shadow-work-panel-active:
        0 0 0 1px rgba(74, 143, 224, 0.22),
        0 0 56px rgba(34, 100, 244, 0.38),
        0 32px 80px rgba(0, 0, 0, 0.6);
    --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
    --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
    --max-w: 1200px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 20px);
    color-scheme: dark;
    background: var(--bg-0);
}

body {
    font-family: var(--font);
    line-height: 1.55;
    min-height: 100vh;
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    background:
        radial-gradient(ellipse 70% 50% at 20% 0%, rgba(58, 78, 108, 0.42) 0%, transparent 55%),
        radial-gradient(ellipse 60% 55% at 85% 25%, rgba(48, 62, 88, 0.36) 0%, transparent 55%),
        radial-gradient(ellipse 80% 60% at 50% 100%, rgba(52, 68, 92, 0.32) 0%, transparent 60%),
        linear-gradient(180deg, var(--bg-1) 0%, var(--bg-0) 50%, var(--bg-1) 100%);
    background-attachment: fixed;
}

/* Тонкая зернистость поверх фона */
body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.035;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 180px 180px;
}

body > main,
body > section,
body > div,
body > footer {
    position: relative;
    z-index: 1;
}

body > header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

img { max-width: 100%; height: auto; }
a { color: inherit; }

/* ===== Header ===== */
header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 0 clamp(16px, 4vw, 40px);
    background: transparent;
    border-bottom: 1px solid transparent;
    box-shadow: none;
    transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease), backdrop-filter 0.35s var(--ease);
}

.page-home > header {
    background: transparent !important;
    border-bottom: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

header.is-scrolled,
.page-home > header.is-scrolled {
    background: rgba(30, 38, 50, 0.82) !important;
    backdrop-filter: blur(18px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(18px) saturate(180%) !important;
    border-bottom-color: rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.28) !important;
}

header.is-scrolled::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: var(--divider-fade-h);
    pointer-events: none;
}

.navbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    max-width: var(--max-w);
    margin: 0 auto;
    height: var(--header-h);
    column-gap: clamp(16px, 3vw, 40px);
}

.logo {
    grid-column: 1;
    justify-self: end;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex-shrink: 0;
    transition: opacity 0.2s, transform 0.2s;
    -webkit-tap-highlight-color: transparent;
}

.logo:hover { opacity: 0.92; transform: translateY(-1px); }

.logo:active {
    opacity: 1;
    transform: none;
}

.logo img {
    width: 48px;
    height: 48px;
    object-fit: cover;
    object-position: center;
    padding: 0;
    border-radius: 8px;
    background: transparent;
    border: none;
    box-sizing: border-box;
}

.nav-links {
    grid-column: 2;
    justify-self: center;
    list-style: none;
    display: flex;
    gap: clamp(10px, 2vw, 30px);
    align-items: center;
}

.nav-link {
    position: relative;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
    color: var(--nav-fg);
    padding: 6px 2px;
    transition: color 0.25s var(--ease);
}

/* Подчёркивание-линия, растущая из центра при наведении */
.nav-link::after {
    content: "";
    position: absolute;
    left: 0; right: 0;
    bottom: -2px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--accent), var(--steel-light));
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s var(--ease-smooth);
}

.nav-link:hover { color: var(--nav-fg-hover); }
.nav-link:hover::after { transform: scaleX(1); }

.nav-link.is-active { color: var(--nav-fg-hover); }
.nav-link.is-active::after { transform: scaleX(1); }

/* ===== Nav dropdown (Услуги) ===== */
.nav-item--drop {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-drop-head {
    display: inline-flex;
    align-items: center;
    gap: 2px;
}

.nav-drop-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    padding: 0;
    border: none;
    background: transparent;
    color: var(--nav-fg);
    cursor: pointer;
    transition: color 0.25s var(--ease);
}

.nav-drop-toggle:hover { color: var(--nav-fg-hover); }

.nav-drop-caret {
    width: 13px;
    height: 13px;
    transition: transform 0.3s var(--ease);
}

.nav-item--drop:hover .nav-drop-caret,
.nav-item--drop.is-open .nav-drop-caret {
    transform: rotate(180deg);
}

.nav-drop {
    list-style: none;
    margin: 0;
    padding: 8px;
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    min-width: 264px;
    background: rgba(30, 38, 50, 0.97);
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
    z-index: 1200;
}

.nav-drop::before {
    content: "";
    position: absolute;
    top: -14px;
    left: 0;
    right: 0;
    height: 14px;
}

.nav-item--drop:hover .nav-drop,
.nav-item--drop.is-open .nav-drop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.nav-drop__link {
    display: block;
    padding: 10px 14px;
    border-radius: 9px;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    color: #d5deea;
    white-space: nowrap;
    transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.nav-drop__link:hover,
.nav-drop__link.is-active {
    background: rgba(74, 143, 224, 0.16);
    color: #fff;
}

.nav-cta {
    grid-column: 3;
    justify-self: start;
    flex-shrink: 0;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.88rem;
    letter-spacing: 0.01em;
    color: #fff;
    padding: 9px 20px;
    border-radius: 980px;
    border: 1px solid rgba(138, 155, 176, 0.45);
    background: rgba(138, 155, 176, 0.1);
    transition: background 0.25s, border-color 0.25s, transform 0.2s, box-shadow 0.25s;
}

.nav-cta:hover {
    background: linear-gradient(135deg, var(--accent), var(--accent-deep));
    border-color: transparent;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 8px 24px -8px rgba(34, 100, 244, 0.55);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    margin-left: auto;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: var(--nav-toggle);
    transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.page-home .hero {
    height: 100dvh;
    height: 100svh;
    min-height: 100dvh;
    max-height: none;
}

.page-home .hero-core {
    transform: translateY(clamp(-28px, -5vh, -64px));
}

.hero {
    position: relative;
    height: min(92dvh, 820px);
    box-sizing: border-box;
    padding-bottom: clamp(64px, 10vh, 108px);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
    isolation: isolate;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    opacity: 0.8;
    filter: saturate(1.1) brightness(0.94);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(180deg, rgba(30, 38, 50, 0.06) 0%, rgba(30, 38, 50, 0.28) 42%, rgba(30, 38, 50, 0.72) 72%, var(--bg-0) 100%),
        radial-gradient(ellipse 80% 65% at 50% 45%, transparent 0%, rgba(30, 38, 50, 0.22) 100%);
}

.atmosphere {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
    opacity: 0.85;
}

.mesh-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    will-change: transform;
}

.mesh-blob--1 {
    width: 55vw; height: 55vw; max-width: 720px; max-height: 720px;
    top: 6%; left: -10%;
    background: radial-gradient(circle, rgba(74, 143, 224, 0.28) 0%, transparent 68%);
    animation: drift1 30s ease-in-out infinite;
}

.mesh-blob--2 {
    width: 48vw; height: 48vw; max-width: 640px; max-height: 640px;
    bottom: -8%; right: -8%;
    background: radial-gradient(circle, rgba(120, 138, 165, 0.22) 0%, transparent 70%);
    animation: drift2 36s ease-in-out infinite;
}

.mesh-blob--3 {
    width: 42vw; height: 42vw; max-width: 560px; max-height: 560px;
    top: 42%; right: 24%;
    background: radial-gradient(circle, rgba(34, 100, 244, 0.18) 0%, transparent 65%);
    animation: drift3 24s ease-in-out infinite;
}

@keyframes drift1 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(4%,6%); } }
@keyframes drift2 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-5%,-4%); } }
@keyframes drift3 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(3%,-5%) scale(1.06); } }

.hero-inner {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: calc(var(--header-h) + clamp(32px, 6vh, 72px)) clamp(20px, 5vw, 48px) 0;
    max-width: 920px;
    width: 100%;
}

.hero-eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent-hover);
    margin-bottom: 16px;
    padding: 0;
    border: none;
    background: transparent;
    backdrop-filter: none;
}

.hero-eyebrow::before {
    display: none;
}

.hero h1,
.hero-title {
    font-size: clamp(2.15rem, 5.6vw, 4rem);
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: -0.04em;
    margin-bottom: 20px;
    background: linear-gradient(120deg, #ffffff 0%, #ffffff 38%, var(--steel-light) 62%, var(--accent) 82%, var(--accent-deep) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 0 40px rgba(74, 143, 224, 0.18));
    text-wrap: balance;
}

.hero-accent {
    background: linear-gradient(115deg, var(--steel-light) 0%, var(--accent) 50%, var(--accent-deep) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 32px rgba(74, 143, 224, 0.22));
}

.hero p {
    font-size: clamp(1rem, 2.2vw, 1.2rem);
    color: var(--muted);
    max-width: 640px;
    margin: 0 auto 34px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Иконки-направления вместо текстовой строки */
.hero-features {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(16px, 3vw, 48px);
    max-width: 640px;
    margin-inline: auto;
    margin-top: 28px;
    padding-top: 24px;
    position: relative;
    border-top: none;
}

.hero-features::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(92%, 860px);
    height: 1px;
    background: var(--divider-fade-h);
    pointer-events: none;
}

.hero-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    min-width: 130px;
}

.hero-feature__icon {
    width: 48px;
    height: 48px;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    color: var(--steel-light);
    background: linear-gradient(160deg, rgba(255,255,255,0.1), rgba(255,255,255,0.03));
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 14px 30px -18px rgba(0,0,0,0.65);
    transition: transform 0.35s var(--ease-smooth), color 0.35s, border-color 0.35s;
}

.hero-feature__icon svg { width: 24px; height: 24px; }

.hero-feature:hover .hero-feature__icon {
    transform: translateY(-4px);
    color: var(--accent-hover);
    border-color: rgba(37, 99, 176, 0.35);
}

.hero-feature__label {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: 0.01em;
}

.hero-feature__desc {
    font-size: 0.78rem;
    color: var(--muted-soft);
}

/* Индикатор скролла */
.hero-scroll {
    position: absolute;
    bottom: 24px;
    left: 0;
    right: 0;
    margin-inline: auto;
    z-index: 3;
    width: 26px;
    height: 42px;
    border: 2px solid rgba(255, 255, 255, 0.28);
    border-radius: 14px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
    text-decoration: none;
}

.hero-scroll span {
    width: 4px;
    height: 8px;
    border-radius: 4px;
    background: var(--steel-light);
    animation: scrollDot 1.8s var(--ease-smooth) infinite;
}

@keyframes scrollDot {
    0% { opacity: 0; transform: translateY(-4px); }
    40% { opacity: 1; }
    80% { opacity: 0; transform: translateY(12px); }
    100% { opacity: 0; }
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    border-radius: var(--radius-btn);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: transform 0.2s var(--ease), box-shadow 0.2s, background 0.2s;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-deep));
    color: #fff;
    box-shadow: 0 6px 28px rgba(34, 100, 244, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 38px rgba(34, 100, 244, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.07);
    color: var(--text);
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(8px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
}

/* ===== Marquee ===== */
.marquee {
    position: relative;
    padding: 18px 0;
    border-block: none;
    overflow: hidden;
    background:
        linear-gradient(90deg, var(--bg-0) 0%, transparent 10%, transparent 90%, var(--bg-0) 100%),
        rgba(20, 26, 34, 0.92);
}

.marquee::before,
.marquee::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--divider-fade-h);
    pointer-events: none;
    z-index: 2;
}

.marquee::before { top: 0; }
.marquee::after { bottom: 0; }

.marquee__track {
    display: flex;
    width: max-content;
    animation: marquee 28s linear infinite;
    animation-play-state: running;
    will-change: transform;
}

.marquee__group {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.marquee__item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 13px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    white-space: nowrap;
    background: none;
    border: none;
    box-shadow: none;
    border-radius: 0;
}

.marquee__item::before {
    content: "+";
    width: auto;
    height: auto;
    flex-shrink: 0;
    background: none;
    -webkit-mask: none;
    mask: none;
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1;
    color: var(--accent);
    opacity: 0.85;
}

.marquee__item:first-child::before {
    content: none;
}

@keyframes marquee {
    from { transform: translate3d(0, 0, 0); }
    to { transform: translate3d(-50%, 0, 0); }
}

/* ===== Sections with depth (уход в глубину) ===== */
.section-shell {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 clamp(20px, 5vw, 40px);
}

.depth-section {
    position: relative;
    padding: clamp(32px, 4.5vw, 64px) 0;
    isolation: isolate;
}

.depth-section--tight {
    padding: clamp(24px, 3.5vw, 48px) 0;
}

.depth-section + .depth-section:not(#stats) {
    padding-top: clamp(16px, 2.5vw, 28px);
}

#stats {
    padding-top: clamp(8px, 1.5vw, 16px);
    padding-bottom: clamp(20px, 3vw, 36px);
}

/* Чередование тональности блоков — мягкое затухание к краям, без резких границ */
.depth-section--raised {
    background:
        linear-gradient(180deg,
            transparent 0%,
            rgba(42, 52, 66, 0.45) 10%,
            rgba(42, 52, 66, 0.45) 90%,
            transparent 100%);
}

/* Верхняя и нижняя тень — края блока "уходят" в темноту */
.depth-section::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image: radial-gradient(circle at 2px 2px, rgba(255, 255, 255, 0.03) 1px, transparent 0);
    background-size: 42px 42px;
    mask-image: linear-gradient(180deg, transparent, #000 8%, #000 92%, transparent);
    -webkit-mask-image: linear-gradient(180deg, transparent, #000 8%, #000 92%, transparent);
    opacity: 0.7;
}

/* Мягкое свечение-подложка за заголовком блока для глубины */
.depth-section::after {
    content: "";
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: min(720px, 80%);
    height: 320px;
    z-index: -1;
    pointer-events: none;
    background: radial-gradient(ellipse at center top, rgba(74, 143, 224, 0.14), transparent 70%);
    opacity: 0.8;
}

/* ===== Inner page hero + усиленная глубина блоков ===== */
body.page-inner {
    --page-hero-bg: #1a222d;
}

.page-hero {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    border-bottom: none;
    background:
        radial-gradient(ellipse 80% 60% at 50% 0%, rgba(74, 143, 224, 0.16), transparent 55%),
        radial-gradient(ellipse 40% 30% at 85% 60%, rgba(34, 100, 244, 0.1), transparent),
        var(--page-hero-bg, var(--bg-0));
}

.page-hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: var(--divider-fade-h);
    pointer-events: none;
    z-index: 2;
}

.page-hero--inner {
    min-height: auto;
    padding: calc(var(--header-h) + 28px) clamp(20px, 5vw, 48px) clamp(28px, 4vw, 40px);
}

.page-hero__glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background: linear-gradient(180deg, transparent 45%, var(--bg-0) 100%);
}

.page-hero__grid {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: 0.35;
    background:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: linear-gradient(180deg, transparent, #000 25%, #000 75%, transparent);
    -webkit-mask-image: linear-gradient(180deg, transparent, #000 25%, #000 75%, transparent);
}

.page-hero__content {
    position: relative;
    z-index: 1;
    max-width: 720px;
    width: 100%;
}

.page-hero__content h1 {
    font-size: clamp(1.85rem, 4.5vw, 2.85rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.08;
    margin-bottom: 12px;
    text-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
}

.page-hero__lead {
    font-size: clamp(0.95rem, 1.8vw, 1.05rem);
    color: var(--muted);
    max-width: 100%;
    margin: 0 0 12px;
    line-height: 1.65;
    text-align: justify;
    hyphens: auto;
    -webkit-hyphens: auto;
}

.trust-line {
    font-size: 0.82rem;
    color: var(--muted-soft);
    line-height: 1.5;
}

.trust-line strong {
    color: var(--steel-light);
    font-weight: 600;
}

.page-main {
    position: relative;
    z-index: 1;
}

.page-inner .depth-section {
    padding: clamp(40px, 6vw, 80px) 0;
}

.page-inner .page-main > .depth-section:first-child {
    padding-top: clamp(36px, 5vw, 64px);
}

.page-inner .depth-section--raised {
    background:
        linear-gradient(180deg,
            transparent 0%,
            rgba(38, 48, 62, 0.55) 7%,
            rgba(38, 48, 62, 0.6) 93%,
            transparent 100%);
    box-shadow: none;
}

.page-inner .depth-section::before {
    opacity: 0.85;
}

.page-inner .depth-section::after {
    width: min(860px, 92%);
    height: 360px;
    background: radial-gradient(ellipse at center top, rgba(74, 143, 224, 0.16), transparent 72%);
}

.page-inner .work-cards-stage {
    padding: clamp(18px, 3vw, 28px);
    border-radius: calc(var(--radius-card) + 4px);
    background:
        linear-gradient(165deg, rgba(32, 38, 50, 0.55) 0%, rgba(14, 18, 26, 0.72) 100%);
    border: none;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.05) inset,
        0 14px 36px rgba(0, 0, 0, 0.55),
        0 32px 64px rgba(0, 0, 0, 0.45);
}

.page-inner .contact-grid {
    padding: clamp(8px, 2vw, 16px);
    border-radius: calc(var(--radius-card) + 4px);
    background: linear-gradient(165deg, rgba(24, 30, 40, 0.45), rgba(12, 16, 22, 0.55));
    border: none;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.04) inset,
        0 20px 48px rgba(0, 0, 0, 0.45);
}

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--steel-light);
    margin-bottom: 12px;
}

.section-eyebrow::before {
    content: "";
    width: 42px;
    height: 2px;
    border-radius: 2px;
    flex-shrink: 0;
    background:
        linear-gradient(90deg,
            rgba(74, 143, 224, 0.25) 0%,
            var(--accent-hover) 35%,
            #ffffff 50%,
            var(--accent) 65%,
            rgba(74, 143, 224, 0.25) 100%);
    background-size: 220% 100%;
    box-shadow: 0 0 10px rgba(74, 143, 224, 0.45);
    animation: eyebrowSweep 3.2s linear infinite;
}

@keyframes eyebrowSweep {
    0% { background-position: 220% 0; }
    100% { background-position: -220% 0; }
}

.heading-shine {
    font-size: clamp(1.8rem, 4vw, 2.9rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.12;
    margin-bottom: 16px;
    background: linear-gradient(120deg, #fff 0%, #cdd9e8 70%, var(--steel) 120%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.heading-shine--single-line {
    font-size: clamp(1.35rem, 2.6vw, 2.15rem);
    line-height: 1.15;
    margin-bottom: 18px;
}

@media (min-width: 640px) {
    .heading-shine--single-line {
        white-space: nowrap;
    }
}

@media (max-width: 720px) {
    .about-pillars--row {
        grid-template-columns: 1fr;
    }
}

.section-lead {
    font-size: 1.05rem;
    color: var(--muted);
    max-width: 720px;
    margin-bottom: 32px;
}

.section-lead--note {
    margin-top: 20px;
    margin-bottom: 28px;
}

/* Split section with image */
.split-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(32px, 5vw, 64px);
    align-items: center;
}

.split-section--reverse .split-section__media { order: -1; }

.split-section__media {
    border-radius: var(--radius-card);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-deep);
    position: relative;
}

/* Декоративное свечение за изображением — добавляет глубину */
.split-section__media::before {
    content: "";
    position: absolute;
    inset: -8% -8% -12% -8%;
    z-index: -1;
    border-radius: 32px;
    background: radial-gradient(ellipse at 70% 30%, rgba(74, 143, 224, 0.28), transparent 65%);
    filter: blur(30px);
    opacity: 0.7;
}

.split-section__media-frame,
.split-section__media > img,
.split-section__media > video {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: var(--radius-card);
}

.split-section__media::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: var(--radius-card);
    background: linear-gradient(180deg, transparent 50%, rgba(20, 26, 34, 0.5));
    pointer-events: none;
}

.split-section__media img,
.split-section__media video {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 300px;
    object-fit: cover;
    border-radius: var(--radius-card);
    filter: grayscale(0.15) saturate(0.92);
    transition: transform 0.6s var(--ease-smooth);
}

.split-section__media--tall img { min-height: 420px; max-height: 520px; }

.split-section__media { overflow: hidden; }

.split-section__media:hover img,
.split-section__media:hover video { transform: scale(1.05); }

/* Плавающая стеклянная карточка поверх изображения */
.media-badge {
    position: absolute;
    left: 20px;
    bottom: 20px;
    right: 20px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    border-radius: 16px;
    background: rgba(28, 36, 48, 0.72);
    backdrop-filter: blur(16px) saturate(160%);
    -webkit-backdrop-filter: blur(16px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 18px 40px -20px rgba(0, 0, 0, 0.65);
}

.media-badge__icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: #fff;
    background: linear-gradient(135deg, var(--accent), var(--accent-deep));
    box-shadow: 0 8px 20px -8px rgba(34, 100, 244, 0.8);
}

.media-badge__icon svg { width: 22px; height: 22px; }

.media-badge strong { display: block; font-size: 0.98rem; font-weight: 700; color: #fff; }
.media-badge span { font-size: 0.78rem; color: var(--muted); }

.split-section__text .section-lead { margin-bottom: 28px; }

/* Чек-лист возможностей */
.check-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.check-list li {
    position: relative;
    padding-left: 34px;
    font-size: 0.96rem;
    color: var(--text);
}

.check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 1px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background:
        linear-gradient(135deg, var(--accent), var(--accent-deep));
    box-shadow: 0 4px 12px -4px rgba(34, 100, 244, 0.8);
}

.check-list li::after {
    content: "";
    position: absolute;
    left: 7px;
    top: 7px;
    width: 8px;
    height: 5px;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(-45deg);
}

/* Полоса показателей */
.stats-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 0;
    margin-top: 0;
    border-radius: var(--radius-card);
    overflow: hidden;
    background: transparent;
    border: none;
    box-shadow: var(--shadow-soft);
}

.stat {
    position: relative;
    text-align: center;
    padding: 32px 20px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.035), transparent 60%),
        var(--surface);
}

.stat:not(:first-child)::before {
    content: "";
    position: absolute;
    left: 0;
    top: 18%;
    bottom: 18%;
    width: 1px;
    background: var(--divider-fade-v);
    pointer-events: none;
}

.stat strong {
    display: block;
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 8px;
    background: linear-gradient(120deg, #fff, var(--steel-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat span {
    font-size: 0.82rem;
    color: var(--muted);
}

/* ===== Cards: глубина через слоистые тени ===== */
.innovation-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    --inno-gap-x: 22px;
    --inno-gap-y: 32px;
    gap: var(--inno-gap-y) var(--inno-gap-x);
    margin-top: 12px;
}

/* Широкие «landscape» карточки: 3 в ряд, последний ряд из 2 — по центру */
.innovation-grid .innovation-card { grid-column: span 2; }
.innovation-grid .innovation-card:nth-child(4) { grid-column: 2 / span 2; }
.innovation-grid .innovation-card:nth-child(5) { grid-column: 4 / span 2; }

/* Соединительные линии между этапами (десктоп) */
@media (min-width: 1001px) {
    .innovation-grid .innovation-card::after {
        content: "";
        position: absolute;
        top: 44px;
        right: calc((var(--inno-gap-x) / -2) - 11px);
        width: var(--inno-gap-x);
        height: 2px;
        z-index: 3;
        background:
            linear-gradient(90deg, rgba(74, 143, 224, 0.75) 0%, rgba(74, 143, 224, 0.75) 40%, rgba(255, 255, 255, 0.95) 50%, rgba(74, 143, 224, 0.15) 60%, rgba(74, 143, 224, 0.15) 100%);
        background-size: 250% 100%;
        animation: innoFlow 2s linear infinite;
    }
    .innovation-grid .innovation-card::before {
        content: "";
        position: absolute;
        top: 40px;
        right: calc((var(--inno-gap-x) / -2) - 13px);
        width: 8px;
        height: 8px;
        z-index: 4;
        border-radius: 50%;
        background: var(--accent-hover);
        box-shadow: 0 0 0 4px rgba(74, 143, 224, 0.16);
        animation: innoNode 2s ease-in-out infinite;
    }
    .innovation-grid .innovation-card:nth-child(2)::after,
    .innovation-grid .innovation-card:nth-child(2)::before { animation-delay: 0.35s; }
    .innovation-grid .innovation-card:nth-child(4)::after,
    .innovation-grid .innovation-card:nth-child(4)::before { animation-delay: 0.7s; }

    .innovation-grid .innovation-card:nth-child(3)::after,
    .innovation-grid .innovation-card:nth-child(3)::before,
    .innovation-grid .innovation-card:nth-child(5)::after,
    .innovation-grid .innovation-card:nth-child(5)::before { display: none; }
}

@keyframes innoFlow {
    0% { background-position: 120% 0; }
    100% { background-position: -120% 0; }
}

@keyframes innoNode {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 4px rgba(74, 143, 224, 0.16); }
    50% { transform: scale(1.4); box-shadow: 0 0 0 8px rgba(74, 143, 224, 0.04), 0 0 14px rgba(74, 143, 224, 0.7); }
}

.innovation-card,
.bento-card,
.supervision-card,
.service-item,
.work-card,
.bim-stage,
.contact-card {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.035) 0%, transparent 40%),
        var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-card);
}

.innovation-card {
    position: relative;
    isolation: isolate;
    border-radius: var(--radius-card);
    padding: 74px 28px 28px;
    min-height: 240px;
    display: flex;
    flex-direction: column;
    transition: transform 0.35s var(--ease-smooth), border-color 0.35s, box-shadow 0.35s;
}

.innovation-card:hover {
    transform: translateY(-6px);
    border-color: rgba(74, 143, 224, 0.4);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.06) inset,
        var(--shadow-deep);
}

.innovation-card--interactive {
    cursor: pointer;
}

.innovation-card--interactive:focus-visible {
    outline: 2px solid var(--accent-hover);
    outline-offset: 3px;
}

/* Блюпринт-текстура, проявляется справа */
.innovation-card__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
    border-radius: inherit;
    opacity: 0.7;
    background:
        linear-gradient(102deg, rgba(9, 15, 28, 0.62) 0%, rgba(9, 15, 28, 0.78) 100%),
        var(--inno-bg, none) right center / cover no-repeat,
        repeating-linear-gradient(0deg, transparent 0 23px, rgba(120, 165, 225, 0.05) 23px 24px),
        repeating-linear-gradient(90deg, transparent 0 23px, rgba(120, 165, 225, 0.05) 23px 24px);
    -webkit-mask: linear-gradient(102deg, transparent 34%, #000 90%);
    mask: linear-gradient(102deg, transparent 34%, #000 90%);
    transition: opacity 0.4s var(--ease-smooth);
}

.innovation-card:hover .innovation-card__bg {
    opacity: 0.85;
}

/* Сгенерированные чертёжные фоны по карточкам (если файла нет — остаётся CSS-сетка) */
.innovation-grid .innovation-card:nth-child(1) .innovation-card__bg { --inno-bg: url('assets/img/inno-1.jpg'); }
.innovation-grid .innovation-card:nth-child(2) .innovation-card__bg { --inno-bg: url('assets/img/inno-2.jpg'); }
.innovation-grid .innovation-card:nth-child(3) .innovation-card__bg { --inno-bg: url('assets/img/inno-3.jpg'); }
.innovation-grid .innovation-card:nth-child(4) .innovation-card__bg { --inno-bg: url('assets/img/inno-4.jpg'); }
.innovation-grid .innovation-card:nth-child(5) .innovation-card__bg { --inno-bg: url('assets/img/inno-5.jpg'); }

.innovation-card__watermark {
    position: absolute;
    top: 16px;
    left: 88px;
    z-index: 0;
    font-size: 4.4rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.04em;
    color: rgba(130, 170, 230, 0.09);
    pointer-events: none;
}

.innovation-card__icon {
    position: absolute;
    top: 24px;
    left: 26px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 13px;
    color: var(--accent-hover);
    background: linear-gradient(160deg, rgba(74, 143, 224, 0.22), rgba(34, 100, 244, 0.06));
    border: 1px solid rgba(74, 143, 224, 0.32);
}

.innovation-card__icon svg { width: 24px; height: 24px; }

.innovation-card h3 {
    position: relative;
    z-index: 2;
    font-size: 1.12rem;
    font-weight: 700;
    margin-bottom: 10px;
}

/* Центрирование содержимого карточек «Индустрия 5.0» */
#innovation .innovation-card {
    text-align: center;
    align-items: center;
    padding: 24px 28px 28px;
}

#innovation .innovation-card > .innovation-card__watermark {
    position: absolute;
    top: 10px;
    right: 16px;
    left: auto;
    transform: none;
    font-size: 4.4rem;
    line-height: 1;
    z-index: 0;
    pointer-events: none;
}

#innovation .innovation-card__head {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 0 14px;
    z-index: 2;
}

#innovation .innovation-card__head .innovation-card__icon {
    position: static;
    top: auto;
    left: auto;
    transform: none;
    margin: 0;
}

#innovation .innovation-card h3 {
    position: relative;
    z-index: 2;
    width: 100%;
    margin: 0 0 10px;
    text-align: center;
}

#innovation .innovation-card p {
    position: relative;
    z-index: 2;
    width: 100%;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

#innovation .innovation-card__foot {
    justify-content: center;
    width: 100%;
}

#innovation .innovation-card__stat {
    position: relative;
    z-index: 3;
    justify-content: center;
}

.innovation-card p {
    position: relative;
    z-index: 2;
    font-size: 0.92rem;
    color: var(--muted);
    margin-bottom: 20px;
}

.innovation-card__foot {
    position: relative;
    z-index: 2;
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: nowrap;
}

.innovation-card__more {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    flex-shrink: 0;
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--accent-hover);
    text-decoration: none;
    transition: gap 0.25s var(--ease-smooth), color 0.25s;
}

.innovation-card__more svg { width: 16px; height: 16px; }
.innovation-card__more:hover { gap: 11px; color: #fff; }

.innovation-card__stat {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 8px 12px;
    border-radius: 12px;
    background: rgba(74, 143, 224, 0.08);
    border: 1px solid rgba(74, 143, 224, 0.18);
    pointer-events: none;
}

a.innovation-card__stat {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    pointer-events: auto;
    transition:
        background 0.25s var(--ease-smooth),
        border-color 0.25s var(--ease-smooth),
        transform 0.25s var(--ease-smooth),
        box-shadow 0.25s var(--ease-smooth);
}

a.innovation-card__stat:hover {
    background: rgba(74, 143, 224, 0.16);
    border-color: rgba(74, 143, 224, 0.34);
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

a.innovation-card__stat:focus-visible {
    outline: 2px solid var(--accent-hover);
    outline-offset: 2px;
}

a.innovation-card__stat:active {
    transform: translateY(0);
}

.innovation-card__stat-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    border-radius: 9px;
    color: var(--accent-hover);
    background: rgba(74, 143, 224, 0.14);
}

.innovation-card__stat-ico svg { width: 17px; height: 17px; }

.innovation-card__stat-txt {
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.22;
    color: rgba(255, 255, 255, 0.9);
    max-width: 118px;
}

/* Полоса достижений */
.innovation-stats {
    margin-top: 56px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    padding: 28px 20px;
    border-radius: var(--radius-card);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, transparent 45%),
        var(--surface);
    border: none;
    box-shadow: var(--shadow-card);
}

.innovation-stat {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 20px;
}

.innovation-stat + .innovation-stat {
    position: relative;
    border-left: none;
}

.innovation-stat + .innovation-stat::before {
    content: "";
    position: absolute;
    left: 0;
    top: 18%;
    bottom: 18%;
    width: 1px;
    background: var(--divider-fade-v);
    pointer-events: none;
}

.innovation-stat__ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    border-radius: 12px;
    color: var(--accent-hover);
    background: linear-gradient(160deg, rgba(74, 143, 224, 0.2), rgba(34, 100, 244, 0.05));
    border: 1px solid rgba(74, 143, 224, 0.28);
}

.innovation-stat__ico svg { width: 22px; height: 22px; }

.innovation-stat__body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.innovation-stat__val {
    font-size: 1.55rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.02em;
    color: #fff;
}

.innovation-stat__lbl {
    font-size: 0.74rem;
    line-height: 1.3;
    color: var(--muted);
}

@media (max-width: 1000px) {
    .innovation-grid {
        grid-template-columns: repeat(2, 1fr);
        --inno-gap-x: 20px;
        --inno-gap-y: 24px;
    }
    .innovation-grid .innovation-card,
    .innovation-grid .innovation-card:nth-child(4),
    .innovation-grid .innovation-card:nth-child(5) { grid-column: auto; }

    .innovation-stats { grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 24px 18px; }
    .innovation-stat { padding: 12px 16px; }
    .innovation-stat + .innovation-stat { border-left: none; }
    .innovation-stat:nth-child(n+4) { grid-column: span 1; }
}

@media (max-width: 560px) {
    .innovation-grid {
        grid-template-columns: 1fr;
        --inno-gap-y: 20px;
    }
    .innovation-card { padding-top: 70px; }
    .innovation-stats { grid-template-columns: repeat(2, 1fr); }
}

/* Bento grid */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

/* Ровная сетка из 4 колонок (мониторинг) */
.bento-grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .bento-grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .bento-grid--4 { grid-template-columns: 1fr; } }

.bento-card {
    border-radius: var(--radius-card);
    padding: 28px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.35s var(--ease-smooth), border-color 0.35s, box-shadow 0.35s;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bento-card:hover {
    transform: translateY(-6px);
    border-color: rgba(74, 143, 224, 0.35);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.06) inset,
        var(--shadow-deep);
}

/* Некликабельные карточки (article.bento-card) — более плавный и спокойный hover */
.bento-card:not(a) {
    cursor: default;
    transition: transform 0.55s var(--ease-smooth), border-color 0.55s, box-shadow 0.55s;
}

.bento-card:not(a):hover {
    transform: translateY(-2px);
    border-color: rgba(74, 143, 224, 0.28);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.05) inset,
        0 22px 58px -34px rgba(0, 0, 0, 0.82);
}

.bento-card__icon {
    width: 50px;
    height: 50px;
    margin-bottom: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    color: var(--steel-light);
    background: linear-gradient(160deg, rgba(74, 143, 224, 0.18), rgba(74, 143, 224, 0.03));
    border: 1px solid rgba(74, 143, 224, 0.22);
    transition: color 0.35s, transform 0.35s var(--ease-smooth), border-color 0.35s, background 0.35s;
}

.bento-card__icon svg { width: 26px; height: 26px; }

.bento-card:hover .bento-card__icon {
    color: #fff;
    transform: translateY(-3px) scale(1.05);
    border-color: transparent;
    background: linear-gradient(135deg, var(--accent), var(--accent-deep));
    box-shadow: 0 10px 24px -10px rgba(34, 100, 244, 0.9);
}

.bento-card:not(a):hover .bento-card__icon {
    transform: translateY(-1px) scale(1.02);
}

.bento-tag {
    position: absolute;
    top: 24px;
    right: 24px;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--muted-soft);
    letter-spacing: 0.08em;
}

.bento-card { position: relative; }
.bento-card h3 { font-size: 1.08rem; font-weight: 700; }
.bento-card p { font-size: 0.88rem; color: var(--muted); flex: 1; }

/* Bento / надзор — без blueprint (чертёж только у innovation-card__bg) */
.bento-card,
.supervision-card {
    overflow: visible;
    isolation: isolate;
}

.bento-card::before,
.supervision-card::before {
    content: none;
    background: none;
}

/* BIM section */
.bim-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: stretch;
}

.bim-stages { display: flex; flex-direction: column; gap: 20px; justify-content: space-between; }

.bim-stage {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    border-radius: 14px;
    box-shadow: var(--shadow-volume);
    transition: box-shadow 0.35s var(--ease-smooth), transform 0.35s var(--ease-smooth);
}

.bim-stage:hover {
    box-shadow: var(--shadow-volume-hover);
    transform: translateY(-2px);
}

.bim-stage__icon {
    width: 40px; height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--accent-deep), var(--accent));
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 0.85rem; flex-shrink: 0;
    box-shadow: 0 6px 18px -8px rgba(34, 100, 244, 0.8);
}

.bim-categories { display: flex; flex-direction: column; gap: 20px; }

.bim-category h4 {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--steel-light);
    margin-bottom: 10px;
}

.bim-category ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }

.bim-category li {
    font-size: 0.85rem;
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 980px;
    color: var(--muted);
    border: 1px solid var(--line);
}

/* Featured turnkey — связанный пошаговый процесс */
.featured-section { position: relative; }

.turnkey-flow {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    margin-top: 56px;
    position: relative;
}

/* Линия, соединяющая шаги */
.turnkey-flow::before {
    content: "";
    position: absolute;
    top: 26px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(74, 143, 224, 0.5), transparent);
    z-index: 0;
}

.turnkey-step {
    text-align: center;
    padding: 0 14px;
    position: relative;
    z-index: 1;
}

.turnkey-step__num {
    width: 54px;
    height: 54px;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.2rem;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(145deg, var(--surface-elevated), var(--surface));
    border: 1px solid rgba(74, 143, 224, 0.4);
    box-shadow: 0 0 0 6px rgba(13, 16, 20, 1), 0 10px 30px -12px rgba(34, 100, 244, 0.7);
    transition: transform 0.35s var(--ease-smooth), background 0.35s, box-shadow 0.35s;
}

.turnkey-step:hover .turnkey-step__num {
    transform: translateY(-4px) scale(1.06);
    background: linear-gradient(145deg, var(--accent), var(--accent-deep));
    box-shadow: 0 0 0 6px rgba(13, 16, 20, 1), 0 14px 34px -10px rgba(34, 100, 244, 0.9);
}

.turnkey-step__label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--steel-light);
    margin-bottom: 6px;
}

.turnkey-step h3 { font-size: 1.02rem; font-weight: 700; margin-bottom: 8px; }
.turnkey-step p { font-size: 0.84rem; color: var(--muted); }

@media (max-width: 900px) {
    .turnkey-flow { grid-template-columns: 1fr 1fr; gap: 32px 16px; }
    .turnkey-flow::before { display: none; }
}

@media (max-width: 520px) {
    .turnkey-flow { grid-template-columns: 1fr; }
}

/* Service groups */
.service-groups { display: grid; grid-template-columns: 1fr; gap: 40px; }

.service-group > h3 {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 28px;
    padding-bottom: 12px;
    border-bottom: none;
    display: inline-block;
    background-image: linear-gradient(90deg, var(--accent) 0%, rgba(74, 143, 224, 0.35) 62%, transparent 100%);
    background-size: 100% 2px;
    background-repeat: no-repeat;
    background-position: 0 100%;
}

.service-group .work-cards-stage {
    margin-top: 4px;
}

.service-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }

.service-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    border-radius: 14px;
    font-size: 0.92rem;
    font-weight: 500;
    position: relative;
    overflow: hidden;
    transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}

/* Акцентная полоса слева, проявляется при наведении */
.service-item::before {
    content: "";
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--accent), var(--accent-deep));
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.3s var(--ease-smooth);
}

.service-item:hover {
    border-color: rgba(74, 143, 224, 0.4);
    transform: translateX(5px);
    box-shadow: 0 1px 0 rgba(255,255,255,0.06) inset, var(--shadow-soft);
}

.service-item:hover::before { transform: scaleY(1); }

.service-item span {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    font-size: 0.78rem;
    color: var(--steel-light);
    font-weight: 700;
    background: rgba(74, 143, 224, 0.12);
    border: 1px solid rgba(74, 143, 224, 0.2);
    transition: color 0.25s, background 0.25s;
}

.service-item:hover span {
    color: #fff;
    background: linear-gradient(135deg, var(--accent), var(--accent-deep));
}

/* ===== Interactive Work Cards ===== */
.work-section {
    margin-top: clamp(48px, 6vw, 72px);
    padding-top: clamp(32px, 4vw, 48px);
    position: relative;
    border-top: none;
}

.work-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(94%, 960px);
    height: 1px;
    background: var(--divider-fade-h);
    pointer-events: none;
}

.work-section:first-of-type {
    margin-top: 40px;
    padding-top: 0;
}

.work-section:first-of-type::before {
    display: none;
}

.work-section__header {
    margin-bottom: clamp(24px, 3vw, 36px);
}

.work-section__header h3 {
    font-size: clamp(1.15rem, 2vw, 1.35rem);
    font-weight: 800;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.work-section__num {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 8px;
    border-radius: 10px;
    font-size: 0.78rem;
    color: #fff;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent), var(--accent-deep));
    border: 1px solid rgba(74, 143, 224, 0.3);
}

.work-section__header h3::before {
    display: none;
}

.work-section__lead {
    color: var(--muted);
    font-size: 0.95rem;
    max-width: 72ch;
    line-height: 1.6;
}

.work-cards {
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
    min-width: 0;
}

.work-cards-stage {
    display: block;
}

@media (min-width: 901px) {
    .work-cards-stage {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(420px, 1.4fr);
        gap: clamp(24px, 3vw, 36px);
        align-items: stretch;
    }

    .work-cards {
        gap: 12px;
        align-self: stretch;
    }

    .work-panel-dock {
        position: relative;
        top: auto;
        align-self: stretch;
        display: flex;
        flex-direction: column;
        min-height: 100%;
        height: 100%;
        border: none;
        background: transparent;
    }

    .work-panel-placeholder,
    .work-panel-float.is-docked {
        flex: 1;
        display: flex;
        flex-direction: column;
        min-height: 0;
        height: 100%;
    }

    .work-panel-placeholder__media {
        flex-shrink: 0;
    }

    .work-panel-placeholder__body {
        flex: 1;
        display: flex;
        flex-direction: column;
    }

    .work-panel-placeholder__facts {
        margin-top: auto;
    }

    .work-panel-float.is-docked:not(.is-visible) {
        display: none;
    }

    .work-panel-dock.is-active .work-panel-placeholder {
        display: none;
    }
}

.work-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 0;
    border-radius: 14px;
    overflow: hidden;
    transition:
        border-color 0.35s var(--ease-smooth),
        transform 0.35s var(--ease-smooth),
        box-shadow 0.35s var(--ease-smooth),
        background 0.35s var(--ease-smooth);
    cursor: pointer;
    outline: none;
}

.work-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--accent), var(--accent-deep));
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.3s var(--ease-smooth);
    border-radius: 14px 0 0 14px;
}

.work-card:hover::before,
.work-card.is-hovered::before,
.work-card.is-expanded::before {
    transform: scaleY(1);
}

.work-card:hover,
.work-card.is-hovered {
    border-color: rgba(74, 143, 224, 0.42);
    transform: translateX(6px);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.07) inset,
        0 16px 40px -24px rgba(34, 100, 244, 0.32),
        var(--shadow-soft);
    background:
        linear-gradient(90deg, rgba(74, 143, 224, 0.1) 0%, rgba(255, 255, 255, 0.03) 38%, transparent 100%),
        var(--surface);
}

.work-card__trigger {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    width: 100%;
    min-height: 68px;
    padding: 14px 18px;
    background: none;
    border: none;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.work-card__icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 11px;
    color: var(--accent-hover);
    background: rgba(74, 143, 224, 0.1);
    border: 1px solid rgba(74, 143, 224, 0.2);
    transition: background 0.3s var(--ease-smooth), color 0.3s var(--ease-smooth), border-color 0.3s var(--ease-smooth);
}

.work-card__icon svg {
    width: 22px;
    height: 22px;
}

.work-card__trigger-text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.work-card__subtitle {
    font-size: 0.78rem;
    line-height: 1.35;
    color: var(--muted);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
}

.work-card__trigger .work-card__star {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: none;
    border: none;
    transition: transform 0.3s;
}

.work-card__trigger .work-card__star::before {
    content: "";
    width: 18px;
    height: 18px;
    background: var(--accent);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2 L14 10 L22 12 L14 14 L12 22 L10 14 L2 12 L10 10 Z'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2 L14 10 L22 12 L14 14 L12 22 L10 14 L2 12 L10 10 Z'/%3E%3C/svg%3E") center / contain no-repeat;
    opacity: 0.92;
    filter: drop-shadow(0 0 7px rgba(74, 143, 224, 0.6));
    transition: background 0.3s, opacity 0.3s, filter 0.3s, transform 0.3s;
}

.work-card__panel-head .work-card__star {
    position: relative;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
}

.work-card__panel-head .work-card__star::before {
    content: "";
    width: 24px;
    height: 24px;
    background: var(--accent-hover);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2 L14 10 L22 12 L14 14 L12 22 L10 14 L2 12 L10 10 Z'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2 L14 10 L22 12 L14 14 L12 22 L10 14 L2 12 L10 10 Z'/%3E%3C/svg%3E") center / contain no-repeat;
    opacity: 1;
    filter:
        drop-shadow(0 0 6px rgba(140, 190, 255, 0.95))
        drop-shadow(0 0 14px rgba(74, 143, 224, 0.85))
        drop-shadow(0 0 24px rgba(34, 100, 244, 0.55));
}

.work-card__panel-head .work-card__star::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(120, 180, 255, 0.38) 0%, rgba(74, 143, 224, 0.16) 42%, transparent 72%);
    pointer-events: none;
    z-index: -1;
}

.work-card:hover .work-card__trigger .work-card__star,
.work-card.is-hovered .work-card__trigger .work-card__star,
.work-card.is-expanded .work-card__trigger .work-card__star {
    transform: scale(1.06);
}

.work-card:hover .work-card__trigger .work-card__star::before,
.work-card.is-hovered .work-card__trigger .work-card__star::before,
.work-card.is-expanded .work-card__trigger .work-card__star::before {
    background: var(--accent-hover);
    opacity: 1;
    filter: drop-shadow(0 0 10px rgba(95, 160, 236, 0.85));
    transform: scale(1.08);
}

.work-card__trigger .work-card__title {
    min-width: 0;
    font-size: clamp(0.92rem, 1vw, 1rem);
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.01em;
    margin: 0;
    border: none;
    padding: 0;
    min-height: auto;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    color: rgba(255, 255, 255, 0.92);
}

.work-card__trigger::after {
    content: "";
    flex-shrink: 0;
    width: 8px;
    height: 8px;
    margin-left: auto;
    border-top: 2px solid rgba(74, 143, 224, 0.45);
    border-right: 2px solid rgba(74, 143, 224, 0.45);
    transform: rotate(45deg);
    transition: border-color 0.25s, transform 0.25s;
}

.work-card:hover .work-card__trigger::after,
.work-card.is-hovered .work-card__trigger::after,
.work-card.is-expanded .work-card__trigger::after {
    border-color: var(--accent-hover);
    transform: rotate(45deg) translate(2px, -2px);
}

/* Mobile inline panel */
.work-card__panel--inline {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 300ms var(--ease-smooth);
}

.work-card.is-expanded .work-card__panel--inline {
    grid-template-rows: 1fr;
}

.work-card__panel--inline > .work-card__panel-inner {
    overflow: hidden;
    min-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 300ms var(--ease-smooth), transform 300ms var(--ease-smooth);
}

.work-card.is-expanded .work-card__panel--inline > .work-card__panel-inner {
    padding-top: 4px;
    padding-bottom: 20px;
}

.work-card.is-expanded .work-card__panel--inline > .work-card__panel-inner {
    opacity: 1;
    transform: translateY(0);
}

/* Floating desktop panel */
.work-panel-float {
    position: fixed;
    z-index: 9000;
    top: 0;
    left: 0;
    width: min(480px, calc(100vw - 32px));
    min-width: min(420px, calc(100vw - 32px));
    max-height: min(650px, calc(100vh - 32px));
    border-radius: 20px;
    background: rgba(11, 18, 32, 0.96);
    border: 1px solid rgba(74, 143, 224, 0.4);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    box-shadow: var(--shadow-work-panel);
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    overflow: visible;
    transform: translateY(14px) scale(0.98);
    transition:
        opacity 220ms var(--ease-smooth),
        transform 220ms var(--ease-smooth),
        visibility 220ms,
        box-shadow 220ms var(--ease-smooth);
}

.work-panel-float.is-docked {
    position: relative;
    inset: auto;
    top: auto;
    left: auto;
    width: 100%;
    min-width: 0;
    max-height: none;
    height: 100%;
    transform: translateY(10px) scale(0.99);
}

.work-panel-float.is-docked.is-visible {
    transform: none;
}

.work-panel-float.is-docked::before {
    display: none;
}

.work-panel-float.is-visible::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: var(--hover-bridge, 28px);
    pointer-events: auto;
}

.work-panel-float[data-side="right"].is-visible::before {
    right: 100%;
    left: auto;
}

.work-panel-float[data-side="left"].is-visible::before {
    left: 100%;
    right: auto;
}

.work-panel-float.is-visible {
    pointer-events: auto;
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    box-shadow: var(--shadow-work-panel-active);
}

.work-card__panel-inner {
    padding: 16px;
}

.work-panel-float .work-card__panel-inner {
    padding: 24px 26px 26px;
    max-height: min(650px, calc(100vh - 32px));
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: rgba(74, 143, 224, 0.35) transparent;
}

.work-panel-float.is-docked .work-card__panel-inner {
    flex: 1;
    min-height: 0;
    max-height: none;
    height: auto;
    padding: 22px 24px 20px;
}

.work-panel-float.is-docked .work-card__media-btn {
    aspect-ratio: 16 / 10;
    min-height: 240px;
    max-height: min(380px, 46vh);
    margin-bottom: 24px;
}

.work-panel-float .work-card__panel-inner::-webkit-scrollbar {
    width: 6px;
}

.work-panel-float .work-card__panel-inner::-webkit-scrollbar-thumb {
    background: rgba(74, 143, 224, 0.35);
    border-radius: 99px;
}

.work-panel-float .work-card__panel-head,
.work-panel-float .work-card__media-btn,
.work-panel-float .work-card__desc,
.work-panel-float .work-card__list,
.work-panel-float .work-card__meta,
.work-panel-float .work-card__btn {
    opacity: 0;
    transform: translateY(12px);
    transition:
        opacity 500ms var(--ease-smooth),
        transform 500ms var(--ease-smooth);
}

.work-panel-float.is-content-visible .work-card__panel-head {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0ms;
}

.work-panel-float.is-content-visible .work-card__media-btn {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 100ms;
}

.work-panel-float.is-content-visible .work-card__desc {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 180ms;
}

.work-panel-float.is-content-visible .work-card__list {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 240ms;
}

.work-panel-float.is-content-visible .work-card__meta {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 300ms;
}

.work-panel-float.is-content-visible .work-card__btn {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 360ms;
}

.work-panel-float .work-card__panel-head {
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
    padding-bottom: 18px;
    position: relative;
    border-bottom: none;
}

.work-panel-float .work-card__panel-head::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: var(--divider-fade-h);
    pointer-events: none;
}

.work-panel-float .work-card__panel-head .work-card__star {
    width: 40px;
    height: 40px;
}

.work-panel-float .work-card__panel-head .work-card__star::before {
    width: 26px;
    height: 26px;
}

.work-panel-float .work-card__panel-head .work-card__star::after {
    width: 46px;
    height: 46px;
}

.work-panel-float .work-card__panel-title {
    font-size: clamp(1.5rem, 2.4vw, 1.75rem);
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.work-panel-float .work-card__media-btn {
    aspect-ratio: 16 / 9;
    min-height: 210px;
    max-height: min(280px, 45vh);
    margin-bottom: 22px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.work-panel-float .work-card__media-btn img {
    opacity: 0;
    transform: scale(1.08);
    object-fit: contain;
    background: rgba(255, 255, 255, 0.03);
    transition:
        opacity 600ms var(--ease-smooth),
        transform 700ms var(--ease-smooth);
}

.work-panel-float.is-content-visible .work-card__media-btn img {
    opacity: 1;
    transform: scale(1);
    transition-delay: 180ms;
}

.work-card__media-btn {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    border: none;
    border-radius: 14px;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    margin-bottom: 14px;
    background: rgba(0, 0, 0, 0.3);
    cursor: zoom-in;
    font: inherit;
    color: inherit;
    text-align: left;
}

.work-card__media-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1);
    transition: transform 400ms var(--ease-smooth);
}

.work-card__media-zoom {
    position: absolute;
    right: 10px;
    bottom: 10px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    opacity: 0;
    transform: translateY(4px);
    transition:
        opacity 280ms var(--ease-smooth),
        transform 280ms var(--ease-smooth);
    pointer-events: none;
}

.work-card__media-zoom svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
}

.work-card__media-btn:hover .work-card__media-zoom,
.work-card__media-btn:focus-visible .work-card__media-zoom {
    opacity: 1;
    transform: translateY(0);
}

.work-card__media-btn:hover img,
.work-card__media-btn:focus-visible img {
    transform: scale(1.04);
}

.work-card__media-btn:focus-visible {
    outline: 2px solid rgba(74, 143, 224, 0.85);
    outline-offset: 2px;
}

.work-card.is-hovered .work-card__media-btn img,
.work-card.is-expanded .work-card__media-btn img {
    transform: scale(1.08);
}

.work-card__panel-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.work-card__panel-title {
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.35;
    margin: 0;
}

.work-card__desc {
    font-size: 0.82rem;
    color: var(--muted);
    line-height: 1.55;
    margin-bottom: 12px;
}

.work-panel-float .work-card__desc {
    font-size: 1.0625rem;
    line-height: 1.65;
    color: rgba(217, 226, 236, 0.82);
    margin-bottom: 20px;
}

.work-card__list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 14px;
}

.work-card__list li {
    position: relative;
    padding-left: 16px;
    font-size: 0.8rem;
    color: var(--text);
    line-height: 1.4;
}

.work-panel-float .work-card__list {
    gap: 10px;
    margin-bottom: 22px;
    padding-bottom: 22px;
    position: relative;
    border-bottom: none;
}

.work-panel-float .work-card__list::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: var(--divider-fade-h);
    pointer-events: none;
}

.work-panel-float .work-card__list li {
    padding-left: 22px;
    font-size: 0.9375rem;
    line-height: 1.55;
}

.work-panel-float .work-card__list li::before {
    width: 6px;
    height: 6px;
    top: 0.62em;
}

.work-card__list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--accent);
}

.work-card__meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 14px;
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(74, 143, 224, 0.08);
    border: 1px solid rgba(74, 143, 224, 0.15);
}

.work-card__meta span {
    font-size: 0.78rem;
    color: var(--steel-light);
}

.work-card__meta strong {
    color: var(--accent-hover);
    font-weight: 600;
}

.work-panel-float .work-card__meta {
    gap: 10px;
    margin-bottom: 16px;
    padding: 14px 16px;
    border-radius: 12px;
}

.work-panel-float .work-card__meta span {
    font-size: 0.9375rem;
    line-height: 1.55;
}

.work-card__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 11px 20px;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-btn);
}

.work-panel-float .work-card__btn {
    padding: 13px 22px;
    font-size: 1rem;
    margin-top: 0;
}

/* ===== Rich section panel (wc-*) ===== */
.wc-crumb {
    margin: 0 0 14px;
    font-size: 0.8rem;
    line-height: 1.45;
    color: var(--muted);
}

.wc-panel-tabs {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 22px;
    padding: 5px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.wc-panel-tabs__btn {
    padding: 10px 20px;
    border: 1px solid transparent;
    border-radius: 10px;
    background: transparent;
    color: var(--muted);
    font: inherit;
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    cursor: pointer;
    transition: color 0.2s, background 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.wc-panel-tabs__btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.wc-panel-tabs__btn.is-active {
    color: #fff;
    border-color: rgba(74, 143, 224, 0.45);
    background: linear-gradient(160deg, rgba(74, 143, 224, 0.28), rgba(74, 143, 224, 0.08));
    box-shadow: 0 8px 22px -12px rgba(34, 100, 244, 0.55);
}

.wc-panel-panes {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.wc-panel-pane[hidden] {
    display: none !important;
}

.wc-overview-hero {
    margin-bottom: 18px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    aspect-ratio: 16 / 7;
    max-height: 220px;
}

.wc-overview-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.wc-steps {
    list-style: none;
    margin: 0 0 8px;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.wc-step {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 14px;
    padding: 0 0 20px;
}

.wc-step--last {
    padding-bottom: 0;
}

.wc-step__track {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100%;
}

.wc-step__dot {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--accent-hover);
    background: rgba(74, 143, 224, 0.14);
    border: 1px solid rgba(74, 143, 224, 0.35);
}

.wc-step__line {
    flex: 1;
    width: 2px;
    min-height: 12px;
    margin-top: 6px;
    border-radius: 2px;
    background: linear-gradient(180deg, rgba(74, 143, 224, 0.45), rgba(74, 143, 224, 0.08));
}

.wc-step__body {
    padding-top: 2px;
    min-width: 0;
}

.wc-step__head {
    min-width: 0;
}

.wc-step__title {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}

.wc-step__desc {
    font-size: 0.84rem;
    line-height: 1.45;
    color: var(--muted);
}

.wc-step__view {
    flex-shrink: 0;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 8px 10px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    color: var(--muted);
    font: inherit;
    font-size: 0.72rem;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.wc-step__view svg {
    width: 18px;
    height: 18px;
}

.wc-step__view:hover {
    color: #fff;
    border-color: rgba(74, 143, 224, 0.4);
    background: rgba(74, 143, 224, 0.12);
}

.wc-head__text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.wc-head__eyebrow {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent-hover);
}

.wc-head__badge {
    flex-shrink: 0;
    align-self: flex-start;
    padding: 6px 13px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--accent-hover);
    background: rgba(74, 143, 224, 0.12);
    border: 1px solid rgba(74, 143, 224, 0.3);
    white-space: nowrap;
}

.wc-head__icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    color: var(--accent-hover);
    background: rgba(74, 143, 224, 0.14);
    border: 1px solid rgba(74, 143, 224, 0.3);
}

.wc-head__icon svg {
    width: 24px;
    height: 24px;
}

/* Active (selected) section card — desktop click state */
.work-card.is-active {
    border-color: transparent;
    transform: none;
    background:
        linear-gradient(120deg, var(--accent) 0%, var(--accent-deep) 100%);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.12) inset,
        0 18px 44px -20px rgba(34, 100, 244, 0.6),
        var(--shadow-soft);
}

.work-card.is-active:hover {
    transform: none;
}

.work-card.is-active::before {
    transform: scaleY(0);
}

.work-card.is-active .work-card__icon {
    color: #fff;
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.36);
}

.work-card.is-active .work-card__title {
    color: #fff;
}

.work-card.is-active .work-card__subtitle {
    color: rgba(255, 255, 255, 0.82);
}

.work-card.is-active .work-card__trigger::after {
    border-color: #fff;
}

/* Hint line under the section heading */
/* Хлебные крошки в шапке подстраниц */
.page-crumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    font-size: 0.85rem;
    color: var(--muted);
}

.page-crumbs a {
    color: var(--muted);
    text-decoration: none;
    transition: color 0.25s var(--ease-smooth);
}

.page-crumbs a:hover {
    color: var(--accent-hover);
}

.page-crumbs__sep {
    color: rgba(255, 255, 255, 0.28);
}

.page-crumbs__current {
    color: #fff;
    font-weight: 600;
}

/* Баннер согласия на cookie */
.cookie-consent {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 1200;
    max-width: 780px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(24, 30, 40, 0.96);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: translateY(24px);
    opacity: 0;
    transition: transform 0.4s var(--ease-smooth), opacity 0.4s var(--ease-smooth);
}

.cookie-consent.is-visible {
    transform: translateY(0);
    opacity: 1;
}

.cookie-consent__text {
    flex: 1 1 320px;
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.5;
    color: var(--muted);
}

.cookie-consent__text a {
    color: var(--accent-hover);
}

.cookie-consent__actions {
    flex: 0 0 auto;
}

@media (max-width: 560px) {
    .cookie-consent {
        flex-direction: column;
        align-items: stretch;
        left: 12px;
        right: 12px;
        bottom: 12px;
    }
    .cookie-consent__actions .btn {
        width: 100%;
    }
}

/* CTA-карточка «Поможем с выбором» в конце списка работ */
.work-help-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 4px;
    padding: 20px;
    border-radius: 14px;
    border: 1px dashed rgba(74, 143, 224, 0.4);
    background: linear-gradient(160deg, rgba(74, 143, 224, 0.12), rgba(255, 255, 255, 0.02));
}

.work-help-card__icon {
    display: inline-flex;
    color: var(--accent-hover);
}

.work-help-card__icon svg { width: 26px; height: 26px; }

.work-help-card__title {
    display: block;
    font-size: 1.02rem;
    margin-bottom: 6px;
    color: #fff;
}

.work-help-card__text {
    font-size: 0.88rem;
    line-height: 1.5;
    color: var(--muted);
}

.work-help-card__btn {
    align-self: flex-start;
}

.work-cards-hint {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: -6px 0 20px;
    font-size: 0.88rem;
    line-height: 1.4;
    color: var(--muted);
}

.work-cards-hint__icon {
    flex-shrink: 0;
    display: inline-flex;
    color: var(--accent-hover);
}

.work-cards-hint__icon svg {
    width: 19px;
    height: 19px;
}

.work-cards-hint__desktop { display: inline; }
.work-cards-hint__mobile { display: none; }

.work-panel-placeholder__lead--mobile { display: none; }
.work-panel-placeholder__lead--desktop { display: block; }

/* Placeholder panel in the right dock column (desktop) */
.work-panel-placeholder {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
    background: rgba(11, 18, 32, 0.96);
    border: 1px solid rgba(74, 143, 224, 0.28);
    box-shadow: var(--shadow-work-panel);
}

.work-panel-placeholder__media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.work-panel-placeholder__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: saturate(0.72) brightness(0.58) contrast(1.05);
    transform: scale(1.03);
}

.work-panel-placeholder__media-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(11, 18, 32, 0.05) 0%, rgba(11, 18, 32, 0.55) 68%, rgba(11, 18, 32, 0.92) 100%),
        radial-gradient(ellipse 80% 60% at 50% 0%, rgba(74, 143, 224, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.work-panel-placeholder__body {
    padding: 22px 24px 26px;
}

.work-panel-placeholder__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 10px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent-hover);
}

.work-panel-placeholder__eyebrow::before {
    content: "";
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--accent), transparent);
}

.work-panel-placeholder__title {
    margin: 0 0 10px;
    font-size: clamp(1.35rem, 2vw, 1.6rem);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
    color: #fff;
}

.work-panel-placeholder__lead {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.55;
    color: var(--muted);
}

.work-panel-placeholder__facts {
    list-style: none;
    margin: 20px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.work-panel-placeholder__fact {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 13px;
    font-size: 0.88rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.88);
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.07);
}

.work-panel-placeholder__fact-icon {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    color: var(--accent-hover);
    background: linear-gradient(160deg, rgba(74, 143, 224, 0.18), rgba(34, 100, 244, 0.06));
    border: 1px solid rgba(74, 143, 224, 0.22);
}

.work-panel-placeholder__fact-icon svg {
    width: 18px;
    height: 18px;
}

@media (max-width: 900px) {
    .work-cards-stage {
        display: flex;
        flex-direction: column;
        gap: 14px;
    }

    .work-panel-dock {
        display: block;
        order: -1;
        min-height: 0 !important;
        height: auto !important;
    }

    .work-panel-dock .work-panel-float {
        display: none !important;
    }

    .work-panel-placeholder {
        height: auto;
        min-height: 0;
        border-radius: 18px;
        box-shadow:
            0 1px 0 rgba(255, 255, 255, 0.05) inset,
            0 10px 28px rgba(0, 0, 0, 0.42);
    }

    .work-panel-placeholder__media {
        aspect-ratio: 16 / 9;
        max-height: 220px;
    }

    .work-panel-placeholder__body {
        padding: 18px 18px 20px;
    }

    .work-panel-placeholder__title {
        font-size: 1.28rem;
    }

    .work-panel-placeholder__facts {
        margin-top: 16px;
        gap: 8px;
    }

    .work-panel-placeholder__fact {
        padding: 11px 12px;
        font-size: 0.86rem;
    }

    .work-panel-placeholder__lead--desktop { display: none; }
    .work-panel-placeholder__lead--mobile { display: block; }

    .work-cards-stage--has-expanded .work-panel-dock {
        display: none;
    }

    .work-cards-hint__desktop { display: none; }
    .work-cards-hint__mobile { display: inline; }

    .work-help-card {
        margin-top: 8px;
        padding: 18px 16px;
        border-radius: 16px;
    }

    .work-help-card__btn {
        align-self: stretch;
        width: 100%;
        min-height: 46px;
    }

    .work-card__panel--inline.is-content-visible .work-card__panel-head,
    .work-card__panel--inline.is-content-visible .work-card__media-btn,
    .work-card__panel--inline.is-content-visible .work-card__desc,
    .work-card__panel--inline.is-content-visible .work-card__list,
    .work-card__panel--inline.is-content-visible .work-card__meta,
    .work-card__panel--inline.is-content-visible .work-card__btn,
    .work-card__panel--inline.is-content-visible .wc-crumb,
    .work-card__panel--inline.is-content-visible .wc-panel-tabs,
    .work-card__panel--inline.is-content-visible .wc-stats,
    .work-card__panel--inline.is-content-visible .wc-block,
    .work-card__panel--inline.is-content-visible .wc-guarantee {
        opacity: 1;
        transform: translateY(0);
    }

    .work-card__panel--inline .work-card__panel-head,
    .work-card__panel--inline .work-card__media-btn,
    .work-card__panel--inline .work-card__desc,
    .work-card__panel--inline .work-card__list,
    .work-card__panel--inline .work-card__meta,
    .work-card__panel--inline .work-card__btn,
    .work-card__panel--inline .wc-crumb,
    .work-card__panel--inline .wc-panel-tabs,
    .work-card__panel--inline .wc-stats,
    .work-card__panel--inline .wc-block,
    .work-card__panel--inline .wc-guarantee {
        opacity: 0;
        transform: translateY(10px);
        transition:
            opacity 420ms var(--ease-smooth),
            transform 420ms var(--ease-smooth);
    }
}

.wc-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(112px, 1fr));
    gap: 10px;
    margin-bottom: 24px;
}

.wc-stat {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 13px 14px;
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.07);
}

.wc-stat__icon {
    display: inline-flex;
    color: var(--accent-hover);
    margin-bottom: 2px;
}

.wc-stat__icon svg {
    width: 20px;
    height: 20px;
}

.wc-stat__value {
    font-size: 1.02rem;
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
}

.wc-stat__label {
    font-size: 0.76rem;
    line-height: 1.35;
    color: var(--muted);
}

.wc-block {
    margin-bottom: 24px;
}

.wc-block__title {
    font-size: 1.08rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin: 0 0 14px;
    color: #fff;
}

.wc-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 10px;
}

.wc-item {
    display: flex;
    align-items: center;
    gap: 13px;
    width: 100%;
    padding: 12px 14px;
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.07);
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition:
        border-color 0.25s var(--ease-smooth),
        background 0.25s var(--ease-smooth),
        transform 0.25s var(--ease-smooth);
}

.wc-item:hover,
.wc-item:focus-visible {
    border-color: rgba(37, 99, 176, 0.35);
    background: rgba(74, 143, 224, 0.1);
    transform: translateY(-1px);
    outline: none;
}

.wc-item__num {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 34px;
    padding: 0 8px;
    border-radius: 9px;
    font-size: 0.74rem;
    font-weight: 700;
    color: var(--accent-hover);
    background: rgba(74, 143, 224, 0.12);
    border: 1px solid rgba(74, 143, 224, 0.28);
}

.wc-item__body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    flex: 1;
}

.wc-item__body strong {
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.3;
    color: rgba(255, 255, 255, 0.94);
}

.wc-item__body span {
    font-size: 0.78rem;
    line-height: 1.35;
    color: var(--muted);
}

.wc-item__go {
    flex-shrink: 0;
    width: 7px;
    height: 7px;
    border-top: 2px solid rgba(74, 143, 224, 0.5);
    border-right: 2px solid rgba(74, 143, 224, 0.5);
    transform: rotate(45deg);
    transition: border-color 0.25s, transform 0.25s;
}

.wc-item:hover .wc-item__go,
.wc-item:focus-visible .wc-item__go {
    border-color: var(--accent-hover);
    transform: rotate(45deg) translate(2px, -2px);
}

.wc-doc {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    gap: 16px;
    align-items: stretch;
}

.wc-doc .work-card__media-btn {
    aspect-ratio: 4 / 3;
    min-height: 0;
    max-height: none;
    margin-bottom: 0;
    height: 100%;
}

.wc-doc__side {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.wc-doc__side-title {
    font-size: 0.86rem;
    font-weight: 700;
    color: #fff;
}

.wc-doc .work-card__list.wc-check {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
    gap: 8px;
}

.work-card__list.wc-check li {
    padding-left: 26px;
}

.work-card__list.wc-check li::before {
    content: "";
    left: 0;
    top: 0.28em;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    background:
        rgba(74, 143, 224, 0.16)
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237fb2ec' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4 4 10-10'/%3E%3C/svg%3E") center / 11px no-repeat;
}

.wc-guarantee {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px;
    border-radius: 14px;
    margin-bottom: 20px;
    background: linear-gradient(120deg, rgba(74, 143, 224, 0.13), rgba(74, 143, 224, 0.04));
    border: 1px solid rgba(74, 143, 224, 0.22);
}

.wc-guarantee__icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 11px;
    color: var(--accent-hover);
    background: rgba(74, 143, 224, 0.15);
    border: 1px solid rgba(74, 143, 224, 0.28);
}

.wc-guarantee__icon svg {
    width: 22px;
    height: 22px;
}

.wc-guarantee__text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.wc-guarantee__text strong {
    font-size: 0.94rem;
    font-weight: 700;
    color: #fff;
}

.wc-guarantee__text span {
    font-size: 0.82rem;
    line-height: 1.5;
    color: var(--muted);
}

/* Staggered reveal for new blocks (desktop float/dock) */
.work-panel-float .wc-crumb,
.work-panel-float .wc-panel-tabs,
.work-panel-float .wc-stats,
.work-panel-float .wc-block,
.work-panel-float .wc-guarantee {
    opacity: 0;
    transform: translateY(12px);
    transition:
        opacity 500ms var(--ease-smooth),
        transform 500ms var(--ease-smooth);
}

.work-panel-float.is-content-visible .wc-crumb {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 120ms;
}

.work-panel-float.is-content-visible .wc-panel-tabs {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 180ms;
}

.work-panel-float.is-content-visible .wc-stats {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 220ms;
}

.work-panel-float.is-content-visible .wc-block {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 300ms;
}

.work-panel-float.is-content-visible .wc-guarantee {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 400ms;
}

@media (max-width: 900px) {
    .wc-doc {
        grid-template-columns: 1fr;
    }

    .wc-doc .work-card__media-btn {
        aspect-ratio: 16 / 9;
    }

    .wc-head__badge {
        display: none;
    }
}

/* Lightbox для увеличения изображений в карточках */
.work-lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(16px, 4vw, 32px);
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition:
        opacity 350ms var(--ease-smooth),
        visibility 350ms;
}

.work-lightbox.is-open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.work-lightbox__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(4, 8, 18, 0.92);
    backdrop-filter: blur(14px);
}

.work-lightbox__close {
    position: absolute;
    top: clamp(12px, 3vw, 20px);
    right: clamp(12px, 3vw, 20px);
    z-index: 2;
    width: 44px;
    height: 44px;
    padding: 0;
    border: none;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 200ms var(--ease-smooth);
}

.work-lightbox__close:hover {
    background: rgba(255, 255, 255, 0.18);
}

.work-lightbox__close:focus-visible {
    outline: 2px solid rgba(74, 143, 224, 0.85);
    outline-offset: 2px;
}

.work-lightbox__close svg {
    width: 22px;
    height: 22px;
}

.work-lightbox__figure {
    position: relative;
    z-index: 1;
    margin: 0;
    max-width: min(1280px, 96vw);
    max-height: 92vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    transform: scale(0.95);
    transition: transform 420ms var(--ease-smooth);
}

.work-lightbox.is-open .work-lightbox__figure {
    transform: scale(1);
}

.work-lightbox__img {
    max-width: 100%;
    max-height: calc(92vh - 56px);
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.55);
    background: rgba(255, 255, 255, 0.02);
}

.work-lightbox__caption {
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.95rem;
    line-height: 1.45;
    text-align: center;
    max-width: 52ch;
}

body.work-lightbox-open {
    overflow: hidden;
}

@media (max-width: 900px) {
    .work-card.is-expanded .work-card__panel-inner {
        padding: 20px 18px 22px;
    }

    .work-card.is-expanded .work-card__panel-title {
        font-size: 1.35rem;
    }

    .work-card.is-expanded .work-card__media-btn {
        aspect-ratio: 16 / 9;
        min-height: 180px;
        margin-bottom: 18px;
    }

    .work-card.is-expanded .work-card__desc {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 16px;
    }

    .work-card.is-expanded .work-card__list li {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .work-card.is-expanded .work-card__meta span {
        font-size: 0.9rem;
    }

    .work-card.is-expanded .work-card__btn {
        padding: 14px 20px;
        font-size: 0.95rem;
    }
}

@media (min-width: 901px) {
    .work-card__panel--inline { display: none; }
}

@media (max-width: 900px) {
    .work-panel-float { display: none !important; }
    .work-cards { gap: 10px; }
    .work-card__trigger {
        align-items: flex-start;
        min-height: 56px;
        padding: 16px 18px;
        gap: 14px;
    }
    .work-card__icon {
        width: 42px;
        height: 42px;
        border-radius: 12px;
    }
    .work-card__subtitle {
        display: block;
        overflow: visible;
        -webkit-line-clamp: unset;
        line-clamp: unset;
        white-space: normal;
    }
    .work-card__trigger .work-card__title {
        display: block;
        overflow: visible;
        -webkit-line-clamp: unset;
        line-clamp: unset;
    }
    .work-card:hover,
    .work-card.is-hovered {
        transform: translateX(4px);
    }
    .work-card.is-expanded {
        border-color: rgba(74, 143, 224, 0.45);
        box-shadow:
            0 1px 0 rgba(255, 255, 255, 0.06) inset,
            0 0 0 1px rgba(74, 143, 224, 0.18),
            0 14px 34px rgba(0, 0, 0, 0.38);
        background: linear-gradient(165deg, rgba(28, 36, 50, 0.92), rgba(14, 18, 26, 0.96));
    }
    .work-card.is-expanded .work-card__trigger::after {
        transform: rotate(90deg);
        color: var(--accent-hover);
    }
    .page-inner .work-cards-stage {
        padding: 14px;
        border-radius: 18px;
    }
    .work-cards-hint {
        align-items: flex-start;
        margin: 0 0 14px;
        font-size: 0.9rem;
        line-height: 1.5;
    }
    .page-hero--inner {
        padding: calc(var(--header-h) + 20px) clamp(16px, 4vw, 24px) clamp(22px, 3vw, 28px);
    }
    .page-hero__content h1 {
        font-size: clamp(1.55rem, 6.5vw, 2rem);
    }
}

/* Supervision */
.supervision-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }

.supervision-card {
    padding: 28px;
    border-radius: var(--radius-card);
    border-left: 3px solid var(--accent);
    box-shadow: var(--shadow-volume);
    transition: transform 0.35s var(--ease-smooth), box-shadow 0.35s;
}

.supervision-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-volume-hover);
}

.supervision-card__num {
    display: block;
    font-size: 1.7rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 14px;
    background: linear-gradient(120deg, var(--steel-light), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.supervision-card p { font-size: 0.95rem; color: var(--muted); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }

.contact-card {
    border-radius: var(--radius-card);
    padding: 36px;
    transition:
        transform 0.35s var(--ease-smooth),
        border-color 0.35s var(--ease-smooth),
        box-shadow 0.35s var(--ease-smooth),
        background 0.35s var(--ease-smooth);
}

.contact-card:hover {
    transform: translateY(-6px);
    border-color: rgba(74, 143, 224, 0.42);
    background:
        linear-gradient(180deg, rgba(74, 143, 224, 0.08) 0%, transparent 55%),
        var(--surface);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.07) inset,
        0 20px 48px -24px rgba(34, 100, 244, 0.35),
        var(--shadow-deep);
}

.contact-card h3 { font-size: 1.1rem; font-weight: 800; margin-bottom: 6px; }

.contact-card .org-name {
    font-size: 0.88rem;
    color: var(--steel-light);
    font-weight: 600;
    margin-bottom: 20px;
}

.contact-detail { display: flex; flex-direction: column; gap: 16px; font-size: 0.92rem; color: var(--text); }
.contact-detail > div { display: flex; flex-direction: column; gap: 4px; }
.contact-detail a { color: var(--accent-hover); text-decoration: none; transition: color 0.2s; width: fit-content; }
.contact-detail a:hover { color: #fff; }

.contact-detail strong {
    display: block;
    color: var(--muted-soft);
    font-weight: 600;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* строка ОГРН · ИНН — две пары в ряд */
.contact-detail .reg-row {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px 22px;
}
.contact-detail .reg-row span { display: inline-flex; flex-direction: column; gap: 4px; }

/* CTA */
.cta-section {
    text-align: center;
    padding: clamp(48px, 8vw, 96px) clamp(20px, 5vw, 40px);
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg,
        transparent 0%,
        rgba(27, 33, 42, 0.5) 12%,
        rgba(27, 33, 42, 0.5) 88%,
        transparent 100%);
}

.cta-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(74, 143, 224, 0.14), transparent 70%);
    pointer-events: none;
}

.cta-section h2 { margin-bottom: 16px; }
.cta-section p { color: var(--muted); margin-bottom: 32px; font-size: 1.05rem; }

/* Footer */
.footer {
    position: relative;
    border-top: none;
    padding: 44px clamp(20px, 5vw, 40px);
    background: linear-gradient(180deg, var(--bg-0), #161d27);
}

.footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--divider-fade-h);
    pointer-events: none;
}

.footer__inner {
    max-width: var(--max-w);
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 24px 32px;
    justify-content: space-between;
}

.footer__start {
    flex: 1 1 260px;
    max-width: 360px;
}

.footer__brand { font-weight: 800; font-size: 0.95rem; display: block; }

.footer__desc {
    margin: 8px 0 14px;
    font-size: 0.86rem;
    line-height: 1.55;
    color: var(--muted);
}

.footer__contacts {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.86rem;
    color: var(--muted);
}

.footer__contacts a {
    color: var(--accent-hover);
    text-decoration: none;
    transition: color 0.2s;
}

.footer__contacts a:hover { color: #fff; }

.footer__links { list-style: none; display: flex; gap: 20px; flex-wrap: wrap; flex: 1 1 280px; justify-content: flex-end; }

.footer__links a {
    text-decoration: none;
    font-size: 0.85rem;
    color: var(--muted);
    transition: color 0.2s;
}

.footer__links a:hover { color: var(--text); }

.footer__copy {
    width: 100%;
    text-align: center;
    font-size: 0.8rem;
    color: var(--muted-soft);
    margin-top: 8px;
}

.footer__copy a {
    color: var(--muted);
    text-decoration: none;
    transition: color 0.2s;
}

.footer__copy a:hover { color: var(--text); }

/* Contact extras */
.contact-extras {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
    margin-top: 32px;
}

.contact-extra {
    padding: 24px;
    border-radius: var(--radius-card);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
}

.contact-extra h3 {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 10px;
    color: #fff;
}

.contact-extra p,
.contact-extra li {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--muted);
}

.contact-extra ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-extra a {
    color: var(--accent-hover);
    text-decoration: none;
}

.contact-extra a:hover { color: #fff; }

/* Privacy page */
.privacy-content {
    max-width: 780px;
    margin: 0 auto;
}

.privacy-content h2 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 32px 0 12px;
    color: #fff;
}

.privacy-content p,
.privacy-content li {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--muted);
}

.privacy-content ul {
    margin: 0 0 16px;
    padding-left: 20px;
}

.form-consent a {
    color: var(--accent-hover);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.form-consent a:hover { color: #fff; }

/* Reveal animation — плавный «выход из глубины» */
.reveal {
    opacity: 0;
    transform: translateY(36px) scale(0.985);
    transition: opacity 0.8s var(--ease-smooth), transform 0.8s var(--ease-smooth);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* work-cards: transform на .reveal ломает sticky-панель справа */
.reveal:has(.work-cards-stage) {
    transform: none;
    transition: opacity 0.8s var(--ease-smooth);
}

.reveal:has(.work-cards-stage).is-visible {
    transform: none;
}

/* Каскадное появление карточек внутри секции */
.reveal .innovation-card,
.reveal .bento-card,
.reveal .supervision-card,
.reveal .service-item,
.reveal .work-card,
.reveal .stat,
.reveal .contact-card {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.65s var(--ease-smooth), transform 0.65s var(--ease-smooth);
}
.reveal.is-visible .innovation-card,
.reveal.is-visible .bento-card,
.reveal.is-visible .supervision-card,
.reveal.is-visible .service-item,
.reveal.is-visible .work-card,
.reveal.is-visible .stat,
.reveal.is-visible .contact-card {
    opacity: 1;
    transform: translateY(0);
}
.reveal.is-visible :is(.innovation-card, .bento-card, .supervision-card, .service-item, .work-card, .stat, .contact-card):nth-child(1) { transition-delay: 0.05s; }
.reveal.is-visible :is(.innovation-card, .bento-card, .supervision-card, .service-item, .work-card, .stat, .contact-card):nth-child(2) { transition-delay: 0.11s; }
.reveal.is-visible :is(.innovation-card, .bento-card, .supervision-card, .service-item, .work-card, .stat, .contact-card):nth-child(3) { transition-delay: 0.17s; }
.reveal.is-visible :is(.innovation-card, .bento-card, .supervision-card, .service-item, .work-card, .stat, .contact-card):nth-child(4) { transition-delay: 0.23s; }
.reveal.is-visible :is(.innovation-card, .bento-card, .supervision-card, .service-item, .work-card, .stat, .contact-card):nth-child(5) { transition-delay: 0.29s; }
.reveal.is-visible :is(.innovation-card, .bento-card, .supervision-card, .service-item, .work-card, .stat, .contact-card):nth-child(6) { transition-delay: 0.35s; }
.reveal.is-visible :is(.innovation-card, .bento-card, .supervision-card, .service-item, .work-card, .stat, .contact-card):nth-child(7) { transition-delay: 0.41s; }
.reveal.is-visible :is(.innovation-card, .bento-card, .supervision-card, .service-item, .work-card, .stat, .contact-card):nth-child(8) { transition-delay: 0.47s; }

@media (prefers-reduced-motion: reduce) {
    .reveal, .reveal * { transition: none !important; transform: none !important; opacity: 1 !important; }
    .work-card:hover, .work-card.is-expanded, .work-card.is-hovered { transform: none !important; }
    .work-panel-float { transition: none !important; }
    .innovation-grid .innovation-card::after,
    .innovation-grid .innovation-card::before { animation: none !important; }
    .section-eyebrow::before { animation: none !important; }
}

.scroll-progress {
    position: fixed;
    top: 0; left: 0;
    height: 2px;
    width: 0%;
    background: linear-gradient(90deg, var(--accent-deep), var(--steel-light));
    z-index: 10001;
    transition: width 0.1s linear;
}

/* ===== Mobile ===== */
@media (max-width: 900px) {
    .bim-layout,
    .service-groups,
    .split-section {
        grid-template-columns: 1fr;
    }

    .split-section--reverse .split-section__media { order: 0; }
}

@media (max-width: 860px) {
    .navbar {
        display: flex;
        column-gap: 0;
        gap: 12px;
    }

    .logo {
        grid-column: auto;
        justify-self: auto;
        margin-right: auto;
    }

    .nav-links {
        grid-column: auto;
        justify-self: auto;
    }

    .nav-toggle { display: flex; order: 3; }
    .nav-cta { display: none; }

    .nav-links {
        position: fixed;
        top: var(--header-h);
        left: 0; right: 0;
        background: rgba(32, 40, 52, 0.94);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: stretch;
        padding: 16px 20px 24px;
        gap: 2px;
        transform: translateY(-120%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.4s var(--ease-smooth), opacity 0.35s;
        border-bottom: none;
    }

    .nav-links::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        height: 1px;
        background: var(--divider-fade-h);
        pointer-events: none;
    }

    .nav-links.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }

    .nav-link {
        display: block;
        padding: 14px 16px;
        border-radius: 12px;
        font-size: 1rem;
    }

    .nav-link::after { display: none; }
    .nav-link:hover, .nav-link.is-active { background: rgba(255, 255, 255, 0.06); }

    /* Dropdown «Услуги» на мобильных — раскрывается по стрелке */
    .nav-item--drop {
        display: block;
        flex-direction: column;
        align-items: stretch;
    }

    .nav-drop-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0;
    }

    .nav-drop-head .nav-link { flex: 1; }

    .nav-drop-toggle {
        width: 44px;
        height: 44px;
        color: #d5deea;
        flex-shrink: 0;
    }

    .nav-drop-caret { width: 16px; height: 16px; }

    .nav-drop {
        position: static;
        transform: none;
        min-width: 0;
        width: 100%;
        margin: 0;
        padding: 2px 0 6px 12px;
        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        border: none;
        border-left: 2px solid rgba(74, 143, 224, 0.3);
        border-radius: 0;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        display: none;
    }

    .nav-drop::before { display: none; }

    .nav-item--drop.is-open .nav-drop {
        display: block;
        transform: none;
    }

    .nav-drop__link {
        padding: 12px 14px;
        font-size: 0.95rem;
    }
}

/* ===== Application form page ===== */
body.page-zayavka {
    background:
        radial-gradient(ellipse 70% 50% at 20% 0%, rgba(46, 64, 92, 0.58) 0%, transparent 55%),
        radial-gradient(ellipse 60% 55% at 85% 25%, rgba(34, 48, 70, 0.52) 0%, transparent 55%),
        radial-gradient(ellipse 80% 60% at 50% 100%, rgba(40, 52, 72, 0.48) 0%, transparent 60%),
        linear-gradient(180deg, var(--bg-1) 0%, var(--bg-0) 50%, var(--bg-1) 100%);
    background-attachment: fixed;
}

body.page-zayavka::after {
    opacity: 0.03;
}

.application-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
    background: var(--bg-0);
}

.application-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 45% 40% at 28% 52%, rgba(74, 143, 224, 0.14) 0%, transparent 68%),
        radial-gradient(ellipse 45% 40% at 72% 52%, rgba(74, 143, 224, 0.14) 0%, transparent 68%),
        radial-gradient(ellipse 22% 18% at 50% 48%, rgba(120, 180, 255, 0.22) 0%, transparent 72%),
        linear-gradient(135deg, rgba(34, 100, 244, 0.08) 0%, rgba(13, 16, 20, 0.42) 100%);
    mix-blend-mode: soft-light;
    pointer-events: none;
}

.application-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    opacity: 0.6;
    filter: saturate(0.75) brightness(0.74) contrast(1.05) hue-rotate(8deg);
}

.application-bg-overlay {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(13, 16, 20, 0.62) 0%, rgba(17, 21, 27, 0.48) 22%, rgba(22, 27, 34, 0.38) 50%, rgba(17, 21, 27, 0.48) 78%, rgba(13, 16, 20, 0.62) 100%),
        linear-gradient(180deg, rgba(13, 16, 20, 0.65) 0%, rgba(34, 48, 70, 0.16) 42%, rgba(13, 16, 20, 0.72) 100%),
        radial-gradient(ellipse 70% 50% at 50% 100%, rgba(40, 52, 72, 0.4) 0%, transparent 60%);
}

.application-page {
    padding: calc(var(--header-h) + 48px) 0 80px;
    min-height: 100vh;
    isolation: isolate;
    background: transparent;
}

.application-page.depth-section::before,
.application-page.depth-section::after {
    display: none;
}

.application-shell {
    position: relative;
    z-index: 1;
    max-width: 1100px;
}

body.page-zayavka .footer {
    background: linear-gradient(180deg, rgba(9, 12, 15, 0.55), rgba(9, 12, 15, 0.88));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.application-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: 12px;
}

.application-lead {
    max-width: 640px;
    margin-bottom: 40px;
}

.application-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.85fr);
    gap: 28px;
    align-items: start;
}

.application-form,
.application-aside__card {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, transparent 40%),
        rgba(11, 18, 32, 0.82);
    border: 1px solid var(--line);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition:
        transform 0.35s var(--ease-smooth),
        border-color 0.35s var(--ease-smooth),
        box-shadow 0.35s var(--ease-smooth);
}

.application-aside__card:hover {
    transform: translateY(-4px);
    border-color: rgba(74, 143, 224, 0.35);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.06) inset,
        0 20px 48px -24px rgba(34, 100, 244, 0.25),
        var(--shadow-deep);
}

.application-form {
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    gap: 16px;
}

.form-row--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-field label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--steel-light);
    letter-spacing: 0.02em;
}

.form-field label span {
    color: var(--accent-hover);
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 13px 16px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(11, 18, 32, 0.55);
    color: var(--text);
    font: inherit;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.form-field select option {
    background: var(--bg-2);
    color: var(--text);
}

.form-field input:-webkit-autofill,
.form-field input:-webkit-autofill:hover,
.form-field input:-webkit-autofill:focus,
.form-field textarea:-webkit-autofill,
.form-field textarea:-webkit-autofill:hover,
.form-field textarea:-webkit-autofill:focus,
.form-field select:-webkit-autofill,
.form-field select:-webkit-autofill:hover,
.form-field select:-webkit-autofill:focus {
    -webkit-text-fill-color: var(--text);
    caret-color: var(--text);
    box-shadow: 0 0 0 1000px rgba(11, 18, 32, 0.92) inset;
    transition: background-color 9999s ease-out 0s;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: rgba(255, 255, 255, 0.28);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: none;
    border-color: rgba(74, 143, 224, 0.55);
    box-shadow: 0 0 0 3px rgba(34, 100, 244, 0.15);
    background: rgba(0, 0, 0, 0.32);
}

.form-field select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 42px;
}

.form-field textarea {
    resize: vertical;
    min-height: 130px;
}

.form-consent {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.86rem;
    color: var(--muted);
    line-height: 1.5;
    cursor: pointer;
}

.form-consent input {
    margin-top: 3px;
    flex-shrink: 0;
    accent-color: var(--accent);
}

.application-form__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 4px;
}

.form-note {
    font-size: 0.82rem;
    color: var(--muted-soft);
    line-height: 1.5;
}

.form-error {
    margin: 0 0 12px;
    font-size: 0.88rem;
    line-height: 1.45;
    color: #ffb4b4;
}

.form-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

.application-aside {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.application-aside__card {
    padding: 24px;
}

.application-aside__card h2 {
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.application-aside__org {
    font-size: 0.88rem;
    color: var(--steel-light);
    margin-bottom: 16px;
}

.application-aside__list,
.application-aside__tips {
    display: flex;
    flex-direction: column;
    gap: 14px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.application-aside__list li,
.application-aside__tips li {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 0.92rem;
    color: var(--text);
}

.application-aside__list strong {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--muted-soft);
    font-weight: 600;
}

.application-aside__list a {
    color: var(--accent-hover);
    text-decoration: none;
}

.application-aside__list a:hover {
    color: #fff;
}

.application-aside__tips li {
    position: relative;
    padding-left: 18px;
    color: var(--muted);
}

.application-aside__tips li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
}

.application-success {
    text-align: center;
    padding: 56px 24px;
    background:
        linear-gradient(180deg, rgba(74, 143, 224, 0.08) 0%, transparent 50%),
        rgba(11, 18, 32, 0.96);
    border: 1px solid rgba(74, 143, 224, 0.35);
    border-radius: var(--radius-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.application-success__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 1.75rem;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, var(--accent), var(--accent-deep));
    box-shadow: 0 12px 32px rgba(34, 100, 244, 0.35);
}

.application-success h2 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.application-success p {
    max-width: 520px;
    margin: 0 auto 24px;
    color: var(--muted);
    line-height: 1.6;
}

.application-success a {
    color: var(--accent-hover);
}

.nav-cta--active {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.22);
    pointer-events: none;
}

.nav-link--application {
    margin-top: 8px;
    text-align: center;
    background: linear-gradient(135deg, var(--accent), var(--accent-deep));
    color: #fff !important;
    border-radius: var(--radius-btn);
    font-weight: 700;
}

.nav-link--application:hover {
    background: linear-gradient(135deg, var(--accent-hover), var(--accent-deep));
}

@media (min-width: 861px) {
    .nav-links__cta { display: none; }
}

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

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

    .application-form {
        padding: 24px 20px;
    }
}

/* ===== Как мы работаем (процесс) ===== */
.process-flow {
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.process-step {
    position: relative;
    display: block;
    text-decoration: none;
    color: inherit;
    padding: 30px 26px 26px;
    border-radius: var(--radius-card);
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.014));
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.35s var(--ease-smooth), border-color 0.35s, box-shadow 0.35s;
}

.process-step:hover {
    transform: translateY(-6px);
    border-color: rgba(74, 143, 224, 0.4);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06) inset, var(--shadow-deep);
}

.process-step__icon {
    position: absolute;
    top: 26px;
    right: 24px;
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: var(--accent-hover);
    background: linear-gradient(160deg, rgba(74, 143, 224, 0.2), rgba(34, 100, 244, 0.05));
    border: 1px solid rgba(74, 143, 224, 0.28);
}

.process-step__icon svg { width: 22px; height: 22px; }

.process-step__num {
    display: block;
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.03em;
    background: linear-gradient(120deg, var(--steel-light), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.process-step h3 { margin: 16px 0 8px; font-size: 1.08rem; font-weight: 700; }
.process-step p { font-size: 0.9rem; color: var(--muted); }

/* Соединители между шагами (десктоп, 3 в ряд) */
@media (min-width: 861px) {
    .process-step::after {
        content: "";
        position: absolute;
        top: 47px;
        right: -12px;
        width: 24px;
        height: 2px;
        z-index: 3;
        background: linear-gradient(90deg, rgba(74, 143, 224, 0.65), rgba(74, 143, 224, 0));
    }
    .process-step:nth-child(3n)::after { display: none; }
}

@media (max-width: 860px) { .process-flow { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .process-flow { grid-template-columns: 1fr; } }

/* ===== About pillars ===== */
.about-pillars {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    margin-top: 28px;
}

.about-pillars--row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 12px;
}

#company .heading-shine--single-line {
    margin-bottom: 14px;
}

#company .company-body {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(240px, 0.68fr);
    gap: clamp(20px, 3vw, 36px);
    align-items: stretch;
}

#company .company-body__text .section-lead:first-child {
    margin-top: 0;
    margin-bottom: 16px;
    max-width: none;
}

#company .company-body__text .check-list {
    gap: 9px;
    margin-bottom: 12px;
}

#company .company-body__text .section-lead--note {
    margin-top: 0;
    margin-bottom: 0;
    max-width: none;
    line-height: 1.62;
}

#company .company-body__media {
    display: flex;
    align-items: flex-end;
    align-self: stretch;
    justify-self: end;
    width: 100%;
    max-width: 340px;
    margin-top: 0;
    height: 100%;
}

#company .company-body__media img,
#company .company-body__media video {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    max-height: 420px;
    min-height: 0;
    object-fit: cover;
    object-position: center 20%;
}

#company .about-pillars--company {
    margin-top: clamp(14px, 2vw, 20px);
    gap: clamp(12px, 1.6vw, 16px);
}

/* О компании (innovation): заголовок на всю ширину, лого только у текста */
#about .company-about-layout {
    --about-col-left: 1.8fr;
    --about-col-mid: 1.8fr;
    --about-col-right: 1.35fr;
    display: grid;
    grid-template-columns: var(--about-col-left) var(--about-col-mid) var(--about-col-right);
    column-gap: 12px;
    row-gap: 12px;
    margin-top: 8px;
}

#about .company-about-layout__title {
    grid-column: 1 / -1;
    grid-row: 1;
    margin: 0 0 4px;
    max-width: none;
}

#about .company-lead-split {
    grid-column: 1 / -1;
    grid-row: 2;
    display: grid;
    grid-template-columns: minmax(0, 3.6fr) minmax(0, 1.35fr);
    align-items: start;
    gap: 12px;
    width: 100%;
}

#about .company-lead-split__text {
    grid-column: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 16px;
}

#about .company-lead-split__text > .section-lead:first-child {
    margin-top: 0;
    margin-bottom: 0;
    max-width: none;
}

#about .company-lead-split__text > p:last-child {
    margin-top: 0;
    margin-bottom: 0;
    color: var(--muted);
    line-height: 1.65;
    max-width: none;
}

#about .company-lead-split__logo {
    grid-column: 2;
    justify-self: end;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: var(--company-logo-size, 200px);
    height: var(--company-logo-size, 200px);
    max-width: 100%;
    padding: 0;
    border-radius: var(--radius-card);
    background: transparent;
    border: none;
    box-shadow: none;
    overflow: hidden;
}

#about .company-lead-split__logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: none;
}

#about .about-pillars--company-about {
    grid-column: 1 / -1;
    grid-row: 3;
    display: grid;
    grid-template-columns: var(--about-col-left) var(--about-col-mid) var(--about-col-right);
    gap: 12px;
    margin-top: 0;
}

@media (min-width: 821px) {
    #about .about-pillars--company-about {
        grid-template-columns: var(--about-col-left) var(--about-col-mid) var(--about-col-right) !important;
    }
}

@media (max-width: 820px) {
    #about .company-about-layout {
        grid-template-columns: 1fr;
        row-gap: 16px;
    }

    #about .company-about-layout__title,
    #about .company-lead-split,
    #about .about-pillars--company-about {
        grid-column: 1;
        grid-row: auto;
    }

    #about .company-lead-split {
        grid-template-columns: 1fr;
    }

    #about .company-lead-split__text,
    #about .company-lead-split__logo {
        grid-column: 1;
    }

    #about .company-lead-split__logo {
        width: min(100%, 260px);
        height: auto;
        max-width: 260px;
        aspect-ratio: 1 / 1;
        justify-self: center;
    }

    #about .about-pillars--company-about {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    #company .company-body {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    #company .company-body__media {
        max-width: none;
        justify-self: stretch;
    }

    #company .company-body__media img,
    #company .company-body__media video {
        max-height: 300px;
        aspect-ratio: 16 / 10;
    }

    #company .about-pillars--company {
        margin-top: 12px;
    }
}

.about-pillar {
    padding: 16px 18px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
}

.about-pillar strong {
    display: block;
    font-size: 0.92rem;
    margin-bottom: 6px;
    color: #fff;
}

.about-pillar span {
    font-size: 0.84rem;
    line-height: 1.55;
    color: var(--muted);
    display: block;
}

/* ===== FAQ ===== */
.faq-list {
    margin-top: 40px;
    display: grid;
    gap: 14px;
    max-width: 920px;
}

.faq-item {
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.012));
    transition: border-color 0.5s var(--ease-smooth), background 0.5s var(--ease-smooth);
}

.faq-item.is-open {
    border-color: rgba(74, 143, 224, 0.4);
    background: linear-gradient(160deg, rgba(74, 143, 224, 0.08), rgba(255, 255, 255, 0.012));
}

.faq-item > summary {
    list-style: none;
    cursor: pointer;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.02rem;
    font-weight: 600;
    color: #fff;
}

.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary:focus-visible { outline: 2px solid var(--accent-hover); outline-offset: 3px; border-radius: 12px; }

.faq-item__q-ico {
    flex-shrink: 0;
    display: inline-flex;
    color: var(--accent-hover);
}
.faq-item__q-ico svg { width: 22px; height: 22px; }

.faq-item__chev {
    margin-left: auto;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    color: var(--accent-hover);
    transition: transform 0.62s var(--ease-smooth);
}
.faq-item__chev svg { width: 20px; height: 20px; }
.faq-item.is-open .faq-item__chev { transform: rotate(180deg); }

.faq-item__body {
    padding: 0 24px 22px 63px;
    overflow: hidden;
}
.faq-item__body p {
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

@media (max-width: 540px) {
    .faq-item > summary { font-size: 0.96rem; padding: 16px 18px; gap: 12px; }
    .faq-item__body { padding: 0 18px 18px 18px; }
}

/* ===== Кнопка «наверх» ===== */
.to-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: linear-gradient(135deg, var(--accent), var(--accent-deep));
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: var(--shadow-deep);
    cursor: pointer;
    z-index: 9000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.3s, transform 0.3s, visibility 0.3s, filter 0.2s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { filter: brightness(1.12); transform: translateY(-3px); }
.to-top svg { width: 22px; height: 22px; }

@media (prefers-reduced-motion: reduce) {
    .process-step:hover { transform: none !important; }
    .faq-item__chev { transition: none !important; }
    .to-top { transition: opacity 0.2s, visibility 0.2s !important; }
}

@media (max-height: 820px) {
    .hero-eyebrow {
        margin-bottom: 16px;
        font-size: 0.75rem;
        padding: 7px 16px;
    }

    .hero h1 {
        margin-bottom: 12px;
        font-size: clamp(1.7rem, 4.5vw, 3rem);
    }

    .hero p {
        margin-bottom: 18px;
        font-size: 0.95rem;
    }

    .hero-features {
        margin-top: 12px;
        padding-top: 16px;
        gap: 8px;
    }

    .hero-feature__desc { display: none; }

    .hero-feature__icon {
        width: 40px;
        height: 40px;
        margin-bottom: 4px;
    }
}

@media (max-height: 760px) {
    .hero-features,
    .hero-scroll { display: none; }
}

.split-section--stretch {
    align-items: center;
}

.split-section--stretch .split-section__media--company {
    display: block;
    width: 100%;
}

.split-section__media--company img,
.split-section__media--company video {
    width: 100%;
    min-height: 360px;
    max-height: 400px;
    object-fit: cover;
    object-position: center center;
}

.split-section__media--compact {
    max-height: 320px;
    max-width: 440px;
    width: 100%;
    justify-self: center;
    align-self: center;
}

.split-section__media--compact img {
    min-height: 0;
    max-height: 320px;
    object-fit: cover;
    object-position: center 30%;
}

/* ===== Services tabs ===== */
.services-tabs {
    margin-top: 28px;
    display: grid;
    grid-template-columns: minmax(200px, 240px) 1fr;
    gap: clamp(20px, 3vw, 32px);
    align-items: stretch;
}

.services-tabs__nav {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    min-height: 100%;
    gap: 0;
}

@media (min-width: 901px) {
    .services-tabs {
        align-items: stretch;
    }

    .services-tabs__nav {
        justify-content: space-between;
        height: 100%;
        min-height: 100%;
    }
}

.services-tabs__btn {
    width: 100%;
    text-align: left;
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    color: var(--muted);
    font: inherit;
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.25s, background 0.25s, color 0.25s;
}

.services-tabs__btn:hover,
.services-tabs__btn.is-active {
    color: #fff;
    border-color: rgba(74, 143, 224, 0.45);
    background: linear-gradient(160deg, rgba(74, 143, 224, 0.18), rgba(74, 143, 224, 0.05));
}

.services-tabs__panel {
    display: grid;
    grid-template-columns: 1fr minmax(200px, 38%);
    gap: clamp(20px, 3vw, 32px);
    align-items: center;
    padding: clamp(20px, 3vw, 28px);
    border-radius: var(--radius-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
}

.services-tabs__panel[hidden] { display: none !important; }

.services-tabs__content h3 {
    font-size: 1.35rem;
    margin-bottom: 10px;
}

.services-tabs__content p {
    color: var(--muted);
    margin-bottom: 14px;
}

.services-tabs__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.services-tabs__media {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    max-height: 240px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.services-tabs__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(165deg, rgba(8, 12, 22, 0.08) 0%, rgba(8, 12, 22, 0.62) 100%);
    pointer-events: none;
}

.services-tabs__media img,
.services-tabs__media video,
.services-tabs__video {
    display: block;
    width: 100%;
    height: 100%;
    max-height: 240px;
    object-fit: cover;
    object-position: center;
    transform: scale(1.02);
}

@media (max-width: 900px) {
    .services-tabs { grid-template-columns: 1fr; align-items: start; }
    .services-tabs__nav {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 10px;
        height: auto;
        min-height: 0;
    }
    .services-tabs__btn { width: auto; flex: 1 1 calc(50% - 4px); min-width: 140px; }
    .services-tabs__panel { grid-template-columns: 1fr; }
    .services-tabs__media { max-height: 200px; }
}

/* ===== Quiz ===== */
.quiz {
    margin-top: 24px;
    padding: clamp(22px, 4vw, 32px);
    border-radius: var(--radius-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
}

.quiz__progress {
    height: 4px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.08);
    margin-bottom: 16px;
    overflow: hidden;
}

.quiz__progress-bar {
    display: block;
    height: 100%;
    width: 20%;
    background: linear-gradient(90deg, var(--accent), var(--accent-deep));
    border-radius: 4px;
    transition: width 0.35s var(--ease-smooth);
}

.quiz__step-label {
    font-size: 0.85rem;
    color: var(--muted);
    margin-bottom: 16px;
}

.quiz__step {
    border: 0;
    margin: 0;
    padding: 0;
    min-width: 0;
}

.quiz__step:not(.is-active) { display: none; }

.quiz__step legend {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 16px;
    padding: 0;
}

.quiz__options {
    display: grid;
    gap: 10px;
}

.quiz__option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
}

.quiz__option.is-selected {
    border-color: rgba(37, 99, 176, 0.35);
    background: rgba(74, 143, 224, 0.1);
}

.quiz__form {
    display: grid;
    gap: 14px;
    max-width: 420px;
}

.quiz__nav {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 24px;
}

.quiz__done {
    text-align: center;
    padding: 24px 0 8px;
}

.quiz__done h3 { margin-bottom: 8px; }

.quiz__cta-link {
    display: inline;
    padding: 0;
    border: 0;
    background: none;
    color: var(--accent-hover);
    font: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
    cursor: pointer;
}

.quiz__cta-link:hover { color: #fff; }

.quiz.is-complete .quiz__steps,
.quiz.is-complete .quiz__nav,
.quiz.is-complete .quiz__progress,
.quiz.is-complete .quiz__step-label { display: none; }

.quiz.is-complete .quiz__done { display: block !important; }

/* ===== CTA Modal ===== */
.cta-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(8, 10, 14, 0.72);
    backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s, visibility 0.3s;
}

.cta-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.cta-modal__dialog {
    width: min(960px, 100%);
    max-height: min(920px, calc(100vh - 32px));
    overflow-x: hidden;
    overflow-y: auto;
    padding: clamp(24px, 4vw, 36px);
    border-radius: var(--radius-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(165deg, #1a2028, #12161c);
    box-shadow: var(--shadow-deep);
    position: relative;
    transform: translateY(12px);
    transition: transform 0.3s var(--ease-smooth);
}

.cta-modal.is-open .cta-modal__dialog { transform: none; }

.cta-modal__eyebrow {
    margin-bottom: 10px;
}

.cta-modal__close {
    position: sticky;
    top: 0;
    float: right;
    z-index: 2;
    margin: -8px -8px 0 12px;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    color: var(--muted);
    cursor: pointer;
    font-size: 1.4rem;
    line-height: 1;
}

.cta-modal__close:hover { color: #fff; background: rgba(255, 255, 255, 0.12); }

.cta-modal__title {
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
    margin-bottom: 10px;
    padding-right: 8px;
    clear: right;
}

.cta-modal__text {
    color: var(--muted);
    margin-bottom: 24px;
    font-size: 0.95rem;
    line-height: 1.55;
    max-width: 640px;
}

.cta-modal__layout {
    margin-top: 4px;
}

.cta-modal__success-close {
    margin-top: 8px;
}

/* ===== Innovation detail modal ===== */
.inno-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(8, 10, 14, 0.72);
    backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s, visibility 0.3s;
}

.inno-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.inno-modal__dialog {
    width: min(640px, 100%);
    max-height: min(88vh, 760px);
    overflow-x: hidden;
    overflow-y: auto;
    padding: clamp(24px, 4vw, 32px);
    border-radius: var(--radius-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(165deg, #1a2028, #12161c);
    box-shadow: var(--shadow-deep);
    position: relative;
    transform: translateY(12px);
    transition: transform 0.3s var(--ease-smooth);
}

.inno-modal.is-open .inno-modal__dialog {
    transform: none;
}

.inno-modal__close {
    position: sticky;
    top: 0;
    float: right;
    z-index: 2;
    margin: -8px -8px 0 12px;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    color: var(--muted);
    cursor: pointer;
    font-size: 1.4rem;
    line-height: 1;
}

.inno-modal__close:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
}

.inno-modal__title {
    font-size: clamp(1.25rem, 2.4vw, 1.65rem);
    margin-bottom: 16px;
    padding-right: 8px;
    clear: right;
}

.inno-modal__tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.inno-modal__tab {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--muted);
    font: inherit;
    font-size: 0.86rem;
    font-weight: 600;
    padding: 8px 14px;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.inno-modal__tab:hover {
    color: #fff;
    border-color: rgba(74, 143, 224, 0.35);
}

.inno-modal__tab.is-active {
    color: #fff;
    background: rgba(74, 143, 224, 0.18);
    border-color: rgba(74, 143, 224, 0.45);
}

.inno-modal__pane {
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.inno-modal__pane[hidden] {
    display: none !important;
}

.inno-modal__pane p {
    margin: 0 0 12px;
}

.inno-modal__pane p:last-child {
    margin-bottom: 0;
}

.inno-modal__lead {
    color: rgba(255, 255, 255, 0.88);
    font-size: 1rem;
    line-height: 1.6;
}

.inno-modal__note {
    margin-top: 14px;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(74, 143, 224, 0.1);
    border: 1px solid rgba(74, 143, 224, 0.22);
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.88rem;
    line-height: 1.5;
}

.inno-modal__list-title {
    margin: 0 0 10px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.92rem;
    font-weight: 600;
}

.inno-modal__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.inno-modal__list li {
    position: relative;
    padding-left: 16px;
    margin-bottom: 8px;
}

.inno-modal__list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.58em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-hover);
}

.inno-modal__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
    justify-content: flex-end;
}

@media (max-width: 640px) {
    .inno-modal__actions {
        flex-direction: column;
    }

    .inno-modal__actions .btn {
        width: 100%;
        justify-content: center;
    }
}

.cta-modal__form.application-form {
    margin: 0;
}

.cta-modal__aside .application-aside__card:hover {
    transform: none;
}

.cta-modal__success.application-success {
    margin-top: 8px;
}

.cta-modal__success-close {
    margin-top: 4px;
}

@media (max-width: 860px) {
    .cta-modal {
        padding: 12px;
        align-items: flex-end;
    }

    .cta-modal__dialog {
        max-height: calc(100vh - 16px);
        border-bottom-left-radius: 18px;
        border-bottom-right-radius: 18px;
    }

    .cta-modal__layout {
        grid-template-columns: 1fr;
    }
}

/* ===== Contact map ===== */
.contact-layout {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    align-items: stretch;
}

.contact-layout .contact-card {
    height: 100%;
}

.contact-map {
    grid-column: 1 / -1;
    border-radius: var(--radius-card);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    min-height: 320px;
}

.contact-map iframe {
    display: block;
    width: 100%;
    height: 360px;
    border: 0;
}

@media (max-width: 720px) {
    .contact-layout { grid-template-columns: 1fr; }
}

/* ===== Innovation intro ===== */
.company-intro {
    margin-bottom: 48px;
    max-width: 820px;
}

.company-intro--split {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(32px, 4vw, 48px);
    align-items: center;
    max-width: none;
}

.company-intro__media {
    border-radius: var(--radius-card);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-deep);
    overflow: hidden;
    width: 100%;
    max-width: none;
    justify-self: stretch;
    align-self: center;
}

.company-intro__media img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    min-height: 260px;
    max-height: 340px;
    object-fit: cover;
    object-position: center;
}

.company-intro--split .heading-shine--single-line,
#innovation .section-eyebrow + .heading-shine--single-line {
    font-size: clamp(1.05rem, 1.75vw, 1.62rem);
    line-height: 1.2;
    margin-bottom: 16px;
}

@media (min-width: 861px) {
    .company-intro--split .heading-shine--single-line,
    #innovation .section-eyebrow + .heading-shine--single-line {
        white-space: nowrap;
    }
}

.company-intro + .section-eyebrow {
    margin-top: 4px;
}

.heading-shine + .innovation-grid {
    margin-top: 20px;
}

.company-intro p {
    color: var(--muted);
    margin-top: 12px;
    line-height: 1.65;
}

@media (max-width: 860px) {
    .company-intro--split {
        grid-template-columns: 1fr;
    }

    .company-intro__media {
        justify-self: stretch;
        max-width: 100%;
    }

    .company-intro__media img {
        min-height: 220px;
        max-height: 320px;
    }
}

/* ===== Services groups (services.html) ===== */
.svc-groups {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(18px, 2.5vw, 28px);
}

.svc-group {
    position: relative;
    padding: clamp(22px, 3vw, 34px);
    border-radius: var(--radius-card);
    border: 1px solid var(--line);
    background: var(--bg-1);
    box-shadow: var(--shadow-deep);
    transition: transform 0.4s var(--ease-smooth), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.svc-group:hover {
    transform: translateY(-4px);
    border-color: rgba(74, 143, 224, 0.4);
    box-shadow: var(--shadow-elev-hover, 0 24px 60px rgba(0, 0, 0, 0.4));
}

.svc-group__head {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: start;
    gap: clamp(14px, 2vw, 22px);
    margin-bottom: 20px;
}

.svc-group__num {
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(135deg, var(--steel-light), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.svc-group__title h3 {
    margin: 0 0 6px;
    font-size: clamp(1.1rem, 2.2vw, 1.4rem);
    font-weight: 700;
    line-height: 1.2;
}

.svc-group__title h3 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.25s var(--ease);
}

.svc-group__title h3 a:hover { color: var(--accent-hover); }

.svc-group__title p {
    margin: 0;
    color: var(--muted);
    font-size: 0.94rem;
    line-height: 1.55;
}

.svc-group__more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    align-self: center;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--accent-hover);
    white-space: nowrap;
    transition: gap 0.25s var(--ease), color 0.25s var(--ease);
}

.svc-group__more svg { width: 17px; height: 17px; }
.svc-group__more:hover { gap: 10px; color: #fff; }

.svc-group__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px 20px;
}

.svc-group__list li {
    position: relative;
    padding-left: 24px;
    font-size: 0.92rem;
    line-height: 1.4;
    color: var(--text);
}

.svc-group__list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 45%, var(--accent) 0 3px, transparent 4px), rgba(74, 143, 224, 0.16);
    border: 1px solid rgba(74, 143, 224, 0.5);
}

@media (max-width: 640px) {
    .svc-group__head {
        grid-template-columns: auto 1fr;
    }

    .svc-group__more {
        grid-column: 1 / -1;
        align-self: start;
        justify-self: start;
    }

    .svc-group__list {
        grid-template-columns: 1fr;
    }
}

/* ===== Service detail pages (engineering / special / digital) ===== */
.svc-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: clamp(16px, 2.5vw, 24px);
    margin-top: 32px;
}

.svc-detail-card {
    position: relative;
    padding: 0;
    overflow: hidden;
    border-radius: var(--radius-card);
    border: 1px solid var(--line);
    background: var(--bg-1);
    box-shadow: var(--shadow-deep);
    transition: transform 0.4s var(--ease-smooth), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.svc-detail-card:hover {
    transform: translateY(-4px);
    border-color: rgba(74, 143, 224, 0.4);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}

.svc-detail-card__media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #141a22;
}

.svc-detail-card__media img,
.svc-detail-card__media video.svc-card-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s var(--ease-smooth);
}

.svc-detail-card:hover .svc-detail-card__media img,
.svc-detail-card:hover .svc-detail-card__media video.svc-card-video { transform: scale(1.06); }

.svc-detail-card__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(20, 26, 34, 0) 45%, rgba(20, 26, 34, 0.78) 100%);
    pointer-events: none;
}

.svc-detail-card__ico {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: rgba(30, 38, 50, 0.85);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(74, 143, 224, 0.45);
    color: var(--accent-hover);
    margin: -30px 0 14px clamp(18px, 2vw, 24px);
}

.svc-detail-card__ico svg { width: 24px; height: 24px; }

.svc-detail-card__abbr {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent-hover);
    margin-bottom: 4px;
    padding: 0 clamp(18px, 2vw, 24px);
}

.svc-detail-card h3 {
    margin: 0 0 8px;
    padding: 0 clamp(18px, 2vw, 24px);
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.25;
}

.svc-detail-card p {
    margin: 0;
    padding: 0 clamp(18px, 2vw, 24px) clamp(22px, 2.6vw, 28px);
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.6;
}
