/* =========================================================
   Kamilab — Homepage (index.html) redesign
   Semua class memakai prefix "kl-" agar tidak bentrok dengan style.css.
   Header, tombol, dan variabel warna ada di header.css (dipakai semua halaman).
   ========================================================= */

.kl-home {
    font-family: var(--kl-font);
    color: var(--kl-text);
    background: var(--kl-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

html:has(.kl-home) {
    scroll-behavior: smooth;
}

.kl-home section[id],
.kl-home footer[id] {
    scroll-margin-top: 88px;
}

.kl-home a {
    color: inherit;
    text-decoration: none;
}

.kl-home img {
    max-width: 100%;
    display: block;
}

.kl-home .portfolio-card[hidden] {
    display: none !important;
}

/* ---------- Shared: tag, headings, buttons ---------- */
.kl-tag {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 999px;
    background: var(--kl-blue-soft);
    color: var(--kl-blue-dark);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.kl-h2 {
    margin-top: 14px;
    color: var(--kl-navy);
    font-size: clamp(28px, 3vw, 38px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.kl-home .kl-btn-ghost {
    background: #fff;
    color: var(--kl-navy);
    border-color: var(--kl-line);
    box-shadow: 0 6px 18px rgba(22, 82, 150, 0.08);
}

.kl-home .kl-btn-ghost:hover {
    transform: translateY(-2px);
    border-color: #b9d9fb;
}

.kl-home .kl-btn-ghost .kl-play {
    width: 12px;
    height: 12px;
    fill: var(--kl-blue);
}

.kl-home .kl-btn-white {
    background: #fff;
    color: var(--kl-navy);
    box-shadow: 0 10px 26px rgba(8, 60, 130, 0.25);
}

.kl-home .kl-btn-white .kl-ic {
    color: var(--kl-blue);
}

.kl-home .kl-btn-white:hover {
    transform: translateY(-2px);
}

.kl-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--kl-blue) !important;
    font-size: 14px;
    font-weight: 600;
}

.kl-link .kl-ic {
    transition: transform 0.2s ease;
}

.kl-link:hover .kl-ic,
a:hover > .kl-link .kl-ic {
    transform: translateX(3px);
}

.kl-sphere {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle at 32% 28%, #b8e0ff 0%, #45a8f7 45%, #147fe6 100%);
    box-shadow: 0 12px 24px rgba(29, 143, 242, 0.35);
    pointer-events: none;
}

/* ---------- Hero ---------- */
.kl-hero {
    position: relative;
    padding: 150px 0 90px;
    background:
        radial-gradient(900px 520px at 78% 30%, #dcedff 0%, rgba(220, 237, 255, 0) 70%),
        linear-gradient(180deg, #f1f7ff 0%, #f7fbff 60%, #ffffff 100%);
    overflow: hidden;
}

.kl-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    align-items: center;
    gap: 48px;
}

.kl-hero-title {
    margin-top: 22px;
    color: var(--kl-navy);
    font-size: clamp(40px, 5.2vw, 68px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.03em;
}

.kl-hero-desc {
    max-width: 520px;
    margin-top: 22px;
    font-size: clamp(16px, 1.5vw, 20px);
    line-height: 1.55;
}

.kl-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

/* Hero visual: laptop dibuat dengan CSS, layar memakai screenshot yang ada */
.kl-hero-visual {
    position: relative;
    aspect-ratio: 1 / 0.78;
    max-width: 640px;
    width: 100%;
    margin-left: auto;
}

.kl-hero-halo {
    position: absolute;
    inset: 4% 2% 2% 8%;
    border-radius: 50%;
    background: radial-gradient(circle at 40% 30%, rgba(255, 255, 255, 0.95) 0%, rgba(214, 234, 255, 0.75) 55%, rgba(170, 212, 255, 0.55) 100%);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.9), 0 40px 80px rgba(29, 143, 242, 0.15);
}

.kl-hero-ring {
    position: absolute;
    inset: 14% -6% 20% -10%;
    border: 1.5px solid rgba(29, 143, 242, 0.18);
    border-radius: 50%;
    transform: rotate(-14deg);
}

.kl-laptop {
    position: absolute;
    left: 14%;
    top: 14%;
    width: 72%;
    perspective: 1400px;
    filter: drop-shadow(0 30px 40px rgba(15, 60, 120, 0.28));
}

.kl-laptop-body {
    transform: rotateY(-16deg) rotateX(8deg) rotateZ(3deg);
    transform-style: preserve-3d;
}

.kl-laptop-screen {
    padding: 2.6%;
    background: #101828;
    border-radius: 14px 14px 4px 4px;
}

.kl-laptop-screen img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: top center;
    border-radius: 6px;
}

.kl-laptop-base {
    position: relative;
    width: 116%;
    height: 16px;
    margin-left: -8%;
    background: linear-gradient(180deg, #eef2f7 0%, #c5cdd9 60%, #9aa5b5 100%);
    border-radius: 2px 2px 18px 18px;
}

.kl-laptop-base::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 16%;
    height: 5px;
    background: #aab4c2;
    border-radius: 0 0 8px 8px;
    transform: translateX(-50%);
}

.kl-float {
    position: absolute;
    animation: kl-float 6s ease-in-out infinite;
}

.kl-float-code {
    left: 3%;
    top: 22%;
    display: grid;
    place-items: center;
    width: 13%;
    aspect-ratio: 1;
    border-radius: 22%;
    background: linear-gradient(135deg, #46b0fb, #1a86ee);
    color: #fff;
    font-size: clamp(20px, 2.6vw, 34px);
    box-shadow: 0 16px 30px rgba(29, 143, 242, 0.4);
    rotate: -10deg;
}

.kl-float-card {
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.75);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 0 18px 36px rgba(22, 82, 150, 0.18);
}

.kl-float-shot {
    right: 0;
    top: 12%;
    width: 30%;
    animation-delay: -2s;
}

.kl-float-shot img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: top center;
    border-radius: 8px;
}

.kl-float-chart {
    right: 6%;
    top: 46%;
    width: 24%;
    padding: 12px;
    animation-delay: -4s;
}

.kl-float-chart svg {
    display: block;
    width: 100%;
    height: auto;
}

.kl-float-phone {
    left: 20%;
    top: 4%;
    width: 13%;
    padding: 5px;
    border-radius: 16px;
    animation-delay: -1s;
}

.kl-float-phone img {
    width: 100%;
    aspect-ratio: 9 / 16;
    object-fit: cover;
    object-position: top center;
    border-radius: 11px;
}

@keyframes kl-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ---------- Trusted brands ---------- */
.kl-trusted {
    border-top: 1px solid var(--kl-line);
    border-bottom: 1px solid var(--kl-line);
    background: #fff;
}

.kl-trusted-row {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 34px 0;
}

.kl-trusted-label {
    flex: none;
    padding-right: 40px;
    border-right: 1px solid var(--kl-line);
    color: var(--kl-navy);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
}

.kl-trusted-logos {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex: 1;
    min-width: 0;
}

.kl-trusted-logos img {
    height: 50px;
    width: auto;
    max-width: 130px;
    object-fit: contain;
    border-radius: 8px;
    opacity: 0.85;
    transition: opacity 0.25s ease;
}

.kl-trusted-logos img:hover {
    opacity: 1;
}

/* File logo BCA punya ruang kosong lebar di sekelilingnya */
.kl-trusted-logos img.kl-logo-zoom {
    transform: scale(2);
}

.kl-trusted-more {
    flex: none;
    padding: 8px 4px;
    border: 0;
    background: none;
    color: var(--kl-muted);
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.2s ease;
}

.kl-trusted-more:hover,
.kl-trusted-more[aria-expanded='true'] {
    color: var(--kl-blue);
}

.kl-clients-all {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 14px;
    padding: 0 0 34px;
}

.kl-clients-all[hidden] {
    display: none;
}

.kl-client {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px 12px;
    border: 1px solid var(--kl-line);
    border-radius: 14px;
    background: #fff;
    color: var(--kl-text);
    font-size: 12.5px;
    font-weight: 500;
    line-height: 1.35;
    text-align: center;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.kl-client:hover {
    border-color: #b9d9fb;
    box-shadow: var(--kl-shadow);
    transform: translateY(-2px);
}

.kl-client img {
    width: 56px;
    height: 56px;
    object-fit: contain;
}

/* ---------- Sections ---------- */
.kl-section {
    padding: 88px 0;
}

.kl-section-tint {
    background: linear-gradient(180deg, #f5f9ff 0%, #f9fcff 100%);
}

.kl-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 36px;
}

.kl-section-head p {
    max-width: 380px;
    font-size: 15px;
    text-align: right;
}

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

.kl-service {
    display: flex;
    flex-direction: column;
    padding: 28px;
    border: 1px solid var(--kl-line);
    border-radius: var(--kl-radius);
    background: #fff;
    box-shadow: 0 4px 16px rgba(22, 82, 150, 0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.kl-service:hover {
    transform: translateY(-6px);
    border-color: #b9d9fb;
    box-shadow: var(--kl-shadow-lg);
}

.kl-service-icon {
    display: grid;
    place-items: center;
    width: 60px;
    height: 60px;
    border-radius: 14px;
    background: var(--kl-blue-soft);
    color: var(--kl-blue);
    font-size: 30px;
}

.kl-service h3 {
    margin-top: 22px;
    color: var(--kl-navy);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
}

.kl-service p {
    margin: 10px 0 22px;
    font-size: 14.5px;
    line-height: 1.6;
}

.kl-service .kl-link {
    margin-top: auto;
}

/* ---------- Why Kamilab ---------- */
.kl-why-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 72px;
}

.kl-why-visual {
    position: relative;
    aspect-ratio: 1 / 0.62;
    border-radius: 28px;
    background:
        radial-gradient(420px 260px at 30% 40%, #e3f0ff 0%, rgba(227, 240, 255, 0) 70%),
        linear-gradient(135deg, #f3f8ff 0%, #eaf3ff 100%);
}

.kl-why-dash {
    position: absolute;
    left: 5%;
    top: 12%;
    width: 62%;
    padding: 8px;
    border-radius: 14px;
    background: #fff;
    box-shadow: var(--kl-shadow-lg);
    transform: perspective(1200px) rotateY(14deg) rotateX(4deg) rotateZ(-3deg);
}

.kl-why-dash img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: top left;
    border-radius: 8px;
}

.kl-why-phone {
    position: absolute;
    left: 48%;
    top: 4%;
    width: 27%;
    padding: 6px;
    border-radius: 30px;
    background: #101828;
    box-shadow: 0 30px 50px rgba(15, 40, 90, 0.35);
    transform: rotate(6deg);
}

.kl-why-phone img {
    width: 100%;
    aspect-ratio: 9 / 18.5;
    object-fit: cover;
    object-position: top center;
    border-radius: 24px;
}

.kl-why-shot {
    position: absolute;
    right: 3%;
    bottom: 10%;
    width: 30%;
    padding: 6px;
    border-radius: 12px;
    background: #fff;
    box-shadow: var(--kl-shadow-lg);
}

.kl-why-shot img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: top center;
    border-radius: 7px;
}

.kl-why-chip {
    position: absolute;
    right: 5%;
    top: 6%;
    width: 20%;
    padding: 10px;
    border-radius: 12px;
    background: #fff;
    box-shadow: var(--kl-shadow);
}

.kl-why-chip svg {
    display: block;
    width: 100%;
    height: auto;
}

.kl-why-copy p {
    max-width: 520px;
    margin-top: 18px;
    font-size: 16px;
}

.kl-stats {
    display: flex;
    gap: 0;
    margin-top: 34px;
}

.kl-stat {
    padding: 0 40px;
    border-left: 1px solid var(--kl-line);
}

.kl-stat:first-child {
    padding-left: 0;
    border-left: 0;
}

.kl-stat strong {
    display: block;
    color: var(--kl-navy);
    font-size: clamp(32px, 3.4vw, 44px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.kl-stat strong em {
    color: var(--kl-blue);
    font-style: normal;
}

.kl-stat span {
    display: block;
    margin-top: 8px;
    font-size: 14px;
    line-height: 1.4;
}

/* ---------- Portfolio ---------- */
.kl-section-head .kl-link {
    margin-bottom: 8px;
    flex: none;
}

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

.kl-work {
    display: block;
    width: 100%;
    padding: 0;
    border: 1px solid var(--kl-line);
    border-radius: var(--kl-radius);
    background: #fff;
    font-family: inherit;
    text-align: left;
    cursor: pointer;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(22, 82, 150, 0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.kl-work:hover {
    transform: translateY(-6px);
    border-color: #b9d9fb;
    box-shadow: var(--kl-shadow-lg);
}

.kl-work-media {
    display: grid;
    place-items: center;
    aspect-ratio: 16 / 10.5;
    padding: 9% 9% 0;
    background: linear-gradient(160deg, #e9f3ff 0%, #d5e9ff 100%);
    overflow: hidden;
}

.kl-work-frame {
    width: 100%;
    align-self: end;
    padding: 6px 6px 0;
    border-radius: 10px 10px 0 0;
    background: #101828;
    box-shadow: 0 16px 30px rgba(15, 60, 120, 0.25);
    transition: transform 0.35s ease;
}

.kl-work:hover .kl-work-frame {
    transform: translateY(-4px) scale(1.02);
}

.kl-work-frame img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: top center;
    border-radius: 5px 5px 0 0;
}

.kl-work-body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 20px;
}

.kl-work-body > span:first-child {
    display: block;
    min-width: 0;
}

.kl-work-body strong {
    display: block;
    color: var(--kl-navy);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
}

.kl-work-body small {
    display: block;
    margin-top: 3px;
    color: var(--kl-muted);
    font-size: 13px;
}

.kl-arrow-circle {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--kl-line);
    border-radius: 50%;
    background: #fff;
    color: var(--kl-blue);
    font-size: 15px;
    flex: none;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.kl-work:hover .kl-arrow-circle {
    background: var(--kl-blue);
    border-color: var(--kl-blue);
    color: #fff;
}

/* ---------- Process ---------- */
.kl-process-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr);
    align-items: center;
    gap: 64px;
}

.kl-process-copy p {
    max-width: 360px;
    margin: 16px 0 26px;
    font-size: 15px;
}

.kl-steps {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: kl-step;
}

.kl-steps::before {
    content: '';
    position: absolute;
    top: 16px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: #bfdcfb;
}

.kl-step {
    position: relative;
    text-align: center;
    counter-increment: kl-step;
}

.kl-step::before {
    content: counter(kl-step);
    position: relative;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    margin: 0 auto 18px;
    border: 4px solid #fff;
    border-radius: 50%;
    background: var(--kl-blue);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 0 0 1px #bfdcfb, 0 6px 14px rgba(29, 143, 242, 0.3);
}

.kl-step strong {
    display: block;
    color: var(--kl-navy);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
}

.kl-step span {
    display: block;
    max-width: 130px;
    margin: 8px auto 0;
    font-size: 13.5px;
    line-height: 1.45;
}

/* ---------- Testimonials ---------- */
.kl-testi {
    border-top: 1px solid var(--kl-line);
}

.kl-testi-nav {
    display: flex;
    gap: 10px;
    margin-bottom: 4px;
}

.kl-testi-nav button {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid var(--kl-line);
    border-radius: 50%;
    background: #fff;
    color: var(--kl-blue);
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(22, 82, 150, 0.08);
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.kl-testi-nav button:hover {
    background: var(--kl-blue);
    border-color: var(--kl-blue);
    color: #fff;
}

.kl-testi-card {
    position: relative;
    border: 1px solid var(--kl-line);
    border-radius: var(--kl-radius);
    background: #fff;
    box-shadow: var(--kl-shadow);
    overflow: hidden;
}

.kl-testi-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.kl-testi-slide {
    display: flex;
    align-items: center;
    gap: 44px;
    flex: 0 0 100%;
    min-width: 0;
    margin: 0;
    padding: 36px 72px 56px;
}

.kl-testi-slide img {
    width: 112px;
    height: 112px;
    border-radius: 50%;
    object-fit: cover;
    flex: none;
    box-shadow: 0 0 0 5px var(--kl-blue-soft);
}

.kl-testi-slide blockquote {
    margin: 0;
    color: var(--kl-navy);
    font-size: 17px;
    line-height: 1.65;
}

.kl-testi-slide figcaption {
    margin-top: 16px;
}

.kl-testi-slide figcaption strong {
    display: block;
    color: var(--kl-navy);
    font-size: 15px;
    font-weight: 700;
}

.kl-testi-slide figcaption span {
    color: var(--kl-muted);
    font-size: 13px;
}

.kl-testi-dots {
    position: absolute;
    right: 44px;
    bottom: 24px;
    display: flex;
    gap: 8px;
}

.kl-testi-dots button {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: #cfd9e6;
    cursor: pointer;
    transition: width 0.25s ease, background 0.25s ease;
}

.kl-testi-dots button.is-active {
    width: 18px;
    background: var(--kl-blue);
}

/* ---------- CTA ---------- */
.kl-cta-wrap {
    padding: 0 0 72px;
}

.kl-cta {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 52px 64px;
    border-radius: 24px;
    background: linear-gradient(120deg, #2ba4f9 0%, #1787f0 55%, #0f76e4 100%);
    color: #fff;
    overflow: hidden;
    box-shadow: 0 24px 50px rgba(29, 143, 242, 0.3);
}

.kl-cta::before {
    content: '';
    position: absolute;
    right: 8%;
    top: -60%;
    width: 46%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
}

.kl-cta .kl-sphere {
    background: radial-gradient(circle at 32% 28%, #8fd0ff 0%, #3ba4f8 50%, #1a86ee 100%);
    box-shadow: 0 12px 24px rgba(8, 60, 130, 0.25);
}

.kl-cta-copy,
.kl-cta .kl-btn {
    position: relative;
    z-index: 1;
}

.kl-cta h2 {
    color: #fff;
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.kl-cta p {
    margin-top: 10px;
    color: rgba(255, 255, 255, 0.92);
    font-size: 16px;
}

/* ---------- Footer ---------- */
.kl-footer {
    padding: 0 0 28px;
    background: #fff;
}

.kl-footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 36px;
}

.kl-footer-brand p {
    margin-top: 14px;
    font-size: 14px;
}

.kl-footer-contact {
    display: grid;
    gap: 6px;
    margin-top: 14px;
    font-size: 14px;
}

.kl-footer-contact a:hover,
.kl-footer-col a:hover,
.kl-footer-bottom a:hover {
    color: var(--kl-blue);
}

.kl-footer-col h4 {
    margin-bottom: 14px;
    color: var(--kl-navy);
    font-size: 14px;
    font-weight: 700;
}

.kl-footer-col ul {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 14px;
}

.kl-social {
    display: flex;
    gap: 10px;
}

.kl-social a {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #eef3f9;
    color: var(--kl-navy);
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.kl-social a:hover {
    background: var(--kl-blue);
    color: #fff;
    transform: translateY(-2px);
}

.kl-social svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.kl-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 24px;
    border-top: 1px solid var(--kl-line);
    font-size: 13px;
}

/* Tombol WhatsApp melayang: ikut font baru */
.kl-home .whatsapp-fab {
    font-family: var(--kl-font);
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .kl-services-grid,
    .kl-works-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .kl-why-grid {
        gap: 48px;
    }

    .kl-process-grid {
        grid-template-columns: 1fr;
        gap: 44px;
    }

    .kl-trusted-logos img {
        height: 38px;
        max-width: 100px;
    }
}

@media (max-width: 960px) {
    .kl-hero {
        padding: 120px 0 64px;
    }

    .kl-hero-grid,
    .kl-why-grid {
        grid-template-columns: 1fr;
    }

    .kl-hero-visual {
        margin: 0 auto;
    }

    .kl-trusted-row {
        flex-wrap: wrap;
        gap: 20px 24px;
    }

    .kl-trusted-label {
        padding-right: 0;
        border-right: 0;
    }

    .kl-trusted-label br {
        display: none;
    }

    .kl-trusted-row {
        justify-content: space-between;
        padding: 26px 0;
    }

    /* Kelima logo selalu dalam satu baris dengan lebar kolom yang sama */
    .kl-trusted-logos {
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        align-items: center;
        justify-items: center;
        gap: 12px;
        flex: 1 1 100%;
        order: 3;
    }

    .kl-trusted-logos img {
        width: auto;
        max-width: 100%;
        height: clamp(30px, 8vw, 44px);
    }

    .kl-trusted-logos img.kl-logo-zoom {
        transform: scale(1.7);
    }

    .kl-trusted-more {
        margin-left: auto;
    }

    .kl-section {
        padding: 64px 0;
    }

    .kl-steps {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .kl-steps::before {
        top: 10px;
        bottom: 10px;
        left: 16px;
        right: auto;
        width: 2px;
        height: auto;
    }

    .kl-step {
        display: grid;
        grid-template-columns: 34px 1fr;
        column-gap: 16px;
        text-align: left;
    }

    .kl-step::before {
        grid-row: 1 / span 2;
        margin: 0;
    }

    .kl-step span {
        max-width: none;
        margin: 2px 0 0;
    }

    .kl-testi-slide {
        gap: 28px;
        padding: 32px 32px 60px;
    }

    .kl-cta {
        flex-direction: column;
        align-items: flex-start;
        padding: 40px 32px;
    }

    .kl-footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .kl-hero-actions .kl-btn {
        flex: 1 1 100%;
    }

    .kl-section-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .kl-section-head p {
        text-align: left;
    }

    .kl-services-grid,
    .kl-works-grid {
        grid-template-columns: 1fr;
    }

    .kl-stats {
        flex-wrap: wrap;
        gap: 20px 0;
    }

    .kl-stat {
        flex: 1 1 33%;
        padding: 0 14px;
    }

    .kl-testi-slide {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        padding: 28px 22px 60px;
    }

    .kl-testi-slide img {
        width: 76px;
        height: 76px;
    }

    .kl-testi-slide blockquote {
        font-size: 15.5px;
    }

    .kl-testi-dots {
        right: 22px;
    }

    .kl-cta {
        padding: 32px 24px;
        border-radius: 20px;
    }

    .kl-cta .kl-btn {
        width: 100%;
    }

    .kl-footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .kl-footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (prefers-reduced-motion: reduce) {
    .kl-float {
        animation: none;
    }

    html:has(.kl-home) {
        scroll-behavior: auto;
    }

    .kl-testi-track {
        transition: none;
    }
}
