/* Safe Fire Solution — gaya halaman publik (Versi 1: Industrial) */
:root {
  --ink: #16181B;
  --char: #1F2328;
  --char-2: #2A2F35;
  --char-line: #3A3F46;
  --paper: #F4F2EE;
  --line: #D9D5CD;
  --muted: #4A4F57;
  --soft: #C9C5BD;
  --soft-2: #A9AEB5;
  --accent: #C8261E;
  --accent-ink: #A81F18;
  --hi: #FF6B5E;
  --yellow: #F2B705;
  --display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --body: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); color: var(--ink); background: var(--paper); line-height: 1.5; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent-ink); }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }

.skip { position: absolute; left: -9999px; top: 8px; background: #fff; color: var(--ink); padding: 10px 16px; z-index: 100; border-radius: 4px; }
.skip:focus { left: 8px; }

.wrap { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.stack { display: flex; flex-direction: column; gap: 28px; }
.stack-sm { display: flex; flex-direction: column; gap: 16px; }
.stack-xs { display: flex; flex-direction: column; gap: 8px; }
.narrow { max-width: 720px; }

/* Tipografi */
.h2 { font-family: var(--display); font-weight: 800; font-size: clamp(36px, 5vw, 60px); line-height: 1; text-transform: uppercase; }
.h2-sm { font-size: clamp(30px, 4vw, 44px); }
.h3 { font-family: var(--display); font-weight: 700; font-size: 28px; line-height: 1.1; text-transform: uppercase; }
.h3-sm { font-size: 24px; }
.lead { font-size: 17px; line-height: 1.7; color: var(--muted); }
.eyebrow { font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.eyebrow-light { color: var(--hi); }

/* Tombol */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 14px 26px; border-radius: 4px; font-weight: 600; font-size: 16px; border: 0; cursor: pointer; font-family: inherit; line-height: 1.2; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { color: #fff; filter: brightness(0.92); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { color: #fff; background: #000; }
.btn-ghost { border: 1px solid #8A8F96; color: var(--paper); }
.btn-ghost:hover { color: #fff; border-color: #fff; }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { color: var(--ink); background: var(--paper); }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.hazard { height: 8px; background: repeating-linear-gradient(-45deg, var(--yellow) 0 18px, var(--ink) 18px 36px); }
.hazard-sm { height: 6px; background: repeating-linear-gradient(-45deg, var(--yellow) 0 14px, var(--ink) 14px 28px); }

/* Bar atas */
.topbar { background: var(--ink); color: var(--paper); font-size: 14px; }
.topbar-in { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 24px; padding-top: 10px; padding-bottom: 10px; }
.topbar-msg { display: inline-flex; align-items: center; gap: 10px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); display: inline-block; box-shadow: 0 0 0 4px rgba(200, 38, 30, .25); }
.topbar-hot { color: var(--paper); font-weight: 600; }
.topbar-hot:hover { color: #fff; text-decoration: underline; }

/* Header */
.header { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 16px; padding-bottom: 16px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand:hover { color: var(--ink); }
.brand-mark { width: 44px; height: 44px; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; border-radius: 4px; flex-shrink: 0; }
.brand-logo { width: 44px; height: 44px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--display); font-weight: 800; font-size: 24px; letter-spacing: 0.04em; text-transform: uppercase; }
.brand-tag { font-size: 12px; color: var(--muted); margin-top: 4px; letter-spacing: 0.08em; text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: 28px; font-weight: 500; font-size: 15px; }
.nav .btn { min-height: 44px; padding: 10px 20px; font-size: 15px; }
.nav-toggle { display: none; width: 48px; height: 48px; border: 1px solid var(--line); background: #fff; border-radius: 4px; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--ink); }

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 20px; }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 12px; border-bottom: 0; padding: 14px 20px; }
  .brand-tag { display: none; }
}

/* Hero */
.hero { background: var(--char); color: var(--paper); }
.hero-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 56px; align-items: center; padding-top: 96px; padding-bottom: 104px; }
.hero-copy { display: flex; flex-direction: column; gap: 28px; }
.hero-badge { align-self: flex-start; border: 1px solid var(--muted); padding: 8px 14px; border-radius: 4px; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--soft); }
.hero-title { font-family: var(--display); font-weight: 800; font-size: clamp(46px, 7vw, 88px); line-height: 0.95; text-transform: uppercase; letter-spacing: 0.01em; }
.hero-hi { color: var(--hi); }
.hero-sub { font-size: 19px; line-height: 1.6; color: var(--soft); max-width: 560px; }
.hero-media { position: relative; min-height: 440px; border-radius: 6px; overflow: visible; }
.hero-media img { width: 100%; height: 100%; min-height: 440px; object-fit: cover; border-radius: 6px; }
.hero-ph { min-height: 440px; height: 100%; border-radius: 6px; border: 2px dashed #5A5F66; background: var(--char-2); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; color: #8A8F96; font-weight: 600; font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; text-align: center; padding: 24px; }
.hero-float { position: absolute; left: -1px; bottom: 28px; background: var(--paper); color: var(--ink); padding: 18px 22px; border-radius: 0 6px 6px 0; display: flex; align-items: center; gap: 14px; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }
.hero-float-ic { width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.hero-float-tx { display: flex; flex-direction: column; }
.hero-float-l { font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.hero-float-v { font-family: var(--display); font-weight: 700; font-size: 22px; }
@media (max-width: 600px) {
  .hero-grid { padding-top: 64px; padding-bottom: 72px; gap: 40px; }
  .hero-media, .hero-media img, .hero-ph { min-height: 300px; }
  .hero-sub { font-size: 17px; }
}

/* Strip standar */
.standards { background: #fff; border-bottom: 1px solid var(--line); }
.standards-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding-top: 28px; padding-bottom: 28px; }
.standards-l { font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.standards-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 36px; font-family: var(--display); font-weight: 700; font-size: 22px; color: var(--char); letter-spacing: 0.03em; }

/* Section umum */
.section { padding: 112px 0; }
.section-white { background: #fff; }
.section-top { border-top: 1px solid var(--line); }
.section-dark { background: var(--char); color: var(--paper); }
@media (max-width: 700px) { .section { padding: 72px 0; } }
.split-head { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 24px 56px; align-items: end; }
.row-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.two-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 64px; }
.link-underline { font-weight: 600; border-bottom: 2px solid var(--ink); padding-bottom: 4px; }

/* Layanan */
.svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 2px; background: var(--line); border: 2px solid var(--line); }
.svc { background: #fff; padding: 36px 32px; display: flex; flex-direction: column; gap: 16px; }
.svc p { font-size: 16px; line-height: 1.65; color: var(--muted); }
.svc-ic { color: var(--accent-ink); }

/* Darurat */
.emergency { background: var(--accent); color: #fff; }
.emergency-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; padding-top: 56px; padding-bottom: 56px; }
.emergency-in p { font-size: 17px; line-height: 1.6; max-width: 640px; }
.btn-hot { font-family: var(--display); font-weight: 700; font-size: 26px; letter-spacing: 0.03em; padding: 16px 28px; }

/* Proses */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 32px; }
.step { display: flex; flex-direction: column; gap: 14px; border-top: 3px solid var(--ink); padding-top: 24px; }
.step-n { font-family: var(--display); font-weight: 800; font-size: 48px; color: var(--accent); line-height: 1; }
.step p { font-size: 16px; line-height: 1.65; color: var(--muted); }
.h3 + p { margin-top: 0; }

/* Sektor */
.sector-list { list-style: none; margin: 0; padding: 0; }
.sector-list li { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px 16px; padding: 20px 0; border-bottom: 1px solid var(--char-line); }
.sector-n { font-family: var(--display); font-weight: 700; font-size: 26px; text-transform: uppercase; }
.sector-d { font-size: 14px; color: var(--soft-2); }
.why { display: flex; flex-direction: column; gap: 20px; justify-content: center; }
.why-card { background: var(--char-2); border-radius: 6px; padding: 32px; display: flex; flex-direction: column; gap: 10px; }
.why-card .h3 { font-size: 26px; color: #fff; }
.why-card p { font-size: 16px; line-height: 1.65; color: var(--soft); }

/* Pelatihan */
.train-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 20px; }
.train { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.train p { font-size: 15px; line-height: 1.6; color: var(--muted); }
.chip { align-self: flex-start; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; background: var(--paper); padding: 6px 10px; border-radius: 3px; }
.train-meta { margin-top: auto; font-size: 14px; color: var(--muted); }

/* Kontak */
.contact-list { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 18px; font-size: 16px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list a { text-decoration: underline; text-underline-offset: 3px; }
.ic-accent { color: var(--accent-ink); flex-shrink: 0; margin-top: 1px; }

.form { background: var(--paper); border-radius: 6px; padding: 36px; display: flex; flex-direction: column; gap: 18px; align-self: start; }
@media (max-width: 600px) { .form { padding: 24px 20px; } }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 18px; }
.form label { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 600; }
.form input, .form select, .form textarea { min-height: 48px; padding: 12px 14px; border: 1px solid #8F8A80; border-radius: 4px; background: #fff; font: inherit; font-weight: 400; font-size: 16px; color: var(--ink); width: 100%; }
.form textarea { resize: vertical; min-height: 120px; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--ink); outline: 3px solid rgba(242, 183, 5, .6); outline-offset: 0; }
.req { color: var(--accent-ink); }
.form-note { font-size: 13px; color: var(--muted); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.notice { padding: 14px 16px; border-radius: 4px; font-size: 15px; line-height: 1.5; }
.notice-ok { background: #E3F2E8; color: #14532D; border: 1px solid #9BCFAE; }
.notice-err { background: #FBE5E3; color: #7F1D1D; border: 1px solid #EBA9A3; }

/* Footer */
.footer { background: var(--ink); color: var(--soft-2); }
.footer-in { padding-top: 64px; padding-bottom: 32px; display: flex; flex-direction: column; gap: 48px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 40px; }
.footer-grid p { font-size: 15px; line-height: 1.6; }
.footer-brand { font-family: var(--display); font-weight: 800; font-size: 26px; letter-spacing: 0.04em; text-transform: uppercase; color: #fff; }
.footer-col { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.footer-col a:hover { color: #fff; }
.footer-h { color: #fff; font-weight: 600; margin-bottom: 4px; }
.footer-hot { color: #fff; font-family: var(--display); font-weight: 700; font-size: 26px; }
.footer-bottom { border-top: 1px solid #2F343A; padding-top: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; }

/* Tombol WhatsApp melayang */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 30; background: #1E8E4E; color: #fff; border-radius: 999px; padding: 12px 20px 12px 14px; display: flex; align-items: center; gap: 10px; font-weight: 600; box-shadow: 0 10px 28px rgba(0, 0, 0, .28); min-height: 48px; }
.wa-float:hover { color: #fff; background: #17753F; }
@media (max-width: 480px) { .wa-float span { display: none; } .wa-float { padding: 12px; } }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
