:root {
    --red: #ff3b30;
    --red-dark: #e03126;
    --ink: #0b0f17;
    --ink-soft: #161c28;
    --muted: #94a3b8;
    --nav-h: 82px;
    --nav-h-float: 66px;
}
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}
body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: #0b0f17;
    color: #e2e8f0;
    line-height: 1.6;
    overflow-x: hidden;
    max-width: 100%;
}
body.nav-open-lock {
    overflow: hidden;
}
body.has-bg-image {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}
body.has-bg-image::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(11, 15, 23, 0.82);
    z-index: -1;
    pointer-events: none;
}
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}
a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}
img {
    max-width: 100%;
}

/* ==========================================================
   Header / Navbar — fixed, white, with floating scroll effect
   ========================================================== */
.nav-wrap {
    height: var(--nav-h);
}
.navbar {
    background: #ffffff;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0;
    height: var(--nav-h);
    display: flex;
    align-items: center;
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.06);
    transition: height 0.35s ease, box-shadow 0.35s ease, background 0.35s ease,
                border-radius 0.35s ease, top 0.35s ease, width 0.35s ease, margin 0.35s ease;
}
/* Floating state: navbar detaches from the edge, shrinks & gets a shadow */
.navbar.is-floating {
    top: 14px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: 94%;
    max-width: 1240px;
    height: var(--nav-h-float);
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(11, 15, 23, 0.18);
}
.navbar.is-hidden {
    transform: translate(-50%, -130%);
}
.navbar:not(.is-floating).is-hidden {
    transform: translateY(-130%);
}
.nav-container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}
.brand-logo {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: #0b0f17;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
}
.brand-logo span {
    color: var(--red);
}
.brand-logo-image {
    max-height: 44px;
    width: auto;
    display: block;
}
.nav-menu {
    display: flex;
    gap: 26px;
    align-items: center;
}
.nav-menu a {
    color: #1e2433;
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
    padding: 6px 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.nav-menu a:hover,
.nav-menu a.is-active {
    color: var(--red);
}
.nav-item-icon {
    width: 18px;
    height: 18px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
}

/* Dropdown submenu (tap/click to open, keyboard-focus friendly) */
.nav-item {
    position: relative;
}
.nav-item-trigger {
    display: flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    color: #1e2433;
    font-weight: 600;
    font-size: 0.95rem;
    font-family: inherit;
    padding: 6px 0;
}
.nav-item-trigger:hover,
.nav-item.is-open .nav-item-trigger {
    color: var(--red);
}
.nav-caret {
    font-size: 0.6rem;
    transition: transform 0.25s ease;
}
.nav-item.is-open .nav-caret {
    transform: rotate(180deg);
}
.nav-submenu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 210px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 16px 30px rgba(11, 15, 23, 0.18);
    padding: 8px;
    margin-top: 14px;
    z-index: 1001;
}
.nav-item.is-open .nav-submenu,
.nav-item-trigger:focus-visible + .nav-submenu {
    display: flex;
}
.nav-submenu a {
    padding: 10px 12px;
    border-radius: 6px;
    color: #1e2433;
    font-weight: 600;
    font-size: 0.9rem;
}
.nav-submenu a:hover {
    background: rgba(255, 59, 48, 0.08);
    color: var(--red);
}
.btn-primary {
    background: var(--red);
    color: #fff;
    padding: 10px 22px;
    border-radius: 6px;
    font-weight: 600;
}
.btn-primary:hover {
    background: var(--red-dark);
    color: #fff;
}
.nav-menu a.nav-btn {
    color: #fff !important;
    padding: 10px 20px;
}
.nav-menu a.nav-btn:hover {
    color: #fff !important;
}

/* Phone pill on the right, like the reference design */
.nav-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--red);
    color: #fff !important;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 10px 18px;
    border-radius: 8px;
    white-space: nowrap;
}
.nav-phone:hover {
    background: var(--red-dark);
}
.nav-phone-icon {
    font-size: 1rem;
}

/* Hamburger toggle (hidden on desktop) */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    flex-shrink: 0;
    z-index: 1100;
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #0b0f17;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-toggle.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.nav-toggle.is-active span:nth-child(2) {
    opacity: 0;
}
.nav-toggle.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Overlay behind the mobile menu */
.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(11, 15, 23, 0.55);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    z-index: 998;
}
.nav-overlay.is-visible {
    opacity: 1;
    visibility: visible;
}

/* ==========================================================
   Responsive breakpoints for the navbar (tablet & mobile)
   ========================================================== */
@media (max-width: 992px) {
    .nav-phone span:last-child {
        display: none;
    }
    .nav-phone {
        padding: 10px 12px;
    }
    .nav-menu {
        gap: 18px;
    }
}

@media (max-width: 860px) {
    .nav-toggle {
        display: flex;
    }
    .nav-phone {
        display: none;
    }
    .nav-menu {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: min(320px, 82vw);
        background: #ffffff;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 6px;
        padding: 100px 30px 30px;
        transform: translateX(100%);
        transition: transform 0.35s ease;
        box-shadow: -12px 0 30px rgba(11, 15, 23, 0.15);
        z-index: 1050;
        overflow-y: auto;
    }
    .nav-menu.is-open {
        transform: translateX(0);
    }
    .nav-menu a {
        width: 100%;
        padding: 14px 0;
        border-bottom: 1px solid rgba(11, 15, 23, 0.08);
        font-size: 1.05rem;
    }
    .nav-menu a.nav-btn {
        margin-top: 14px;
        text-align: center;
        border-bottom: none;
    }
    .nav-item {
        width: 100%;
    }
    .nav-item-trigger {
        width: 100%;
        justify-content: space-between;
        padding: 14px 0;
        border-bottom: 1px solid rgba(11, 15, 23, 0.08);
        font-size: 1.05rem;
    }
    .nav-submenu {
        position: static;
        box-shadow: none;
        margin: 0;
        padding: 0 0 8px 14px;
    }
}

@media (max-width: 480px) {
    :root {
        --nav-h: 70px;
        --nav-h-float: 60px;
    }
    .brand-logo {
        font-size: 1.15rem;
    }
    .navbar.is-floating {
        width: 92%;
        border-radius: 12px;
    }
}

/* ==========================================================
   Hero Section — split layout (text left / image right)
   ========================================================== */
.hero-section {
    position: relative;
    background: #05070c;
    overflow: hidden;
    padding: 60px 0 0;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    align-items: center;
    gap: 40px;
}
.hero-copy {
    padding: 40px 0 60px;
}
.hero-eyebrow {
    display: inline-block;
    color: var(--red);
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.85rem;
    margin-bottom: 14px;
}
.hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.18;
    color: #ffffff;
}
.hero-subtitle {
    font-size: 1.05rem;
    color: var(--muted);
    max-width: 480px;
    margin: 0 0 32px;
}
.hero-buttons {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.btn-secondary {
    display: inline-block;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 10px 22px;
    border-radius: 6px;
    font-weight: 600;
}
.btn-secondary:hover {
    border-color: var(--red);
    color: var(--red);
}
.hero-media {
    position: relative;
    height: 100%;
    min-height: 420px;
}
.hero-media img {
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: cover;
    display: block;
}

/* Stats strip under the hero */
.hero-stats {
    display: flex;
    background: #12161f;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.hero-stat {
    flex: 1;
    text-align: center;
    padding: 26px 10px;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
}
.hero-stat:last-child {
    border-right: none;
}
.hero-stat strong {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--red);
    margin-bottom: 4px;
}
.hero-stat span {
    color: var(--muted);
    font-size: 0.9rem;
}

@media (max-width: 860px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }
    .hero-copy {
        padding: 20px 0 30px;
        text-align: left;
    }
    .hero-title {
        font-size: 2.3rem;
    }
    .hero-subtitle {
        max-width: 100%;
    }
    .hero-media,
    .hero-media img {
        min-height: 280px;
    }
    .hero-stats {
        flex-wrap: wrap;
    }
    .hero-stat {
        flex: 1 1 50%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }
}

/* ==========================================================
   Expertise section — image left, checklist right
   ========================================================== */
.expertise-section {
    padding: 90px 0;
}
.expertise-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}
.expertise-media {
    position: relative;
}
.expertise-media img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 10px;
    position: relative;
    z-index: 2;
}
.expertise-media::before {
    content: '';
    position: absolute;
    top: 22px;
    left: -22px;
    width: 100%;
    height: 100%;
    border: 6px solid var(--red);
    border-radius: 10px;
    z-index: 1;
}
.expertise-eyebrow {
    color: var(--red);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    margin-bottom: 14px;
    display: block;
}
.expertise-title {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 18px;
    line-height: 1.25;
}
.expertise-text {
    color: var(--muted);
    margin-bottom: 26px;
}
.expertise-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 24px;
    margin-bottom: 30px;
}
.expertise-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #e2e8f0;
    font-size: 0.95rem;
}
.expertise-list li::before {
    content: '\2713';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: var(--red);
    color: #fff;
    border-radius: 50%;
    font-size: 0.7rem;
    flex-shrink: 0;
}

@media (max-width: 860px) {
    .expertise-grid {
        grid-template-columns: 1fr;
    }
    .expertise-media::before {
        left: -12px;
        top: 12px;
    }
    .expertise-media img {
        height: 300px;
    }
    .expertise-list {
        grid-template-columns: 1fr;
    }
}
/* Cards & Grids */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: 30px;
    margin-top: 40px;
}
.card {
    background: #161c28;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 30px;
    transition: transform 0.3s ease;
}
.card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 59, 48, 0.4);
}
.card h3 {
    margin-bottom: 15px;
    color: #ffffff;
}
/* Card / Section Images */
.card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
    display: block;
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.card-no-pad {
    padding: 0 0 30px;
    overflow: hidden;
}
.card-no-pad .card-image {
    margin-bottom: 20px;
    border-radius: 0;
    height: 220px;
}
.card-no-pad .card-body {
    padding: 0 30px;
}
.detail-hero-image {
    width: 100%;
    height: 380px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.about-image {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.pricing-badge-image {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
}
.contact-visual {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}
/* Section Layout */
.section {
    padding: 80px 0;
}
.section-title {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 10px;
}
.section-subtitle {
    text-align: center;
    color: #94a3b8;
    margin-bottom: 40px;
}
/* Footer */
.site-footer {
    background: #06090e;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 60px 0 20px;
    margin-top: 80px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
}
.footer-bottom {
    text-align: center;
    padding-top: 40px;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: #64748b;
    font-size: 0.9rem;
}
.footer-logo-image {
    max-height: 42px;
    width: auto;
    display: block;
    filter: brightness(0) invert(1);
}

/* Placeholder ketika gambar menu/layanan belum diisi */
.card-image-placeholder {
    height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #111827;
    border-radius: 12px;
    margin-bottom: 30px;
    border: 1px dashed rgba(255, 255, 255, 0.15);
    color: #64748b;
    font-size: 0.9rem;
}

/* ==========================================================
   Portfolio — sub menu kategori + slider poster (drag mouse)
   ========================================================== */
.portfolio-intro {
    padding-bottom: 10px;
}

/* Sub menu: pill navigasi cepat ke tiap bagian/kategori */
.portfolio-subnav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}
.portfolio-subnav a {
    padding: 8px 18px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #cbd5e1;
    background: rgba(255, 255, 255, 0.03);
}
.portfolio-subnav a:hover {
    border-color: var(--red);
    color: #ffffff;
    background: rgba(255, 59, 48, 0.12);
}

/* Setiap kategori = satu bagian/baris dengan judul + slider poster */
.portfolio-category {
    padding: 30px 0 50px;
    scroll-margin-top: 100px;
}
.portfolio-category-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}
.portfolio-category-title {
    font-size: 1.4rem;
    color: #ffffff;
    position: relative;
    padding-left: 16px;
}
.portfolio-category-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    bottom: 4px;
    width: 4px;
    border-radius: 4px;
    background: var(--red);
}
.portfolio-category-count {
    font-size: 0.85rem;
    color: var(--muted);
    white-space: nowrap;
}

/* Slider: bisa di-drag dengan mouse maupun swipe di layar sentuh */
.poster-slider {
    overflow-x: auto;
    overflow-y: hidden;
    cursor: grab;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 6px 0 16px;
    user-select: none;
}
.poster-slider::-webkit-scrollbar {
    display: none;
}
.poster-slider.is-dragging {
    cursor: grabbing;
    scroll-behavior: auto;
}
.poster-slider-track {
    display: flex;
    gap: 18px;
    width: max-content;
    padding: 0 5%;
}

/* Poster film: rasio potrait (2:3) */
.poster-card {
    position: relative;
    flex: 0 0 auto;
    width: 210px;
    aspect-ratio: 2 / 3;
    border-radius: 12px;
    overflow: hidden;
    display: block;
    background: #161c28;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.poster-card:hover,
.poster-card:focus-visible {
    transform: translateY(-8px) scale(1.03);
    border-color: rgba(255, 59, 48, 0.5);
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.55);
    z-index: 2;
}
.poster-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}
.poster-img-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-size: 0.85rem;
    background: #111827;
}
.poster-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #ffffff;
    background: rgba(11, 15, 23, 0.75);
    padding: 4px 9px;
    border-radius: 999px;
    backdrop-filter: blur(2px);
}

/* Overlay deskripsi singkat — muncul saat disorot (hover/focus) */
.poster-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 6px;
    padding: 16px 14px;
    background: linear-gradient(180deg, rgba(11, 15, 23, 0) 40%, rgba(11, 15, 23, 0.95) 100%);
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}
.poster-card:hover .poster-overlay,
.poster-card:focus-visible .poster-overlay {
    opacity: 1;
    transform: translateY(0);
}
.poster-title {
    color: #ffffff;
    font-size: 0.95rem;
    line-height: 1.3;
    margin: 0;
}
.poster-desc {
    color: #cbd5e1;
    font-size: 0.78rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.poster-link-hint {
    color: var(--red);
    font-size: 0.75rem;
    font-weight: 700;
}

@media (max-width: 600px) {
    .poster-card {
        width: 150px;
    }
    .poster-slider-track {
        gap: 12px;
        padding: 0 4%;
    }
}

/* Our Brand Partner */
.partners-section {
    padding: 60px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.partners-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 36px;
    margin-top: 28px;
}
.partner-logo-link {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.85;
    filter: brightness(0) invert(1);
    transition: opacity 0.2s ease, transform 0.2s ease;
}
.partner-logo-link:hover {
    opacity: 1;
    transform: translateY(-2px);
}
.partner-logo-link img {
    max-height: 32px;
    max-width: 110px;
    width: auto;
    object-fit: contain;
}

/* ==========================================================
   General responsive polish — footer, sections & spacing
   for tablet & mobile (semua device)
   ========================================================== */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px 24px;
    }
    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 560px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
        text-align: left;
    }
    .footer-brand {
        grid-column: auto;
    }
}

@media (max-width: 600px) {
    .section {
        padding: 50px 0;
    }
    .expertise-section {
        padding: 55px 0;
    }
    .section-title {
        font-size: 1.7rem;
    }
    .expertise-title {
        font-size: 1.55rem;
    }
    .hero-title {
        font-size: 1.9rem;
    }
    .expertise-media::before {
        left: -10px;
        top: 10px;
    }
    .card {
        padding: 22px;
    }
    .card-no-pad .card-body {
        padding: 0 20px;
    }
}

@media (max-width: 400px) {
    .hero-stat {
        flex: 1 1 100%;
    }
    .partners-grid {
        gap: 24px;
    }
}
