:root {
  --red: #d4002a;
  --red-dark: #b00022;
  --ink: #141414;
  --muted: #5f5f5f;
  --line: #e6e6e6;
  --bg: #f4f4f4;
  --white: #fff;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --radius: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Outfit, Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { width: min(1120px, calc(100% - 32px)); margin-inline: auto; }

.topbar {
  background: var(--ink);
  color: #fff;
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 12px;
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 14px 0;
}
.brand, .footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.avis-mark {
  height: 28px;
  width: auto;
  max-width: 108px;
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  padding-left: 10px;
  border-left: 2px solid var(--red);
}
.brand-text strong { font-size: 18px; }
.brand-text small { color: var(--muted); font-size: 11px; }
#site-nav { display: flex; align-items: center; gap: 18px; }
#site-nav a { text-decoration: none; font-weight: 500; font-size: 15px; }
#site-nav a[aria-current="page"] { color: var(--red); }
.menu-btn {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  padding: 8px 12px;
  border-radius: 8px;
  font: inherit;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 650;
  border: 1px solid transparent;
}
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); }
.btn-ghost { background: #fff; border-color: #fff; color: var(--ink); }
.btn-line { background: #fff; border-color: var(--line); }

.hero {
  position: relative;
  color: #fff;
  min-height: 560px;
  display: grid;
  align-items: end;
  background: #111 center/cover no-repeat;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.15), rgba(0,0,0,.72) 70%);
}
.hero-inner { position: relative; z-index: 1; padding: 48px 0 56px; }
.kicker {
  display: inline-block;
  background: var(--red);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.hero h1 { font-size: clamp(36px, 7vw, 64px); line-height: 0.95; margin: 0 0 14px; max-width: 14ch; }
.hero p { max-width: 48ch; margin: 0 0 22px; color: #f3f3f3; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 28px;
}
.stats div {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.16);
  padding: 12px 14px;
  border-radius: 12px;
}
.stats strong { display: block; font-size: 18px; }
.stats span { font-size: 13px; color: #ddd; }

.section { padding: 64px 0; }
.section.alt { background: var(--bg); }
.section h2 { font-size: clamp(28px, 4vw, 40px); margin: 0 0 8px; }
.lead { color: var(--muted); margin: 0 0 28px; max-width: 60ch; }
.section-head { display: flex; justify-content: space-between; gap: 16px; align-items: end; margin-bottom: 24px; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
}
.card-media { background: #f7f7f7; aspect-ratio: 1000/490; }
.card-media img { width: 100%; height: 100%; object-fit: contain; }
.card-body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card h3 { margin: 0; font-size: 20px; }
.chip {
  margin: 0;
  width: fit-content;
  background: #f3f3f3;
  color: var(--muted);
  font-size: 12px;
  padding: 3px 8px;
  border-radius: 999px;
}
.specs { display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; list-style: none; }
.specs li { background: #f6f6f6; border-radius: 8px; padding: 4px 8px; font-size: 13px; }
.price-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: auto; }
.price-row span { display: block; color: var(--muted); font-size: 12px; }
.price-row strong { font-size: 18px; }
.deposit { margin: 0; color: var(--muted); font-size: 13px; }
.card .btn { width: 100%; }

.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.why article {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
  background: #fff;
}
.why span { color: var(--red); font-weight: 800; }
.why h3 { margin: 8px 0; font-size: 18px; }

.kicker.dark { background: var(--ink); }
.cover {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.cover article {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px 18px;
  background: #fff;
  box-shadow: var(--shadow);
}
.cover strong {
  display: block;
  color: var(--red);
  font-size: 28px;
  line-height: 1;
  margin-bottom: 10px;
}
.cover h3 { margin: 0 0 8px; font-size: 18px; }
.cover p { margin: 0; color: var(--muted); }
.why p { margin: 0; color: var(--muted); }

.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.filters button {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 8px 14px;
  font: inherit;
}
.filters button.active { background: var(--ink); color: #fff; border-color: var(--ink); }

.page-hero { padding: 42px 0 10px; }
.page-hero h1 { margin: 0 0 8px; font-size: clamp(32px, 5vw, 48px); }

.prose { max-width: 72ch; }
.prose h2 { margin-top: 28px; }
.faq details {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 10px;
  background: #fff;
}
.faq summary { cursor: pointer; font-weight: 650; }
.faq p { margin: 10px 0 0; color: var(--muted); }

.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 18px; }
.info-card, .form-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px;
  background: #fff;
}
.info-card p { margin: 8px 0; }
label { display: grid; gap: 6px; margin-bottom: 12px; font-size: 14px; }
input, textarea, select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px;
  font: inherit;
}
textarea { min-height: 120px; resize: vertical; }

.wa-float,
.call-float {
  position: fixed;
  bottom: max(16px, env(safe-area-inset-bottom));
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  text-decoration: none;
  min-height: 52px;
  padding: 0 16px 0 14px;
  border-radius: 999px;
  font-weight: 700;
  z-index: 40;
}
.wa-float {
  right: max(16px, env(safe-area-inset-right));
  background: #25d366;
  box-shadow: 0 10px 28px rgba(37, 211, 103, 0.45);
}
.call-float {
  left: max(16px, env(safe-area-inset-left));
  background: var(--red);
  box-shadow: 0 10px 28px rgba(212, 0, 42, 0.4);
}
.wa-float svg,
.call-float svg { width: 26px; height: 26px; flex: 0 0 auto; }

#site-footer { background: #111; color: #ececec; padding: 36px 0 18px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 24px; }
#site-footer a { display: block; text-decoration: none; color: #ddd; margin: 6px 0; }
#site-footer h4 { margin: 0 0 8px; color: #fff; }
.copy { width: min(1120px, calc(100% - 32px)); margin: 24px auto 0; color: #999; font-size: 13px; padding-bottom: 24px; }

@media (max-width: 900px) {
  .grid, .why, .cover, .footer-grid, .stats, .contact-grid { grid-template-columns: 1fr 1fr; }
  .menu-btn { display: inline-flex; }
  #site-nav {
    display: none;
    position: absolute;
    left: 16px;
    right: 16px;
    top: 92px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 12px;
    flex-direction: column;
    align-items: stretch;
    z-index: 30;
  }
  #site-nav.open { display: flex; }
  #site-header { position: relative; }
  .hero { min-height: 520px; background-image: url("../img/banner-mobil.webp") !important; }
}

@media (max-width: 640px) {
  .grid, .why, .cover, .footer-grid, .stats, .contact-grid { grid-template-columns: 1fr; }
  .section-head { flex-direction: column; align-items: start; }
  .avis-mark { height: 24px; max-width: 88px; }
  .brand-text strong { font-size: 16px; }
  .wa-float,
  .call-float {
    bottom: max(18px, env(safe-area-inset-bottom));
    min-height: 58px;
    padding: 0 18px 0 14px;
    font-size: 16px;
  }
  .wa-float { right: 14px; left: auto; }
  .call-float { left: 14px; right: auto; }
  .wa-float svg,
  .call-float svg { width: 28px; height: 28px; }
}