
.service-hero{padding:clamp(72px,10vw,120px) 7%;background:#111;color:#fff}.service-hero-inner,.service-content{max-width:1080px;margin:auto}.service-hero .eyebrow{color:#d3b36b;letter-spacing:2px;font-size:12px}.service-hero h1{max-width:850px;font-size:clamp(34px,5vw,62px);line-height:1.08;margin:18px 0}.service-hero p{max-width:760px;color:#d2d2d2;line-height:1.8}.service-crumb{font-size:13px;color:#c9c9c9;margin-bottom:24px}.service-crumb a{color:#e2c47e}.service-content{padding:64px 7% 90px}.service-content h2{font-size:clamp(24px,3vw,34px);margin:0 0 16px}.service-content p{line-height:1.8;color:#555}.service-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin:32px 0}.service-detail-panel{padding:26px;border:1px solid #e5e5e5;background:#fff}.service-detail-panel h3{font-size:17px;margin:0 0 12px}.service-detail-panel p{margin:0}.service-scope-tags{color:#8a6b2d;font-weight:600;line-height:1.8}.service-steps{padding-left:22px;color:#555;line-height:1.9}.service-cta{margin-top:42px;padding:30px;background:#111;color:#fff;display:flex;align-items:center;justify-content:space-between;gap:24px}.service-cta h2{font-size:24px;margin:0 0 8px}.service-cta p{color:#ccc;margin:0}.service-cta .button{white-space:nowrap}.service-detail-link{display:inline-flex;align-items:center;gap:8px;margin-top:20px;color:#8a6b2d;font-size:12px;font-weight:700;text-decoration:none;letter-spacing:.3px}.service-detail-link:hover{text-decoration:underline}.service-back{display:inline-block;margin-top:24px;color:#8a6b2d;font-weight:600;text-decoration:none}@media(max-width:700px){.service-detail-grid{grid-template-columns:1fr}.service-cta{align-items:flex-start;flex-direction:column}.service-content{padding-top:44px}}


/* Material, FAQ, layanan lainnya */
.service-material-list{list-style:none;padding:0;margin:18px 0 36px;display:grid;gap:12px}
.service-material-list li{padding:16px 20px;border-left:3px solid var(--gold,#b8863f);background:#f8f8f8;line-height:1.7;color:#555}
.service-material-list strong{color:#111}
.service-faq{margin:18px 0 8px;border-top:1px solid #ddd}
.service-faq details{border-bottom:1px solid #ddd;padding:18px 0}
.service-faq summary{display:flex;justify-content:space-between;gap:16px;cursor:pointer;font-weight:700;color:#111;line-height:1.5;list-style:none}
.service-faq summary::-webkit-details-marker{display:none}
.service-faq summary::after{content:"+";flex-shrink:0;color:var(--gold-text,#8a621f);font-size:22px;line-height:1}
.service-faq details[open] summary::after{content:"\2212"}
.service-faq summary:focus-visible{outline:2px solid #8a621f;outline-offset:4px}
.service-faq details p{margin:12px 0 0}
.service-related-title{margin-top:44px}
.service-related{list-style:none;padding:0;display:flex;flex-wrap:wrap;gap:10px;margin:16px 0 0}
.service-related a{display:inline-block;padding:9px 14px;border:1px solid #ddd;background:#f8f8f8;color:#333;text-decoration:none;font-size:13px}
.service-related a:hover,.service-related a:focus-visible{border-color:var(--gold,#b8863f)}

/* Tombol di latar gelap (hero dan kotak CTA) harus terlihat */
.service-hero .button,.service-cta .button{background:#fff;color:#111;border-color:#fff;font-weight:700}
.service-hero .button:hover,.service-cta .button:hover{background:#f1e3c3;border-color:#f1e3c3}

/* Jarak antar judul bagian */
.service-content > h2:not(:first-child){margin-top:48px}
.service-content > .service-detail-grid + h2{margin-top:8px}


/* ==================================================
   TAHAP 1 - REDESIGN HALAMAN LAYANAN
   (warna aksen per layanan lewat --svc di <main>)
================================================== */

.service-hero {
    position: relative;

    overflow: hidden;

    background:
        radial-gradient(ellipse 55% 80% at 90% 0%, rgba(242, 113, 28, 0.28), transparent 60%),
        radial-gradient(ellipse 45% 70% at 0% 100%, rgba(47, 111, 179, 0.25), transparent 60%),
        linear-gradient(135deg, var(--navy-950), var(--navy-900) 60%, var(--navy-800));
}

.service-hero::before {
    content: "";

    position: absolute;

    left: 0;

    right: 0;

    bottom: 0;

    height: 4px;

    background: linear-gradient(90deg, var(--svc, #e8650f), #d7ad63 60%, transparent);
}

.service-hero::after {
    content: "";

    position: absolute;

    top: -20%;

    right: -4%;

    width: 45%;

    height: 140%;

    background: repeating-linear-gradient(115deg, transparent 0, transparent 46px, rgba(215, 173, 99, 0.09) 46px, rgba(215, 173, 99, 0.09) 47px);

    pointer-events: none;
}

.service-hero-inner {
    position: relative;

    z-index: 1;
}

.service-hero .eyebrow {
    color: #f6c98d;
}

.service-hero p {
    color: #c7d4e8;
}

.service-hero .button,
.service-cta .button {
    background: var(--fire);

    color: var(--navy-950);

    border-color: transparent;

    box-shadow: 0 12px 26px rgba(242, 113, 28, 0.34);
}

.service-hero .button:hover,
.service-cta .button:hover {
    background: var(--metal);

    border-color: transparent;
}

.service-content h2 {
    color: var(--navy-900);
}

.service-content p {
    color: var(--slate-text);
}

.service-detail-panel {
    position: relative;

    border: 1px solid #e0e7f1;

    border-top: 4px solid var(--svc, #e8650f);

    border-radius: var(--radius);

    background: #fff;

    box-shadow: 0 12px 26px rgba(11, 27, 51, 0.06);
}

.service-detail-panel h3 {
    color: var(--navy-900);
}

.service-scope-tags {
    color: var(--navy-700);
}

.service-material-list li {
    border-left-color: var(--svc, #e8650f);

    border-radius: 0 8px 8px 0;

    background: var(--slate-50);

    color: var(--slate-text);
}

.service-material-list strong {
    color: var(--navy-900);
}

.service-steps {
    color: var(--slate-text);
}

.service-steps li::marker {
    color: var(--svc, #e8650f);

    font-weight: 800;
}

.service-faq summary {
    color: var(--navy-900);
}

.service-faq summary::after {
    color: var(--svc, #e8650f);
}

.service-cta {
    border-radius: var(--radius);

    background:
        radial-gradient(ellipse 50% 120% at 100% 0%, rgba(242, 113, 28, 0.3), transparent 60%),
        linear-gradient(135deg, var(--navy-900), var(--navy-800));

    border-left: 5px solid var(--svc, #e8650f);
}

.service-cta p {
    color: #c7d4e8;
}

/* Tombol "Layanan Lainnya" dan "Kembali" memakai gaya tombol detail yang sama */
.service-related a {
    display: inline-flex;

    align-items: center;

    gap: 12px;

    padding: 8px 8px 8px 18px;

    border: none;

    border-radius: 999px;

    background: var(--navy-900);

    color: #fff;

    font-size: 13px;

    font-weight: 700;

    transition:
        background 0.3s ease,
        color 0.3s ease,
        transform 0.2s ease,
        box-shadow 0.3s ease;
}

.service-related a::after,
.service-back::before {
    content: "";

    width: 30px;

    height: 30px;

    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23050d19' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / 16px 16px no-repeat,
        var(--fire);
}

.service-related a:hover,
.service-related a:focus-visible {
    background: var(--fire);

    color: var(--navy-950);

    border-color: transparent;

    transform: translateY(-2px);

    box-shadow: 0 14px 28px rgba(242, 113, 28, 0.38);
}

.service-related a:hover::after,
.service-related a:focus-visible::after {
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / 16px 16px no-repeat,
        var(--navy-900);

    transform: translateX(3px);
}

.service-back {
    display: inline-flex;

    align-items: center;

    gap: 12px;

    padding: 8px 18px 8px 8px;

    border-radius: 999px;

    background: var(--slate-100);

    color: var(--navy-900);

    font-size: 13px;

    font-weight: 700;

    transition:
        background 0.3s ease,
        transform 0.2s ease;
}

.service-back::before {
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23050d19' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 12H5M11 6l-6 6 6 6'/%3E%3C/svg%3E") center / 16px 16px no-repeat,
        var(--fire);
}

.service-back:hover,
.service-back:focus-visible {
    background: #ffe9d6;

    transform: translateX(-3px);
}

@media (prefers-reduced-motion: reduce) {

    .service-related a,
    .service-related a::after,
    .service-back {
        transition: none;
    }

}

.service-content .service-cta h2 {
    color: #fff;
}

/* Artikel */
.article-body h2 { margin-top: 34px; }
.article-body p a, .article-body .service-material-list a { color: #c2570c; text-decoration: underline; text-underline-offset: 3px; }
.service-content .articles-grid { margin-top: 18px; }

.service-figure{margin:28px 0}.service-figure img{display:block;width:100%;max-width:520px;height:auto;border-radius:10px}.service-figure figcaption{font-size:13px;color:#777;margin-top:8px}
.service-content h3{margin:26px 0 8px;font-size:19px}

.service-figure--wide img{max-width:760px;aspect-ratio:auto}

/* ================= TAHAP 3: konten layanan, portofolio, artikel ================= */
.service-work-grid,
.service-adv-grid {
    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));

    gap: 18px;

    margin: 18px 0 36px;
}

.service-work-card,
.service-adv-card {
    padding: 22px;

    border: 1px solid #e3e3e3;

    border-top: 3px solid var(--svc, #e8650f);

    border-radius: 12px;

    background: #fff;
}

.service-adv-card {
    border-top-color: var(--gold, #b8863f);

    background: #f8f9fc;
}

.service-work-card h3,
.service-adv-card h3 {
    margin: 0 0 8px;

    font-size: 17px;

    line-height: 1.35;

    color: #0b1b33;
}

.service-work-card p,
.service-adv-card p {
    margin: 0;

    font-size: 15px;

    line-height: 1.7;
}

.service-use-list {
    list-style: none;

    display: grid;

    gap: 10px;

    margin: 16px 0 36px;

    padding: 0;
}

.service-use-list li {
    padding: 14px 18px;

    border-left: 3px solid var(--svc, #e8650f);

    background: #f5f7fb;

    line-height: 1.7;

    color: #4a5568;
}

.service-use-list strong {
    color: #0b1b33;
}

.service-gallery {
    list-style: none;

    display: grid;

    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));

    gap: 16px;

    margin: 18px 0 12px;

    padding: 0;
}

.service-gallery figure {
    margin: 0;

    overflow: hidden;

    border-radius: 12px;

    background: #0b1b33;
}

.service-gallery img {
    display: block;

    width: 100%;

    height: auto;

    aspect-ratio: 4 / 3;

    object-fit: cover;
}

.service-gallery figcaption {
    padding: 12px 14px 14px;

    font-size: 13px;

    line-height: 1.5;

    color: #c7d4e8;
}

.service-gallery figcaption strong {
    display: block;

    font-size: 14px;

    color: #fff;
}

.service-gallery-more {
    margin: 0 0 36px;
}

.service-gallery-more a {
    font-weight: 700;

    color: #c2570c;
}

.article-meta {
    margin-top: 6px;

    font-size: 13px;

    color: #9fb0c9;
}

.article-body {
    max-width: 860px;
}

.article-summary {
    margin: 36px 0 8px;

    padding: 20px 22px;

    border-radius: 12px;

    border-left: 4px solid var(--svc, #e8650f);

    background: #f5f7fb;

    line-height: 1.75;

    color: #333;
}

.article-table {
    width: 100%;

    margin: 22px 0 28px;

    border-collapse: collapse;

    font-size: 15px;

    line-height: 1.6;
}

.article-table th,
.article-table td {
    padding: 12px 14px;

    border: 1px solid #dfe4ec;

    text-align: left;

    vertical-align: top;
}

.article-table th {
    background: #0b1b33;

    color: #fff;
}

.article-table td:first-child {
    font-weight: 700;

    color: #0b1b33;
}

.article-table tbody tr:nth-child(even) {
    background: #f8f9fc;
}

.service-content .article-body img,
.article-body .service-figure img {
    max-width: 100%;
}

@media (max-width: 650px) {
    .article-table thead {
        display: none;
    }

    .article-table,
    .article-table tbody,
    .article-table tr,
    .article-table td {
        display: block;

        width: 100%;
    }

    .article-table tr {
        margin-bottom: 14px;

        border: 1px solid #dfe4ec;

        border-radius: 10px;

        overflow: hidden;
    }

    .article-table td {
        border: 0;

        border-bottom: 1px solid #edf0f5;
    }

    .article-table td::before {
        content: attr(data-label);

        display: block;

        margin-bottom: 2px;

        font-size: 11px;

        font-weight: 700;

        letter-spacing: 1px;

        text-transform: uppercase;

        color: #c2570c;
    }

    .article-table td:first-child::before {
        content: none;
    }

    .article-table td:first-child {
        background: #0b1b33;

        color: #fff;
    }
}

/* ---------- Halaman portofolio ---------- */
.pf-section {
    max-width: 1180px;
}

.pf-toolbar {
    display: flex;

    flex-wrap: wrap;

    gap: 10px;

    margin: 0 0 14px;
}

.pf-chip {
    padding: 10px 18px;

    border: 1px solid #cfd6e2;

    border-radius: 999px;

    background: #fff;

    font: inherit;

    font-size: 14px;

    font-weight: 700;

    color: #0b1b33;

    cursor: pointer;

    transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.pf-chip:hover {
    border-color: var(--svc, #e8650f);
}

.pf-chip:focus-visible {
    outline: 3px solid var(--svc, #e8650f);

    outline-offset: 2px;
}

.pf-chip.is-active {
    border-color: #0b1b33;

    background: #0b1b33;

    color: #fff;
}

.pf-count {
    margin: 0 0 22px;

    font-size: 14px;

    color: #5b6678;
}

.pf-grid {
    display: grid;

    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));

    gap: 22px;

    align-items: start;
}

.pf-card {
    overflow: hidden;

    border: 1px solid #e3e6ec;

    border-radius: 14px;

    background: #fff;

    transition: transform .2s ease, box-shadow .2s ease;
}

.pf-card[hidden] {
    display: none;
}

.pf-card:hover {
    transform: translateY(-3px);

    box-shadow: 0 16px 34px rgba(11, 27, 51, 0.13);
}

.pf-thumb {
    position: relative;

    display: block;

    background: #0b1b33;

    aspect-ratio: 4 / 3;

    overflow: hidden;
}

.pf-thumb img {
    display: block;

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition: transform .35s ease;
}

.pf-card:hover .pf-thumb img {
    transform: scale(1.05);
}

.pf-zoom {
    position: absolute;

    right: 10px;

    bottom: 10px;

    padding: 6px 12px;

    border-radius: 999px;

    background: rgba(11, 27, 51, 0.85);

    font-size: 12px;

    font-weight: 700;

    color: #fff;
}

.pf-thumb:focus-visible {
    outline: 3px solid var(--svc, #e8650f);

    outline-offset: -3px;
}

.pf-info {
    padding: 16px 18px 20px;
}

.pf-cat {
    display: inline-block;

    margin-bottom: 8px;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 1.5px;

    text-transform: uppercase;

    color: #c2570c;

    text-decoration: none;
}

a.pf-cat:hover {
    text-decoration: underline;
}

.pf-info h3 {
    margin: 0 0 8px;

    font-size: 17px;

    line-height: 1.35;

    color: #0b1b33;
}

.pf-info p {
    margin: 0 0 6px;

    font-size: 14px;

    line-height: 1.65;
}

.pf-material strong {
    color: #0b1b33;
}

.pf-dialog {
    width: min(960px, 94vw);

    max-height: 92vh;

    padding: 0;

    border: 0;

    border-radius: 14px;

    background: #0b1b33;

    color: #fff;

    overflow: hidden;
}

.pf-dialog::backdrop {
    background: rgba(5, 13, 25, 0.82);
}

.pf-figure {
    display: flex;

    flex-direction: column;

    margin: 0;
}

.pf-figure img {
    display: block;

    width: 100%;

    max-height: 66vh;

    object-fit: contain;

    background: #050d19;
}

.pf-figure figcaption {
    display: flex;

    flex-direction: column;

    gap: 6px;

    padding: 18px 22px 22px;

    font-size: 14px;

    line-height: 1.6;

    color: #c7d4e8;
}

.pf-figure figcaption strong {
    font-size: 19px;

    color: #fff;
}

.pf-d-cat {
    font-size: 11px;

    font-weight: 700;

    letter-spacing: 1.5px;

    text-transform: uppercase;

    color: #ffb066;
}

.pf-d-actions {
    display: flex;

    flex-wrap: wrap;

    gap: 14px;

    margin-top: 8px;
}

.pf-d-actions a {
    padding: 9px 16px;

    border: 1px solid rgba(255, 255, 255, 0.35);

    border-radius: 999px;

    font-weight: 700;

    color: #fff;

    text-decoration: none;
}

.pf-d-actions a:last-child {
    border-color: transparent;

    background: linear-gradient(135deg, #ff8a33, #f2711c);

    color: #1b1206;
}

.pf-d-actions a[hidden] {
    display: none;
}

.pf-close,
.pf-nav {
    position: absolute;

    z-index: 2;

    width: 44px;

    height: 44px;

    border: 0;

    border-radius: 50%;

    background: rgba(11, 27, 51, 0.82);

    font-size: 26px;

    line-height: 1;

    color: #fff;

    cursor: pointer;
}

.pf-close {
    top: 12px;

    right: 12px;
}

.pf-nav {
    top: 34%;
}

.pf-prev {
    left: 12px;
}

.pf-next {
    right: 12px;
}

.pf-close:focus-visible,
.pf-nav:focus-visible {
    outline: 3px solid #ffb066;
}

@media (max-width: 650px) {
    .pf-grid {
        grid-template-columns: repeat(2, 1fr);

        gap: 12px;
    }

    .pf-info {
        padding: 12px 12px 16px;
    }

    .pf-info h3 {
        font-size: 15px;
    }

    .pf-info p {
        font-size: 13px;
    }

    .pf-zoom {
        display: none;
    }

    .pf-chip {
        padding: 8px 14px;

        font-size: 13px;
    }
}

@media (max-width: 380px) {
    .pf-grid {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pf-card,
    .pf-thumb img,
    .pf-chip {
        transition: none;
    }

    .pf-card:hover,
    .pf-card:hover .pf-thumb img {
        transform: none;
    }
}

/* 4 kartu dibagi 2 x 2 agar tidak ada kartu yatim */
.service-adv-grid,
.service-work-grid:has(.service-work-card:nth-child(4)) {
    grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 650px) {
    .service-adv-grid,
    .service-work-grid:has(.service-work-card:nth-child(4)) {
        grid-template-columns: 1fr;
    }
}
