.sp-body { margin: 0; font: 16px/1.6 "Inter", "Golos Text", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; background: #f4f7fb; }
.sp {
    --sp-ink: #0b1528;
    --sp-blue: #00347f;
    --sp-accent: #1f6fe0;
    --sp-pale: #eaf1fb;
    --sp-line: #cad9ee;
    --sp-muted: #495d76;
    color: var(--sp-ink);
}
.sp *, .sp *::before, .sp *::after { box-sizing: border-box; }
.sp :focus-visible { outline: 3px solid #1f6fe0; outline-offset: 4px; }
.sp-wrap { width: min(1200px, calc(100% - 48px)); margin-inline: auto; }
.sp h1, .sp h2, .sp h3, .sp h4 {
    font-family: "Manrope", "Inter", sans-serif;
    font-weight: 800;
    line-height: 1.13;
    letter-spacing: -.035em;
    overflow-wrap: anywhere;
    margin: 0;
}
.sp h1 { font-size: clamp(2.25rem, 5.5vw, 4.2rem); max-width: 18ch; }
.sp h2 { font-size: clamp(1.55rem, 3vw, 2.3rem); }
.sp h3 { font-size: clamp(1.22rem, 2.25vw, 1.7rem); }

.sp-hero {
    padding: 24px 0 clamp(40px, 7vw, 88px);
    color: white;
    background-color: #08162d;
    background-image: linear-gradient(115deg, #061124 8%, transparent 72%),
        repeating-linear-gradient(135deg, rgba(31,111,224,0.08) 0 1px, transparent 1px 44px);
}
.sp-crumbs { display: flex; flex-wrap: wrap; gap: 8px 12px; font-size: .85rem; color: #cbdcf3; }
.sp-crumbs a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.sp-hero-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(260px, 1fr); gap: clamp(24px, 6vw, 80px); align-items: center; margin-top: clamp(28px, 5vw, 66px); }
.sp-kicker { color: var(--sp-blue); font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; margin: 0 0 12px; }
.sp-hero .sp-kicker { color: #8bb9f7; }
.sp-lead { max-width: 52ch; color: #d6e6fa; margin: 18px 0 26px; font-size: clamp(1rem, 1.6vw, 1.18rem); }
.sp-role { font-size: 1.1rem; color: #8bb9f7; font-weight: 700; margin: 14px 0 0; }
.sp-hero-index { background: #0c2040; border: 1px solid #3b5f92; border-top: 3px solid #1f6fe0; padding: clamp(16px, 3vw, 28px); border-radius: 6px; }
.sp-hero-index a { display: grid; grid-template-columns: minmax(0, 1fr) 2ch auto; gap: 12px; align-items: center; color: white; text-decoration: none; padding: 12px 4px; border-top: 1px solid rgba(139,185,247,0.15); }
.sp-hero-index a span { color: #8bb9f7; font-size: .8rem; font-variant-numeric: tabular-nums; }
.sp-hero-index a:hover { background: #163360; color: #8bb9f7; }

.sp-button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; border-radius: 5px; padding: 10px 18px; background: var(--sp-accent); color: white; font-weight: 700; text-decoration: none; transition: background .15s ease; }
.sp-button:hover { background: #1757b3; color: white; }
.sp-button-light { color: var(--sp-blue); background: white; }
.sp-button-light:hover { background: var(--sp-pale); color: var(--sp-blue); }
.sp-list { padding-block: clamp(32px, 6vw, 72px); }
.sp-list { scroll-margin-top: 20px; }
.sp-list-intro { color: var(--sp-muted); margin: 12px 0 24px; }
.sp-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.sp-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
    padding: clamp(16px, 2.3vw, 28px);
    background: white;
    border: 1px solid var(--sp-line);
    border-radius: 10px;
}
.sp-card:focus-within { border-color: var(--sp-accent); }
.sp-card-heading { display: grid; grid-template-columns: 78px minmax(0, 1fr); align-items: center; gap: 16px; }
.sp-card-heading .sp-portrait, .sp-card-heading .sp-emblem {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    border-radius: 6px;
    background: var(--sp-pale);
}
.sp-card-heading .sp-kicker { margin: 0 0 6px; letter-spacing: .06em; }
.sp-card-role { margin: 5px 0 0; color: var(--sp-muted); font-size: .9rem; line-height: 1.45; }
.sp-card h4 a { color: inherit; text-decoration: none; }
.sp-card h4 a:hover { color: var(--sp-blue); text-decoration: underline; }
.sp-card-section { min-width: 0; }
.sp-card-section h5 { margin: 0 0 8px; font-size: .92rem; font-weight: 800; }
.sp-card-tasks { padding-left: 18px; margin: 10px 0 0; color: var(--sp-muted); font-size: .9rem; line-height: 1.5; }
.sp-card-tasks li + li { margin-top: 5px; }
.sp-card-cases {
    padding: 12px 14px;
    background: #f4f8fd;
    border-radius: 6px;
    border-left: 3px solid #6a9cdd;
}
.sp-card-cases h5 span { color: var(--sp-muted); font-weight: 600; }
.sp-card-cases ul { list-style: none; margin: 0; padding: 0; }
.sp-card-cases li + li { border-top: 1px solid var(--sp-line); }
.sp-card-cases a { display: block; padding-block: 7px; color: var(--sp-blue); font-size: .88rem; line-height: 1.45; text-underline-offset: 3px; overflow-wrap: anywhere; }
.sp-card-case-hidden { display: none; }
.sp-card-cases.is-expanded .sp-card-case-hidden { display: list-item; }
.sp-card-cases-toggle {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 9px;
    padding: 6px 12px;
    background: #e4edf8;
    color: var(--sp-blue);
    border: 1px solid #bfd5f2;
    border-radius: 5px;
    font-size: .82rem;
    font-weight: 700;
    cursor: pointer;
    line-height: 1.3;
    transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.sp-card-cases-toggle:hover {
    background: #d4e4f7;
    border-color: #9cbde4;
}
.sp-card-cases-toggle:focus-visible {
    outline: 2px solid var(--sp-accent);
    outline-offset: 2px;
}
.sp-card-more { align-self: flex-start; margin-top: auto; padding-block: 6px; color: var(--sp-blue); font-weight: 700; font-size: .9rem; text-underline-offset: 3px; }
.sp-emblem, .sp-portrait { width: 100%; height: 100%; min-width: 0; border-radius: 6px 0 0 6px; }
.sp-portrait { display: block; object-fit: cover; object-position: center 25%; }
.sp-emblem {
    display: grid;
    align-content: space-between;
    justify-items: start;
    gap: 18px;
    padding: clamp(14px, 2vw, 24px);
    color: var(--sp-blue);
    background: repeating-linear-gradient(0deg, #b7cdea59 0 1px, transparent 1px 22px) #e6effd;
}
.sp-emblem span { font-size: clamp(1.65rem, 3.3vw, 3rem); font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.sp-emblem svg { max-width: 100%; }
.sp-hero-grid > .sp-emblem, .sp-hero-grid > .sp-portrait { width: min(100%, 340px); height: auto; aspect-ratio: 4 / 5; justify-self: end; border: 1px solid #3b5f92; border-radius: 7px; }
.sp-hero-grid > .sp-emblem { color: #8bb9f7; background: repeating-linear-gradient(0deg, #1f6fe033 0 1px, transparent 1px 28px) #0c2040; }

.sp-tags { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.sp-tags li { border: 1px solid var(--sp-line); background: #f2f7fe; border-radius: 4px; color: var(--sp-blue); padding: 4px 8px; font-size: .78rem; font-weight: 550; }
.sp-contact { background: var(--sp-pale); padding: clamp(20px, 4vw, 42px); border-radius: 7px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 54px; }
.sp-contact p { margin: 8px 0 0; color: var(--sp-muted); }

@media (max-width: 900px) {
    .sp-grid { grid-template-columns: 1fr; }
    .sp-hero-grid { grid-template-columns: 1fr; }
    .sp-hero-grid > .sp-emblem, .sp-hero-grid > .sp-portrait { justify-self: start; width: 220px; }
}
@media (max-width: 580px) {
    .sp-emblem, .sp-portrait { border-radius: 6px 6px 0 0; aspect-ratio: 16 / 11; max-height: 240px; }
    .sp-card-heading { grid-template-columns: 62px minmax(0, 1fr); gap: 12px; }
}

.sp h4 { font-size: clamp(1.16rem, 2vw, 1.45rem); }
.sp-hero-jump { display: inline-block; margin: 0 18px 12px 0; color: #d6e6fa; text-underline-offset: 4px; }
.sp-group { border-top: 1px solid var(--sp-line); margin-top: 32px; padding-top: 20px; }
.sp-group h3 { margin-bottom: 16px; }
.sp-group, #specialist-cases { scroll-margin-top: 24px; }
.sp-case-panel { width: min(960px, calc(100% - 36px)); margin: 36px auto; }
.sp-case-panel > h2 { margin-bottom: 16px; }
.sp-case-people { display: grid; gap: 12px; }
.sp-case-person { display: grid; grid-template-columns: minmax(64px, 108px) minmax(0, 1fr); gap: clamp(12px, 3vw, 26px); align-items: start; padding: clamp(14px, 3vw, 26px); border: 1px solid var(--sp-line); border-radius: 7px; background: #fff; }
.sp-case-person .sp-portrait { height: auto; aspect-ratio: 4 / 5; border-radius: 5px; }
.sp-case-person p { margin: 6px 0 12px; color: var(--sp-muted); }
.sp-case-person a { color: var(--sp-blue); text-underline-offset: 4px; }

.sp-body .sp-hero:has(.sp-hero-index) { padding-bottom: clamp(30px, 5vw, 58px); }
.sp-hero-grid:has(.sp-hero-index) { margin-top: clamp(24px, 3.5vw, 46px); }
.sp-hero-grid:has(.sp-hero-index) h1 { font-size: clamp(2rem, 4.2vw, 3.55rem); max-width: 21ch; }

.sp-hero-grid:has(.sp-hero-index) { gap: clamp(20px, 4vw, 54px); }
.sp-group h3 { display: inline-block; padding-left: 13px; border-left: 3px solid var(--sp-accent); }
@media (max-width: 580px) {
    .sp-wrap { width: calc(100% - 32px); }
    .sp-card-heading .sp-kicker { font-size: .67rem; }
    .sp-card-cases a { padding-block: 9px; }
}

.sp-hero-contact { display: inline-block; margin: 10px 0 0 12px; color: #d6e6fa; font-size: .9rem; text-underline-offset: 4px; }
@media (max-width: 760px) {
    .sp-catalog #vrFloatingConsultBtn, .sp-catalog #vrFloatingTooltip { display: none; }
    .sp-catalog .sp-hero-index { padding: 14px; }
    .sp-catalog .sp-hero-index a { padding-block: 9px; min-height: 44px; }
    .sp-hero-contact { margin: 10px 0 0; display: block; width: fit-content; }
}

.sp-profile .sp-hero { padding-bottom: clamp(28px, 5vw, 66px); }
.sp-profile .sp-hero-grid { grid-template-columns: minmax(0, 1.65fr) minmax(170px, .65fr); margin-top: clamp(22px, 4vw, 48px); }
.sp-profile .sp-hero-grid > :is(.sp-portrait, .sp-emblem) { width: min(100%, 272px); }
.sp-profile .sp-hero h1 { font-size: clamp(2rem, 4.6vw, 3.8rem); }
.sp-profile-body { padding-block: clamp(22px, 4vw, 56px) 1px; }
.sp-profile-index { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 235px), 1fr)); gap: 10px; }
.sp-profile-index a { display: flex; gap: 10px; align-items: center; padding: 12px 15px; min-height: 48px; color: var(--sp-blue); background: #fff; border: 1px solid var(--sp-line); border-radius: 7px; text-decoration: none; font-weight: 700; }
.sp-profile-index strong { margin-left: auto; font-variant-numeric: tabular-nums; font-size: .85rem; background: var(--sp-pale); padding: 2px 8px; border-radius: 4px; }
.sp-profile-index a:hover, .sp-service:hover { border-color: var(--sp-accent); }
.sp-profile-section { margin-block: clamp(32px, 5vw, 62px); scroll-margin-top: 24px; }
.sp-profile-section > .sp-kicker, .sp-profile-about .sp-kicker { margin-bottom: 7px; }
.sp-profile-cases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 18px; }
.sp-project { display: flex; flex-direction: column; border: 1px solid var(--sp-line); background: #fff; border-radius: 10px; }
.sp-project-media { position: relative; aspect-ratio: 16 / 9; background: #dce8f8; border-radius: 9px 9px 0 0; overflow: hidden; }
.sp-project-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sp-project-media-symbol img { object-fit: contain; padding: 16px; }
.sp-project-body { padding: clamp(15px, 2.4vw, 23px); }
.sp-project-body h3 { font-size: clamp(1.12rem, 1.75vw, 1.4rem); line-height: 1.28; }
.sp-project-body a { color: var(--sp-blue); text-underline-offset: 3px; }
.sp-project-body a:hover { color: var(--sp-accent); }
.sp-project-summary { margin: 10px 0 0; font-size: .92rem; line-height: 1.55; color: var(--sp-muted); }
.sp-project-hidden { display: none; }
.sp-profile-cases.is-expanded .sp-project-hidden { display: flex; }
.sp-profile-cases-action {
    margin-top: 24px;
    display: flex;
    justify-content: center;
}
.sp-profile-cases-toggle {
    cursor: pointer;
    font-size: .95rem;
    padding: 12px 24px;
    border: 1px solid var(--sp-line);
    border-radius: 6px;
    font-weight: 700;
}
.sp-service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.sp-service { display: grid; grid-template-columns: 65px minmax(0, 1fr) auto; align-items: center; gap: 10px; min-height: 95px; padding: 12px; border: 1px solid var(--sp-line); border-radius: 7px; background: #fff; color: var(--sp-blue); text-decoration: none; overflow-wrap: anywhere; }
.sp-service img { display: block; width: 100%; height: auto; background: var(--sp-pale); border-radius: 4px; }
.sp-service .sp-kicker { display: block; margin: 0 0 3px; font-size: .65rem; letter-spacing: .05em; }
.sp-service strong { display: block; font-size: .92rem; line-height: 1.35; }
.sp-service-arrow { font-size: 1.2rem; }
.sp-profile-about { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(22px, 4vw, 54px); }
.sp-profile-about p:not(.sp-kicker) { color: var(--sp-muted); }
.sp-task-panel { align-self: start; background: #fff; padding: clamp(16px, 3vw, 28px); border: 1px solid var(--sp-line); border-radius: 8px; }
.sp-task-panel h3 { font-size: clamp(1.12rem, 2vw, 1.4rem); }
.sp-task-panel ul { list-style: none; margin: 12px 0 0; padding: 0; }
.sp-task-panel li { display: grid; grid-template-columns: 2.5ch minmax(0, 1fr); gap: 12px; padding-block: 10px; border-top: 1px solid var(--sp-line); color: var(--sp-muted); }
.sp-task-panel li span { font-variant-numeric: tabular-nums; color: var(--sp-blue); font-weight: 800; }
.sp-profile-contact { justify-content: flex-start; }
.sp-back { color: var(--sp-blue); text-underline-offset: 3px; }
@media (max-width: 920px) {
    .sp-profile-cases, .sp-service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 650px) {
    .sp-profile .sp-hero-grid { position: relative; display: block; }
    .sp-profile .sp-hero-grid > div > :is(.sp-kicker, h1, .sp-role) { padding-right: 94px; }
    .sp-profile .sp-hero h1 { font-size: clamp(1.58rem, 6vw, 2.4rem); }
    .sp-profile .sp-hero-grid > :is(.sp-portrait, .sp-emblem) { position: absolute; right: 0; top: 0; width: 80px; }
    .sp-profile .sp-role { font-size: .95rem; }
    .sp-profile-cases, .sp-service-grid, .sp-profile-about { grid-template-columns: 1fr; }
    .sp-profile #vrFloatingConsultBtn, .sp-profile #vrFloatingTooltip { display: none; }
}

.sp-project-body { display: flex; flex: 1; flex-direction: column; }
.sp-project-labels { display: flex; flex-wrap: wrap; gap: 5px; margin: 0 0 10px; }
.sp-project-labels span { padding: 3px 7px; border-radius: 4px; background: var(--sp-pale); color: var(--sp-blue); font-size: .75rem; font-weight: 700; }
.sp-project-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; padding: 14px 0 0; margin: auto 0 0; list-style: none; }
.sp-project-facts li { padding: 9px; background: #f4f8fd; border-top: 2px solid #a8c3e8; border-radius: 4px; overflow-wrap: anywhere; }
.sp-project-facts strong, .sp-project-facts span { display: block; }
.sp-project-facts strong { color: var(--sp-blue); font-size: .9rem; line-height: 1.3; }
.sp-project-facts span { margin-top: 4px; color: var(--sp-muted); font-size: .76rem; line-height: 1.35; }
