.kg-services-page {
    --kg-green: #5b7e3b;
    --kg-dark: #214b34;
    --kg-ink: #242a24;
    --kg-muted: #646b62;
    --kg-border: #d9e1d3;
    --kg-soft: #edf2e7;
    --kg-page: #fafafa;
    background: var(--kg-page);
    color: var(--kg-ink);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: 0;
    isolation: isolate;
    padding-bottom: 0
}

.kg-services-page * {
    box-sizing: border-box
}

.kg-services-page :is(h1, h2, h3, p) {
    margin: 0
}

.kg-services-page :is(h1, h2, h3) {
    text-transform: none;
    font-weight: 500;
    letter-spacing: -.025em
}

.kg-services-page button {
    font: inherit;
    cursor: pointer;
    letter-spacing: inherit;
    text-transform: none
}

.kg-services-page :is(button, a):focus-visible {
    outline: 3px solid var(--kg-green);
    outline-offset: 4px
}

.kg-services-page .kg-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    vertical-align: middle
}

.kg-wrap {
    width: calc(100% - 112px);
    max-width: 1280px;
    margin-inline: auto
}

.kg-visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important
}

.kg-page-banner {
    min-height: 278px;
    display: grid;
    place-items: center;
    padding: 44px 32px 48px;
    position: relative;
    isolation: isolate;
    background: radial-gradient(ellipse at 0 0, #7da73626, transparent 45%), radial-gradient(ellipse at 100% 100%, #7cbb7926, transparent 45%), linear-gradient(110deg, #205d31, #267b3f)
}

.kg-page-banner:before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: linear-gradient(#ffffff06 1px, transparent 1px), linear-gradient(90deg, #ffffff06 1px, transparent 1px);
    background-size: 24px 24px;
    pointer-events: none
}

.kg-banner-panel {
    width: 100%;
    max-width: 952px;
    min-height: 184px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 28px 24px;
    border: 1px solid #ffffff14;
    border-radius: 14px;
    background: #ffffff04;
    text-align: center
}

.kg-services-page .kg-page-banner h1 {
    font-size: 40px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: 0;
    text-transform: uppercase;
    color: #fff
}

.kg-banner-rule {
    display: block;
    width: 64px;
    height: 3px;
    flex: none;
    margin: 18px 0 19px;
    border-radius: 2px;
    background: linear-gradient(90deg, #a2e722, #49dd86)
}

.kg-breadcrumb {
    border-radius: 24px;
    background: #103f2980;
    padding: 0 20px
}

.kg-breadcrumb ol {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 11px;
    font-weight: 700;
    line-height: 36px;
    letter-spacing: 1.3px;
    text-transform: uppercase
}

.kg-breadcrumb li {
    display: flex;
    align-items: center;
    gap: 14px;
    color: #afe826;
    white-space: nowrap
}

.kg-breadcrumb li+li:before {
    content: '';
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #a9c6ac99
}

.kg-services-page .kg-breadcrumb a {
    color: #c3d6c9;
    display: block
}

.kg-breadcrumb a:hover {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px
}

.kg-services-page .kg-breadcrumb a:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 4px;
    border-radius: 2px
}

.kg-service-content-wrap {
    padding-top: 0
}

.kg-services-surface {
    padding: 100px 0;
    background: var(--kg-page)
}

.kg-panel-heading {
    padding-bottom: 12px;
    border-bottom: 1px solid var(--kg-border)
}

@media(max-width:900px) {
    .kg-services-surface {
        padding: 48px 0
    }

    .kg-page-banner {
        min-height: 252px;
        padding-block: 34px
    }
}

@media(max-width:620px) {
    .kg-page-banner {
        min-height: 220px;
        padding: 28px 18px
    }

    .kg-banner-panel {
        min-height: 164px;
        padding: 24px 15px;
        border-radius: 12px
    }

    .kg-services-page .kg-page-banner h1 {
        font-size: 30px
    }

    .kg-banner-rule {
        margin: 15px 0 16px;
        width: 56px
    }

    .kg-breadcrumb ol {
        font-size: 10px;
        letter-spacing: 1.1px;
        line-height: 34px
    }

    .kg-services-surface {
        padding: 32px 0
    }

    .kg-contact-strip {
        padding: 17px 18px
    }

    .kg-panel-heading {
        padding-bottom: 10px
    }
}

.kg-intro {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 35px 0 28px
}

.kg-services-page .kg-eyebrow {
    font-size: .75rem;
    letter-spacing: .14em;
    font-weight: 700;
    color: #486432;
    text-transform: uppercase;
    margin-bottom: 8px
}

.kg-services-page h1 {
    font-size: clamp(2rem, 3.2vw, 2.8rem);
    letter-spacing: -.045em;
    line-height: 1.2
}

.kg-services-page h1 span {
    color: var(--kg-green)
}

.kg-intro>p {
    color: var(--kg-muted);
    font-size: .9375rem;
    line-height: 1.75;
    max-width: 345px
}

.kg-category-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px
}

.kg-category-tab {
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    min-width: 0;
    text-align: left;
    background: #fff;
    color: var(--kg-ink);
    border: 1px solid var(--kg-border);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 12px #173e2805;
    transition: border-color .2s, box-shadow .2s
}

.kg-category-tab:hover {
    border-color: #b7cda0;
    box-shadow: 0 10px 28px #173e2821
}

.kg-category-tab[aria-selected="true"] {
    border-color: #27563c;
    box-shadow: 0 0 0 1px #27563c, 0 6px 20px #173e280d
}

.kg-category-visual {
    height: 142px;
    width: 100%;
    flex: none;
    display: block;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #edf1e7, #e3eadb)
}

.kg-category-visual img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    object-position: center;
    transform: scale(1.13);
    transition: transform .35s
}

.kg-category-tab:hover img {
    transform: scale(1.17)
}

.kg-category-index {
    position: absolute;
    left: 20px;
    top: 20px;
    color: #315232;
    font-size: 13px;
    font-weight: 500;
}

.kg-selected-mark {
    position: absolute;
    right: 12px;
    bottom: 12px;
    display: none;
    place-items: center;
    width: 28px;
    height: 28px;
    background: #27563c;
    color: #f2f6eb;
    border-radius: 50%;
}

.kg-category-tab[aria-selected="true"] .kg-selected-mark {
    display: grid
}

.kg-tab-caption {
    display: flex;
    flex: 1;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 24px;
}

.kg-tab-title {
    display: block;
    font-size: 1.08rem;
    font-weight: 600;
    letter-spacing: -.025em;
    line-height: 1.4
}

.kg-tab-mobile {
    display: none
}

.kg-tab-note {
    display: block;
    font-size: 14px;
    color: #646b62;
    line-height: 1.5;
    margin-top: 6px
}

.kg-tab-caption>.kg-icon {
    width: 18px;
    height: 18px;
    color: #3b6a40
}

.kg-category-tab[aria-selected="true"] .kg-tab-caption {
    background: #27563c;
    color: #f2f6eb
}

.kg-category-tab[aria-selected="true"] .kg-tab-note {
    color: #d3dfcb
}

.kg-category-tab[aria-selected="true"] .kg-tab-caption>.kg-icon {
    color: #cfdfb3
}

.kg-services-page .kg-category-tab:focus-visible {
    outline: 3px solid #5b7e3b;
    outline-offset: 5px
}

.kg-service-panel {
    padding-top: 36px
}

.kg-service-panel[hidden] {
    display: none
}

.kg-service-panel:focus-visible {
    outline: 2px solid #3b6a40;
    outline-offset: 7px;
    border-radius: 5px
}

.kg-panel-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--kg-border)
}

.kg-panel-heading h2 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #242a24;
}

.kg-panel-heading>span {
    color: #646b62;
    font-size: 13px;
    white-space: nowrap
}

.kg-services-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px
}

.kg-service {
    min-width: 0;
    padding: 24px 24px 0;
    display: flex;
    flex-direction: column;
    min-height: 253px;
    background: #fff;
    border: 1px solid var(--kg-border);
    border-radius: 8px;
    transition: border-color .2s, transform .2s, box-shadow .2s
}

.kg-service:hover {
    border-color: #7f9d72;
    box-shadow: 0 6px 18px #24443410;
    transform: translateY(-2px)
}

.kg-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 20px
}

.kg-service-icon {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: #f1f6ea;
    color: #356139;
    flex-shrink: 0
}

.kg-service-number {
    color: #929a8f;
    font-size: 13px;
    font-weight: 500;
}

.kg-service h3 {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 10px;
    color: #1a1a1a;
}

.kg-service>p {
    font-size: 14px;
    line-height: 1.5;
    color: #646b62;
    margin-bottom: 24px
}

.kg-details-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    border: 0;
    border-top: 1px solid #ebf0e6;
    background: none;
    color: #2d5837;
    font-size: 14px !important;
    font-weight: 500 !important;
    padding: 16px 0;
    margin-top: auto
}

.kg-details-button .kg-icon {
    width: 17px;
    height: 17px;
    transition: transform .2s
}

.kg-details-button:hover {
    color: #244434
}

.kg-details-button:hover .kg-icon {
    transform: translateX(3px)
}

.kg-contact-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    border: 1px solid #dae2d2;
    border-radius: 8px;
    background: #edf2e7;
    margin-top: 26px;
    padding: 24px 32px;
    font-size: 15px
}

.kg-contact-strip p {
    font-weight: 600;
    color: #242a24;
}

.kg-contact-strip p span {
    font-weight: 400;
    color: #646b62;
    margin-left: 5px;
}

.kg-contact-strip a {
    display: flex;
    gap: 12px;
    align-items: center;
    color: #242a24;
    font-weight: 500;
    white-space: nowrap;
    text-decoration: none;
}

.kg-contact-strip a:hover {
    text-decoration: underline
}

.kg-contact-strip .kg-icon {
    width: 18px;
    height: 18px
}

.kg-detail-dialog {
    width: calc(100% - 40px);
    max-width: 660px;
    max-height: calc(100dvh - 48px);
    padding: 0;
    border: 1px solid #afc2a4;
    border-radius: 14px;
    background: #f1f5eb;
    color: var(--kg-ink);
    box-shadow: 0 25px 100px #11231a30;
    overflow: hidden;
    font: inherit;
    inset: 0;
    margin: auto
}

.kg-detail-dialog[open] {
    display: flex;
    flex-direction: column
}

.kg-detail-dialog::backdrop {
    background: #142b21aa;
    backdrop-filter: blur(5px)
}

.kg-dialog-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 16px 23px 16px 30px;
    border-bottom: 1px solid #cbd7c0;
    background: #e2ead9;
    flex-shrink: 0
}

.kg-dialog-category {
    font-size: .8125rem;
    color: #385739;
    line-height: 1.5;
    font-weight: 500
}

.kg-close-dialog {
    border: 0;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    background: #d2e0c6;
    color: #244434;
    flex-shrink: 0
}

.kg-close-dialog:hover {
    background: #e3ebd9
}

.kg-dialog-body {
    padding: 26px 30px 29px;
    overflow: auto;
    overscroll-behavior: contain
}

.kg-detail-dialog h2 {
    font-size: 1.65rem;
    line-height: 1.4;
    margin: 17px 0 19px
}

.kg-full-description {
    font-size: 1rem;
    line-height: 1.8;
    color: #4d6048
}

.kg-full-description p+p {
    margin-top: 16px
}

.kg-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 24px
}

.kg-tags>span {
    font-size: .8125rem;
    line-height: 1.5;
    padding: 6px 9px;
    border-radius: 4px;
    background: #dee8d5;
    color: #385739
}

.kg-dialog-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 20px 30px;
    border-top: 1px solid #cbd7c0;
    flex-shrink: 0
}

.kg-dialog-footer>a:first-child {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #2d633d;
    color: #fff;
    border-radius: 6px;
    padding: 12px 17px;
    font-size: .9375rem
}

.kg-dialog-footer>a:first-child:hover {
    background: #45632c
}

.kg-dialog-footer .kg-icon {
    width: 18px;
    height: 18px
}

.kg-dialog-email {
    font-size: .875rem;
    color: #526642 !important;
    text-decoration: underline !important
}

.kg-nojs {
    padding: 25px
}

.kg-compact-footer {
    background: #244434;
    color: #f2f5ee;
    padding: 24px 0
}

.kg-compact-footer>.kg-shell-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px
}

.kg-compact-footer strong {
    display: block;
    font-size: 1rem;
    font-weight: 600
}

.kg-compact-footer strong+span {
    display: block;
    color: #c6d3be;
    font-size: .8125rem;
    margin-top: 4px
}

.kg-footer-contact {
    display: flex;
    gap: 25px;
    font-size: .875rem
}

.kg-footer-contact a:hover {
    text-decoration: underline
}

.kg-copyright {
    font-size: .75rem;
    color: #c6d3be
}

@media(min-width:1450px) {
    .kg-category-visual {
        height: 158px
    }

    .kg-service {
        min-height: 242px
    }
}

@media(max-width:1150px) {
    .kg-wrap {
        width: calc(100% - 64px)
    }

    .kg-category-tabs {
        gap: 15px
    }

    .kg-tab-caption {
        padding: 13px 14px
    }

    .kg-tab-caption>.kg-icon {
        display: none
    }

    .kg-tab-title {
        font-size: .9375rem
    }

    .kg-tab-note {
        font-size: .8125rem
    }

    .kg-services-grid {
        gap: 13px
    }

    .kg-service {
        padding: 17px 16px 0;
        min-height: 276px
    }

    .kg-footer-contact {
        gap: 18px
    }

    .kg-intro>p {
        font-size: .875rem
    }
}

@media(max-width:900px) {
    .kg-intro {
        padding: 27px 0 24px
    }

    .kg-intro>p {
        max-width: 250px
    }

    .kg-category-visual {
        height: 120px
    }

    .kg-tab-caption {
        min-height: 99px;
        align-items: flex-start
    }

    .kg-services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }

    .kg-service {
        min-height: 212px;
        padding: 18px 20px 0
    }

    .kg-card-top {
        margin-bottom: 12px
    }

    .kg-service h3 {
        font-size: 1.03rem
    }

    .kg-service>p {
        font-size: .9375rem
    }

    .kg-compact-footer>.kg-shell-wrap {
        flex-wrap: wrap;
        gap: 20px
    }

    .kg-copyright {
        width: 100%;
        border-top: 1px solid #49654d;
        padding-top: 13px
    }

    .kg-contact-strip {
        font-size: .875rem
    }

    .kg-contact-strip p span {
        display: block
    }
}

@media(max-width:620px) {
    .kg-wrap {
        width: calc(100% - 36px)
    }

    .kg-intro {
        display: block;
        padding: 23px 0 22px
    }

    .kg-intro>p {
        max-width: 100%;
        margin-top: 10px;
        font-size: .875rem
    }

    .kg-intro>p br {
        display: none
    }

    .kg-services-page h1 {
        font-size: 1.9rem
    }

    .kg-category-tabs {
        gap: 9px
    }

    .kg-category-visual {
        height: 75px
    }

    .kg-category-index {
        left: 7px;
        top: 7px;
        width: 21px;
        height: 21px;
        font-size: .6875rem
    }

    .kg-selected-mark {
        width: 21px;
        height: 21px;
        right: 7px;
        bottom: 7px
    }

    .kg-selected-mark svg {
        width: 13px;
        height: 13px
    }

    .kg-tab-caption {
        padding: 10px 8px;
        min-height: 85px
    }

    .kg-tab-title {
        font-size: .8125rem;
        line-height: 1.5;
        letter-spacing: -.02em
    }

    .kg-tab-note {
        display: none
    }

    .kg-category-tab {
        border-radius: 7px
    }

    .kg-service-panel {
        padding-top: 23px
    }

    .kg-panel-heading {
        margin-bottom: 13px;
        gap: 10px
    }

    .kg-panel-heading h2 {
        font-size: 1rem;
        line-height: 1.5
    }

    .kg-panel-heading>span {
        font-size: .75rem
    }

    .kg-services-grid {
        grid-template-columns: 1fr;
        gap: 11px
    }

    .kg-service {
        display: grid;
        grid-template-columns: 43px 1fr;
        gap: 0 14px;
        min-height: 0;
        padding: 16px 16px 0
    }

    .kg-card-top {
        grid-column: 1;
        grid-row: 1/3;
        align-self: start;
        margin: 0
    }

    .kg-service-number {
        display: none
    }

    .kg-service h3 {
        grid-column: 2;
        font-size: .9375rem;
        margin-bottom: 5px;
        line-height: 1.5
    }

    .kg-service>p {
        grid-column: 2;
        font-size: .875rem;
        line-height: 1.6;
        margin-bottom: 11px
    }

    .kg-details-button {
        grid-column: 2;
        padding: 10px 0;
        font-size: .8125rem !important
    }

    .kg-service-icon {
        width: 40px;
        height: 40px;
        border-radius: 8px
    }

    .kg-service-icon .kg-icon {
        width: 22px;
        height: 22px
    }

    .kg-contact-strip {
        display: block;
        margin-top: 20px;
        padding-top: 18px
    }

    .kg-contact-strip p span {
        display: inline
    }

    .kg-contact-strip a {
        margin-top: 13px;
        justify-content: space-between;
        min-height: 35px
    }

    .kg-services-page {
        padding-bottom: 0
    }

    .kg-compact-footer {
        padding: 21px 0
    }

    .kg-compact-footer>.kg-shell-wrap {
        display: block
    }

    .kg-footer-contact {
        display: block;
        margin-top: 15px;
        font-size: .875rem
    }

    .kg-footer-contact>a {
        display: block;
        margin-top: 5px
    }

    .kg-copyright {
        display: block;
        margin-top: 17px
    }

    .kg-detail-dialog {
        width: calc(100% - 24px);
        max-height: calc(100dvh - 24px);
        border-radius: 11px
    }

    .kg-dialog-heading {
        padding: 12px 15px 12px 20px
    }

    .kg-dialog-category {
        font-size: .75rem
    }

    .kg-dialog-body {
        padding: 20px
    }

    .kg-detail-dialog h2 {
        font-size: 1.3rem;
        margin: 14px 0 15px
    }

    .kg-full-description {
        font-size: .9375rem;
        line-height: 1.75
    }

    .kg-dialog-footer {
        padding: 16px 20px;
        flex-wrap: wrap
    }

    .kg-dialog-footer>a:first-child {
        font-size: .875rem;
        padding: 11px 13px
    }

    .kg-dialog-email {
        font-size: .8125rem
    }

    .kg-tags {
        margin-top: 18px
    }
}

@media(max-width:350px) {
    .kg-tab-title {
        font-size: .75rem
    }

    .kg-tab-caption {
        padding: 9px 6px;
        min-height: 80px
    }

    .kg-services-page h1 {
        font-size: 1.7rem
    }

    .kg-service {
        grid-template-columns: 34px 1fr;
        gap: 0 11px;
        padding: 14px 13px 0
    }

    .kg-service-icon {
        width: 34px;
        height: 36px
    }

    .kg-category-tabs {
        gap: 7px
    }
}

@media(max-width:620px) {
    .kg-tab-desktop {
        display: none
    }

    .kg-tab-mobile {
        display: block
    }

    .kg-tab-caption {
        min-height: 45px;
        align-items: center
    }

    .kg-tab-title {
        font-size: .8125rem
    }
}

@media(prefers-reduced-motion:no-preference) {
    .kg-service-panel:not([hidden]) {
        animation: kg-panel-in .22s ease-out
    }

    .kg-detail-dialog[open] {
        animation: kg-dialog-in .2s ease-out
    }

    @keyframes kg-panel-in {
        from {
            opacity: .3;
            transform: translateY(5px)
        }

        to {
            opacity: 1;
            transform: translateY(0)
        }
    }

    @keyframes kg-dialog-in {
        from {
            opacity: .4;
            transform: translateY(10px)
        }

        to {
            opacity: 1;
            transform: translateY(0)
        }
    }
}

@media(prefers-reduced-motion:reduce) {
    .kg-services-page * {
        animation: none !important;
        transition: none !important
    }
}

@media print {

    .kg-category-tabs,
    .kg-contact-strip,
    .kg-details-button,
    .kg-compact-footer {
        display: none
    }

    .kg-service-panel[hidden] {
        display: block
    }

    .kg-service-panel {
        break-inside: avoid
    }

    .kg-services-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .kg-wrap {
        width: 100%
    }

    .kg-service {
        min-height: 0;
        padding: 15px
    }

    .kg-service-panel {
        padding-top: 20px
    }
}