:root {
    --kc-accent: #ff4a17;
    --kc-panel: #171717;
    --kc-panel-soft: #1d1d1d;
    --kc-border: rgba(255, 255, 255, 0.1);
    --kc-muted: #b9b9b9;
}

.kc-services-showcase {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 110px 0 100px;
}

.kc-services-showcase::before {
    position: absolute;
    z-index: -1;
    top: -220px;
    left: -180px;
    width: 620px;
    height: 620px;
    border: 1px solid rgba(255, 74, 23, 0.16);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 74, 23, 0.09), transparent 66%);
    content: "";
    pointer-events: none;
}

.kc-services-intro {
    position: sticky;
    top: 130px;
    padding-right: 34px;
}

.kc-services-intro .cs-section_subtitle {
    position: relative;
    margin: 0 0 22px;
    padding-left: 28px;
    color: var(--kc-accent);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.kc-services-intro .cs-section_subtitle::before {
    position: absolute;
    top: 50%;
    left: 0;
    width: 16px;
    height: 2px;
    background: var(--kc-accent);
    content: "";
}

.kc-services-intro .cs-section_title {
    max-width: 390px;
    margin: 0 0 26px;
    color: #fff;
    font-size: clamp(38px, 4vw, 62px);
    line-height: 1.04;
}

.kc-services-intro p {
    max-width: 390px;
    margin: 0;
    color: var(--kc-muted);
    font-size: 16px;
    line-height: 1.75;
}

.kc-service-card {
    position: relative;
    display: block;
    min-height: 330px;
    overflow: hidden;
    border: 1px solid var(--kc-border);
    border-radius: 22px;
    background: var(--kc-panel);
    color: #fff;
    text-decoration: none;
    transform: translateY(0);
    transition: border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
}

.kc-service-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
    transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.kc-service-card-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8, 8, 8, 0.08) 10%, rgba(8, 8, 8, 0.45) 48%, rgba(8, 8, 8, 0.97) 100%);
}

.kc-service-card-index {
    position: absolute;
    top: 20px;
    right: 20px;
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 50%;
    background: rgba(10, 10, 10, 0.38);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    backdrop-filter: blur(8px);
}

.kc-service-card-content {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    min-height: 132px;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
}

.kc-service-card-title {
    display: block;
    margin-bottom: 16px;
    color: #fff;
    font-family: inherit;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
}

.kc-service-card-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    color: #ddd;
    font-size: 13px;
    font-weight: 600;
}

.kc-service-card-link > span {
    color: var(--kc-accent);
    font-size: 20px;
    line-height: 1;
}

.kc-service-card:hover,
.kc-service-card:focus-visible {
    border-color: rgba(255, 74, 23, 0.6);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.32);
    color: #fff;
    transform: translateY(-8px);
}

.kc-service-card:hover img,
.kc-service-card:focus-visible img {
    transform: scale(1.1);
}

.kc-services-showcase + .cs-service-content {
    padding: 0 0 30px;
}

.kc-services-showcase + .cs-service-content > .container {
    max-width: 1120px;
    padding: 64px clamp(24px, 5vw, 72px);
    border: 1px solid var(--kc-border);
    border-radius: 28px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012));
}

.kc-services-showcase + .cs-service-content h2 {
    margin: 54px 0 20px;
    color: #fff;
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.15;
}

.kc-services-showcase + .cs-service-content h2:first-child {
    max-width: 760px;
    margin-top: 0;
}

.kc-services-showcase + .cs-service-content h3 {
    margin: 28px 0 8px;
    font-size: 20px;
}

.kc-services-showcase + .cs-service-content h3 a {
    color: #fff;
    text-decoration: none;
    transition: color 0.2s ease;
}

.kc-services-showcase + .cs-service-content h3 a::after {
    margin-left: 8px;
    color: var(--kc-accent);
    content: "→";
}

.kc-services-showcase + .cs-service-content h3 a:hover {
    color: var(--kc-accent);
}

.kc-services-showcase + .cs-service-content p {
    max-width: 900px;
    margin-bottom: 14px;
    color: var(--kc-muted);
    font-size: 16px;
    line-height: 1.75;
}

.kc-services-showcase + .cs-service-content > .container > p:last-child a {
    display: inline-flex;
    margin-top: 14px;
    padding: 14px 22px;
    border-radius: 999px;
    background: var(--kc-accent);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

.kc-service-detail {
    padding: 100px 0 20px;
}

.kc-service-visual {
    position: sticky;
    top: 120px;
}

.kc-service-image-frame {
    position: relative;
    isolation: isolate;
    aspect-ratio: 4 / 5;
    margin: 0 18px 24px 0;
}

.kc-service-image-frame::before {
    position: absolute;
    z-index: -1;
    right: -18px;
    bottom: -18px;
    width: 72%;
    height: 72%;
    border-radius: 22px;
    background: linear-gradient(145deg, var(--kc-accent), #ff7a35);
    content: "";
}

.kc-service-image-frame img {
    width: 100%;
    height: 100%;
    border: 1px solid var(--kc-border);
    border-radius: 22px;
    object-fit: cover;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.35);
}

.kc-service-visual-caption {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 18px 20px;
    border: 1px solid var(--kc-border);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.025);
}

.kc-service-visual-caption span {
    color: var(--kc-accent);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.kc-service-visual-caption strong {
    color: #fff;
    font-size: 18px;
    line-height: 1.3;
}

.kc-service-copy {
    padding: clamp(30px, 5vw, 62px);
    border: 1px solid var(--kc-border);
    border-radius: 28px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.012));
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.18);
}

.kc-service-resource-links {
    margin: 38px 0;
    padding: 24px;
    border: 1px solid rgba(255, 74, 23, 0.28);
    border-radius: 16px;
    background: rgba(255, 74, 23, 0.07);
}

.kc-service-resource-links > strong {
    display: block;
    margin-bottom: 6px;
    color: #fff;
    font-size: 18px;
}

.kc-service-resource-links p {
    margin-bottom: 16px;
    color: var(--kc-muted);
}

.kc-service-resource-links div {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
}

.kc-service-resource-links a {
    color: var(--kc-accent);
    font-weight: 700;
    text-decoration: none;
}

.kc-service-copy .service-content > h2 {
    position: relative;
    margin: 58px 0 22px;
    padding-top: 26px;
    color: #fff;
    font-size: clamp(28px, 3vw, 40px);
    line-height: 1.15;
}

.kc-service-copy .service-content > h2::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 52px;
    height: 3px;
    border-radius: 3px;
    background: var(--kc-accent);
    content: "";
}

.kc-service-copy .service-content > h2:first-child {
    margin-top: 0;
}

.kc-service-copy .service-content > h3 {
    margin: 30px 0 10px;
    color: #fff;
    font-size: 20px;
    line-height: 1.35;
}

.kc-service-copy .service-content p,
.kc-service-copy .service-content li {
    color: var(--kc-muted);
    font-size: 16px;
    line-height: 1.78;
}

.kc-service-copy .service-content p {
    margin-bottom: 16px;
}

.kc-service-copy .service-content ul {
    display: grid;
    gap: 10px;
    margin: 22px 0 34px;
    padding: 0;
    list-style: none;
}

.kc-service-copy .service-content li {
    position: relative;
    padding: 13px 16px 13px 44px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.025);
}

.kc-service-copy .service-content li::before {
    position: absolute;
    top: 16px;
    left: 17px;
    color: var(--kc-accent);
    font-weight: 700;
    content: "✓";
}

.kc-service-copy .service-content a {
    color: var(--kc-accent);
    font-weight: 700;
    text-decoration: none;
}

.kc-faq {
    margin-top: 64px;
}

.kc-faq .kc-faq-title {
    position: relative;
    margin: 0 0 24px;
    padding-top: 26px;
    color: #fff;
    font-size: clamp(28px, 3vw, 40px);
    line-height: 1.15;
}

.kc-faq .kc-faq-title::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 52px;
    height: 3px;
    border-radius: 3px;
    background: var(--kc-accent);
    content: "";
}

.kc-faq-item {
    overflow: hidden;
    border: 1px solid var(--kc-border);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.022);
    transition: border-color 0.25s ease, background 0.25s ease;
}

.kc-faq-item + .kc-faq-item {
    margin-top: 12px;
}

.kc-faq-item[open] {
    border-color: rgba(255, 74, 23, 0.48);
    background: rgba(255, 74, 23, 0.055);
}

.kc-faq-question {
    display: flex;
    min-height: 70px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 22px;
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
    list-style: none;
    cursor: pointer;
}

.kc-faq-question::-webkit-details-marker {
    display: none;
}

.kc-faq-icon {
    position: relative;
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    border-radius: 50%;
    background: var(--kc-accent);
}

.kc-faq-icon::before,
.kc-faq-icon::after {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 2px;
    background: #fff;
    content: "";
    transform: translate(-50%, -50%);
    transition: transform 0.25s ease;
}

.kc-faq-icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.kc-faq-item[open] .kc-faq-icon::after {
    transform: translate(-50%, -50%) rotate(0deg);
}

.kc-faq-answer {
    padding: 0 64px 22px 22px;
}

.kc-faq-answer > :last-child {
    margin-bottom: 0;
}

.kc-service-whatsapp {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 18px;
    margin-top: 54px;
    padding: 20px 22px;
    border: 1px solid rgba(37, 211, 102, 0.4);
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.13), rgba(37, 211, 102, 0.035));
    color: #fff;
    text-decoration: none;
    transition: border-color 0.25s ease, transform 0.25s ease;
}

.kc-service-whatsapp:hover {
    border-color: #25d366;
    color: #fff;
    transform: translateY(-3px);
}

.kc-service-whatsapp-icon {
    display: grid;
    width: 50px;
    height: 50px;
    place-items: center;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    font-size: 24px;
}

.kc-service-whatsapp small,
.kc-service-whatsapp strong {
    display: block;
}

.kc-service-whatsapp small {
    margin-bottom: 2px;
    color: #9bdcb3;
    font-size: 12px;
}

.kc-service-whatsapp strong {
    color: #fff;
    font-size: 16px;
    line-height: 1.4;
}

.kc-service-whatsapp-arrow {
    color: #25d366;
    font-size: 28px;
}

@media (max-width: 1199px) {
    .kc-services-intro {
        position: relative;
        top: auto;
        max-width: 760px;
        padding-right: 0;
    }

    .kc-services-intro .cs-section_title,
    .kc-services-intro p {
        max-width: 720px;
    }

    .kc-service-card {
        min-height: 360px;
    }
}

@media (max-width: 991px) {
    .kc-services-showcase,
    .kc-service-detail {
        padding-top: 72px;
    }

    .kc-service-visual {
        position: relative;
        top: auto;
        max-width: 540px;
        margin: 0 auto 12px;
    }

    .kc-service-image-frame {
        aspect-ratio: 16 / 10;
    }
}

@media (max-width: 767px) {
    .kc-services-showcase {
        padding-bottom: 70px;
    }

    .kc-service-card {
        min-height: 380px;
    }

    .kc-services-showcase + .cs-service-content > .container,
    .kc-service-copy {
        border-radius: 20px;
    }

    .kc-services-showcase + .cs-service-content > .container {
        width: calc(100% - 24px);
    }

    .kc-service-detail .row {
        --bs-gutter-x: 1.5rem;
    }

    .kc-service-copy {
        padding: 30px 22px;
    }

    .kc-service-copy .service-content > h2,
    .kc-faq .kc-faq-title {
        font-size: 28px;
    }

    .kc-faq-question {
        min-height: 64px;
        padding: 16px;
        font-size: 16px;
    }

    .kc-faq-answer {
        padding: 0 16px 18px;
    }

    .kc-service-whatsapp {
        grid-template-columns: auto 1fr;
    }

    .kc-service-whatsapp-arrow {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .kc-service-card,
    .kc-service-card img,
    .kc-faq-icon::after,
    .kc-service-whatsapp {
        transition: none;
    }
}
