@font-face {
    font-family: "Segoe UI";
    src: local("Segoe UI");
    font-style: normal;
    font-weight: 400;
}

@font-face {
    font-family: "Segoe UI";
    src: local("Segoe UI Semibold"), local("Segoe UI");
    font-style: normal;
    font-weight: 600;
}

@font-face {
    font-family: "Segoe UI";
    src: local("Segoe UI Bold"), local("Segoe UI");
    font-style: normal;
    font-weight: 700;
}

@font-face {
    font-family: "Segoe UI";
    src: local("Segoe UI Black"), local("Segoe UI");
    font-style: normal;
    font-weight: 900;
}

:root {
    --bg: #ffffff;
    --ink: #1c1f25;
    --red: #ea1000;
    --black: #080808;
    --yellow: #ffbe13;
    --white: #ffffff;
    --muted: #5c6168;
    --container: 1240px;
    --radius: 26px;
    --space-1: 0.5rem;
    --space-2: 0.75rem;
    --space-3: 1rem;
    --space-4: 1.5rem;
    --space-5: 2rem;
    --space-6: 3rem;
    --text-base: clamp(1rem, 1.05vw, 1.12rem);
    --text-lead: clamp(1.08rem, 1.45vw, 1.3rem);
    --font-ui: "Segoe UI", Tahoma, Arial, sans-serif;
}

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

html,
body {
    margin: 0;
    padding: 0;
    font-family: var(--font-ui);
}

body {
    background: var(--bg);
    color: var(--ink);
    line-height: 1.45;
}

button,
input,
select,
textarea {
    font: inherit;
}

img {
    max-width: 100%;
}

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

/* Reusable layout utilities */
.container {
    width: min(var(--container), 92vw);
    margin: 0 auto;
}

.section {
    padding: 74px 0;
}

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

.section-wide {
    padding: 108px 0;
}

.stack-sm > * + * {
    margin-top: var(--space-3);
}

.stack-md > * + * {
    margin-top: var(--space-4);
}

.stack-lg > * + * {
    margin-top: var(--space-5);
}

.grid {
    display: grid;
    gap: var(--space-4);
}

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

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

.text-center {
    text-align: center;
}

.text-muted {
    color: var(--muted);
}

.btn-block {
    width: 100%;
    text-align: center;
}

.card {
    background: #fff;
    border: 1px solid #dedede;
    border-radius: 16px;
    padding: 24px;
}

section {
    padding: 74px 0;
}

.header {
    background: #fff;
    border-bottom: 1px solid #dfdfdf;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    min-height: 76px;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 20px;
    position: relative;
}

.brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 999px;
    overflow: hidden;
    background: #fff;
}

.brand img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    display: block;
}

.header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
}

.nav {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 38px;
    font-size: 1rem;
    font-weight: 700;
}

.nav a {
    padding-top: 3px;
    border-bottom: 2px solid transparent;
}

.nav a.active {
    border-color: #222;
}

.header-cta {
    white-space: nowrap;
}

.mobile-nav {
    display: none;
}

.nav-toggle {
    list-style: none;
}

.nav-toggle::-webkit-details-marker {
    display: none;
}

.nav-toggle::marker {
    content: "";
}

.nav-toggle-icon {
    display: inline-grid;
    gap: 4px;
}

.nav-toggle-icon span {
    display: block;
    width: 24px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.btn {
    display: inline-block;
    border-radius: 999px;
    padding: 13px 26px;
    font-size: 1rem;
    font-weight: 600;
    border: 0;
    cursor: pointer;
}

.btn-red {
    background: var(--red);
    color: #fff;
}

.hero {
    min-height: 540px;
    display: grid;
    place-items: center;
    text-align: center;
    color: #fff;
    background:
        linear-gradient(180deg, rgba(9, 12, 17, 0.66), rgba(9, 12, 17, 0.56)),
        var(--hero-bg-image, url("../images/background_hololead.png")) center/cover no-repeat;
}

.hero-content {
    width: min(980px, 92vw);
}

.hero h1 {
    margin: 0;
    font-size: clamp(2.4rem, 6vw, 4.2rem);
    font-weight: 700;
    letter-spacing: 0.01em;
}

.hero h2 {
    margin: 26px 0 0;
    font-size: clamp(1.7rem, 4.2vw, 3rem);
    font-weight: 700;
    color: var(--yellow);
    line-height: 1.2;
}

.hero p {
    margin: 34px auto 0;
    max-width: 920px;
    font-size: var(--text-lead);
    line-height: 1.55;
    color: #f1f1f1;
}

.mission-grid {
    display: grid;
    grid-template-columns: 1.08fr 0.82fr;
    gap: 56px;
    align-items: start;
}

.mission h2,
.method h2,
.clients h2,
.founders h2,
.red-section h2,
.black-section h2,
.cta-red h2 {
    margin: 0 0 28px;
    font-size: clamp(1.9rem, 3.8vw, 2.9rem);
    line-height: 1.14;
    letter-spacing: 0.005em;
}

.mission p {
    margin: 0 0 26px;
    font-size: var(--text-base);
    line-height: 1.62;
    color: #282c33;
}

.btn-black {
    background: #000;
    color: #fff;
    min-width: 286px;
    text-align: center;
    padding: 15px 28px;
}

.mission-media {
    border-radius: 36px;
    overflow: hidden;
    border: 1px solid #ddd;
    background: #fff;
}

.mission-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.diagnostic-spotlight {
    background: #fff7f4;
}

.diagnostic-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 28px;
    align-items: center;
    padding: 34px 38px;
    border-radius: 28px;
    background:
        linear-gradient(135deg, rgba(234, 16, 0, 0.08), rgba(255, 190, 19, 0.14)),
        #fff;
    border: 1px solid rgba(234, 16, 0, 0.12);
    box-shadow: 0 20px 50px rgba(34, 28, 26, 0.08);
}

.diagnostic-label {
    margin: 0 0 10px;
    font-size: 0.98rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--red);
}

.diagnostic-card h2 {
    margin: 0 0 14px;
    font-size: clamp(1.9rem, 3.2vw, 2.75rem);
    line-height: 1.14;
}

.diagnostic-card p {
    margin: 0;
    max-width: 720px;
    font-size: var(--text-base);
    line-height: 1.65;
    color: #252a31;
}

.diagnostic-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: flex-end;
}

.diagnostic-actions .btn {
    min-width: 0;
}

.red-section {
    background: var(--red);
    color: #fff;
    padding: 88px 0;
}

.red-inner {
    width: min(1280px, 92vw);
    margin: 0 auto;
}

.red-inner h2 {
    text-align: center;
    margin-bottom: 44px;
}

.benefits {
    max-width: 1040px;
    margin: 0 auto;
    display: grid;
    gap: 38px;
}

.benefit h3 {
    margin: 0 0 10px;
    font-size: clamp(1.35rem, 2.4vw, 1.95rem);
    line-height: 1.2;
}

.benefit p {
    margin: 0;
    font-size: var(--text-base);
    line-height: 1.34;
}

.method {
    padding-top: 86px;
    text-align: center;
}

.method .intro {
    max-width: 1160px;
    margin: 0 auto;
    text-align: left;
    font-size: var(--text-base);
    line-height: 1.6;
    color: #22252b;
}

.method ul {
    margin: 28px 0 0;
    padding-left: 34px;
}

.method li {
    margin-bottom: 24px;
    font-size: var(--text-base);
}

.method .btn-wrap {
    margin-top: 44px;
}

.method .quote {
    margin: 72px auto 0;
    max-width: 1150px;
    text-align: center;
    font-size: clamp(1.1rem, 1.8vw, 1.45rem);
    color: #2e2e2e;
    font-style: italic;
    line-height: 1.38;
}

.method .quote .author {
    font-style: normal;
}

.black-section {
    background: var(--black);
    color: #fff;
    padding: 90px 0;
}

.black-inner {
    width: min(1280px, 92vw);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 0.86fr;
    gap: 56px;
    align-items: start;
}

.black-section h2 {
    color: var(--yellow);
    margin-bottom: 30px;
}

.black-section ul {
    margin: 0;
    padding-left: 30px;
}

.black-section li {
    margin-bottom: 24px;
    font-size: var(--text-base);
    line-height: 1.5;
    color: #f5f5f5;
}

.black-photo {
    border-radius: 26px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.black-photo img {
    width: 100%;
    display: block;
    object-fit: cover;
    height: 100%;
}

.black-section .btn-wrap {
    margin-top: 34px;
}

.btn-yellow {
    background: var(--yellow);
    color: #121212;
    min-width: 390px;
    text-align: center;
    padding: 15px 30px;
}

.cta-red {
    background: var(--red);
    color: #fff;
    text-align: center;
    padding: 108px 0;
}

.cta-red h2 {
    margin-bottom: 36px;
}

.cta-red p {
    margin: 0 auto 28px;
    max-width: 1220px;
    font-size: var(--text-lead);
    line-height: 1.5;
}

.btn-outline-light {
    color: #fff;
    background: transparent;
    border: 2px solid #f1d2cf;
    min-width: 390px;
    text-align: center;
    padding: 14px 30px;
}

.clients {
    text-align: center;
    padding-top: 96px;
}

.clients h2 {
    margin-bottom: 46px;
}

.clients-media {
    max-width: 1200px;
    margin: 0 auto;
}

.logos-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.logo-card {
    min-height: 172px;
    background: #fff;
    border: 1px solid #dedede;
    border-radius: 22px;
    display: grid;
    place-items: center;
    padding: 18px;
    box-shadow: 0 14px 38px rgba(28, 31, 37, 0.06);
}

.logo-card img {
    width: 100%;
    max-width: 280px;
    max-height: 108px;
    object-fit: contain;
    display: block;
}

.founders {
    background: #0d0d0d;
    color: #fff;
    padding: 86px 0;
}

.founders h2 {
    text-align: center;
    margin-bottom: 34px;
}

.founders-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
}

.founder-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    overflow: hidden;
}

.founder-card img {
    width: min(244px, 68%);
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
    margin: 24px auto 0;
    border-radius: 50%;
    border: 5px solid var(--yellow);
}

.founder-body {
    padding: 20px 20px 24px;
}

.founder-body h3 {
    margin: 0;
    font-size: clamp(1.35rem, 2.2vw, 1.95rem);
    line-height: 1.2;
}

.founder-role {
    margin: 8px 0 16px;
    color: #f7d06e;
    font-size: var(--text-base);
    font-weight: 600;
}

.founder-body p {
    margin: 0;
    font-size: var(--text-base);
    line-height: 1.62;
    color: #f1f1f1;
}

.founder-link {
    display: inline-block;
    margin-top: 16px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--yellow);
}

.footer {
    background: #000;
    color: #fff;
    padding: 42px 0 44px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.35fr 0.9fr 1.55fr;
    gap: 30px;
    align-items: start;
}

.footer-col h3 {
    margin: 0 0 10px;
    font-size: 1.22rem;
    line-height: 1.2;
}

.footer-col p {
    margin: 0 0 6px;
    font-size: 0.95rem;
    color: #e8e8e8;
    line-height: 1.55;
}

.footer-cta {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 6px;
}

.footer-cta .btn {
    width: 100%;
    max-width: 260px;
    text-align: center;
}

.footer-legal p {
    margin: 0;
    font-size: 0.95rem;
    color: #e8e8e8;
    line-height: 1.55;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.form-feedback {
    margin: 0 0 18px;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.08);
    line-height: 1.5;
}

.form-feedback.is-success {
    border-color: rgba(108, 214, 128, 0.46);
    background: rgba(70, 160, 92, 0.18);
}

.form-feedback.is-error {
    border-color: rgba(255, 134, 134, 0.48);
    background: rgba(186, 54, 54, 0.22);
}

.form-field-error {
    display: block;
    margin-top: 6px;
    font-size: 0.9rem;
    line-height: 1.4;
    color: #ffe0e0;
}

.form-control-error {
    border-color: #ff8c8c !important;
    box-shadow: 0 0 0 1px rgba(255, 140, 140, 0.28);
}

@media (max-width: 1100px) {
    .header-inner {
        grid-template-columns: auto auto;
        justify-content: space-between;
    }

    .header-actions {
        display: none;
    }

    .mobile-nav {
        display: block;
        margin-left: auto;
    }

    .nav-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        padding: 0;
        border: 0;
        background: transparent;
        cursor: pointer;
    }

    .mobile-nav-panel {
        position: absolute;
        top: calc(100% + 12px);
        left: 0;
        right: 0;
        z-index: 10;
        display: flex;
        flex-direction: column;
        gap: 18px;
        padding: 18px;
        background: #fff;
        border: 1px solid #dfdfdf;
        border-radius: 22px;
        box-shadow: 0 16px 40px rgba(28, 31, 37, 0.12);
    }

    .nav-mobile {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .nav-mobile a {
        padding: 14px 0;
        border-bottom: 1px solid #ececec;
    }

    .nav-mobile a:last-child {
        border-bottom: 0;
    }

    .nav-mobile a.active {
        border-color: #ececec;
        color: var(--red);
    }

    .mission-grid,
    .black-inner,
    .founders-grid,
    .footer-grid,
    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
    }

    .mission-media {
        max-width: 680px;
        margin: 0 auto;
    }

    .benefits,
    .method .intro {
        max-width: 100%;
    }

    .diagnostic-card {
        grid-template-columns: 1fr;
        padding: 28px;
        text-align: center;
    }

    .diagnostic-actions {
        justify-content: center;
    }

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

    .btn-yellow,
    .btn-outline-light,
    .btn-black,
    .footer-cta .btn {
        min-width: 0;
        width: 100%;
        max-width: none;
    }
}

@media (max-width: 820px) {
    .logos-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    section,
    .method,
    .clients,
    .cta-red,
    .red-section,
    .black-section,
    .founders {
        padding-top: 58px;
        padding-bottom: 58px;
    }

    .hero {
        min-height: 440px;
        padding: 46px 0;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero h2 {
        font-size: 1.6rem;
    }

    .hero p {
        font-size: var(--text-base);
    }

    .logos-grid {
        grid-template-columns: 1fr;
    }

    .logo-card {
        min-height: 128px;
        padding: 16px;
    }
}
