/* CV Kayyo Engineering Indonesia - situs perusahaan
   Sistem visual v4 (Oktober 2026): satu skala huruf dan satu set token.
   Aturan pakai:
   - Di luar :root tidak ada nilai font-size, line-height, atau letter-spacing mentah.
   - Setiap komponen memakai salah satu peran tipografi di bagian 2.
   - Urutan berkas: token, dasar, peran tipografi, komponen, lalu satu blok media
     per titik henti (1120 / 940 / 641-940 / 640 px) di akhir berkas. */

/* =====================================================================
   0. TOKEN
   ===================================================================== */
:root {
  /* warna merek */
  --navy: #023576;
  --deep: #021a3d;
  --mid: #0b4a9a;
  --steel: #4d74ac;
  --sky: #8ec5f5;
  --mist: #eef3f9;
  --wa: #117a48;          /* teks hijau di putih 5,4:1; putih di atasnya 5,4:1 */
  --wa-dark: #0c5e37;

  /* teks di latar terang (kontras terhadap putih / mist) */
  --ink: #16212e;         /* 16,3:1  menu, label formulir */
  --text: #2c3c4f;        /* 11,3:1  teks isi, lead, catatan */
  --text-2: #3d4f63;      /* 8,4:1 / 7,5:1  paragraf kartu */
  --muted: #56657a;       /* 5,9:1 / 5,3:1  meta, keterangan */
  --label: #3b5f95;       /* 6,5:1 / 5,8:1  label huruf kapital */
  --err: #b3261e;         /* 6,5:1 */

  /* teks di latar gelap (kontras terhadap --mid, latar gelap paling terang) */
  --on-dark: #dce8f8;     /* 6,9:1 */
  --on-dark-2: #b9cbe6;   /* 5,2:1 */

  /* garis */
  --line: #d6dfea;        /* pemisah dekoratif */
  --line-strong: #7d8da3; /* 3,4:1  batas isian formulir (WCAG 1.4.11) */

  /* keluarga huruf */
  --font-h: 'Barlow', 'Bahnschrift', 'Segoe UI', system-ui, sans-serif;
  --font-b: 'Inter', 'Segoe UI', system-ui, -apple-system, Arial, sans-serif;

  /* skala ukuran: rasio 1,25 dari 16px, ditambah langkah-antara 14 dan 18.
     Hanya display, h1, dan h2 yang cair; setiap clamp punya komponen rem. */
  --fs-xs: .8125rem;      /* 13  label huruf kapital, lencana */
  --fs-sm: .875rem;       /* 14  meta, keterangan foto, catatan kaki, kaki situs */
  --fs-base: 1rem;        /* 16  semua teks bacaan, tombol, menu, formulir */
  --fs-md: 1.125rem;      /* 18  lead, judul kecil */
  --fs-lg: 1.25rem;       /* 20  judul kartu */
  --fs-xl: 1.5625rem;     /* 25  (22 di ponsel) subjudul, tagline, kutipan */
  --fs-2xl: 2rem;         /* 32  (24 di ponsel) nomor langkah */
  --fs-h2: clamp(1.625rem, 1.1rem + 2.2vw, 2.5rem);     /* 26 - 40 */
  --fs-h1: clamp(2rem, 1.2rem + 3vw, 3rem);             /* 32 - 48 */
  --fs-display: clamp(2.25rem, 1.2rem + 4vw, 3.75rem);  /* 36 - 60, hanya h1 beranda */

  /* jarak baris */
  --lh-h1: 1.15;
  --lh-h2: 1.2;
  --lh-h3: 1.25;
  --lh-ui: 1.2;           /* tombol, chip, menu */
  --lh-snug: 1.45;        /* teks kecil, label, isian */
  --lh-lead: 1.6;         /* lead, butir daftar */
  --lh-body: 1.65;        /* paragraf */
  --lh-none: 1;           /* angka besar */

  /* bobot */
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;

  /* jarak huruf */
  --ls-tight: -.01em;     /* h1 */
  --ls-label: .12em;      /* label huruf kapital */
  --ls-brand: .14em;      /* wordmark */

  /* panjang baris bacaan */
  --measure: 68ch;

  /* ruang: kelipatan 4px */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 20px;
  --sp-6: 24px;
  --sp-8: 32px;
  --sp-10: 40px;
  --sp-12: 48px;
  --pad-card: 24px;       /* 20 di ponsel */

  /* sudut */
  --r-sm: 6px;            /* lencana */
  --r-md: 10px;           /* tombol, isian, ubin, foto kecil */
  --r-lg: 16px;           /* semua kartu */
  --r-xl: 20px;           /* panel besar */
  --r-pill: 999px;        /* chip dan pil yang dapat diklik */

  /* kontrol dan target sentuh */
  --control-h: 48px;      /* tombol dan isian */
  --control-h-sm: 40px;   /* tombol kepala situs, chip di desktop */
  --tap: 44px;            /* minimum sentuh */

  /* bayangan */
  --shadow: 0 12px 34px rgba(2, 26, 61, .09);        /* kartu */
  --shadow-float: 0 10px 28px rgba(2, 26, 61, .2);   /* elemen melayang */

  --wrap: 1160px;
}

/* =====================================================================
   1. DASAR
   ===================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-b); font-size: var(--fs-base); font-weight: var(--fw-regular); line-height: var(--lh-body); color: var(--text); background: #fff; -webkit-font-smoothing: antialiased; overflow-x: hidden; overflow-wrap: break-word; }
img, svg { max-width: 100%; display: block; }
img { height: auto; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-h); font-weight: var(--fw-semibold); color: var(--navy); text-wrap: balance; }
h1 { font-size: var(--fs-h1); line-height: var(--lh-h1); letter-spacing: var(--ls-tight); }
h2 { font-size: var(--fs-h2); line-height: var(--lh-h2); }
h3, h4 { font-size: var(--fs-lg); line-height: var(--lh-h3); }
p { margin: 0 0 1em; text-wrap: pretty; }
b, strong { font-weight: var(--fw-semibold); }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: var(--navy); text-underline-offset: 3px; }
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.ic { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; display: inline-flex; align-items: center; min-height: var(--tap); padding: var(--sp-2) var(--sp-4); border-radius: var(--r-md); background: #fff; color: var(--navy); }
.skip:focus { left: 12px; }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
.skip:focus-visible, .topbar :focus-visible, .hero :focus-visible, .page-hero :focus-visible, .cta-band :focus-visible, .dl :focus-visible, .vm :focus-visible, .site-footer :focus-visible, .nf :focus-visible { outline-color: var(--sky); }
.to-top:focus-visible { box-shadow: 0 0 0 3px #fff, var(--shadow-float); }
/* animasi masuk (ditempatkan sebelum komponen agar efek hover komponen tetap berlaku) */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* =====================================================================
   2. PERAN TIPOGRAFI
   Satu-satunya tempat ukuran, jarak baris, jarak huruf, dan kapitalisasi
   komponen ditetapkan. Bawaan: h1 = --fs-h1, h2 = --fs-h2, h3/h4 = judul
   kartu (--fs-lg), teks lain = --fs-base.
   Hierarki ponsel  36 > 32 > 26 > 22 > 20 > 18 > 16 > 14 > 13
   Hierarki desktop 60 > 48 > 40 > 25 > 20 > 18 > 16 > 14 > 13
   ===================================================================== */

/* 2a. judul */
.hero h1 { font-size: var(--fs-display); }
h3.sub-h, .scopes-h, .why.bento li:first-child h3 { font-size: var(--fs-xl); }
.ccard h2 { font-size: var(--fs-lg); line-height: var(--lh-h3); }
.ptile b, .faq summary, .duo h3 { font-family: var(--font-h); font-weight: var(--fw-semibold); font-size: var(--fs-md); line-height: var(--lh-h3); }
.bcard b, .nav .sub b, .site-footer h2 { font-family: var(--font-h); font-weight: var(--fw-semibold); font-size: var(--fs-base); line-height: var(--lh-h3); }

/* 2b. lead, tagline, kutipan */
.lead, .hero .sub, .page-hero p, .cta-band h2 + p { font-size: var(--fs-md); line-height: var(--lh-lead); max-width: var(--measure); }
.hero .sub strong, .vm .q { font-family: var(--font-h); font-weight: var(--fw-medium); font-size: var(--fs-xl); line-height: var(--lh-h3); }

/* 2c. teks bacaan: 16px (bawaan body), termasuk di dalam kartu */
.ticks li { line-height: var(--lh-lead); }
.svc3 p, .pcard p, .proj p, .why p, .timeline p, .steps3 p, .commit p, .ccard p, .faq details p, .bcard .pt, .bcard .used { color: var(--text-2); }
/* panjang baris dibatasi di semua paragraf isi, juga saat kisi menjadi satu kolom */
main p, .note, .stats-note, .form-foot { max-width: var(--measure); }

/* 2d. teks kecil 14px: meta, keterangan foto, catatan kaki, navigasi sekunder */
.topbar, .crumbs, .hero .meta, .hero .caption, .stat span, .stats-note, .count, .proj .meta, .ptile span span, .nav .sub small, .form-foot, .gal figcaption, .about-ph figcaption, .line-ph figcaption, .site-footer { font-size: var(--fs-sm); line-height: var(--lh-snug); }
.foot-brand p { line-height: var(--lh-lead); }

/* 2e. label huruf kapital: satu gaya (13px, Barlow 600, .12em) */
.eyebrow, .line-kicker, .vm h2, .svc3 .ph .kind, .bcard .used strong { font-family: var(--font-h); font-weight: var(--fw-semibold); font-size: var(--fs-xs); line-height: var(--lh-snug); letter-spacing: var(--ls-label); text-transform: uppercase; }
/* lencana dan penomoran kecil 13px */
.pcard .brands-mini span, .proj .chips-mini span, .ph .ilus, .scope h4 span { font-family: var(--font-h); font-weight: var(--fw-semibold); font-size: var(--fs-xs); line-height: var(--lh-snug); }
/* wordmark */
.brand span { font-family: var(--font-h); font-weight: var(--fw-bold); font-size: var(--fs-xs); line-height: var(--lh-h3); letter-spacing: var(--ls-brand); }
.bcard .lg .tx, .brand-strip .tx { font-family: var(--font-h); font-weight: var(--fw-bold); font-size: var(--fs-lg); line-height: var(--lh-h3); }

/* 2f. angka */
.stat b, .line-no, .why .k, .steps3 .n, .timeline .dot, .vm ol li::before, .scope h4 span { font-family: var(--font-h); font-weight: var(--fw-semibold); font-variant-numeric: tabular-nums; }
.stat b, .line-no, .why .k, .steps3 .n, .timeline .dot { line-height: var(--lh-none); }
.stat b { font-size: var(--fs-h2); }
.line-no, .why.bento li:first-child .k { font-size: var(--fs-h1); }
.why .k, .steps3 .n { font-size: var(--fs-2xl); }
.timeline .dot { font-size: var(--fs-base); }
.vm ol li::before { font-size: var(--fs-md); line-height: calc(var(--fs-base) * var(--lh-body)); }

/* 2g. tombol, tautan aksi, chip, menu */
.btn, .wa-float, .mobile-cta a, .line-nav a, .more, .link-wa, .link-mail, .chip-btn, .skip { font-family: var(--font-h); font-weight: var(--fw-semibold); font-size: var(--fs-base); line-height: var(--lh-ui); }
.chip-btn { font-size: var(--fs-sm); }
.nav > ul > li:not(.nav-cta) > a { font-size: var(--fs-base); font-weight: var(--fw-medium); line-height: var(--lh-ui); }

/* 2h. formulir: isian 16px agar Safari iOS tidak memperbesar halaman */
.form label { font-size: var(--fs-base); font-weight: var(--fw-medium); line-height: var(--lh-snug); }
.form input, .form select, .form textarea { font-family: var(--font-b); font-size: var(--fs-base); font-weight: var(--fw-regular); line-height: var(--lh-snug); }
.form-err { font-weight: var(--fw-medium); }

/* =====================================================================
   3. TATA LETAK UMUM
   ===================================================================== */
.section { padding-block: clamp(60px, 8vw, 100px); }
.section.alt { background: var(--mist); }
.head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 44px); }
.head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--sp-5) var(--sp-8); margin-bottom: clamp(28px, 4vw, 44px); }
.head-row .head { margin-bottom: 0; }
.eyebrow { margin: 0 0 var(--sp-3); color: var(--label); }
.lead { color: var(--text); }
.head .lead { margin: var(--sp-4) 0 0; }
.note { margin: 0; padding: var(--sp-4) var(--sp-5); background: var(--mist); border-left: 3px solid var(--steel); border-radius: 0 var(--r-md) var(--r-md) 0; color: var(--text); }
.section.alt .note { background: #fff; }
.mt { margin-top: clamp(36px, 5vw, 56px); }
.actions { margin: var(--sp-6) 0 0; }
.sub-h { margin-bottom: var(--sp-5); }
.ticks li { position: relative; padding-left: var(--sp-5); margin-bottom: var(--sp-2); }
.ticks li:last-child { margin-bottom: 0; }
.ticks li::before { content: ''; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; background: var(--steel); clip-path: polygon(0 0, 100% 50%, 0 100%); }
.tile { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: var(--r-md); background: var(--navy); color: #fff; }
.tile .ic { width: 24px; height: 24px; }
.cta { display: flex; flex-wrap: wrap; gap: var(--sp-3); }

/* =====================================================================
   4. TOMBOL DAN TAUTAN AKSI
   ===================================================================== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2); min-height: var(--control-h); padding: var(--sp-3) var(--sp-5); border: 1.5px solid transparent; border-radius: var(--r-md); text-align: center; text-decoration: none; cursor: pointer; transition: transform .15s, background-color .15s, box-shadow .15s, border-color .15s, color .15s; }
.btn .ic { width: 1.125em; height: 1.125em; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-dark); transform: translateY(-1px); box-shadow: var(--shadow-float); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--mist); transform: translateY(-1px); }
.btn-outline { background: transparent; border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-mail { background: #fff; border-color: var(--navy); color: var(--navy); }
.btn-mail:hover { background: var(--navy); color: #fff; }
.hero .btn-mail, .page-hero .btn-mail, .cta-band .btn-mail { background: transparent; border-color: rgba(255, 255, 255, .6); color: #fff; }
.hero .btn-mail:hover, .page-hero .btn-mail:hover, .cta-band .btn-mail:hover { background: #fff; color: var(--navy); }
.btn-wa .ic, .wa-float .ic, .mobile-cta .ic { stroke-width: 1.6; }
.header-cta { min-height: var(--control-h-sm); padding: var(--sp-2) var(--sp-4); }

/* tautan aksi di kartu: tinggi sentuh 44px */
.more, .link-wa, .link-mail { display: inline-flex; align-items: center; gap: var(--sp-2); min-height: var(--tap); text-decoration: none; }
.more, .link-mail { color: var(--navy); }
.link-wa { color: var(--wa); }
.more .ic, .link-wa .ic, .link-mail .ic { width: 1.125em; height: 1.125em; }
.more .ic { transition: transform .15s; }
.more:hover .ic { transform: translateX(4px); }
.link-mail .ic { color: var(--steel); }
.link-wa:hover, .link-mail:hover { text-decoration: underline; }
.links { display: flex; flex-wrap: wrap; align-items: center; gap: 0 var(--sp-5); margin-top: auto; }

/* =====================================================================
   5. BILAH ATAS, KEPALA SITUS, MENU
   ===================================================================== */
.topbar { background: var(--deep); color: var(--on-dark-2); }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 0 var(--sp-4); min-height: var(--control-h-sm); }
.topbar ul { display: flex; flex-wrap: wrap; gap: 0 var(--sp-6); }
.topbar li { display: flex; align-items: center; gap: var(--sp-2); }
.topbar .ic { width: 15px; height: 15px; color: var(--sky); }
.topbar ul:first-child li:first-child .ic { color: #7fe0a8; }
.topbar a { display: inline-block; padding-block: var(--sp-2); color: var(--on-dark); text-decoration: none; }
.topbar a:hover { color: #fff; text-decoration: underline; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.site-header.scrolled { box-shadow: var(--shadow); }
.site-header > .wrap { display: flex; align-items: center; gap: var(--sp-5); min-height: 72px; }
.brand { display: flex; align-items: center; gap: var(--sp-3); min-height: var(--tap); margin-right: auto; text-decoration: none; }
.brand img { width: 38px; height: auto; }
.brand span { color: var(--navy); }

.nav > ul { display: flex; align-items: center; gap: var(--sp-6); }
.nav > ul > li:not(.nav-cta) > a { display: inline-flex; align-items: center; min-height: var(--tap); color: var(--ink); text-decoration: none; border-bottom: 2px solid transparent; transition: color .15s, border-color .15s; }
.nav > ul > li:not(.nav-cta) > a:hover, .nav > ul > li:not(.nav-cta) > a.active { color: var(--navy); border-bottom-color: var(--navy); }
.nav .chev { width: 15px; height: 15px; margin-left: var(--sp-1); transition: transform .15s; }
.nav .has-sub { position: relative; }
.nav .sub { position: absolute; left: -18px; top: 100%; z-index: 60; display: none; min-width: 330px; padding: var(--sp-2); background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-float); }
.nav .has-sub:hover .sub, .nav .has-sub:focus-within .sub { display: block; }
.nav .has-sub:hover .chev, .nav .has-sub:focus-within .chev { transform: rotate(180deg); }
.nav .sub a { display: flex; align-items: center; gap: var(--sp-3); min-height: var(--tap); padding: var(--sp-3); border-radius: var(--r-md); text-decoration: none; }
.nav .sub a:hover { background: var(--mist); }
.nav .sub .ic { width: 22px; height: 22px; color: var(--steel); }
.nav .sub span, .nav .sub b, .nav .sub small { display: block; }
.nav .sub b { color: var(--navy); }
.nav .sub small { margin-top: 2px; color: var(--muted); }
.nav-toggle { display: none; align-items: center; justify-content: center; width: var(--tap); height: var(--tap); border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; color: var(--navy); cursor: pointer; }
.nav-toggle .ic { width: 22px; height: 22px; }
.nav-toggle .x, .nav-toggle[aria-expanded="true"] .bars, .nav .nav-cta { display: none; }
.nav-toggle[aria-expanded="true"] .x { display: block; }

/* =====================================================================
   6. HERO BERANDA DAN HERO HALAMAN DALAM
   ===================================================================== */
.hero, .page-hero, .cta-band { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: linear-gradient(150deg, var(--deep) 0%, var(--navy) 60%, var(--mid) 100%); }
.hero::before, .page-hero::before, .cta-band::before { content: ''; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 44px 44px; }
.hero.foto, .page-hero.foto { background-color: var(--deep); background-size: cover; background-position: center; }
.hero.foto::before { opacity: .5; }
/* lapisan gelap di atas foto: di desktop tetap pekat sampai melewati ujung kanan teks
   (teks >= 4,5:1 bahkan di atas piksel putih); sisi kanan foto dibiarkan lebih terang */
.hero.foto::after, .page-hero.foto::after { content: ''; position: absolute; inset: 0; z-index: -1; }
.hero.foto::after { background: linear-gradient(90deg, rgba(2, 20, 48, .95) 0%, rgba(2, 26, 61, .86) 60%, rgba(2, 40, 92, .3) 100%); background: linear-gradient(90deg, rgba(2, 20, 48, .95) 0, rgba(2, 26, 61, .86) max(50% + 80px, 700px), rgba(2, 40, 92, .3) 100%); }
.page-hero.foto::after { background: linear-gradient(90deg, rgba(2, 20, 48, .95) 0%, rgba(2, 26, 61, .86) 70%, rgba(2, 40, 92, .45) 100%); background: linear-gradient(90deg, rgba(2, 20, 48, .95) 0, rgba(2, 26, 61, .86) max(50% + 200px, 780px), rgba(2, 40, 92, .45) 100%); }

.hero .wrap { padding-block: clamp(70px, 10vw, 130px) clamp(120px, 13vw, 170px); }
.hero-text { max-width: 700px; }
.hero .eyebrow, .cta-band .eyebrow { color: var(--sky); }
.hero h1 { margin: 0 0 var(--sp-5); color: #fff; }
.hero .sub { margin-bottom: var(--sp-8); color: var(--on-dark); }
.hero .sub strong { display: block; margin-bottom: var(--sp-2); color: #fff; }
.hero .meta { display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-6); margin-top: var(--sp-8); color: var(--on-dark-2); }
.hero .meta li { display: flex; align-items: center; gap: var(--sp-2); }
.hero .meta .ic { width: 1.125em; height: 1.125em; color: var(--sky); }
.hero .caption { position: absolute; right: var(--sp-5); bottom: 82px; z-index: 1; margin: 0; padding: var(--sp-1) var(--sp-3); border-radius: var(--r-sm); background: rgba(2, 20, 48, .78); color: #fff; }

.page-hero .wrap { padding-block: clamp(40px, 6vw, 72px); }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 0 var(--sp-2); color: var(--on-dark-2); }
.crumbs a { display: inline-block; padding-block: var(--sp-2); color: var(--sky); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.page-hero h1 { max-width: 20em; margin: var(--sp-2) 0 var(--sp-4); color: #fff; }
.page-hero p { margin: 0; color: var(--on-dark); }
.shape { position: absolute; top: 0; right: 0; z-index: -1; }
.page-hero .shape { width: min(34vw, 360px); height: min(34vw, 360px); }
.shape.s1 { background: var(--steel); clip-path: polygon(46% 0, 100% 0, 100% 38%); opacity: .85; }
.shape.s2 { background: var(--sky); clip-path: polygon(78% 0, 85% 0, 100% 30%, 100% 46%); }
.shape.s3 { background: #fff; clip-path: polygon(62% 0, 67% 0, 100% 66%, 100% 76%); opacity: .1; }

/* =====================================================================
   7. ANGKA RINGKAS
   ===================================================================== */
.stats { position: relative; z-index: 2; margin-top: -64px; }
.stats-card { padding: var(--sp-6) var(--sp-8); background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-6); padding-bottom: var(--sp-5); border-bottom: 1px solid var(--line); }
.stats-grid.n3 { grid-template-columns: repeat(3, 1fr); }
.stat { padding: 2px 0 2px var(--sp-4); border-left: 3px solid var(--steel); }
.stat b { display: block; color: var(--navy); }
.stat span { display: block; margin-top: var(--sp-2); color: var(--muted); }
.stats-note { margin: var(--sp-4) 0 0; color: var(--text-2); }

/* =====================================================================
   8. TENTANG
   ===================================================================== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.about-grid h2 { margin-bottom: var(--sp-4); }
.about-ph { position: relative; margin: 0; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r-xl); background: var(--deep); }
.about-ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vm { position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(24px, 4vw, 56px); padding: clamp(24px, 4vw, 48px); border-radius: var(--r-xl); background: linear-gradient(135deg, var(--deep), var(--navy)); color: #fff; }
.vm img { position: absolute; left: -60px; bottom: -70px; width: 260px; opacity: .07; }
.vm h2 { position: relative; margin-bottom: var(--sp-4); color: var(--sky); }
.vm .q { position: relative; margin: 0; color: #fff; }
.vm ol { position: relative; counter-reset: m; }
.vm ol li { position: relative; padding-left: var(--sp-12); margin-bottom: var(--sp-4); color: var(--on-dark); counter-increment: m; }
.vm ol li:last-child { margin-bottom: 0; }
.vm ol li::before { content: '0' counter(m); position: absolute; left: 0; top: 0; color: var(--sky); }

/* =====================================================================
   9. KARTU BERFOTO: JASA (.svc3), PRODUK (.pcard), PROYEK (.proj)
   Satu bentuk: foto 16:10 di atas, isi berpadding --pad-card di bawah.
   ===================================================================== */
.svc3, .pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-5); }
.projgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-5); }
.svc3 .card, .pcard, .proj { display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); }
.proj[hidden] { display: none; }
.svc3 .card { transition: opacity .6s ease, transform .3s ease, box-shadow .2s; }
.svc3 .card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }

/* bingkai foto; tanpa foto, ikon di tengah latar bergaris */
.svc3 .ph, .pcard .ph, .proj .ph { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 10; overflow: hidden; background-color: var(--deep); background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(140deg, var(--deep), var(--navy)); background-size: 32px 32px, 32px 32px, auto; }
.svc3 .ph img, .pcard .ph img, .proj .ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pcard .ph .ic.big, .proj .ph > .ic { width: 64px; height: 64px; color: var(--sky); }
/* gambar teknik: ditampilkan utuh di latar putih, tidak dipotong */
.ph.gbr img, .line-ph.gbr img, .ph img[src*="layout-rumah-pompa"], .line-ph img[src*="layout-rumah-pompa"] { object-fit: contain; background: #fff; padding: 8px; }
/* di kartu jasa, gambar teknik digeser ke bawah agar tidak tertutup label di pojok kiri atas */
.svc3 .ph.gbr img, .svc3 .ph img[src*="layout-rumah-pompa"] { object-position: center bottom; }

/* label di atas foto */
.svc3 .ph .kind { position: absolute; left: var(--sp-3); top: var(--sp-3); padding: var(--sp-1) var(--sp-2); border-radius: var(--r-sm); background: rgba(2, 20, 48, .85); color: #fff; }
.ph .ilus { position: absolute; left: var(--sp-3); top: var(--sp-3); padding: 2px var(--sp-2); border-radius: var(--r-sm); background: rgba(2, 20, 48, .82); color: #fff; }

/* isi kartu */
.svc3 .bd, .pcard .bd, .proj .bd { display: flex; flex-direction: column; flex: 1; padding: var(--pad-card); }
.svc3 h3, .pcard h3, .proj h3 { margin-bottom: var(--sp-2); }
.svc3 p, .pcard p, .proj p { margin-bottom: var(--sp-3); }
.svc3 .ticks, .pcard .ticks, .proj .ticks { margin-bottom: var(--sp-5); }
.pcard .brands-mini, .proj .chips-mini { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
/* merek dan tautan aksi selalu di dasar kartu, sama seperti kartu proyek */
.pcard .brands-mini { margin: auto 0 var(--sp-4); }
.pcard .brands-mini + .links { margin-top: 0; }
.proj .chips-mini { margin-top: auto; }
.pcard .brands-mini span, .proj .chips-mini span { padding: 2px var(--sp-2); border-radius: var(--r-sm); background: var(--mist); color: var(--navy); }
.proj .chips-mini span.pc { background: var(--navy); color: #fff; }
.proj .meta { display: flex; flex-wrap: wrap; gap: var(--sp-1) var(--sp-4); margin-bottom: var(--sp-2); color: var(--muted); }
.proj .meta span { display: inline-flex; align-items: center; gap: var(--sp-1); }
.proj .meta .ic { width: 15px; height: 15px; color: var(--steel); }

/* saringan proyek */
.proj-tools { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-bottom: var(--sp-4); }
.chip-btn { min-height: var(--control-h-sm); padding: 0 var(--sp-4); border: 1.5px solid var(--line); border-radius: var(--r-pill); background: #fff; color: var(--navy); cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; }
.chip-btn:hover { border-color: var(--navy); }
.chip-btn[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.count { margin: 0 0 var(--sp-5); color: var(--muted); }
.proj-note { margin-top: var(--sp-6); }

/* =====================================================================
   10. HALAMAN LAYANAN
   ===================================================================== */
.line-nav { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-bottom: var(--sp-6); }
.line-nav a { display: inline-flex; align-items: center; gap: var(--sp-2); min-height: var(--tap); padding: 0 var(--sp-4); border: 1.5px solid var(--line); border-radius: var(--r-pill); background: #fff; color: var(--navy); text-decoration: none; transition: border-color .15s; }
.line-nav a:hover { border-color: var(--navy); }
.line-nav .ic { width: 18px; height: 18px; color: var(--steel); }
.line { overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--shadow); }
.line + .line { margin-top: var(--sp-8); }
.line-head { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 26px); padding: clamp(22px, 3.2vw, 34px) clamp(20px, 3.4vw, 40px); background: linear-gradient(135deg, var(--deep), var(--navy)); color: #fff; }
.line-no { color: var(--sky); }
.line-kicker { margin: 0 0 var(--sp-1); color: var(--sky); }
.line-head h2 { color: #fff; }
.line-ic { width: clamp(44px, 6vw, 72px); height: clamp(44px, 6vw, 72px); margin-left: auto; color: var(--sky); }
.line-body { padding: clamp(20px, 3.4vw, 40px); }
.line-top { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(18px, 3vw, 36px); align-items: start; margin-bottom: var(--sp-2); }
/* foto layanan 16:10; keterangannya panjang, jadi diletakkan di bawah foto (tidak menutupi gambar) */
.line-ph { margin: 0; overflow: hidden; border-radius: var(--r-md); background: var(--deep); }
.line-ph img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.line-ph figcaption { padding: var(--sp-3) var(--sp-4); color: var(--on-dark); }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-5); margin-top: var(--sp-6); }
.duo > div { padding: var(--pad-card); border-radius: var(--r-lg); }
.duo .sit { background: var(--mist); }
.duo .res { background: linear-gradient(135deg, var(--deep), var(--navy)); color: var(--on-dark); }
.duo h3 { margin-bottom: var(--sp-3); color: var(--navy); }
.duo .res h3 { color: #fff; }
.duo .res .ticks li::before { background: var(--sky); }
.scopes-h { margin: var(--sp-8) 0 0; }
.scopes { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-5); margin: var(--sp-5) 0 var(--sp-6); }
.scopes.n3 { grid-template-columns: repeat(3, 1fr); }
.scope { padding: var(--pad-card); background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); }
.scope h4 { display: flex; align-items: baseline; gap: var(--sp-3); margin-bottom: var(--sp-4); padding-bottom: var(--sp-3); border-bottom: 1px solid var(--line); }
.scope h4 span { color: var(--label); }

/* =====================================================================
   11. KEUNGGULAN, GARIS WAKTU, LANGKAH, KOMITMEN, TIM
   ===================================================================== */
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-5); }
.why li { position: relative; padding: var(--pad-card); background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--navy); border-radius: var(--r-lg); }
.why .wi { position: absolute; top: var(--sp-5); right: var(--sp-5); width: 26px; height: 26px; color: var(--steel); opacity: .5; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.why .k { color: var(--steel); }
.why h3 { margin: var(--sp-3) 0 var(--sp-2); }
.why p { margin: 0; }
.why.bento li { transition: opacity .6s ease, transform .3s ease, box-shadow .2s; }
.why.bento li:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.why.bento li:first-child { grid-row: span 2; display: flex; flex-direction: column; justify-content: flex-end; min-height: 300px; overflow: hidden; border-color: var(--navy); color: var(--on-dark); background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(160deg, var(--deep), var(--navy)); background-size: 36px 36px, 36px 36px, auto; }
.why.bento li:first-child .k { margin-bottom: auto; color: var(--sky); }
.why.bento li:first-child h3 { color: #fff; }
.why.bento li:first-child p { color: var(--on-dark); }
.why.bento li:first-child .wi { top: -22px; right: -30px; width: 190px; height: 190px; color: var(--sky); opacity: .16; stroke-width: .9; }
.why.bento li:last-child { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr 1.4fr; gap: var(--sp-2) var(--sp-8); align-items: center; }
.why.bento li:last-child h3 { margin: 0; }
.why.bento li:last-child .wi { display: none; }

.timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-8) 0; }
.timeline li { position: relative; padding: var(--sp-12) var(--sp-6) 0 0; }
.timeline li::before { content: ''; position: absolute; left: 0; right: 0; top: 19px; height: 2px; background: linear-gradient(90deg, var(--steel), var(--sky)); opacity: .55; }
.timeline .dot { position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: #fff; box-shadow: 0 0 0 6px #fff; }
.section.alt .timeline .dot { box-shadow: 0 0 0 6px var(--mist); }
.timeline h3 { margin-bottom: var(--sp-2); }
.timeline p { margin: 0; }

.steps3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-5); }
.steps3 li { position: relative; padding: var(--pad-card); background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); }
.steps3 .n { color: var(--steel); }
.steps3 h3 { margin: var(--sp-3) 0 var(--sp-2); }
.steps3 p { margin: 0; }

.commit { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-5); }
.commit li { display: flex; align-items: flex-start; gap: var(--sp-4); padding: var(--pad-card); background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); }
.commit h4 { margin: 0 0 var(--sp-2); }
.commit p { margin: 0; }

.team { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-4); }
.team li { display: flex; align-items: flex-start; gap: var(--sp-4); padding: var(--sp-4) var(--sp-5); background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); }

/* =====================================================================
   12. PRODUK DAN MEREK
   ===================================================================== */
.ptiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-4); }
.ptile { display: flex; align-items: center; gap: var(--sp-4); padding: var(--sp-4) var(--sp-5); background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); color: var(--ink); text-decoration: none; }
.ptile, .js .ptile { transition: opacity .6s ease, transform .3s ease, border-color .15s, box-shadow .15s; }
.ptile:hover, .js .ptile.in:hover { border-color: var(--navy); box-shadow: var(--shadow); transform: translateY(-2px); }
.ptile b { display: block; color: var(--navy); }
.ptile span span { display: block; margin-top: 2px; color: var(--muted); }
.ptile .go { width: 20px; height: 20px; margin-left: auto; color: var(--steel); }

.brandwall { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-4); }
.bcard { display: flex; flex-direction: column; gap: var(--sp-3); padding: var(--pad-card); background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); }
.bcard .lg { display: flex; align-items: center; height: 52px; }
.bcard .lg img { width: auto; max-width: 160px; max-height: 46px; object-fit: contain; }
.bcard .lg .tx { color: var(--navy); }
.bcard b { display: block; color: var(--navy); }
.bcard .pt { margin: 0; }
.bcard .used { margin: auto 0 0; padding-top: var(--sp-3); border-top: 1px solid var(--line); }
.bcard .used strong { display: block; margin-bottom: var(--sp-1); color: var(--label); }
.brand-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--sp-5) var(--sp-8); }
.brand-strip img { width: auto; height: 34px; max-width: 130px; object-fit: contain; filter: grayscale(.15); }
.brand-strip .tx { color: var(--navy); }

/* =====================================================================
   13. GALERI DAN KETERANGAN FOTO
   ===================================================================== */
/* tiga kolom: pada empat kolom keterangan menutupi 36-46% foto */
.gal { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-3); }
.gal figure { position: relative; margin: 0; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r-md); background: var(--deep); }
.gal figure.tall { grid-row: span 2; aspect-ratio: auto; }
.gal img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gal figure:hover img { transform: scale(1.03); }
/* teks keterangan selalu berada di atas lapisan >= 85%, jadi baris pertama pun >= 4,5:1 */
.gal figcaption, .about-ph figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: var(--sp-6) var(--sp-3) var(--sp-3); color: #fff; background: linear-gradient(rgba(2, 20, 48, 0) 0, rgba(2, 20, 48, .85) 20px, rgba(2, 20, 48, .92) 100%); }
.about-ph figcaption { padding-inline: var(--sp-4); }

/* =====================================================================
   14. KONTAK, FORMULIR, TANYA JAWAB
   ===================================================================== */
.cgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-5); margin-bottom: var(--sp-12); }
.ccard { display: flex; flex-direction: column; gap: var(--sp-3); padding: var(--pad-card); background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); }
.ccard.wa .tile { background: var(--wa); }
.ccard h2, .ccard p { margin: 0; }
.ccard .btn { align-self: flex-start; margin-top: auto; }
.contact-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }

.form { display: grid; gap: var(--sp-4); }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); }
.form label { display: block; color: var(--ink); }
.form label > span { margin-left: var(--sp-1); color: var(--err); }
.form input, .form select, .form textarea { display: block; width: 100%; min-height: var(--control-h); margin-top: var(--sp-2); padding: 0 var(--sp-4); color: var(--ink); background: #fff; border: 1.5px solid var(--line-strong); border-radius: var(--r-md); }
.form textarea { min-height: 140px; padding-block: var(--sp-3); resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--navy); outline-offset: 2px; border-color: var(--navy); }
.form .bad, .form .bad:focus { border-color: var(--err); }
.form-err { margin: 0; color: var(--err); }
.form .send { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-3); }
.form-foot { margin: 0; color: var(--muted); }

.prep { margin-bottom: var(--sp-5); }
.box { padding: var(--pad-card); background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); }
.box h3 { margin-bottom: var(--sp-3); }
.dl { position: relative; overflow: hidden; padding: var(--pad-card); border-radius: var(--r-lg); background: linear-gradient(135deg, var(--deep), var(--navy)); color: #fff; }
.dl img { position: absolute; right: -40px; bottom: -50px; width: 200px; opacity: .08; }
.dl h3 { position: relative; margin-bottom: var(--sp-2); color: #fff; }
.dl p { position: relative; color: var(--on-dark); }
.dl .btn { position: relative; }
.map { height: clamp(300px, 42vw, 440px); overflow: hidden; background: #dfe7f1; border: 1px solid var(--line); border-radius: var(--r-lg); }
.map iframe { display: block; width: 100%; height: 100%; border: 0; }

.faq { max-width: 56rem; }
.faq details { margin-bottom: var(--sp-3); overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); }
.faq summary { display: flex; align-items: center; gap: var(--sp-4); padding: var(--sp-4) var(--sp-5); color: var(--navy); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:focus-visible { outline: 3px solid var(--navy); outline-offset: -3px; border-radius: var(--r-lg); }
.faq summary::after { content: ''; flex: none; width: 12px; height: 12px; margin-left: auto; border-right: 2px solid var(--steel); border-bottom: 2px solid var(--steel); transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq details[open] { border-color: var(--navy); box-shadow: var(--shadow); }
.faq details p { margin: 0; padding: 0 var(--sp-5) var(--sp-5); }

/* =====================================================================
   15. PITA AJAKAN
   ===================================================================== */
.cta-band { padding-block: clamp(48px, 7vw, 84px); }
.cta-band .c1 { position: absolute; right: 0; bottom: 0; z-index: -1; width: min(36vw, 380px); height: min(22vw, 220px); background: var(--steel); clip-path: polygon(100% 34%, 100% 100%, 34% 100%); opacity: .8; }
.cta-band .c2 { position: absolute; right: 0; bottom: 0; z-index: -1; width: min(36vw, 380px); height: min(30vw, 300px); background: var(--sky); clip-path: polygon(100% 10%, 100% 22%, 18% 100%, 8% 100%); }
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sp-6) var(--sp-12); }
.cta-band h2 { max-width: 18em; margin: 0 0 var(--sp-3); color: #fff; }
.cta-band h2 + p { margin: 0; color: var(--on-dark); }

/* =====================================================================
   16. KAKI SITUS DAN TOMBOL MELAYANG
   ===================================================================== */
.site-footer { background: var(--deep); color: var(--on-dark-2); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.25fr 1.35fr; gap: var(--sp-8) var(--sp-10); align-items: start; padding-block: var(--sp-12) var(--sp-10); }
.site-footer .brand span { color: #fff; }
.site-footer h2 { margin-bottom: var(--sp-2); color: #fff; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
/* tautan diberi padding agar mudah disentuh */
.site-footer li > a, .foot-contact li > span { display: inline-block; padding-block: var(--sp-2); }
.foot-brand p { max-width: 30em; margin: var(--sp-4) 0 0; }
.foot-contact li { display: flex; align-items: flex-start; gap: var(--sp-3); }
.foot-contact .ic { width: 17px; height: 17px; margin-top: 10px; color: var(--sky); }
.foot-bottom { padding-block: var(--sp-4); border-top: 1px solid rgba(255, 255, 255, .12); }
.foot-bottom .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--sp-2) var(--sp-6); }
.foot-bottom p { margin: 0; }

.wa-float { position: fixed; right: var(--sp-5); bottom: var(--sp-5); z-index: 46; display: inline-flex; align-items: center; gap: var(--sp-2); min-height: var(--control-h); padding: 0 var(--sp-5) 0 var(--sp-4); border-radius: var(--r-pill); background: var(--wa); color: #fff; text-decoration: none; box-shadow: var(--shadow-float); transition: transform .15s, background-color .15s; }
.wa-float:hover { background: var(--wa-dark); transform: translateY(-2px); }
.wa-float .ic { width: 24px; height: 24px; }
.to-top { position: fixed; right: var(--sp-5); bottom: 84px; z-index: 40; display: grid; place-items: center; width: var(--control-h); height: var(--control-h); border: 0; border-radius: 50%; background: var(--navy); color: #fff; cursor: pointer; box-shadow: var(--shadow-float); opacity: 0; pointer-events: none; transform: translateY(8px); transition: opacity .2s, transform .2s; }
.to-top.show { opacity: 1; pointer-events: auto; transform: none; }
.to-top .ic { width: 22px; height: 22px; }
/* bilah kontak ponsel (tampil di <= 640px) */
.mobile-cta { display: none; grid-template-columns: 1.3fr 1fr 1fr; gap: var(--sp-2); position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; padding: var(--sp-3) var(--sp-4) calc(var(--sp-3) + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-top: 1px solid var(--line); box-shadow: var(--shadow-float); }
.mobile-cta a { display: flex; align-items: center; justify-content: center; gap: var(--sp-2); min-height: var(--control-h); padding: 0 var(--sp-2); border-radius: var(--r-md); text-decoration: none; }
.mobile-cta .ic { width: 20px; height: 20px; }
.mobile-cta .mc-wa { background: var(--wa); color: #fff; }
.mobile-cta .mc-mail { background: var(--navy); color: #fff; }
.mobile-cta .mc-tel { border: 1.5px solid var(--navy); color: var(--navy); }

/* =====================================================================
   17. HALAMAN 404
   ===================================================================== */
.nf { display: grid; place-items: center; min-height: 100vh; min-height: 100dvh; padding: var(--sp-10) var(--sp-5); text-align: center; color: #fff; background: linear-gradient(150deg, var(--deep), var(--navy) 60%, var(--mid)); }
.nf img { width: 72px; margin: 0 auto var(--sp-6); }
.nf h1 { margin-bottom: var(--sp-3); color: #fff; }
.nf p { margin-bottom: var(--sp-6); color: var(--on-dark); }

/* =====================================================================
   18. RESPONSIF (satu blok per titik henti), GERAK DIKURANGI, CETAK
   ===================================================================== */
@media (max-width: 1120px) {
  .nav > ul { gap: var(--sp-4); }
  .site-header .brand span { display: none; }
  .why { grid-template-columns: repeat(2, 1fr); }
  .why.bento li:last-child { grid-template-columns: auto 1fr; }
  .why.bento li:last-child p { grid-column: 1 / -1; }
  .scopes.n3 { grid-template-columns: repeat(2, 1fr); }
  .brandwall { grid-template-columns: repeat(3, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 940px) {
  /* menu ponsel */
  .nav-toggle { display: inline-flex; }
  .site-header .brand span { display: block; }
  .header-cta { display: none; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; display: none; max-height: calc(100vh - 124px); max-height: calc(100dvh - 124px); overflow-y: auto; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-float); }
  .nav.open { display: block; }
  .nav > ul { flex-direction: column; align-items: stretch; gap: 0; padding: var(--sp-2) var(--sp-5) var(--sp-5); }
  .nav > ul > li:not(.nav-cta) > a { display: flex; padding: var(--sp-3) var(--sp-1); border-bottom: 1px solid var(--line); }
  .nav > ul > li:not(.nav-cta) > a:hover, .nav > ul > li:not(.nav-cta) > a.active { border-bottom-color: var(--line); }
  .nav .chev, .nav .sub small { display: none; }
  .nav .sub { position: static; display: block; min-width: 0; padding: var(--sp-1) 0 var(--sp-1) var(--sp-3); border: 0; border-bottom: 1px solid var(--line); border-radius: 0; box-shadow: none; }
  .nav .sub a { padding: var(--sp-2) var(--sp-1); }
  .nav .sub b { font-weight: var(--fw-medium); }
  .nav .nav-cta { display: block; margin-top: var(--sp-4); }
  .nav .nav-cta .btn { display: flex; width: 100%; color: #fff; }
  .topbar .tb-loc { display: none; }

  /* teks memenuhi lebar layar: lapisan foto dibuat rata (>= 80%), kontras teks >= 4,5:1 */
  .hero.foto::after, .page-hero.foto::after { background: linear-gradient(180deg, rgba(2, 20, 48, .9) 0%, rgba(2, 26, 61, .8) 100%); }

  /* kisi */
  .about-grid, .vm, .contact-grid, .line-top, .duo { grid-template-columns: 1fr; }
  .stats-grid, .ptiles, .svc3, .pgrid, .cgrid, .gal, .brandwall, .timeline, .steps3 { grid-template-columns: repeat(2, 1fr); }
}

/* hanya kisi dua kolom (641-940 px): kartu terakhir yang sendirian tidak dibiarkan
   menempel di kiri. Kartu tanpa foto dibentangkan selebar kisi; kartu berfoto
   ditaruh di tengah dengan lebar satu kolom agar foto tetap 16:10 */
@media (min-width: 641px) and (max-width: 940px) {
  .ptiles > :last-child:nth-child(odd), .cgrid > :last-child:nth-child(odd), .steps3 > :last-child:nth-child(odd), .stats-grid > :last-child:nth-child(odd) { grid-column: 1 / -1; }
  .svc3 > :last-child:nth-child(odd), .pgrid > :last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - var(--sp-5) / 2); }
}

@media (max-width: 640px) {
  :root { --fs-xl: 1.375rem; --fs-2xl: 1.5rem; --pad-card: 20px; }
  .wrap { width: min(100% - 32px, var(--wrap)); }

  .topbar .wrap { justify-content: center; }
  .topbar ul:last-child, .topbar .tb-mail { display: none; }

  .stats-card { padding: var(--sp-5) var(--sp-4) var(--sp-4); }
  .vm ol li { padding-left: var(--sp-10); }
  .stats-grid, .stats-grid.n3 { grid-template-columns: 1fr; gap: var(--sp-4); }
  .hero .caption, .line-ic, .wa-float { display: none; }
  .hero .cta .btn, .page-hero .cta .btn, .cta-band .cta .btn, .line .cta .btn, .form .send .btn, .nf .cta .btn { flex: 1 1 100%; }

  .ptiles, .svc3, .pgrid, .projgrid, .cgrid, .gal, .brandwall, .scopes, .scopes.n3, .why, .team, .commit, .steps3, .foot-grid, .form .row2 { grid-template-columns: 1fr; }
  .gal figure.tall { grid-row: auto; aspect-ratio: 4 / 3; }
  .why.bento li:first-child { grid-row: auto; min-height: 0; }
  .why.bento li:first-child .k { margin-bottom: var(--sp-4); }
  .why.bento li:last-child { display: block; }
  .why.bento li:last-child h3 { margin: var(--sp-3) 0 var(--sp-2); }
  .timeline { grid-template-columns: 1fr; gap: 0; }
  .timeline li { padding: var(--sp-1) 0 var(--sp-8) 60px; }
  .timeline li::before { left: 19px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; background: linear-gradient(180deg, var(--steel), var(--sky)); }
  .timeline li:last-child::before { display: none; }
  .steps3 { gap: var(--sp-4); }

  /* saringan proyek: satu baris yang dapat digeser, chip setinggi 44px */
  .chip-btn { min-height: var(--tap); }
  .proj-tools { flex-wrap: nowrap; overflow-x: auto; margin-inline: -16px; padding: var(--sp-1) 16px var(--sp-3); scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
  .proj-tools .chip-btn { flex: 0 0 auto; white-space: nowrap; }

  /* tautan bilah atas, jejak navigasi, dan kaki situs setinggi 44px di layar sentuh */
  .topbar a, .crumbs a, .site-footer li > a, .foot-contact li > span { padding-block: var(--sp-3); }
  .foot-contact .ic { margin-top: 14px; }
  .foot-grid { padding-block: var(--sp-10) var(--sp-8); }
  .site-footer { padding-bottom: 80px; }
  .mobile-cta { display: grid; }
}

/* layar di bawah 360 px: ikon bilah kontak bawah disembunyikan agar tombol Telepon tidak terpotong */
@media (max-width: 359px) {
  .mobile-cta { gap: var(--sp-1); padding-inline: var(--sp-2); }
  .mobile-cta .ic { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .ptile, .js .ptile, .svc3 .card, .why.bento li, .gal img, .more .ic, .wa-float, .to-top { transition: none; }
}

@media print {
  .topbar, .site-header, .to-top, .wa-float, .mobile-cta, .cta, .cta-band, .map { display: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .tile, .timeline .dot { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* =====================================================================
   19. TAMBAHAN v5 (15 Okt 2026): kartu proyek dan tautan tengah
   (tombol hero halaman dalam di ponsel ada di blok media 640 px)
   ===================================================================== */
/* kartu proyek: tautan "Tanya pekerjaan serupa" tepat di bawah chip merek,
   supaya dua margin-top: auto tidak membagi ruang kosong di dasar kartu */
.proj .chips-mini + .links { margin-top: var(--sp-3); }

/* tautan di tengah bawah galeri dan deretan logo Beranda: lepas dari batas
   panjang baris "main p" agar benar-benar di tengah kisi */
.actions.center { max-width: none; text-align: center; }