/* =========================
   ABOUT KINAGRIBUSNESS
========================= */

.aboutk-section {
    position: relative;
    padding: 95px 0;
    background: #f7f7f7;
    overflow: hidden;
}

.aboutk-section::before,
.aboutk-section::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 70px;
    background: #0e1317;
    z-index: 0;
    clip-path: polygon(0 0, 100% 0, 100% 35%, 0 100%);
    opacity: 0.96;
}

.aboutk-section::before {
    top: 0;
    transform: translateY(-50px);
}

.aboutk-section::after {
    bottom: 0;
    transform: translateY(50px) rotate(180deg);
}

.aboutk-container {
    position: relative;
    z-index: 1;
    width: 90%;
    max-width: 1220px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.02fr 1.18fr;
    gap: 40px;
    align-items: start;
}

/* LEFT */
.aboutk-left {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.aboutk-heading {
    margin-bottom: 4px;
}

.aboutk-title {
    margin: 0 0 12px;
    font-size: 50px;
    line-height: 1.05;
    font-weight: 300;
    color: #8eaecd;
}

.aboutk-title span {
    font-weight: 800;
    color: #8eaecd;
}

.aboutk-intro {
    margin: 0;
    font-size: 18px;
    line-height: 1.7;
    color: #64707d;
    max-width: 580px;
}

.aboutk-image-box {
    overflow: hidden;
    background: #d9d9d9;
    box-shadow: 0 12px 28px rgba(0,0,0,0.08);
}

.aboutk-image {
    display: block;
    width: 100%;
    height: 500px;
    object-fit: cover;
}

/* RIGHT */
.aboutk-right {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.aboutk-block {
    background: rgba(255,255,255,0.82);
    border: 1px solid rgba(0,0,0,0.04);
    border-radius: 22px;
    padding: 24px 24px;
    box-shadow: 0 8px 22px rgba(0,0,0,0.04);
}

.aboutk-badge {
    display: inline-block;
    margin-bottom: 14px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(142,174,205,0.16);
    color: #7fa3c5;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.aboutk-history p {
    margin: 0;
    font-size: 17px;
    line-height: 1.8;
    color: #55606d;
}

.aboutk-history strong {
    color: #2e3742;
}

/* Services items */
.aboutk-services {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.aboutk-item {
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 16px;
    align-items: start;
}

.aboutk-number {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 50%;
    background: #97b6d2;
    color: #ffffff;
    font-size: 24px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    box-shadow: 0 6px 16px rgba(151,182,210,0.25);
}

.aboutk-text h3 {
    margin: 0 0 6px;
    font-size: 19px;
    font-weight: 800;
    color: #89a9c5;
}

.aboutk-text p {
    margin: 0;
    font-size: 16px;
    line-height: 1.7;
    color: #5a6572;
}

/* Legal card */
.aboutk-legal-card {
    background: linear-gradient(135deg, rgba(142,174,205,0.12), rgba(255,255,255,0.9));
}

.aboutk-legal-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.aboutk-legal-item {
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(255,255,255,0.78);
    border: 1px solid rgba(0,0,0,0.05);
}

.aboutk-legal-label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #7b8b9a;
}

.aboutk-legal-item strong {
    font-size: 15px;
    color: #2d3641;
    word-break: break-word;
}

/* =========================
   DARK MODE
========================= */

body.dark .aboutk-section {
    background: #111111;
}

body.dark .aboutk-section::before,
body.dark .aboutk-section::after {
    background: #000000;
}

body.dark .aboutk-title,
body.dark .aboutk-title span {
    color: #9dc2d9;
}

body.dark .aboutk-intro {
    color: #c9c9c9;
}

body.dark .aboutk-image-box {
    box-shadow: 0 12px 28px rgba(0,0,0,0.35);
}

body.dark .aboutk-block {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    box-shadow: 0 10px 24px rgba(0,0,0,0.18);
}

body.dark .aboutk-badge {
    background: rgba(157,194,217,0.12);
    color: #9dc2d9;
}

body.dark .aboutk-history p,
body.dark .aboutk-text p {
    color: #d2d2d2;
}

body.dark .aboutk-history strong,
body.dark .aboutk-text h3 {
    color: #9fc0dc;
}

body.dark .aboutk-number {
    background: #89a9c5;
    color: #ffffff;
}

body.dark .aboutk-legal-card {
    background: linear-gradient(135deg, rgba(157,194,217,0.06), rgba(255,255,255,0.03));
}

body.dark .aboutk-legal-item {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
}

body.dark .aboutk-legal-label {
    color: #9fb1c0;
}

body.dark .aboutk-legal-item strong {
    color: #ffffff;
}

/* =========================
   TABLETTE
========================= */

@media (max-width: 992px) {
    .aboutk-section {
        padding: 80px 0;
    }

    .aboutk-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .aboutk-title {
        font-size: 42px;
    }

    .aboutk-image {
        height: 400px;
    }

    .aboutk-legal-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {
    .aboutk-section {
        padding: 65px 0;
    }

    .aboutk-section::before,
    .aboutk-section::after {
        height: 42px;
    }

    .aboutk-container {
        width: 92%;
        gap: 24px;
    }

    .aboutk-title {
        font-size: 32px;
        line-height: 1.1;
    }

    .aboutk-intro {
        font-size: 15px;
        line-height: 1.6;
    }

    .aboutk-image {
        height: 270px;
    }

    .aboutk-block {
        border-radius: 18px;
        padding: 18px 16px;
    }

    .aboutk-item {
        grid-template-columns: 46px 1fr;
        gap: 12px;
    }

    .aboutk-number {
        width: 38px;
        height: 38px;
        min-width: 38px;
        font-size: 20px;
    }

    .aboutk-text h3 {
        font-size: 16px;
    }

    .aboutk-text p,
    .aboutk-history p {
        font-size: 14px;
        line-height: 1.65;
    }

    .aboutk-legal-item strong {
        font-size: 14px;
    }
}