/* One stylesheet for /, /harga and /privacy.
   Colours live in the :root tokens; green only for WhatsApp, amber only for stars.
   Archivo is self-hosted so the site makes no third-party requests (see privacy.html). */
@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  /* Palette "batu" (warm stone), picked by the owner 2026-11-12 over slate and sage:
     soft and harmonious, nothing vivid. Every colour on the site comes from these tokens. */
  --bg: #f3eee8;         /* page */
  --surface: #e8e0d6;    /* bands and panels */
  --card: #fbf8f4;       /* inputs, pills */
  --ink: #33261f;        /* text, rules */
  --muted: #6a594e;
  --line: #dcd1c4;
  --accent: #b4473b;     /* battery, Telefon, step numbers */
  --accent-dark: #94382e;
  --on-accent: #fff;
  --wa: #3d7a55;         /* WhatsApp only */
  --wa-dark: #316447;
  --dark: #33261f;       /* footer and call-to-action band */
  --on-dark: #f6f0ea;
  --on-dark-muted: #cdbfb2;
  --dark-line: rgba(246, 240, 234, .15);
  --amber: #f8a51f;      /* stars and focus ring */
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.0625rem/1.6 "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--ink); text-underline-offset: 3px; }
a:focus-visible, summary:focus-visible, button:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }
h1, h2, h3 { font-weight: 800; line-height: 1.1; }
h1, h2 { text-wrap: balance; }
h2 { margin: 0; font-size: clamp(2.1rem, 6vw, 3.4rem); font-weight: 850; font-stretch: 70%; line-height: 1; word-spacing: .06em; }
h3 { font-size: 1.25rem; font-stretch: 85%; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.icon {
  width: 24px; height: 24px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: var(--dark); border-bottom: 1px solid var(--dark-line); }
.site-header .wrap { display: flex; align-items: center; gap: 16px; height: 64px; }
.brand {
  display: flex; align-items: center; gap: 10px; color: var(--on-dark); text-decoration: none;
  font-size: 1.05rem; font-weight: 800; font-stretch: 85%; line-height: 1.1;
}
.brand img { width: 40px; height: 40px; border-radius: 8px; }
.brand small { display: block; color: var(--on-dark-muted); font-size: .78rem; font-weight: 600; font-stretch: 100%; }
.nav { display: none; gap: 22px; margin-left: auto; }
.nav a { color: var(--on-dark-muted); text-decoration: none; font-weight: 600; font-size: .95rem; font-stretch: 90%; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--on-dark); }
.header-call { margin-left: auto; }
@media (min-width: 900px) {
  .nav { display: flex; }
  .header-call { margin-left: 8px; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 22px; border-radius: 8px; border: 2px solid transparent;
  font-size: 1.0625rem; font-weight: 700; text-decoration: none; transition: background-color .15s, border-color .15s;
}
.btn-wa { background: var(--wa); color: var(--on-accent); }
.btn-wa:hover { background: var(--wa-dark); }
.btn-red { background: var(--accent); color: var(--on-accent); }
.btn-red:hover { background: var(--accent-dark); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--surface); }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.btn-sm { min-height: 40px; padding: 0 14px; border-radius: 6px; font-size: .95rem; }
.btn-sm .icon { width: 18px; height: 18px; }

.hero h1, .page-hero h1 { font-weight: 900; font-stretch: 66%; line-height: .95; letter-spacing: .015em; word-spacing: .06em; }

/* Hero: the owner's photo of a TUF job fills the first screen behind the text. The technician is on
   the right of kerja-jazz.jpg and the dark car body on the left, under the text column. */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--dark); color: var(--on-dark); }
.hero-bg {
  position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%;
  object-fit: cover; object-position: 90% 12%; filter: saturate(.75);
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(51, 38, 31, .5) 0%, rgba(51, 38, 31, .82) 45%, var(--dark) 100%);
}
/* Fill the screen below the 65px header, like the reference site the owner chose. */
.hero .wrap {
  min-height: calc(100vh - 65px); min-height: calc(100svh - 65px);
  display: flex; flex-direction: column; justify-content: space-between; padding-top: 56px; padding-bottom: 32px;
}
.hero-text { max-width: 42rem; }
.hero-place { margin: 0 0 14px; color: var(--on-dark-muted); font-size: .95rem; font-weight: 600; }
.hero h1 { margin: 0 0 18px; font-size: clamp(2.6rem, 11vw, 5.2rem); }
.lead { margin: 0 0 28px; max-width: 30em; font-size: 1.15rem; line-height: 1.5; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .btn-ghost { color: var(--on-dark); border-color: rgba(246, 240, 234, .7); }
.hero .btn-ghost:hover { background: rgba(246, 240, 234, .12); }
.hero-phone {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 24px;
  color: var(--on-dark); text-decoration: none; font-variant-numeric: tabular-nums;
  font-size: clamp(1.8rem, 5vw, 2.3rem); font-weight: 800; font-stretch: 75%; line-height: 1;
}
.hero-phone .icon { width: .75em; height: .75em; }
.hero-phone:hover { text-decoration: underline; text-underline-offset: 5px; }
.hero-hours { margin: 10px 0 0; color: var(--on-dark-muted); font-weight: 600; }
.hero-facts {
  list-style: none; margin: 48px 0 0; padding: 20px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 24px;
  border-top: 1px solid var(--dark-line); color: var(--on-dark-muted); font-size: .9rem; line-height: 1.35;
}
.hero-facts strong { display: block; color: var(--on-dark); font-size: 1.05rem; font-weight: 800; font-stretch: 85%; }
@media (min-width: 900px) {
  .hero::before {
    background:
      linear-gradient(0deg, rgba(51, 38, 31, .9) 0%, rgba(51, 38, 31, 0) 30%),
      linear-gradient(90deg, rgba(51, 38, 31, .92) 0%, rgba(51, 38, 31, .8) 38%, rgba(51, 38, 31, .35) 70%, rgba(51, 38, 31, .2) 100%);
  }
  .hero .wrap { padding-top: 88px; }
  .hero-facts { grid-template-columns: repeat(4, 1fr); gap: 24px 32px; }
}
@media (max-width: 599px) {
  .hero .cta .btn { flex: 1 1 100%; }
}

/* Sections */
/* section.wrap, not section: .wrap's padding shorthand would otherwise zero the top padding. */
section.wrap { padding-top: 64px; }
.section-head { max-width: 40rem; margin-bottom: 28px; }
.section-head p { margin: 12px 0 0; color: var(--muted); max-width: 52ch; }
.band { margin-top: 64px; padding-bottom: 64px; background: var(--surface); }
@media (min-width: 900px) {
  section.wrap { padding-top: 96px; }
  .band { margin-top: 96px; padding-bottom: 96px; }
}

.story { display: grid; gap: 32px; align-items: start; }
.story h2 { margin-bottom: 20px; }
.story-text p { margin: 0 0 14px; max-width: 38em; font-size: 1.125rem; }
@media (min-width: 900px) { .story { grid-template-columns: 1.5fr 1fr; gap: 64px; } }
.rating { padding: 28px; background: var(--surface); border-radius: 16px; }
.rating p { margin: 0 0 6px; }
.rating .score { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.rating .score strong { color: var(--accent); font-size: 4rem; font-weight: 900; font-stretch: 66%; line-height: .85; }
.stars { display: flex; gap: 3px; color: var(--amber); }
.stars .icon { width: 26px; height: 26px; fill: currentColor; stroke: none; }
.said span {
  display: inline-block; margin: 6px 4px 0 0; padding: 3px 12px;
  background: var(--card); border-radius: 999px; font-size: .9rem; font-weight: 600;
}
.rating .btn { margin-top: 18px; }
.story-photo { grid-column: 1 / -1; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; }
@media (min-width: 900px) { .story-photo { aspect-ratio: 21 / 9; object-position: 50% 60%; } }

/* Lists ruled like a shop's service board: a line over each item, no boxes. */
.ruled {
  list-style: none; margin: 0; padding: 0; display: grid; column-gap: 40px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
}
.ruled li { padding: 18px 0 28px; border-top: 2px solid var(--ink); }
.ruled h3 { margin: 0 0 6px; }
.ruled p { margin: 0; color: var(--muted); }

.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; gap: 24px 40px; }
.steps li { counter-increment: step; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto 1fr; column-gap: 18px; align-items: start; }
.steps li::before {
  content: counter(step); grid-row: span 2;
  color: var(--accent); font-size: 4.5rem; font-weight: 900; font-stretch: 62%; line-height: .8; font-variant-numeric: tabular-nums;
}
.steps h3 { margin: 4px 0; }
.steps p { margin: 0; color: var(--muted); }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }

.gallery { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); }
.gallery img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 8px; }
/* The landscape shop photo takes a full row on phones, and two of three columns beside a
   portrait photo on wide screens, where it takes that photo's height instead of its own. */
.gallery .wide { grid-column: span 2; position: relative; aspect-ratio: 4 / 3; }
.gallery .wide img { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; }
@media (min-width: 900px) {
  .gallery { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .gallery .wide { aspect-ratio: auto; }
}

.brands { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 32px; }
.brands li { font-size: clamp(1.7rem, 4.5vw, 2.6rem); font-weight: 800; font-stretch: 72%; line-height: 1.15; }

.cta-band {
  margin-top: 64px; padding: 32px 24px; display: grid; gap: 20px; align-items: center;
  background: var(--dark); color: var(--on-dark); border-radius: 16px;
}
.cta-band h2 { margin: 0 0 8px; font-size: clamp(1.7rem, 4vw, 2.4rem); }
.cta-band p { margin: 0; color: var(--on-dark-muted); }
.cta-band p a { color: var(--on-dark); font-weight: 700; }
@media (min-width: 900px) { .cta-band { margin-top: 96px; grid-template-columns: 1fr auto; padding: 44px 48px; } }

.info { display: grid; column-gap: 40px; }
.info > div { padding: 18px 0 28px; border-top: 2px solid var(--ink); }
.info h3 { margin: 0 0 12px; }
@media (min-width: 900px) { .info { grid-template-columns: repeat(3, 1fr); } }
.hours { width: 100%; border-collapse: collapse; }
.hours td { padding: 10px 0; border-bottom: 1px solid var(--line); }
.hours tr:last-child td { border-bottom: 0; }
.hours td:last-child { text-align: right; font-weight: 700; }
.hours .closed td:last-child { color: var(--accent); }
.contact-list { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 8px; }
.contact-list a { font-weight: 600; }
.note { margin: 0; color: var(--muted); }
.chips { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 4px 12px; border: 1.5px solid var(--ink); border-radius: 6px; font-size: .95rem; font-weight: 600; }

.faq { max-width: 820px; border-bottom: 1px solid var(--line); }
.faq details { border-top: 1px solid var(--line); }
.faq summary {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 18px 0; list-style: none; cursor: pointer; font-size: 1.1rem; font-weight: 700;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 1.6rem; font-weight: 600; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 0 20px; max-width: 62ch; color: var(--muted); }

/* Footer */
.site-footer { margin-top: 96px; padding: 48px 0 24px; background: var(--dark); color: var(--on-dark-muted); font-size: .95rem; }
.site-footer a { color: var(--on-dark); }
.site-footer h4 { margin: 0 0 10px; color: var(--on-dark); font-size: 1rem; }
.site-footer p { margin: 0 0 6px; }
.footer-grid { display: grid; gap: 28px; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; color: var(--on-dark); font-size: 1.1rem; font-weight: 800; font-stretch: 85%; }
.footer-brand img { width: 44px; height: 44px; border-radius: 8px; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--dark-line); font-size: .85rem;
}

.wa-float {
  position: fixed; right: 16px; bottom: 16px; z-index: 30;
  width: 58px; height: 58px; display: grid; place-items: center;
  border-radius: 50%; background: var(--wa); color: var(--on-accent); box-shadow: 0 6px 18px rgba(0, 0, 0, .25);
}
.wa-float .icon { width: 28px; height: 28px; }

/* Price page */
.page-hero { background: var(--surface); padding: 36px 0 40px; }
.page-hero h1 { margin: 0 0 12px; font-size: clamp(2.5rem, 8vw, 4.2rem); }
.finder { max-width: 640px; margin-top: 8px; }
.finder label { display: block; margin-bottom: 8px; font-weight: 700; }
.finder-box { display: flex; align-items: center; gap: 10px; padding: 0 16px; background: var(--card); border: 2px solid var(--ink); border-radius: 10px; color: var(--muted); }
.finder-box input { flex: 1; min-width: 0; padding: 15px 0; border: 0; outline: 0; background: none; font: inherit; font-size: 1.15rem; color: var(--ink); }
.finder-box:focus-within { outline: 3px solid var(--amber); outline-offset: 2px; }
.quick { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.quick button {
  padding: 6px 14px; border: 1.5px solid var(--line); border-radius: 6px;
  background: var(--card); color: var(--ink); font: inherit; font-weight: 600; cursor: pointer;
}
.quick button:hover { border-color: var(--ink); }

/* Price rows read across, so keep them near the brand name on wide screens. */
.result > *, .price-groups, .empty, .makes { max-width: 760px; }
.result { padding-top: 24px; }
.result:empty { display: none; }
.result .count { margin: 0 0 10px; }
.car-hits { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 8px; }
.car-hits li { padding: 12px 16px; background: var(--surface); border-radius: 10px; }
.car-hits strong, .car-hits span { display: block; }
.car-hits span { color: var(--muted); }
.car-hits a, .car-table a { color: var(--accent); font-weight: 700; }

.size-group { margin-top: 40px; scroll-margin-top: 80px; }
.size-group:first-child { margin-top: 0; }
.size-group h3 { margin: 0 0 4px; font-size: 1.7rem; font-weight: 850; font-stretch: 72%; }
.size-group h3 small { color: var(--muted); font-size: .9rem; font-weight: 600; font-stretch: 100%; }
.fits { margin: 0 0 12px; max-width: 62ch; color: var(--muted); font-size: .95rem; }
.price-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.price-list li { display: grid; grid-template-columns: 1fr auto 44px; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.price-list li[hidden] { display: none; }
.pl-name strong, .pl-price strong { display: block; }
.pl-name span, .pl-price span { display: block; color: var(--muted); font-size: .85rem; }
.pl-price { text-align: right; font-variant-numeric: tabular-nums; }
.pl-price strong { font-size: 1.2rem; font-weight: 800; }
.pl-wa { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 8px; background: var(--wa); color: var(--on-accent); }
.empty { margin-top: 8px; padding: 24px; background: var(--surface); border-radius: 16px; }
.empty h3 { margin-top: 0; }

.makes { border-bottom: 1px solid var(--line); }
.make { border-top: 1px solid var(--line); }
.make summary {
  display: flex; align-items: baseline; gap: 12px; padding: 16px 0; list-style: none; cursor: pointer;
  font-size: 1.2rem; font-weight: 800; font-stretch: 85%;
}
.make summary::-webkit-details-marker { display: none; }
.make summary span { margin-left: auto; color: var(--muted); font-size: .95rem; font-weight: 600; font-stretch: 100%; }
.make summary::after { content: "+"; color: var(--accent); font-size: 1.5rem; font-weight: 600; line-height: 1; transition: transform .2s; }
.make[open] summary::after { transform: rotate(45deg); }
.car-table { width: 100%; margin-bottom: 16px; border-collapse: collapse; }
.car-table td { padding: 10px 0; border-top: 1px solid var(--line); vertical-align: top; overflow-wrap: anywhere; }
.car-table td + td { padding-left: 16px; }
.car-table td:last-child { text-align: right; }
.car-table small { display: block; color: var(--accent-dark); font-weight: 600; }

/* Privacy page */
.doc { max-width: 760px; padding-top: 40px; }
.doc h1 { margin: 0; font-size: clamp(2.2rem, 5vw, 3rem); font-weight: 850; font-stretch: 70%; line-height: 1; }
.doc h2 { margin: 32px 0 8px; font-size: 1.5rem; font-stretch: 80%; }
.doc .updated { margin-top: 8px; color: var(--muted); }
.site-footer .footer-bottom:only-child { margin-top: 0; padding-top: 0; border-top: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .faq summary::after, .make summary::after { transition: none; }
}
