/* Masterbocor shared design layer — used by /layanan/, /service/, /area-layanan/*, hydrant & 404 pages.
   Tokens match the homepage (index.html). */
:root {
    --ink: #0b2341;
    --ink-2: #13335c;
    --ink-soft: #1d4170;
    --brand: #f26a21;
    --brand-dark: #d8571a;
    --brand-tint: #fff3eb;
    --wa: #1faa59;
    --wa-dark: #178a48;
    --text: #1f2a3a;
    --muted: #5b6b80;
    --line: #e3e9f1;
    --surface: #f5f8fc;
    --radius-lg: 22px;
    --radius: 14px;
    --shadow: 0 1px 2px rgba(11,35,65,.06), 0 8px 24px -8px rgba(11,35,65,.14);
    --wrap: 1180px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; font-size: 16px; line-height: 1.7; color: var(--text); background: #fff; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: var(--ink-soft); text-underline-offset: 2px; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.22; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
[id] { scroll-margin-top: 90px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* ---------- shared chrome ---------- */
.x-wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.x-top { background: var(--ink); color: #c9d6e8; font-size: 13px; }
.x-top .x-wrap { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 38px; }
.x-top a { color: #fff; font-weight: 600; text-decoration: none; }
.x-top i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; margin-right: 8px; box-shadow: 0 0 0 3px rgba(61,220,132,.2); }
.x-head { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid var(--line); }
.x-head .x-wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 66px; }
.x-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 18px; letter-spacing: -0.02em; line-height: 1.1; }
.x-logo small { display: block; font-size: 11px; font-weight: 600; color: var(--muted); letter-spacing: .02em; margin-top: 2px; }
.x-mark { width: 34px; height: 34px; border-radius: 9px; background: var(--ink); display: grid; place-items: center; flex-shrink: 0; }
.x-nav { display: flex; gap: 2px; margin-left: auto; }
.x-nav a { white-space: nowrap; color: var(--text); text-decoration: none; font-weight: 600; font-size: 14px; padding: 8px 11px; border-radius: 8px; transition: background-color .2s, color .2s; }
.x-nav a:hover, .x-nav a[aria-current] { background: var(--surface); color: var(--ink); }
.x-cta, .x-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 16px; border-radius: 10px; background: var(--wa); color: #fff !important; text-decoration: none; font-weight: 700; font-size: 14px; line-height: 1.2; white-space: nowrap; border: 1.5px solid transparent; box-shadow: 0 8px 20px -10px rgba(31,170,89,.8); transition: background-color .2s, transform .15s, border-color .2s; }
.x-cta:hover, .x-btn:hover { background: var(--wa-dark); }
.x-cta:active, .x-btn:active { transform: translateY(1px); }
.x-cta svg, .x-btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.x-abar { display: none; }
@media (max-width: 900px) { .x-nav { display: none; } }
@media (max-width: 600px) {
    body { padding-bottom: 72px; }
    .x-top .x-hs { display: none; }
    .x-logo { font-size: 16px; }
    .x-head .x-cta { padding: 9px 11px; }
    .x-head .x-cta span { display: none; }
    .x-abar { display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); border-top: 1px solid var(--line); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
    .x-abar a { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 13px; border-radius: 12px; font-weight: 700; text-decoration: none; font-size: 15px; }
    .x-abar .t { border: 1.5px solid var(--line); color: var(--ink); background: #fff; }
    .x-abar .w { background: var(--wa); color: #fff; }
    .x-abar svg { width: 18px; height: 18px; }
}

/* gallery replacing the old [video_deteksi_pipa] shortcode */
.x-gallery { margin: 0 0 24px; padding: 0 !important; }
.x-gal { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 190px; gap: 12px; margin-top: 24px; }
.x-gal figure { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.x-gal figure:first-child { grid-column: span 2; grid-row: span 2; }
.x-gal img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.x-gal figure:hover img { transform: scale(1.04); }
.x-gal figcaption { position: absolute; inset: auto 0 0 0; padding: 28px 14px 12px; color: #fff; font-size: 13px; font-weight: 600; background: linear-gradient(transparent, rgba(8,24,45,.85)); }
.x-gal-note { text-align: center; margin-top: 18px; }
.x-gal-note a { font-weight: 700; color: var(--ink); }
@media (max-width: 700px) { .x-gal { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; } }

/* area link chips replacing the old [related_pages] shortcode */
.x-areas { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 14px 0 4px; }
.x-areas a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 10px; background: #fff; border: 1px solid var(--line); color: var(--ink); font-weight: 600; font-size: 14px; text-decoration: none; transition: border-color .2s, color .2s; }
.x-areas a::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
.x-areas a:hover { border-color: var(--ink); }
.x-related { margin: 8px 0 56px; padding: 32px; border-radius: var(--radius-lg); background: var(--surface); text-align: center; }
.x-related h2 { font-size: 1.3rem; margin-bottom: 6px; }
.x-related p { color: var(--muted); margin: 0; }

/* shared site footer look for legacy pages */
body[class*="tpl-"] footer { background: #07182e; color: #9fb1c8; font-size: 14.5px; line-height: 1.8; }
body[class*="tpl-"] footer a { color: #e8eef6; font-weight: 600; text-decoration: none; }
body[class*="tpl-"] footer a:hover { color: #fff; }
body[class*="tpl-"] footer h4 { color: #fff; font-size: 15px; margin-bottom: 10px; }

/* shared section heading */
.tpl-city .section-title, .tpl-areaidx .mb-section-title, .tpl-layanan main h2, .tpl-service .section-title h2 { font-size: clamp(1.55rem, 3vw, 2.15rem); font-weight: 800; letter-spacing: -0.03em; }

/* ---------- template: area-layanan city pages ---------- */
.tpl-city .mb-container { max-width: none; padding: 0; }
.tpl-city .mb-container > * { max-width: var(--wrap); margin-left: auto; margin-right: auto; padding-left: 20px; padding-right: 20px; }
.tpl-city .hero { max-width: none !important; position: relative; overflow: hidden; text-align: left; color: #c3d2e6; padding: 72px max(20px, calc((100% - var(--wrap)) / 2 + 20px)) 80px; margin-bottom: 0;
    background: radial-gradient(800px 420px at 90% 0%, rgba(242,106,33,.22), transparent 60%), radial-gradient(700px 500px at 0% 100%, rgba(56,132,214,.25), transparent 60%), linear-gradient(160deg, #0b2341 0%, #0e2b50 55%, #0a1f3a 100%); }
.tpl-city .hero::before { content: "Area layanan"; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--brand); margin-bottom: 16px; }
.tpl-city .hero h1 { color: #fff; font-size: clamp(2rem, 4.4vw, 3.1rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.1; max-width: 22ch; }
.tpl-city .hero p { font-size: 18px; max-width: 60ch; margin: 20px 0 30px; color: #c3d2e6; }
.tpl-city .btn-wa { display: inline-flex; align-items: center; gap: 10px; background: var(--wa); color: #fff; text-decoration: none; padding: 15px 26px; border-radius: 12px; font-weight: 700; font-size: 16px; box-shadow: 0 8px 20px -8px rgba(31,170,89,.7); transition: background-color .2s, transform .15s; }
.tpl-city .btn-wa:hover { background: var(--wa-dark); }
.tpl-city .btn-wa:active { transform: translateY(1px); }
.tpl-city .btn-wa svg { width: 20px; height: 20px; }
.tpl-city .section { padding-top: 72px; padding-bottom: 8px; }
.tpl-city .section-title { margin-bottom: 12px; }
.tpl-city .section-sub { color: var(--muted); font-size: 17px; max-width: 64ch; margin: 0 0 32px; }
.tpl-city .grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 0; }
.tpl-city .card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; transition: transform .25s, box-shadow .25s; }
.tpl-city .card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.tpl-city .card::before { content: ""; display: block; width: 36px; height: 4px; border-radius: 4px; background: var(--brand); margin-bottom: 18px; }
.tpl-city .card h3 { font-size: 19px; margin-bottom: 10px; }
.tpl-city .card p { color: var(--muted); font-size: 15.5px; margin: 0; }
.tpl-city .edu-text { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--brand); border-radius: var(--radius); padding: 28px 32px; color: var(--text); }
.tpl-city .edu-text p:last-child { margin-bottom: 0; }
.tpl-city .edu-text strong { color: var(--ink); }
.tpl-city .x-tint { background: var(--surface); border-radius: var(--radius-lg); padding: 48px 36px 36px !important; margin-top: 72px; max-width: calc(var(--wrap) - 40px) !important; }
.tpl-city .x-tint .grid-3 { gap: 0 24px; }
.tpl-city h3.section-title { font-size: 1.25rem; margin: 28px 0 12px; }
.tpl-city .list-check { list-style: none; margin: 0; padding: 0; }
.tpl-city .list-check li { position: relative; padding: 10px 0 10px 30px; border-bottom: 1px solid var(--line); margin: 0; font-weight: 500; }
.tpl-city .list-check li::before { content: ""; position: absolute; left: 0; top: 15px; width: 18px; height: 18px; border-radius: 6px; background: #e8f8ef url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231faa59' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.tpl-city .section > .list-check { max-width: 760px; margin: 0 0 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.tpl-city .map-container { border-radius: var(--radius); overflow: hidden; margin: 8px 0 14px; border: 1px solid var(--line); }
.tpl-city .map-container iframe { display: block; width: 100%; height: 340px; border: 0; }
.tpl-city .x-tint > div:last-child { color: var(--muted); font-size: 14.5px; text-align: center; }
.tpl-city .cta-box { margin: 8px 0 0; border-radius: var(--radius-lg); padding: 44px 36px; text-align: center; color: #c3d2e6; background: radial-gradient(600px 300px at 50% 0%, rgba(242,106,33,.25), transparent 70%), linear-gradient(160deg, #0b2341, #0e2b50); }
.tpl-city .cta-box h3 { color: #fff; font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 800; margin-bottom: 10px; }
.tpl-city .cta-box p { max-width: 56ch; margin: 0 auto 10px; }
.tpl-city .cta-box strong { color: #fff; }
.tpl-city .cta-box .btn-wa { margin-top: 12px; }
.tpl-city .x-gallery { padding-top: 72px !important; }
.tpl-city .faq-item { border-bottom: 1px solid var(--line); padding: 20px 0; max-width: 860px; }
.tpl-city .faq-item h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.tpl-city .faq-item p { color: var(--muted); margin: 0; }
.tpl-city .x-related { margin-top: 64px; }
.tpl-city footer { max-width: none !important; margin-top: 0; padding: 48px max(20px, calc((100% - var(--wrap)) / 2 + 20px)) 32px !important; text-align: center; }
.tpl-city footer > div { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; margin-bottom: 16px; }
.tpl-city footer p { margin: 0 0 6px; }
@media (max-width: 860px) {
    .tpl-city .grid-3 { grid-template-columns: 1fr; }
    .tpl-city .section > .list-check { grid-template-columns: 1fr; }
    .tpl-city .x-tint { padding: 32px 20px 24px !important; margin-left: 12px !important; margin-right: 12px !important; }
}
@media (max-width: 600px) {
    .tpl-city .hero { padding-top: 48px; padding-bottom: 56px; }
    .tpl-city .hero p { font-size: 16.5px; }
    .tpl-city .btn-wa { width: 100%; justify-content: center; }
    .tpl-city .section { padding-top: 56px; }
    .tpl-city .edu-text { padding: 22px 20px; }
    .tpl-city .cta-box { padding: 32px 20px; }
}

/* ---------- template: area-layanan index ---------- */
.tpl-areaidx .mb-container { max-width: none; padding: 0; }
.tpl-areaidx main { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.tpl-areaidx .mb-hero { position: relative; overflow: hidden; color: #c3d2e6; padding: 72px max(20px, calc((100% - var(--wrap)) / 2 + 20px)) 80px;
    background: radial-gradient(800px 420px at 90% 0%, rgba(242,106,33,.22), transparent 60%), radial-gradient(700px 500px at 0% 100%, rgba(56,132,214,.25), transparent 60%), linear-gradient(160deg, #0b2341 0%, #0e2b50 55%, #0a1f3a 100%); }
.tpl-areaidx .mb-hero h1 { color: #fff; font-size: clamp(2rem, 4.4vw, 3.1rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.1; max-width: 22ch; }
.tpl-areaidx .mb-hero p { font-size: 18px; max-width: 60ch; margin: 20px 0 30px; }
.tpl-areaidx .mb-btn-wa { display: inline-flex; align-items: center; gap: 10px; background: var(--wa); color: #fff; text-decoration: none; padding: 15px 26px; border-radius: 12px; font-weight: 700; font-size: 16px; box-shadow: 0 8px 20px -8px rgba(31,170,89,.7); transition: background-color .2s; }
.tpl-areaidx .mb-btn-wa:hover { background: var(--wa-dark); }
.tpl-areaidx .mb-btn-wa svg { width: 20px; height: 20px; }
.tpl-areaidx .mb-section { padding-top: 72px; }
.tpl-areaidx .mb-section-title { margin-bottom: 12px; }
.tpl-areaidx .mb-section-subtitle { color: var(--muted); font-size: 17px; max-width: 64ch; margin-bottom: 32px; }
.tpl-areaidx .mb-eeat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tpl-areaidx .mb-eeat-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; }
.tpl-areaidx .mb-eeat-card::before { content: ""; display: block; width: 36px; height: 4px; border-radius: 4px; background: var(--brand); margin-bottom: 18px; }
.tpl-areaidx .mb-eeat-card h3 { font-size: 19px; margin-bottom: 10px; }
.tpl-areaidx .mb-eeat-card p { color: var(--muted); font-size: 15.5px; margin: 0; }
.tpl-areaidx .container-tengah { margin-top: 48px; }
.tpl-areaidx .container-tengah img { display: block; width: 100%; max-height: 420px; object-fit: cover; border-radius: var(--radius-lg); }
.tpl-areaidx .x-tint { background: var(--surface); border-radius: var(--radius-lg); padding: 48px 32px !important; margin-top: 72px; text-align: center; }
.tpl-areaidx .x-tint .mb-section-subtitle { margin-left: auto; margin-right: auto; }
.tpl-areaidx .x-tint .mb-container > p:last-child { color: var(--muted); font-size: 14px; margin-top: 18px; }
.tpl-areaidx main ul:not(.x-areas) { list-style: none; padding: 0; margin: 0 0 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.tpl-areaidx main ul:not(.x-areas) li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.tpl-areaidx main ul li strong { color: var(--ink); }
.tpl-areaidx .mb-cta-box { border-radius: var(--radius-lg); padding: 44px 36px; text-align: center; color: #c3d2e6; background: radial-gradient(600px 300px at 50% 0%, rgba(242,106,33,.25), transparent 70%), linear-gradient(160deg, #0b2341, #0e2b50); }
.tpl-areaidx .mb-cta-box h3 { color: #fff; font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 800; margin-bottom: 10px; }
.tpl-areaidx .mb-cta-box p { max-width: 56ch; margin: 0 auto 10px; }
.tpl-areaidx .mb-cta-box strong { color: #fff; }
.tpl-areaidx .mb-faq-item { border-bottom: 1px solid var(--line); padding: 20px 0; max-width: 860px; }
.tpl-areaidx .mb-faq-item h4 { font-size: 17px; margin-bottom: 6px; }
.tpl-areaidx .mb-faq-item p { color: var(--muted); margin: 0; }
.tpl-areaidx .mb-footer { margin-top: 80px; padding: 48px 20px 32px; text-align: center; }
.tpl-areaidx .footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; margin-bottom: 16px; }
.tpl-areaidx .mb-footer p { margin: 0 0 6px; }
@media (max-width: 860px) {
    .tpl-areaidx .mb-eeat-grid, .tpl-areaidx main ul:not(.x-areas) { grid-template-columns: 1fr; }
    .tpl-areaidx .x-tint { padding: 32px 18px !important; }
}
@media (max-width: 600px) {
    .tpl-areaidx .mb-hero { padding-top: 48px; padding-bottom: 56px; }
    .tpl-areaidx .mb-btn-wa { width: 100%; justify-content: center; }
    .tpl-areaidx .mb-cta-box { padding: 32px 20px; }
}

/* ---------- template: /layanan/ index ---------- */
.tpl-layanan main { max-width: var(--wrap); margin: 0 auto; padding: 0 20px 24px; }
.tpl-layanan main > section { padding-top: 72px; }
.tpl-layanan .hero { margin: 0 calc(50% - 50vw); padding: 72px max(20px, calc(50vw - var(--wrap) / 2 + 20px)) 80px !important; color: #c3d2e6;
    background: radial-gradient(800px 420px at 90% 0%, rgba(242,106,33,.22), transparent 60%), radial-gradient(700px 500px at 0% 100%, rgba(56,132,214,.25), transparent 60%), linear-gradient(160deg, #0b2341 0%, #0e2b50 55%, #0a1f3a 100%); }
.tpl-layanan .hero h1 { color: #fff; font-size: clamp(2rem, 4.4vw, 3.1rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.1; max-width: 24ch; }
.tpl-layanan .hero p { font-size: 18px; max-width: 62ch; margin: 20px 0 28px; }
.tpl-layanan .hero strong { color: #fff; }
.tpl-layanan .hero > div { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px; font-weight: 600; font-size: 14.5px; color: #e6edf6; }
.tpl-layanan .hero > div span::before { content: "✓"; color: #3ddc84; font-weight: 800; margin-right: 8px; }
.tpl-layanan .btn-wa { display: inline-flex; align-items: center; gap: 10px; background: var(--wa); color: #fff; text-decoration: none; padding: 15px 26px; border-radius: 12px; font-weight: 700; font-size: 16px; box-shadow: 0 8px 20px -8px rgba(31,170,89,.7); transition: background-color .2s; }
.tpl-layanan .btn-wa:hover { background: var(--wa-dark); }
.tpl-layanan main h2 { margin-bottom: 28px; }
.tpl-layanan .grid-keunggulan, .tpl-layanan .grid-layanan, .tpl-layanan .steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tpl-layanan .testimonial-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.tpl-layanan .card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; color: var(--muted); font-size: 15.5px; transition: transform .25s, box-shadow .25s; }
.tpl-layanan .card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.tpl-layanan .card strong { display: block; color: var(--ink); font-size: 17.5px; line-height: 1.35; margin-bottom: 6px; }
.tpl-layanan .grid-keunggulan .card::before, .tpl-layanan .grid-layanan .card::before { content: ""; display: block; width: 36px; height: 4px; border-radius: 4px; background: var(--brand); margin-bottom: 16px; }
.tpl-layanan .step-number { width: 40px; height: 40px; border-radius: 12px; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 800; margin-bottom: 16px; }
.tpl-layanan .testimonial-card { color: var(--text); }
.tpl-layanan .testimonial-card strong { font-size: 15px; }
.tpl-layanan .testimonial-card::before { content: "★★★★★"; display: block; color: #f5a524; letter-spacing: 2px; margin-bottom: 8px; }
.tpl-layanan #area .card { background: var(--surface) !important; padding: 32px; }
.tpl-layanan #area h3 { font-size: 17px; margin: 22px 0 12px; }
.tpl-layanan #area h3:first-child { margin-top: 0; }
.tpl-layanan .badge-area { display: flex; flex-wrap: wrap; gap: 8px; }
.tpl-layanan .city-badge { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 7px 13px; font-size: 14px; font-weight: 600; color: var(--ink); }
.tpl-layanan #area em { display: block; margin-top: 22px; font-style: normal; color: var(--muted); }
.tpl-layanan .faq-item { border-bottom: 1px solid var(--line); padding: 20px 0; max-width: 860px; }
.tpl-layanan .faq-question { font-weight: 700; font-size: 17px; color: var(--ink); margin-bottom: 6px; }
.tpl-layanan .faq-answer { color: var(--muted); }
.tpl-layanan section.x-tint { margin-top: 72px; padding: 56px 32px !important; border-radius: 28px; text-align: center; color: #c3d2e6; background: radial-gradient(600px 300px at 50% 0%, rgba(242,106,33,.25), transparent 70%), linear-gradient(160deg, #0b2341, #0e2b50); }
.tpl-layanan section.x-tint h2 { color: #fff; margin-bottom: 12px; }
.tpl-layanan section.x-tint p { font-size: 17px; max-width: 56ch; margin: 0 auto 26px; }
.tpl-layanan footer { margin-top: 80px; padding: 56px max(20px, calc(50vw - var(--wrap) / 2 + 20px)) 28px; }
.tpl-layanan .footer-inner { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; }
.tpl-layanan footer p { margin: 0 0 6px; }
.tpl-layanan footer > div:last-child { margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.08); font-size: 13px; color: #7f93ad; text-align: center; }
@media (max-width: 860px) {
    .tpl-layanan .grid-keunggulan, .tpl-layanan .grid-layanan, .tpl-layanan .steps-grid { grid-template-columns: repeat(2, 1fr); }
    .tpl-layanan .footer-inner { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 600px) {
    .tpl-layanan .grid-keunggulan, .tpl-layanan .grid-layanan, .tpl-layanan .steps-grid, .tpl-layanan .testimonial-grid { grid-template-columns: 1fr; }
    .tpl-layanan .hero { padding-top: 48px !important; padding-bottom: 56px !important; }
    .tpl-layanan .hero br { display: none; }
    .tpl-layanan .btn-wa { width: 100%; justify-content: center; }
    .tpl-layanan section.x-tint { padding: 36px 20px !important; }
}

/* ---------- template: /service/ ---------- */
.tpl-service .container { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.tpl-service main > section { padding: 80px 0; }
.tpl-service main > section.x-tint { background: var(--surface); }
.tpl-service .hero { padding: 80px 0 88px !important; color: #c3d2e6;
    background: radial-gradient(800px 420px at 90% 0%, rgba(242,106,33,.22), transparent 60%), radial-gradient(700px 500px at 0% 100%, rgba(56,132,214,.25), transparent 60%), linear-gradient(160deg, #0b2341 0%, #0e2b50 55%, #0a1f3a 100%); }
.tpl-service .hero h1 { color: #fff; font-size: clamp(2rem, 4.4vw, 3.1rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.1; max-width: 22ch; }
.tpl-service .hero p { font-size: 18px; max-width: 60ch; margin: 20px 0 30px; }
.tpl-service .btn-group { display: flex; flex-wrap: wrap; gap: 12px; }
.tpl-service .btn { display: inline-flex; align-items: center; justify-content: center; padding: 15px 26px; border-radius: 12px; font-weight: 700; font-size: 16px; text-decoration: none; border: 1.5px solid transparent; transition: background-color .2s, border-color .2s, transform .15s; }
.tpl-service .btn:active { transform: translateY(1px); }
.tpl-service .btn-primary { background: var(--wa); color: #fff; box-shadow: 0 8px 20px -8px rgba(31,170,89,.7); }
.tpl-service .btn-primary:hover { background: var(--wa-dark); }
.tpl-service .btn-secondary { color: #fff; border-color: rgba(255,255,255,.35); }
.tpl-service .btn-secondary:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.6); }
.tpl-service .section-title { max-width: 720px; margin-bottom: 40px; }
.tpl-service .section-title p { color: var(--muted); font-size: 17px; margin: 14px 0 0; }
.tpl-service .badge-list { display: flex; flex-wrap: wrap; gap: 10px; }
.tpl-service .badge { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; background: #fff; border: 1px solid var(--line); border-radius: 12px; font-weight: 600; color: var(--ink); font-size: 15px; }
.tpl-service .badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }
.tpl-service .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tpl-service .card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: transform .25s, box-shadow .25s; }
.tpl-service .card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.tpl-service .card img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.tpl-service .card h3 { font-size: 18.5px; margin: 22px 24px 8px; }
.tpl-service .card p { color: var(--muted); font-size: 15px; margin: 0 24px 24px; }
.tpl-service .process { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; }
.tpl-service .step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; }
.tpl-service .step-number { width: 40px; height: 40px; border-radius: 12px; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 800; margin-bottom: 16px; }
.tpl-service .step h3 { font-size: 18px; margin-bottom: 8px; }
.tpl-service .step p { color: var(--muted); font-size: 15px; margin: 0; }
.tpl-service .faq-container { max-width: 860px; }
.tpl-service .faq-item { border-bottom: 1px solid var(--line); padding: 20px 0; }
.tpl-service .faq-item h3 { font-size: 17px; margin-bottom: 6px; }
.tpl-service .faq-item p { color: var(--muted); margin: 0; }
.tpl-service section.cta { padding: 0 0 88px !important; }
.tpl-service section.cta .container { border-radius: 28px; padding: 56px 32px; text-align: center; color: #c3d2e6; background: radial-gradient(600px 300px at 50% 0%, rgba(242,106,33,.25), transparent 70%), linear-gradient(160deg, #0b2341, #0e2b50); max-width: calc(var(--wrap) - 40px); }
.tpl-service section.cta h2 { color: #fff; font-size: clamp(1.6rem, 3.2vw, 2.3rem); font-weight: 800; }
.tpl-service section.cta p { font-size: 17px; max-width: 58ch; margin: 14px auto 28px; }
.tpl-service section.cta .btn-group { justify-content: center; }
.tpl-service footer { padding: 32px 0; text-align: center; font-size: 13.5px; }
.tpl-service footer p { margin: 0; }
@media (max-width: 860px) { .tpl-service .grid, .tpl-service .process { grid-template-columns: repeat(2, 1fr); } .tpl-service section.cta .container { margin: 0 20px; } }
@media (max-width: 600px) {
    .tpl-service .grid, .tpl-service .process { grid-template-columns: 1fr; }
    .tpl-service main > section { padding: 60px 0; }
    .tpl-service .hero { padding: 52px 0 60px !important; }
    .tpl-service .btn { width: 100%; }
    .tpl-service section.cta .container { padding: 36px 20px; }
}

/* ---------- template: hydrant (keeps its own CSS; brand overrides) ---------- */
.tpl-hydrant .mb-wrap { font-family: inherit; max-width: 980px; padding-top: 32px; }
.tpl-hydrant .mb-hero { border-radius: 28px; text-align: left; padding: 56px 44px; background: radial-gradient(800px 420px at 90% 0%, rgba(242,106,33,.22), transparent 60%), radial-gradient(700px 500px at 0% 100%, rgba(56,132,214,.25), transparent 60%), linear-gradient(160deg, #0b2341 0%, #0e2b50 55%, #0a1f3a 100%); }
.tpl-hydrant .mb-hero h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.8rem); letter-spacing: -0.035em; line-height: 1.12; }
.tpl-hydrant .mb-hero p { margin-left: 0; color: #c3d2e6; }
.tpl-hydrant .mb-cta-row { justify-content: flex-start; }
.tpl-hydrant .btn-wa, .tpl-hydrant .btn-tel { border-radius: 12px !important; }
.tpl-hydrant .btn-wa { background: var(--wa) !important; }
.tpl-hydrant .mb-wrap h2 { color: var(--ink) !important; letter-spacing: -0.02em; }
.tpl-hydrant .mb-stat-n { color: var(--ink) !important; }
@media (max-width: 600px) { .tpl-hydrant .mb-hero { padding: 36px 22px; } }

/* ---------- template: 404 ---------- */
.tpl-404 .nf { max-width: 760px; margin: 0 auto; padding: 80px 20px 96px; text-align: center; }
.tpl-404 .code { font-size: clamp(4.5rem, 14vw, 7rem); font-weight: 800; letter-spacing: -0.05em; line-height: 1; color: var(--brand); }
.tpl-404 .nf h1 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 800; margin: 14px 0 12px; }
.tpl-404 .nf > p { color: var(--muted); font-size: 17px; max-width: 52ch; margin: 0 auto; }
.tpl-404 .links { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin: 28px 0 40px; }
.tpl-404 .btn { display: inline-flex; padding: 14px 24px; border-radius: 12px; font-weight: 700; text-decoration: none; border: 1.5px solid transparent; }
.tpl-404 .b1 { background: var(--wa); color: #fff; }
.tpl-404 .b1:hover { background: var(--wa-dark); }
.tpl-404 .b2 { border-color: var(--line); color: var(--ink); }
.tpl-404 .b2:hover { border-color: var(--ink); }
.tpl-404 .svc { background: var(--surface); border-radius: var(--radius-lg); padding: 28px; text-align: left; }
.tpl-404 .svc h2 { font-size: 1.05rem; margin-bottom: 14px; }
.tpl-404 .svc a { display: inline-flex; margin: 0 8px 8px 0; padding: 8px 14px; border-radius: 10px; background: #fff; border: 1px solid var(--line); text-decoration: none; font-weight: 600; font-size: 14px; color: var(--ink); }
.tpl-404 .svc a:hover { border-color: var(--ink); }
.tpl-404 footer { padding: 40px 20px; text-align: center; }
