.about-section {
    position: relative;
    overflow: hidden;
    padding: 4rem 0;
    background: transparent !important;
    background-color: transparent !important;
}

.about-section::before {
    display: none;
}

.about-section::after {
    display: none;
}

.about-container {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

.about-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.about-heading {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 1.5rem;
}

.about-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, 
        var(--primary-green), 
        var(--accent-pink),
        var(--accent-blue)
    );
    border-radius: 2px;
}

.about-intro {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-dark);
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.85;
}

.about-content {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
    align-items: stretch;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.about-text {
    grid-column: 1 / 7;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.01);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    box-shadow: none;
    border: 1px solid rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 371px;
    overflow: hidden !important;
    -webkit-overflow-scrolling: auto !important;
    scroll-behavior: auto !important;
}

.about-text p {
    font-size: 1rem;
    line-height: 1.45;
    color: var(--text-dark);
    opacity: 0.9;
    letter-spacing: 0.3px;
    margin: 0;
    padding: 0.9rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    flex: 1;
    display: flex;
    align-items: center;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
    -webkit-touch-callout: none !important;
    -webkit-tap-highlight-color: transparent !important;
    touch-action: manipulation !important;
    overflow: hidden !important;
    -webkit-overflow-scrolling: auto !important;
    scroll-behavior: auto !important;
}

.about-text p:first-child {
    padding-top: 0;
}

.about-text p:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.about-images {
    grid-column: 7 / 13;
    display: flex;
    flex-direction: column;
    gap: 11px;
    height: 371px;
}

.about-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 180px;
    width: 100%;
}

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

.about-image img.lazy {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.about-image img.loading {
    opacity: 0.7;
}

.about-image img.loaded {
    opacity: 1;
}

.about-images-bottom {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 11px;
    height: 180px;
}

.about-image.bottom {
    height: 100%;
}

@media (min-width: 768px) and (max-width: 1919px) {
    .about-container {
        max-width: 1200px;
        padding: 0 2rem;
    }
    
    .about-content {
        grid-template-columns: repeat(12, 1fr);
        gap: 2rem;
        max-width: 1100px;
    }
    
    .about-text {
        grid-column: 1 / 7;
        height: 371px;
        padding: 2rem;
    }
    
    .about-images {
        grid-column: 7 / 13;
        display: flex;
        flex-direction: column;
        gap: 11px;
        height: 371px;
    }
    
    .about-image {
        height: 180px;
        border-radius: 20px;
    }
    
    .about-images-bottom {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 11px;
        height: 180px;
    }
}

@media (min-width: 1700px) {
    .about-container {
        max-width: 1400px;
        padding: 0 3rem;
    }
    
    .about-content {
        max-width: 1600px;
        gap: 3rem;
    }
    
    .about-text {
        height: 450px;
        padding: 3rem;
        border-radius: 30px;
    }
    
    .about-text p {
        font-size: 1.2rem;
        padding: 1.2rem 0;
    }
    
    .about-images {
        height: 450px;
        gap: 15px;
    }
    
    .about-image {
        height: 217px;
    }
    
    .about-images-bottom {
        height: 217px;
        gap: 15px;
    }
    
    .about-heading {
        font-size: 3rem;
    }
    
    .about-intro {
        font-size: 1.3rem;
        max-width: 900px;
    }
}

@media (min-width: 2560px) {
    .about-container {
        max-width: 1800px;
        padding: 0 4rem;
    }
    
    .about-content {
        max-width: 2000px;
        gap: 4rem;
    }
    
    .about-text {
        height: 550px;
        padding: 4rem;
        border-radius: 35px;
    }
    
    .about-text p {
        font-size: 1.4rem;
        padding: 1.5rem 0;
    }
    
    .about-images {
        height: 550px;
        gap: 20px;
    }
    
    .about-image {
        height: 265px;
    }
    
    .about-images-bottom {
        height: 265px;
        gap: 20px;
    }
    
    .about-heading {
        font-size: 3.5rem;
    }
    
    .about-intro {
        font-size: 1.5rem;
        max-width: 1100px;
    }
}

@media (max-width: 767px) {
    html {
        overflow-x: hidden;
        -webkit-text-size-adjust: 100%;
        -ms-text-size-adjust: 100%;
        text-size-adjust: 100%;
    }
    
    body {
        overflow-x: hidden;
        -webkit-text-size-adjust: 100%;
        -ms-text-size-adjust: 100%;
        text-size-adjust: 100%;
    }
    
    * {
        overflow-x: hidden;
    }
    
    .about-section {
        padding: 2rem 0;
        background: transparent !important;
        background-color: transparent !important;
    }
    
    .about-section::before,
    .about-section::after {
        display: none !important;
    }
    
    .about-container {
        padding: 0 1rem;
        max-width: 100%;
    }
    
    .about-header {
        margin-bottom: 2rem;
    }
    
    .about-heading {
        font-size: 1.8rem;
        margin-bottom: 1rem;
        padding-bottom: 1rem;
    }
    
    .about-heading::after {
        width: 60px;
        height: 2px;
    }
    
    .about-intro {
        font-size: 1rem;
        line-height: 1.6;
        max-width: 100%;
        margin-bottom: 2rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .about-text {
        grid-column: 1 / -1;
        padding: 1.5rem;
        height: auto;
        min-height: 300px;
        background: rgba(0, 0, 0, 0.02);
        backdrop-filter: blur(10px);
        border-radius: 20px;
        box-shadow: none;
        border: 1px solid rgba(0, 0, 0, 0.3);
        overflow: hidden !important;
        -webkit-overflow-scrolling: auto !important;
        scroll-behavior: auto !important;
    }
    
    .about-text p {
        font-size: 0.95rem;
        line-height: 1.5;
        padding: 0.8rem 0;
        letter-spacing: 0.2px;
        -webkit-user-select: none !important;
        -moz-user-select: none !important;
        -ms-user-select: none !important;
        user-select: none !important;
        -webkit-touch-callout: none !important;
        -webkit-tap-highlight-color: transparent !important;
        touch-action: manipulation !important;
    }
    
    .about-images {
        grid-column: 1 / -1;
        height: auto;
        gap: 0.8rem;
    }
    
    .about-image {
        height: 160px;
        border-radius: 15px;
    }
    
    .about-images-bottom {
        height: 160px;
        gap: 0.8rem;
    }
    
    .about-image.bottom {
        height: 100%;
    }
}

@media (max-width: 399px) {
    .about-section {
        padding: 1.5rem 0;
        background: transparent !important;
        background-color: transparent !important;
    }
    
    .about-container {
        padding: 0 0.75rem;
    }
    
    .about-heading {
        font-size: 1.6rem;
        margin-bottom: 0.8rem;
        padding-bottom: 0.8rem;
    }
    
    .about-intro {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
    
    .about-content {
        gap: 1.2rem;
        margin-bottom: 1.5rem;
    }
    
    .about-text {
        padding: 1.2rem;
        min-height: 280px;
        background: rgba(0, 0, 0, 0.02);
        backdrop-filter: blur(10px);
        border-radius: 18px;
        box-shadow: none;
        border: 1px solid rgba(0, 0, 0, 0.3);
        overflow: hidden !important;
        -webkit-overflow-scrolling: auto !important;
        scroll-behavior: auto !important;
    }
    
    .about-text p {
        font-size: 0.9rem;
        padding: 0.7rem 0;
        -webkit-user-select: none !important;
        -moz-user-select: none !important;
        -ms-user-select: none !important;
        user-select: none !important;
        -webkit-touch-callout: none !important;
        -webkit-tap-highlight-color: transparent !important;
        touch-action: manipulation !important;
    }
    
    .about-images {
        gap: 0.6rem;
    }
    
    .about-image {
        height: 140px;
        border-radius: 12px;
    }
    
    .about-images-bottom {
        height: 140px;
        gap: 0.6rem;
    }
}

/* Раздел «О нас» из исходного сайта КБК, адаптированный к текущему дизайну. */
.home-about-section {
    position: relative;
    padding: clamp(4rem, 7vw, 7rem) 0;
    background: #fff;
    scroll-margin-top: 96px;
}

.home-about-section .about-container {
    max-width: 1320px;
}

.home-about-section .about-header {
    max-width: 820px;
    margin: 0 0 clamp(34px, 4vw, 52px);
    text-align: left;
}

.home-about-section .home-eyebrow {
    margin-bottom: 0.75rem;
    color: #246448;
    text-align: left;
}

.home-about-section .about-heading {
    margin: 0 0 18px;
    padding: 0;
    font-size: clamp(2rem, 4.3vw, 4.25rem);
    font-weight: 750;
    letter-spacing: -0.045em;
    line-height: 1.02;
}

.home-about-section .about-heading::after {
    display: none;
}

.home-about-section .about-intro {
    max-width: 820px;
    margin: 0;
    color: #647067;
    font-size: clamp(1rem, 1.4vw, 1.2rem);
    line-height: 1.65;
    text-align: left;
    opacity: 1;
}

.home-about-section .about-content {
    width: 100%;
    max-width: 1120px;
    margin-bottom: 0;
}

.about-overview {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(340px, 0.65fr);
    gap: 1.25rem;
    width: 100%;
    max-width: 1320px;
    margin: 0;
}

.about-gallery {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(150px, 0.75fr);
    grid-template-rows: repeat(2, 190px);
    gap: 0.75rem;
    min-width: 0;
}

.about-gallery figure {
    position: relative;
    min-width: 0;
    margin: 0;
    overflow: hidden;
    background: #e9efeb;
    border-radius: 20px;
}

.about-gallery__main {
    grid-row: 1 / 3;
}

.about-gallery img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.about-gallery figure:hover img {
    transform: scale(1.025);
}

.about-gallery figcaption {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
    padding: 0.8rem 0.9rem;
    color: #fff;
    background: rgba(13, 54, 37, 0.86);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.35;
    backdrop-filter: blur(8px);
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.about-stats article {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 190px;
    padding: 1.35rem;
    overflow: hidden;
    background: #fff;
    border: 1px solid #dce7e0;
    border-radius: 20px;
}

.about-stats article::before {
    content: '';
    position: absolute;
    top: 1.1rem;
    left: 1.35rem;
    width: 2.25rem;
    height: 3px;
    background: #76c99e;
    border-radius: 999px;
}

.about-stats article:nth-child(1),
.about-stats article:nth-child(4) {
    color: #fff;
    background: #1d6043;
    border-color: #1d6043;
}

.about-stats strong {
    position: relative;
    display: block;
    color: #123e2b;
    font-family: var(--font-heading);
    font-size: clamp(1.2rem, 2vw, 1.7rem);
    line-height: 1.08;
}

.about-stats span {
    position: relative;
    display: block;
    margin-top: 0.55rem;
    color: #5f6f66;
    font-size: 0.88rem;
    line-height: 1.45;
}

.about-stats article:nth-child(1) strong,
.about-stats article:nth-child(1) span,
.about-stats article:nth-child(4) strong,
.about-stats article:nth-child(4) span {
    color: #fff;
}

.home-about-section .about-text {
    height: auto;
    min-height: 371px;
    background: #fff;
    border-color: #dce5df;
    box-shadow: 0 20px 50px rgba(18, 62, 43, 0.08);
}

.home-about-section .about-text p {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0.3rem;
}

.home-about-section .about-text strong {
    color: #123e2b;
    font-family: var(--font-heading);
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    line-height: 1.25;
}

.home-about-section .about-text span {
    color: #5f6773;
    line-height: 1.5;
}

.about-block {
    margin-top: 3rem;
}

.about-block__title {
    margin: 0 0 0.75rem;
    color: var(--text-dark);
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 2.7vw, 2.5rem);
    font-weight: 700;
    text-align: left;
}

.about-block__intro {
    max-width: 820px;
    margin: 0 0 1.75rem;
    color: #5f6773;
    font-size: 1rem;
    line-height: 1.6;
    text-align: left;
}

.about-services {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.1rem;
}

.about-services article {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    min-height: 150px;
    padding: 1.5rem 1.4rem;
    background: #fff;
    border: 1px solid #dce5df;
    border-radius: 18px;
    box-shadow: 0 14px 36px rgba(18, 62, 43, 0.06);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.about-services article:hover {
    border-color: #9fc9b2;
    box-shadow: 0 18px 42px rgba(18, 62, 43, 0.1);
    transform: translateY(-2px);
}

.about-service__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    color: #fff;
    background: #216747;
    border-radius: 14px;
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.about-services h3 {
    margin: 0.1rem 0 0.5rem;
    color: var(--text-dark);
    font-family: var(--font-heading);
    font-size: 1.08rem;
}

.about-services p {
    margin: 0;
    color: #5f6773;
    font-size: 0.92rem;
    line-height: 1.55;
}

.home-about-section .about-block {
    width: 100%;
    max-width: 1320px;
    margin-right: 0;
    margin-left: 0;
}

@media (min-width: 1100px) {
    .about-services {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .about-services article {
        min-height: 190px;
    }
}

.about-page-content {
    padding-top: 88px;
    background: #fff;
}

@media (max-width: 767px) {
    .home-about-section {
        padding: 3.5rem 0;
        scroll-margin-top: 72px;
    }

    .home-about-section .about-header {
        margin-bottom: 1.75rem;
    }

    .home-about-section .about-content {
        gap: 1rem;
    }

    .about-overview {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .about-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: 240px 130px;
        gap: 0.65rem;
    }

    .about-gallery__main {
        grid-column: 1 / -1;
        grid-row: auto;
    }

    .about-gallery figure {
        border-radius: 16px;
    }

    .about-gallery figcaption {
        right: 0.75rem;
        bottom: 0.75rem;
        left: 0.75rem;
        padding: 0.7rem 0.75rem;
        font-size: 0.76rem;
    }

    .about-stats {
        gap: 0.65rem;
    }

    .about-stats article {
        min-height: 140px;
        padding: 1rem;
        border-radius: 16px;
    }

    .about-stats article::before {
        top: 0.9rem;
        left: 1rem;
    }

    .about-stats strong {
        font-size: clamp(1.1rem, 5vw, 1.35rem);
    }

    .about-stats span {
        font-size: 0.8rem;
    }

    .home-about-section .about-text {
        min-height: 0;
        padding: 1.25rem;
    }

    .home-about-section .about-text p {
        min-height: 74px;
    }

    .about-services {
        grid-template-columns: 1fr;
        gap: 0.85rem;
    }

    .about-services article {
        min-height: 0;
        padding: 1.2rem;
    }

    .about-service__number {
        flex-basis: 44px;
        width: 44px;
        height: 44px;
        border-radius: 12px;
    }

    .about-page-content {
        padding-top: 68px;
    }
}

@media (max-width: 399px) {
    .about-gallery {
        grid-template-rows: 210px 112px;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .about-stats article {
        min-height: 118px;
    }

    .about-services article {
        gap: 0.8rem;
        padding: 1rem;
    }

    .home-about-section .about-images-bottom {
        grid-template-columns: 1fr;
        height: auto;
    }

    .home-about-section .about-image.bottom {
        height: 140px;
    }
}
