/* ==========================================================
   Zaravela Beauty Center - Stylesheet (dark & light)
   Pendekatan: mobile-first.
   Breakpoint: 480 / 640 / 768 / 900 / 1024 / 1280 / 1536
   ========================================================== */

/* ---------- Variables: tema DARK (default) ---------- */
:root {
  color-scheme: dark;

  --gold: #d4af37;
  --gold-text: #d4af37;
  --gold-line: rgba(212, 175, 55, 0.3);
  --gold-faint: rgba(212, 175, 55, 0.06);

  --bg: #121414;
  --bg-soft: #000000;
  --header-bg: rgba(0, 0, 0, 0.9);
  --ink: #ffffff;
  --text: #d1d5db;
  --muted: #9ca3af;

  --hero-img-opacity: 0.4;
  --hero-overlay: linear-gradient(to right, #000 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
  --hero-desc: #d1d5db;

  --map-bg: #1a1c1c;
  --map-opacity: 0.3;
  --map-opacity-hover: 0.5;

  --wa: #25d366;
  --font-serif: "Playfair Display", serif;
  --font-sans: "Inter", sans-serif;

  --header-h: 64px;
}

/* ---------- Variables: tema LIGHT ---------- */
:root[data-theme="light"] {
  color-scheme: light;

  --gold-text: #9a7b1c;          /* emas lebih gelap agar terbaca di background putih */
  --gold-line: rgba(212, 175, 55, 0.35);
  --gold-faint: rgba(212, 175, 55, 0.08);

  --bg: #ffffff;
  --bg-soft: #faf7f0;
  --header-bg: rgba(255, 255, 255, 0.92);
  --ink: #1a1a1a;
  --text: #3a3a3a;
  --muted: #6e6e6e;

  --hero-img-opacity: 1;
  --hero-overlay: linear-gradient(to right, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.7) 35%, rgba(255, 255, 255, 0) 70%);
  --hero-desc: #4a4a4a;

  --map-bg: #eeeeee;
  --map-opacity: 0.8;
  --map-opacity-hover: 1;
}

/* Di layar < 1024px teks ditaruh di bagian bawah hero, jadi overlay menebal ke bawah
   dan bagian atas gambar tetap jelas (lihat juga aturan .hero di bagian responsive) */
@media (max-width: 1023px) {
  :root {
    --hero-overlay: linear-gradient(to top, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.65) 45%, rgba(0, 0, 0, 0) 85%);
    --hero-img-opacity: 0.6;
  }
  :root[data-theme="light"] {
    --hero-overlay: linear-gradient(to top, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.85) 45%, rgba(255, 255, 255, 0) 85%);
    --hero-img-opacity: 1;
  }
}

/* Logo di tema light: latar hitam jadi putih, warna emas tetap emas (lebih tua).
   mix-blend-mode: multiply membuat bagian putih logo "melebur" ke warna di belakangnya
   (putih di header, krem di footer), jadi tidak ada kotak/border di sekeliling logo. */
:root[data-theme="light"] .brand-logo,
:root[data-theme="light"] .footer-brand img {
  filter: invert(1) hue-rotate(180deg);
  mix-blend-mode: multiply;
}
:root[data-theme="light"] .footer-brand img { opacity: 1; }

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);   /* anchor tidak tertutup header fixed */
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  overflow-x: clip;                      /* cegah scroll horizontal di HP */
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.3s, color 0.3s;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; }

.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 20px; }

.gold-border { border: 1px solid var(--gold-line); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 16px 28px;
  border-radius: 2px;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  transition: all 0.3s;
}
.btn-gold {
  background: linear-gradient(135deg, #d4af37 0%, #f1d592 50%, #d4af37 100%);
  color: #000;
}
.btn-gold:hover { box-shadow: 0 0 30px rgba(212, 175, 55, 0.45); }
.btn-outline {
  border: 1px solid var(--gold);
  color: var(--gold-text);
}
.btn-outline:hover { background: var(--gold); color: #000; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: var(--header-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gold-line);
}
.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.brand { display: flex; align-items: center; gap: 8px; min-width: 0; }
.brand-logo { height: 36px; width: auto; object-fit: contain; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; min-width: 0; }
.brand-name {
  font-family: var(--font-serif);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.15em;
  color: var(--gold-text);
  white-space: nowrap;
}
.brand-sub {
  margin-top: 4px;
  font-size: 8px;
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-text);
  white-space: nowrap;
}
.header-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.nav-link {
  display: none;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--ink);
  transition: color 0.3s;
}
.nav-link:hover { color: var(--gold-text); }
.header-phone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 40px; height: 40px;
  padding: 0 12px;
  border: 1px solid var(--gold-line);
  border-radius: 2px;
  transition: border-color 0.3s;
}
.header-phone:hover { border-color: var(--gold); }
.header-phone svg { width: 14px; height: 14px; color: var(--gold-text); flex-shrink: 0; }
.header-phone span {
  display: none;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--gold-text);
  white-space: nowrap;
}

/* ---------- Theme toggle ---------- */
.theme-toggle {
  width: 40px; height: 40px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: transparent;
  border: 1px solid var(--gold-line);
  border-radius: 2px;
  color: var(--gold-text);
  transition: all 0.3s;
}
.theme-toggle:hover { border-color: var(--gold); background: var(--gold-faint); }
.theme-toggle svg { width: 18px; height: 18px; }
/* Dark aktif -> ikon matahari (klik untuk ke light) */
.theme-toggle .icon-moon { display: none; }
/* Light aktif -> ikon bulan (klik untuk ke dark) */
:root[data-theme="light"] .theme-toggle .icon-sun { display: none; }
:root[data-theme="light"] .theme-toggle .icon-moon { display: block; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;                    /* HP: tidak terpotong address bar */
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: calc(var(--header-h) + 32px) 0 56px;
  background: var(--bg);
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  opacity: var(--hero-img-opacity);
  transform: scale(1.05);
}
.hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background: var(--hero-overlay);
}
.hero .container { position: relative; z-index: 1; }
.hero-content { max-width: 896px; }
.hero-title {
  margin-bottom: 24px;
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 1.2rem + 5.2vw, 6rem);   /* 36px (HP) -> 96px (desktop) */
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.hero-title em { font-style: italic; color: var(--gold-text); }
.hero-desc {
  max-width: 576px;
  margin-bottom: 32px;
  font-size: clamp(0.8rem, 0.7rem + 0.5vw, 1.125rem);
  font-weight: 300;
  line-height: 1.7;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--hero-desc);
}
.hero-buttons { display: flex; flex-direction: column; gap: 16px; margin-bottom: 40px; }
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  padding-top: 28px;
  border-top: 1px solid var(--gold-line);
}
.badge { display: flex; align-items: center; gap: 10px; }
.badge-icon { font-size: 18px; color: var(--gold-text); }
.badge-text {
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
}

/* ---------- Section heading ---------- */
.section-head { text-align: center; margin-bottom: clamp(2.5rem, 2rem + 3vw, 6rem); }
.section-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 2vw, 24px);
  margin-bottom: 16px;
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 1rem + 1.6vw, 2.25rem);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-text);
}
.section-title::before,
.section-title::after {
  content: "";
  width: clamp(20px, 5vw, 64px);
  height: 1px;
  background: var(--gold-line);
}
.section-sub {
  font-size: 10px;
  font-weight: 300;
  line-height: 1.8;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--muted);
}

/* ---------- Services ---------- */
.services { padding: clamp(4.5rem, 3rem + 6vw, 8rem) 0; background: var(--bg); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);   /* 10 kartu = 5 baris x 2, tidak ada kartu yatim */
  gap: 14px;
}
.service-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 12px;
  text-align: center;
  transition: background 0.5s;
}
.service-card:hover { background: var(--gold-faint); }
.service-icon {
  width: 40px; height: 40px;
  margin-bottom: 14px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--gold-line);
  border-radius: 50%;
  color: var(--gold-text);
  transition: all 0.5s;
}
.service-icon svg { width: 20px; height: 20px; }
.service-card:hover .service-icon { background: var(--gold); color: #000; }
.service-name {
  margin-bottom: 8px;
  font-family: var(--font-serif);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold-text);
}
.service-desc {
  flex-grow: 1;                           /* tinggi kartu sama, harga selalu sejajar di bawah */
  margin-bottom: 14px;
  font-size: 10px;
  line-height: 1.6;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.service-from { margin-bottom: 4px; font-size: 10px; font-style: italic; color: var(--muted); }
.service-price {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--gold-text);
}

/* ---------- Features & Promo ---------- */
.features {
  padding: clamp(4.5rem, 3rem + 6vw, 8rem) 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--gold-line);
  border-bottom: 1px solid var(--gold-line);
}
.features-layout { display: grid; gap: 48px; align-items: center; }
.features-title {
  margin-bottom: 32px;
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 1rem + 1.2vw, 1.875rem);
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold-text);
}
.features-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }
.feature { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.feature svg { width: 32px; height: 32px; color: var(--gold-text); }
.feature p {
  font-size: 10px;
  font-weight: 700;
  line-height: 1.6;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--ink);
}

.promo {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 380px;
  overflow: hidden;
  border-radius: 2px;
}
.promo-bg { position: absolute; inset: 0; z-index: 0; background: #1a1c1c; }
.promo-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.7;
  transform: scale(1.05);
  transition: transform 1s;
}
.promo:hover .promo-bg img { transform: scale(1); }
.promo-bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.3) 60%, transparent);
}
.promo-body { position: relative; z-index: 1; width: 100%; padding: 24px; }
.promo-label {
  display: block;
  margin-bottom: 12px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--gold);
}
.promo-title {
  margin-bottom: 16px;
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 1.1rem + 1.8vw, 2.25rem);
  font-weight: 400;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #fff;
}
.promo-prices { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-bottom: 24px; }
.price-old { font-size: 15px; font-weight: 300; letter-spacing: 0.1em; text-decoration: line-through; color: #bbb; }
.price-new { font-size: clamp(1.25rem, 1rem + 1.2vw, 1.875rem); font-weight: 700; letter-spacing: 0.08em; color: var(--gold); }
.promo-desc {
  max-width: 384px;
  margin-bottom: 24px;
  font-size: 10px;
  line-height: 1.7;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #e5e5e5;
}
.promo .btn { width: 100%; padding: 14px 28px; font-size: 11px; }

/* ---------- Footer ---------- */
.site-footer {
  padding: 64px 0 calc(40px + env(safe-area-inset-bottom));
  background: var(--bg-soft);
  border-top: 1px solid var(--gold-line);
}
.footer-grid { display: grid; gap: 40px; margin-bottom: 56px; }
.footer-title {
  margin-bottom: 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--gold-text);
}
.footer-address {
  margin-bottom: 24px;
  font-size: 11px;
  font-weight: 300;
  line-height: 1.8;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text);
}
.maps-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-radius: 2px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold-text);
  transition: background 0.3s;
}
.maps-btn:hover { background: var(--gold-faint); }
.maps-btn svg { width: 16px; height: 16px; flex-shrink: 0; transition: transform 0.3s; }
.maps-btn:hover svg { transform: scale(1.25); }

.footer-map { height: 220px; overflow: hidden; background: var(--map-bg); }
.footer-map img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: var(--map-opacity);
  transition: opacity 0.7s;
}
.footer-map:hover img { opacity: var(--map-opacity-hover); }

.footer-info { display: grid; grid-template-columns: 1fr; gap: 32px; }
.footer-info .footer-title { margin-bottom: 16px; }
.hours-day {
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted);
}
.hours-time { font-size: 12px; font-weight: 700; letter-spacing: 0.15em; color: var(--ink); }
.contact-list { display: flex; flex-direction: column; gap: 16px; }
.contact-list a {
  font-size: 11px;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text);
  transition: color 0.3s;
}
.contact-list a:hover { color: var(--gold-text); }

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding-top: 36px;
  border-top: 1px solid var(--gold-line);
}
.footer-brand { display: flex; align-items: center; gap: 16px; }
.footer-brand img { height: 36px; width: auto; opacity: 0.9; }
.footer-brand-name {
  font-family: var(--font-serif);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.25em;
  color: var(--gold-text);
}
.footer-brand-sub {
  margin-top: 4px;
  font-size: 8px;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold-text);
}
.copyright {
  font-size: 10px;
  font-weight: 300;
  line-height: 1.8;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
}
.back-top {
  width: 40px; height: 40px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--gold-line);
  border-radius: 2px;
  color: var(--gold-text);
  transition: all 0.3s;
}
.back-top:hover { border-color: var(--gold); color: var(--ink); }
.back-top svg { width: 20px; height: 20px; transition: transform 0.3s; }
.back-top:hover svg { transform: translateY(-4px); }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed;
  bottom: calc(20px + env(safe-area-inset-bottom));
  right: calc(20px + env(safe-area-inset-right));
  z-index: 60;
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--wa);
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.35);
  transition: transform 0.3s;
}
.wa-float:hover { transform: scale(1.1); }
.wa-float:active { transform: scale(0.95); }
.wa-float svg { width: 30px; height: 30px; color: #fff; }

/* ==========================================================
   RESPONSIVE
   ========================================================== */

/* ---- HP sangat kecil (< 360px, mis. iPhone SE lama, Android kecil) ---- */
@media (max-width: 359px) {
  .container { padding: 0 16px; }
  .brand-logo { height: 30px; }
  .brand-name { font-size: 12px; letter-spacing: 0.1em; }
  .brand-sub { font-size: 7px; letter-spacing: 0.15em; }
  .header-phone, .theme-toggle { width: 36px; min-width: 36px; height: 36px; padding: 0; }
  .hero-desc { letter-spacing: 0.06em; }
  .btn { padding: 14px 16px; letter-spacing: 0.14em; }
  .services-grid { gap: 10px; }
  .service-card { padding: 16px 8px; }
  .service-name { letter-spacing: 0.06em; }
  .service-price { font-size: 13px; }
  .features-grid { gap: 24px 12px; }
  .promo-body { padding: 20px; }
}

/* ---- HP besar (>= 480px) ---- */
@media (min-width: 480px) {
  .features-grid { grid-template-columns: repeat(3, 1fr); gap: 32px 20px; }
  .footer-info { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .hero-buttons { flex-direction: row; flex-wrap: wrap; }
  .hero-buttons .btn { flex: 1 1 auto; }
}

/* ---- Tablet kecil (>= 640px) ---- */
@media (min-width: 640px) {
  :root { --header-h: 80px; }
  .container { padding: 0 24px; }

  .brand { gap: 16px; }
  .brand-logo { height: 48px; }
  .brand-name { font-size: 18px; letter-spacing: 0.2em; }
  .brand-sub { font-size: 9px; letter-spacing: 0.3em; }
  .header-actions { gap: 16px; }
  .header-phone { height: 44px; padding: 0 20px; }
  .header-phone span { display: inline; }
  .theme-toggle { width: 44px; height: 44px; }

  .hero { padding: calc(var(--header-h) + 40px) 0 72px; }
  .hero-desc { letter-spacing: 0.18em; margin-bottom: 40px; }
  .hero-buttons { gap: 24px; margin-bottom: 64px; }
  .hero-buttons .btn { flex: 0 0 auto; padding: 20px 44px; font-size: 14px; }
  .hero-badges { gap: 20px 40px; padding-top: 36px; }
  .badge-text { font-size: 11px; letter-spacing: 0.28em; }

  .section-sub { font-size: 12px; letter-spacing: 0.35em; }

  .services-grid { gap: 20px; }
  .service-card { padding: 28px 20px; }
  .service-icon { width: 48px; height: 48px; margin-bottom: 20px; }
  .service-icon svg { width: 24px; height: 24px; }
  .service-name { font-size: 12px; letter-spacing: 0.18em; }
  .service-desc { font-size: 11px; margin-bottom: 20px; letter-spacing: 0.08em; }
  .service-from { font-size: 11px; }
  .service-price { font-size: 18px; letter-spacing: 0.15em; }

  .features-layout { gap: 64px; }
  .features-title { margin-bottom: 48px; }
  .features-grid { gap: 40px 32px; }
  .feature { gap: 16px; }
  .feature svg { width: 40px; height: 40px; }
  .feature p { font-size: 11px; }

  .promo { min-height: 460px; }
  .promo-body { padding: 40px; }
  .promo-label { font-size: 11px; letter-spacing: 0.45em; margin-bottom: 16px; }
  .promo-title { margin-bottom: 24px; }
  .promo-prices { gap: 8px 24px; margin-bottom: 32px; }
  .price-old { font-size: 18px; }
  .promo-desc { font-size: 11px; margin-bottom: 32px; letter-spacing: 0.18em; }
  .promo .btn { width: auto; padding: 16px 40px; }

  .site-footer { padding: 88px 0 calc(48px + env(safe-area-inset-bottom)); }
  .footer-grid { gap: 56px; margin-bottom: 80px; }
  .footer-title { margin-bottom: 32px; letter-spacing: 0.4em; }
  .footer-address { font-size: 12px; margin-bottom: 32px; letter-spacing: 0.18em; }
  .maps-btn { padding: 16px 32px; gap: 16px; font-size: 11px; letter-spacing: 0.18em; }
  .footer-map { height: 256px; }
  .footer-info { gap: 40px; }
  .footer-info .footer-title { margin-bottom: 28px; }
  .hours-day { font-size: 12px; }
  .hours-time { font-size: 13px; }
  .contact-list a { font-size: 12px; }
  .footer-bottom { padding-top: 48px; gap: 32px; }
  .footer-brand img { height: 40px; }
  .footer-brand-name { font-size: 13px; letter-spacing: 0.3em; }
  .footer-brand-sub { font-size: 9px; letter-spacing: 0.2em; }
  .copyright { letter-spacing: 0.25em; }

  .wa-float { bottom: calc(32px + env(safe-area-inset-bottom)); right: calc(32px + env(safe-area-inset-right)); width: 64px; height: 64px; }
  .wa-float svg { width: 36px; height: 36px; }
}

/* ---- Tablet (>= 768px) ---- */
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-info { grid-column: span 2; }
  .footer-bottom { flex-direction: row; justify-content: space-between; }
}

/* ---- Tablet landscape / laptop kecil (>= 900px): 10 kartu = 2 baris x 5 ---- */
@media (min-width: 900px) {
  .services-grid { grid-template-columns: repeat(5, 1fr); gap: 18px; }
  .service-card { padding: 24px 14px; }
  .service-name { letter-spacing: 0.12em; }
  .service-price { font-size: 16px; letter-spacing: 0.1em; }
}

/* ---- Laptop / desktop (>= 1024px) ---- */
@media (min-width: 1024px) {
  .container { padding: 0 32px; }

  .nav-link { display: block; }
  .header-actions { gap: 32px; }

  .hero { padding: calc(var(--header-h) + 48px) 0 96px; }

  .services-grid { gap: 24px; }
  .service-card { padding: 30px 18px; }
  .service-name { font-size: 12px; letter-spacing: 0.16em; }

  .features-layout { grid-template-columns: repeat(2, 1fr); gap: 72px; }
  .features-grid { gap: 40px 28px; }
  .promo { min-height: 500px; }

  .footer-grid { grid-template-columns: repeat(12, 1fr); gap: 64px; }
  .footer-location { grid-column: span 4; }
  .footer-map { grid-column: span 4; height: 256px; }
  .footer-info { grid-column: span 4; grid-template-columns: repeat(2, 1fr); gap: 32px; }
}

/* ---- Desktop besar (>= 1280px) ---- */
@media (min-width: 1280px) {
  .services-grid { gap: 32px; }
  .service-card { padding: 36px 24px; }
  .service-name { letter-spacing: 0.2em; }
  .service-price { font-size: 18px; letter-spacing: 0.2em; }

  .features-layout { gap: 96px; }
  .features-grid { gap: 48px 32px; }
  .footer-grid { gap: 80px; }
  .footer-info { gap: 40px; }
}

/* ---- Monitor lebar (>= 1536px) ---- */
@media (min-width: 1536px) {
  .container { max-width: 1440px; }
  .hero-content { max-width: 1000px; }
}

/* ---- HP & tablet (< 1024px): teks di bawah, gambar banner terlihat jelas di atas ---- */
@media (max-width: 1023px) {
  .hero { align-items: flex-end; min-height: 100vh; min-height: 100svh; }
  .hero-bg img { object-position: center top; }
}

/* ---- HP landscape / layar pendek: hero tidak dipaksa setinggi layar ---- */
@media (max-height: 520px) and (orientation: landscape) {
  .hero { min-height: auto; align-items: center; padding: calc(var(--header-h) + 24px) 0 40px; }
  .hero-title { font-size: clamp(1.75rem, 5vw, 3rem); margin-bottom: 16px; }
  .hero-desc { margin-bottom: 20px; }
  .hero-buttons { margin-bottom: 28px; }
}

/* ---- Hormati pengaturan "kurangi animasi" di perangkat ---- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}