/* ==========================================================================
   TOWING.ID — MAIN STYLESHEET
   Ported & structured from reference-mockup.html
   ========================================================================== */

@import url('tokens.css');

/* Global Reset & Base */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: 'IBM Plex Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Oswald', 'Arial Narrow', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  text-wrap: balance;
  margin: 0;
  line-height: 1.08;
}

.mono {
  font-family: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

a {
  color: inherit;
}

button {
  font-family: inherit;
}

img, svg {
  display: block;
}

.icon {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

.wrap {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

section {
  scroll-margin-top: 84px;
}

:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

section.pad {
  padding: var(--section-pad) 0;
}

/* ---------- Trust Bar ---------- */
.trustbar {
  background: var(--navy);
  color: var(--cream-ink);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12.5px;
  letter-spacing: 0.05em;
}

.trustbar .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 8px 24px;
}

.trustbar .items {
  display: flex;
  gap: 22px;
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
  -ms-overflow-style: none;
  mask-image: linear-gradient(90deg, #000 92%, transparent);
}

.trustbar .items::-webkit-scrollbar {
  display: none;
}

.trustbar .items span {
  opacity: 0.85;
}

.trustbar .call {
  flex: none;
}

.trustbar a {
  color: var(--cream-ink);
  opacity: 0.9;
  text-decoration: none;
  transition: opacity 0.15s ease, color 0.15s ease;
}

.trustbar a:hover {
  opacity: 1;
  color: var(--orange);
}

@media (max-width: 640px) {
  .trustbar .call {
    display: none;
  }
}

/* ---------- Header & Navigation ---------- */
header.site {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 21px;
  letter-spacing: 0.02em;
  color: var(--navy);
  text-decoration: none;
}

.logo .dot {
  width: 10px;
  height: 10px;
  background: var(--orange);
  border-radius: 50%;
}

.logo span {
  color: var(--orange-deep);
}

nav.main {
  display: flex;
  gap: 26px;
  font-size: 14.5px;
  font-weight: 500;
}

nav.main a {
  text-decoration: none;
  color: var(--ink);
  position: relative;
  transition: color 0.15s ease;
}

nav.main a:hover {
  color: var(--orange-deep);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: 0.01em;
  padding: 12px 20px;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn-solid {
  background: var(--orange);
  color: var(--ink);
}

.btn-solid:hover {
  background: var(--orange-deep);
  color: var(--cream-ink);
}

.btn-outline-dark {
  border-color: var(--navy);
  color: var(--navy);
  background: transparent;
}

.btn-outline-dark:hover {
  background: var(--navy);
  color: var(--cream-ink);
}

.btn-outline-light {
  border-color: rgba(247, 241, 228, 0.4);
  color: var(--cream-ink);
  background: transparent;
}

.btn-outline-light:hover {
  background: rgba(247, 241, 228, 0.12);
}

.btn-block {
  width: 100%;
}

.btn-sm {
  padding: 9px 14px;
  font-size: 13px;
}

/* ---------- Hero Section ---------- */
.hero {
  position: relative;
  background:
    repeating-linear-gradient(120deg, rgba(247, 241, 228, 0.035) 0 2px, transparent 2px 26px),
    radial-gradient(1100px 500px at 82% -10%, #3a2c14 0%, transparent 60%),
    var(--navy);
  color: var(--cream-ink);
  overflow: hidden;
  padding: 64px 0 128px;
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.hero-eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ffd166;
  border: 1px solid rgba(255, 209, 102, 0.4);
  display: inline-block;
  padding: 5px 12px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(32px, 4.6vw, 52px);
  max-width: 13ch;
}

.hero h1 em {
  font-style: normal;
  color: var(--orange);
}

.hero p.lede {
  margin: 20px 0 28px;
  font-size: 17px;
  max-width: 46ch;
  color: #c7bfae;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-trustrow {
  display: flex;
  gap: 26px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.hero-trustrow .t {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #c7bfae;
}

.hero-trustrow .icon {
  width: 18px;
  height: 18px;
  color: var(--orange);
}

.hero-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 480px;
  position: relative;
}

.hero-video-card {
  position: relative;
  width: 100%;
  border-radius: 12px;
  background: #120e0b;
  border: 1px solid rgba(240, 164, 0, 0.35);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.7), 0 0 24px rgba(240, 164, 0, 0.12);
  overflow: hidden;
  z-index: 2;
}

.hero-video-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(26, 22, 17, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(240, 164, 0, 0.45);
  color: #f0a400;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  z-index: 4;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: pulse-glow 1.5s infinite;
}

@keyframes pulse-glow {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.hero-video-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0f0c09;
  display: block;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-truck-img {
  max-width: 100%;
  max-height: 230px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.55));
  margin-bottom: -6px;
  z-index: 2;
  position: relative;
}

.hero-road {
  width: 100%;
  max-width: 480px;
  height: 18px;
  position: relative;
  z-index: 1;
}

.hero-road-svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}

/* ---------- Hero Motion (Awwwards-grade Entrance & Idle Loops) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .hero-eyebrow,
  .hero h1,
  .hero p.lede,
  .hero-ctas,
  .hero-trustrow {
    opacity: 0;
    animation: reveal-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }
  .hero-eyebrow { animation-delay: 0.05s; }
  .hero h1 { animation-delay: 0.15s; }
  .hero p.lede { animation-delay: 0.3s; }
  .hero-ctas { animation-delay: 0.42s; }
  .hero-trustrow { animation-delay: 0.54s; }

  .hero-art {
    opacity: 0;
    animation: reveal-up 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.32s forwards;
    transition: transform 0.3s ease-out;
  }

  .hero-road-dash {
    stroke-dasharray: 26 20;
    animation: road-crawl 0.9s linear infinite;
  }
  .hero-truck,
  .hero-truck-img {
    transform-origin: center bottom;
    animation: truck-bob 3.2s ease-in-out infinite;
  }
  .hero-beacon {
    animation: beacon-pulse 1.25s ease-in-out infinite;
  }

  .hazard {
    background-size: 45px 45px;
    animation: hazard-crawl 1.8s linear infinite;
  }
}

@keyframes reveal-up {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes road-crawl {
  to { stroke-dashoffset: -46; }
}

@keyframes truck-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

@keyframes beacon-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.25; }
}

@keyframes hazard-crawl {
  from { background-position: 0 0; }
  to { background-position: 45px 45px; }
}

/* ---------- Calculator Card ---------- */
.calc-shell {
  max-width: var(--container-max);
  margin: -92px auto 0;
  padding: 0 24px;
  position: relative;
  z-index: 5;
}

.calc-card {
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: repeat(4, 1fr) auto;
  gap: 0;
  border: 1px solid var(--line);
}

.calc-field {
  padding: 18px 20px;
  border-right: 1px solid var(--line);
}

.calc-field:last-of-type {
  border-right: none;
}

.calc-field label {
  display: block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 7px;
}

.calc-field select {
  width: 100%;
  border: none;
  background: transparent;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  padding: 2px 0;
  appearance: none;
  outline: none;
  cursor: pointer;
}

.calc-go {
  background: var(--navy);
  color: #fff8f2;
  border: none;
  padding: 0 30px;
  font-family: 'Oswald', sans-serif;
  font-size: 15px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: background 0.15s ease;
}

.calc-go:hover {
  background: var(--orange-deep);
}

/* ---------- Stats Strip ---------- */
.stats {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  padding: 40px 0 34px;
}

.stats .wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat b {
  display: block;
  font-family: 'Oswald', sans-serif;
  font-size: clamp(26px, 3vw, 36px);
  color: var(--navy);
}

.stat span {
  font-size: 13px;
  color: var(--ink-soft);
  letter-spacing: 0.01em;
}

/* ---------- Generic Section Headings ---------- */
.sec-head {
  max-width: 640px;
  margin-bottom: 36px;
}

.kicker {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange-deep);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.kicker::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--orange-deep);
}

.sec-head h2 {
  font-size: clamp(24px, 3.4vw, 34px);
  color: var(--navy);
}

.sec-head p {
  margin-top: 12px;
  color: var(--ink-soft);
  font-size: 15.5px;
}

.on-dark .sec-head h2,
.on-dark .kicker {
  color: var(--cream-ink);
}

.on-dark .sec-head p {
  color: #b7ae9c;
}

.on-dark .kicker {
  color: var(--orange);
}

.on-dark .kicker::before {
  background: var(--orange);
}

/* ---------- Cara Kerja (Steps) ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.step {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 24px 22px;
  position: relative;
}

.step .n {
  font-family: 'Oswald', sans-serif;
  font-size: 14px;
  color: var(--orange-deep);
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}

.step h4 {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 16.5px;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
  margin-bottom: 8px;
}

.step p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-soft);
}

/* ---------- Jadwal Board ---------- */
.board {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.board-row {
  display: grid;
  grid-template-columns: minmax(280px, 2.2fr) minmax(160px, 1.2fr) minmax(140px, 1fr) 140px;
  gap: 16px;
  align-items: center;
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
  transition: background 0.15s ease;
}

.board-row:hover:not(.head) {
  background: rgba(247, 241, 228, 0.45);
}

.board-row:last-child {
  border-bottom: none;
}

.board-row.head {
  background: var(--cream);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 600;
  padding: 12px 24px;
  border-bottom: 1px solid var(--line);
}

.board-row.head span {
  display: block;
  text-align: left;
}

.board-row.head span:last-child {
  text-align: right;
}

.board-row .route {
  font-weight: 700;
  font-size: 15.5px;
  color: var(--navy);
}

.board-row .route small {
  display: block;
  font-weight: 400;
  color: var(--ink-soft);
  font-size: 12.5px;
  margin-top: 3px;
  line-height: 1.4;
}

.board-row .moda {
  display: flex;
  align-items: center;
}

.board-row .moda-tag,
.board-row .moda {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--navy);
}

.board-row .moda-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: #f4ecdc;
  border: 1px solid var(--line);
  color: var(--navy);
  border-radius: 3px;
  font-size: 13px;
}

.board-row .eta {
  display: flex;
  align-items: center;
}

.board-row .eta-val,
.board-row .eta {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy);
}

.board-row .eta-val {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: rgba(26, 22, 17, 0.04);
  border: 1px solid rgba(26, 22, 17, 0.08);
  border-radius: 3px;
  letter-spacing: 0.02em;
}

.pill {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11.5px;
  padding: 6px 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  justify-self: end;
  white-space: nowrap;
  border-radius: 2px;
  text-align: center;
  width: 100%;
  max-width: 140px;
}

.pill.open {
  background: var(--good-bg);
  color: var(--good);
  border: 1px solid rgba(47, 125, 79, 0.2);
}

.pill.full {
  background: var(--danger-bg);
  color: var(--danger);
  border: 1px solid rgba(156, 50, 38, 0.2);
}

.pill.vip {
  background: var(--vip-bg);
  color: var(--vip-color);
  border: 1px solid rgba(107, 74, 18, 0.2);
}

.board-note {
  font-size: 13px;
  color: var(--ink-soft);
  margin-top: 14px;
}

/* ---------- Layanan (Services) ---------- */
.services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.svc {
  background: var(--surface);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}

.svc-top {
  padding: 26px 22px 20px;
}

.svc-ic {
  width: 46px;
  height: 46px;
  background: var(--orange-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.svc-ic .icon {
  color: var(--orange-deep);
  width: 24px;
  height: 24px;
}

.svc h3 {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 18px;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
  margin-bottom: 8px;
}

.svc p.d {
  margin: 0;
  font-size: 14px;
  color: var(--ink-soft);
}

.svc ul {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  font-size: 13.5px;
}

.svc ul li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin-bottom: 8px;
  color: var(--ink);
}

.svc ul li .icon {
  width: 15px;
  height: 15px;
  color: var(--good);
  margin-top: 2px;
}

.svc-bottom {
  margin-top: auto;
  padding: 16px 22px;
  border-top: 1px solid var(--line);
}

/* ---------- Jangkauan (Coverage) ---------- */
.coverage {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: start;
}

.cov-list {
  display: grid;
  gap: 14px;
}

.cov-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.cov-row .r {
  font-weight: 600;
  font-size: 15px;
}

.cov-row .r small {
  display: block;
  font-weight: 400;
  color: var(--ink-soft);
  font-size: 12.5px;
  margin-top: 2px;
}

.cov-tag {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  background: var(--cream);
  padding: 4px 10px;
  color: var(--ink-soft);
  font-weight: 600;
}

.cov-map {
  background: var(--navy);
  min-height: 100%;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--cream-ink);
  position: relative;
}

.cov-map .icon {
  width: 34px;
  height: 34px;
  color: var(--orange);
  margin-bottom: 16px;
}

.cov-map h4 {
  font-size: 19px;
  color: var(--cream-ink);
  text-transform: none;
  letter-spacing: 0;
  font-family: 'IBM Plex Sans', sans-serif;
  font-weight: 700;
  margin-bottom: 10px;
}

.cov-map p {
  font-size: 14px;
  color: #b7ae9c;
  margin: 0;
}

/* ---------- Kenapa Kami (Why Us) ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.why {
  text-align: left;
}

.why .icon {
  width: 26px;
  height: 26px;
  color: var(--orange-deep);
  margin-bottom: 14px;
}

.why h4 {
  font-size: 15px;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
  font-family: 'IBM Plex Sans', sans-serif;
  margin-bottom: 6px;
}

.why p {
  font-size: 13px;
  color: var(--ink-soft);
  margin: 0;
}

/* ---------- Galeri (Gallery) ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.shot {
  aspect-ratio: 4/3;
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  background: var(--dark-2);
  border-radius: 4px;
}

.shot .shot-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.shot:hover .shot-img {
  transform: scale(1.06);
}

.shot .cap {
  position: relative;
  z-index: 2;
  padding: 10px 12px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: #fff;
  letter-spacing: 0.02em;
  background: linear-gradient(0deg, rgba(18, 21, 27, 0.92) 0%, rgba(18, 21, 27, 0.5) 60%, transparent 100%);
  width: 100%;
}

.shot .icon {
  position: absolute;
  top: 16px;
  left: 16px;
  width: 26px;
  height: 26px;
  color: rgba(255, 255, 255, 0.85);
  z-index: 2;
}

/* ---------- Mitra Perusahaan & Klub Otomotif ---------- */
.mitra-sec {
  background: var(--surface, #ffffff);
}

.mitra-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.mitra-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.mitra-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.mitra-logo-wrap {
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  width: 100%;
}

.mitra-logo-wrap img {
  max-height: 48px;
  max-width: 160px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.8;
  transition: filter 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
}

.mitra-card:hover .mitra-logo-wrap img {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}

.mitra-name {
  font-family: 'IBM Plex Sans', sans-serif;
  font-weight: 700;
  font-size: 13.5px;
  color: var(--navy);
  margin-bottom: 4px;
}

.mitra-type {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10.5px;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ---------- FAQ (Native Details & Summary) ---------- */
.faq {
  max-width: 760px;
}

details.qa {
  border-bottom: 1px solid var(--line);
  padding: 18px 2px;
}

details.qa summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-weight: 600;
  font-size: 15.5px;
  color: var(--navy);
}

details.qa summary::-webkit-details-marker {
  display: none;
}

details.qa summary .plus {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 18px;
  color: var(--orange-deep);
  transition: transform 0.15s ease;
  flex: none;
}

details.qa[open] summary .plus {
  transform: rotate(45deg);
}

details.qa p {
  margin: 12px 0 0;
  font-size: 14.5px;
  color: var(--ink-soft);
  max-width: 65ch;
}

/* ---------- Corporate CTA ---------- */
.corp {
  background: var(--navy);
  color: var(--cream-ink);
  padding: 56px 0;
}

.corp .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.corp h3 {
  font-size: clamp(22px, 3vw, 30px);
  max-width: 20ch;
  color: var(--cream-ink);
}

.corp p {
  font-size: 15px;
  color: #b7ae9c;
  margin-top: 10px;
  max-width: 48ch;
}

.corp .ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ---------- Footer ---------- */
footer.site {
  background: var(--navy-soft);
  color: #c7bfae;
  padding: 56px 0 24px;
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--navy-line);
}

.foot-brand .logo {
  color: var(--cream-ink);
}

.foot-brand p {
  font-size: 13.5px;
  color: #9c8f78;
  margin-top: 14px;
  max-width: 32ch;
}

footer.site h5 {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8a7d68;
  margin: 0 0 16px;
}

footer.site ul {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 14px;
  display: grid;
  gap: 10px;
}

footer.site ul a {
  text-decoration: none;
  color: #c7bfae;
  transition: color 0.15s ease;
}

footer.site ul a:hover {
  color: var(--orange);
}

.foot-contact li {
  color: #c7bfae;
}

.foot-contact b {
  display: block;
  color: var(--cream-ink);
  font-size: 13px;
}

.foot-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 22px;
  font-size: 12.5px;
  color: #8a7d68;
  flex-wrap: wrap;
  gap: 10px;
}

.foot-note {
  font-size: 11.5px;
  color: #665a48;
  margin-top: 6px;
  max-width: 70ch;
}

/* ---------- Floating WhatsApp Button ---------- */
.fab-wa {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 50;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px -8px rgba(0, 0, 0, 0.4);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.fab-wa:hover {
  transform: scale(1.06);
  box-shadow: 0 14px 28px -6px rgba(0, 0, 0, 0.5);
}

.fab-wa .icon {
  width: 26px;
  height: 26px;
  stroke: none;
  fill: #fff;
}

/* ---------- Mobile Bottom Navigation ---------- */
.mobilenav {
  display: none;
}

/* ---------- Responsive Breakpoints ---------- */
@media (max-width: 980px) {
  nav.main,
  .header-cta .btn-outline-dark {
    display: none;
  }

  .hero .wrap {
    grid-template-columns: 1fr;
  }

  .hero-art {
    display: none;
  }

  .calc-shell {
    margin-top: -70px;
  }

  .calc-card {
    grid-template-columns: 1fr 1fr;
  }

  .calc-go {
    grid-column: 1 / -1;
    padding: 16px;
  }

  .stats .wrap {
    grid-template-columns: 1fr 1fr;
    gap: 20px 16px;
  }

  .steps,
  .services {
    grid-template-columns: 1fr 1fr;
  }

  .why-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .gallery,
  .mitra-grid {
    grid-template-columns: 1fr 1fr;
  }

  .coverage {
    grid-template-columns: 1fr;
  }

  .foot-grid {
    grid-template-columns: 1fr 1fr;
  }

  body {
    padding-bottom: 64px;
  }

  .mobilenav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 45;
    background: #fff;
    border-top: 1px solid var(--line);
    justify-content: space-around;
    padding: 8px 4px 10px;
  }

  .mobilenav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-size: 10.5px;
    color: var(--ink-soft);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.15s ease;
  }

  .mobilenav a .icon {
    width: 20px;
    height: 20px;
    color: var(--ink-soft);
    transition: color 0.15s ease;
  }

  .mobilenav a.active,
  .mobilenav a.active .icon {
    color: var(--orange-deep);
  }

  .fab-wa {
    bottom: 78px;
  }
}

@media (max-width: 640px) {
  .board-row {
    grid-template-columns: 1fr;
    gap: 6px;
    text-align: left;
  }

  .pill {
    justify-self: start;
  }

  .board-row.head {
    display: none;
  }

  .steps,
  .services,
  .why-grid,
  .gallery,
  .mitra-grid,
  .foot-grid {
    grid-template-columns: 1fr 1fr;
  }

  .corp .wrap {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ============================================================
   PWA INSTALL PROMPT & OFFLINE BANNER
   ============================================================ */
.pwa-banner {
  position: fixed;
  bottom: calc(env(safe-area-inset-bottom, 0px) + 68px);
  left: 1rem;
  right: 1rem;
  max-width: 440px;
  margin: 0 auto;
  z-index: 1000;
  background: rgba(14, 18, 23, 0.95);
  border: 1px solid rgba(240, 164, 0, 0.4);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 16px;
  padding: 0.75rem 1rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  animation: pwaSlideUp 0.35s ease-out;
}

@keyframes pwaSlideUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.pwa-banner-content {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.pwa-banner-content img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  flex-shrink: 0;
}

.pwa-banner-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.pwa-banner-text strong {
  font-size: 0.85rem;
  color: #fff8f2;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pwa-banner-text span {
  font-size: 0.7rem;
  color: #9ba1a6;
}

.pwa-banner-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.pwa-banner-actions .btn-sm {
  padding: 0.35rem 0.75rem;
  font-size: 0.75rem;
  border-radius: 8px;
  font-weight: 700;
  background: linear-gradient(135deg, #f0a400, #ffb703);
  color: #0c1015;
  border: none;
  cursor: pointer;
}

.pwa-banner-actions .btn-close {
  background: transparent;
  border: none;
  color: #6b7280;
  font-size: 1.25rem;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  line-height: 1;
}

.pwa-banner-actions .btn-close:hover {
  color: #ffffff;
}
