:root {
    --bg: #07111a;
    --bg-deep: #050d14;
    --panel: #0d1923;
    --panel-soft: rgba(255,255,255,.035);
    --border: rgba(255,255,255,.09);
    --border-light: rgba(255,255,255,.14);
    --text: #f1f5f8;
    --muted: #8fa5b6;
    --muted2: #667d8e;
    --accent: #38c7ee;
    --accent2: #557cff;
    --green: #63dfa2;
    --shadow: 0 24px 80px rgba(0,0,0,.25);
    --radius: 20px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    background:
        radial-gradient(circle at 15% 0%, rgba(56,199,238,.09), transparent 24%),
        radial-gradient(circle at 90% 12%, rgba(85,124,255,.08), transparent 22%),
        linear-gradient(180deg, #07111a 0%, #071019 55%, #050d14 100%);
    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    line-height: 1.55;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1140px, calc(100% - 48px));
    margin: 0 auto;
}

.nav-wrap {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(5,13,20,.84);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255,255,255,.06);
}

nav {
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 850;
    font-size: 18px;
    letter-spacing: .3px;
}

.logo {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    background: linear-gradient(135deg, #4bd6f3, #557cff);
    color: #031019;
    font-weight: 900;
    box-shadow: 0 8px 26px rgba(56,199,238,.18);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 25px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.nav-links a:hover {
    color: #fff;
}

.nav-button {
    padding: 10px 15px;
    border-radius: 11px;
    background: #fff;
    color: #061019 !important;
}

.hero {
    min-height: 620px;
    display: grid;
    grid-template-columns: 1.04fr .96fr;
    align-items: center;
    gap: 48px;
    padding: 68px 0 76px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 20px;
    padding: 7px 11px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: rgba(255,255,255,.025);
    color: #b9cbd6;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .4px;
}

.dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 15px rgba(99,223,162,.7);
}

h1 {
    max-width: 800px;
    margin: 0;
    font-size: clamp(44px, 5.8vw, 69px);
    line-height: 1.02;
    letter-spacing: -3px;
}

h2 {
    margin: 0 0 14px;
    font-size: clamp(30px, 4.2vw, 46px);
    line-height: 1.08;
    letter-spacing: -1.7px;
}

h3 {
    margin: 0;
}

.gradient {
    background: linear-gradient(90deg, #ffffff 0%, #9fdff0 45%, #819fff 100%);
    -webkit-background-clip: text;
    color: transparent;
}

.hero-text {
    max-width: 680px;
    margin-top: 22px;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.72;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.btn {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    border: 1px solid var(--border);
    border-radius: 12px;
    font-size: 14px;
    font-weight: 800;
    transition: .2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    border: 0;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    color: #041019;
}

.btn-secondary {
    background: rgba(255,255,255,.025);
}

.hero-card,
.project,
.case-card,
.about-card,
.contact-card,
.metric-card,
.flow-step {
    border: 1px solid var(--border);
    background:
        linear-gradient(155deg, rgba(255,255,255,.035), rgba(255,255,255,.012));
}

.hero-card {
    padding: 22px;
    border-radius: 25px;
    box-shadow: var(--shadow);
}

.visual-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 11px;
}

.visual-item {
    min-height: 108px;
    padding: 15px;
    border: 1px solid var(--border);
    border-radius: 15px;
    background: rgba(2,10,16,.5);
}

.visual-item.large {
    grid-column: span 2;
    min-height: 128px;
}

.visual-title {
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: 800;
}

.visual-sub {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.55;
}

.section {
    padding: 72px 0;
}

.section-tight {
    padding: 55px 0;
}

.section-label {
    margin-bottom: 11px;
    color: var(--accent);
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 850;
    letter-spacing: 1.8px;
}

.lead {
    max-width: 720px;
    margin: 0 0 34px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.7;
}

.projects {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.project {
    padding: 24px;
    border-radius: var(--radius);
    transition: .2s ease;
}

.project:hover {
    transform: translateY(-3px);
    border-color: rgba(56,199,238,.25);
}

.project-number {
    color: var(--muted2);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
}

.project h3 {
    margin: 19px 0 8px;
    font-size: 21px;
}

.project p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.65;
}

.project-link {
    display: inline-flex;
    margin-top: 17px;
    color: var(--accent);
    font-size: 13px;
    font-weight: 800;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 18px;
}

.tag {
    padding: 6px 9px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: rgba(255,255,255,.02);
    color: #b9cbd6;
    font-size: 11px;
}

.case-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.case-card {
    padding: 23px;
    border-radius: 18px;
}

.case-value {
    margin-bottom: 9px;
    font-size: 32px;
    font-weight: 850;
    letter-spacing: -1px;
}

.case-text {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
}

.about-grid {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 18px;
}

.about-card {
    padding: 27px;
    border-radius: var(--radius);
}

.about-text {
    margin-top: 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.75;
}

.contact-card {
    margin-bottom: 72px;
    padding: 40px;
    border-radius: 25px;
    background:
        radial-gradient(circle at 90% 15%, rgba(56,199,238,.12), transparent 30%),
        linear-gradient(155deg, rgba(255,255,255,.04), rgba(255,255,255,.014));
}

.contact-text {
    max-width: 720px;
    color: var(--muted);
    font-size: 15px;
}

.contact-links {
    display: flex;
    flex-wrap: wrap;
    gap: 11px;
    margin-top: 24px;
}

.metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 30px;
}

.metric-card {
    padding: 19px;
    border-radius: 16px;
}

.metric-value {
    font-size: 25px;
    font-weight: 850;
}

.metric-label {
    margin-top: 4px;
    color: var(--muted);
    font-size: 12px;
}

.flow {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 30px;
}

.flow-step {
    position: relative;
    padding: 21px;
    border-radius: 17px;
}

.flow-index {
    margin-bottom: 22px;
    color: var(--accent);
    font-size: 11px;
    font-weight: 850;
}

.flow-title {
    margin-bottom: 7px;
    font-size: 16px;
    font-weight: 800;
}

.flow-text {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.55;
}

.flow-step:not(:last-child)::after {
    content: "→";
    position: absolute;
    top: 50%;
    right: -11px;
    transform: translate(50%,-50%);
    z-index: 5;
    color: var(--muted2);
    font-size: 18px;
}

.feature-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 11px;
    margin-top: 28px;
}

.feature {
    padding: 17px 18px;
    border-bottom: 1px solid var(--border);
}

.feature strong {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
}

.feature span {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.55;
}

footer {
    padding: 26px 0 38px;
    border-top: 1px solid var(--border);
    color: var(--muted2);
    font-size: 12px;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

@media (max-width: 900px) {
    .nav-links a:not(.nav-button) {
        display: none;
    }

    .hero,
    .about-grid {
        grid-template-columns: 1fr;
    }

    .projects,
    .case-grid,
    .metrics,
    .flow {
        grid-template-columns: repeat(2, 1fr);
    }

    .flow-step::after {
        display: none;
    }
}

@media (max-width: 600px) {
    .container {
        width: min(100% - 26px, 1140px);
    }

    nav {
        min-height: 60px;
    }

    .hero {
        min-height: auto;
        padding: 44px 0 54px;
    }

    h1 {
        font-size: 43px;
        letter-spacing: -2px;
    }

    h2 {
        font-size: 32px;
    }

    .hero-text {
        font-size: 16px;
    }

    .section {
        padding: 58px 0;
    }

    .projects,
    .case-grid,
    .metrics,
    .flow,
    .feature-list,
    .visual-grid {
        grid-template-columns: 1fr;
    }

    .visual-item.large {
        grid-column: span 1;
    }

    .contact-card {
        padding: 28px 22px;
    }
}



/* FINAL_POLISH_START */

/* Единая типографика */
body {
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

h1, h2, h3 {
    letter-spacing: -0.025em;
}

h1 {
    font-size: clamp(42px, 5vw, 66px);
    line-height: 1.02;
    margin-bottom: 20px;
}

h2 {
    font-size: clamp(30px, 3.4vw, 44px);
    line-height: 1.08;
    margin-bottom: 16px;
}

h3 {
    font-size: 22px;
    line-height: 1.2;
    margin-top: 14px;
    margin-bottom: 10px;
}

/* Hero */
.hero {
    padding-top: 64px;
    padding-bottom: 54px;
}

.hero-text,
.lead {
    line-height: 1.65;
    margin-top: 0;
}

.hero-text {
    max-width: 760px;
}

.lead {
    max-width: 850px;
    margin-bottom: 24px;
}

/* Секции */
.section {
    padding-top: 58px;
    padding-bottom: 58px;
}

.section-label {
    margin-bottom: 12px;
}

/* Карточки */
.projects,
.case-grid,
.about-grid,
.metrics {
    gap: 18px;
}

.project,
.case-card,
.about-card,
.metric-card,
.hero-card {
    margin-top: 0;
}

.project p,
.case-card p,
.about-card p {
    line-height: 1.6;
}

/* Теги */
.tags {
    gap: 7px;
    margin-top: 16px;
}

.tag {
    padding: 6px 10px;
    line-height: 1.2;
    font-size: 12px;
}

/* Кнопки */
.hero-actions {
    gap: 12px;
    margin-top: 26px;
}

.btn {
    padding: 11px 18px;
}

/* Навигация */
nav {
    min-height: 68px;
}

.nav-links {
    gap: 22px;
}

/* Нижние блоки */
.contact-card {
    margin-top: 44px;
    margin-bottom: 44px;
}

footer {
    margin-top: 38px;
}

/* Mobile */
@media (max-width: 760px) {
    .hero {
        padding-top: 42px;
        padding-bottom: 38px;
    }

    .section {
        padding-top: 42px;
        padding-bottom: 42px;
    }

    h1 {
        font-size: 40px;
    }

    h2 {
        font-size: 30px;
    }

    h3 {
        font-size: 20px;
    }

    .projects,
    .case-grid,
    .about-grid,
    .metrics {
        gap: 14px;
    }
}

/* FINAL_POLISH_END */

/* === DESIGN SYSTEM NORMALIZATION START === */

:root {
    --ds-body: 16px;
    --ds-small: 13px;
    --ds-h3: 20px;
    --ds-h2: 36px;
    --ds-h1: 52px;

    --ds-section-y: 48px;
    --ds-card-gap: 18px;
    --ds-radius: 18px;
}

/* Base typography */
html {
    font-size: 16px;
}

body {
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    font-size: var(--ds-body);
    line-height: 1.6;
}

/* Headings */
h1 {
    font-size: clamp(40px, 4.5vw, var(--ds-h1)) !important;
    line-height: 1.05 !important;
    letter-spacing: -0.025em !important;
    margin-top: 0 !important;
    margin-bottom: 18px !important;
}

h2 {
    font-size: clamp(30px, 3vw, var(--ds-h2)) !important;
    line-height: 1.12 !important;
    letter-spacing: -0.02em !important;
    margin-top: 0 !important;
    margin-bottom: 16px !important;
}

h3 {
    font-size: var(--ds-h3) !important;
    line-height: 1.25 !important;
    margin-top: 0 !important;
    margin-bottom: 10px !important;
}

/* Text */
p,
.hero-text,
.lead,
.project p,
.case-card p,
.about-card p,
.feature p {
    font-size: var(--ds-body) !important;
    line-height: 1.6 !important;
}

.small,
.project-number,
.section-label,
.tag,
.metric-label,
.visual-sub,
footer {
    font-size: var(--ds-small) !important;
}

/* Section labels */
.section-label {
    letter-spacing: .14em !important;
    margin-bottom: 10px !important;
}

/* Sections */
.section {
    padding-top: var(--ds-section-y) !important;
    padding-bottom: var(--ds-section-y) !important;
}

.hero {
    padding-top: 56px !important;
    padding-bottom: 48px !important;
}

/* Grids */
.projects,
.case-grid,
.about-grid,
.metrics,
.flow,
.feature-list {
    gap: var(--ds-card-gap) !important;
}

/* Cards */
.project,
.case-card,
.about-card,
.metric-card,
.hero-card,
.visual-item,
.flow-step,
.feature,
.contact-card {
    border-radius: var(--ds-radius) !important;
}

.project,
.case-card,
.about-card,
.feature,
.flow-step {
    padding: 20px !important;
}

/* Cards text */
.project h3,
.case-card h3,
.about-card h3,
.feature h3,
.flow-step strong {
    font-size: var(--ds-h3) !important;
}

/* Lead text */
.lead {
    max-width: 860px !important;
    margin-top: 0 !important;
    margin-bottom: 22px !important;
}

/* Buttons */
.btn,
.nav-button {
    font-size: 14px !important;
    line-height: 1.2 !important;
    padding: 11px 17px !important;
    border-radius: 12px !important;
}

/* Tags */
.tags {
    gap: 7px !important;
    margin-top: 14px !important;
}

.tag {
    padding: 6px 9px !important;
    line-height: 1.2 !important;
    border-radius: 9px !important;
}

/* Navigation */
nav {
    min-height: 66px !important;
}

.nav-links {
    gap: 20px !important;
    font-size: 14px !important;
}

/* Images / previews */
.project img,
.case-card img,
.showcase img {
    border-radius: 12px !important;
}

/* Contact */
.contact-card {
    padding: 30px 34px !important;
    margin-top: 24px !important;
    margin-bottom: 24px !important;
}

.contact-card h2 {
    margin-bottom: 12px !important;
}

.contact-card .lead {
    margin-bottom: 18px !important;
}

/* Reduce accidental huge whitespace */
.section + .section {
    margin-top: 0 !important;
}

footer {
    margin-top: 24px !important;
}

/* Mobile */
@media (max-width: 760px) {
    :root {
        --ds-body: 15px;
        --ds-small: 12px;
        --ds-h3: 19px;
        --ds-h2: 30px;
        --ds-h1: 40px;
        --ds-section-y: 36px;
        --ds-card-gap: 14px;
    }

    .hero {
        padding-top: 38px !important;
        padding-bottom: 34px !important;
    }

    .project,
    .case-card,
    .about-card,
    .feature,
    .flow-step {
        padding: 16px !important;
    }

    .contact-card {
        padding: 22px !important;
    }
}

/* === DESIGN SYSTEM NORMALIZATION END === */


/* PERSONAL BRAND */
.personal-brand {
    display: flex !important;
    flex-direction: column;
    align-items: flex-start !important;
    gap: 2px !important;
    line-height: 1.15;
}

.personal-brand .brand-name {
    font-size: 17px;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: #f4f7fb;
}

.personal-brand .brand-role {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: #8fa8bf;
    white-space: nowrap;
}

.personal-brand .logo {
    display: none !important;
}

@media (max-width: 760px) {
    .personal-brand .brand-name {
        font-size: 15px;
    }

    .personal-brand .brand-role {
        font-size: 10px;
        white-space: normal;
        max-width: 230px;
    }
}

/* === EQUAL PROJECT CARDS START === */

.portfolio-intro {
    max-width: 820px !important;
}

.portfolio-projects {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 28px;
}

.portfolio-project-card {
    min-width: 0;
    display: flex;
    flex-direction: column;

    padding: 26px;

    border: 1px solid rgba(130, 160, 190, .18);
    border-radius: 18px;

    background:
        linear-gradient(
            145deg,
            rgba(14, 31, 47, .94),
            rgba(8, 21, 34, .96)
        );
}

.portfolio-project-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;

    margin-bottom: 18px;
}

.portfolio-project-card .project-number {
    margin: 0;
}

.portfolio-status {
    flex: 0 0 auto;

    padding: 5px 9px;

    border: 1px solid rgba(77, 183, 255, .22);
    border-radius: 999px;

    font-size: 11px;
    line-height: 1.2;
    font-weight: 700;

    color: #8ed8ff;
    background: rgba(77, 183, 255, .06);
}

.portfolio-project-card h3 {
    margin: 0 0 6px !important;

    font-size: 27px !important;
    line-height: 1.15 !important;
}

.portfolio-project-subtitle {
    margin: 0 0 17px !important;

    font-size: 16px !important;
    line-height: 1.45 !important;
    font-weight: 600;

    color: #d6e4f0 !important;
}

.portfolio-project-card > p:not(.portfolio-project-subtitle) {
    margin: 0;

    font-size: 15px !important;
    line-height: 1.65 !important;

    color: #9fb4c7;
}

.portfolio-features {
    margin: 20px 0 4px;
    padding: 0;

    list-style: none;
}

.portfolio-features li {
    position: relative;

    margin: 0;
    padding: 7px 0 7px 22px;

    font-size: 14px;
    line-height: 1.45;

    color: #c4d3e0;
}

.portfolio-features li::before {
    content: "✓";

    position: absolute;
    left: 0;
    top: 7px;

    color: #47c9ef;
    font-weight: 800;
}

.portfolio-project-card .tags {
    margin-top: 18px !important;
}

.portfolio-project-link {
    display: inline-block;

    margin-top: auto;
    padding-top: 24px;

    font-size: 14px;
    line-height: 1.3;
    font-weight: 750;

    color: #42c9ee;
}

.portfolio-project-link:hover {
    color: #8fe3fb;
}

/* Tablet */
@media (max-width: 900px) {

    .portfolio-projects {
        grid-template-columns: 1fr;
        gap: 16px;
    }

}

/* Phone */
@media (max-width: 640px) {

    .portfolio-projects {
        grid-template-columns: 1fr;
        gap: 14px;
        margin-top: 20px;
    }

    .portfolio-project-card {
        width: 100%;
        max-width: 100%;
        min-width: 0;

        padding: 20px;
    }

    .portfolio-project-top {
        align-items: flex-start;
        margin-bottom: 15px;
    }

    .portfolio-project-card h3 {
        font-size: 24px !important;
    }

    .portfolio-project-subtitle {
        font-size: 15px !important;
    }

    .portfolio-project-card > p:not(.portfolio-project-subtitle) {
        font-size: 15px !important;
    }

    .portfolio-features li {
        font-size: 14px;
    }

    .portfolio-status {
        font-size: 10px;
    }

}

/* === EQUAL PROJECT CARDS END === */


/* INTERNAL PAGE PERSONAL BRAND */
.personal-brand {
    display: flex !important;
    flex-direction: column;
    align-items: flex-start !important;
    justify-content: center;
    gap: 2px !important;
    line-height: 1.15;
}

.personal-brand .brand-name {
    font-size: 17px !important;
    font-weight: 800 !important;
    color: #f4f7fb !important;
    letter-spacing: -0.01em;
}

.personal-brand .brand-role {
    font-size: 11px !important;
    font-weight: 500 !important;
    color: #8fa8bf !important;
    letter-spacing: .02em;
    white-space: nowrap;
}

@media (max-width: 760px) {
    .personal-brand .brand-name {
        font-size: 15px !important;
    }

    .personal-brand .brand-role {
        font-size: 10px !important;
        white-space: normal;
        max-width: 220px;
    }
}

/* PERSONAL BRAND REFINEMENT */
.personal-brand .brand-name {
    font-family: "Segoe UI", Arial, sans-serif !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    letter-spacing: 0 !important;
    color: #eef4fb !important;
}

.personal-brand .brand-role {
    font-family: "Segoe UI", Arial, sans-serif !important;
    font-size: 10.5px !important;
    font-weight: 400 !important;
    letter-spacing: .01em !important;
    color: #8197aa !important;
}

.personal-brand {
    gap: 1px !important;
}


/* UNIFIED UI FONT */

h1,
h2,
h3,
.nav-links a,
.nav-button,
.btn,
.project-number,
.section-label,
.portfolio-status,
.portfolio-project-link,
.personal-brand .brand-name,
.project h3,
.case-card h3,
.about-card h3,
.feature h3,
.metric-card,
.visual-title,
.flow-step strong {
    font-family: "Segoe UI", Arial, sans-serif !important;
    font-weight: 600 !important;
    letter-spacing: 0 !important;
}

/* Кнопки */
.btn,
.nav-button,
.portfolio-project-link {
    font-weight: 600 !important;
}

/* Малые подписи */
.project-number,
.section-label,
.portfolio-status {
    font-weight: 600 !important;
}

/* Заголовки чуть спокойнее */
h1 {
    font-weight: 600 !important;
}

h2 {
    font-weight: 600 !important;
}

h3 {
    font-weight: 600 !important;
}


/* FORCE PERSONAL BRAND ON ALL DEVICES */
.personal-brand .logo,
.brand.personal-brand .logo {
    display: none !important;
}

@media (max-width: 900px) {
    .personal-brand .logo,
    .brand.personal-brand .logo {
        display: none !important;
    }

    .personal-brand {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        justify-content: center !important;
    }

    .personal-brand .brand-name {
        display: block !important;
    }

    .personal-brand .brand-role {
        display: block !important;
    }
}


/* === ENGINEERING RESULTS START === */

.results-lead {
    max-width: 900px !important;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 28px;
}

.result-card {
    min-width: 0;
    padding: 24px;

    border: 1px solid rgba(130, 160, 190, .18);
    border-radius: 18px;

    background:
        linear-gradient(
            145deg,
            rgba(14, 31, 47, .92),
            rgba(8, 21, 34, .96)
        );
}

.result-type {
    margin-bottom: 14px;

    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 11px;
    font-weight: 600;

    letter-spacing: .11em;
    text-transform: uppercase;

    color: #42c9ee;
}

.result-value {
    margin-bottom: 16px;

    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 34px;
    line-height: 1.05;
    font-weight: 600;

    color: #f2f6fa;
}

.result-value-text {
    font-size: 22px;
}

.result-card h3 {
    margin-bottom: 11px !important;

    font-family: "Segoe UI", Arial, sans-serif !important;
    font-size: 20px !important;
    font-weight: 600 !important;
}

.result-card p {
    margin: 0;

    font-size: 15px !important;
    line-height: 1.65 !important;

    color: #9fb4c7;
}

.result-note {
    margin-top: 18px;
    padding-top: 15px;

    border-top: 1px solid rgba(255,255,255,.07);

    font-size: 12px;
    line-height: 1.5;

    color: #71899d;
}

.results-principle {
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 24px;

    margin-top: 20px;
    padding: 20px 22px;

    border: 1px solid rgba(77, 201, 238, .16);
    border-radius: 16px;

    background: rgba(77, 201, 238, .03);
}

.results-principle-label {
    font-size: 11px;
    font-weight: 600;

    letter-spacing: .13em;
    text-transform: uppercase;

    color: #42c9ee;
}

.results-principle strong {
    display: block;
    margin-bottom: 5px;

    font-size: 16px;
    font-weight: 600;

    color: #eef4fb;
}

.results-principle span {
    font-size: 14px;
    line-height: 1.6;

    color: #9fb4c7;
}

@media (max-width: 760px) {

    .results-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .result-card {
        padding: 19px;
    }

    .result-value {
        font-size: 29px;
    }

    .result-value-text {
        font-size: 20px;
    }

    .results-principle {
        grid-template-columns: 1fr;
        gap: 8px;

        padding: 18px;
    }
}

/* === ENGINEERING RESULTS END === */


/* === SERVICES START === */

.services-lead {
    max-width: 880px !important;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 28px;
}

.service-card {
    min-width: 0;
    padding: 22px;

    border: 1px solid rgba(130, 160, 190, .18);
    border-radius: 18px;

    background:
        linear-gradient(
            145deg,
            rgba(14, 31, 47, .92),
            rgba(8, 21, 34, .96)
        );
}

.service-card h3 {
    margin: 12px 0 10px !important;

    font-family: "Segoe UI", Arial, sans-serif !important;
    font-size: 20px !important;
    font-weight: 600 !important;
}

.service-card p {
    margin: 0;

    font-size: 15px !important;
    line-height: 1.65 !important;

    color: #9fb4c7;
}

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

    margin-top: 20px;
    padding: 20px 22px;

    border: 1px solid rgba(77, 201, 238, .16);
    border-radius: 16px;

    background: rgba(77, 201, 238, .03);
}

.services-principle > div {
    max-width: 780px;
}

.services-principle strong {
    display: block;
    margin-bottom: 5px;

    font-size: 16px;
    font-weight: 600;

    color: #eef4fb;
}

.services-principle span {
    font-size: 14px;
    line-height: 1.6;

    color: #9fb4c7;
}

.services-principle .btn {
    flex: 0 0 auto;
}

@media (max-width: 900px) {

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

}

@media (max-width: 640px) {

    .services-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .service-card {
        padding: 19px;
    }

    .services-principle {
        align-items: flex-start;
        flex-direction: column;
    }

}

/* === SERVICES END === */



/* PERSONAL_CONTACT_CARD_V1 */
.personal-contact-section {
    padding-top: 32px;
    padding-bottom: 54px;
}

.personal-card {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr);
    gap: 0;
    overflow: hidden;
    border: 1px solid rgba(190, 143, 91, .32);
    border-radius: 22px;
    background:
        radial-gradient(circle at 10% 0%, rgba(190,143,91,.09), transparent 34%),
        linear-gradient(145deg, rgba(16,21,28,.98), rgba(8,12,17,.99));
    box-shadow: 0 30px 70px rgba(0,0,0,.28);
}

.personal-card-main {
    display: flex;
    gap: 28px;
    padding: 44px;
}

.personal-card-mark {
    flex: 0 0 auto;
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(190,143,91,.65);
    border-radius: 14px;
    color: #d0a36f;
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: .12em;
}

.personal-card-copy {
    min-width: 0;
}

.personal-card-kicker {
    margin-bottom: 12px;
    color: #d0a36f;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.personal-card h2 {
    margin: 0;
    max-width: 760px;
    color: #f4f6f8;
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: clamp(28px, 3.1vw, 44px);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -.025em;
}

.personal-card h2 span {
    color: #aeb7c2;
    font-weight: 400;
}

.personal-card-positioning {
    margin: 26px 0 0;
    max-width: 720px;
    color: #eef1f4;
    font-size: 18px;
    line-height: 1.55;
}

.personal-card-about {
    margin: 18px 0 0;
    max-width: 720px;
    color: #939daa;
    font-size: 15px;
    line-height: 1.7;
}

.personal-card-divider {
    display: none;
}

.personal-card-contacts {
    padding: 44px 40px;
    border-left: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.018);
}

.personal-contact-label {
    margin-bottom: 18px;
    color: #d0a36f;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.personal-contact-row {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,.07);
    text-decoration: none;
}

.personal-contact-row span {
    display: block;
    margin-bottom: 4px;
    color: #707a86;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.personal-contact-row strong {
    color: #e9edf1;
    font-size: 15px;
    font-weight: 500;
    overflow-wrap: anywhere;
    transition: color .2s ease;
}

.personal-contact-row:hover strong {
    color: #d0a36f;
}

.personal-contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 26px;
}

.personal-footer {
    border-top: 1px solid rgba(255,255,255,.06);
}

@media (max-width: 860px) {
    .personal-card {
        grid-template-columns: 1fr;
    }

    .personal-card-main {
        padding: 32px 26px;
    }

    .personal-card-contacts {
        padding: 28px 26px 32px;
        border-left: 0;
        border-top: 1px solid rgba(255,255,255,.08);
    }
}

@media (max-width: 560px) {
    .personal-contact-section {
        padding-bottom: 38px;
    }

    .personal-card {
        border-radius: 18px;
    }

    .personal-card-main {
        display: block;
        padding: 26px 22px;
    }

    .personal-card-mark {
        width: 52px;
        height: 52px;
        margin-bottom: 24px;
        border-radius: 12px;
        font-size: 15px;
    }

    .personal-card h2 {
        font-size: 29px;
    }

    .personal-card-positioning {
        margin-top: 20px;
        font-size: 16px;
    }

    .personal-card-about {
        font-size: 14px;
    }

    .personal-card-contacts {
        padding: 25px 22px 28px;
    }

    .personal-contact-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .personal-contact-actions .btn {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
}

/* SIGNATURE_CARD_V2 */
.signature-section {
    padding-top: 40px;
    padding-bottom: 56px;
}

.signature-card {
    min-height: 480px;
    display: grid;
    grid-template-columns: 62% 38%;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(166, 178, 190, .22);
    border-radius: 24px;
    background:
        radial-gradient(circle at 14% 10%, rgba(37, 59, 78, .24), transparent 42%),
        linear-gradient(135deg, #0c1721 0%, #071018 65%, #050b11 100%);
    box-shadow: 0 30px 80px rgba(0, 0, 0, .34);
}

.signature-info {
    padding: 60px 72px;
    position: relative;
    z-index: 3;
}

.signature-name {
    font-family: "Segoe UI", Arial, sans-serif;
    color: #edf1f4;
    font-size: clamp(38px, 4.3vw, 64px);
    font-weight: 300;
    line-height: 1;
    letter-spacing: -.035em;
}

.signature-name strong {
    color: #d6a06a;
    font-weight: 400;
}

.signature-role {
    margin-top: 20px;
    color: #bbc1c7;
    font-size: 21px;
    line-height: 1.45;
    letter-spacing: .025em;
}

.signature-line {
    width: 138px;
    height: 2px;
    margin: 36px 0 26px;
    background: #c98d57;
}

.signature-contact-list {
    display: grid;
    gap: 13px;
}

.signature-contact-list a {
    display: flex;
    align-items: center;
    gap: 17px;
    color: #e5e8eb;
    font-size: 17px;
    text-decoration: none;
}

.signature-contact-list a:hover {
    color: #d6a06a;
}

.signature-icon {
    width: 24px;
    color: #d6a06a;
    text-align: center;
    font-size: 18px;
}

.signature-separator {
    width: 100%;
    max-width: 620px;
    height: 1px;
    margin: 32px 0 30px;
    background: linear-gradient(90deg, rgba(214,160,106,.75), rgba(214,160,106,.15));
}

.signature-offer {
    color: #c7ccd1;
    font-size: 18px;
    line-height: 1.65;
    letter-spacing: .025em;
}

.signature-brand {
    position: relative;
    min-height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-left: 1px solid rgba(255,255,255,.035);
    background: rgba(3, 8, 12, .27);
}

.signature-brand-inner {
    position: relative;
    z-index: 4;
    text-align: center;
}

.signature-g {
    color: #cf945d;
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 116px;
    font-weight: 600;
    line-height: .9;
    letter-spacing: -.12em;
    padding-right: .12em;
}

.signature-domain {
    margin-top: 24px;
    color: #e0e3e6;
    font-size: 21px;
    letter-spacing: .24em;
}

.signature-mini-line {
    width: 70px;
    height: 2px;
    margin: 38px auto;
    background: #c98d57;
}

.signature-values {
    color: #777f87;
    font-size: 12px;
    line-height: 2;
    letter-spacing: .32em;
}

.signature-arc {
    position: absolute;
    border-radius: 50%;
    border: 2px solid rgba(205, 143, 87, .65);
}

.signature-arc-one {
    width: 660px;
    height: 660px;
    left: -180px;
    top: -100px;
}

.signature-arc-two {
    width: 800px;
    height: 800px;
    left: -120px;
    top: -20px;
    border-color: rgba(96, 119, 139, .16);
}

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

    .signature-info {
        padding: 42px 36px;
    }

    .signature-brand {
        min-height: 330px;
        border-left: 0;
        border-top: 1px solid rgba(255,255,255,.05);
    }
}

@media (max-width: 560px) {
    .signature-section {
        padding-bottom: 38px;
    }

    .signature-card {
        border-radius: 18px;
    }

    .signature-info {
        padding: 30px 22px;
    }

    .signature-name {
        font-size: 40px;
    }

    .signature-role {
        font-size: 16px;
    }

    .signature-contact-list a {
        font-size: 15px;
    }

    .signature-offer {
        font-size: 16px;
    }

    .signature-brand {
        min-height: 280px;
    }

    .signature-g {
        font-size: 90px;
    }

    .signature-domain {
        font-size: 16px;
    }
}

.signature-g img {
    display: block;
    width: 116px;
    height: 116px;
    object-fit: contain;
    margin: 0 auto;
}

@media (max-width: 560px) {
    .signature-g img {
        width: 90px;
        height: 90px;
    }
}
