/* ==========================================================================
   mriskide.com — gaya situs publik
   Palet diambil langsung dari logo: navy → biru royal → biru → langit → es
   ========================================================================== */

:root {
    /* Warna logo */
    --navy: #081D4A;      /* wordmark "mriskide" */
    --navy-2: #06163A;
    --royal: #0F48CB;     /* lengkung kedua */
    --blue: #1462E2;      /* ikon & aksen di latar terang */
    --bright: #118CF3;
    --sky: #1AB2E3;       /* ".com" */
    --ice: #5EE4FC;       /* ujung pita */
    --ribbon: linear-gradient(100deg, var(--navy) 0%, var(--royal) 40%, var(--bright) 62%, var(--sky) 82%, var(--ice) 100%);

    /* Peran */
    --paper: #F6F9FD;
    --surface: #FFFFFF;
    --ink: #081D4A;
    --ink-soft: #4A5B7C;
    --mist: #E6EEF9;
    --line: #DCE5F2;
    --link: #0F48CB;
    --mark: #CFF2FC;
    --accent: var(--sky);        /* aksen di latar gelap */
    --on-accent: #04163A;
    --rib-1a: #0B3A7A; --rib-1b: #081D4A;   /* pita hero (berubah di mode gelap) */

    --font-display: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
    --font-body: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;

    --step--1: clamp(0.78rem, 0.76rem + 0.08vw, 0.84rem);
    --step-0: clamp(0.92rem, 0.9rem + 0.1vw, 0.98rem);
    --step-1: clamp(1.06rem, 1rem + 0.25vw, 1.2rem);
    --step-2: clamp(1.28rem, 1.16rem + 0.5vw, 1.6rem);
    --step-3: clamp(1.55rem, 1.32rem + 1vw, 2.2rem);
    --step-4: clamp(2.05rem, 1.55rem + 2.3vw, 3.5rem);

    --gutter: clamp(16px, 4vw, 40px);
    --max: 1180px;
    --radius-s: 8px;
    --radius: 14px;
    --radius-l: 24px;
    --shadow: 0 1px 2px rgba(8, 29, 74, .06), 0 10px 28px -14px rgba(8, 29, 74, .28);

    color-scheme: light;
}

/* Mode gelap: mengikuti sistem, kecuali pengguna memilih terang */
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        --paper: #071330;
        --surface: #0C1D45;
        --ink: #E8EFFB;
        --ink-soft: #A3B3D1;
        --mist: #13285A;
        --line: #1B3168;
        --link: #6CCFF2;
        --blue: #4FA3FF;
        --mark: #0E4A6B;
        --rib-1a: #2F6FE0; --rib-1b: #1B4FBF;
        --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 30px -14px rgba(0, 0, 0, .7);
        color-scheme: dark;
    }
}
:root[data-theme="dark"] {
    --paper: #071330;
    --surface: #0C1D45;
    --ink: #E8EFFB;
    --ink-soft: #A3B3D1;
    --mist: #13285A;
    --line: #1B3168;
    --link: #6CCFF2;
    --blue: #4FA3FF;
    --mark: #0E4A6B;
    --rib-1a: #2F6FE0; --rib-1b: #1B4FBF;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 30px -14px rgba(0, 0, 0, .7);
    color-scheme: dark;
}

/* ---------- Dasar ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: var(--step-0);
    line-height: 1.6;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--link); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.1; letter-spacing: -0.025em; margin: 0 0 .5em; font-weight: 750; }
h1 { font-size: var(--step-4); font-weight: 800; letter-spacing: -0.04em; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
mark { background: var(--mark); color: inherit; padding: 0 .1em; border-radius: 3px; }
code { font-size: .92em; background: var(--mist); padding: .1em .35em; border-radius: 4px; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--navy); color: #fff; padding: 10px 14px; border-radius: var(--radius-s); z-index: 100; font-weight: 600; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.wrap.narrow { max-width: 780px; }
.section { padding-block: clamp(56px, 8vw, 104px); }
.section + .section { padding-top: 0; }
.section-head { max-width: 62ch; margin-bottom: clamp(24px, 4vw, 40px); }
.section-head p { color: var(--ink-soft); }
.section-head.split { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.section-head.split h2 { margin: 0; max-width: 20ch; }
.lead { font-size: var(--step-1); color: var(--ink-soft); max-width: 58ch; line-height: 1.5; }
.lead-sm { font-size: 1rem; color: var(--ink-soft); max-width: 56ch; }

.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; color: var(--ink); }
.text-link .icon { transition: transform .2s ease; color: var(--blue); }
.text-link:hover .icon { transform: translateX(3px); }

/* ---------- Tombol ---------- */
.btn {
    --bg: var(--surface); --fg: var(--ink); --bd: var(--line);
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 12px 20px; border-radius: 999px; border: 1.5px solid var(--bd);
    background: var(--bg); color: var(--fg); font: 600 0.9rem/1.2 var(--font-body);
    text-decoration: none; cursor: pointer; white-space: nowrap;
    transition: background-color .15s ease, border-color .15s ease, transform .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary {
    --fg: #fff; --bd: transparent;
    background: linear-gradient(120deg, var(--royal), #1565E8);
    box-shadow: 0 8px 20px -10px rgba(15, 72, 203, .7);
}
.btn-primary:hover { background: linear-gradient(120deg, #0B3BAA, var(--royal)); }
/* Untuk latar gelap (navy): warna ".com" dengan teks navy */
.btn-sky { --bg: var(--sky); --fg: var(--on-accent); --bd: var(--sky); }
.btn-sky:hover { --bg: var(--ice); --bd: var(--ice); }
.btn-line { --bg: transparent; --bd: color-mix(in srgb, var(--ink) 28%, transparent); }
.btn-line:hover { --bd: var(--ink); }
.btn-ghost-light { --bg: transparent; --fg: #fff; --bd: rgba(255, 255, 255, .45); }
.btn-ghost-light:hover { --bd: #fff; }
.btn-lg { padding: 13px 22px; font-size: .95rem; }
.btn-sm { padding: 7px 13px; font-size: .84rem; }
.btn-block { width: 100%; }

.icon-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-width: 42px; height: 42px; padding: 0 10px; border-radius: 999px;
    border: 1.5px solid transparent; background: transparent; color: var(--ink); cursor: pointer;
}
.icon-btn:hover { background: var(--mist); }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 40;
    background: color-mix(in srgb, var(--paper) 86%, transparent);
    backdrop-filter: saturate(1.4) blur(12px);
    -webkit-backdrop-filter: saturate(1.4) blur(12px);
    /* garis bawah memakai bayangan (bukan border) supaya tinggi header tetap 72px
       dan hero di bawahnya menempel rapat tanpa celah putih 1px di atas */
    box-shadow: 0 1px 0 transparent;
    transition: box-shadow .2s ease;
}
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--line); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-logo { height: 32px; width: auto; }
.brand-logo.on-dark { display: none; }
:root[data-theme="dark"] .brand-logo.on-light { display: none; }
:root[data-theme="dark"] .brand-logo.on-dark { display: block; }
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .brand-logo.on-light { display: none; }
    :root:not([data-theme="light"]) .brand-logo.on-dark { display: block; }
}
.brand-name { font: 800 1.16rem/1 var(--font-display); letter-spacing: -0.035em; }
.brand-tld { color: var(--sky); }

.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.main-nav a { display: block; padding: 8px 12px; border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 500; }
.main-nav a:hover { background: var(--mist); }
.main-nav a[aria-current="page"] { background: var(--ink); color: var(--paper); }
.main-nav .nav-cta-mobile { display: none; }
.header-actions { display: flex; align-items: center; gap: 6px; }
.search-trigger kbd {
    font: 500 .72rem/1 var(--font-body); color: var(--ink-soft);
    border: 1px solid var(--line); border-radius: 6px; padding: 4px 6px; background: var(--surface);
}
.theme-moon { display: none; }
:root[data-theme="dark"] .theme-sun { display: none; }
:root[data-theme="dark"] .theme-moon { display: inline; }
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .theme-sun { display: none; }
    :root:not([data-theme="light"]) .theme-moon { display: inline; }
}
.menu-toggle { display: none; }
.menu-toggle .when-open { display: none; }

@media (max-width: 960px) {
    .header-cta, .search-trigger kbd { display: none; }
    .menu-toggle { display: inline-flex; }
    .header-actions { margin-left: auto; }
    .main-nav {
        position: fixed; inset: 72px 0 auto 0; margin: 0;
        background: var(--paper); border-bottom: 1px solid var(--line);
        padding: 12px var(--gutter) 24px; display: none;
    }
    .main-nav.is-open { display: block; }
    .main-nav ul { flex-direction: column; gap: 2px; }
    .main-nav a { padding: 13px 12px; font-size: 1rem; border-radius: var(--radius-s); }
    .main-nav .nav-cta-mobile { display: flex; margin-top: 12px; padding: 14px 20px; border-radius: 999px; color: #fff; }
    .menu-toggle[aria-expanded="true"] .when-open { display: inline; }
    .menu-toggle[aria-expanded="true"] .when-closed { display: none; }
}

/* ---------- Hero: latar penuh tekstur laut ---------- */
:root { --header-h: 72px; }
.hero {
    position: relative; overflow: hidden; isolation: isolate;
    color: #fff;
    /* naik ke bawah header transparan */
    margin-top: calc(var(--header-h) * -1);
    padding: calc(var(--header-h) + clamp(44px, 7vw, 96px)) 0 clamp(110px, 12vw, 170px);
    min-height: min(92vh, 860px);
    display: flex; align-items: center;
    background: #0B6E93;
}
.hero > .wrap { width: 100%; }
.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero-bg picture, .hero-ocean { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-ocean { object-fit: cover; transform: scale(1.05); animation: drift 30s ease-in-out infinite alternate; }
@keyframes drift { from { transform: scale(1.05) translate(0, 0); } to { transform: scale(1.1) translate(-1.5%, 1.2%); } }
.hero-shade {
    position: absolute; inset: 0; pointer-events: none;
    background:
        /* sedikit gelap di sisi teks agar tulisan putih tetap terbaca */
        linear-gradient(90deg, rgba(3, 45, 85, .42) 0%, rgba(3, 45, 85, .2) 45%, rgba(3, 45, 85, 0) 75%),
        /* air makin dalam ke bawah */
        linear-gradient(180deg, rgba(20, 150, 190, .12) 0%, rgba(10, 90, 150, 0) 40%, rgba(9, 70, 135, .42) 80%, rgba(8, 50, 112, .72) 100%);
}

.hero-inner { position: relative; z-index: 2; }
.hero h1 { max-width: 14ch; margin-bottom: .35em; color: #fff; text-shadow: 0 2px 24px rgba(3, 30, 70, .45); }
.hero .lead { margin-bottom: 1.6em; max-width: 44ch; color: #EAF8FC; text-shadow: 0 1px 12px rgba(3, 30, 70, .35); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.hero .btn-primary { background: linear-gradient(120deg, #081D4A, #0F48CB); box-shadow: 0 12px 28px -12px rgba(3, 20, 50, .8); }
.hero .btn-primary:hover { background: linear-gradient(120deg, #06163A, #0B3BAA); }
.hero-clock { color: #D9F1F8; font-size: var(--step--1); max-width: 46ch; margin: 0; }
.hero-clock time { font-variant-numeric: tabular-nums; font-weight: 700; color: #fff; }

.status {
    display: inline-flex; align-items: center; gap: 10px; margin-bottom: 26px;
    padding: 6px 14px 6px 10px; border-radius: 999px; background: var(--surface);
    border: 1px solid var(--line); font-size: var(--step--1); font-weight: 500;
}
.hero .status {
    color: #fff; background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .3);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.status-dot { width: 9px; height: 9px; border-radius: 50%; background: #16A36A; box-shadow: 0 0 0 4px color-mix(in srgb, #16A36A 22%, transparent); }
.hero .status-dot { background: #4BE39A; box-shadow: 0 0 0 4px rgba(75, 227, 154, .25); }
.status.is-off .status-dot { background: var(--sky); box-shadow: 0 0 0 4px color-mix(in srgb, var(--sky) 25%, transparent); }

.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 4vw, 64px); align-items: center; }

/* monogram "mr" melayang di atas air */
.hero-art { position: relative; z-index: 2; }
.hero-art .hero-mark { display: block; width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 22px 26px rgba(3, 22, 56, .5)); }
.hero-glass {
    position: absolute; z-index: 3; right: 0; bottom: -14%;
    display: flex; align-items: center; gap: 12px; padding: 10px 16px 10px 10px;
    border-radius: 16px; color: #fff;
    background: rgba(255, 255, 255, .16);
    border: 1px solid rgba(255, 255, 255, .35);
    backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3);
    box-shadow: 0 16px 30px -18px rgba(3, 22, 56, .7);
}
.hero-glass-ic { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: #fff; color: #16A36A; flex: none; }
.hero-glass b { display: block; font: 700 .9rem/1.2 var(--font-display); }
.hero-glass small { display: block; font-size: .76rem; opacity: .9; }

.hero-mark { width: 100%; height: auto; overflow: visible; }
.hero-mark .m1a { stop-color: #0B3A7A; } .hero-mark .m1b { stop-color: #081D4A; }
.hero-mark .rib { fill: none; stroke-width: 98; stroke-linecap: round; }
.hero-mark .sheen { fill: none; stroke: #fff; stroke-opacity: .45; stroke-width: 7; stroke-linecap: round; }
/* Monogram "bermain" terus: pita tergambar → kilau berjalan → pita terhapus → ulang.
   Satu putaran 8 detik; tiap pita bergeser sedikit (d2, d3) supaya bergantian. */
.hero-mark .rib.draw { stroke-dasharray: 1 3; stroke-dashoffset: 1.02; animation: rib-loop 8s cubic-bezier(.55, .1, .25, 1) infinite both; }
.hero-mark .sheen.draw { stroke-dasharray: .2 3; stroke-dashoffset: .22; stroke-opacity: .85; opacity: 0; animation: rib-glint 8s ease-in-out infinite both; }
.hero-mark .d2 { animation-delay: .35s; }
.hero-mark .d3 { animation-delay: .7s; }
@keyframes rib-loop {
    0%        { stroke-dashoffset: 1.02; }
    18%       { stroke-dashoffset: 0; }
    78%       { stroke-dashoffset: 0; }
    94%, 100% { stroke-dashoffset: -1.02; }
}
@keyframes rib-glint {
    0%, 20%   { stroke-dashoffset: .22; opacity: 0; }
    24%       { opacity: .9; }
    44%       { stroke-dashoffset: -1.02; opacity: .9; }
    45%, 48%  { stroke-dashoffset: .22; opacity: 0; }
    52%       { opacity: .9; }
    72%       { stroke-dashoffset: -1.02; opacity: .9; }
    73%, 100% { stroke-dashoffset: -1.02; opacity: 0; }
}
/* melayang pelan di atas air */
.hero-art .hero-mark { animation: mark-float 6s ease-in-out infinite; transform-origin: 50% 60%; }
@keyframes mark-float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50%      { transform: translateY(-12px) rotate(-1.2deg); }
}
/* Bila Windows/HP mematikan "efek animasi" (prefers-reduced-motion), monogram tetap hidup
   dengan versi lembut: pita tetap utuh, hanya kilau berjalan dan melayang pelan. */
@media (prefers-reduced-motion: reduce) {
    .hero-mark .rib.draw { stroke-dasharray: none; stroke-dashoffset: 0; }
    .hero-mark .sheen.draw { animation: rib-glint 8s ease-in-out infinite both !important; }
    .hero-mark .sheen.d2 { animation-delay: .35s !important; }
    .hero-mark .sheen.d3 { animation-delay: .7s !important; }
    .hero-art .hero-mark { animation: mark-float 7s ease-in-out infinite !important; }
}

/* lengkung bawah: menyambung ke warna halaman */
.hero-curve { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(40px, 6vw, 90px); z-index: 1; }
.hero-curve path { fill: var(--paper); }

/* header transparan di atas latar laut (beranda & halaman dalam) */
body:has(.hero-laut, .page-head) .site-header:not(.is-scrolled) { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
@media (min-width: 961px) {
    body:has(.hero-laut, .page-head) .site-header:not(.is-scrolled) .main-nav a { color: #fff; }
    body:has(.hero-laut, .page-head) .site-header:not(.is-scrolled) .main-nav a:hover { background: rgba(255, 255, 255, .14); }
    body:has(.hero-laut, .page-head) .site-header:not(.is-scrolled) .main-nav a[aria-current="page"] { background: #fff; color: var(--navy); }
}
body:has(.hero-laut, .page-head) .site-header:not(.is-scrolled) .brand { color: #fff; }
body:has(.hero-laut, .page-head) .site-header:not(.is-scrolled) .brand-tld { color: var(--ice); }
body:has(.hero-laut, .page-head) .site-header:not(.is-scrolled) .brand-logo.on-light { display: none; }
body:has(.hero-laut, .page-head) .site-header:not(.is-scrolled) .brand-logo.on-dark { display: block; }
body:has(.hero-laut, .page-head) .site-header:not(.is-scrolled) .icon-btn { color: #fff; }
body:has(.hero-laut, .page-head) .site-header:not(.is-scrolled) .icon-btn:hover { background: rgba(255, 255, 255, .14); }
body:has(.hero-laut, .page-head) .site-header:not(.is-scrolled) .search-trigger kbd { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .3); color: #E6F6FB; }
body:has(.hero-laut, .page-head) .site-header:not(.is-scrolled) .header-cta { background: #081D4A; box-shadow: none; }
/* menu HP terbuka: kembali ke header biasa agar daftar menu terbaca */
body:has(.hero-laut, .page-head) .site-header:has(.main-nav.is-open) { background: var(--paper); }
body:has(.hero-laut, .page-head) .site-header:has(.main-nav.is-open) .brand { color: var(--ink); }
body:has(.hero-laut, .page-head) .site-header:has(.main-nav.is-open) .brand-tld { color: var(--sky); }
body:has(.hero-laut, .page-head) .site-header:has(.main-nav.is-open) .icon-btn { color: var(--ink); }
body:has(.hero-laut, .page-head) .site-header:has(.main-nav.is-open) .brand-logo.on-light { display: block; }
body:has(.hero-laut, .page-head) .site-header:has(.main-nav.is-open) .brand-logo.on-dark { display: none; }

@media (max-width: 860px) {
    .hero { min-height: 0; padding-bottom: clamp(80px, 18vw, 120px); }
    .hero-grid { grid-template-columns: 1fr; }
    .hero-art { width: min(86%, 380px); margin: 18px 0 0 auto; }
    .hero-glass { left: auto; right: 0; bottom: -10%; }
    .hero-shade {
        background:
            linear-gradient(180deg, rgba(4, 30, 66, .55) 0%, rgba(4, 30, 66, .35) 55%, rgba(8, 40, 96, .7) 100%);
    }
}
/* HP: tombol sama lebar, monogram lebih kecil di tengah, kartu kaca tidak menumpuk */
@media (max-width: 600px) {
    .hero { padding-top: calc(var(--header-h) + 28px); padding-bottom: 76px; }
    .hero-grid { gap: 0; }
    .hero .status { margin-bottom: 18px; font-size: .78rem; padding: 5px 12px 5px 9px; }
    .hero h1 { max-width: none; }
    .hero .lead { margin-bottom: 1.3em; }
    .hero-actions { flex-direction: column; gap: 10px; margin-bottom: 18px; }
    .hero-actions .btn { width: 100%; justify-content: center; }
    .hero-clock { font-size: .8rem; line-height: 1.55; }
    .hero-art {
        width: 100%; margin: 30px 0 0;
        display: flex; flex-direction: column; align-items: center; gap: 16px;
    }
    .hero-art .hero-mark { width: min(64%, 250px); filter: drop-shadow(0 14px 18px rgba(3, 22, 56, .5)); }
    .hero-glass { position: static; padding: 8px 14px 8px 8px; border-radius: 14px; }
    .hero-glass-ic { width: 34px; height: 34px; border-radius: 10px; }
}
@media (prefers-reduced-motion: reduce) { .hero-ocean { animation: none; } }

/* ---------- Layanan: baris bergaris ---------- */
.service-rows { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--ink); }
.service-row {
    display: grid; grid-template-columns: 52px 1fr auto 28px; align-items: center; gap: 20px;
    padding: 24px 4px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none;
}
.service-icon {
    width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
    background: var(--mist); color: var(--blue);
}
.service-main { display: grid; gap: 4px; }
.service-title { font: 650 var(--step-1)/1.15 var(--font-display); letter-spacing: -0.01em; }
.service-summary { color: var(--ink-soft); max-width: 62ch; }
.service-price { display: grid; text-align: right; line-height: 1.2; }
.service-price small { color: var(--ink-soft); font-size: .76rem; }
.service-price strong { font: 650 1.1rem/1.2 var(--font-display); }
.service-go { color: var(--ink-soft); transition: transform .2s ease, color .2s ease; }
.service-row:hover .service-title { color: var(--link); }
.service-row:hover .service-go { transform: translateX(4px); color: var(--ink); }
@media (max-width: 720px) {
    .service-row { grid-template-columns: 44px 1fr; gap: 14px; }
    .service-icon { width: 44px; height: 44px; }
    .service-price { grid-column: 2; text-align: left; display: flex; gap: 6px; align-items: baseline; flex-wrap: wrap; }
    .service-go { display: none; }
}

/* ---------- Proses (urutan nyata, jadi bernomor) ---------- */
.process { background: var(--navy); color: #E8EFFB; padding-block: clamp(56px, 8vw, 104px); margin-block: clamp(32px, 5vw, 64px); }
.section + .process { padding-top: clamp(56px, 8vw, 104px); }
.process .section-head p { color: #A9BCE0; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; }
.steps li { counter-increment: step; padding: 28px 24px 8px 0; border-top: 2px solid rgba(255, 255, 255, .18); position: relative; }
.steps li::before {
    content: counter(step); position: absolute; top: -17px; left: 0;
    width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
    background: var(--sky); color: var(--on-accent); font: 800 .95rem/1 var(--font-display);
}
.steps li:first-child { border-image: var(--ribbon) 1; }
.steps h3 { color: #fff; margin-top: 8px; }
.steps p { color: #B5C5E6; margin: 0; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; row-gap: 36px; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Portofolio ---------- */
.work-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(16px, 2.5vw, 28px); }
.work { grid-column: span 3; display: grid; gap: 14px; text-decoration: none; color: var(--ink); }
.work.is-lead { grid-column: span 6; grid-template-columns: 1.5fr 1fr; align-items: end; gap: clamp(18px, 3vw, 40px); }
.work-grid .work:nth-child(n+2) { grid-column: span 2; }
.work-grid:has(.work:nth-child(2):last-child) .work:nth-child(2),
.work-grid:not(:has(.is-lead)) .work { grid-column: span 3; }
.work-img { display: block; border-radius: var(--radius); overflow: hidden; background: var(--mist); aspect-ratio: 16 / 10; }
.work-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.work:hover .work-img img { transform: scale(1.03); }
.work-info { display: grid; gap: 4px; }
.work-cat { color: var(--ink-soft); font-size: var(--step--1); }
.work-title { font: 650 var(--step-1)/1.2 var(--font-display); }
.work.is-lead .work-title { font-size: var(--step-2); }
.work-sum { color: var(--ink-soft); margin-top: 6px; }
.work:hover .work-title { color: var(--link); }
@media (max-width: 820px) {
    .work, .work.is-lead, .work-grid .work:nth-child(n+2) { grid-column: span 6; }
    .work.is-lead { grid-template-columns: 1fr; }
}
.cover-fallback {
    width: 100%; height: 100%; display: grid; place-items: center;
    background: var(--mist) url(../img/logo-mark-lg.png) center / 34% no-repeat; color: transparent;
    font: 800 3rem/1 var(--font-display);
}

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.filters a {
    padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface);
    color: var(--ink); text-decoration: none; font-weight: 500; font-size: .88rem;
}
.filters a:hover { border-color: var(--ink); }
.filters a[aria-current="page"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.filters .count { opacity: .6; font-size: .85em; margin-left: 2px; }

/* ---------- Testimoni ---------- */
.quotes { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 1fr); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; }
.quote {
    margin: 0; padding: 28px; border-radius: var(--radius-l); background: var(--surface);
    border: 1px solid var(--line); scroll-snap-align: start; display: flex; flex-direction: column; gap: 18px;
}
.stars { display: flex; gap: 2px; color: var(--line); }
.stars .on { color: #F5B323; }
.stars .on svg { fill: currentColor; }
.quote blockquote { margin: 0; font-size: 1rem; line-height: 1.55; flex: 1; }
.quote blockquote p { margin: 0; }
.quote figcaption { display: flex; align-items: center; gap: 12px; }
.quote figcaption img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.quote figcaption span { display: grid; }
.quote small { color: var(--ink-soft); }
.avatar {
    width: 44px; height: 44px; border-radius: 50%; display: inline-grid; place-items: center; flex: none;
    background: var(--navy); color: var(--sky); font: 800 .95rem/1 var(--font-display); overflow: hidden;
}
.avatar.lg { width: 64px; height: 64px; font-size: 1.25rem; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Harga ---------- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan {
    position: relative; display: flex; flex-direction: column; padding: 32px 28px;
    border-radius: var(--radius-l); background: var(--surface); border: 1px solid var(--line);
}
.plan.is-highlight { background: var(--navy); color: #E8EFFB; border-color: var(--navy); box-shadow: var(--shadow); }
.plan.is-highlight::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; border-radius: var(--radius-l) var(--radius-l) 0 0; background: var(--ribbon); }
.plan-flag {
    position: absolute; top: -13px; left: 28px; margin: 0;
    background: var(--sky); color: var(--on-accent); font-size: .82rem; font-weight: 700;
    padding: 5px 12px; border-radius: 999px;
}
.plan-name { margin-bottom: 6px; }
.plan-desc { color: var(--ink-soft); min-height: 3em; }
.plan.is-highlight .plan-desc, .plan.is-highlight .plan-price small { color: #A9BCE0; }
.plan-price { display: grid; margin: 8px 0 22px; }
.plan-price small { color: var(--ink-soft); font-size: .8rem; }
.plan-price strong { font: 800 var(--step-3)/1.05 var(--font-display); letter-spacing: -0.03em; }
.plan-features { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 10px; flex: 1; align-content: start; }
.plan-features li { display: flex; gap: 10px; align-items: flex-start; }
.plan-features .icon { color: var(--blue); flex: none; margin-top: 4px; }
.plan.is-highlight .plan-features .icon { color: var(--sky); }
.plan.is-highlight .btn-line { --fg: #fff; }
.pricing-note { color: var(--ink-soft); font-size: var(--step--1); margin-top: 20px; }
@media (max-width: 900px) { .pricing { grid-template-columns: 1fr; max-width: 520px; } }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.price-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.price-table th, .price-table td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.price-table thead th { font-size: var(--step--1); color: var(--ink-soft); font-weight: 600; background: var(--paper); }
.price-table tbody tr:last-child > * { border-bottom: 0; }
.price-table tbody th a { color: var(--ink); font-weight: 600; text-decoration: none; }
.price-table tbody th a:hover { color: var(--link); }
.price-table small { color: var(--ink-soft); }
.price-table td:last-child { text-align: right; }

/* ---------- Tentang ---------- */
.about-grid { display: grid; grid-template-columns: minmax(220px, 380px) 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.about-photo { border-radius: var(--radius-l); overflow: hidden; aspect-ratio: 6 / 7; background: var(--mist); position: relative; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-fallback {
    position: absolute; inset: 0; display: grid; place-items: center;
    background: var(--mist);
}
.photo-fallback img { width: 58%; height: auto; }
.chips { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 5px 11px; border-radius: 999px; background: var(--mist); font-size: .84rem; font-weight: 500; }
.chips.small li { font-size: .76rem; padding: 4px 10px; }
.ticks { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks .icon { color: var(--blue); flex: none; margin-top: 4px; }
@media (max-width: 760px) {
    .about-grid { grid-template-columns: 1fr; gap: 26px; }
    /* HP: foto selebar konten, sedikit lebih pendek, wajah tetap di tengah atas */
    .about-photo {
        width: 100%; max-width: 440px; aspect-ratio: 5 / 5.2;
        box-shadow: 0 22px 40px -26px rgba(8, 29, 74, .55);
    }
    .about-photo::after {
        content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
        box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink) 8%, transparent);
    }
    .about-photo img { object-position: 50% 22%; }
    .about-strip h2 { margin-bottom: .45em; }
    .about-strip .lead-sm { font-size: .95rem; margin-bottom: 18px; }
    .about-strip .chips { gap: 6px; margin-bottom: 22px; }
    .about-strip .chips li { font-size: .76rem; padding: 4px 10px; }
    .about-strip .text-link {
        width: 100%; justify-content: center; padding: 12px 16px; border-radius: 999px;
        border: 1.5px solid var(--line); background: var(--surface);
    }
}

/* HP: halaman Tentang lebih rapat dan tertata */
@media (max-width: 760px) {
    .about-page { padding-top: 4px; }
    .about-page .prose { font-size: .94rem; line-height: 1.72; }
    .about-page .prose > p:first-child { font-size: 1.04rem; line-height: 1.6; font-weight: 500; color: var(--ink); }
    .about-page .prose h2 { font-size: 1.12rem; margin: 1.7em 0 .7em; }
    .about-page .chips { gap: 6px; margin-bottom: 8px; }
    .about-page .chips li { font-size: .76rem; padding: 4px 10px; }
    .about-page .ticks {
        gap: 0; margin-bottom: 26px; padding: 4px 16px;
        background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
    }
    .about-page .ticks li { gap: 12px; padding: 12px 0; font-size: .9rem; line-height: 1.5; }
    .about-page .ticks li + li { border-top: 1px dashed var(--line); }
    .about-page .ticks .icon {
        width: 22px; height: 22px; margin-top: 0; padding: 4px; border-radius: 50%;
        background: color-mix(in srgb, var(--blue) 12%, transparent);
    }
}

/* ---------- Perkenalan di beranda ("Halo, saya …") ---------- */
.intro { position: relative; overflow: hidden; isolation: isolate; }
.intro::before, .intro::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; pointer-events: none; }
.intro::before { width: 560px; height: 560px; right: -200px; top: 60px; background: radial-gradient(circle, color-mix(in srgb, var(--sky) 16%, transparent), transparent 66%); }
.intro::after { width: 420px; height: 420px; left: -180px; bottom: -60px; background: radial-gradient(circle, color-mix(in srgb, var(--royal) 10%, transparent), transparent 66%); }
.intro-grid { display: grid; grid-template-columns: minmax(260px, 430px) minmax(0, 1fr); gap: clamp(40px, 6vw, 92px); align-items: center; }

/* foto berbingkai pita warna logo */
.intro-photo { position: relative; margin: 0; padding: 0 24px 24px 0; }
.intro-backdrop {
    position: absolute; inset: 24px 0 0 24px; border-radius: 30px; overflow: hidden;
    background: linear-gradient(140deg, var(--navy) 0%, var(--royal) 38%, var(--bright) 68%, var(--ice) 100%);
}
.intro-backdrop::after {
    content: ""; position: absolute; inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, .45) 1.3px, transparent 1.6px); background-size: 16px 16px;
    -webkit-mask-image: linear-gradient(135deg, transparent 35%, #000 90%); mask-image: linear-gradient(135deg, transparent 35%, #000 90%);
}
.intro-frame {
    position: relative; aspect-ratio: 6 / 7; border-radius: 28px; overflow: hidden; background: var(--mist);
    box-shadow: 0 34px 60px -34px rgba(8, 29, 74, .7);
}
.intro-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.intro-photo:hover .intro-frame img { transform: scale(1.035); }
.intro-mark {
    position: absolute; top: -16px; right: 0; width: 66px; height: 66px; border-radius: 20px;
    display: grid; place-items: center; background: #fff;
    box-shadow: 0 16px 30px -14px rgba(8, 29, 74, .55); transform: rotate(6deg);
}
.intro-mark img { width: 40px; height: auto; }
.intro-role {
    position: absolute; left: -20px; bottom: 52px; max-width: calc(100% - 10px);
    display: flex; align-items: center; gap: 12px; padding: 10px 16px 10px 10px; border-radius: 18px;
    background: color-mix(in srgb, var(--surface) 90%, transparent);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    border: 1px solid var(--line); box-shadow: 0 18px 36px -20px rgba(8, 29, 74, .55);
}
.intro-role-ic { width: 38px; height: 38px; flex: none; border-radius: 12px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--royal), var(--sky)); }
.intro-role b { display: block; font: 700 .86rem/1.25 var(--font-display); color: var(--ink); }
.intro-role small { display: flex; align-items: center; gap: 7px; margin-top: 2px; font-size: .74rem; color: var(--ink-soft); }
.intro-role .status-dot { width: 7px; height: 7px; flex: none; }

/* teks */
.intro-eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: .74rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); }
.intro-eyebrow span { width: 30px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--blue), var(--sky)); }
.intro h2 { font-size: clamp(1.9rem, 1.4rem + 2vw, 2.9rem); line-height: 1.12; margin: 0 0 .45em; }
.intro .grad { background: linear-gradient(100deg, var(--blue), var(--bright) 55%, var(--sky)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.intro-lead { margin: 0 0 26px; max-width: 56ch; font-size: 1.05rem; line-height: 1.7; color: var(--ink-soft); }

.intro-facts { list-style: none; margin: 0 0 26px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.intro-facts li {
    display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px 16px; border-radius: 16px;
    background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
    transition: transform .2s ease, border-color .2s ease;
}
.intro-facts li:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--blue) 40%, var(--line)); }
.intro-facts .ic { width: 36px; height: 36px; flex: none; border-radius: 11px; display: grid; place-items: center; color: var(--blue); background: color-mix(in srgb, var(--blue) 12%, transparent); }
.intro-facts b { display: block; font: 700 .86rem/1.3 var(--font-display); color: var(--ink); }
.intro-facts small { display: block; margin-top: 2px; font-size: .74rem; line-height: 1.4; color: var(--ink-soft); }

.intro-label { margin: 0 0 10px; font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.intro-chips { margin-bottom: 28px; }
.intro-chips li { background: var(--surface); border: 1px solid var(--line); font-size: .8rem; }
.intro-chips li:hover { border-color: var(--sky); }
.intro-actions { display: flex; flex-wrap: wrap; gap: 12px; }

@media (max-width: 1000px) {
    .intro-facts { grid-template-columns: 1fr; }
    .intro-facts li { flex-direction: row; align-items: center; gap: 12px; }
}
@media (max-width: 760px) {
    .intro { padding-top: 28px; }
    .intro::before { top: 0; right: -260px; }
    .intro-grid { grid-template-columns: 1fr; gap: 34px; }
    .intro-photo { width: min(100%, 420px); padding: 0 16px 16px 0; }
    .intro-backdrop { inset: 16px 0 0 16px; border-radius: 24px; }
    .intro-frame { border-radius: 22px; aspect-ratio: 5 / 5.4; }
    .intro-mark { width: 54px; height: 54px; border-radius: 16px; top: -12px; right: 4px; }
    .intro-mark img { width: 32px; }
    .intro-role { left: 12px; bottom: 30px; padding: 8px 14px 8px 8px; }
    .intro-role-ic { width: 34px; height: 34px; border-radius: 10px; }
    .intro h2 { font-size: 1.75rem; }
    .intro-lead { font-size: .96rem; margin-bottom: 20px; }
    .intro-facts { gap: 8px; margin-bottom: 22px; }
    .intro-facts li { padding: 11px 12px; }
    .intro-chips { gap: 6px; margin-bottom: 22px; }
    .intro-chips li { font-size: .74rem; padding: 4px 10px; }
    .intro-actions { flex-direction: column; gap: 10px; }
    .intro-actions .btn { width: 100%; justify-content: center; }
}

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(240px, 1fr) 1.6fr; gap: clamp(24px, 5vw, 64px); align-items: start; }
.faq-grid .section-head { position: sticky; top: 100px; }
.faq-list { border-top: 1.5px solid var(--ink); }
.faq { border-bottom: 1px solid var(--line); }
.faq summary {
    list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center;
    padding: 18px 2px; font: 600 1rem/1.4 var(--font-body);
}
.faq summary::-webkit-details-marker { display: none; }
.faq-sign { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--mist); transition: transform .2s ease; }
.faq[open] .faq-sign { transform: rotate(45deg); background: var(--royal); color: #fff; }
.faq-answer { padding: 0 48px 22px 2px; color: var(--ink-soft); }
@media (max-width: 820px) { .faq-grid { grid-template-columns: 1fr; } .faq-grid .section-head { position: static; } }

/* ---------- Blog ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 32px); }
.post-card { display: flex; flex-direction: column; gap: 16px; }
.post-cover { display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 10; background: var(--mist); }
.post-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.post-card:hover .post-cover img { transform: scale(1.03); }
.post-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: var(--step--1); color: var(--ink-soft); margin: 0 0 6px; }
.post-meta a { color: var(--blue); font-weight: 600; text-decoration: none; }
.post-title { font-size: 1.14rem; line-height: 1.2; margin-bottom: 8px; }
.post-title a { color: var(--ink); text-decoration: none; }
.post-title a:hover { color: var(--link); }
.post-excerpt { color: var(--ink-soft); margin-bottom: 8px; }
.post-read { font-size: var(--step--1); color: var(--ink-soft); margin: 0; }
@media (max-width: 900px) { .post-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .post-grid { grid-template-columns: 1fr; } }

.pager-wrap { margin-top: 48px; }
.pager { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.pager a {
    display: inline-flex; align-items: center; gap: 6px; min-width: 42px; height: 42px; padding: 0 14px;
    justify-content: center; border-radius: 999px; border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 500;
}
.pager a[aria-current="page"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* Artikel */
.article-head { padding-top: clamp(40px, 6vw, 72px); }
.article-head h1 { font-size: clamp(1.75rem, 1.4rem + 1.9vw, 2.8rem); }
.article-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--ink-soft); font-size: var(--step--1); }
.article-cover { margin-block: 32px 40px; max-width: 780px; }
.article-cover img { width: 100%; border-radius: var(--radius-l); aspect-ratio: 16 / 8; object-fit: cover; }

.prose { font-size: 1rem; line-height: 1.78; max-width: 68ch; }
.prose h2 { font-size: var(--step-2); margin-top: 1.8em; }
.prose h3 { margin-top: 1.5em; }
.prose img { border-radius: var(--radius); margin-block: 1.5em; }
.prose blockquote { margin: 1.5em 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--sky); font-size: 1.06rem; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose pre { background: var(--navy); color: #E8EFFB; padding: 18px; border-radius: var(--radius); overflow-x: auto; font-size: .84rem; }
.prose .ticks, .prose .chips { padding-left: 0; }
.prose > :first-child { margin-top: 0; }

.share { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 40px 0; padding-top: 24px; border-top: 1px solid var(--line); }
.share span { font-weight: 600; margin-right: 4px; }
.share a, .share button {
    display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px;
    border: 1px solid var(--line); background: var(--surface); color: var(--ink); text-decoration: none;
    font: 500 .84rem/1.2 var(--font-body); cursor: pointer;
}
.share a:hover, .share button:hover { border-color: var(--ink); }
.share button span { font-weight: 500; margin: 0; }

.author-box { display: flex; gap: 20px; padding: 24px; border-radius: var(--radius-l); background: var(--surface); border: 1px solid var(--line); }
.author-box p { color: var(--ink-soft); }
.author-name { font: 650 1.08rem/1.2 var(--font-display); color: var(--ink) !important; margin-bottom: 6px; }
.prev-next { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 32px 0 0; }
.prev-next a { display: grid; gap: 4px; padding: 18px; border-radius: var(--radius); border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 600; }
.prev-next a:hover { border-color: var(--ink); }
.prev-next small { color: var(--ink-soft); font-weight: 500; }
.prev-next .next { text-align: right; grid-column: 2; }
@media (max-width: 600px) { .prev-next { grid-template-columns: 1fr; } .prev-next .next { grid-column: 1; } .author-box { flex-direction: column; } }

/* ---------- Halaman dalam ---------- */
.page-head {
    position: relative; overflow: hidden; isolation: isolate; color: #fff; background: #0B6E93;
    margin-top: calc(var(--header-h) * -1);
    padding: calc(var(--header-h) + clamp(40px, 6vw, 76px)) 0 clamp(78px, 9vw, 124px);
    margin-bottom: clamp(32px, 5vw, 60px);
}
.page-head .hero-ocean { object-position: 50% 35%; }
.page-head > .wrap { position: relative; z-index: 2; }
.page-head h1 { font-size: clamp(1.9rem, 1.5rem + 2.2vw, 3.1rem); max-width: 20ch; color: #fff; text-shadow: 0 2px 24px rgba(3, 30, 70, .45); }
.page-head .lead { color: #EAF8FC; text-shadow: 0 1px 12px rgba(3, 30, 70, .35); margin-bottom: 0; }
.page-head + .section { padding-top: 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: var(--step--1); color: var(--ink-soft); margin-bottom: 20px; }
.crumbs a { color: var(--ink-soft); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.page-head .crumbs { color: rgba(255, 255, 255, .72); }
.page-head .crumbs a { color: #D9F1F8; }
.page-head .crumbs a:hover { color: #fff; }
.page-head .crumbs [aria-current="page"] { color: #fff; font-weight: 600; }
/* halaman pencarian: kotak cari tetap putih di atas air */
.page-head .inline-search.big { border-color: rgba(255, 255, 255, .6); box-shadow: 0 18px 40px -20px rgba(3, 22, 56, .7); }
.page-head .search-count { color: #D9F1F8; }

.detail-grid { display: grid; grid-template-columns: 1fr 340px; gap: clamp(28px, 5vw, 64px); align-items: start; }
.detail-cover { width: 100%; border-radius: var(--radius-l); margin-bottom: 32px; }
.order-box { position: sticky; top: 96px; padding: 28px; border-radius: var(--radius-l); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); display: grid; gap: 10px; }
.order-box p { margin: 0; }
.order-label { color: var(--ink-soft); font-size: var(--step--1); }
.order-price { font: 800 var(--step-2)/1.05 var(--font-display); letter-spacing: -0.02em; white-space: nowrap; }
.order-unit { color: var(--ink-soft); margin-bottom: 8px !important; }
.order-meta { display: flex; align-items: center; gap: 8px; padding: 12px 0; border-block: 1px solid var(--line); margin-bottom: 8px !important; }
.order-note { font-size: var(--step--1); color: var(--ink-soft); text-align: center; }
.facts dl { margin: 0 0 12px; display: grid; gap: 4px; }
.facts dt { color: var(--ink-soft); font-size: var(--step--1); margin-top: 10px; }
.facts dt:first-child { margin-top: 0; }
.facts dd { margin: 0; font-weight: 600; }
.facts .chips { margin: 6px 0 0; }
@media (max-width: 900px) { .detail-grid { grid-template-columns: 1fr; } .order-box { position: static; } }

/* ---------- Kontak ---------- */
.contact-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.card-form { padding: clamp(22px, 4vw, 36px); border-radius: var(--radius-l); background: var(--surface); border: 1px solid var(--line); }
.form { display: grid; gap: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: .88rem; }
.field label small { color: var(--ink-soft); font-weight: 400; }
.field input, .field select, .field textarea, .subscribe input, .inline-search input {
    width: 100%; padding: 12px 14px; border-radius: var(--radius-s); border: 1.5px solid var(--line);
    background: var(--paper); color: var(--ink); font: 400 1rem/1.4 var(--font-body);
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus, .subscribe input:focus, .inline-search input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px color-mix(in srgb, var(--blue) 25%, transparent); }
.has-error input, .has-error textarea { border-color: #C2412D; }
.field-error { color: #C2412D; font-size: .84rem; margin: 0; }
.alert { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: var(--radius-s); font-weight: 500; }
.alert.ok { background: color-mix(in srgb, #16A36A 14%, var(--surface)); color: var(--ink); }
.alert.ok .icon { color: #16A36A; flex: none; margin-top: 2px; }
.alert.err { background: color-mix(in srgb, #C2412D 12%, var(--surface)); color: var(--ink); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { justify-self: start; }
.contact-side { display: grid; gap: 24px; }
.contact-wa {
    display: flex; gap: 16px; align-items: center; padding: 22px; border-radius: var(--radius-l);
    background: var(--navy); color: #fff; text-decoration: none;
}
.contact-wa .icon { color: var(--sky); flex: none; }
.contact-wa span { display: grid; }
.contact-wa strong { font: 650 1.08rem/1.2 var(--font-display); }
.contact-wa small { color: #A9BCE0; }
.contact-wa:hover strong { text-decoration: underline; }
.note { padding: 22px; border-radius: var(--radius-l); border: 1px dashed var(--line); }
.note h2 { font-size: 1.02rem; margin-bottom: 14px; }
.note .ticks { margin: 0; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }

/* ---------- Pencarian ---------- */
.search-dialog {
    width: min(680px, calc(100vw - 24px)); max-height: min(640px, calc(100vh - 80px)); margin: 10vh auto auto;
    padding: 0; border: 1px solid var(--line); border-radius: var(--radius-l);
    background: var(--surface); color: var(--ink); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .45);
}
.search-dialog::backdrop { background: rgba(6, 22, 58, .55); backdrop-filter: blur(3px); }
.search-dialog[open] { animation: pop .18s ease-out; }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.98); } }
.search-box { display: flex; align-items: center; gap: 12px; padding: 10px 12px 10px 20px; border-bottom: 1px solid var(--line); }
.search-box > .icon { color: var(--ink-soft); flex: none; }
.search-box input { flex: 1; border: 0; background: transparent; color: var(--ink); font: 500 1.04rem/1.4 var(--font-body); padding: 12px 0; min-width: 0; }
.search-box input:focus { outline: none; }
.search-box input::-webkit-search-cancel-button { display: none; }
.search-results { padding: 10px; overflow-y: auto; max-height: calc(min(640px, 100vh - 80px) - 70px); }
.search-hint { color: var(--ink-soft); padding: 14px 12px; margin: 0; }
.search-hint button { border: 0; background: var(--mist); color: var(--ink); padding: 2px 8px; border-radius: 6px; font: inherit; cursor: pointer; }
.suggest-list { list-style: none; margin: 0; padding: 0; }
.suggest-list a { display: grid; gap: 2px; padding: 12px 14px; border-radius: var(--radius-s); color: var(--ink); text-decoration: none; }
.suggest-list a:hover, .suggest-list a.is-active { background: var(--mist); }
.suggest-type { font-size: .78rem; color: var(--blue); font-weight: 600; }
.suggest-title { font-weight: 600; }
.suggest-text { color: var(--ink-soft); font-size: .92rem; }
.suggest-all { display: block; padding: 12px 14px; font-weight: 600; }

.inline-search { display: flex; gap: 10px; align-items: center; margin: 24px 0 8px; }
.inline-search.big { padding: 6px 6px 6px 18px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); max-width: 720px; }
.inline-search.big input { border: 0; background: transparent; font-size: 1rem; box-shadow: none !important; }
.inline-search.big > .icon { color: var(--ink-soft); flex: none; }
.search-count { color: var(--ink-soft); margin: 12px 0 0; }
.result-group { font-size: 1rem; font-family: var(--font-body); font-weight: 600; color: var(--ink-soft); letter-spacing: 0; margin: 40px 0 8px; }
.result-group:first-child { margin-top: 0; }
.results { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.results a { display: grid; gap: 4px; padding: 18px 4px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.results strong { font: 650 1.08rem/1.25 var(--font-display); }
.results a:hover strong { color: var(--link); }
.results span { color: var(--ink-soft); }
.results small { color: var(--ink-soft); font-size: var(--step--1); }

.empty { padding: 40px 0; display: grid; gap: 16px; justify-items: start; }
.empty p { color: var(--ink-soft); font-size: 1rem; margin: 0; max-width: 52ch; }

.not-found { text-align: left; }
.big-code { font: 800 clamp(6rem, 18vw, 12rem)/0.9 var(--font-display); letter-spacing: -0.06em; margin: 0 0 12px; background: var(--ribbon); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; background: linear-gradient(115deg, var(--navy) 35%, #0B2E86 75%, var(--royal)); color: #fff; padding: clamp(56px, 8vw, 104px) 0; }
.cta-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; }
.cta h2 { color: #fff; max-width: 18ch; }
.cta p { color: #B5C5E6; max-width: 52ch; margin: 0; }
.cta-actions { display: flex; flex-direction: column; gap: 12px; align-items: stretch; }
.cta-arc { position: absolute; right: -60px; top: -40px; height: calc(100% + 80px); width: auto; opacity: .9; pointer-events: none; }
.cta-arc path { fill: none; stroke-linecap: round; }
@media (max-width: 820px) { .cta-arc { opacity: .35; } }
@media (max-width: 820px) { .cta-inner { grid-template-columns: 1fr; } .cta-actions { align-items: flex-start; } }

/* ---------- Footer ---------- */
.site-footer { padding: clamp(56px, 7vw, 88px) 0 32px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 0.8fr 1.2fr; gap: 40px; }
.footer-about p { color: var(--ink-soft); margin: 16px 0 24px; max-width: 42ch; }
.footer-title { font: 600 .95rem/1.2 var(--font-body); letter-spacing: 0; color: var(--ink-soft); margin-bottom: 16px; }
.footer-links, .footer-contact, .footer-social { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-links a, .footer-social a { color: var(--ink); text-decoration: none; }
.footer-links a:hover, .footer-social a:hover { color: var(--link); text-decoration: underline; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .icon { color: var(--blue); flex: none; margin-top: 4px; }
.footer-contact a { color: var(--ink); }
.footer-social { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 20px; }
.subscribe { display: grid; gap: 8px; max-width: 420px; }
.subscribe label { font-weight: 600; font-size: .95rem; }
.subscribe-row { display: flex; gap: 8px; }
.subscribe-row input { flex: 1; min-width: 0; border-radius: 999px; padding-inline: 16px; }
.form-note { font-size: .9rem; margin: 0; }
.form-note.ok { color: #1F8A5B; }
.form-note.err { color: #C2412D; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: var(--step--1); }
.footer-bottom p { margin: 0; display: flex; gap: 16px; }
.footer-bottom a { color: var(--ink-soft); }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-about { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } .subscribe-row { flex-direction: column; } }

/* ---------- Tombol WhatsApp melayang ---------- */
.wa-float {
    position: fixed; right: 18px; bottom: 18px; z-index: 50;
    display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px 12px 14px;
    border-radius: 999px; background: #1F8A5B; color: #fff; text-decoration: none; font-weight: 600;
    box-shadow: 0 10px 30px -8px rgba(31, 138, 91, .6);
}
.wa-float:hover { background: #18734B; }
@media (max-width: 600px) { .wa-float span { display: none; } .wa-float { padding: 14px; } }

/* ---------- Gerak dikurangi ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
