/* Оформление БашКранМаркет. Базовый style.css не изменять. */

.home-page .bkm-hero {
    position: relative;
    margin: -30px calc(50% - 50vw) 40px;
    min-height: 0;
    padding: 0;
    overflow: hidden;
    border-radius: 0;
    background: #12171d;
    box-shadow: 0 20px 46px rgba(17, 28, 38, .16);
}
.home-page .bkm-hero:before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(10, 14, 18, .92) 0%, rgba(10, 14, 18, .82) 34%, rgba(10, 14, 18, .58) 58%, rgba(10, 14, 18, .38) 100%),
        linear-gradient(180deg, rgba(245, 184, 46, .08), rgba(245, 184, 46, 0) 22%),
        var(--bkm-hero-bg) center center / cover no-repeat;
    pointer-events: none;
}
.home-page .bkm-hero:after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 78% 62%, rgba(245, 184, 46, .12), transparent 22%),
        linear-gradient(180deg, rgba(0, 0, 0, 0) 68%, rgba(8, 11, 15, .48) 100%);
    pointer-events: none;
}
.home-page .bkm-hero__inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 158px);
    min-height: calc(100svh - 158px);
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 48px;
}
.home-page .bkm-hero__body {
    position: relative;
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    min-height: 0;
    padding: 62px 0 46px;
}
.home-page .bkm-hero__content {
    position: relative;
    z-index: 1;
    max-width: 760px;
}
.home-page .bkm-hero__eyebrow {
    display: inline-block;
    margin-bottom: 18px;
    color: #f5b82e;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.home-page .bkm-hero h2 {
    margin: 0 0 16px;
    color: #fff;
    font-size: clamp(32px, 4.5vw, 58px);
    line-height: 1.1;
    font-weight: 800;
}
.home-page .bkm-hero p {
    max-width: 520px;
    margin: 0 0 30px;
    color: rgba(233, 239, 244, .86);
    font-size: 19px;
    line-height: 1.55;
}
.home-page .bkm-hero__finder {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    max-width: 680px;
    border-radius: 8px;
    background: rgba(255,255,255,.92);
    box-shadow: 0 16px 28px rgba(0,0,0,.18);
}
.home-page .bkm-hero__finder-link,
.home-page .bkm-hero__finder-button {
    display: flex;
    align-items: center;
    min-height: 56px;
    padding: 12px 18px;
    text-decoration: none !important;
}
.home-page .bkm-hero__finder-link {
    position: relative;
    color: #232b33 !important;
    font-size: 15px;
    font-weight: 600;
}
.home-page .bkm-hero__finder-link:after {
    content: '';
    position: absolute;
    top: 12px;
    right: 0;
    bottom: 12px;
    width: 1px;
    background: #d9e1e8;
}
.home-page .bkm-hero__finder-button {
    justify-content: center;
    background: #f5b82e;
    color: #18212b !important;
    border-radius: 0 0 8px 0;
    font-size: 16px;
    font-weight: 800;
}
.home-page .bkm-hero__finder-button:hover,
.home-page .bkm-hero__finder-button:focus {
    background: #ffd16b;
    color: #18212b !important;
}
.home-page .bkm-hero__stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 0;
    margin: 0 calc(50% - 50vw);
    padding: 0;
    list-style: none;
    border-top: 1px solid rgba(255,255,255,.08);
    background: linear-gradient(180deg, rgba(12, 16, 20, .76), rgba(8, 12, 15, .94));
    backdrop-filter: blur(6px);
}
.home-page .bkm-hero__stats li {
    min-width: 0;
    text-align: center;
}
.home-page .bkm-hero__stats a {
    display: block;
    box-sizing: border-box;
    height: 100%;
    min-height: 44px;
    padding: 18px 20px 16px;
    color: inherit;
    text-decoration: none;
}
.home-page .bkm-hero__stats a:hover {
    background: rgba(245, 184, 46, .1);
}
.home-page .bkm-hero__stats a:focus-visible {
    outline: 3px solid #f5b82e;
    outline-offset: -3px;
}
.home-page .bkm-hero__stats strong,
.home-page .bkm-hero__stats span {
    display: block;
}
.home-page .bkm-hero__stats strong {
    color: #f5b82e;
    font-size: 24px;
    line-height: 1.05;
    font-weight: 800;
}
.home-page .bkm-hero__stats span {
    margin-top: 4px;
    color: rgba(240, 243, 246, .88);
    font-size: 13px;
    line-height: 1.35;
}
.home-page .bkm-overview,
.home-page .bkm-brands,
.home-page .bkm-guides {
    margin: 0 0 30px;
}
.home-page .bkm-overview__intro,
.home-page .bkm-guide-card {
    padding: 26px 28px;
    border: 1px solid #e4e8ec;
    background: linear-gradient(180deg, #ffffff, #f7f9fb);
}
.home-page .bkm-overview__intro {
    margin-bottom: 16px;
}
.home-page .bkm-section-badge {
    display: inline-block;
    margin-bottom: 10px;
    padding: 5px 10px;
    color: #475764;
    background: #eef3f6;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
}
.home-page .bkm-overview__intro h3,
.home-page .bkm-guide-card h3 {
    margin: 0 0 10px;
    color: #1f2b35;
    font-size: 28px;
    line-height: 1.15;
}
.home-page .bkm-overview__intro p,
.home-page .bkm-guide-card p {
    margin: 0;
    color: #556371;
    font-size: 16px;
    line-height: 1.6;
}
.home-page .bkm-overview__grid > div {
    margin-bottom: 16px;
}
.home-page .bkm-panel {
    display: block;
    min-height: 100%;
    padding: 22px 22px 20px;
    color: #1f2b35 !important;
    text-decoration: none !important;
    border: 1px solid #e1e7eb;
    background: #fff;
    box-shadow: 0 10px 24px rgba(21, 39, 55, .05);
}
.home-page .bkm-panel--accent {
    background: linear-gradient(160deg, #fff8e8, #ffffff 72%);
    border-color: #f0d48b;
}
.home-page .bkm-panel__eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    color: #9a6b09;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
}
.home-page .bkm-panel strong,
.home-page .bkm-panel span {
    display: block;
}
.home-page .bkm-panel strong {
    margin-bottom: 10px;
    font-size: 22px;
    line-height: 1.2;
}
.home-page .bkm-panel span {
    color: #5d6c79;
    line-height: 1.6;
}
.home-page .bkm-brand-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 0 4px;
}
.home-page .bkm-brand-chip {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    padding: 10px 16px;
    border: 1px solid #d9e0e6;
    border-radius: 999px;
    background: linear-gradient(180deg, #ffffff, #f7f9fb);
    color: #21313f !important;
    text-decoration: none !important;
    font-weight: 700;
    box-shadow: 0 8px 18px rgba(21, 39, 55, .05);
}
.home-page .bkm-brand-chip:hover {
    border-color: #ffbe3b;
    color: #1b242c !important;
}
.home-page .bkm-brands__note {
    margin: 16px 4px 0;
    color: #5f6e7c;
    font-size: 15px;
    line-height: 1.6;
}
.home-page .bkm-guides > div {
    margin-bottom: 16px;
}
.home-page .bkm-points {
    margin: 0;
    padding: 0;
    list-style: none;
}
.home-page .bkm-points li {
    padding: 14px 0;
    border-top: 1px solid #e6ebef;
}
.home-page .bkm-points li:first-child {
    padding-top: 0;
    border-top: 0;
}
.home-page .bkm-points strong,
.home-page .bkm-points span {
    display: block;
}
.home-page .bkm-points strong {
    margin-bottom: 6px;
    color: #1f2b35;
    font-size: 18px;
}
.home-page .bkm-points span {
    color: #5a6875;
    line-height: 1.6;
}
.home-page .bkm-guide-card {
    min-height: 100%;
}
.home-page .bkm-guide-card--light {
    background: linear-gradient(180deg, #fffdf7, #ffffff);
}
.home-page .bkm-steps,
.home-page .bkm-links {
    margin: 0;
    padding: 0;
    list-style: none;
}
.home-page .bkm-steps li,
.home-page .bkm-links li {
    padding: 14px 0;
    border-top: 1px solid #e6ebef;
}
.home-page .bkm-steps li:first-child,
.home-page .bkm-links li:first-child {
    border-top: 0;
    padding-top: 0;
}
.home-page .bkm-steps strong,
.home-page .bkm-steps span {
    display: block;
}
.home-page .bkm-steps strong {
    margin-bottom: 6px;
    color: #1f2b35;
    font-size: 18px;
}
.home-page .bkm-steps span,
.home-page .bkm-links a,
.home-page .bkm-guide-note {
    color: #5a6875;
    line-height: 1.6;
}
.home-page .bkm-links a {
    font-weight: 600;
}
.home-page .bkm-guide-note {
    margin-top: 12px !important;
    padding-top: 14px;
    border-top: 1px solid #e6ebef;
}
@media (max-width: 991px) {
    .home-page .bkm-hero {
        margin-top: -20px;
        min-height: 0;
    }
    .home-page .bkm-hero:before {
        background:
            linear-gradient(180deg, rgba(10, 14, 18, .82) 0%, rgba(10, 14, 18, .76) 38%, rgba(10, 14, 18, .82) 100%),
            linear-gradient(180deg, rgba(245, 184, 46, .08), rgba(245, 184, 46, 0) 22%),
            var(--bkm-hero-bg) center center / cover no-repeat;
    }
    .home-page .bkm-hero__inner {
        min-height: 0;
        padding: 0 24px;
    }
    .home-page .bkm-hero h2 {
        font-size: 42px;
    }
    .home-page .bkm-hero__body {
        padding-top: 56px;
    }
    .home-page .bkm-hero__finder {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }
    .home-page .bkm-hero__stats {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }
    .home-page .bkm-overview__intro h3,
    .home-page .bkm-guide-card h3 { font-size: 24px; }
    .home-page .bkm-brand-cloud { gap: 10px; }
    .home-page .bkm-brand-chip { min-height: 44px; padding: 9px 14px; font-size: 14px; }
}
@media (max-width: 575px) {
    .home-page .bkm-hero {
        margin-bottom: 24px;
        min-height: 0;
    }
    .home-page .bkm-hero__inner {
        padding: 0 18px;
    }
    .home-page .bkm-hero h2 {
        margin-bottom: 12px;
        font-size: 32px;
    }
    .home-page .bkm-hero p {
        margin-bottom: 18px;
        font-size: 15px;
    }
    .home-page .bkm-hero__body {
        padding-top: 40px;
        padding-bottom: 28px;
    }
    .home-page .bkm-hero__finder {
        grid-template-columns: minmax(0,1fr);
    }
    .home-page .bkm-hero__finder-button {
        border-radius: 0 0 8px 8px;
    }
    .home-page .bkm-hero__finder-link {
        min-height: 48px;
        font-size: 14px;
    }
    .home-page .bkm-hero__finder-link:after {
        left: 14px;
        right: 14px;
        top: auto;
        bottom: 0;
        width: auto;
        height: 1px;
    }
    .home-page .bkm-hero__stats {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }
    .home-page .bkm-hero__stats a {
        padding: 14px 12px;
    }
    .home-page .bkm-hero__stats strong {
        font-size: 20px;
    }
    .home-page .bkm-overview,
    .home-page .bkm-brands,
    .home-page .bkm-guides {
        margin-bottom: 24px;
    }
    .home-page .bkm-overview__intro,
    .home-page .bkm-guide-card {
        padding: 20px 18px;
    }
    .home-page .bkm-overview__intro h3,
    .home-page .bkm-guide-card h3 {
        font-size: 22px;
    }
    .home-page .bkm-panel {
        padding: 18px 18px 16px;
    }
    .home-page .bkm-panel strong {
        font-size: 20px;
    }
    .home-page .bkm-brand-cloud {
        gap: 8px;
        padding: 0;
    }
    .home-page .bkm-brand-chip {
        width: 100%;
        justify-content: center;
    }
}

.home-page .bkm-hero__finder a:hover {
    text-decoration: underline !important;
    text-underline-offset: 4px;
}
.home-page .bkm-hero__finder a:focus-visible {
    outline: 3px solid #18212b;
    outline-offset: -5px;
}
.home-page .bkm-hero__finder a {
    box-sizing: border-box;
    overflow-wrap: anywhere;
}

/* Отраслевой фон вместо штатной фотографии с ноутбуком. */
.home-page .statistics-box.statistics-box_full-width {
    background-image: url('../img/bkm/home-hero.webp');
    background-position: center 65%;
    background-size: cover;
    background-attachment: scroll;
}
