:root {
  --primary: #37474f;
  --primary-dark: #263238;
  --primary-light: #546e7a;
  --accent: #ffd54f;
  --accent-dark: #ffb300;
  --bg: #eceff1;
  --bg-white: #ffffff;
  --text: #1a1a1a;
  --text-muted: #546e7a;
  --border: #b0bec5;
  --shadow: 0 2px 8px rgba(55,71,79,0.15);
  --shadow-lg: 0 8px 32px rgba(55,71,79,0.2);
  --radius: 6px;
  --radius-lg: 12px;
  --font: -apple-system,"Segoe UI",Roboto,Arial,sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.6;
  padding-top: 36px;
}

/* DEMO BAR */
.demo-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 9999;
  background: #37474f;
  color: #fff;
  text-align: center;
  padding: 8px 16px;
  font-size: 13px;
  font-family: var(--font);
}
.demo-bar a { color: #ffd54f; text-decoration: none; font-weight: 600; }
.demo-bar a:hover { text-decoration: underline; }

/* HEADER & NAV */
header {
  background: var(--primary);
  color: #fff;
  position: sticky;
  top: 36px;
  z-index: 100;
  box-shadow: var(--shadow);
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--accent);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logo-text { font-size: 14px; font-weight: 700; line-height: 1.2; }
.logo-text span { display: block; font-size: 11px; font-weight: 400; color: var(--border); }

/* CHECKBOX HACK NAV */
#nav-toggle { display: none; }

.nav-label {
  display: none;
  cursor: pointer;
  width: 32px;
  height: 32px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}

.nav-label span {
  display: block;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 4px;
}

nav ul li a {
  display: block;
  padding: 8px 12px;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 14px;
  border-radius: var(--radius);
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}

nav ul li a:hover,
nav ul li a.active {
  background: var(--accent);
  color: var(--primary-dark);
  font-weight: 600;
}

/* HERO */
.hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, var(--primary-light) 100%);
  color: #fff;
  padding: 64px 16px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 40px,
    rgba(255,213,79,0.03) 40px,
    rgba(255,213,79,0.03) 80px
  );
}

.hero-content { position: relative; max-width: 800px; margin: 0 auto; }

.hero-badge {
  display: inline-block;
  background: var(--accent);
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.hero h1 {
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

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

.hero p {
  font-size: 17px;
  color: rgba(255,255,255,0.85);
  max-width: 560px;
  margin: 0 auto 32px;
}

.hero-svg {
  margin: 32px auto 0;
  max-width: 500px;
  display: block;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* BUTTONS */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s;
  font-family: var(--font);
}

.btn-primary {
  background: var(--accent);
  color: var(--primary-dark);
  border-color: var(--accent);
}
.btn-primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); }

.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.5);
}
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.1); }

.btn-dark {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.btn-dark:hover { background: var(--primary-dark); }

.btn-lg { padding: 14px 32px; font-size: 16px; }

/* MAIN CONTAINER */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}

/* SECTIONS */
section { padding: 56px 0; }

.section-title {
  font-size: clamp(22px, 3.5vw, 32px);
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 8px;
  line-height: 1.2;
}

.section-sub {
  color: var(--text-muted);
  margin-bottom: 40px;
  font-size: 15px;
}

.section-header { text-align: center; }

/* TIPE LAYANAN - cards */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--accent);
  transition: transform 0.2s, box-shadow 0.2s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.service-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.service-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; color: var(--primary-dark); }
.service-card p { color: var(--text-muted); font-size: 14px; line-height: 1.6; }

.service-specs {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--bg);
}

.spec-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.spec-dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}

/* LOKASI */
.lokasi-bg { background: var(--primary); color: #fff; }
.lokasi-bg .section-title { color: #fff; }
.lokasi-bg .section-sub { color: rgba(255,255,255,0.7); }

.lokasi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.lokasi-item {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
}

.lokasi-item svg { margin-bottom: 12px; }
.lokasi-item h4 { font-size: 16px; font-weight: 700; margin-bottom: 6px; color: var(--accent); }
.lokasi-item p { font-size: 13px; color: rgba(255,255,255,0.8); }

/* STATS */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
  text-align: center;
}

.stat-box {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 28px 16px;
  box-shadow: var(--shadow);
}

.stat-number {
  font-size: 36px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-number span { color: var(--accent); }
.stat-label { font-size: 13px; color: var(--text-muted); }

/* SERTIFIKASI */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.cert-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.cert-icon {
  width: 56px; height: 56px;
  margin: 0 auto 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cert-card h4 { font-size: 15px; font-weight: 700; color: var(--primary-dark); margin-bottom: 6px; }
.cert-card p { font-size: 13px; color: var(--text-muted); }

/* LISTING */
.unit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.unit-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}
.unit-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.unit-thumb {
  height: 180px;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.unit-badge {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--accent);
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
}

.unit-badge.cold { background: #80deea; color: #00363a; }
.unit-badge.bonded { background: #ce93d8; color: #1a0030; }
.unit-badge.flex { background: #a5d6a7; color: #003300; }

.unit-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.unit-name { font-size: 18px; font-weight: 700; color: var(--primary-dark); margin-bottom: 4px; }
.unit-type { font-size: 13px; color: var(--text-muted); margin-bottom: 12px; }

.unit-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 16px;
}

.unit-spec {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 8px 10px;
  font-size: 12px;
}
.unit-spec strong { display: block; color: var(--primary-dark); font-size: 13px; }
.unit-spec span { color: var(--text-muted); }

.unit-price {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--bg);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.price-main { font-size: 20px; font-weight: 800; color: var(--primary); }
.price-sub { font-size: 12px; color: var(--text-muted); }

/* DETAIL PAGE */
.detail-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 32px;
  align-items: start;
}

.detail-gallery {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  border-radius: var(--radius-lg);
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.detail-specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

.spec-box {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 16px;
}

.spec-box h4 { font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 6px; }
.spec-box p { font-size: 16px; font-weight: 700; color: var(--primary-dark); }

.detail-section { margin-bottom: 28px; }
.detail-section h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--accent);
}

.feature-list { list-style: none; }
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--bg);
  font-size: 14px;
}
.feature-list li:last-child { border-bottom: none; }

.check-icon {
  width: 20px; height: 20px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

/* SIDEBAR */
.sidebar-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
  position: sticky;
  top: 116px;
}

.sidebar-price {
  text-align: center;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--bg);
  margin-bottom: 20px;
}

.sidebar-price .price-label { font-size: 13px; color: var(--text-muted); margin-bottom: 4px; }
.sidebar-price .price-value { font-size: 32px; font-weight: 800; color: var(--primary); }
.sidebar-price .price-period { font-size: 14px; color: var(--text-muted); }

.sidebar-meta { margin-bottom: 20px; }
.meta-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--bg);
  font-size: 14px;
}
.meta-row:last-child { border-bottom: none; }
.meta-row .label { color: var(--text-muted); }
.meta-row .value { font-weight: 600; color: var(--primary-dark); }

/* KALKULATOR */
.calc-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
  max-width: 700px;
  margin: 0 auto;
}

.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 6px;
}
.form-group small { display: block; font-size: 12px; color: var(--text-muted); margin-top: 4px; }

input, select, textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 14px;
  color: var(--text);
  background: var(--bg);
  transition: border-color 0.2s;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: #fff;
}

.radio-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.radio-opt {
  flex: 1;
  min-width: 120px;
}

.radio-opt input[type=radio] { display: none; }

.radio-opt label {
  display: block;
  padding: 10px 14px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s;
  margin: 0;
}

.radio-opt input[type=radio]:checked + label {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
}

.addon-checks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.addon-item input[type=checkbox] { display: none; }
.addon-item label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 13px;
  transition: all 0.2s;
  margin: 0;
}
.addon-item input[type=checkbox]:checked + label {
  border-color: var(--accent);
  background: rgba(255,213,79,0.12);
}

.result-box {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-top: 24px;
  text-align: center;
}

.result-box h3 { font-size: 16px; margin-bottom: 16px; opacity: 0.85; }

.result-amounts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

.result-amount { background: rgba(255,255,255,0.1); border-radius: var(--radius); padding: 16px; }
.result-amount .label { font-size: 12px; opacity: 0.75; margin-bottom: 6px; }
.result-amount .value { font-size: 22px; font-weight: 800; color: var(--accent); }

.paket-compare {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.paket-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
  border: 2px solid var(--border);
  text-align: center;
}
.paket-card.featured { border-color: var(--accent); position: relative; }
.paket-card .paket-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--primary-dark);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 20px;
}
.paket-card h4 { font-size: 17px; font-weight: 700; color: var(--primary-dark); margin-bottom: 8px; }
.paket-card .paket-size { font-size: 24px; font-weight: 800; color: var(--primary); margin-bottom: 4px; }
.paket-card .paket-price { font-size: 15px; color: var(--text-muted); margin-bottom: 16px; }
.paket-card ul { list-style: none; text-align: left; margin-bottom: 20px; }
.paket-card ul li { font-size: 13px; padding: 5px 0; color: var(--text-muted); display: flex; gap: 8px; }
.paket-card ul li::before { content: '✓'; color: var(--accent-dark); font-weight: 700; }

/* KONTAK */
.kontak-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.info-section { }
.info-section h3 { font-size: 20px; font-weight: 700; color: var(--primary-dark); margin-bottom: 20px; }

.kontak-item {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.kontak-item:last-of-type { border-bottom: none; }

.kontak-icon {
  width: 44px; height: 44px;
  background: var(--primary);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.kontak-item h4 { font-size: 13px; color: var(--text-muted); margin-bottom: 3px; }
.kontak-item p { font-size: 15px; font-weight: 600; color: var(--primary-dark); }
.kontak-item a { color: var(--primary); text-decoration: none; }
.kontak-item a:hover { text-decoration: underline; }

.form-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
}
.form-card h3 { font-size: 20px; font-weight: 700; color: var(--primary-dark); margin-bottom: 20px; }

.map-placeholder {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: var(--radius-lg);
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  margin-top: 20px;
  text-align: center;
}

.map-placeholder p { font-size: 14px; opacity: 0.8; }

/* CTA BANNER */
.cta-banner {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  padding: 56px 16px;
  text-align: center;
}
.cta-banner h2 { font-size: clamp(22px, 3vw, 32px); font-weight: 800; margin-bottom: 12px; }
.cta-banner p { font-size: 16px; opacity: 0.85; margin-bottom: 28px; max-width: 520px; margin-left: auto; margin-right: auto; }
.cta-banner .btn-group { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* FOOTER */
footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.75);
  padding: 40px 16px 20px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

.footer-brand .logo { margin-bottom: 12px; }
.footer-brand p { font-size: 13px; line-height: 1.6; }

footer h4 { font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 12px; }
footer ul { list-style: none; }
footer ul li { margin-bottom: 8px; }
footer ul li a { color: rgba(255,255,255,0.65); text-decoration: none; font-size: 13px; }
footer ul li a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
}

/* PAGE TITLE BAR */
.page-title-bar {
  background: var(--primary-dark);
  color: #fff;
  padding: 32px 16px;
}
.page-title-bar .container { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.page-title-bar h1 { font-size: clamp(20px, 3vw, 28px); font-weight: 800; }
.breadcrumb { font-size: 13px; opacity: 0.7; }
.breadcrumb a { color: var(--accent); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* FILTER BAR */
.filter-bar {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}
.filter-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}
.filter-btn {
  padding: 6px 14px;
  border: 1.5px solid var(--border);
  border-radius: 20px;
  background: transparent;
  font-size: 13px;
  cursor: pointer;
  color: var(--text-muted);
  transition: all 0.2s;
  font-family: var(--font);
}
.filter-btn:hover, .filter-btn.active {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
}

/* NOTICE */
.notice-box {
  background: rgba(255,213,79,0.15);
  border: 1.5px solid var(--accent);
  border-radius: var(--radius);
  padding: 14px 18px;
  font-size: 14px;
  color: var(--primary-dark);
  margin-bottom: 24px;
}

/* MOBILE */
@media (max-width: 768px) {
  .nav-label { display: flex; }

  nav {
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: var(--primary-dark);
    box-shadow: var(--shadow-lg);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s;
  }

  #nav-toggle:checked ~ nav { max-height: 400px; }

  nav ul { flex-direction: column; gap: 0; padding: 8px; }
  nav ul li a { border-radius: var(--radius); padding: 12px 16px; }

  .detail-layout { grid-template-columns: 1fr; }
  .kontak-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .detail-specs-grid { grid-template-columns: 1fr; }
  .result-amounts { grid-template-columns: 1fr; }
  .addon-checks { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero { padding: 48px 16px; }
  .hero-ctas { flex-direction: column; align-items: center; }
  .unit-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; }
}
