/* ==========================================================================
   MELAKA SERVICE ABSORBER & ADJUSTABLE
   Design tokens
   -- Palette: charcoal workshop dark, steel blue, safety amber accent
   -- Type: Oswald (condensed, mechanical) for display / Inter for body
   -- Signature: coil-spring motif used as divider & numbering device
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --charcoal:      #1B1E22;
  --charcoal-2:    #262A30;
  --steel:         #3B6E8F;
  --steel-light:   #6FA3C4;
  --amber:         #E39A2D;
  --amber-dark:    #B97A1D;
  --bg:            #EEF1F2;
  --bg-panel:      #FFFFFF;
  --ink:           #1B1E22;
  --ink-soft:      #4B5259;
  --line:          #D6DBDD;
  --whatsapp:      #25D366;
  --whatsapp-dark: #1DA851;
  --radius:        4px;
  --max:           1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--charcoal);
  margin: 0 0 0.5em;
  line-height: 1.15;
}

h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.2rem); font-weight: 600; }
h3 { font-size: 1.2rem; font-weight: 600; }

p { margin: 0 0 1em; color: var(--ink-soft); }
a { color: var(--steel); text-decoration: none; }
a:hover { color: var(--amber-dark); }

img { max-width: 100%; display: block; }

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

.eyebrow {
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--amber-dark);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0.6em;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--amber);
  display: inline-block;
}

/* Focus visibility */
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------------- Coil-spring signature motif ---------------- */
.coil-divider {
  width: 100%;
  height: 22px;
  background-repeat: repeat-x;
  background-size: 44px 22px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='22' viewBox='0 0 44 22'%3E%3Cpath d='M2 2 Q 11 20 22 11 Q 33 2 42 20' stroke='%23E39A2D' stroke-width='2.4' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  opacity: 0.9;
}
.coil-divider.dark {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='22' viewBox='0 0 44 22'%3E%3Cpath d='M2 2 Q 11 20 22 11 Q 33 2 42 20' stroke='%236FA3C4' stroke-width='2.4' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
}

.coil-num {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--charcoal);
  background: var(--bg);
  border: 2px solid var(--amber);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ---------------- Header / Nav ---------------- */
.site-header {
  background: var(--charcoal);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 3px solid var(--amber);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 16px;
}
.brand {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  line-height: 1.15;
}
.brand span {
  display: block;
  color: var(--amber);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  font-weight: 500;
  margin-top: 2px;
}
.brand a { color: inherit; }
.brand a:hover { color: #fff; }

nav.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
nav.main-nav a {
  color: #C9D0D4;
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  padding: 8px 12px;
  border-radius: var(--radius);
}
nav.main-nav a:hover,
nav.main-nav a[aria-current="page"] {
  color: #fff;
  background: rgba(255,255,255,0.08);
}
.nav-cta {
  background: var(--whatsapp);
  color: #fff !important;
  font-weight: 600;
  padding: 9px 16px !important;
  border-radius: var(--radius);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.nav-cta:hover { background: var(--whatsapp-dark); color: #fff !important; }

.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--amber);
  color: #fff;
  font-family: 'Oswald', sans-serif;
  font-size: 0.85rem;
  padding: 6px 12px;
  border-radius: var(--radius);
}

@media (max-width: 860px) {
  nav.main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--charcoal);
    flex-direction: column;
    align-items: stretch;
    padding: 8px 20px 18px;
    border-bottom: 3px solid var(--amber);
  }
  nav.main-nav.open { display: flex; }
  nav.main-nav a { padding: 12px 8px; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .nav-toggle { display: inline-block; }
  .nav-cta { margin-top: 10px; justify-content: center; }
}

/* ---------------- Hero ---------------- */
.hero {
  background:
    linear-gradient(100deg, rgba(27,30,34,0.96) 0%, rgba(27,30,34,0.88) 38%, rgba(27,30,34,0.55) 75%, rgba(27,30,34,0.35) 100%),
    url("images/gallery/gallery-08-bengkel-luar.jpg") center 22% / cover no-repeat;
  color: #fff;
  padding: 64px 0 56px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cpath d='M10 10 Q 60 200 110 100 Q 160 10 210 200' stroke='%23FFFFFF' stroke-width='2' fill='none' opacity='0.05'/%3E%3C/svg%3E");
  background-repeat: repeat;
  pointer-events: none;
}
.hero .container { position: relative; }
.hero-inner { max-width: 720px; }
.hero h1 { color: #fff; }
.hero .lead {
  color: #C9D0D4;
  font-size: 1.08rem;
  max-width: 560px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.btn {
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 14px 26px;
  border-radius: var(--radius);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 2px solid transparent;
  cursor: pointer;
}
.btn-primary { background: var(--whatsapp); color: #fff; }
.btn-primary:hover { background: var(--whatsapp-dark); color: #fff; }
.btn-outline { background: transparent; border-color: rgba(255,255,255,0.5); color: #fff; }
.btn-outline:hover { border-color: var(--amber); color: var(--amber); }
.btn-amber { background: var(--amber); color: var(--charcoal); }
.btn-amber:hover { background: var(--amber-dark); color: #fff; }

.hero-stats {
  display: flex;
  gap: 28px;
  margin-top: 40px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 24px;
}
.hero-stats .stat b {
  font-family: 'Oswald', sans-serif;
  font-size: 1.7rem;
  color: var(--amber);
  display: block;
}
.hero-stats .stat span {
  font-size: 0.78rem;
  color: #A9B0B5;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ---------------- Sections ---------------- */
section { padding: 56px 0; }
.section-alt { background: var(--bg-panel); }
.section-head { max-width: 640px; margin-bottom: 34px; }

.grid {
  display: grid;
  gap: 22px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.card {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.card.on-alt { background: var(--bg); }

.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 8px 0;
  color: var(--ink-soft);
  border-bottom: 1px dashed var(--line);
}
.check-list li:last-child { border-bottom: none; }
.check-list li::before {
  content: "✓";
  color: var(--whatsapp-dark);
  font-weight: 700;
  flex-shrink: 0;
}

.symptom-list li::before { content: "⚠"; color: var(--amber-dark); }

.service-card {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-left: 4px solid var(--amber);
  border-radius: var(--radius);
  padding: 26px;
}
.service-card h3 { margin-bottom: 10px; }
.service-card .meta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--ink-soft);
}
.service-card .meta b { color: var(--charcoal); }
.service-card .warranty-note {
  font-size: 0.85rem;
  color: var(--ink-soft);
  background: var(--bg);
  border-radius: var(--radius);
  padding: 10px 12px;
  margin-top: 12px;
}

.price-card {
  background: var(--charcoal);
  color: #fff;
  border-radius: var(--radius);
  padding: 28px;
}
.price-card h3 { color: #fff; }
.price-card .price {
  font-family: 'Oswald', sans-serif;
  font-size: 1.8rem;
  color: var(--amber);
  margin: 10px 0;
}
.price-card .price small { font-size: 0.9rem; color: #C9D0D4; }
.price-card p { color: #C9D0D4; }
.price-card.on-light {
  background: var(--bg-panel);
  color: var(--ink);
  border: 1px solid var(--line);
}
.price-card.on-light h3 { color: var(--charcoal); }
.price-card.on-light .price { color: var(--amber-dark); }
.price-card.on-light p { color: var(--ink-soft); }

.testimonial-card {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  position: relative;
}
.testimonial-card .quote-mark {
  font-family: 'Oswald', sans-serif;
  font-size: 2.4rem;
  color: var(--amber);
  line-height: 1;
  display: block;
  margin-bottom: 8px;
}
.testimonial-card .name {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  color: var(--charcoal);
  margin-top: 12px;
  font-size: 0.92rem;
}

/* ---------------- Google-style review card ---------------- */
.g-review {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}
.g-review-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.g-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 1rem;
}
.g-who { flex: 1; min-width: 0; }
.g-name {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 4px;
}
.g-name .g-badge {
  color: var(--steel);
  font-size: 0.8em;
}
.g-meta {
  font-size: 0.78rem;
  color: var(--ink-soft);
  margin-top: 1px;
}
.g-icon { flex-shrink: 0; margin-top: 2px; }
.g-stars-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 10px 0 8px;
}
.g-stars { color: #E7A83C; font-size: 0.95rem; letter-spacing: 1px; }
.g-stars .empty { color: var(--line); }
.g-time { font-size: 0.78rem; color: var(--ink-soft); }
.g-text {
  font-size: 0.9rem;
  color: var(--ink);
  margin: 0;
}
.g-photos {
  display: flex;
  gap: 8px;
  margin-top: 14px;
  flex-wrap: wrap;
}
.g-photos img {
  width: 76px;
  height: 76px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
@media (max-width: 600px) {
  .g-photos img { width: 68px; height: 68px; }
}

/* ---------------- Review CTA callout ---------------- */
.review-cta {
  max-width: 620px;
  margin: 40px auto 0;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-left: 4px solid var(--amber);
  border-radius: var(--radius);
  padding: 30px 32px;
  text-align: center;
}
.review-cta h3 { margin-bottom: 8px; }
.review-cta .rc-lead {
  color: var(--ink-soft);
  margin-bottom: 20px;
}
.review-cta .rc-links {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.review-cta .rc-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 18px;
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  font-weight: 600;
  color: var(--ink);
  background: var(--bg);
}
.review-cta .rc-link:hover {
  border-color: var(--amber);
  color: var(--amber-dark);
}
.review-cta .rc-link svg { flex-shrink: 0; }
.review-cta .rc-note {
  font-size: 0.85rem;
  color: var(--ink-soft);
  padding-top: 18px;
  margin: 0;
  border-top: 1px dashed var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.faq-item summary {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--charcoal);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  color: var(--amber-dark);
  font-size: 1.3rem;
  font-weight: 400;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item p { margin-top: 12px; }

.gallery-item {
  aspect-ratio: 4/3;
  background: var(--bg-panel);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-soft);
  font-size: 0.85rem;
  text-align: center;
  padding: 14px;
}

/* ---------------- Photo gallery ---------------- */
.gallery-photo {
  display: block;
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}
.gallery-photo.tall { aspect-ratio: 3/4; }
.gallery-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}
.gallery-photo:hover img { transform: scale(1.06); }
.gallery-photo .g-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0) 100%);
  color: #fff;
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 22px 10px 8px;
}

.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}
.map-wrap iframe { width: 100%; height: 340px; border: 0; display: block; }

.contact-block {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.contact-block:last-child { border-bottom: none; }
.contact-block .ic {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--charcoal);
  color: var(--amber);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-weight: 700;
  font-family: 'Oswald', sans-serif;
}
.contact-block h4 { margin: 0 0 4px; }
.contact-block p { margin: 0; }

/* ---------------- CTA band ---------------- */
.cta-band {
  background: var(--charcoal);
  color: #fff;
  text-align: center;
  padding: 48px 0;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #C9D0D4; max-width: 520px; margin-left: auto; margin-right: auto; }
.cta-band .btn-primary { margin-top: 10px; }

/* ---------------- Footer ---------------- */
footer.site-footer {
  background: #14161A;
  color: #9AA1A6;
  padding: 44px 0 22px;
  font-size: 0.9rem;
}
footer.site-footer .foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 30px;
  padding-bottom: 26px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
footer.site-footer h4 {
  color: #fff;
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}
footer.site-footer a { color: #9AA1A6; }
footer.site-footer a:hover { color: var(--amber); }
footer.site-footer .foot-links { list-style: none; padding: 0; margin: 0; }
footer.site-footer .foot-links li { margin-bottom: 8px; }
footer.site-footer .foot-bottom {
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.8rem;
}
@media (max-width: 700px) {
  footer.site-footer .foot-grid { grid-template-columns: 1fr; }
}

/* ---------------- Floating WhatsApp ---------------- */
.wa-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--whatsapp);
  color: #fff;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.28);
  z-index: 200;
  transition: transform 0.15s ease;
}
.wa-float:hover { transform: scale(1.06); color: #fff; }
.wa-float svg { width: 28px; height: 28px; }

/* ---------------- Page header (inner pages) ---------------- */
.page-hero {
  background: var(--charcoal);
  color: #fff;
  padding: 44px 0;
}
.page-hero h1 { color: #fff; margin-bottom: 6px; }
.page-hero p { color: #C9D0D4; margin: 0; }

/* Breadcrumb-ish eyebrow on dark */
.page-hero .eyebrow { color: var(--amber); }
.page-hero .eyebrow::before { background: var(--amber); }
