/* ===================================================
   PT. Kontraktor Karawang Indah – styles.css
   =================================================== */

/* Ensure text is always readable regardless of JS */

:root {
    --navy: #0d1b2a;
    --navy-mid: #1b2d42;
    --navy-light: #243b55;
    --orange: #e8600a;
    --orange-light: #ff7b24;
    --amber: #f5a623;
    --white: #ffffff;
    --gray-50: #f8f9fb;
    --gray-100: #eef0f4;
    --gray-200: #d8dde6;
    --gray-400: #8b94a8;
    --gray-600: #4a5568;
    --gray-800: #1e2938;
    --concrete: #c8cdd6;
    --shadow-sm: 0 2px 8px rgba(13, 27, 42, 0.08);
    --shadow-md: 0 6px 24px rgba(13, 27, 42, 0.12);
    --shadow-lg: 0 16px 48px rgba(13, 27, 42, 0.18);
    --shadow-orange: 0 8px 32px rgba(232, 96, 10, 0.3);
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-full: 9999px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-display: "Outfit", sans-serif;
    --font-body: "Nunito Sans", sans-serif;
}

/* ---- Reset & Base ---- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--gray-800);
    background: var(--white);
    line-height: 1.65;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
    object-fit: cover;
}
a {
    text-decoration: none;
    color: inherit;
}
ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---- Section Common ---- */
.section {
    padding: 96px 0;
}
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--orange);
    background: none;
    border: none;
    padding: 0;
    margin-bottom: 16px;
}
.section-label::before {
    content: "";
    display: block;
    width: 28px;
    height: 2px;
    background: var(--orange);
    border-radius: 2px;
    flex-shrink: 0;
}
.section-label.light {
    color: var(--amber);
}
.section-label.light::before {
    background: var(--amber);
}
.section-title {
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    color: var(--navy);
    line-height: 1.2;
    margin-bottom: 16px;
}
.section-desc {
    font-size: 17px;
    color: var(--gray-600);
    max-width: 540px;
}
.section-header {
    margin-bottom: 56px;
}
.section-header .section-desc {
    margin-top: 12px;
}

/* ---- Buttons ---- */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--orange);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: var(--radius-full);
    border: 2px solid var(--orange);
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-orange);
    white-space: nowrap;
}
.btn-primary:hover {
    background: var(--orange-light);
    border-color: var(--orange-light);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(232, 96, 10, 0.4);
}
.btn-primary.large {
    padding: 18px 40px;
    font-size: 17px;
}
.btn-primary.full {
    width: 100%;
    justify-content: center;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--white);
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: var(--radius-full);
    border: 2px solid rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}
.btn-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--white);
}

.btn-konsultasi {
    display: inline-flex;
    align-items: center;
    background: var(--orange);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    padding: 10px 22px;
    border-radius: var(--radius-full);
    transition: var(--transition);
    white-space: nowrap;
    margin-left: auto;
}
.btn-konsultasi:hover {
    background: var(--orange-light);
    transform: translateY(-1px);
}
.btn-konsultasi.small {
    padding: 8px 18px;
    font-size: 13px;
}

/* ---- Reveal Animations ---- */
/* Default: visible. JS progressively enhances with animation */
.reveal {
    opacity: 1;
    transform: none;
    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}
/* When JS is loaded, it adds .js-reveal-ready to body first,
   then adds .visible class as elements enter viewport */
body.js-loaded .reveal {
    opacity: 0;
    transform: translateY(32px);
}
body.js-loaded .reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
/* Hero content always visible */
.hero-content {
    opacity: 1 !important;
    transform: none !important;
    animation: heroFadeIn 0.9s ease both;
}
@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

/* ===================================================
   NAVBAR
   =================================================== */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1010;
    background: transparent;
    transition:
        background 0.4s ease,
        box-shadow 0.4s ease,
        padding 0.3s ease,
        backdrop-filter 0.4s ease;
    padding: 8px 0;
}
#navbar.scrolled {
    background: rgba(10, 20, 35, 0.82);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
    padding: 0;
}

.nav-inner {
    display: flex;
    align-items: center;
    height: 68px;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 20px;
    color: var(--white);
    flex-shrink: 0;
}

/* Desktop: logo image */
.logo-desktop {
    display: flex;
}
.logo-img {
    /* original: 1376×768 → rasio 1.79:1. Di navbar tinggi ~68px, gunakan height auto agar proporsional */
    height: 40px;
    width: auto;
    object-fit: contain;
    display: block;
    /* filter agar logo terlihat di atas background gelap/transparan */
    filter: brightness(0) invert(1);
}
/* Jika logo sudah berwarna terang/putih natively, hapus filter di atas */

/* Mobile: sembunyikan logo image, tampilkan CTA */
.logo-mobile-cta {
    display: none;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
}
.nav-links li a {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    padding: 8px 10px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    white-space: nowrap;
}
.nav-links li a:hover {
    color: var(--orange);
    background: none;
}
.nav-links li a.active-link {
    color: var(--orange) !important;
    background: none !important;
    font-weight: 700 !important;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    margin-left: auto;
}
.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}
.hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ===================================================
   HERO
   =================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    animation: heroZoom 12s ease-in-out infinite alternate;
}
@keyframes heroZoom {
    from {
        transform: scale(1.05);
    }
    to {
        transform: scale(1.12);
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(13, 27, 42, 0.88) 0%, rgba(13, 27, 42, 0.6) 60%, rgba(232, 96, 10, 0.15) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    padding-top: 80px;
    padding-bottom: 80px;
    max-width: 1100px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(232, 96, 10, 0.2);
    border: 1px solid rgba(232, 96, 10, 0.4);
    color: var(--amber);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    margin-bottom: 24px;
}
.hero-badge::before {
    content: "●";
    color: var(--orange);
    font-size: 8px;
    animation: blink 1.5s ease-in-out infinite;
}
@keyframes blink {
    0%,
    100% {
        opacity: 1;
    }
    50% {
        opacity: 0.3;
    }
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 4.8vw, 64px);
    font-weight: 800;
    color: var(--white);
    line-height: 1.15;
    margin-top: 32px;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
    white-space: nowrap;
}
.hero-title em {
    font-style: normal;
    display: block;
    color: var(--orange-light);
    white-space: normal;
}

.hero-sub {
    font-size: clamp(15px, 2vw, 18px);
    color: rgba(255, 255, 255, 0.75);
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 36px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 56px;
    justify-content: center;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 48px;
}
.stat strong {
    display: block;
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
}
.stat span {
    display: block;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 4px;
}
.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
}

.hero-scroll-hint {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.hero-scroll-hint span {
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}
.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.5), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
    0% {
        transform: scaleY(0);
        transform-origin: top;
    }
    50% {
        transform: scaleY(1);
        transform-origin: top;
    }
    51% {
        transform: scaleY(1);
        transform-origin: bottom;
    }
    100% {
        transform: scaleY(0);
        transform-origin: bottom;
    }
}

/* ===================================================
   TICKER
   =================================================== */
.ticker-wrap {
    background: var(--orange);
    overflow: hidden;
    padding: 14px 0;
}
.ticker-track {
    display: flex;
    gap: 0;
    animation: ticker 30s linear infinite;
    white-space: nowrap;
}
.ticker-track span {
    padding: 0 28px;
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--white);
}
.ticker-track .sep {
    padding: 0;
    color: rgba(255, 255, 255, 0.6);
}
@keyframes ticker {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

/* ===================================================
   TENTANG
   =================================================== */
.tentang {
    background: var(--gray-50);
}

.tentang-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.tentang-visual {
    position: relative;
    padding-bottom: 40px;
}
.img-stack {
    position: relative;
}
.img-main {
    width: 100%;
    height: 480px;
    border-radius: var(--radius-xl);
    object-fit: cover;
    box-shadow: var(--shadow-lg);
}
.img-float {
    position: absolute;
    bottom: -32px;
    right: -32px;
    width: 200px;
    height: 160px;
    border-radius: var(--radius-lg);
    object-fit: cover;
    border: 5px solid var(--white);
    box-shadow: var(--shadow-md);
}

.exp-badge {
    position: absolute;
    bottom: -28px;
    left: -24px;
    background: linear-gradient(135deg, #1e3a5f 0%, #243b55 100%);
    border: 1px solid rgba(232, 96, 10, 0.35);
    color: var(--white);
    padding: 22px 28px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow:
        0 20px 60px rgba(13, 27, 42, 0.25),
        inset 0 1px 0 rgba(232, 96, 10, 0.2);
    min-width: 220px;
}
.exp-badge::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(232, 96, 10, 0.5), transparent);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.exp-badge-number {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1;
    border-right: 1px solid rgba(232, 96, 10, 0.2);
    padding-right: 16px;
}
.exp-badge-number strong {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 900;
    color: var(--orange-light);
    letter-spacing: -0.03em;
    line-height: 1;
    display: block;
}
.exp-badge-number sup {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    color: var(--orange-light);
    margin-top: 2px;
    display: block;
    align-self: flex-end;
    margin-bottom: 8px;
}
.exp-badge-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.exp-badge-text span:first-child,
.exp-badge-text span:last-child {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 700;
    color: var(--white) !important;
    letter-spacing: 0.01em;
    text-transform: uppercase;
}

.tentang-text p {
    color: var(--gray-600);
    margin-bottom: 16px;
    font-size: 16px;
}

.value-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 32px;
}
.value-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-md);
    padding: 18px;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}
.value-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--orange);
}
.vc-icon {
    font-size: 24px;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(232, 96, 10, 0.08);
    border-radius: var(--radius-sm);
    color: var(--orange);
}
.value-card strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 4px;
}
.value-card span {
    font-size: 13px;
    color: var(--gray-600);
}

/* ===================================================
   LAYANAN
   =================================================== */
.layanan {
    background: var(--white);
}

.layanan-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.layanan-card {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}
.layanan-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}
.lc-img {
    height: 200px;
    overflow: hidden;
}
.lc-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.layanan-card:hover .lc-img img {
    transform: scale(1.08);
}

.lc-body {
    padding: 24px;
}
.lc-num {
    font-family: var(--font-display);
    font-size: 40px;
    font-weight: 800;
    color: rgba(232, 96, 10, 0.12);
    line-height: 1;
    margin-bottom: 12px;
}
.lc-body h3 {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 10px;
}
.lc-body p {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 18px;
}
.lc-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--orange);
    transition: var(--transition);
}
.lc-link:hover {
    color: var(--orange-light);
}

/* ===================================================
   PROYEK
   =================================================== */
.proyek {
    background: var(--navy);
}
.proyek .section-title {
    color: var(--white);
}
.proyek .section-desc {
    color: rgba(255, 255, 255, 0.6);
}
.proyek .section-label {
    color: rgba(255, 140, 60, 0.85);
    background: none;
    border-color: transparent;
}
.proyek .section-label::before {
    background: rgba(255, 140, 60, 0.85);
}

.proyek-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 280px;
    gap: 40px;
}
.proyek-card {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    cursor: pointer;
    grid-column: span 1;
    display: block;
    text-decoration: none;
    color: inherit;
}
.proyek-card.large {
    grid-column: span 1;
}
.proyek-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.proyek-card:hover img,
.proyek-card.touch-hover img {
    transform: scale(1.07);
}
.pk-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(13, 27, 42, 0.9) 0%, rgba(13, 27, 42, 0.2) 60%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}
.proyek-card:hover .pk-overlay,
.proyek-card.touch-hover .pk-overlay {
    opacity: 1;
}
.pk-tag {
    display: inline-block;
    background: var(--orange);
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    margin-bottom: 10px;
    width: fit-content;
}
.pk-overlay h3 {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 4px;
}
.pk-overlay p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
}

/* ===================================================
   PROSES KERJA
   =================================================== */
.proses {
    background: var(--gray-50);
}

.proses-steps {
    display: flex;
    align-items: flex-start;
    gap: 0;
}
.step {
    flex: 1;
    text-align: center;
    padding: 40px 24px;
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    position: relative;
    transition: var(--transition);
}
.step:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--orange);
}
.step-num {
    font-family: var(--font-display);
    font-size: 64px;
    font-weight: 800;
    color: rgba(232, 96, 10, 0.08);
    line-height: 1;
    position: absolute;
    top: 16px;
    right: 20px;
}
.step-icon {
    width: 68px;
    height: 68px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(232, 96, 10, 0.08);
    border-radius: var(--radius-md);
    color: var(--orange);
    border: 1px solid rgba(232, 96, 10, 0.15);
}
.step-icon svg {
    flex-shrink: 0;
}
.step h3 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 12px;
}
.step p {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.65;
}
.step-arrow {
    flex-shrink: 0;
    align-self: center;
    padding: 0 8px;
    color: var(--orange);
    display: flex;
    align-items: center;
    opacity: 0.5;
}

/* ===================================================
   TESTIMONI
   =================================================== */
.testimoni {
    background: var(--white);
}

.testi-slider {
    position: relative;
    overflow: hidden;
    padding: 12px 0 16px;
    margin: -12px 0 -16px;
}

/* Arrows — desktop: static inline di dots-wrap */
.testi-arrow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--gray-200);
    background: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    flex-shrink: 0;
}
.testi-arrow:hover {
    border-color: var(--orange);
    background: var(--orange);
    color: var(--white);
}
/* Float arrows hidden on desktop */
.testi-float-arrow {
    display: none;
}

.testi-track {
    display: flex;
    gap: 24px;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 4px 2px 8px;
}

/* Dots wrapper — arrow + dots + arrow dalam satu row */
.testi-dots-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 40px;
}
.testi-dots {
    display: flex;
    gap: 8px;
}
.testi-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gray-200);
    cursor: pointer;
    transition: var(--transition);
}
.testi-dot.active {
    background: var(--orange);
    width: 24px;
    border-radius: var(--radius-full);
}

/* Hapus .testi-nav lama */
.testi-nav {
    display: none;
}
.testi-card {
    flex-shrink: 0;
    width: calc(33.333% - 16px);
    background: var(--gray-50);
    border: 1.5px solid var(--gray-100);
    border-radius: var(--radius-xl);
    padding: 32px;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    position: relative;
}
.testi-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 20%;
    bottom: 20%;
    width: 3px;
    background: var(--orange);
    border-radius: 0 3px 3px 0;
    opacity: 0;
    transform: scaleY(0);
    transition:
        opacity 0.3s ease,
        transform 0.3s ease;
}
.testi-card:hover {
    transform: translateY(-6px);
    box-shadow:
        0 12px 40px rgba(232, 96, 10, 0.15),
        var(--shadow-md);
    border-color: rgba(232, 96, 10, 0.35);
    background: var(--white);
}
.testi-card:hover::before {
    opacity: 1;
    transform: scaleY(1);
}
.testi-stars {
    font-size: 20px;
    color: var(--amber);
    letter-spacing: 3px;
    margin-bottom: 20px;
}
.testi-card p {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 24px;
}
.testi-author {
    display: flex;
    align-items: center;
    gap: 14px;
}
.ta-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--navy), var(--navy-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    color: var(--white);
    flex-shrink: 0;
    border: 2px solid var(--orange);
}
.testi-author strong {
    display: block;
    font-size: 15px;
    color: var(--navy);
    font-weight: 600;
}
.testi-author span {
    font-size: 13px;
    color: var(--gray-400);
}

.testi-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 40px;
}
.testi-nav button {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--gray-200);
    background: var(--white);
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy);
}
.testi-nav button:hover {
    border-color: var(--orange);
    background: var(--orange);
    color: var(--white);
}

.testi-dots {
    display: flex;
    gap: 8px;
}
.testi-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gray-200);
    cursor: pointer;
    transition: var(--transition);
}
.testi-dot.active {
    background: var(--orange);
    width: 24px;
    border-radius: var(--radius-full);
}

/* ===================================================
   CTA SECTION
   =================================================== */
.cta-section {
    position: relative;
    padding: 120px 0;
    text-align: center;
    overflow: hidden;
}
.cta-bg {
    position: absolute;
    inset: 0;
}
.cta-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(13, 27, 42, 0.92) 0%, rgba(30, 50, 80, 0.85) 100%);
}
.cta-content {
    position: relative;
    z-index: 1;
}
.cta-content h2 {
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 52px);
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 20px;
}
.cta-content p {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.7);
    max-width: 540px;
    margin: 0 auto 40px;
}

/* Badge CTA: tanpa garis, hanya teks bold */
.cta-content .section-label {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0.25em;
}
.cta-content .section-label::before {
    display: none;
}

/* ===================================================
   KONTAK
   =================================================== */
.kontak {
    background: var(--gray-50);
}

.kontak-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 56px;
    align-items: stretch;
}

.kontak-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
    justify-content: space-between;
}
.ki-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 20px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    flex: 1;
}
.ki-icon {
    font-size: 20px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(232, 96, 10, 0.08);
    border-radius: var(--radius-sm);
    flex-shrink: 0;
    color: var(--orange);
}
.ki-icon svg {
    flex-shrink: 0;
}
.ki-item a {
    color: var(--gray-600);
    transition: var(--transition);
}
.ki-item a:hover {
    color: var(--orange);
}
.ki-item strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 4px;
}
.ki-item p {
    font-size: 14px;
    color: var(--gray-600);
}

.map-placeholder {
    height: 200px;
    background: linear-gradient(135deg, var(--navy-mid), var(--navy));
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}
.map-inner {
    text-align: center;
    color: var(--white);
}
.map-inner p {
    font-size: 15px;
    font-weight: 600;
}
.map-inner small {
    font-size: 13px;
    opacity: 0.6;
}

/* ---- Form ---- */
.kontak-form {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-100);
    height: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}
.kontak-form form {
    display: flex;
    flex-direction: column;
    flex: 1;
}
.kontak-form .form-group:has(textarea) {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.kontak-form textarea {
    flex: 1;
    min-height: 100px;
    resize: none;
}
.form-group {
    margin-bottom: 20px;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 8px;
    letter-spacing: 0.02em;
}
input,
textarea,
select {
    width: 100%;
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--gray-800);
    background: var(--gray-50);
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    transition: var(--transition);
    outline: none;
    resize: vertical;
    appearance: none;
}
input::placeholder,
textarea::placeholder {
    color: var(--gray-400);
}
input:focus,
textarea:focus,
select:focus {
    border-color: var(--orange);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(232, 96, 10, 0.1);
}

.form-success {
    display: none;
    margin-top: 16px;
    padding: 14px 20px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: var(--radius-md);
    color: #065f46;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
}
.form-success.show {
    display: block;
    animation: fadeIn 0.4s ease;
}
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================================================
   FOOTER
   =================================================== */
.footer {
    background: var(--navy);
    padding: 80px 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1.4fr;
    gap: 48px;
    padding-bottom: 56px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-brand .logo,
.footer-brand .footer-logo {
    display: inline-block;
    margin-bottom: 16px;
}
.footer-logo-img {
    height: 36px;
    width: auto;
    object-fit: contain;
    display: block;
    filter: brightness(0) invert(1);
}
.footer-brand p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.7;
    max-width: 260px;
    margin-bottom: 24px;
}
.socials {
    display: flex;
    gap: 10px;
}
.socials a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    transition: var(--transition);
}
.socials a:hover {
    background: var(--orange);
    border-color: var(--orange);
    color: var(--white);
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
}
.footer-links ul li a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    display: block;
    padding: 5px 0;
    transition: var(--transition);
}
.footer-links ul li a:hover {
    color: var(--orange);
    padding-left: 6px;
}
.footer-contact p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 10px;
}
.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.5) !important;
}
.footer-contact-item svg {
    flex-shrink: 0;
    opacity: 0.6;
    color: var(--orange);
}
.footer-contact-item a {
    color: rgba(255, 255, 255, 0.5);
    transition: var(--transition);
}
.footer-contact-item a:hover {
    color: var(--orange);
}
.footer-contact .btn-konsultasi {
    margin-top: 16px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    gap: 16px;
    flex-wrap: wrap;
}
.footer-bottom p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.35);
}

/* ===================================================
   RESPONSIVE
   =================================================== */
@media (max-width: 1024px) {
    .layanan-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    /* ---- Footer ---- */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }
    .footer-brand {
        grid-column: span 1;
    }
    .footer-brand p {
        max-width: 100%;
    }
    .socials {
        justify-content: center;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }

    .proyek-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 240px;
    }
    .proyek-card {
        grid-column: span 1;
    }
    .proyek-card.large {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 72px 0;
    }

    /* Hamburger */
    .hamburger {
        display: flex;
        margin-left: auto;
        position: relative;
        z-index: 1020;
    }
    /* Navbar solid saat menu terbuka */
    #navbar.menu-open {
        background: rgba(10, 20, 35, 0.98) !important;
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
    }
    .nav-links {
        position: fixed;
        inset: 0;
        width: 100%;
        height: 100vh;
        height: 100dvh;
        background: rgba(10, 20, 35, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 84px 24px 32px;
        gap: 6px;
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1005;
        overflow-y: auto;
        justify-content: flex-start;
    }
    .nav-links.open {
        transform: translateX(0);
    }
    .nav-links li a {
        padding: 16px 20px;
        display: block;
        border-radius: var(--radius-md);
        font-size: 18px;
        font-weight: 600;
        color: rgba(255, 255, 255, 0.85);
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }
    .nav-links li:last-child a {
        border-bottom: none;
    }
    .nav-links li a:hover {
        background: rgba(232, 96, 10, 0.15);
        color: var(--orange);
        padding-left: 28px;
    }
    .nav-inner .btn-konsultasi:not(.logo-mobile-cta) {
        display: none;
    }

    /* Mobile: sembunyikan logo image, tampilkan CTA di kiri */
    .logo-desktop {
        display: none;
    }
    .logo-mobile-cta {
        display: inline-flex !important;
        margin-left: 0;
        margin-right: auto;
        font-size: 13px;
        padding: 9px 18px;
    }

    /* Tentang */
    .tentang-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .img-float {
        display: none;
    }
    .exp-badge {
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        min-width: unset;
        width: max-content;
    }
    .value-cards {
        grid-template-columns: 1fr;
    }

    /* Layanan */
    .layanan-grid {
        grid-template-columns: 1fr;
    }

    /* Proyek */
    .proyek-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 220px;
    }
    .proyek-card,
    .proyek-card.large {
        grid-column: span 1;
    }

    /* Proses */
    .proses-steps {
        flex-direction: column;
        gap: 16px;
    }
    .step-arrow {
        align-self: center;
        transform: rotate(90deg);
    }

    /* Testimoni */
    .testi-slider {
        overflow: hidden;
        padding: 8px 0;
        margin: 0;
    }
    .testi-track {
        gap: 16px;
        padding: 8px 2px 12px;
    }
    .testi-card {
        width: calc(100vw - 56px);
    }
    .testi-desk-arrow {
        display: none;
    }
    .testi-float-arrow {
        display: none;
    }
    .testi-dots-wrap .testi-desk-arrow {
        display: flex;
    }

    /* Kontak */
    .kontak-grid {
        grid-template-columns: 1fr;
    }
    .form-row {
        grid-template-columns: 1fr;
    }

    /* Hero */
    .hero-title {
        white-space: normal;
        font-size: clamp(28px, 7vw, 42px);
    }
    .hero-stats {
        gap: 20px;
        margin-bottom: 0;
    }
    .stat-divider {
        display: none;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .footer-brand p {
        max-width: 100%;
    }
    .socials {
        justify-content: center;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 32px;
    }
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    .proses-steps {
        gap: 12px;
    }
    .kontak-form {
        padding: 24px;
    }
    .lc-body {
        padding: 20px;
    }
}
