/* ==========================================================================
   ASTAFIN — Cat Pelapis Fungsional
   Stylesheet utama (satu file untuk semua halaman)
   ========================================================================== */

:root {
  --navy: #13235b;
  --navy-700: #1b2f73;
  --navy-900: #0a1438;
  --red: #d7262b;
  --red-700: #b51d22;
  --blue: #1f74d0;
  --blue-50: #eaf3fd;
  --red-50: #fdeeee;
  --ink: #121826;
  --body: #39414f;
  --muted: #646d7e;
  --line: #e2e6ee;
  --bg: #ffffff;
  --bg-soft: #f4f6fa;
  --studio: #161a21;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 8px 24px rgba(16, 24, 40, .07);
  --shadow-lg: 0 24px 60px rgba(10, 20, 56, .18);
  --wrap: 1200px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.015em; }
h1 { font-size: clamp(2rem, 4.4vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.35rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section--soft { background: var(--bg-soft); }
.section--navy { background: var(--navy); color: #cfd6ea; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--red); margin-bottom: 12px;
}
.eyebrow::before { content: ""; width: 22px; height: 3px; background: currentColor; border-radius: 2px; }
.section--navy .eyebrow { color: #ff8a8d; }
.lead { font-size: 1.12rem; color: var(--muted); }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--navy); color: #fff; padding: 10px 16px; z-index: 1000; }
.skip-link:focus { left: 10px; top: 10px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.icon { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px; border: 2px solid transparent;
  font: 700 .98rem/1 var(--font); cursor: pointer; text-decoration: none !important;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-700); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-900); }
.btn--ghost { border-color: rgba(255,255,255,.5); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.btn--outline { border-color: var(--navy); color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: #fff; }
.btn--wa { background: #1fa855; color: #fff; }
.btn--wa:hover { background: #178a45; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--navy); }
.link-arrow .icon { transition: transform .2s; }
.link-arrow:hover { text-decoration: none; color: var(--red); }
.link-arrow:hover .icon { transform: translateX(3px); }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--navy-900); color: #b9c2dc; font-size: .82rem; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.topbar a { color: #e3e8f5; display: inline-flex; align-items: center; gap: 6px; }
.topbar__links { display: flex; gap: 22px; }
@media (max-width: 720px) { .topbar__tag { display: none; } .topbar .wrap { justify-content: center; } }

.header {
  position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.96);
  backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line);
}
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 76px; }
.logo { display: inline-flex; align-items: center; flex: none; text-decoration: none !important; }
.logo img { height: 44px; width: auto; }
.logo--light img { height: 40px; }
@media (max-width: 420px) { .header .logo img { height: 36px; } }

.nav { display: flex; align-items: center; gap: 4px; }
.nav__list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 4px; padding: 10px 14px; border-radius: 10px;
  color: var(--ink); font-weight: 600; font-size: .95rem; background: none; border: 0; font-family: inherit; cursor: pointer;
}
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--red); text-decoration: none; background: var(--bg-soft); }
.nav__link .icon { width: 1em; height: 1em; }
.dropdown {
  position: absolute; top: calc(100% + 8px); left: -12px; width: 340px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 10px;
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s;
}
.nav__item:hover .dropdown, .nav__item:focus-within .dropdown, .nav__item.is-open .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown a { display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: 10px; color: var(--ink); }
.dropdown a:hover { background: var(--bg-soft); text-decoration: none; }
.dropdown img { width: 48px; height: 64px; object-fit: cover; border-radius: 8px; background: var(--studio); }
.dropdown strong { display: block; font-size: .92rem; }
.dropdown small { color: var(--muted); font-size: .8rem; }
.header__cta { margin-left: 10px; padding: 11px 18px; font-size: .9rem; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; color: var(--navy); cursor: pointer; }
.nav-toggle .icon { width: 28px; height: 28px; }

@media (max-width: 1020px) {
  .nav-toggle { display: inline-flex; }
  /* absolute ke header (bukan fixed): backdrop-filter pada .header membuat
     elemen fixed di dalamnya ikut terkunci ke header, sehingga menu terpotong */
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    height: calc(100vh - 76px); height: var(--nav-h, calc(100dvh - 76px));
    background: #fff; flex-direction: column; align-items: stretch; justify-content: flex-start;
    padding: 16px 20px 40px; overflow-y: auto; overscroll-behavior: contain; gap: 12px;
    border-top: 1px solid var(--line); box-shadow: 0 20px 40px rgba(10,20,56,.12);
    opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__list { flex-direction: column; align-items: stretch; }
  .nav__link { width: 100%; padding: 14px 12px; font-size: 1.05rem; justify-content: space-between; }
  .dropdown { position: static; width: auto; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 8px; display: none; }
  .nav__item.is-open .dropdown { display: block; }
  .header__cta { margin: 8px 0 0; }
  body.nav-open { overflow: hidden; }
}
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; overflow: hidden; color: #c9d0e2;
  background:
    radial-gradient(900px 500px at 78% 48%, #4a4f5c 0%, #2a2e37 38%, transparent 70%),
    linear-gradient(180deg, #171b22 0%, #0f1217 100%);
}
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px;
  background: linear-gradient(90deg, var(--navy) 0 60%, var(--red) 60% 80%, var(--blue) 80%);
}
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 40px; min-height: 620px; padding-top: 48px; padding-bottom: 48px; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: #ff5a5f; }
.hero h1 em.blue { color: #6fb3ff; }
.hero .lead { color: #b6bfd3; max-width: 560px; margin-bottom: 30px; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px;
  font-size: .8rem; font-weight: 700; background: rgba(255,255,255,.08); color: #e6eaf4; border: 1px solid rgba(255,255,255,.14);
}
.chip--red { background: var(--red-50); color: var(--red-700); border-color: #f7c9cb; }
.chip--blue { background: var(--blue-50); color: #155ba6; border-color: #c7defa; }
.chip--navy { background: #e8ebf5; color: var(--navy); border-color: #d4d9ea; }
.hero__visual { position: relative; height: 560px; }
.hero__visual img {
  position: absolute; height: 100%; width: auto; max-width: none; object-fit: contain;
  -webkit-mask-image: radial-gradient(ellipse 46% 50% at 50% 52%, #000 62%, transparent 100%);
          mask-image: radial-gradient(ellipse 46% 50% at 50% 52%, #000 62%, transparent 100%);
}
.hero__visual .h-back { right: -60px; top: -20px; height: 88%; opacity: .92; }
.hero__visual .h-front { left: -30px; bottom: -30px; height: 100%; }
@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; min-height: 0; text-align: left; }
  .hero__visual { height: 400px; margin: 0 -20px; }
  .hero__visual .h-front { left: 50%; transform: translateX(-80%); }
  .hero__visual .h-back { right: 50%; transform: translateX(85%); }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: linear-gradient(135deg, var(--navy-900), var(--navy) 60%, var(--navy-700)); color: #c3cbe2; position: relative; overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%;
  border: 60px solid rgba(255,255,255,.04);
}
.page-hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px;
  background: linear-gradient(90deg, var(--red) 0 30%, transparent 30%);
}
.page-hero .wrap { position: relative; padding-top: 48px; padding-bottom: 56px; }
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 3.8vw, 2.9rem); max-width: 820px; }
.page-hero .lead { color: #c3cbe2; max-width: 720px; margin: 0; }
.crumbs { font-size: .85rem; margin-bottom: 18px; }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: 6px; color: #7d89ad; }
.crumbs a { color: #e3e8f5; }
.crumbs [aria-current] { color: #9aa6c7; }

/* ---------- Feature strip ---------- */
.strip { background: #fff; border-bottom: 1px solid var(--line); }
.strip .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip__item { display: flex; gap: 14px; align-items: flex-start; padding: 26px 22px; border-right: 1px solid var(--line); }
.strip__item:last-child { border-right: 0; }
.strip__item h3 { font-size: .98rem; margin: 0 0 2px; }
.strip__item p { font-size: .86rem; color: var(--muted); margin: 0; }
.ico-badge {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; flex: none;
  background: var(--red-50); color: var(--red);
}
.ico-badge--blue { background: var(--blue-50); color: var(--blue); }
.ico-badge--navy { background: #e8ebf5; color: var(--navy); }
.ico-badge .icon { width: 24px; height: 24px; }
@media (max-width: 960px) {
  .strip .wrap { grid-template-columns: 1fr 1fr; }
  .strip__item:nth-child(2) { border-right: 0; }
  .strip__item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .strip .wrap { grid-template-columns: 1fr; }
  .strip__item { border-right: 0; border-bottom: 1px solid var(--line); padding: 18px 4px; }
}

/* ---------- Category tiles ---------- */
.cats { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.cat {
  position: relative; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; overflow: hidden;
  border-radius: var(--radius-lg); min-height: 340px; color: #fff; text-decoration: none !important;
  box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s;
}
.cat:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.cat--fire { background: radial-gradient(500px 300px at 85% 60%, #5d2427, transparent 70%), linear-gradient(135deg, #2a0e10, #7a1518); }
.cat--water { background: radial-gradient(500px 300px at 85% 60%, #2d5a8f, transparent 70%), linear-gradient(135deg, #0c2340, #1556a0); }
.cat__body { padding: 34px; position: relative; z-index: 1; }
.cat__body h3 { color: #fff; font-size: 1.65rem; }
.cat__body p { color: rgba(255,255,255,.82); font-size: .95rem; }
.cat__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.cat__tags span { font-size: .75rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.14); }
.cat__more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.cat__img { height: 100%; position: relative; }
.cat__img img {
  position: absolute; bottom: -10%; right: -8%; height: 120%; width: auto; max-width: none;
  -webkit-mask-image: radial-gradient(ellipse 44% 46% at 50% 52%, #000 60%, transparent 100%);
          mask-image: radial-gradient(ellipse 44% 46% at 50% 52%, #000 60%, transparent 100%);
}
@media (max-width: 960px) { .cats { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .cat { grid-template-columns: 1fr; } .cat__img { height: 240px; } .cat__img img { right: 50%; transform: translateX(50%); bottom: -14%; } }

/* ---------- Product cards ---------- */
.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid--3, .grid--4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .grid--3, .grid--2, .grid--4 { grid-template-columns: 1fr; } }

.pcard {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; transition: transform .25s, box-shadow .25s; color: inherit; text-decoration: none !important;
}
.pcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pcard__img { background: var(--studio); aspect-ratio: 4 / 4.2; overflow: hidden; }
.pcard__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; transition: transform .5s; }
.pcard:hover .pcard__img img { transform: scale(1.04); }
.pcard__body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.pcard__body h3 { margin-bottom: 6px; }
.pcard__body p { color: var(--muted); font-size: .93rem; flex: 1; }
.pcard__meta { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }

/* ---------- Generic cards ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card h3 { margin-top: 14px; }
.card p { color: var(--muted); font-size: .95rem; margin: 0; }
.card--link { transition: border-color .2s, box-shadow .2s; color: inherit; text-decoration: none !important; display: block; }
.card--link:hover { border-color: #c8d0e2; box-shadow: var(--shadow); }

/* ---------- Split layout ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.split--top { align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.media-frame { border-radius: var(--radius-lg); overflow: hidden; background: var(--studio); box-shadow: var(--shadow-lg); }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }

.checklist { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist .icon { color: #1fa855; margin-top: 3px; }
.section--navy .checklist .icon { color: #6fe0a0; }

/* ---------- How intumescent works ---------- */
.steps3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.step3 { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius-lg); padding: 26px; }
.step3 svg { width: 100%; height: auto; margin-bottom: 18px; border-radius: 12px; background: rgba(0,0,0,.18); }
.step3 h3 { font-size: 1.08rem; }
.step3 h3::before { counter-increment: s; content: "0" counter(s) "  "; color: #ff8a8d; }
.step3 p { font-size: .93rem; margin: 0; }
@media (max-width: 860px) { .steps3 { grid-template-columns: 1fr; } }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 560px; }
th, td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--navy); color: #fff; font-weight: 700; }
tbody tr:last-child td, tbody tr:last-child th { border-bottom: 0; }
tbody th { font-weight: 700; color: var(--ink); width: 34%; background: var(--bg-soft); }
.compare td:first-child { font-weight: 700; color: var(--ink); background: var(--bg-soft); }

/* ---------- Process steps ---------- */
.process { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: p; }
.process li { position: relative; padding: 24px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); }
.process li::before {
  counter-increment: p; content: counter(p); display: grid; place-items: center; width: 40px; height: 40px;
  border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800; margin-bottom: 14px;
}
.process h3 { font-size: 1.02rem; }
.process p { font-size: .9rem; color: var(--muted); margin: 0; }
@media (max-width: 960px) { .process { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .process { grid-template-columns: 1fr; } }

/* ---------- Article cards ---------- */
.acard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; color: inherit; text-decoration: none !important; transition: box-shadow .2s, transform .2s; }
.acard:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.acard__img { aspect-ratio: 16 / 9; background: var(--studio); overflow: hidden; }
.acard__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.acard__body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.acard__body time { font-size: .8rem; color: var(--muted); font-weight: 600; }
.acard__body h3 { margin: 6px 0 8px; font-size: 1.12rem; }
.acard__body p { font-size: .92rem; color: var(--muted); flex: 1; }

/* ---------- Prose (articles, legal) ---------- */
.prose { max-width: 760px; font-size: 1.05rem; }
.prose h2 { font-size: 1.6rem; margin-top: 1.8em; }
.prose h3 { font-size: 1.22rem; margin-top: 1.5em; }
.prose li { margin-bottom: .4em; }
.prose .callout { background: var(--blue-50); border-left: 4px solid var(--blue); padding: 16px 20px; border-radius: 0 12px 12px 0; margin: 1.5em 0; }
.prose .callout--warn { background: var(--red-50); border-color: var(--red); }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; align-items: start; }
.article-meta { display: flex; flex-wrap: wrap; gap: 16px; font-size: .88rem; color: #aab4d0; margin-top: 16px; }
.aside-box { position: sticky; top: 100px; display: grid; gap: 20px; }
@media (max-width: 960px) { .article-layout { grid-template-columns: 1fr; } .aside-box { position: static; } }

/* ---------- Product detail ---------- */
.pd { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.pd__gallery { position: sticky; top: 100px; }
.pd__main { border-radius: var(--radius-lg); overflow: hidden; background: var(--studio); aspect-ratio: 896 / 1195; }
.pd__main img { width: 100%; height: 100%; object-fit: cover; }
.pd__info h1 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.pd__sub { font-size: 1.1rem; color: var(--muted); }
.pd__chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; }
.pd__box { background: var(--bg-soft); border-radius: var(--radius); padding: 22px; margin: 26px 0; }
.pd__box h2 { font-size: 1.1rem; margin-bottom: 12px; }
.pd__uses { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.pd__uses li { background: #fff; border: 1px solid var(--line); padding: 7px 12px; border-radius: 10px; font-size: .88rem; font-weight: 600; color: var(--ink); }
@media (max-width: 900px) { .pd { grid-template-columns: 1fr; } .pd__gallery { position: static; max-width: 460px; } }

.tabs { margin-top: 8px; }
.tabs__list { display: flex; gap: 4px; border-bottom: 2px solid var(--line); overflow-x: auto; }
.tabs__btn {
  padding: 14px 18px; font: 700 .95rem var(--font); background: none; border: 0; color: var(--muted); cursor: pointer;
  border-bottom: 3px solid transparent; margin-bottom: -2px; white-space: nowrap;
}
.tabs__btn[aria-selected="true"] { color: var(--navy); border-color: var(--red); }
.tabs__panel { padding: 28px 0 0; }
.tabs__panel[hidden] { display: none; }
.no-js .tabs__panel[hidden] { display: block; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 0 22px; }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 32px 20px 0; font-weight: 700; color: var(--ink); position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; font-weight: 500; color: var(--red); transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details > div { padding: 0 0 20px; color: var(--body); }
.faq details > div p:last-child { margin: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: clamp(32px, 5vw, 56px);
  background: linear-gradient(120deg, var(--navy-900), var(--navy) 55%, #24408f);
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; align-items: center; color: #c9d1e8;
}
.cta-band::after { content: ""; position: absolute; right: -80px; bottom: -80px; width: 280px; height: 280px; border-radius: 50%; background: rgba(215,38,43,.25); filter: blur(10px); }
.cta-band h2 { color: #fff; }
.cta-band p { margin: 0; }
.cta-band .btn-row { justify-content: flex-end; position: relative; z-index: 1; }
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; } .cta-band .btn-row { justify-content: flex-start; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.contact-list strong { display: block; color: var(--ink); }
.contact-list a, .contact-list span { color: var(--body); }
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(22px, 4vw, 36px); box-shadow: var(--shadow); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-weight: 700; font-size: .88rem; color: var(--ink); }
.field input, .field select, .field textarea {
  font: inherit; padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-50); }
.field textarea { min-height: 130px; resize: vertical; }
.form__note { font-size: .82rem; color: var(--muted); margin: 12px 0 0; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-900); color: #9ea9c8; font-size: .93rem; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; padding: 64px 0 40px; }
.footer h2 { color: #fff; font-size: .95rem; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a { color: #c9d1e8; }
.footer a:hover { color: #fff; }
.footer__about p { margin: 16px 0 0; max-width: 340px; }
.footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer__contact .icon { color: #ff8a8d; margin-top: 3px; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 20px 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .84rem; }
.footer__bottom a { color: #9ea9c8; }
@media (max-width: 900px) { .footer__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__top { grid-template-columns: 1fr; } }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 58px; height: 58px; border-radius: 50%;
  background: #1fa855; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(31,168,85,.45);
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.06); }
.wa-float .icon { width: 30px; height: 30px; }

/* Grid children must be allowed to shrink (tables / long text) */
.form__row > *, .field input, .field select, .field textarea { min-width: 0; width: 100%; }
.split > *, .pd > *, .contact-grid > *, .article-layout > *, .grid > *, .cta-band > * { min-width: 0; }
.contact-list a, .contact-list span { overflow-wrap: anywhere; }

/* ---------- Misc ---------- */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.center { text-align: center; }
.mt-lg { margin-top: 40px; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.stat { border-left: 3px solid var(--red); padding-left: 14px; }
.stat strong { display: block; color: var(--ink); font-size: 1.05rem; }
.stat span { font-size: .88rem; color: var(--muted); }
@media (max-width: 560px) { .stat-row { grid-template-columns: 1fr; } }
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.notfound .big { font-size: clamp(5rem, 16vw, 9rem); font-weight: 800; color: var(--navy); line-height: 1; letter-spacing: -.04em; }
.notfound .big span { color: var(--red); }

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

/* Panah dropdown berputar saat terbuka */
.nav__link .icon { transition: transform .2s; }
.nav__item.is-open [data-dropdown] .icon { transform: rotate(180deg); }
