/* ООО «Технические Реформы»: легкая одностраничная визитка */
:root {
    --blue: #0a3f66;
    --blue-2: #0e5f93;
    --ink: #312e43;
    --gold: #b48e3e;
    --paper: #ffffff;
    --paper-soft: #f5f7fb;
    --line: #e3e8ef;
    --muted: #667085;
    --shadow: 0 18px 50px rgba(10, 63, 102, .14);
    --radius: 24px;
    --radius-sm: 14px;
    --container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Montserrat, Inter, "Segoe UI", Arial, sans-serif;
    color: var(--ink);
    background: var(--paper);
    line-height: 1.6;
    text-rendering: optimizeLegibility;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--blue);
    text-decoration: none;
}

a:hover {
    color: var(--blue-2);
}

.container {
    width: min(var(--container), calc(100% - 40px));
    margin-inline: auto;
}

.section-pad {
    padding: 82px 0;
}

.section {
    position: relative;
}

.muted {
    background:
        radial-gradient(circle at 10% 10%, rgba(180, 142, 62, .08), transparent 34%),
        linear-gradient(180deg, #f8fafc 0%, #eef4f8 100%);
}

.skip-link {
    position: absolute;
    left: 14px;
    top: -80px;
    z-index: 1000;
    padding: 10px 14px;
    border-radius: 10px;
    color: #fff;
    background: var(--blue);
}

.skip-link:focus {
    top: 14px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(227, 232, 239, .85);
}

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

.brand {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    color: var(--ink);
    min-width: 245px;
}

.brand img {
    width: 54px;
    height: 54px;
    object-fit: contain;
    border-radius: 16px;
    box-shadow: 0 10px 24px rgba(10, 63, 102, .14);
}

.brand strong,
.brand small {
    display: block;
}

.brand strong {
    font-size: 18px;
    letter-spacing: .01em;
}

.brand small {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.25;
    margin-top: 1px;
}

.primary-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
    flex-wrap: wrap;
}

.primary-nav a {
    color: #454257;
    font-weight: 650;
    font-size: 14px;
    padding: 10px 12px;
    border-radius: 999px;
}

.primary-nav a:hover {
    color: var(--blue);
    background: rgba(10, 63, 102, .08);
}

.nav-toggle {
    display: none;
    align-items: center;
    gap: 7px;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 14px;
    padding: 9px 11px;
    font: inherit;
    color: var(--ink);
}

.nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--blue);
    border-radius: 999px;
}

.nav-toggle b {
    font-size: 13px;
}

.hero {
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(circle at 78% 18%, rgba(180, 142, 62, .32), transparent 30%),
        radial-gradient(circle at 28% 78%, rgba(255, 255, 255, .11), transparent 36%),
        linear-gradient(135deg, var(--blue) 0%, #07304e 58%, #201e30 100%);
}

.hero::after {
    content: "";
    position: absolute;
    inset: auto -10% -120px -10%;
    height: 190px;
    background: #fff;
    transform: rotate(-2deg);
    transform-origin: left top;
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(360px, .78fr);
    gap: 54px;
    align-items: center;
}

.eyebrow,
.section-kicker {
    color: var(--gold);
    font-weight: 800;
    font-size: 13px;
    line-height: 1.35;
    text-transform: uppercase;
    letter-spacing: .12em;
    margin: 0 0 14px;
}

.hero h1,
.section h2,
.form-head h2 {
    margin: 0;
    line-height: 1.06;
    letter-spacing: -.04em;
}

.hero h1 {
    max-width: 820px;
    font-size: clamp(38px, 5.5vw, 72px);
}

.lead {
    font-size: clamp(18px, 2.1vw, 22px);
    max-width: 820px;
    margin: 24px 0 0;
    color: rgba(255, 255, 255, .86);
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    border: 0;
    border-radius: 999px;
    padding: 12px 20px;
    font: inherit;
    font-weight: 800;
    line-height: 1.2;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

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

.btn-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--gold), #caa865);
    box-shadow: 0 14px 28px rgba(0, 0, 0, .18);
}

.btn-primary:hover {
    color: #fff;
    background: linear-gradient(135deg, #c09b50, var(--gold));
}

.btn-ghost {
    color: #fff;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .28);
}

.btn-ghost:hover {
    color: #fff;
    background: rgba(255, 255, 255, .18);
}

.hero-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 40px 0 0;
    max-width: 690px;
}

.hero-facts div {
    padding: 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .10);
    border: 1px solid rgba(255, 255, 255, .15);
}

.hero-facts dt {
    font-size: 34px;
    font-weight: 900;
    line-height: 1;
}

.hero-facts dd {
    margin: 7px 0 0;
    color: rgba(255, 255, 255, .78);
    font-size: 13px;
}

.hero-card {
    padding: 18px;
    border-radius: 30px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 28px 80px rgba(0, 0, 0, .26);
    color: var(--ink);
}

.hero-card-top {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 2px 4px 16px;
}

.hero-card-top img {
    width: 72px;
    height: 72px;
    border-radius: 22px;
}

.hero-card-top strong,
.hero-card-top span {
    display: block;
}

.hero-card-top strong {
    font-size: 18px;
}

.hero-card-top span {
    color: var(--muted);
    font-size: 13px;
}

.hero-photo {
    width: 100%;
    aspect-ratio: 4 / 4.8;
    object-fit: cover;
    border-radius: 22px;
}

.trust-strip {
    position: relative;
    z-index: 2;
    margin-top: -34px;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.trust-grid div {
    min-height: 116px;
    padding: 20px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: var(--shadow);
}

.trust-grid strong,
.trust-grid span {
    display: block;
}

.trust-grid strong {
    color: var(--blue);
    font-size: 17px;
}

.trust-grid span {
    color: var(--muted);
    margin-top: 8px;
    font-size: 14px;
}

.split {
    display: grid;
    grid-template-columns: minmax(280px, .82fr) minmax(0, 1.18fr);
    gap: 54px;
    align-items: start;
}

.section h2,
.form-head h2 {
    font-size: clamp(30px, 4vw, 48px);
    color: var(--ink);
}

.prose {
    font-size: 18px;
    color: #4d4a5d;
}

.prose p:first-child {
    margin-top: 0;
}

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

.info-card,
.brand-card,
.vacancy-card,
.contact-card,
.requisites-card,
.contact-panel,
.form-wrap {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 16px 42px rgba(49, 46, 67, .06);
}

.info-card,
.brand-card,
.vacancy-card,
.contact-card {
    padding: 24px;
}

.info-card h3,
.brand-card h3,
.vacancy-card h3,
.contact-card h3 {
    margin: 0 0 12px;
    color: var(--blue);
    line-height: 1.2;
    font-size: 21px;
}

.info-card p,
.brand-card p,
.vacancy-card p,
.contact-card p {
    margin: 0;
    color: #555268;
}

.section-head {
    max-width: 820px;
    margin-bottom: 32px;
}

.section-head p:not(.section-kicker),
.soft-text {
    color: var(--muted);
    font-size: 17px;
}

.activity-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.activity-item {
    display: flex;
    min-height: 96px;
    align-items: flex-start;
    padding: 18px;
    color: var(--ink);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    font-weight: 700;
    box-shadow: 0 10px 26px rgba(10, 63, 102, .05);
}

.activity-item::before {
    content: "";
    flex: 0 0 8px;
    width: 8px;
    height: 8px;
    margin: 9px 10px 0 0;
    border-radius: 999px;
    background: var(--gold);
}

.brand-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.cert-gallery {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-top: 26px;
}

.cert-card {
    position: relative;
    display: block;
    overflow: hidden;
    min-height: 230px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: 0 14px 34px rgba(49, 46, 67, .07);
}

.cert-card img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    object-position: top center;
    transition: transform .25s ease;
}

.cert-card:hover img {
    transform: scale(1.03);
}

.cert-card span {
    position: absolute;
    inset: auto 12px 12px 12px;
    padding: 9px 11px;
    color: #fff;
    background: rgba(10, 63, 102, .92);
    border-radius: 14px;
    font-weight: 800;
    font-size: 13px;
}

.cert-card.static {
    cursor: default;
}

.chip-cloud,
.partners-list {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.chip-cloud span,
.partners-list span {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 9px 13px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: 0 8px 20px rgba(10, 63, 102, .05);
    font-weight: 700;
    color: #4a465d;
}

.media-section {
    padding: 26px 0 78px;
}

.media-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    gap: 16px;
}

.media-grid figure {
    margin: 0;
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    box-shadow: var(--shadow);
    min-height: 290px;
}

.media-grid img {
    width: 100%;
    height: 100%;
    min-height: 290px;
    object-fit: cover;
}

.media-grid figcaption {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 14px;
    padding: 10px 12px;
    border-radius: 14px;
    color: #fff;
    background: rgba(10, 63, 102, .9);
    font-weight: 800;
    font-size: 13px;
}

.doc-link {
    display: inline-flex;
    align-items: center;
    margin-top: 18px;
    color: #fff;
    background: var(--blue);
    border-radius: 999px;
    padding: 12px 16px;
    font-weight: 800;
}

.doc-link:hover {
    color: #fff;
    background: var(--blue-2);
}

.requisites-card {
    padding: 8px 22px;
}

.requisites-list {
    margin: 0;
}

.requisites-list div {
    display: grid;
    grid-template-columns: minmax(145px, .52fr) minmax(0, 1fr);
    gap: 18px;
    padding: 15px 0;
    border-bottom: 1px solid var(--line);
}

.requisites-list div:last-child {
    border-bottom: 0;
}

.requisites-list dt {
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.requisites-list dd {
    margin: 0;
    color: var(--ink);
    font-weight: 700;
    overflow-wrap: anywhere;
}

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

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

.tag {
    display: inline-block;
    margin: 0 0 14px !important;
    padding: 6px 10px;
    border-radius: 999px;
    color: var(--blue) !important;
    background: rgba(10, 63, 102, .08);
    font-size: 13px;
    font-weight: 800;
}

.vacancy-card a {
    display: inline-flex;
    margin-top: 16px;
    font-weight: 850;
}

.contact-card .note {
    margin-top: 10px;
    color: var(--muted);
    font-size: 14px;
}

.contact-panel {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 18px;
    padding: 28px;
    color: #fff;
    background:
        radial-gradient(circle at 82% 15%, rgba(180, 142, 62, .35), transparent 28%),
        linear-gradient(135deg, var(--blue), #1e1c2d);
    border: 0;
}

.contact-panel h3,
.contact-panel p {
    margin: 0;
}

.contact-panel h3 {
    color: #fff;
    font-size: 22px;
}

.contact-panel p {
    margin-top: 9px;
    color: rgba(255, 255, 255, .82);
}

.contact-panel a {
    color: #fff;
    font-weight: 850;
}

.form-wrap {
    margin-top: 18px;
    padding: 30px;
}

.contact-form {
    display: grid;
    gap: 18px;
}

.form-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(240px, .56fr);
    gap: 24px;
    align-items: end;
}

.form-head p:last-child {
    margin: 0;
    color: var(--muted);
}

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

.contact-form label {
    display: grid;
    gap: 7px;
    color: var(--ink);
    font-size: 14px;
    font-weight: 800;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1px solid #d7dde6;
    border-radius: 16px;
    background: #fff;
    color: var(--ink);
    font: inherit;
    font-weight: 600;
    padding: 13px 14px;
    outline: none;
    transition: border-color .18s ease, box-shadow .18s ease;
}

.contact-form textarea {
    resize: vertical;
    min-height: 150px;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: rgba(10, 63, 102, .55);
    box-shadow: 0 0 0 4px rgba(10, 63, 102, .10);
}

.file-label span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
}

.captcha-block {
    min-height: 72px;
    display: flex;
    align-items: center;
}

.captcha-placeholder {
    width: 100%;
    padding: 14px 16px;
    border-radius: 16px;
    color: #815f10;
    background: #fff8e4;
    border: 1px solid #f1d38a;
    font-weight: 800;
}

.consent {
    display: flex !important;
    grid-template-columns: auto 1fr;
    align-items: flex-start;
    gap: 10px !important;
    color: var(--muted) !important;
    font-weight: 650 !important;
}

.consent input {
    width: 18px;
    height: 18px;
    margin-top: 4px;
}

.form-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.form-status {
    min-height: 24px;
    color: var(--muted);
    font-weight: 750;
}

.form-status.ok {
    color: #187240;
}

.form-status.err {
    color: #a33838;
}

.hidden-field {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
}

.site-footer {
    color: #fff;
    background: #1e1c2d;
    padding: 34px 0;
}

.footer-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
}

.footer-grid > div:first-child {
    display: flex;
    align-items: center;
    gap: 13px;
}

.footer-grid img {
    width: 48px;
    height: 48px;
    border-radius: 14px;
}

.footer-grid strong,
.footer-grid span {
    display: block;
}

.footer-grid span {
    color: rgba(255, 255, 255, .68);
    font-size: 13px;
}

.footer-grid > div:last-child {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.footer-grid a {
    color: rgba(255, 255, 255, .84);
    font-weight: 800;
}

.footer-grid a:hover {
    color: #fff;
}

.email-obf[data-ready="1"] {
    font-weight: 850;
}

@media (max-width: 1020px) {
    .hero-grid,
    .split {
        grid-template-columns: 1fr;
    }

    .hero-card {
        max-width: 620px;
    }

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

    .cards-3,
    .contacts-grid {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 760px) {
    .container {
        width: min(100% - 28px, var(--container));
    }

    .section-pad {
        padding: 58px 0;
    }

    .header-inner {
        min-height: 68px;
    }

    .brand {
        min-width: 0;
    }

    .brand img {
        width: 48px;
        height: 48px;
    }

    .brand strong {
        font-size: 16px;
    }

    .brand small {
        display: none;
    }

    .nav-toggle {
        display: inline-grid;
        grid-template-columns: 18px auto;
    }

    .nav-toggle span {
        grid-column: 1;
    }

    .nav-toggle b {
        grid-column: 2;
        grid-row: 1 / span 3;
        align-self: center;
    }

    .primary-nav {
        position: absolute;
        left: 14px;
        right: 14px;
        top: 72px;
        display: none;
        padding: 12px;
        background: #fff;
        border: 1px solid var(--line);
        border-radius: 18px;
        box-shadow: var(--shadow);
    }

    .primary-nav.is-open {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .primary-nav a {
        border-radius: 12px;
    }

    .hero {
        padding-top: 40px;
    }

    .hero-grid {
        gap: 32px;
    }

    .hero h1 {
        font-size: clamp(34px, 11vw, 48px);
    }

    .lead {
        font-size: 17px;
    }

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

    .hero-card {
        padding: 14px;
        border-radius: 24px;
    }

    .hero-photo {
        aspect-ratio: 16 / 11;
    }

    .trust-grid,
    .cards-3,
    .activity-grid,
    .brand-grid,
    .cert-gallery,
    .vacancies-grid,
    .contacts-grid,
    .contact-panel,
    .form-head,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .section h2,
    .form-head h2 {
        font-size: clamp(28px, 9vw, 38px);
    }

    .prose {
        font-size: 16px;
    }

    .requisites-card {
        padding: 4px 16px;
    }

    .requisites-list div {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .form-wrap {
        padding: 20px;
    }

    .footer-grid,
    .footer-grid > div:first-child {
        align-items: flex-start;
        flex-direction: column;
    }

    .cert-card,
    .cert-card img {
        min-height: 260px;
        height: 260px;
    }
}

@media (max-width: 420px) {
    .hero-actions,
    .form-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .primary-nav.is-open {
        grid-template-columns: 1fr;
    }
}

/* v3 adjustments */
.brand {
    min-width: 290px;
}

.brand img {
    width: 68px;
    height: 68px;
    border-radius: 18px;
}

.brand strong {
    font-size: 21px;
}

.brand small {
    font-size: 13px;
    margin-top: 3px;
}

.factsheet-title {
    margin: 36px 0 12px;
    color: rgba(255, 255, 255, .92);
    font-size: 16px;
    font-weight: 800;
}

.hero-card-top {
    gap: 16px;
    padding: 4px 6px 18px;
}

.hero-card-top img {
    width: 90px;
    height: 90px;
    border-radius: 24px;
}

.hero-brand-meta strong,
.hero-brand-meta span {
    display: block;
}

.hero-brand-meta strong {
    font-size: 22px;
    line-height: 1.15;
}

.hero-brand-meta span {
    margin-top: 4px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 600;
}

.brand-card p {
    margin-bottom: 0;
}

.brand-link {
    display: inline-flex;
    margin-top: 14px;
    font-weight: 800;
}

.edo-panel {
    display: grid;
    gap: 14px;
    margin-top: 24px;
}

.edo-item {
    padding: 18px 20px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: 0 10px 26px rgba(10, 63, 102, .05);
}

.edo-item strong,
.edo-item span {
    display: block;
}

.edo-item strong {
    color: var(--blue);
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.edo-item span {
    margin-top: 8px;
    color: var(--ink);
    font-size: 15px;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.requisites-list dd {
    font-weight: 500;
}

.vacancies-head {
    margin-bottom: 26px;
}

.vacancies-head h2 {
    font-size: clamp(36px, 4.4vw, 54px);
}

.vacancies-head .soft-text {
    margin-top: 14px;
    max-width: 760px;
    font-size: 16px;
}

.vacancy-card {
    padding: 28px;
}

.vacancy-card a {
    display: inline-flex;
    margin-top: 18px;
    font-weight: 850;
}

.footer-grid img {
    width: 68px;
    height: 68px;
}

@media (max-width: 900px) {
    .brand {
        min-width: 0;
    }

    .brand img {
        width: 62px;
        height: 62px;
    }

    .hero-card-top img {
        width: 84px;
        height: 84px;
    }
}

@media (max-width: 640px) {
    .factsheet-title {
        margin-top: 28px;
    }

    .hero-brand-meta strong {
        font-size: 20px;
    }

    .edo-item span {
        font-size: 14px;
    }
}

/* v5 adjustments */
.header-inner {
    min-height: 108px;
    padding: 14px 0;
}

.brand {
    min-width: 300px;
}

.brand img {
    width: 78px;
    height: 78px;
    border-radius: 22px;
}

.header-tools {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    flex: 0 0 auto;
}

.header-contacts {
    display: grid;
    gap: 5px;
    justify-items: end;
    min-width: 190px;
    font-size: 13px;
    line-height: 1.25;
}

.header-contacts span,
.header-contacts a {
    color: #4c4960;
    font-weight: 800;
    white-space: nowrap;
}

.header-contacts a:hover,
.header-contacts .email-obf a:hover {
    color: var(--blue-2);
}

.header-contacts .email-obf a {
    color: var(--blue);
    font-weight: 900;
}

.factsheet-title {
    margin: 42px 0 18px;
    color: rgba(255, 255, 255, .95);
    font-size: clamp(30px, 4.3vw, 52px);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -.035em;
}

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

.own-products-block {
    margin-top: 42px;
}

.section-head-compact {
    margin-bottom: 18px;
}

.section-head-compact h3 {
    margin: 0;
    color: var(--ink);
    font-size: clamp(26px, 3vw, 38px);
    line-height: 1.12;
    letter-spacing: -.035em;
}

.section-head-compact p {
    margin: 10px 0 0;
}

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

.vacancies-grid--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
}

.vacancy-card-rich {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 26px;
    min-height: 100%;
}

.vacancy-topline {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 2px;
}

.vacancy-topline span,
.vacancy-topline strong {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 7px 10px;
    border-radius: 999px;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 850;
}

.vacancy-topline span {
    color: var(--blue);
    background: rgba(10, 63, 102, .08);
}

.vacancy-topline strong {
    color: #fff;
    background: var(--blue);
    text-align: right;
    white-space: nowrap;
}

.vacancy-card-rich h3 {
    margin-bottom: 0;
    font-size: 23px;
}

.vacancy-lead {
    color: #4f4b60 !important;
}

.vacancy-meta,
.vacancy-details ul {
    margin: 0;
    padding-left: 19px;
    color: #555268;
}

.vacancy-meta li,
.vacancy-details li {
    margin: 7px 0;
}

.vacancy-card-rich details {
    margin-top: 4px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #f8fafc;
    overflow: hidden;
}

.vacancy-card-rich summary {
    padding: 14px 16px;
    color: var(--blue);
    font-weight: 900;
    cursor: pointer;
}

.vacancy-details {
    display: grid;
    gap: 10px;
    padding: 0 16px 16px;
}

.vacancy-details h4 {
    margin: 12px 0 0;
    color: var(--ink);
    font-size: 15px;
}

.vacancy-apply {
    margin-top: auto !important;
    display: inline-flex;
    align-self: flex-start;
    color: #fff;
    background: var(--gold);
    border-radius: 999px;
    padding: 11px 15px;
    font-weight: 900;
}

.vacancy-apply:hover {
    color: #fff;
    background: #c09b50;
}

@media (max-width: 1160px) {
    .header-inner {
        gap: 16px;
    }

    .brand {
        min-width: 250px;
    }

    .primary-nav a {
        padding-inline: 9px;
        font-size: 13px;
    }

    .header-contacts {
        min-width: 170px;
        font-size: 12px;
    }

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

@media (max-width: 900px) {
    .header-inner {
        min-height: 100px;
    }

    .brand img {
        width: 70px;
        height: 70px;
    }

    .header-contacts {
        justify-items: start;
    }
}

@media (max-width: 760px) {
    .header-inner {
        min-height: 96px;
        padding: 10px 0;
    }

    .brand img {
        width: 62px;
        height: 62px;
    }

    .brand strong {
        font-size: 17px;
    }

    .brand small {
        display: block;
        font-size: 11px;
    }

    .header-tools {
        gap: 8px;
        margin-left: auto;
    }

    .header-contacts {
        min-width: 0;
        font-size: 11px;
        justify-items: end;
    }

    .header-contacts span {
        display: none;
    }

    .header-contacts a {
        white-space: nowrap;
    }

    .primary-nav {
        top: 104px;
    }

    .factsheet-title {
        font-size: clamp(30px, 10vw, 42px);
    }

    .suppliers-grid,
    .own-products-grid,
    .vacancies-grid--three {
        grid-template-columns: 1fr;
    }

    .vacancy-topline {
        flex-direction: column;
    }

    .vacancy-topline strong {
        white-space: normal;
        text-align: left;
    }
}

@media (max-width: 460px) {
    .header-contacts {
        display: none;
    }

    .brand img {
        width: 58px;
        height: 58px;
    }
}

/* v6 grid/header fixes */
.header-inner {
    min-height: 124px;
    padding: 18px 0;
    align-items: center;
}

.brand {
    min-width: 340px;
    flex: 0 0 auto;
}

.brand span {
    min-width: 0;
}

.brand strong {
    white-space: nowrap;
    font-size: 22px;
}

.header-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 10px;
    margin-left: auto;
    min-width: 0;
}

.header-right .primary-nav {
    justify-content: flex-end;
}

.header-contacts {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 8px 12px;
    min-width: 0;
    padding: 9px 14px;
    border: 1px solid rgba(180, 142, 62, .35);
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(180, 142, 62, .16), rgba(10, 63, 102, .08));
    box-shadow: 0 8px 22px rgba(10, 63, 102, .08);
    color: var(--ink);
    font-size: 13px;
    line-height: 1.25;
}

.header-contacts span,
.header-contacts a,
.header-contacts .email-obf a {
    color: var(--blue);
    font-weight: 850;
    white-space: nowrap;
}

.header-contacts a:hover,
.header-contacts .email-obf a:hover {
    color: var(--blue-2);
}

.container.section-head {
    width: min(var(--container), calc(100% - 40px));
    max-width: min(var(--container), calc(100% - 40px));
    margin-left: auto;
    margin-right: auto;
}

.own-products-block .section-head {
    width: auto;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
}

.factsheet-title {
    display: inline-flex;
    align-items: center;
    margin: 38px 0 18px;
    padding: 12px 18px;
    color: #fff;
    background: linear-gradient(135deg, rgba(49, 46, 67, .92), rgba(10, 63, 102, .88));
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 20px;
    box-shadow: 0 14px 32px rgba(0, 0, 0, .18);
    font-size: clamp(34px, 5.2vw, 62px);
    font-weight: 900;
    line-height: 1.02;
    letter-spacing: -.04em;
}

.section#brands .section-head {
    margin-bottom: 24px;
}

.copyright {
    grid-column: 1 / -1;
    margin: 18px 0 0;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, .16);
    color: rgba(255, 255, 255, .68);
    font-size: 13px;
}

@media (max-width: 1160px) {
    .brand {
        min-width: 315px;
    }

    .header-inner {
        gap: 18px;
    }

    .primary-nav a {
        padding-inline: 8px;
    }
}

@media (max-width: 980px) {
    .header-inner {
        flex-wrap: wrap;
        min-height: 116px;
    }

    .brand {
        min-width: 0;
    }

    .header-right {
        order: 3;
        flex: 1 0 100%;
        align-items: flex-start;
        margin-left: 0;
    }

    .header-right .primary-nav {
        justify-content: flex-start;
    }

    .header-contacts {
        justify-content: flex-start;
        border-radius: 18px;
    }
}

@media (max-width: 760px) {
    .header-inner {
        min-height: 92px;
        flex-wrap: nowrap;
    }

    .brand strong {
        font-size: 17px;
        white-space: nowrap;
    }

    .header-right {
        display: block;
        order: initial;
        flex: initial;
        margin-left: auto;
    }

    .header-right .primary-nav {
        top: 100px;
    }

    .header-contacts {
        display: none;
    }

    .container.section-head {
        width: min(100% - 28px, var(--container));
        max-width: min(100% - 28px, var(--container));
    }

    .factsheet-title {
        font-size: clamp(30px, 10vw, 44px);
        padding: 10px 14px;
        border-radius: 16px;
    }
}

@media (max-width: 420px) {
    .brand strong {
        font-size: 15px;
    }
}


/* v7: distinct main hero title */
.hero h1 {
    position: relative;
    max-width: 980px;
    color: #fff;
    font-size: clamp(42px, 6.4vw, 82px);
    font-weight: 900;
    line-height: .98;
    letter-spacing: -.055em;
    text-wrap: balance;
    text-shadow: 0 14px 34px rgba(0, 0, 0, .22);
}

.hero h1::after {
    content: "";
    display: block;
    width: min(220px, 48%);
    height: 5px;
    margin-top: 22px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--gold), rgba(255, 255, 255, .42));
    box-shadow: 0 8px 22px rgba(180, 142, 62, .35);
}

.section h2,
.form-head h2 {
    letter-spacing: -.035em;
}

@media (max-width: 640px) {
    .hero h1 {
        font-size: clamp(36px, 12vw, 48px);
        line-height: 1.02;
    }

    .hero h1::after {
        width: 150px;
        height: 4px;
        margin-top: 18px;
    }
}


/* v8 hero full-width image */
.hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
}

.hero-copy,
.hero-visual {
    grid-column: 1 / -1;
}

.hero-visual {
    position: relative;
    z-index: 1;
    margin-top: 4px;
}

.hero-photo-wide {
    width: 100%;
    aspect-ratio: 16 / 6.4;
    object-fit: cover;
    object-position: center;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, .18);
    box-shadow: 0 28px 80px rgba(0, 0, 0, .24);
}

@media (max-width: 900px) {
    .hero-grid {
        gap: 28px;
    }

    .hero-photo-wide {
        aspect-ratio: 16 / 9;
        border-radius: 24px;
    }
}

@media (max-width: 640px) {
    .hero-photo-wide {
        aspect-ratio: 4 / 3;
        border-radius: 20px;
    }
}


/* v9 requested layout fixes */
.factsheet-title {
    display: block;
    align-items: initial;
    width: auto;
    margin: 42px 0 18px;
    padding: 0;
    color: #fff;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    font-size: clamp(34px, 5.2vw, 62px);
    font-weight: 900;
    line-height: 1.02;
    letter-spacing: -.04em;
    text-shadow: 0 10px 26px rgba(0, 0, 0, .24);
}

.section#brands .cert-gallery {
    margin-top: 28px;
    margin-bottom: 0;
}

.own-products-block {
    margin-top: 54px;
}

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

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 12px;
    color: var(--blue);
    font-size: 13px;
    font-weight: 850;
}

.project-link b {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 999px;
    color: #fff;
    background: var(--gold);
    font-size: 14px;
    line-height: 1;
}

.project-link:hover {
    color: var(--blue-2);
}

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

@media (max-width: 760px) {
    .factsheet-title {
        padding: 0;
        border-radius: 0;
        font-size: clamp(30px, 10vw, 44px);
    }

    .own-products-grid {
        grid-template-columns: 1fr;
    }
}


/* v9 product/client refinements */
.factsheet-title {
    display: block;
    margin: 42px 0 18px;
    padding: 0 !important;
    color: #fff;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.section-head-grid {
    display: grid;
    grid-template-columns: minmax(280px, .82fr) minmax(0, 1.18fr);
    gap: 54px;
    align-items: start;
    max-width: none;
}

.section-head-grid .soft-text {
    margin: 0;
    font-size: 18px;
}

#clients .chip-cloud {
    margin-top: 28px;
}

.own-product-card .project-link {
    margin-top: 14px;
}

@media (max-width: 900px) {
    .section-head-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .section-head-grid .soft-text {
        font-size: 16px;
    }
}


/* v10 partners staggered layout */
#partners .section-head {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.partners-list {
    display: grid;
    gap: 12px;
    justify-items: center;
}

.partners-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.partners-row:nth-child(2) {
    transform: translateX(34px);
}

@media (max-width: 900px) {
    #partners .section-head {
        text-align: left;
        margin-left: auto;
        margin-right: auto;
    }

    .partners-row:nth-child(2) {
        transform: none;
    }
}

/* v12 fixes */
.hero-facts {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    max-width: 920px;
}

.section-descriptor {
    margin: 12px 0 14px;
    color: #4d4a5d;
    font-size: clamp(17px, 1.7vw, 20px);
    font-weight: 650;
    line-height: 1.45;
}

#requisites .split > div:first-child h2,
.contacts-head h2 {
    margin: 0;
    color: var(--ink);
    font-size: clamp(34px, 4.2vw, 54px);
    line-height: 1.05;
    letter-spacing: -.04em;
}

.contacts-head .soft-text {
    margin-top: 12px;
    font-size: 18px;
}

.buh-email .email-obf,
.buh-email .email-obf[data-ready="1"],
.buh-email .email-obf a {
    font-weight: 500 !important;
}

.vacancy-controls {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: -8px;
    margin-bottom: 14px;
}

.vacancy-nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--blue);
    background: #fff;
    box-shadow: 0 10px 22px rgba(10, 63, 102, .08);
    font: inherit;
    font-size: 20px;
    font-weight: 900;
    cursor: pointer;
}

.vacancy-nav:hover {
    color: #fff;
    background: var(--blue);
}

.vacancy-nav:disabled {
    opacity: .35;
    cursor: default;
    pointer-events: none;
}

.vacancies-carousel {
    overflow: hidden;
}

.vacancies-track {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding: 2px;
    padding: 2px 2px 12px;
    scrollbar-width: thin;
}

.vacancies-track .vacancy-card {
    flex: 0 0 calc((100% - 36px) / 3);
    scroll-snap-align: start;
}

.own-product-card .project-link {
    align-self: flex-start;
}

@media (max-width: 1100px) {
    .hero-facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: 690px;
    }

    .vacancies-track .vacancy-card {
        flex-basis: calc((100% - 18px) / 2);
    }
}

@media (max-width: 760px) {
    .hero-facts {
        grid-template-columns: 1fr;
    }

    .vacancy-controls {
        justify-content: flex-start;
    }

    .vacancies-track .vacancy-card {
        flex-basis: min(92%, 420px);
    }
}


/* v13 distributed brands */
.distributed-brands-block {
    margin-top: 44px;
}

.distributed-brands-block .section-head-compact {
    max-width: 980px;
}

.brands-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.brands-cloud span {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 8px 12px;
    border-radius: 999px;
    color: #423f52;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: 0 8px 18px rgba(10, 63, 102, .045);
    font-size: 12px;
    font-weight: 850;
    letter-spacing: .035em;
    text-transform: uppercase;
}

@media (max-width: 640px) {
    .brands-cloud {
        gap: 7px;
    }

    .brands-cloud span {
        min-height: 32px;
        padding: 7px 10px;
        font-size: 11px;
    }
}

/* v14 fix: keep diagonal white band below hero stats/image */
.hero {
    padding-bottom: 150px;
}

.hero::after {
    z-index: 0;
    inset: auto -10% -175px -10%;
    height: 150px;
}

.hero-grid,
.hero-copy,
.hero-visual,
.factsheet-title,
.hero-facts,
.hero-facts div,
.hero-photo-wide {
    position: relative;
    z-index: 2;
}

@media (max-width: 900px) {
    .hero {
        padding-bottom: 120px;
    }

    .hero::after {
        inset: auto -10% -150px -10%;
        height: 130px;
    }
}

@media (max-width: 640px) {
    .hero {
        padding-bottom: 105px;
    }

    .hero::after {
        inset: auto -10% -130px -10%;
        height: 115px;
    }
}


/* v15 office e-mail style */
.office-email {
    margin-top: 10px;
    color: var(--ink);
    font-weight: 500;
}

.office-email .email-obf,
.office-email .email-obf[data-ready="1"],
.office-email .email-obf a {
    font-weight: 500;
}


/* v23 partners: one sorted staggered cloud */
.partners-section .section-head-centered {
    max-width: var(--container);
    margin-inline: auto;
    text-align: center;
}

.partners-cloud {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 14px 12px;
    padding-top: 8px;
}

.partners-cloud span {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 9px 14px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: 0 8px 20px rgba(10, 63, 102, .05);
    font-weight: 700;
    color: #4a465d;
    white-space: nowrap;
}

.partners-cloud span.is-up {
    transform: translateY(-5px);
}

.partners-cloud span.is-down {
    transform: translateY(7px);
}

.partners-list,
.partners-row {
    justify-content: center;
}

@media (max-width: 760px) {
    .partners-cloud {
        gap: 10px;
        justify-content: flex-start;
    }

    .partners-cloud span {
        white-space: normal;
        transform: none !important;
    }
}


/* v24 clients cloud: centered staggered bubbles */
#clients .chip-cloud {
    justify-content: center;
    align-items: center;
    gap: 14px 12px;
    padding-top: 8px;
}

#clients .chip-cloud span {
    white-space: nowrap;
}

#clients .chip-cloud span:nth-child(6n + 1) {
    transform: translateY(-6px);
}

#clients .chip-cloud span:nth-child(6n + 2) {
    transform: translateY(5px);
}

#clients .chip-cloud span:nth-child(6n + 3) {
    transform: translateY(-2px);
}

#clients .chip-cloud span:nth-child(6n + 4) {
    transform: translateY(8px);
}

#clients .chip-cloud span:nth-child(6n + 5) {
    transform: translateY(-5px);
}

#clients .chip-cloud span:nth-child(6n) {
    transform: translateY(3px);
}

@media (max-width: 760px) {
    #clients .chip-cloud {
        justify-content: flex-start;
        gap: 10px;
    }

    #clients .chip-cloud span {
        white-space: normal;
        transform: none !important;
    }
}


/* v26 layout repair after removing PDF links */
html,
body {
    max-width: 100%;
    overflow-x: clip;
}

.container {
    max-width: calc(100vw - 40px);
}

.cert-gallery {
    overflow: visible;
}

.cert-card.static {
    cursor: default;
}

.project-link {
    max-width: 100%;
}

.chip-cloud,
.partners-cloud,
.brands-cloud {
    max-width: 100%;
    min-width: 0;
}

.chip-cloud span,
.partners-cloud span,
.brands-cloud span {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: normal;
}

#clients .chip-cloud span,
.partners-cloud span {
    white-space: normal;
}

@media (min-width: 761px) {
    #clients .chip-cloud span,
    .partners-cloud span {
        white-space: normal;
    }
}

@supports not (overflow-x: clip) {
    html,
    body {
        overflow-x: hidden;
    }
}


/* v27 hard layout guard */
html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

*,
*::before,
*::after {
    min-width: 0;
}

.container {
    width: min(var(--container), calc(100% - 40px));
    max-width: calc(100vw - 40px);
}

img,
svg,
video,
canvas,
iframe {
    max-width: 100%;
}

.cert-gallery,
.brand-grid,
.activity-grid,
.cards-3,
.contacts-grid,
.trust-grid,
.media-grid,
.vacancies-grid,
.own-products-grid {
    max-width: 100%;
    min-width: 0;
}

.cert-card,
.brand-card,
.info-card,
.activity-item,
.contact-card,
.vacancy-card,
.requisites-card,
.form-wrap {
    min-width: 0;
    overflow-wrap: anywhere;
}

.project-link {
    max-width: 100%;
}

.project-link span {
    min-width: 0;
}

#clients .chip-cloud,
.partners-cloud,
.brands-cloud {
    max-width: 100%;
    overflow: visible;
}

#clients .chip-cloud span,
.partners-cloud span,
.brands-cloud span {
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
}

@media (max-width: 1180px) {
    .activity-grid,
    .brand-grid,
    .cert-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .activity-grid,
    .brand-grid,
    .cert-gallery,
    .cards-3,
    .trust-grid,
    .contacts-grid,
    .media-grid {
        grid-template-columns: 1fr;
    }
}


/* v29 typography and client bubbles alignment */
.hero h1 {
    font-size: clamp(27px, 3.85vw, 50px);
    line-height: 1.12;
    max-width: 900px;
}

#clients .chip-cloud {
    justify-content: center;
    align-items: center;
    gap: 12px;
}

#clients .chip-cloud span,
#clients .chip-cloud span:nth-child(n) {
    transform: none !important;
}

@media (max-width: 760px) {
    .hero h1 {
        font-size: clamp(27px, 8.5vw, 40px);
    }

    #clients .chip-cloud {
        justify-content: center;
    }
}


/* v30 partners bubbles alignment */
.partners-cloud {
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.partners-cloud span,
.partners-cloud span.is-up,
.partners-cloud span.is-down {
    transform: none !important;
}

@media (max-width: 760px) {
    .partners-cloud {
        justify-content: center;
    }
}


/* v31 headings and parallel import block */
#activities .section-head h2 {
    margin: 0;
    color: var(--ink);
    font-size: clamp(34px, 4.2vw, 54px);
    line-height: 1.05;
    letter-spacing: -.04em;
}

#activities .section-head .soft-text {
    margin-top: 14px;
    max-width: 840px;
    font-size: 18px;
}

.parallel-import-block {
    margin-top: 44px;
}

.parallel-import-block .section-head-compact {
    max-width: 980px;
}

.parallel-import-block h3,
.distributed-brands-block h3,
.own-products-block h3 {
    margin: 0;
    color: var(--ink);
    font-size: clamp(26px, 3vw, 38px);
    line-height: 1.08;
    letter-spacing: -.035em;
}

.parallel-logo-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 18px 16px;
    margin-top: 22px;
}

.parallel-logo-row span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 13px 20px;
    border-radius: 18px;
    color: var(--blue);
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: 0 12px 28px rgba(10, 63, 102, .07);
    font-size: clamp(14px, 1.5vw, 18px);
    font-weight: 900;
    letter-spacing: .02em;
    white-space: nowrap;
}

.parallel-logo-row span:nth-child(odd) {
    transform: translateY(-5px);
}

.parallel-logo-row span:nth-child(even) {
    transform: translateY(7px);
}

@media (max-width: 760px) {
    .parallel-logo-row {
        justify-content: flex-start;
        gap: 10px;
    }

    .parallel-logo-row span {
        min-height: 42px;
        padding: 10px 14px;
        border-radius: 14px;
        white-space: normal;
        transform: none !important;
    }
}


/* v33 suppliers/certs/brands refinements */
.cert-placeholder img {
    object-fit: cover;
}

.brands-cloud {
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.brands-cloud span,
.brands-cloud span:nth-child(n) {
    transform: none !important;
}

@media (max-width: 760px) {
    .brands-cloud {
        justify-content: center;
    }
}


/* v34 supplier/certificate alignment */
.suppliers-grid,
.cert-gallery {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.suppliers-grid {
    position: relative;
    margin-bottom: 38px;
}

.suppliers-grid .brand-card {
    position: relative;
}

.suppliers-grid .brand-card::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -38px;
    width: 2px;
    height: 38px;
    background: linear-gradient(180deg, rgba(180, 142, 62, .7), rgba(10, 63, 102, .25));
    transform: translateX(-50%);
}

.suppliers-grid .brand-card::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -44px;
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: var(--gold);
    box-shadow: 0 0 0 5px rgba(180, 142, 62, .12);
    transform: translateX(-50%);
    z-index: 2;
}

.cert-gallery {
    margin-top: 0;
}

@media (max-width: 1180px) {
    .suppliers-grid,
    .cert-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .suppliers-grid {
        margin-bottom: 24px;
    }

    .suppliers-grid .brand-card::before,
    .suppliers-grid .brand-card::after {
        display: none;
    }
}

@media (max-width: 760px) {
    .suppliers-grid,
    .cert-gallery {
        grid-template-columns: 1fr;
    }
}


/* v35 mobile/header and chip alignment fixes */
@media (max-width: 760px) {
    .site-header {
        position: sticky;
        overflow: visible;
    }

    .header-inner {
        min-height: 0;
        padding: 10px 0 12px;
        display: grid;
        grid-template-columns: 66px minmax(0, 1fr) auto;
        grid-template-areas:
            "logo brand menu"
            "contacts contacts contacts";
        gap: 8px 10px;
        align-items: center;
    }

    .brand {
        display: contents;
        min-width: 0;
    }

    .brand img {
        grid-area: logo;
        width: 58px;
        height: 58px;
        border-radius: 16px;
    }

    .brand > span {
        grid-area: brand;
        min-width: 0;
        display: block;
        line-height: 1.08;
    }

    .brand strong {
        display: block;
        font-size: 19px;
        line-height: 1.05;
        white-space: normal;
        overflow-wrap: normal;
    }

    .brand small {
        display: block;
        margin-top: 3px;
        font-size: 11px;
        line-height: 1.15;
        white-space: nowrap;
        color: var(--muted);
    }

    .nav-toggle {
        grid-area: menu;
        justify-self: end;
        display: inline-flex;
        align-items: center;
        padding: 8px 10px;
    }

    .header-right {
        grid-area: contacts;
        min-width: 0;
        width: 100%;
        display: block;
    }

    .primary-nav {
        display: none;
    }

    .primary-nav.is-open,
    .primary-nav[data-open="true"] {
        display: grid;
        width: 100%;
        margin-top: 8px;
    }

    .header-contacts {
        width: 100%;
        justify-content: center;
        gap: 5px 10px;
        padding: 8px 10px;
        border-radius: 14px;
        font-size: 13px;
        line-height: 1.2;
        text-align: center;
        flex-wrap: wrap;
        box-shadow: 0 8px 18px rgba(10, 63, 102, .08);
    }

    .header-contacts span,
    .header-contacts a {
        display: inline-flex;
        align-items: center;
        white-space: nowrap;
    }

    .hero {
        padding-top: 42px;
    }

    .hero h1 {
        font-size: clamp(33px, 10.5vw, 48px);
        line-height: 1.04;
        letter-spacing: -.055em;
    }
}

/* v35 mobile chips for warehouse brands and partners */
@media (max-width: 760px) {
    .brands-cloud,
    .partners-cloud {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 9px !important;
    }

    .brands-cloud span,
    .partners-cloud span,
    .partners-cloud span.is-up,
    .partners-cloud span.is-down {
        display: inline-flex !important;
        width: auto !important;
        max-width: 100% !important;
        min-height: 34px !important;
        padding: 7px 11px !important;
        border-radius: 999px !important;
        background: #fff !important;
        border: 1px solid var(--line) !important;
        box-shadow: 0 8px 18px rgba(10, 63, 102, .045) !important;
        font-size: 11px !important;
        font-weight: 850 !important;
        line-height: 1.2 !important;
        text-transform: uppercase;
        letter-spacing: .03em;
        white-space: normal !important;
        transform: none !important;
    }

    .partners-cloud span,
    .partners-cloud span.is-up,
    .partners-cloud span.is-down {
        font-size: 13px !important;
        text-transform: none;
        letter-spacing: 0;
    }
}

/* v35 parallel import chips: same horizontal guides */
.parallel-logo-row {
    align-items: stretch;
}

.parallel-logo-row span,
.parallel-logo-row span:nth-child(odd),
.parallel-logo-row span:nth-child(even) {
    min-height: 58px;
    transform: none !important;
    align-self: stretch;
    line-height: 1.15;
    text-align: center;
}


/* v37 parallel import: real logo cards */
.parallel-logo-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 16px;
    margin-top: 22px;
}

.parallel-logo-card {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 1 210px;
    min-height: 92px;
    padding: 16px 18px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: 0 12px 28px rgba(10, 63, 102, .07);
}

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

@media (max-width: 760px) {
    .parallel-logo-row {
        gap: 10px;
    }

    .parallel-logo-card {
        flex: 1 1 calc(50% - 10px);
        min-height: 76px;
        padding: 12px 14px;
        border-radius: 14px;
    }

    .parallel-logo-card img {
        max-width: 140px;
        max-height: 36px;
    }
}


/* v38 parallel import logos from provided SVG files */
.parallel-logo-card {
    padding: 0 !important;
    overflow: hidden;
}

.parallel-logo-card img {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: contain;
}


/* v39 add inner padding to parallel import logo frames */
.parallel-logo-card {
    padding: 16px !important;
}

.parallel-logo-card img {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: contain;
}


/* v41 logo scale and supplier text refinements */
.parallel-logo-card img[src$="5_msi.svg"],
.parallel-logo-card img[src$="7_tait.svg"] {
    transform: scale(.5);
}

.parallel-logo-card img[src$="8_viavi.svg"] {
    transform: scale(.8);
}

.suppliers-section-head .soft-text {
    margin-top: 14px;
    max-width: 980px;
    font-size: 17px;
}


/* v43 five company facts */
.hero-facts {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    max-width: 1120px;
}

@media (max-width: 1200px) {
    .hero-facts {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        max-width: 760px;
    }
}

@media (max-width: 760px) {
    .hero-facts {
        grid-template-columns: 1fr;
        max-width: 100%;
    }
}


/* v51: about section title/highlight and no-wrap cleanup */
#about .about-layout {
    display: grid;
    grid-template-columns: minmax(280px, .82fr) minmax(0, 1.18fr);
    gap: 54px;
    align-items: start;
}

#about .about-heading h2 {
    margin: 0;
    color: var(--ink);
    font-size: clamp(34px, 4.2vw, 54px);
    line-height: 1.05;
    letter-spacing: -.04em;
}

#about .about-statement {
    margin: 18px 0 0;
    padding: 22px 24px;
    border-radius: 24px;
    color: var(--blue);
    background:
        linear-gradient(135deg, rgba(10, 63, 102, .08), rgba(180, 142, 62, .12)),
        #fff;
    border: 1px solid rgba(10, 63, 102, .12);
    box-shadow: 0 14px 34px rgba(49, 46, 67, .07);
    font-size: clamp(20px, 2.25vw, 29px);
    line-height: 1.26;
    font-weight: 850;
}

#about .about-prose {
    align-self: start;
}

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

    #about .about-statement {
        padding: 18px;
        font-size: clamp(19px, 5.8vw, 25px);
    }
}


/* v52: "Де-юре" statement block, variant 3 */
#about .about-statement {
    position: relative;
    margin: 22px 0 0;
    padding: 28px 34px 28px 40px;
    border: 0 !important;
    border-radius: 0 !important;
    background:
        linear-gradient(90deg, rgba(180, 142, 62, .12) 0%, rgba(180, 142, 62, .07) 24%, rgba(10, 63, 102, .045) 68%, rgba(10, 63, 102, .018) 100%),
        linear-gradient(135deg, rgba(255, 255, 255, .96), rgba(255, 255, 255, .72));
    box-shadow: none !important;
    color: var(--blue);
    font-size: clamp(21px, 2.32vw, 30px);
    line-height: 1.22;
    font-weight: 850;
    letter-spacing: -.025em;
}

#about .about-statement::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--gold);
}

@media (max-width: 900px) {
    #about .about-statement {
        margin-top: 18px;
        padding: 22px 22px 22px 28px;
        font-size: clamp(18px, 5.15vw, 25px);
    }
}
