﻿body {
    font-family: "Montserrat", sans-serif;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #f5f5f5;
    --text: #1f1f1f;
    --muted: #5b5b5b;
    --card-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
    --card-shadow-hover: 0 18px 36px rgba(0, 0, 0, 0.22);
    --radius: 28px;
    --white: #ffffff;
    --blue: #1456ae;
    --dark: #0b0b0d;
    --deep-blue: #090994;
}

body {
    font-family: "Montserrat", sans-serif;
    background: var(--bg);
    color: var(--text);
}

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

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

.companies-page {
    min-height: min(100vh, 820px);
       padding: 140px 24px 90px;
}

.companies-section {
    max-width: 980px;
    margin: 0 auto;
}

.section-head {
    text-align: center;
    margin-bottom: 28px;
}

.section-head h1 {
    font-size: clamp(34px, 5vw, 62px);
    line-height: 1;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 8px;
}

.section-head p {
    font-size: clamp(15px, 2vw, 20px);
    color: var(--muted);
    font-weight: 500;
}

.companies-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 18px;
}

.company-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: var(--card-shadow);
    transition: transform 0.35s ease, box-shadow 0.35s ease, filter 0.35s ease;
    isolation: isolate;
}

.company-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.22), rgba(255,255,255,0));
    opacity: 0;
    transition: opacity 0.35s ease;
    z-index: 1;
    pointer-events: none;
}

.company-card:hover {
    transform: translateY(-8px) scale(1.015);
    box-shadow: var(--card-shadow-hover);
}

.company-card:hover::before {
    opacity: 1;
}

.card-glow {
    position: absolute;
    top: -30%;
    left: -60%;
    width: 55%;
    height: 180%;
    background: linear-gradient(
        90deg,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.22) 50%,
        rgba(255,255,255,0) 100%
    );
    transform: rotate(18deg);
    transition: left 0.65s ease;
    z-index: 2;
    pointer-events: none;
}

.company-card:hover .card-glow {
    left: 120%;
}

.card-inner {
    position: relative;
    z-index: 3;
    width: 100%;
    height: 100%;
    padding: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-inner img {
    max-width: 78%;
    max-height: 78%;
    object-fit: contain;
    transition: transform 0.35s ease;
}

.company-card:hover .card-inner img {
    transform: scale(1.045);
}

.company-card--square {
    grid-column: span 2;
    aspect-ratio: 1 / 1;
    background: #f7f7f7;
}

.company-card--wide {
    grid-column: span 3;
    aspect-ratio: 1.8 / 1;
}

.company-card--wide-bottom {
    grid-column: span 3;
    aspect-ratio: 1.9 / 1;
}

.company-card--kamaz {
    background: var(--blue);
}

.company-card--canicom {
    background: var(--dark);
}

.company-card--lkw {
    background: var(--deep-blue);
}

.company-card--service {
    background:
        linear-gradient(
            90deg,
            rgba(5, 12, 25, 0.88) 0%,
            rgba(5, 12, 25, 0.68) 42%,
            rgba(5, 12, 25, 0.22) 100%
        ),
        url("../img/service/service-bg.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.company-card--disabled {
    cursor: default;
}

.company-card--disabled:hover {
    transform: translateY(-4px);
}

.service-content {
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    padding-left: 42px;
}

.service-title {
    color: #ffffff;
    font-size: clamp(30px, 4vw, 48px);
    font-weight: 800;
    line-height: 1;
    margin-bottom: 12px;
    letter-spacing: -0.03em;
}

.service-text {
    color: rgba(255, 255, 255, 0.92);
    font-size: clamp(18px, 2vw, 24px);
    line-height: 1.35;
    font-weight: 400;
}

.service-badge {
    margin-top: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    backdrop-filter: blur(6px);
}

.reveal-card {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.75s ease, transform 0.75s ease;
}

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

@media (max-width: 900px) {
    .companies-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .company-card--square,
    .company-card--wide,
    .company-card--wide-bottom {
        grid-column: span 1;
        aspect-ratio: 1.35 / 1;
    }

    .service-content {
        padding-left: 24px;
    }
}

@media (max-width: 560px) {
    .companies-page {
        padding: 24px 14px 36px;
    }

    .section-head {
        margin-bottom: 22px;
    }

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

    .company-card--square,
    .company-card--wide,
    .company-card--wide-bottom {
        grid-column: span 1;
        aspect-ratio: 1.45 / 1;
    }

    .card-inner {
        padding: 20px;
    }

    .service-content {
        padding-left: 20px;
    }
}
.showcase-section {
    width: 100%;
    margin: 26px 0 0;
}

.showcase-card {
    width: 100%;
    background: #f5f5f5;

    overflow: hidden;
   
    position: relative;
}

.showcase-main {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: stretch;
    min-height: 460px;
}

.showcase-content {
    padding: 28px 26px 30px 26px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: relative;
    z-index: 2;
}

.showcase-title {
    font-size: clamp(38px, 5vw, 68px);
    line-height: 0.95;
    font-weight: 800;
    letter-spacing: -0.05em;
    margin-bottom: 30px;
}

.showcase-title--blue {
    color: #0b1fcb;
}

.showcase-title--dark {
    color: #1d1d1f;
}

.showcase-subtitle {
    font-size: clamp(20px, 2.3vw, 31px);
    line-height: 1.12;
    font-weight: 700;
    color: #303030;
    margin-bottom: 24px;
    max-width: 560px;
}

.showcase-text {
    font-size: clamp(14px, 1.45vw, 19px);
    line-height: 1.26;
    color: #3e3e3e;
    max-width: 520px;
    margin-bottom: 34px;
    font-weight: 500;
}

.showcase-link {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
    color: #1152e8;
    font-size: clamp(18px, 1.5vw, 28px);
    font-weight: 700;
    letter-spacing: -0.02em;
    transition: transform 0.28s ease, color 0.28s ease;
}

.showcase-link:hover {
    transform: translateX(4px);
    color: #0a43c0;
}

.showcase-link-icon {
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.28s ease;
}

.showcase-link-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.showcase-link:hover .showcase-link-icon:first-child {
    transform: translate(-2px, -2px);
}

.showcase-link:hover .showcase-link-icon:last-child {
    transform: translate(3px, -3px);
}

.showcase-media {
    position: relative;
    min-height: 100%;
    overflow: hidden;
}

.showcase-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.01);
    transition: transform 0.45s ease;
}

.showcase-card:hover .showcase-media img {
    transform: scale(1.045);
}

.showcase-media::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, #f5f5f5 0%, rgba(245,245,245,0.96) 8%, rgba(245,245,245,0.82) 16%, rgba(245,245,245,0.42) 29%, rgba(245,245,245,0) 45%);
    z-index: 2;
    pointer-events: none;
}

.showcase-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.14) 0%, rgba(255,255,255,0) 40%, rgba(255,255,255,0.06) 100%);
    z-index: 3;
    pointer-events: none;
}

.showcase-brands {
    position: relative;
    overflow: hidden;
    padding: 18px 0 20px;

}

.showcase-brands::before,
.showcase-brands::after {
    content: "";
    position: absolute;
    top: 0;
    width: 90px;
    height: 100%;
    z-index: 4;
    pointer-events: none;
}

.showcase-brands::before {
    left: 0;
    background: linear-gradient(90deg, #f5f5f5 0%, rgba(245,245,245,0) 100%);
}

.showcase-brands::after {
    right: 0;
    background: linear-gradient(270deg, #f5f5f5 0%, rgba(245,245,245,0) 100%);
}

.showcase-brands-track {
    --gap: 16px;
    display: flex;
    width: max-content;
    gap: var(--gap);
    animation: showcaseBrandsScroll 24s linear infinite;
    will-change: transform;
}

.showcase-brands:hover .showcase-brands-track {
    animation-play-state: paused;
}

.showcase-brands-group {
    display: flex;
    align-items: center;
    gap: var(--gap);
    flex-shrink: 0;
}

.showcase-brand-card {
    width: 170px;
    height: 90px;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 18px;

    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.showcase-brand-card:hover {
    transform: translateY(-5px);
    background: #ffffff;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
}

.showcase-brand-card img {
    max-width: 100%;
    max-height: 46px;
    object-fit: contain;
    display: block;
    transition: transform 0.3s ease;
}

.showcase-brand-card:hover img {
    transform: scale(1.05);
}

@keyframes showcaseBrandsScroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(calc(-50% - 8px));
    }
}

@media (max-width: 900px) {
    .showcase-main {
        grid-template-columns: 1fr;
        min-height: unset;
    }

    .showcase-content {
        order: 2;
        padding: 24px 20px 26px;
    }

    .showcase-media {
        order: 1;
        min-height: 320px;
    }

    .showcase-media::before {
        background:
            linear-gradient(180deg, rgba(245,245,245,0) 55%, rgba(245,245,245,0.82) 80%, #f5f5f5 100%);
    }

    .showcase-subtitle,
    .showcase-text {
        max-width: 100%;
    }

    .showcase-brand-card {
        width: 150px;
        height: 82px;
    }

    .showcase-brand-card img {
        max-height: 40px;
    }
}

@media (max-width: 560px) {
    .showcase-section {
        margin-top: 18px;
    }

    .showcase-content {
        padding: 20px 16px 22px;
    }

    .showcase-media {
        min-height: 240px;
    }

    .showcase-title {
        margin-bottom: 18px;
    }

    .showcase-subtitle {
        margin-bottom: 16px;
    }

    .showcase-text {
        margin-bottom: 22px;
        line-height: 1.35;
    }

    .showcase-link {
        font-size: 18px;
    }

    .showcase-link-icon {
        width: 20px;
        height: 20px;
    }

    .showcase-brands {
        padding: 14px 0 16px;
    }

    .showcase-brands::before,
    .showcase-brands::after {
        width: 36px;
    }

    .showcase-brands-track {
        --gap: 12px;
    }

    .showcase-brand-card {
        width: 130px;
        height: 72px;
        padding: 12px 14px;
        border-radius: 16px;
    }

    .showcase-brand-card img {
        max-height: 34px;
    }
}
.jac-section {
    width: 100%;
    margin: 28px 0 0;
}

.jac-card {
    width: 100%;
    min-height: 620px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    background: #f3f3f3;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
}

.jac-content {
    padding: 34px 34px 28px 34px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 3;
}

.jac-label {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    color: #404040;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.jac-label-line {
    width: 3px;
    height: 30px;
    border-radius: 999px;
    background: #d70000;
    display: inline-block;
}

.jac-title {
    font-size: clamp(46px, 6vw, 84px);
    line-height: 0.95;
    font-weight: 800;
    letter-spacing: -0.05em;
    margin-bottom: 18px;
}

.jac-title-red {
    color: #cb0000;
}

.jac-title-dark {
    color: #1e1e1f;
}

.jac-subtitle {
    font-size: clamp(24px, 2.8vw, 32px);
    line-height: 1.12;
    font-weight: 700;
    color: #323232;
    margin-bottom: 18px;
    max-width: 860px;
}

.jac-text {
    max-width: 530px;
    color: #3f3f3f;
    font-size: clamp(16px, 1.45vw, 20px);
    line-height: 1.28;
    font-weight: 500;
    margin-bottom: 26px;
}

/* ИСПРАВЛЕННЫЙ БЛОК ПРЕИМУЩЕСТВ */
.jac-features {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 28px;
}

.jac-feature {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    min-width: 0;
    background: rgba(255, 255, 255, 0.65);
    border-radius: 16px;
    padding: 10px 12px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
}

.jac-feature-icon {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.jac-feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.jac-feature-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.jac-feature-text strong {
    font-size: 12px;
    line-height: 1.1;
    font-weight: 700;
    color: #262626;
}

.jac-feature-text span {
    font-size: 10px;
    line-height: 1.15;
    color: #646464;
    font-weight: 500;
}

.jac-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.jac-btn {
    min-height: 54px;
    padding: 0 18px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 600;
    transition: transform 0.28s ease, box-shadow 0.28s ease, background 0.28s ease, color 0.28s ease;
}

.jac-btn svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

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

.jac-btn-primary {
    background: #cb0000;
    color: #fff;
    box-shadow: 0 14px 28px rgba(203, 0, 0, 0.25);
}

.jac-btn-primary:hover {
    background: #b80000;
}

.jac-btn-secondary {
    background: transparent;
    color: #222;
    border: 1.5px solid rgba(0, 0, 0, 0.22);
}

.jac-btn-secondary:hover {
    background: #fff;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.jac-visual {
    position: relative;
    min-height: 100%;
    overflow: hidden;
}

.jac-bg-shape {
    position: absolute;
    inset: 36px 34px 18px 20px;
    width: calc(100% - 54px);
    height: calc(100% - 54px);
    object-fit: contain;
    z-index: 1;
    transform: translateX(40px) scale(0.98);
    opacity: 0;
    transition: transform 1s cubic-bezier(.2,.8,.2,1), opacity 0.8s ease;
}

.jac-red-accent {
    position: absolute;
    right: -10px;
    bottom: -20px;
    width: 72%;
    max-width: 420px;
    z-index: 2;
    transform: translateX(70px) scale(0.95);
    opacity: 0;
    filter: blur(0px);
    transition: transform 1s cubic-bezier(.2,.8,.2,1) 0.12s, opacity 0.8s ease 0.12s;
}

.jac-truck {
    position: absolute;
    right: -2%;
    bottom: -30%;
    width: 92%;
    max-width: 620px;
    z-index: 3;
    transform: translateX(170px) scale(0.96);
    opacity: 0;
    transition: transform 1.05s cubic-bezier(.18,.85,.22,1), opacity 0.85s ease;
    will-change: transform;
}

.jac-card.is-visible .jac-bg-shape {
    transform: translateX(0) scale(1);
    opacity: 1;
}

.jac-card.is-visible .jac-red-accent {
    transform: translateX(0) scale(1);
    opacity: 1;
}

.jac-card.is-visible .jac-truck {
    transform: translateX(0) scale(1);
    opacity: 1;
}

.jac-card:hover .jac-truck {
    transform: translateX(-8px) scale(1.02);
}

.jac-card:hover .jac-red-accent {
    transform: translateX(-5px) scale(1.02);
}

@media (max-width: 1180px) {
    .jac-card {
        min-height: 560px;
    }

    .jac-content {
        padding: 28px 24px 24px 24px;
    }

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

@media (max-width: 920px) {
    .jac-card {
        grid-template-columns: 1fr;
        min-height: unset;
    }

    .jac-content {
        order: 2;
        padding: 24px 20px 24px;
    }

    .jac-visual {
        order: 1;
        min-height: 420px;
    }

    .jac-bg-shape {
        inset: 24px 20px 10px 20px;
        width: calc(100% - 40px);
        height: calc(100% - 34px);
    }

    .jac-red-accent {
        width: 62%;
        right: 0;
        bottom: 0;
    }

    .jac-truck {
        width: 55%;
        right: 2%;
        bottom: -45%;
    }
}

@media (max-width: 560px) {
    .jac-section {
        margin-top: 20px;
    }

    .jac-card {
        border-radius: 20px;
    }

    .jac-content {
        padding: 20px 16px 20px;
    }

    .jac-label {
        font-size: 12px;
        gap: 10px;
        margin-bottom: 14px;
    }

    .jac-label-line {
        height: 22px;
    }

    .jac-title {
        margin-bottom: 14px;
    }

    .jac-subtitle {
        margin-bottom: 14px;
    }

    .jac-text {
        margin-bottom: 20px;
        line-height: 1.33;
    }

    .jac-features {
        grid-template-columns: 1fr;
        gap: 10px;
        margin-bottom: 20px;
    }

    .jac-feature {
        width: 100%;
        padding: 10px 12px;
    }

    .jac-actions {
        flex-direction: column;
    }

    .jac-btn {
        width: 100%;
        font-size: 16px;
    }

    .jac-visual {
        min-height: 300px;
    }

    .jac-bg-shape {
        inset: 14px 12px 6px 12px;
        width: calc(100% - 24px);
        height: calc(100% - 20px);
    }

    .jac-red-accent {
        width: 64%;
    }

    .jac-truck {
        width: 92%;
        right: -4%;
        bottom: -40%;
    }
}
.df-switcher-section {
    width: 100%;

}

.df-switcher-card {
    width: 100%;
    min-height: 560px;
    display: grid;
    grid-template-columns: 1fr 1.08fr;
    background: #f5f5f5;

    overflow: hidden;

    position: relative;
}

.df-switcher-content {
    padding: 42px 20px 34px 26px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 3;
}

.df-switcher-title {
    font-size: clamp(46px, 6vw, 86px);
    line-height: 0.92;
    font-weight: 800;
    letter-spacing: -0.05em;
    margin-bottom: 18px;
}

.df-switcher-title-red {
    color: #c40000;
}

.df-switcher-title-dark {
    color: #1d1d1f;
}

.df-switcher-subtitle {
    font-size: clamp(24px, 2.6vw, 28px);
    line-height: 1.1;
    font-weight: 700;
    color: #303030;
    margin-bottom: 18px;
    max-width: 520px;
}

.df-switcher-text {
    font-size: clamp(16px, 1.45vw, 20px);
    line-height: 1.26;
    color: #393939;
    font-weight: 500;
    max-width: 480px;
    margin-bottom: 24px;
}

.df-switcher-text span {
    color: #d10000;
}

.df-switcher-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 28px;
    max-width: 530px;
}

.df-feature {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.df-feature-icon {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.df-feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.df-feature-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.df-feature-text strong {
    font-size: 18px;
    line-height: 1.05;
    font-weight: 700;
    color: #2d2d2d;
}

.df-feature-text span {
    font-size: 13px;
    line-height: 1.2;
    color: #5a5a5a;
    font-weight: 500;
}

.df-switcher-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.df-btn {
    min-height: 52px;
    padding: 0 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 14px;
    font-size: 18px;
    font-weight: 600;
    transition: transform 0.28s ease, box-shadow 0.28s ease, background 0.28s ease, color 0.28s ease;
}

.df-btn svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

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

.df-btn-primary {
    background: #c40000;
    color: #fff;
    box-shadow: 0 14px 28px rgba(196, 0, 0, 0.24);
}

.df-btn-primary:hover {
    background: #ae0000;
}

.df-btn-secondary {
    background: transparent;
    color: #222;
    border: 1.5px solid rgba(0, 0, 0, 0.22);
}

.df-btn-secondary:hover {
    background: #fff;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.df-switcher-visual {
    position: relative;
    overflow: hidden;
    min-height: 100%;
    background: #f5f5f5;
}

.df-bg-image {
    position: absolute;
    inset: 16px 12px 22px 0;
    width: calc(100% - 12px);
    height: calc(100% - 38px);
    object-fit: cover;
    border-radius: 0 22px 22px 0;
    z-index: 1;
    transition: opacity 0.38s ease, transform 0.38s ease, filter 0.38s ease;
}

.df-switcher-visual::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        #f3f3f3 0%,
        rgba(243,243,243,0.96) 11%,
        rgba(243,243,243,0.82) 18%,
        rgba(243,243,243,0.42) 30%,
        rgba(243,243,243,0.04) 48%,
        rgba(243,243,243,0) 62%
    );
    z-index: 2;
    pointer-events: none;
}

.df-vehicle-image {
    position: absolute;
    right: -2%;
    bottom: 10%;
    width: 94%;
    max-width: 760px;
    z-index: 3;
    transition: opacity 0.4s ease, transform 0.4s ease, filter 0.4s ease;
    will-change: transform;
}

.df-switcher-nav {
    position: absolute;
    left: 50%;
    bottom: 25px;
    transform: translateX(-50%);
    z-index: 5;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);

}

.df-nav-btn {
    width: 42px;
    height: 42px;
    border: none;
    outline: none;
    border-radius: 50%;
    background: transparent;
    color: #191919;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.25s ease, color 0.25s ease;
}

.df-nav-btn svg {
    width: 22px;
    height: 22px;
}

.df-nav-btn:hover {
    background: #f0f0f0;
    transform: scale(1.06);
}

.df-nav-btn:active {
    transform: scale(0.96);
}

.df-switcher-card.is-changing .df-bg-image {
    opacity: 0;
    transform: scale(1.03);
    filter: blur(3px);
}

.df-switcher-card.is-changing .df-vehicle-image {
    opacity: 0;
    transform: translateX(220px) scale(0.93);
    filter: blur(2px);
}

.df-switcher-card.is-entering .df-bg-image {
    animation: dfBgIn 0.52s ease both;
}

.df-switcher-card.is-entering .df-vehicle-image {
    animation: dfVehicleIn 0.62s cubic-bezier(.18,.85,.22,1) both;
}

@keyframes dfBgIn {
    from {
        opacity: 0;
        transform: scale(1.04);
        filter: blur(4px);
    }
    to {
        opacity: 1;
        transform: scale(1);
        filter: blur(0);
    }
}

@keyframes dfVehicleIn {
from {
    opacity: 0;
    transform: translateX(260px) scale(0.92);
    filter: blur(3px);
}
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
        filter: blur(0);
    }
}

@media (max-width: 980px) {
    .df-switcher-card {
        grid-template-columns: 1fr;
    }

    .df-switcher-content {
        order: 2;
        padding: 24px 18px 26px;
    }

    .df-switcher-visual {
        order: 1;
        min-height: 360px;
    }

    .df-bg-image {
        inset: 12px 12px 26px 12px;
        width: calc(100% - 24px);
        height: calc(100% - 38px);
        border-radius: 20px;
    }

    .df-switcher-visual::before {
        background: linear-gradient(
            180deg,
            rgba(243,243,243,0) 50%,
            rgba(243,243,243,0.52) 74%,
            rgba(243,243,243,0.9) 88%,
            #f3f3f3 100%
        );
    }

    .df-vehicle-image {
        width: 86%;
        right: 2%;
        bottom: 5%;
    }
}

@media (max-width: 560px) {
    .df-switcher-section {
        margin-top: 20px;
    }

    .df-switcher-card {
        border-radius: 20px;
    }

    .df-switcher-content {
        padding: 20px 16px 22px;
    }

    .df-switcher-subtitle {
        margin-bottom: 14px;
    }

    .df-switcher-text {
        margin-bottom: 18px;
        line-height: 1.33;
    }

    .df-switcher-features {
        gap: 12px;
        margin-bottom: 22px;
    }

    .df-feature-icon {
        width: 30px;
        height: 30px;
        flex-basis: 30px;
    }

    .df-feature-text strong {
        font-size: 16px;
    }

    .df-feature-text span {
        font-size: 12px;
    }

    .df-switcher-actions {
        flex-direction: column;
    }

    .df-btn {
        width: 100%;
        font-size: 16px;
    }

    .df-switcher-visual {
        min-height: 270px;
    }

    .df-vehicle-image {
        width: 95%;
        right: -4%;
        bottom: 2%;
    }

    .df-switcher-nav {
        bottom: 4px;
        padding: 6px;
    }

    .df-nav-btn {
        width: 38px;
        height: 38px;
    }
}
/* kyc */

.kyc-section {
    width: 100%;

}

.kyc-card {
    width: 100%;
    min-height: 540px;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    background: #f5f5f5;

    overflow: hidden;
    position: relative;
}

.kyc-content {
    padding: 42px 18px 34px 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 3;
}

.kyc-title {
    font-size: clamp(44px, 5.6vw, 82px);
    line-height: 0.95;
    font-weight: 800;
    letter-spacing: -0.05em;
    margin-bottom: 18px;
}

.kyc-title-red {
    color: #c40000;
}

.kyc-title-dark {
    color: #1d1d1f;
}

.kyc-subtitle {
    font-size: clamp(24px, 2.6vw, 42px);
    line-height: 1.12;
    font-weight: 700;
    color: #313131;
    margin-bottom: 20px;
    max-width: 520px;
}

.kyc-text {
    font-size: clamp(16px, 1.42vw, 20px);
    line-height: 1.24;
    color: #3f3f3f;
    font-weight: 500;
    max-width: 360px;
    margin-bottom: 28px;
}

.kyc-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.kyc-btn {
    min-height: 52px;
    padding: 0 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 14px;
    font-size: 18px;
    font-weight: 600;
    transition: transform 0.28s ease, box-shadow 0.28s ease, background 0.28s ease, color 0.28s ease;
}

.kyc-btn svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

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

.kyc-btn-primary {
    background: #c40000;
    color: #fff;
    box-shadow: 0 14px 28px rgba(196, 0, 0, 0.24);
}

.kyc-btn-primary:hover {
    background: #ae0000;
}

.kyc-btn-secondary {
    background: transparent;
    color: #222;
    border: 1.5px solid rgba(0, 0, 0, 0.22);
}

.kyc-btn-secondary:hover {
    background: #fff;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.kyc-visual {
    position: relative;
    overflow: hidden;
    min-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 14px 16px 0;
}

.kyc-bg-image {
    position: absolute;
    inset: 16px 10px 18px 0;
    width: calc(100% - 10px);
    height: calc(100% - 34px);
    object-fit: cover;
    border-radius: 999px;
    z-index: 1;
    opacity: 0;
    transform: scale(1.04);
    filter: blur(6px);
    transition: opacity 0.75s ease, transform 0.9s ease, filter 0.9s ease;
}

.kyc-visual::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        #f3f3f3 0%,
        rgba(243,243,243,0.95) 10%,
        rgba(243,243,243,0.75) 18%,
        rgba(243,243,243,0.36) 30%,
        rgba(243,243,243,0.04) 48%,
        rgba(243,243,243,0) 60%
    );
    z-index: 2;
    pointer-events: none;
}

.kyc-visual::after {
    content: "";
    position: absolute;
    left: 16%;
    right: 6%;
    bottom: 7%;
    height: 18%;
    border-radius: 50%;
    background: radial-gradient(ellipse at center, rgba(0,0,0,0.16) 0%, rgba(0,0,0,0.08) 35%, rgba(0,0,0,0) 75%);
    filter: blur(18px);
    z-index: 2;
    pointer-events: none;
}

.kyc-vehicles-image {
    position: relative;
    width: 100%;
    max-width: 860px;
    z-index: 3;
    opacity: 0;
    transform: scale(0.72) translateY(30px);
    filter: blur(10px);
    transition: opacity 0.85s ease, transform 1.05s cubic-bezier(.18,.85,.22,1), filter 1s ease;
    will-change: transform;
}

.kyc-card.is-visible .kyc-bg-image {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
}

.kyc-card.is-visible .kyc-vehicles-image {
    opacity: 1;
    transform: scale(1) translateY(0);
    filter: blur(0);
}

.kyc-card:hover .kyc-vehicles-image {
    transform: scale(1.02) translateY(-4px);
}

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

    .kyc-content {
        order: 2;
        padding: 24px 18px 24px;
    }

    .kyc-visual {
        order: 1;
        min-height: 340px;
        padding: 12px 12px 8px;
    }

    .kyc-bg-image {
        inset: 12px;
        width: calc(100% - 24px);
        height: calc(100% - 24px);
        border-radius: 30px;
    }

    .kyc-visual::before {
        background: linear-gradient(
            180deg,
            rgba(243,243,243,0) 50%,
            rgba(243,243,243,0.52) 74%,
            rgba(243,243,243,0.9) 88%,
            #f3f3f3 100%
        );
    }

    .kyc-visual::after {
        left: 10%;
        right: 10%;
        bottom: 8%;
    }

    .kyc-text {
        max-width: 100%;
    }
}

@media (max-width: 560px) {
    .kyc-section {
        margin-top: 20px;
    }

    .kyc-card {
        border-radius: 20px;
        min-height: unset;
    }

    .kyc-content {
        padding: 20px 16px 22px;
    }

    .kyc-subtitle {
        margin-bottom: 14px;
    }

    .kyc-text {
        margin-bottom: 22px;
        line-height: 1.32;
    }

    .kyc-actions {
        flex-direction: column;
    }

    .kyc-btn {
        width: 100%;
        font-size: 16px;
    }

    .kyc-visual {
        min-height: 240px;
        padding: 10px 10px 6px;
    }

    .kyc-bg-image {
        border-radius: 24px;
    }

    .kyc-vehicles-image {
        width: 108%;
        max-width: none;
    }
}
.canicom-section {
    width: 100%;

}

.canicom-card {
    width: 100%;
    min-height: 500px;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    background:
        radial-gradient(circle at 20% 20%, rgba(73, 203, 255, 0.08) 0%, rgba(73, 203, 255, 0) 28%),
        radial-gradient(circle at 80% 18%, rgba(120, 78, 255, 0.12) 0%, rgba(120, 78, 255, 0) 30%),
        linear-gradient(135deg, #02070d 0%, #040c14 42%, #010204 100%);

    overflow: hidden;

    position: relative;
}

.canicom-content {
    padding: 42px 26px 34px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 3;
}

.canicom-label {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-bottom: 18px;
    padding: 8px 12px;

    color: #7ee6e9;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.canicom-title {
    font-size: clamp(48px, 5vw, 82px);
    line-height: 0.95;
    font-weight: 800;
    letter-spacing: -0.05em;
    color: #74ebec;
    margin-bottom: 22px;
    text-shadow: 0 0 18px rgba(116, 235, 236, 0.08);
}

.canicom-text {
    max-width: 420px;
    color: #9ceff0;
    font-size: clamp(16px, 1.2vw, 19px);
    line-height: 1.28;
    font-weight: 500;
    margin-bottom: 16px;
}

.canicom-text--small {
    color: rgba(156, 239, 240, 0.82);
    max-width: 400px;
    margin-bottom: 28px;
}

.canicom-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.canicom-btn {
    min-height: 48px;
    padding: 0 22px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 700;
    transition: transform 0.28s ease, box-shadow 0.28s ease, background 0.28s ease;
}

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

.canicom-btn-primary {
    background: linear-gradient(135deg, #74dfe1 0%, #58c8ff 100%);
    color: #05141d;
    box-shadow: 0 16px 34px rgba(88, 200, 255, 0.22);
}

.canicom-btn-primary:hover {
    box-shadow: 0 20px 42px rgba(88, 200, 255, 0.3);
}

.canicom-visual {
    position: relative;
    min-height: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.canicom-glow {
    position: absolute;
    opacity: 0;
    filter: blur(20px);
    transform: scale(0.8);
    transition: opacity 0.9s ease, transform 1.2s ease, filter 1.2s ease;
    pointer-events: none;
    z-index: 1;
}

.canicom-glow-left {
    width: 360px;
    left: 16%;
    top: 12%;
}

.canicom-glow-right {
    width: 300px;
    right: 10%;
    top: 8%;
}

.canicom-stage {
    position: absolute;
    left: 16%;
    right: 12%;
    bottom: 18%;
    height: 20%;
    border-radius: 50%;
    background: radial-gradient(ellipse at center, rgba(72, 178, 255, 0.16) 0%, rgba(72, 178, 255, 0.06) 35%, rgba(72, 178, 255, 0) 75%);
    filter: blur(20px);
    z-index: 1;
    pointer-events: none;
}

.canicom-boxes {
    position: absolute;
    right: 8%;
    top: 12%;
    width: 70%;
    max-width: 560px;
    z-index: 2;
    opacity: 0;
    transform: translateY(20px) scale(0.88);
    filter: blur(10px);
    transition: opacity 0.9s ease, transform 1.1s cubic-bezier(.18,.85,.22,1), filter 1.1s ease;
}

.canicom-pad {
    position: absolute;
    right: 17%;
    bottom: 18%;
    width: 58%;
    max-width: 430px;
    z-index: 3;
    opacity: 0;
    transform: translateY(34px) scale(0.78);
    filter: blur(12px);
    transition: opacity 1s ease, transform 1.2s cubic-bezier(.18,.85,.22,1), filter 1.2s ease;
}

.canicom-info-cards {
    position: absolute;
    left: 50%;
    bottom: 20px;
    transform: translateX(-50%);
    width: calc(100% - 36px);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    z-index: 4;
}

.canicom-info-card {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 72px;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(110, 234, 236, 0.22);
    backdrop-filter: blur(12px);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.2);
    transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.canicom-info-card:hover {
    transform: translateY(-4px);
    border-color: rgba(124, 235, 236, 0.5);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.26);
}

.canicom-info-icon {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.canicom-info-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.canicom-info-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.canicom-info-text strong {
    color: #7fe9ea;
    font-size: 16px;
    line-height: 1.1;
    font-weight: 700;
}

.canicom-info-text span {
    color: rgba(163, 240, 241, 0.8);
    font-size: 12px;
    line-height: 1.2;
    font-weight: 500;
}

.canicom-card.is-visible .canicom-glow {
    opacity: 1;
    filter: blur(0);
    transform: scale(1);
}

.canicom-card.is-visible .canicom-boxes {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
}

.canicom-card.is-visible .canicom-pad {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
}

.canicom-card:hover .canicom-boxes {
    transform: translateY(-4px) scale(1.02);
}

.canicom-card:hover .canicom-pad {
    transform: translateY(-6px) scale(1.025);
}

@media (max-width: 980px) {
    .canicom-card {
        grid-template-columns: 1fr;
        min-height: unset;
    }

    .canicom-content {
        order: 2;
        padding: 24px 18px 20px;
    }

    .canicom-text,
    .canicom-text--small {
        max-width: 100%;
    }

    .canicom-visual {
        order: 1;
        min-height: 340px;
    }

    .canicom-boxes {
        width: 76%;
        right: 8%;
        top: 10%;
    }

    .canicom-pad {
        width: 60%;
        right: 18%;
        bottom: 22%;
    }

    .canicom-info-cards {
        position: relative;
        left: unset;
        bottom: unset;
        transform: none;
        width: calc(100% - 24px);
        margin: auto;
        padding-bottom: 16px;
    }
}

@media (max-width: 560px) {
    .canicom-section {
        margin-top: 20px;
    }

    .canicom-card {
        border-radius: 20px;
    }

    .canicom-content {
        padding: 20px 16px 18px;
    }

    .canicom-label {
        font-size: 11px;
        margin-bottom: 14px;
    }

    .canicom-title {
        margin-bottom: 16px;
    }

    .canicom-text {
        margin-bottom: 12px;
    }

    .canicom-text--small {
        margin-bottom: 20px;
    }

    .canicom-btn {
        width: 100%;
    }

    .canicom-visual {
        min-height: 270px;
    }

    .canicom-glow-left {
        width: 220px;
        left: 10%;
    }

    .canicom-glow-right {
        width: 180px;
        right: 8%;
    }

    .canicom-boxes {
        width: 88%;
        right: 0;
        top: 12%;
    }

    .canicom-pad {
        width: 74%;
        right: 11%;
        bottom: 25%;
    }

    .canicom-info-cards {
        grid-template-columns: 1fr;
        gap: 10px;
        width: calc(100% - 20px);
        padding-bottom: 12px;
    }

    .canicom-info-card {
        min-height: 64px;
        padding: 12px 14px;
    }

    .canicom-info-text strong {
        font-size: 15px;
    }

    .canicom-info-text span {
        font-size: 11px;
    }
}
.canicom-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background-image:
        radial-gradient(circle, rgba(255,255,255,0.95) 1px, transparent 1.6px),
        radial-gradient(circle, rgba(255,255,255,0.75) 1px, transparent 1.8px),
        radial-gradient(circle, rgba(255,255,255,0.55) 1.2px, transparent 2px),
        radial-gradient(circle, rgba(255,255,255,0.85) 0.8px, transparent 1.4px);
    background-size:
        140px 140px,
        210px 210px,
        260px 260px,
        320px 320px;
    background-position:
        20px 30px,
        80px 120px,
        160px 40px,
        40px 200px;
    opacity: 0.42;
}
.kamaz-section {
    width: 100%;

}

.kamaz-card {
    width: 100%;
    min-height: 520px;
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    background: #f3f3f3;
    
    overflow: hidden;
 
    position: relative;
}

.kamaz-content {
    padding: 28px 24px 28px 18px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 4;
}

.kamaz-title {
    font-size: clamp(52px, 5.8vw, 92px);
    line-height: 0.95;
    font-weight: 800;
    letter-spacing: -0.05em;
    color: #155bc0;
    margin-bottom: 14px;
}

.kamaz-subtitle {
    font-size: clamp(26px, 2.5vw, 42px);
    line-height: 1.08;
    font-weight: 700;
    color: #303030;
    margin-bottom: 14px;
    max-width: 500px;
}

.kamaz-text {
    font-size: clamp(16px, 1.35vw, 20px);
    line-height: 1.24;
    font-weight: 500;
    color: #414141;
    max-width: 470px;
    margin-bottom: 24px;
}

.kamaz-features {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 26px;
    max-width: 500px;
}

.kamaz-feature {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.kamaz-feature-icon {
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.kamaz-feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.kamaz-feature-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.kamaz-feature-text strong {
    font-size: 17px;
    line-height: 1.08;
    font-weight: 700;
    color: #2d2d2d;
}

.kamaz-feature-text span {
    font-size: 12px;
    line-height: 1.2;
    color: #5d5d5d;
    font-weight: 500;
}

.kamaz-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.kamaz-btn {
    min-height: 50px;
    padding: 0 18px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 600;
    transition: transform 0.28s ease, box-shadow 0.28s ease, background 0.28s ease, color 0.28s ease;
}

.kamaz-btn svg {
    width: 19px;
    height: 19px;
    flex-shrink: 0;
}

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

.kamaz-btn-primary {
    background: #155bc0;
    color: #fff;
    box-shadow: 0 14px 28px rgba(21, 91, 192, 0.25);
}

.kamaz-btn-primary:hover {
    background: #0f4faa;
}

.kamaz-btn-secondary {
    background: transparent;
    color: #222;
    border: 1.5px solid rgba(0, 0, 0, 0.22);
}

.kamaz-btn-secondary:hover {
    background: #fff;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.kamaz-visual {
    position: relative;
    overflow: hidden;
    min-height: 100%;
    background: #e9edf2;
}

.kamaz-bg-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0;
    transform: scale(1.04);
    filter: blur(6px);
    transition: opacity 0.8s ease, transform 1s ease, filter 1s ease;
}

.kamaz-blue-panel {
    position: absolute;
    top: -6%;
    left: 8%;
    width: 78%;
    height: 112%;
    background: linear-gradient(180deg, rgba(19, 78, 171, 0.96) 0%, rgba(13, 61, 136, 0.96) 100%);
    clip-path: polygon(24% 0, 100% 0, 82% 100%, 0 100%);
    z-index: 2;
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s ease, transform 0.9s ease;
}

.kamaz-outline-text {
    position: absolute;
    top: 6%;
    right: 6%;
    font-size: clamp(90px, 10vw, 180px);
    line-height: 0.9;
    font-weight: 800;
    letter-spacing: -0.05em;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.16);
    z-index: 3;
    pointer-events: none;
    opacity: 0;
    transition: opacity 1s ease;
}

.kamaz-truck-image {
    position: absolute;
    right: -4%;
    bottom: -13%;
    width: 78%;
    max-width: 620px;
    z-index: 4;
    opacity: 0;
    transform: scale(0.88) translateY(36px);
    filter: blur(8px);
    transition: opacity 0.9s ease, transform 1.05s cubic-bezier(.18,.85,.22,1), filter 1s ease;
    will-change: transform;
}

.kamaz-card::after {
    content: "";
    position: absolute;
    right: 8%;
    bottom: 5%;
    width: 48%;
    height: 14%;
    border-radius: 50%;
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.18) 0%, rgba(0, 0, 0, 0.08) 40%, rgba(0, 0, 0, 0) 75%);
    filter: blur(18px);
    z-index: 3;
    pointer-events: none;
}

.kamaz-card.is-visible .kamaz-bg-image {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
}

.kamaz-card.is-visible .kamaz-blue-panel {
    opacity: 1;
    transform: translateY(0);
}

.kamaz-card.is-visible .kamaz-outline-text {
    opacity: 1;
}

.kamaz-card.is-visible .kamaz-truck-image {
    opacity: 1;
    transform: scale(1) translateY(0);
    filter: blur(0);
}

.kamaz-card:hover .kamaz-truck-image {
    transform: scale(1.02) translateY(-4px);
}

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

    .kamaz-content {
        order: 2;
        padding: 24px 18px 24px;
    }

    .kamaz-visual {
        order: 1;
        min-height: 360px;
    }

    .kamaz-blue-panel {
        left: 12%;
        width: 72%;
    }

    .kamaz-outline-text {
        top: 8%;
        right: 8%;
    }

    .kamaz-truck-image {
        width: 60%;
        right: 16%;
        bottom: -17%;
    }

    .kamaz-card::after {
        right: 10%;
        width: 54%;
    }
}

@media (max-width: 560px) {
    .kamaz-section {
        margin-top: 20px;
    }

    .kamaz-card {
        border-radius: 20px;
        min-height: unset;
    }

    .kamaz-content {
        padding: 20px 16px 22px;
    }

    .kamaz-subtitle {
        margin-bottom: 12px;
    }

    .kamaz-text {
        margin-bottom: 20px;
        line-height: 1.3;
    }

    .kamaz-features {
        gap: 12px;
        margin-bottom: 22px;
    }

    .kamaz-feature-text strong {
        font-size: 16px;
    }

    .kamaz-feature-text span {
        font-size: 11px;
    }

    .kamaz-actions {
        flex-direction: column;
    }

    .kamaz-btn {
        width: 100%;
    }

    .kamaz-visual {
        min-height: 280px;
    }

    .kamaz-blue-panel {
        left: 10%;
        width: 78%;
    }

    .kamaz-outline-text {
        font-size: 72px;
        top: 10%;
        right: 6%;
    }

    .kamaz-truck-image {
        width: 80%;
        right: 10%;
        bottom: -20%;
    }

    .kamaz-card::after {
        right: 8%;
        width: 64%;
        height: 16%;
    }
}
/* =========================
   CAREER PAGE FULL
========================= */
.career-page {
    background: #f4f6f9;
    overflow-x: hidden;
    width: 100%;
}

/* HERO */

.career-hero-full {
    position: relative;
    min-height: min(100vh, 820px);
    padding: 140px 24px 90px;
    display: flex;
    align-items: center;
    background:
        radial-gradient(circle at 8% 18%, rgba(22, 87, 172, 0.14), transparent 30%),
        radial-gradient(circle at 90% 16%, rgba(255, 112, 43, 0.11), transparent 30%),
        linear-gradient(135deg, #f8fafc 0%, #edf1f6 100%);
}

.career-hero-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(16, 24, 40, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(16, 24, 40, 0.035) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: linear-gradient(to bottom, transparent, black 18%, black 82%, transparent);
    pointer-events: none;
}

.career-hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(420px, 0.92fr);
    gap: 70px;
    align-items: center;
}

.career-label {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    color: #185aa8;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.career-label span {
    width: 44px;
    height: 2px;
    border-radius: 99px;
    background: linear-gradient(90deg, #185aa8, #ff6a2a);
}

.career-hero-content h1 {
    margin: 0;
    color: #101828;
    font-size: clamp(44px, 6.2vw, 92px);
    line-height: 0.9;
    letter-spacing: -0.075em;
    font-weight: 900;
}

.career-hero-content p {
    max-width: 660px;
    margin: 30px 0 0;
    color: #526071;
    font-size: 17px;
    line-height: 1.75;
    font-weight: 500;
}

.career-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 36px;
}

.career-btn {
    min-height: 56px;
    padding: 0 24px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 14px;
    font-weight: 900;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.career-btn-primary {
    color: #fff;
    background: linear-gradient(135deg, #123b78, #1e67c8);
    box-shadow: 0 18px 36px rgba(30, 103, 200, 0.25);
}

.career-btn-secondary {
    color: #101828;
    background: #fff;
    border: 1px solid rgba(16, 24, 40, 0.12);
}

/* HERO PHOTO */

.career-hero-visual {
    position: relative;
    min-height: 590px;
}

.career-visual-photo {
    position: absolute;
    inset: 0;
    border-radius: 42px 42px 42px 120px;
    overflow: hidden;
    background:
        linear-gradient(to top, rgba(9, 18, 32, 0.70), rgba(9, 18, 32, 0.08)),
        url("../img/company.webp");
    background-size: cover;
    background-position: center 42%;
    background-repeat: no-repeat;
    box-shadow: 0 34px 90px rgba(15, 31, 54, 0.22);
}

.career-visual-photo img {
    display: none;
}

.career-visual-photo::after {
    content: "";
    position: absolute;
    inset: 20px;
    border-radius: 30px 30px 30px 96px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    pointer-events: none;
}

.career-floating-card {
    position: absolute;
    z-index: 3;
    min-width: 210px;
    padding: 22px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(255, 255, 255, 0.92);
    box-shadow: 0 24px 60px rgba(15, 31, 54, 0.16);
    backdrop-filter: blur(14px);
}

.career-floating-card strong {
    display: block;
    color: #101828;
    font-size: 34px;
    line-height: 1;
    letter-spacing: -0.05em;
    font-weight: 900;
}

.career-floating-card span {
    display: block;
    margin-top: 8px;
    color: #667085;
    font-size: 13px;
    line-height: 1.4;
    font-weight: 700;
}

.career-floating-card-one {
    left: -36px;
    top: 70px;
}

.career-floating-card-two {
    right: -24px;
    bottom: 70px;
}

/* ABOUT */

.career-wide-info {
    padding: 100px 24px;
    background: #fff;
}

.career-wide-container {
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 70px;
    align-items: start;
}

.career-info-title span,
.career-dark-head span,
.career-form-left span {
    display: inline-block;
    margin-bottom: 16px;
    color: #185aa8;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.career-info-title h2,
.career-dark-head h2,
.career-form-left h2 {
    margin: 0;
    color: #101828;
    font-size: clamp(34px, 4vw, 58px);
    line-height: 1;
    letter-spacing: -0.06em;
    font-weight: 900;
}

.career-info-text p {
    margin: 0;
    color: #5f6b7a;
    font-size: 17px;
    line-height: 1.75;
    font-weight: 500;
}

.career-info-text p + p {
    margin-top: 22px;
}

/* DIRECTIONS */

.career-directions-line {
    padding: 0 24px 100px;
    background: #fff;
}

.career-directions-container {
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid rgba(16, 24, 40, 0.10);
    border-left: 1px solid rgba(16, 24, 40, 0.10);
}

.career-direction {
    min-height: 280px;
    padding: 32px;
    border-right: 1px solid rgba(16, 24, 40, 0.10);
    border-bottom: 1px solid rgba(16, 24, 40, 0.10);
    transition: background 0.25s ease, transform 0.25s ease;
}

.career-direction:hover {
    background: #f6f8fb;
    transform: translateY(-6px);
}

.career-direction-icon {
    width: 54px;
    height: 54px;
    color: #1e67c8;
    display: flex;
    align-items: center;
    justify-content: center;
}

.career-direction-icon svg {
    width: 54px;
    height: 54px;
    display: block;
}

.career-direction h3 {
    margin: 46px 0 0;
    color: #101828;
    font-size: 24px;
    line-height: 1.15;
    letter-spacing: -0.04em;
    font-weight: 900;
}

.career-direction p {
    margin: 16px 0 0;
    color: #667085;
    font-size: 14px;
    line-height: 1.65;
    font-weight: 500;
}

/* VACANCIES */

.career-dark-band {
    padding: 110px 24px;
    background:
        radial-gradient(circle at 12% 20%, rgba(30, 103, 200, 0.28), transparent 30%),
        radial-gradient(circle at 88% 30%, rgba(255, 106, 42, 0.20), transparent 28%),
        #101828;
}

.career-dark-container {
    max-width: 1240px;
    margin: 0 auto;
}

.career-dark-head {
    max-width: 760px;
    margin-bottom: 44px;
}

.career-dark-head h2,
.career-dark-head p {
    color: #fff;
}

.career-dark-head p {
    margin: 18px 0 0;
    color: rgba(255, 255, 255, 0.64);
    font-size: 16px;
    line-height: 1.7;
    font-weight: 500;
}

.career-vacancies-table {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.career-vacancy-row {
    min-height: 128px;
    padding: 26px 0;
    display: grid;
    grid-template-columns: 0.9fr 1fr auto;
    gap: 34px;
    align-items: center;
    color: #fff;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    transition: padding-left 0.25s ease, background 0.25s ease;
}

.career-vacancy-row:hover {
    padding-left: 18px;
    background: rgba(255, 255, 255, 0.04);
}

.career-vacancy-row div span {
    display: block;
    margin-bottom: 10px;
    color: #6ca8ff;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.career-vacancy-row strong {
    display: block;
    color: #fff;
    font-size: 22px;
    line-height: 1.25;
    letter-spacing: -0.035em;
    font-weight: 900;
}

.career-vacancy-row p {
    margin: 0;
    color: rgba(255, 255, 255, 0.62);
    font-size: 14px;
    line-height: 1.6;
    font-weight: 500;
}

.career-vacancy-row b {
    min-height: 46px;
    padding: 0 18px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    color: #101828;
    background: #fff;
    font-size: 13px;
    font-weight: 900;
    white-space: nowrap;
}

/* FORM */

.career-form-zone {
    padding: 110px 24px;
    background: #f4f6f9;
}

.career-form-container {
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.82fr 1.18fr;
    gap: 70px;
    align-items: start;
}

.career-form-left p {
    max-width: 500px;
    margin: 22px 0 0;
    color: #667085;
    font-size: 16px;
    line-height: 1.7;
    font-weight: 500;
}

.career-form {
    padding: 34px;
    border-radius: 34px;
    display: grid;
    gap: 18px;
    background: #fff;
    border: 1px solid rgba(16, 24, 40, 0.08);
    box-shadow: 0 28px 80px rgba(15, 31, 54, 0.10);
}

.career-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.career-form label {
    display: grid;
    gap: 9px;
    color: #344054;
    font-size: 13px;
    font-weight: 900;
}

.career-form label b {
    color: #e03131;
}

.career-form input,
.career-form select,
.career-form textarea {
    width: 100%;
    border: 1px solid rgba(16, 24, 40, 0.12);
    border-radius: 18px;
    padding: 16px 18px;
    outline: none;
    background: #f7f9fc;
    color: #101828;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
}

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

.career-form input:focus,
.career-form select:focus,
.career-form textarea:focus {
    border-color: rgba(30, 103, 200, 0.45);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(30, 103, 200, 0.10);
}

.career-form button {
    min-height: 58px;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    color: #fff;
    background: linear-gradient(135deg, #123b78, #1e67c8);
    font-family: inherit;
    font-size: 14px;
    font-weight: 900;
    box-shadow: 0 18px 36px rgba(30, 103, 200, 0.24);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.career-form button:hover {
    transform: translateY(-3px);
    box-shadow: 0 24px 48px rgba(30, 103, 200, 0.30);
}

.career-form button:disabled {
    opacity: 0.7;
    cursor: wait;
    transform: none;
}

.bitrix-form-result {
    display: none;
    padding: 13px 15px;
    border-radius: 16px;
    font-size: 13px;
    line-height: 1.45;
    font-weight: 800;
}

.bitrix-form-result.is-success {
    display: block;
    color: #067647;
    background: rgba(18, 183, 106, 0.11);
    border: 1px solid rgba(18, 183, 106, 0.18);
}

.bitrix-form-result.is-error {
    display: block;
    color: #b42318;
    background: rgba(240, 68, 56, 0.1);
    border: 1px solid rgba(240, 68, 56, 0.18);
}

/* =========================
   CAREER ROAD / TIMELINE
========================= */

.career-road-section {
    padding: 100px 24px 110px;
    background:
        radial-gradient(circle at 10% 20%, rgba(30, 103, 200, 0.08), transparent 26%),
        radial-gradient(circle at 88% 24%, rgba(255, 106, 42, 0.08), transparent 24%),
        #ffffff;
    overflow: hidden;
}

.career-road-container {
    max-width: 1320px;
    margin: 0 auto;
}

.career-road-head {
    max-width: 780px;
    margin-bottom: 38px;
}

.career-road-head span {
    display: inline-block;
    margin-bottom: 16px;
    color: #185aa8;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.career-road-head h2 {
    margin: 0;
    color: #101828;
    font-size: clamp(34px, 4vw, 58px);
    line-height: 1;
    letter-spacing: -0.06em;
    font-weight: 900;
}

.career-road-head p {
    max-width: 650px;
    margin: 20px 0 0;
    color: #667085;
    font-size: 16px;
    line-height: 1.75;
    font-weight: 500;
}

.career-road-map {
    position: relative;
    min-height: 760px;
    border-radius: 42px;
    background: linear-gradient(180deg, #f8fafc 0%, #f3f6fa 100%);
    border: 1px solid rgba(16, 24, 40, 0.07);
    box-shadow: 0 28px 70px rgba(15, 31, 54, 0.08);
    overflow: hidden;
    isolation: isolate;
}

.career-road-map::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image:
        linear-gradient(rgba(16, 24, 40, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(16, 24, 40, 0.03) 1px, transparent 1px);
    background-size: 44px 44px;
    pointer-events: none;
    mask-image: linear-gradient(to bottom, transparent, black 12%, black 88%, transparent);
}

.career-road-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.career-road-start {
    position: absolute;
    left: 42px;
    bottom: 84px;
    z-index: 30;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.career-road-start-badge {
    min-width: 88px;
    min-height: 88px;
    padding: 0 20px;
    border-radius: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: linear-gradient(135deg, #123b78, #1e67c8);
    box-shadow: 0 20px 40px rgba(30, 103, 200, 0.25);
    font-size: 28px;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.career-road-start p {
    margin: 0;
    color: #344054;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.career-milestone {
    position: absolute;
    width: 205px;
    padding: 17px 17px 16px;
    border-radius: 22px;
    background: transparent;
    border: none;
    box-shadow: none;
    z-index: auto;
}

.career-milestone::before {
    content: "";
    position: absolute;
    z-index: 5;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #1e67c8;
    box-shadow: 0 0 0 7px rgba(30, 103, 200, 0.12);
}

.career-milestone::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 20;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(16, 24, 40, 0.08);
    box-shadow: 0 20px 45px rgba(15, 31, 54, 0.10);
    backdrop-filter: blur(10px);
    pointer-events: none;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.career-milestone-year,
.career-milestone h3,
.career-milestone p {
    position: relative;
    z-index: 25;
}

.career-milestone:hover::after {
    transform: translateY(-6px);
    box-shadow: 0 28px 58px rgba(15, 31, 54, 0.14);
}

.career-milestone:hover .career-milestone-year,
.career-milestone:hover h3,
.career-milestone:hover p {
    transform: translateY(-6px);
}

.career-milestone-year,
.career-milestone h3,
.career-milestone p {
    transition: transform 0.25s ease;
}

.career-milestone-year {
    display: inline-block;
    margin-bottom: 10px;
    color: #1e67c8;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.career-milestone h3 {
    margin: 0;
    color: #101828;
    font-size: 20px;
    line-height: 1.08;
    letter-spacing: -0.04em;
    font-weight: 900;
}

.career-milestone p {
    margin: 10px 0 0;
    color: #667085;
    font-size: 13px;
    line-height: 1.45;
    font-weight: 700;
}
.career-milestone-top {
    position: relative;
    z-index: 25;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.career-milestone-logo {
    width: 62px;
    height: 42px;
    padding: 7px;
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid rgba(16, 24, 40, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.career-milestone-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

.career-milestone-logo--pair {
    width: 78px;
    gap: 5px;
}

.career-milestone-logo--pair img {
    max-width: calc(50% - 3px);
    max-height: 100%;
}

.career-milestone .career-milestone-year {
    margin-bottom: 0;
    white-space: nowrap;
}
.milestone-7,
.milestone-8,
.milestone-9 {
    width: 220px;
}

.milestone-8 h3,
.milestone-9 h3 {
    font-size: 18px;
}


/* Позиции карточек на карте */

.milestone-1 {
    left: 110px;
    bottom: 220px;
}
.milestone-1::before {
    left: 90px;
    top: 142px;
}

.milestone-2 {
    left: 410px;
    top: 345px;
}
.milestone-2::before {
    left: -35px;
    bottom: 50px;
}

.milestone-3 {
    left: 200px;
    bottom: 420px;
}
.milestone-3::before {
    left: 230px;
    top: 60px;
}

.milestone-4 {
    left: 425px;
    top: 15px;
}
.milestone-4::before {
    left: 92px;
    bottom: -36px;
}

.milestone-5 {
    left: 715px;
    bottom: 25px;
}
.milestone-5::before {
    left: 82px;
    top: -35px;
}

.milestone-6 {
    left: 925px;
    top: 410px;
}
.milestone-6::before {
    left: -35px;
    top: 52px;
}

.milestone-7 {
    left: 755px;
    top: 90px;
}
.milestone-7::before {
    left: 250px;
    bottom: 65px;
}

.milestone-8 {
    right: 390px;
    top: 255px;
}
.milestone-8::before {
    left: 235px;
    top: 50px;
}

.milestone-9 {
    right: 10px;
    bottom: 405px;
}
.milestone-9::before {
    left: 85px;
    top: -34px;
}

/* =========================
   ROAD MOVING TRUCK
========================= */

.career-road-line {
    animation: none;
}

.career-road-truck {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 12;
    width: 82px;
    height: 48px;
    color: #1e67c8;
    pointer-events: none;
    transform: translate(70px, 610px) translate(-50%, -50%);
    filter: drop-shadow(0 16px 18px rgba(15, 31, 54, 0.28));
    will-change: transform;
}

.career-road-truck svg {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: block;
}

.career-road-truck-glow {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 98px;
    height: 48px;
    border-radius: 999px;
    background: rgba(30, 103, 200, 0.26);
    filter: blur(16px);
    transform: translate(-50%, -50%);
    z-index: 1;
}

.career-road-truck::after {
    content: "";
    position: absolute;
    left: -26px;
    top: 50%;
    width: 38px;
    height: 5px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, rgba(30, 103, 200, 0.45));
    transform: translateY(-50%);
    z-index: 0;
}

.career-milestone.is-road-active::before {
    background: #ff6a2a;
    box-shadow:
        0 0 0 8px rgba(255, 106, 42, 0.16),
        0 0 26px rgba(255, 106, 42, 0.55);
}

.career-milestone.is-road-active::after {
    box-shadow: 0 30px 70px rgba(15, 31, 54, 0.16);
}

/* =========================
   ADAPTIVE
========================= */

@media (max-width: 1200px) {
    .career-hero-container,
    .career-wide-container,
    .career-form-container {
        gap: 44px;
    }

    .career-hero-container {
        grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
    }

    .career-hero-visual {
        min-height: 520px;
    }

    .career-directions-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .career-road-map {
        min-height: 980px;
    }

    .career-milestone {
        width: 205px;
    }

    .milestone-7,
    .milestone-8,
    .milestone-9 {
        width: 220px;
    }

    .milestone-1 {
        left: 120px;
        bottom: 260px;
    }

    .milestone-2 {
        left: 250px;
        top: 110px;
    }

    .milestone-3 {
        left: 365px;
        bottom: 265px;
    }

    .milestone-4 {
        left: 410px;
        top: 32px;
    }

    .milestone-5 {
        left: 580px;
        bottom: 58px;
    }

    .milestone-6 {
        left: 700px;
        top: 180px;
    }

    .milestone-7 {
        left: 760px;
        top: 95px;
    }

    .milestone-8 {
        right: 42px;
        top: 365px;
    }

    .milestone-9 {
        right: 34px;
        bottom: 150px;
    }
}

@media (max-width: 980px) {
    .career-hero-full {
        min-height: auto;
        padding: 128px 20px 72px;
    }

    .career-hero-container {
        grid-template-columns: 1fr;
        gap: 44px;
    }

    .career-hero-content {
        max-width: 780px;
    }

    .career-hero-content h1 {
        font-size: clamp(44px, 11vw, 72px);
        line-height: 0.92;
    }

    .career-hero-content p {
        max-width: 720px;
        margin-top: 24px;
        font-size: 16px;
    }

    .career-hero-visual {
        min-height: 430px;
    }

    .career-visual-photo {
        position: absolute;
        border-radius: 34px 34px 34px 80px;
    }

    .career-floating-card-one {
        left: 22px;
        top: 24px;
    }

    .career-floating-card-two {
        right: 22px;
        bottom: 24px;
    }

    .career-wide-info,
    .career-dark-band,
    .career-form-zone {
        padding: 78px 20px;
    }

    .career-wide-container,
    .career-form-container {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .career-info-title,
    .career-form-left,
    .career-dark-head {
        max-width: 720px;
    }

    .career-info-text p,
    .career-form-left p {
        font-size: 15px;
    }

    .career-vacancy-row {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 26px 0;
        align-items: start;
    }

    .career-vacancy-row:hover {
        padding-left: 0;
    }

    .career-vacancy-row b {
        width: fit-content;
    }
}

@media (max-width: 860px) {
    .career-road-section {
        padding: 70px 14px;
    }

    .career-road-map {
        min-height: auto;
        padding: 28px 18px 28px 88px;
        border-radius: 28px;
    }

    .career-road-map::before {
        display: none;
    }

    .career-road-svg {
        display: none;
    }

    .career-road-map::after {
        content: "";
        position: absolute;
        left: 44px;
        top: 32px;
        bottom: 32px;
        width: 14px;
        border-radius: 999px;
        background: linear-gradient(180deg, #123b78, #1e67c8);
        z-index: 1;
    }

    .career-road-start {
        position: relative;
        left: auto;
        bottom: auto;
        margin-bottom: 20px;
        z-index: 30;
    }

    .career-road-start-badge {
        min-width: 72px;
        min-height: 72px;
        border-radius: 22px;
        font-size: 24px;
    }

    .career-milestone {
        position: relative;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        bottom: auto !important;
        width: 100% !important;
        margin: 0 0 14px;
    }

    .career-milestone::before {
        left: -38px !important;
        top: 28px !important;
        bottom: auto !important;
        width: 14px;
        height: 14px;
        box-shadow: 0 0 0 6px rgba(30, 103, 200, 0.12);
    }

    .career-road-truck {
        display: none;
    }

    .career-road-line {
        animation: none;
    }
}

@media (max-width: 640px) {
    .career-hero-full {
        padding: 108px 16px 58px;
    }

    .career-label {
        gap: 10px;
        margin-bottom: 18px;
        font-size: 11px;
        letter-spacing: 0.11em;
    }

    .career-label span {
        width: 32px;
    }

    .career-hero-content h1 {
        font-size: clamp(38px, 14vw, 56px);
        letter-spacing: -0.065em;
    }

    .career-hero-content p {
        margin-top: 20px;
        font-size: 14px;
        line-height: 1.65;
    }

    .career-hero-actions {
        width: 100%;
        margin-top: 26px;
        gap: 10px;
    }

    .career-btn {
        width: 100%;
        min-height: 52px;
        padding: 0 18px;
        font-size: 13px;
    }

    .career-hero-visual {
        min-height: 340px;
    }

    .career-visual-photo {
        border-radius: 28px 28px 28px 58px;
    }

    .career-visual-photo::after {
        inset: 14px;
        border-radius: 22px 22px 22px 44px;
    }

    .career-floating-card {
        min-width: 142px;
        padding: 14px;
        border-radius: 18px;
    }

    .career-floating-card strong {
        font-size: 24px;
    }

    .career-floating-card span {
        margin-top: 6px;
        font-size: 11px;
    }

    .career-floating-card-one {
        left: 12px;
        top: 14px;
    }

    .career-floating-card-two {
        right: 12px;
        bottom: 14px;
    }

    .career-wide-info,
    .career-dark-band,
    .career-form-zone {
        padding: 58px 16px;
    }

    .career-info-title span,
    .career-dark-head span,
    .career-form-left span,
    .career-road-head span {
        margin-bottom: 12px;
        font-size: 11px;
        letter-spacing: 0.11em;
    }

    .career-info-title h2,
    .career-dark-head h2,
    .career-form-left h2,
    .career-road-head h2 {
        font-size: clamp(30px, 10vw, 40px);
        letter-spacing: -0.055em;
    }

    .career-info-text p,
    .career-dark-head p,
    .career-form-left p,
    .career-road-head p {
        font-size: 14px;
        line-height: 1.65;
    }

    .career-directions-line {
        padding: 0 16px 58px;
    }

    .career-directions-container {
        grid-template-columns: 1fr;
        border-radius: 26px;
        overflow: hidden;
        border: 1px solid rgba(16, 24, 40, 0.10);
    }

    .career-direction {
        min-height: auto;
        padding: 24px;
        border-right: 0;
    }

    .career-direction:hover {
        transform: none;
    }

    .career-direction h3 {
        margin-top: 28px;
        font-size: 22px;
    }

    .career-vacancy-row {
        min-height: auto;
        padding: 24px 0;
    }

    .career-vacancy-row strong {
        font-size: 20px;
    }

    .career-vacancy-row p {
        font-size: 13px;
    }

    .career-vacancy-row b {
        width: 100%;
        justify-content: center;
    }

    .career-form {
        padding: 22px;
        border-radius: 26px;
        gap: 15px;
    }

    .career-form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .career-form input,
    .career-form select,
    .career-form textarea {
        border-radius: 16px;
        padding: 15px;
        font-size: 13px;
    }

    .career-form textarea {
        min-height: 120px;
    }

    .career-form button {
        min-height: 54px;
    }

    .career-road-section {
        padding: 58px 16px;
    }

    .career-road-head {
        margin-bottom: 28px;
    }

    .career-road-map {
        padding: 24px 14px 24px 72px;
        border-radius: 24px;
    }

    .career-road-map::after {
        left: 35px;
        top: 28px;
        bottom: 28px;
        width: 10px;
    }

    .career-road-start-badge {
        min-width: 62px;
        min-height: 62px;
        border-radius: 19px;
        font-size: 21px;
    }

    .career-road-start p {
        font-size: 11px;
    }

    .career-milestone {
        padding: 16px;
        border-radius: 20px;
        margin-bottom: 12px;
    }

    .career-milestone::before {
        left: -38px !important;
        top: 27px !important;
        width: 12px;
        height: 12px;
    }

    .career-milestone::after {
        border-radius: 20px;
    }

    .career-milestone h3 {
        font-size: 18px;
    }

    .career-milestone p {
        font-size: 12px;
    }
    .career-milestone-top {
    margin-bottom: 10px;
}

.career-milestone-logo {
    width: 56px;
    height: 38px;
    border-radius: 13px;
}

.career-milestone-logo--pair {
    width: 72px;
}
}

@media (max-width: 380px) {
    .career-hero-full {
        padding-left: 12px;
        padding-right: 12px;
    }

    .career-wide-info,
    .career-dark-band,
    .career-form-zone,
    .career-road-section,
    .career-directions-line {
        padding-left: 12px;
        padding-right: 12px;
    }

    .career-hero-visual {
        min-height: 300px;
    }

    .career-floating-card {
        min-width: 126px;
        padding: 12px;
    }

    .career-floating-card strong {
        font-size: 21px;
    }

    .career-form {
        padding: 18px;
    }
}
/* =========================
   SERVICE PAGE
========================= */

.service-page {
    background: #f4f6f9;
    overflow: hidden;
}

.service-container {
    max-width: 1320px;
    margin: 0 auto;
}

/* HERO */

.service-hero {
    position: relative;

    /* было min-height: 100vh; */
    min-height: min(100vh, 820px);

    padding: 130px 24px 80px;
    display: flex;
    align-items: center;

    background:
        radial-gradient(circle at 8% 18%, rgba(22, 87, 172, 0.15), transparent 30%),
        radial-gradient(circle at 90% 16%, rgba(255, 106, 42, 0.10), transparent 30%),
        linear-gradient(135deg, #f8fafc 0%, #edf1f6 100%);
}
@media (min-width: 1600px) {
    .service-hero {
        min-height: 760px;
        padding-top: 120px;
        padding-bottom: 70px;
    }
}
.service-hero-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(16, 24, 40, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(16, 24, 40, 0.035) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: linear-gradient(to bottom, transparent, black 18%, black 82%, transparent);
    pointer-events: none;
}

.service-hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    gap: 70px;
    align-items: center;
}

.service-label {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    color: #185aa8;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.service-label span {
    width: 44px;
    height: 2px;
    border-radius: 99px;
    background: linear-gradient(90deg, #185aa8, #ff6a2a);
}

.service-hero-content h1 {
    margin: 0;
    color: #101828;
    font-size: clamp(48px, 6vw, 88px);
    line-height: 0.92;
    letter-spacing: -0.075em;
    font-weight: 900;
}

.service-hero-content p {
    max-width: 650px;
    margin: 30px 0 0;
    color: #526071;
    font-size: 17px;
    line-height: 1.75;
    font-weight: 500;
}

.service-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 36px;
}

.service-btn {
    min-height: 56px;
    padding: 0 24px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 14px;
    font-weight: 900;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.service-btn-primary {
    color: #fff;
    background: linear-gradient(135deg, #123b78, #1e67c8);
    box-shadow: 0 18px 36px rgba(30, 103, 200, 0.25);
}

.service-btn-secondary {
    color: #101828;
    background: #fff;
    border: 1px solid rgba(16, 24, 40, 0.12);
}

/* HERO VISUAL */

.service-hero-visual {
    position: relative;
    min-height: 590px;
}

.service-hero-photo {
    position: absolute;
    overflow: hidden;
    background: #dde3eb;
    box-shadow: 0 34px 90px rgba(15, 31, 54, 0.18);
}

.service-hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-hero-photo-main {
    inset: 0 0 70px 80px;
    border-radius: 42px 42px 120px 42px;
}

.service-hero-photo-main::after,
.service-hero-photo-small::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(9, 18, 32, 0.36), rgba(9, 18, 32, 0.02));
    pointer-events: none;
}

.service-hero-photo-small {
    left: 0;
    bottom: 0;
    width: 46%;
    height: 260px;
    border-radius: 34px;
    border: 10px solid #f4f6f9;
}

.service-hero-card {
    position: absolute;
    right: -16px;
    bottom: 44px;
    z-index: 5;
    width: 260px;
    padding: 22px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.94);
    box-shadow: 0 24px 60px rgba(15, 31, 54, 0.16);
    backdrop-filter: blur(14px);
}

.service-hero-card strong {
    display: block;
    color: #101828;
    font-size: 20px;
    line-height: 1.1;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.service-hero-card span {
    display: block;
    margin-top: 10px;
    color: #667085;
    font-size: 13px;
    line-height: 1.45;
    font-weight: 700;
}

/* SECTION HEAD */

.service-directions {
    padding: 105px 24px;
    background: #fff;
}

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

.service-section-head span,
.service-infra-content span,
.service-cta-container span {
    display: inline-block;
    margin-bottom: 16px;
    color: #185aa8;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.service-section-head h2,
.service-infra-content h2,
.service-cta-container h2 {
    margin: 0;
    color: #101828;
    font-size: clamp(34px, 4vw, 58px);
    line-height: 1;
    letter-spacing: -0.06em;
    font-weight: 900;
}

.service-section-head p,
.service-infra-content p,
.service-cta-container p {
    max-width: 680px;
    margin: 20px 0 0;
    color: #667085;
    font-size: 16px;
    line-height: 1.75;
    font-weight: 500;
}

/* DIRECTIONS */

.service-directions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid rgba(16, 24, 40, 0.10);
    border-left: 1px solid rgba(16, 24, 40, 0.10);
}

.service-direction-card {
    min-height: 260px;
    padding: 30px;
    border-right: 1px solid rgba(16, 24, 40, 0.10);
    border-bottom: 1px solid rgba(16, 24, 40, 0.10);
    background: #fff;
    transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.service-direction-card:hover {
    transform: translateY(-6px);
    background: #f7f9fc;
    box-shadow: 0 24px 55px rgba(15, 31, 54, 0.08);
}

.service-direction-icon {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1e67c8;
    background: rgba(30, 103, 200, 0.10);
    font-size: 14px;
    font-weight: 900;
}

.service-direction-card h3 {
    margin: 38px 0 0;
    color: #101828;
    font-size: 24px;
    line-height: 1.1;
    letter-spacing: -0.045em;
    font-weight: 900;
}

.service-direction-card p {
    margin: 16px 0 0;
    color: #667085;
    font-size: 14px;
    line-height: 1.65;
    font-weight: 500;
}

/* INFRA */

.service-infra {
    padding: 110px 24px;
    background: #f4f6f9;
}

.service-infra-container {
    display: grid;
    grid-template-columns: 0.78fr 1.22fr;
    gap: 70px;
    align-items: center;
}

.service-infra-list {
    margin-top: 34px;
    display: grid;
    gap: 14px;
}

.service-infra-list div {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 16px;
    align-items: center;
    padding: 18px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid rgba(16, 24, 40, 0.07);
}

.service-infra-list strong {
    color: #1e67c8;
    font-size: 14px;
    font-weight: 900;
}

.service-infra-list span {
    margin: 0;
    color: #344054;
    font-size: 14px;
    line-height: 1.45;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: none;
}

.service-infra-gallery {
    position: relative;
    min-height: 520px;
}

.service-infra-img {
    position: absolute;
    object-fit: cover;
    box-shadow: 0 30px 80px rgba(15, 31, 54, 0.16);
}

.service-infra-img-big {
    inset: 0 0 70px 0;
    width: 82%;
    height: calc(100% - 70px);
    border-radius: 38px;
}

.service-infra-img-small {
    right: 0;
    bottom: 0;
    width: 48%;
    height: 250px;
    border-radius: 30px;
    border: 10px solid #f4f6f9;
}

/* CERTIFICATES */

.service-certificates {
    padding: 110px 24px;
    background:
        radial-gradient(circle at 12% 20%, rgba(30, 103, 200, 0.26), transparent 30%),
        radial-gradient(circle at 88% 30%, rgba(255, 106, 42, 0.17), transparent 28%),
        #101828;
}

.service-section-head-light h2,
.service-section-head-light p {
    color: #fff;
}

.service-section-head-light p {
    color: rgba(255, 255, 255, 0.64);
}

.service-cert-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.service-cert-card {
    min-height: 430px;
    padding: 0;
    border: 0;
    border-radius: 28px;
    overflow: hidden;
    cursor: pointer;
    text-align: left;
    background: #fff;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.service-cert-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 34px 80px rgba(0, 0, 0, 0.26);
}

.service-cert-card img {
    width: 100%;
    height: 310px;
    object-fit: cover;
    object-position: top center;
    background: #eef2f7;
}

.service-cert-card div {
    padding: 20px;
}

.service-cert-card span {
    display: block;
    margin-bottom: 10px;
    color: #1e67c8;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.12em;
}

.service-cert-card strong {
    display: block;
    color: #101828;
    font-size: 17px;
    line-height: 1.3;
    font-weight: 900;
}

/* PROCESS */

.service-process {
    padding: 105px 24px;
    background: #fff;
}

.service-process-line {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid rgba(16, 24, 40, 0.10);
    border-left: 1px solid rgba(16, 24, 40, 0.10);
}

.service-process-step {
    min-height: 240px;
    padding: 28px;
    border-right: 1px solid rgba(16, 24, 40, 0.10);
    border-bottom: 1px solid rgba(16, 24, 40, 0.10);
}

.service-process-step b {
    display: block;
    color: #1e67c8;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.12em;
}

.service-process-step strong {
    display: block;
    margin-top: 52px;
    color: #101828;
    font-size: 24px;
    line-height: 1.1;
    letter-spacing: -0.045em;
    font-weight: 900;
}

.service-process-step span {
    display: block;
    margin-top: 16px;
    color: #667085;
    font-size: 14px;
    line-height: 1.6;
    font-weight: 500;
}

/* CTA */

.service-cta {
    padding: 110px 24px;
    background: #f4f6f9;
}

.service-cta-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 42px;
    border-radius: 38px;
    display: grid;
    grid-template-columns: 0.82fr 1.18fr;
    gap: 70px;
    background: #fff;
    border: 1px solid rgba(16, 24, 40, 0.08);
    box-shadow: 0 28px 80px rgba(15, 31, 54, 0.10);
}

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

.service-form input,
.service-form select,
.service-form textarea {
    width: 100%;
    border: 1px solid rgba(16, 24, 40, 0.12);
    border-radius: 18px;
    padding: 16px 18px;
    outline: none;
    background: #f7f9fc;
    color: #101828;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
}

.service-form textarea {
    min-height: 120px;
    resize: vertical;
}

.service-form input:focus,
.service-form select:focus,
.service-form textarea:focus {
    border-color: rgba(30, 103, 200, 0.45);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(30, 103, 200, 0.10);
}

.service-form button {
    min-height: 58px;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    color: #fff;
    background: linear-gradient(135deg, #123b78, #1e67c8);
    font-family: inherit;
    font-size: 14px;
    font-weight: 900;
    box-shadow: 0 18px 36px rgba(30, 103, 200, 0.24);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-form button:hover {
    transform: translateY(-3px);
    box-shadow: 0 24px 48px rgba(30, 103, 200, 0.30);
}

/* CERT MODAL */

.service-cert-modal {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.service-cert-modal.is-open {
    display: flex;
}

.service-cert-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 10, 20, 0.72);
    backdrop-filter: blur(8px);
}

.service-cert-modal-content {
    position: relative;
    z-index: 2;
    width: min(920px, 100%);
    max-height: 92vh;
    padding: 18px;
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 34px 100px rgba(0, 0, 0, 0.34);
    overflow: auto;
}

.service-cert-modal-content h3 {
    margin: 0 50px 14px 4px;
    color: #101828;
    font-size: 22px;
    line-height: 1.2;
    letter-spacing: -0.04em;
    font-weight: 900;
}

.service-cert-modal-content img {
    width: 100%;
    height: auto;
    border-radius: 18px;
    background: #eef2f7;
}

.service-cert-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    background: #101828;
    color: #fff;
    font-size: 26px;
    line-height: 1;
}

/* ADAPTIVE */

@media (max-width: 1100px) {
    .service-hero-container,
    .service-infra-container,
    .service-cta-container {
        grid-template-columns: 1fr;
    }

    .service-hero-visual {
        min-height: 520px;
    }

    .service-directions-grid,
    .service-cert-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-process-line {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 700px) {
    .service-hero {
        min-height: auto;
        padding: 120px 14px 64px;
    }

    .service-hero-content h1 {
        font-size: 42px;
        letter-spacing: -0.055em;
    }

    .service-hero-content p {
        font-size: 15px;
    }

    .service-hero-actions {
        flex-direction: column;
    }

    .service-btn {
        width: 100%;
    }

    .service-hero-visual {
        min-height: 430px;
    }

    .service-hero-photo-main {
        inset: 0 0 90px 0;
        border-radius: 30px;
    }

    .service-hero-photo-small {
        width: 62%;
        height: 180px;
        border-width: 8px;
    }

    .service-hero-card {
        right: 0;
        bottom: 0;
        width: 220px;
    }

    .service-directions,
    .service-infra,
    .service-certificates,
    .service-process,
    .service-cta {
        padding: 70px 14px;
    }

    .service-directions-grid,
    .service-cert-grid,
    .service-process-line {
        grid-template-columns: 1fr;
    }

    .service-direction-card,
    .service-process-step {
        min-height: auto;
        padding: 24px;
    }

    .service-direction-card h3 {
        margin-top: 30px;
    }

    .service-process-step strong {
        margin-top: 34px;
    }

    .service-infra-gallery {
        min-height: 430px;
    }

    .service-infra-img-big {
        width: 100%;
        height: 300px;
        inset: 0 auto auto 0;
        border-radius: 28px;
    }

    .service-infra-img-small {
        width: 70%;
        height: 170px;
        border-width: 8px;
    }

    .service-cert-card {
        min-height: auto;
    }

    .service-cert-card img {
        height: 270px;
    }

    .service-cta-container {
        padding: 24px;
        border-radius: 28px;
    }
}
/* =====================================================
   ОБЩИЙ ФИКС: блоки не разъезжаются при отдалении экрана
===================================================== */

html,
body {
    width: 100%;
    overflow-x: hidden;
}

/* Все обычные бренд-блоки держим в нормальной ширине */
.showcase-section,
.jac-section,
.df-switcher-section,
.kyc-section,
.kamaz-section {
    width: 100%;
    max-width: 1560px;
    margin-left: auto;
    margin-right: auto;
    padding-left: clamp(14px, 2vw, 28px);
    padding-right: clamp(14px, 2vw, 28px);
}

/* Карточки не растягиваются бесконечно */
.showcase-card,
.jac-card,
.df-switcher-card,
.kyc-card,
.kamaz-card,
.canicom-card {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

/* Сетки внутри блоков не должны ломать ширину */
.showcase-main,
.jac-card,
.df-switcher-card,
.kyc-card,
.kamaz-card,
.canicom-card {
    min-width: 0;
}

/* Текстовые части не растягивают блок */
.showcase-content,
.jac-content,
.df-switcher-content,
.kyc-content,
.kamaz-content,
.canicom-content {
    min-width: 0;
}

/* Визуальные части не вылезают за блок */
.showcase-media,
.jac-visual,
.df-switcher-visual,
.kyc-visual,
.kamaz-visual,
.canicom-visual {
    min-width: 0;
    overflow: hidden;
}

/* Картинки не улетают вправо */
.jac-truck,
.df-vehicle-image,
.kyc-vehicles-image,
.kamaz-truck-image,
.canicom-boxes,
.canicom-pad {
    max-width: 100%;
}

/* =====================================================
   CANICOM: фон во всю ширину экрана
===================================================== */

.canicom-section {
    width: 100vw;
    max-width: none;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding-left: 0;
    padding-right: 0;
    overflow: hidden;
    position: relative;

    background:
        radial-gradient(circle at 20% 20%, rgba(73, 203, 255, 0.08) 0%, rgba(73, 203, 255, 0) 28%),
        radial-gradient(circle at 80% 18%, rgba(120, 78, 255, 0.12) 0%, rgba(120, 78, 255, 0) 30%),
        linear-gradient(135deg, #02070d 0%, #040c14 42%, #010204 100%);
}

/* Звёзды/точки Canicom теперь тоже на весь экран */
.canicom-section::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;

    background-image:
        radial-gradient(circle, rgba(255,255,255,0.95) 1px, transparent 1.6px),
        radial-gradient(circle, rgba(255,255,255,0.75) 1px, transparent 1.8px),
        radial-gradient(circle, rgba(255,255,255,0.55) 1.2px, transparent 2px),
        radial-gradient(circle, rgba(255,255,255,0.85) 0.8px, transparent 1.4px);

    background-size:
        140px 140px,
        210px 210px,
        260px 260px,
        320px 320px;

    background-position:
        20px 30px,
        80px 120px,
        160px 40px,
        40px 200px;

    opacity: 0.42;
}

/* Контент Canicom собран по центру */
.canicom-card {
    max-width: 1560px;
    margin-left: auto;
    margin-right: auto;
    background: transparent;
    position: relative;
    z-index: 2;
    border-radius: 0;
}

/* Отключаем старый фон/звёзды у самой карточки, чтобы не было двойного слоя */
.canicom-card::before {
    display: none;
}

/* =====================================================
   БОЛЬШИЕ ЭКРАНЫ
===================================================== */

@media (min-width: 1600px) {
    .showcase-section,
    .jac-section,
    .df-switcher-section,
    .kyc-section,
    .kamaz-section {
        max-width: 1480px;
    }

    .canicom-card {
        max-width: 1480px;
    }

    .showcase-main {
        min-height: 520px;
    }

    .jac-card {
        min-height: 560px;
    }

    .df-switcher-card {
        min-height: 520px;
    }

    .kyc-card {
        min-height: 500px;
    }

    .kamaz-card {
        min-height: 500px;
    }

    .canicom-card {
        min-height: 500px;
    }
}

/* Очень большие мониторы */
@media (min-width: 2200px) {
    .showcase-section,
    .jac-section,
    .df-switcher-section,
    .kyc-section,
    .kamaz-section {
        max-width: 1440px;
    }

    .canicom-card {
        max-width: 1440px;
    }
}

/* =====================================================
   МОБИЛЬНАЯ ЗАЩИТА
===================================================== */

@media (max-width: 980px) {
    .canicom-section {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    .canicom-card {
        max-width: 100%;
    }
}
/* =========================
   ABOUT PAGE
========================= */

.about-page {
    background: #f4f6f9;
    overflow: hidden;
}

.about-container {
    max-width: 1320px;
    margin: 0 auto;
}

/* HERO */

.about-hero {
    position: relative;
    min-height: min(100vh, 820px);
    padding: 140px 24px 90px;
    display: flex;
    align-items: center;
    background:
        radial-gradient(circle at 8% 18%, rgba(22, 87, 172, 0.14), transparent 30%),
        radial-gradient(circle at 90% 16%, rgba(255, 106, 42, 0.10), transparent 30%),
        linear-gradient(135deg, #f8fafc 0%, #edf1f6 100%);
}

.about-hero-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(16, 24, 40, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(16, 24, 40, 0.035) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: linear-gradient(to bottom, transparent, black 18%, black 82%, transparent);
    pointer-events: none;
}

.about-hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 70px;
    align-items: center;
}

.about-label {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    color: #185aa8;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.about-label span {
    width: 44px;
    height: 2px;
    border-radius: 99px;
    background: linear-gradient(90deg, #185aa8, #ff6a2a);
}

.about-hero-content h1 {
    margin: 0;
    color: #101828;
    font-size: clamp(46px, 5.6vw, 52px);
    line-height: 0.92;
    letter-spacing: -0.075em;
    font-weight: 900;
}

.about-hero-content p {
    max-width: 660px;
    margin: 30px 0 0;
    color: #526071;
    font-size: 17px;
    line-height: 1.75;
    font-weight: 500;
}

.about-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 36px;
}

.about-btn {
    min-height: 56px;
    padding: 0 24px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 14px;
    font-weight: 900;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.about-btn-primary {
    color: #fff;
    background: linear-gradient(135deg, #123b78, #1e67c8);
    box-shadow: 0 18px 36px rgba(30, 103, 200, 0.25);
}

.about-btn-secondary {
    color: #101828;
    background: #fff;
    border: 1px solid rgba(16, 24, 40, 0.12);
}

/* HERO VISUAL */

.about-hero-visual {
    position: relative;
    min-height: 560px;
    border-radius: 42px 42px 42px 120px;
    overflow: hidden;
    box-shadow: 0 34px 90px rgba(15, 31, 54, 0.20);
}

.about-hero-visual img {
    width: 100%;
    height: 100%;
    min-height: 560px;
    object-fit: cover;
}

.about-hero-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(9, 18, 32, 0.58), rgba(9, 18, 32, 0.05));
}

.about-hero-card {
    position: absolute;
    left: 28px;
    bottom: 28px;
    z-index: 3;
    width: 250px;
    padding: 22px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.94);
    box-shadow: 0 24px 60px rgba(15, 31, 54, 0.16);
    backdrop-filter: blur(14px);
}

.about-hero-card strong {
    display: block;
    color: #101828;
    font-size: 38px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: -0.05em;
}

.about-hero-card span {
    display: block;
    margin-top: 10px;
    color: #667085;
    font-size: 13px;
    line-height: 1.45;
    font-weight: 700;
}

/* COMPANY */

.about-company {
    padding: 100px 24px;
    background: #fff;
}

.about-company-grid {
    display: grid;
    grid-template-columns: 0.82fr 1.18fr;
    gap: 70px;
    align-items: start;
}

.about-section-head span,
.about-photo-content span,
.about-map-info span {
    display: inline-block;
    margin-bottom: 16px;
    color: #185aa8;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.about-section-head h2,
.about-photo-content h2,
.about-map-info h2 {
    margin: 0;
    color: #101828;
    font-size: clamp(34px, 4vw, 58px);
    line-height: 1;
    letter-spacing: -0.06em;
    font-weight: 900;
}

.about-company-text p,
.about-photo-content p,
.about-map-info p {
    margin: 0;
    color: #667085;
    font-size: 17px;
    line-height: 1.75;
    font-weight: 500;
}

.about-company-text p + p {
    margin-top: 22px;
}

/* DIRECTIONS */

.about-directions {
    padding: 105px 24px;
    background: #f4f6f9;
}

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

.about-directions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid rgba(16, 24, 40, 0.10);
    border-left: 1px solid rgba(16, 24, 40, 0.10);
    background: #fff;
}

.about-direction-card {
    min-height: 270px;
    padding: 30px;
    border-right: 1px solid rgba(16, 24, 40, 0.10);
    border-bottom: 1px solid rgba(16, 24, 40, 0.10);
    transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.about-direction-card:hover {
    transform: translateY(-6px);
    background: #f7f9fc;
    box-shadow: 0 24px 55px rgba(15, 31, 54, 0.08);
}

.about-direction-card b {
    color: #1e67c8;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.12em;
}

.about-direction-card h3 {
    margin: 54px 0 0;
    color: #101828;
    font-size: 24px;
    line-height: 1.1;
    letter-spacing: -0.045em;
    font-weight: 900;
}

.about-direction-card p {
    margin: 16px 0 0;
    color: #667085;
    font-size: 14px;
    line-height: 1.65;
    font-weight: 500;
}

/* NUMBERS */

.about-numbers {
    padding: 90px 24px;
    background: #101828;
}

.about-numbers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.about-numbers-grid div {
    padding: 34px;
    background: #101828;
}

.about-numbers-grid strong {
    display: block;
    color: #fff;
    font-size: clamp(34px, 4vw, 58px);
    line-height: 1;
    font-weight: 900;
    letter-spacing: -0.06em;
}

.about-numbers-grid span {
    display: block;
    margin-top: 14px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 14px;
    line-height: 1.45;
    font-weight: 700;
}

/* PHOTOS */

.about-photo-section {
    padding: 110px 24px;
    background: #fff;
}

.about-photo-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 70px;
    align-items: center;
}

.about-photo-content p {
    margin-top: 22px;
    max-width: 560px;
}

.about-photo-collage {
    position: relative;
    min-height: 520px;
}

.about-photo-big,
.about-photo-small {
    position: absolute;
    object-fit: cover;
    box-shadow: 0 30px 80px rgba(15, 31, 54, 0.16);
}

.about-photo-big {
    inset: 0 0 70px 0;
    width: 82%;
    height: calc(100% - 70px);
    border-radius: 38px;
}

.about-photo-small {
    right: 0;
    bottom: 0;
    width: 48%;
    height: 250px;
    border-radius: 30px;
    border: 10px solid #fff;
}

/* MAP */

.about-map-section {
    padding: 110px 24px;
    background: #f4f6f9;
}

.about-map-grid {
    display: grid;
    grid-template-columns: 0.72fr 1.28fr;
    gap: 60px;
    align-items: stretch;
}

.about-map-info {
    padding: 36px;
    border-radius: 34px;
    background: #fff;
    border: 1px solid rgba(16, 24, 40, 0.08);
    box-shadow: 0 24px 70px rgba(15, 31, 54, 0.08);
}

.about-map-info p {
    margin-top: 20px;
}

.about-contact-list {
    display: grid;
    gap: 14px;
    margin-top: 34px;
}

.about-contact-list div {
    padding: 18px;
    border-radius: 20px;
    background: #f7f9fc;
    border: 1px solid rgba(16, 24, 40, 0.07);
}

.about-contact-list b {
    display: block;
    margin-bottom: 8px;
    color: #1e67c8;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.about-contact-list span,
.about-contact-list a {
    color: #344054;
    font-size: 15px;
    line-height: 1.45;
    font-weight: 700;
    text-decoration: none;
}

.about-map {
    min-height: 520px;
    border-radius: 34px;
    overflow: hidden;
    background: #dce3ec;
    box-shadow: 0 24px 70px rgba(15, 31, 54, 0.10);
}

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

/* ADAPTIVE */

@media (max-width: 1100px) {
    .about-hero-container,
    .about-company-grid,
    .about-photo-grid,
    .about-map-grid {
        grid-template-columns: 1fr;
    }

    .about-directions-grid,
    .about-numbers-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-hero-visual {
        min-height: 480px;
    }

    .about-hero-visual img {
        min-height: 480px;
    }
}

@media (max-width: 700px) {
    .about-hero {
        min-height: auto;
        padding: 120px 14px 64px;
    }

    .about-hero-content h1 {
        font-size: 42px;
        letter-spacing: -0.055em;
    }

    .about-hero-content p {
        font-size: 15px;
    }

    .about-hero-actions {
        flex-direction: column;
    }

    .about-btn {
        width: 100%;
    }

    .about-hero-visual {
        min-height: 380px;
        border-radius: 30px;
    }

    .about-hero-visual img {
        min-height: 380px;
    }

    .about-hero-card {
        width: calc(100% - 32px);
        left: 16px;
        bottom: 16px;
    }

    .about-company,
    .about-directions,
    .about-photo-section,
    .about-map-section {
        padding: 70px 14px;
    }

    .about-numbers {
        padding: 70px 14px;
    }

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

    .about-direction-card {
        min-height: auto;
        padding: 24px;
    }

    .about-direction-card h3 {
        margin-top: 34px;
    }

    .about-photo-collage {
        min-height: 430px;
    }

    .about-photo-big {
        width: 100%;
        height: 300px;
        inset: 0 auto auto 0;
        border-radius: 28px;
    }

    .about-photo-small {
        width: 70%;
        height: 170px;
        border-width: 8px;
    }

    .about-map-info {
        padding: 24px;
        border-radius: 26px;
    }

    .about-map {
        min-height: 420px;
        border-radius: 26px;
    }
}

.whatsapp-float {
    position: fixed;
    right: 22px;
    bottom: 28px;
    z-index: 900;

    width: 60px;
    height: 60px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    background: linear-gradient(135deg, #25D366, #16b857);
    color: #ffffff;
    text-decoration: none;

    box-shadow:
        0 18px 38px rgba(37, 211, 102, 0.28),
        0 0 0 8px rgba(37, 211, 102, 0.08);

    transition:
        bottom 0.35s ease,
        transform 0.22s ease,
        box-shadow 0.22s ease;
}

/* Когда кнопка вверх появилась — WhatsApp поднимается */
body.scroll-top-visible .whatsapp-float {
    bottom: 96px;
}

.whatsapp-float:hover {
    transform: translateY(-4px) scale(1.04);
    box-shadow:
        0 24px 50px rgba(37, 211, 102, 0.36),
        0 0 0 12px rgba(37, 211, 102, 0.10);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
    fill: currentColor;
}

.whatsapp-float::before {
    content: "";
    position: absolute;
    inset: -8px;
    z-index: -1;
    border-radius: inherit;
    border: 1px solid rgba(37, 211, 102, 0.36);
    animation: whatsappPulse 2.2s ease-out infinite;
}

@keyframes whatsappPulse {
    0% {
        opacity: 0.75;
        transform: scale(0.92);
    }

    100% {
        opacity: 0;
        transform: scale(1.35);
    }
}

@media (max-width: 640px) {
    .whatsapp-float {
        right: 14px;
        bottom: 16px;
        width: 56px;
        height: 56px;
    }

    body.scroll-top-visible .whatsapp-float {
        bottom: 84px;
    }

    .whatsapp-float svg {
        width: 30px;
        height: 30px;
    }
}   
/* =========================
   ABOUT CERTIFICATES
========================= */

.about-certificates {
    padding: 100px 24px;
    background:
        radial-gradient(circle at 10% 20%, rgba(30, 103, 200, 0.08), transparent 28%),
        radial-gradient(circle at 90% 18%, rgba(255, 106, 42, 0.07), transparent 26%),
        #f4f6f9;
}

.about-certificates-head {
    max-width: 820px;
    margin-bottom: 42px;
}

.about-certificates-head span {
    display: inline-block;
    margin-bottom: 16px;
    color: #185aa8;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.about-certificates-head h2 {
    margin: 0;
    color: #101828;
    font-size: clamp(34px, 4vw, 58px);
    line-height: 1;
    letter-spacing: -0.06em;
    font-weight: 900;
}

.about-certificates-head p {
    max-width: 680px;
    margin: 20px 0 0;
    color: #667085;
    font-size: 16px;
    line-height: 1.7;
    font-weight: 500;
}

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

.about-certificate-card {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    background: #ffffff;
    border: 1px solid rgba(16, 24, 40, 0.08);
    box-shadow: 0 26px 70px rgba(15, 31, 54, 0.10);
    text-align: left;
    color: inherit;
    cursor: pointer;
    padding: 0;
    font-family: inherit;
    transition:
        transform 0.28s ease,
        box-shadow 0.28s ease,
        border-color 0.28s ease;
}

.about-certificate-card:hover {
    transform: translateY(-8px);
    border-color: rgba(30, 103, 200, 0.18);
    box-shadow: 0 34px 90px rgba(15, 31, 54, 0.16);
}

.about-certificate-image {
    position: relative;
    aspect-ratio: 1.48 / 1;
    padding: 16px;
    background: linear-gradient(135deg, #ffffff 0%, #f4f7fb 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-certificate-image::after {
    content: "Посмотреть";
    position: absolute;
    right: 16px;
    bottom: 16px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(16, 24, 40, 0.82);
    color: #ffffff;
    font-size: 11px;
    line-height: 1;
    font-weight: 900;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.about-certificate-card:hover .about-certificate-image::after {
    opacity: 1;
    transform: translateY(0);
}

.about-certificate-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    border-radius: 18px;
    background: #ffffff;
}

.about-certificate-info {
    padding: 22px 24px 26px;
}

.about-certificate-info span {
    display: inline-flex;
    margin-bottom: 12px;
    color: #1e67c8;
    font-size: 11px;
    font-weight: 950;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.about-certificate-info h3 {
    margin: 0;
    color: #101828;
    font-size: 22px;
    line-height: 1.12;
    letter-spacing: -0.04em;
    font-weight: 950;
}

.about-certificate-info p {
    margin: 12px 0 0;
    color: #667085;
    font-size: 14px;
    line-height: 1.6;
    font-weight: 500;
}

/* =========================
   CERTIFICATE MODAL
========================= */

.certificate-modal,
.certificate-modal * {
    box-sizing: border-box;
}

.certificate-modal {
    position: fixed;
    inset: 0;
    z-index: 6000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 22px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.28s ease, visibility 0.28s ease;
}

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

.certificate-modal__overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 80% 20%, rgba(30, 103, 200, 0.24), transparent 34%),
        rgba(7, 12, 22, 0.72);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.certificate-modal__window {
    position: relative;
    width: min(1180px, 100%);
    max-height: calc(100vh - 44px);
    display: grid;
    grid-template-columns: 330px minmax(0, 1fr);
    overflow: hidden;
    border-radius: 34px;
    background: #ffffff;
    box-shadow: 0 34px 120px rgba(0, 0, 0, 0.36);
    transform: translateY(22px) scale(0.96);
    transition: transform 0.28s ease;
}

.certificate-modal.is-open .certificate-modal__window {
    transform: translateY(0) scale(1);
}

.certificate-modal__close {
    position: absolute;
    right: 18px;
    top: 18px;
    z-index: 5;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    background: rgba(16, 24, 40, 0.10);
    color: #101828;
    font-size: 28px;
    line-height: 1;
    transition: background 0.22s ease, transform 0.22s ease;
}

.certificate-modal__close:hover {
    background: rgba(16, 24, 40, 0.16);
    transform: rotate(90deg);
}

.certificate-modal__head {
    padding: 42px 30px;
    background:
        radial-gradient(circle at 20% 10%, rgba(255, 255, 255, 0.18), transparent 30%),
        linear-gradient(145deg, #101828 0%, #152238 58%, #123b78 100%);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.certificate-modal__head span {
    width: fit-content;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    font-size: 11px;
    font-weight: 950;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.certificate-modal__head h3 {
    margin: 22px 0 0;
    color: #ffffff;
    font-size: 34px;
    line-height: 1;
    letter-spacing: -0.055em;
    font-weight: 950;
}

.certificate-modal__head p {
    margin: 16px 0 0;
    color: rgba(255, 255, 255, 0.68);
    font-size: 14px;
    line-height: 1.65;
    font-weight: 500;
}

.certificate-modal__image-wrap {
    min-height: 640px;
    max-height: calc(100vh - 44px);
    padding: 24px;
    background: #f4f6f9;
    overflow: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.certificate-modal__image-wrap img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    display: block;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 18px 50px rgba(15, 31, 54, 0.16);
}

.certificate-modal__link {
    position: absolute;
    left: 30px;
    bottom: 30px;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #101828;
    background: #ffffff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 950;
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.18);
}

body.certificate-modal-open {
    overflow: hidden;
}

@media (max-width: 980px) {
    .about-certificates {
        padding: 78px 20px;
    }

    .about-certificates-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .about-certificate-card {
        display: grid;
        grid-template-columns: 1fr 0.85fr;
        align-items: stretch;
    }

    .about-certificate-image {
        min-height: 260px;
    }

    .certificate-modal__window {
        grid-template-columns: 1fr;
        overflow-y: auto;
    }

    .certificate-modal__head {
        padding: 34px 26px 26px;
    }

    .certificate-modal__image-wrap {
        min-height: auto;
        max-height: none;
    }

    .certificate-modal__link {
        position: static;
        margin: 0 26px 26px;
        width: fit-content;
    }
}

@media (max-width: 640px) {
    .about-certificates {
        padding: 58px 16px;
    }

    .about-certificates-head {
        margin-bottom: 30px;
    }

    .about-certificates-head span {
        margin-bottom: 12px;
        font-size: 11px;
        letter-spacing: 0.11em;
    }

    .about-certificates-head h2 {
        font-size: clamp(30px, 10vw, 40px);
        letter-spacing: -0.055em;
    }

    .about-certificates-head p {
        font-size: 14px;
        line-height: 1.65;
    }

    .about-certificate-card {
        display: block;
        border-radius: 26px;
    }

    .about-certificate-image {
        min-height: auto;
        aspect-ratio: 1.35 / 1;
        padding: 12px;
    }

    .about-certificate-image::after {
        opacity: 1;
        transform: none;
        right: 12px;
        bottom: 12px;
    }

    .about-certificate-info {
        padding: 20px;
    }

    .about-certificate-info h3 {
        font-size: 20px;
    }

    .about-certificate-info p {
        font-size: 13px;
    }

    .certificate-modal {
        padding: 12px;
    }

    .certificate-modal__window {
        max-height: calc(100vh - 24px);
        border-radius: 26px;
    }

    .certificate-modal__close {
        right: 12px;
        top: 12px;
    }

    .certificate-modal__head {
        padding: 30px 20px 22px;
    }

    .certificate-modal__head h3 {
        font-size: 27px;
    }

    .certificate-modal__image-wrap {
        padding: 14px;
    }

    .certificate-modal__image-wrap img {
        border-radius: 14px;
    }

    .certificate-modal__link {
        margin: 0 20px 20px;
        width: calc(100% - 40px);
    }
}