/* Блоки услуг, мини-галереи и преимуществ на главной странице bitmetall.ru */
.bm-about-area {
    --bm-about-green: #075b55;
    --bm-about-green-dark: #063d39;
    --bm-about-green-soft: #edf7f5;
    --bm-about-orange: #f5a623;
    --bm-about-orange-dark: #e78f08;
    box-sizing: border-box;
    width: calc(100% - 40px);
    max-width: 1068px;
    margin: 0 auto 42px;
    color: #263c3a;
}

.bm-about-area,
.bm-about-area * {
    box-sizing: border-box;
}

.bm-about-area #about.bm-about-panel,
.bm-about-area #about2.bm-about-panel,
.bm-about-panel {
    position: relative;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: clamp(30px, 4vw, 48px);
    overflow: hidden;
    border: 1px solid rgba(7, 91, 85, 0.13);
    border-radius: 24px;
    background:
        radial-gradient(circle at 96% 4%, rgba(245, 166, 35, 0.15) 0, rgba(245, 166, 35, 0) 26%),
        linear-gradient(135deg, #ffffff 0%, #f7fbfa 62%, #eef7f5 100%);
    box-shadow: 0 16px 42px rgba(6, 61, 57, 0.11);
}

.bm-about-panel::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--bm-about-orange) 0 18%, var(--bm-about-green) 18% 100%);
}

.bm-about-panel--benefits {
    background:
        radial-gradient(circle at 6% 100%, rgba(7, 91, 85, 0.09) 0, rgba(7, 91, 85, 0) 30%),
        linear-gradient(135deg, #ffffff 0%, #f8fbfa 50%, #f1f8f7 100%);
}

.bm-about-header {
    position: relative;
    z-index: 1;
    margin: 0 0 28px;
    text-align: center;
}

.bm-about-header__kicker {
    margin: 0 0 7px;
    color: var(--bm-about-green);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.bm-about-header__title {
    margin: 0;
    color: var(--bm-about-green-dark);
    font-size: clamp(27px, 3vw, 38px);
    font-weight: 700;
    line-height: 1.16;
    letter-spacing: -0.02em;
    text-align: center;
    text-shadow: none;
    text-transform: none;
}

.bm-about-header__rule {
    display: block;
    width: 74px;
    height: 4px;
    margin: 14px auto 0;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--bm-about-orange) 0 45%, var(--bm-about-green) 45% 100%);
}

.bm-about-list {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 34px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.bm-about-list li {
    display: grid;
    min-width: 0;
    grid-template-columns: 38px minmax(0, 1fr);
    align-items: start;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(7, 91, 85, 0.11);
    color: #3e5653;
    font-size: 15.5px;
    font-weight: 400;
    line-height: 1.55;
}

.bm-about-list__mark,
.bm-about-list__icon {
    display: inline-flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--bm-about-green-soft);
    color: var(--bm-about-green);
    font-size: 17px;
    font-weight: 700;
    line-height: 1;
}

.bm-about-list__icon {
    background: linear-gradient(135deg, rgba(245, 166, 35, 0.20), rgba(245, 166, 35, 0.09));
    color: var(--bm-about-orange-dark);
    font-size: 15px;
}

.bm-about-gallery {
    width: 100%;
    margin: 40px 0;
}

.bm-about-gallery .bm-about-header {
    margin-bottom: 24px;
}

.bm-about-gallery__content {
    width: 100%;
}

.bm-about-gallery .product-gallery.product-gallery-main {
    display: grid !important;
    width: 100% !important;
    max-width: none !important;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 9px;
    align-items: stretch;
    justify-content: initial;
    margin: 0 !important;
    padding: 0 !important;
}

.bm-about-gallery .product-gallery.product-gallery-main > a {
    position: relative;
    display: block !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 / 1;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
    border: 0 !important;
    border-radius: 12px;
    background-color: #eaf1f0;
    box-shadow: 0 6px 16px rgba(6, 61, 57, 0.11);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.bm-about-gallery .product-gallery.product-gallery-main > a::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255, 255, 255, 0.30);
    border-radius: inherit;
    pointer-events: none;
}

.bm-about-gallery .product-gallery.product-gallery-main > a > img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    object-fit: cover;
    transition: transform 260ms ease;
}

.bm-about-gallery .product-gallery.product-gallery-main > a:focus-visible {
    outline: 3px solid rgba(7, 91, 85, 0.30);
    outline-offset: 3px;
}

@media (hover: hover) and (pointer: fine) {
    .bm-about-gallery .product-gallery.product-gallery-main > a:hover {
        z-index: 2;
        box-shadow: 0 11px 24px rgba(6, 61, 57, 0.20);
        transform: translateY(-3px);
    }

    .bm-about-gallery .product-gallery.product-gallery-main > a:hover > img {
        transform: scale(1.055);
    }
}

@media (max-width: 991.98px) {
    .bm-about-gallery .product-gallery.product-gallery-main {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .bm-about-list {
        grid-template-columns: 1fr;
    }

    .bm-about-gallery {
        margin: 32px 0;
    }

    .bm-about-gallery .product-gallery.product-gallery-main {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 7px;
    }
}

@media (max-width: 575.98px) {
    .bm-about-area {
        width: calc(100% - 20px);
        margin-bottom: 30px;
    }

    .bm-about-area #about.bm-about-panel,
    .bm-about-area #about2.bm-about-panel,
    .bm-about-panel {
        padding: 27px 18px 22px;
        border-radius: 18px;
    }

    .bm-about-header {
        margin-bottom: 20px;
    }

    .bm-about-header__kicker {
        font-size: 12px;
        letter-spacing: 0.09em;
    }

    .bm-about-header__title {
        font-size: 27px;
        line-height: 1.18;
    }

    .bm-about-list li {
        grid-template-columns: 34px minmax(0, 1fr);
        gap: 10px;
        padding: 12px 0;
        font-size: 15px;
        line-height: 1.5;
    }

    .bm-about-list__mark,
    .bm-about-list__icon {
        width: 31px;
        height: 31px;
        font-size: 15px;
    }

    .bm-about-list__icon {
        font-size: 14px;
    }

    .bm-about-gallery .bm-about-header {
        margin-bottom: 18px;
    }

    .bm-about-gallery .product-gallery.product-gallery-main {
        gap: 5px;
    }

    .bm-about-gallery .product-gallery.product-gallery-main > a {
        border-radius: 8px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bm-about-gallery .product-gallery.product-gallery-main > a,
    .bm-about-gallery .product-gallery.product-gallery-main > a > img {
        transition: none;
    }
}
