/* Mitra Renovasi Rumah — gaya editorial: krem, hijau tua, aksen terakota */
:root {
  --ink: #172019;
  --cream: #f5f1e8;
  --cream-2: #e8e4da;
  --white: #fff;
  --accent: #b96b3a;
  --accent-dark: #96502a;
  --muted: #697269;
  --line: #d7d8d1;
  --wa: #25d366;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--cream); color: var(--ink); line-height: 1.58;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
.wrap { max-width: 1180px; margin: auto; padding: 0 22px; }

/* ---------- Header ---------- */
header.site {
  position: absolute; z-index: 20; width: 100%; color: #fff; padding: 22px 0;
}
header.site.solid { position: static; background: var(--ink); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand { font-size: 22px; font-weight: 800; letter-spacing: .5px; line-height: 1.1; }
.brand small { display: block; font-size: 11px; font-weight: 600; opacity: .75; letter-spacing: .04em; }
.navlinks { display: flex; gap: 22px; align-items: center; font-size: 14.5px; font-weight: 600; }
.navlinks a { opacity: .92; }
.navlinks a:hover { opacity: 1; color: #f0c9a8; }
.btn {
  display: inline-block; background: var(--accent); color: #fff; padding: 13px 20px;
  border-radius: 3px; font-weight: 700; font-size: 14.5px; border: 0; cursor: pointer;
}
.btn:hover { background: var(--accent-dark); }
.btn-sm { padding: 10px 15px; font-size: 13.5px; }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: #f1ece3; }
.btn-wa { background: var(--wa); color: #06301a; }
.btn-wa:hover { background: #1eb955; }

/* ---------- Hero ---------- */
.hero {
  min-height: 700px; display: flex; align-items: center; color: #fff;
  background-size: cover; background-position: center;
  position: relative;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10, 20, 14, .8), rgba(10, 20, 14, .3));
}
.hero .wrap { position: relative; z-index: 2; }
.eyebrow { text-transform: uppercase; letter-spacing: 2px; font-weight: 800; color: var(--accent); font-size: 12.5px; margin: 0 0 10px; }
.hero .eyebrow { color: #f0c9a8; }
.hero h1 { font-size: clamp(34px, 5.4vw, 68px); line-height: 1.04; max-width: 880px; margin: 0 0 20px; letter-spacing: -.5px; }
.hero p { font-size: 18.5px; max-width: 700px; color: #dfe5df; margin: 0 0 4px; }
.checks { display: flex; gap: 18px; flex-wrap: wrap; margin: 26px 0; font-size: 15px; }
.checks span::first-letter { color: #f0c9a8; }

/* ---------- Panel GRATIS ---------- */
.promo { padding: 0 0 8px; margin-top: -58px; position: relative; z-index: 10; }
.promo-inner {
  background: #fff; border-left: 6px solid var(--accent); border-radius: 4px;
  box-shadow: 0 14px 40px rgba(23, 32, 25, .14); padding: 22px 26px;
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
}
.promo-badge { background: var(--accent); color: #fff; font-weight: 900; letter-spacing: .12em; padding: 9px 14px; border-radius: 3px; font-size: 13.5px; }
.promo-copy { flex: 1 1 320px; }
.promo-copy h2 { margin: 0 0 5px; font-size: 21px; }
.promo-copy p { margin: 0; color: var(--muted); font-size: 14.5px; }
.promo-points { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3px 18px; margin: 0; padding: 0; font-size: 13.5px; flex: 1 1 280px; color: var(--ink); }
.promo-points li::before { content: "✓"; color: var(--accent); font-weight: 800; margin-right: 7px; }

/* ---------- Section dasar ---------- */
.section { padding: 84px 0; }
.section h2 { font-size: clamp(28px, 3.6vw, 46px); line-height: 1.1; margin: 8px 0 16px; letter-spacing: -.6px; }
.lead { max-width: 780px; color: var(--muted); font-size: 17px; margin: 0; }
.dark { background: var(--ink); color: #fff; }
.dark .lead { color: #c9d0ca; }
.dark h2 { color: #fff; }
.soft { background: var(--cream-2); }

/* ---------- Kartu layanan ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 40px; }
.card { background: #fff; padding: 28px; min-height: 220px; border-radius: 4px; display: flex; flex-direction: column; }
.card h3 { font-size: 21px; margin: 10px 0 8px; }
.card p { color: var(--muted); font-size: 14.5px; margin: 0 0 12px; }
.card ul { margin: 0 0 14px; padding-left: 18px; font-size: 14px; color: var(--ink); }
.card ul li { margin-bottom: 4px; }
.card .num { font-size: 12.5px; font-weight: 800; color: var(--accent); letter-spacing: .1em; }
.card .link { margin-top: auto; font-weight: 700; font-size: 14px; color: var(--accent-dark); }
.card-photo { padding: 0; overflow: hidden; }
.card-photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.card-photo .body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }

/* ---------- Portofolio ---------- */
.projects { display: grid; grid-template-columns: 1.3fr 1fr; gap: 22px; margin-top: 38px; }
.project {
  min-height: 420px; padding: 28px; display: flex; align-items: flex-end;
  background-size: cover; background-position: center; color: #fff; position: relative; border-radius: 4px;
}
.project::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent, rgba(0, 0, 0, .74)); }
.project > div { position: relative; z-index: 1; }
.project small { letter-spacing: .14em; font-weight: 800; font-size: 11.5px; color: #f0c9a8; }
.project h3 { font-size: 26px; margin: 8px 0 0; }

/* ---------- Galeri ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 34px; }
.gallery figure { margin: 0; background: #fff; border-radius: 4px; overflow: hidden; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .4s ease; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption { padding: 10px 12px; font-size: 12.5px; color: var(--muted); }
.gallery .credit { display: block; font-size: 10.5px; color: #98a29a; }
.chips { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 22px; }
.chip { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 15px; font-size: 13.5px; font-weight: 600; }
.chip:hover { border-color: var(--accent); color: var(--accent-dark); }

/* ---------- Proses ---------- */
.process { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); margin-top: 40px; }
.step { background: var(--cream); padding: 26px; }
.step b { font-size: 30px; color: var(--accent); display: block; margin-bottom: 6px; }
.step h3 { margin: 0 0 6px; font-size: 17px; }
.step p { margin: 0; color: var(--muted); font-size: 14px; }

/* ---------- Area ---------- */
.areas { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-top: 32px; }
.area { background: #fff; padding: 20px; text-align: center; font-weight: 800; border-radius: 4px; }

/* ---------- FAQ ---------- */
details { background: #fff; padding: 18px 22px; margin: 10px 0; border-radius: 4px; }
summary { font-weight: 800; cursor: pointer; color: var(--ink); }
details p { color: var(--muted); margin: 12px 0 4px; font-size: 14.5px; }

/* ---------- CTA ---------- */
.cta { background: var(--accent); color: #fff; text-align: center; padding: 72px 20px; }
.cta .eyebrow { color: #ffe6d4; }
.cta h2 { font-size: clamp(28px, 4vw, 46px); margin: 0 0 16px; }
.cta p { max-width: 700px; margin: 0 auto 24px; color: #ffe9dc; }

/* ---------- Footer + WA melayang ---------- */
footer { background: #101612; color: #d7ddd8; padding: 50px 0; font-size: 14.5px; }
.foot { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.foot a { color: #d7ddd8; }
.foot a:hover { color: #f0c9a8; }
.foot h4 { color: #fff; margin: 0 0 8px; font-size: 14px; }
.wa-float {
  position: fixed; right: 18px; bottom: 18px; background: var(--wa); color: #fff;
  padding: 14px 18px; border-radius: 999px; font-weight: 800; z-index: 30;
  box-shadow: 0 5px 18px rgba(0, 0, 0, .28);
}

/* ---------- Halaman dalam ---------- */
.page-head { background: var(--ink); color: #fff; padding: 46px 0; }
.page-head h1 { font-size: clamp(26px, 3.4vw, 40px); margin: 0 0 10px; letter-spacing: -.5px; }
.page-head p { margin: 0; color: #c9d0ca; max-width: 72ch; }
.crumb { font-size: 13px; color: #9aa79d; margin-bottom: 10px; }
.crumb a { color: #9aa79d; }
.notice { background: #fff; border-left: 5px solid var(--accent); padding: 15px 18px; font-size: 14px; color: var(--muted); margin-bottom: 8px; }

/* ---------- Form ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 28px; align-items: start; }
.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li { background: #fff; padding: 16px 18px; margin-bottom: 10px; border-radius: 4px; }
.info-list strong { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); margin-bottom: 4px; }
.form { background: #fff; padding: 26px; border-radius: 4px; }
.form label { display: block; font-weight: 700; font-size: 13.5px; margin: 14px 0 6px; }
.form input, .form textarea, .form select {
  width: 100%; padding: 12px 13px; border: 1px solid var(--line); border-radius: 3px;
  font: inherit; font-size: 14.5px; background: #fbfaf7;
}
.form textarea { min-height: 104px; resize: vertical; }

/* ---------- Responsif ---------- */
@media (max-width: 960px) {
  .grid-3, .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .areas { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .contact-grid { grid-template-columns: 1fr; }
  .foot { display: block; }
}
@media (max-width: 850px) {
  .navlinks a:not(.btn) { display: none; }
  .hero { min-height: 620px; }
  .projects { grid-template-columns: 1fr; }
  .project { min-height: 320px; }
  .section { padding: 58px 0; }
  .promo { margin-top: -34px; }
}
@media (max-width: 560px) {
  .grid-3, .gallery, .process, .areas, .promo-points { grid-template-columns: 1fr; }
  .hero h1 { font-size: 32px; }
}
