/* ============================================================
   SKYLINE ESTATES — Demo Showcase Zalin Labs (G802-A / Batch A)
   Properti premium korporat. Stone #f2efe9 + hijau tua #3d5a45.
   Palet via CSS variables — NOL biru/indigo/ungu.
   ============================================================ */
:root {
  --bg: #f2efe9;
  --bg-2: #ebe7de;
  --panel: #ffffff;
  --ink: #26241f;
  --dim: rgba(38, 36, 31, 0.62);
  --line: rgba(38, 36, 31, 0.14);
  --acc: #3d5a45;
  --acc-deep: #2e4636;
  --acc-soft: rgba(61, 90, 69, 0.1);
  --sand: #e5ddcc;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
ul { list-style: none; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; width: 100%; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}

/* ---------- Aksesibilitas ---------- */
.skip-link {
  position: absolute; left: -9999px; top: 12px; z-index: 200;
  background: var(--acc); color: var(--bg);
  padding: 10px 18px; border-radius: 10px; font-weight: 600; text-decoration: none;
}
.skip-link:focus { left: 12px; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; border-radius: 4px; }
::selection { background: rgba(61, 90, 69, 0.25); }

/* ---------- Tombol ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 11px 22px; border-radius: 999px;
  font-weight: 600; font-size: 0.92rem; text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.btn .ic { width: 16px; height: 16px; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.btn-green { background: var(--acc); color: var(--bg); }
.btn-green:hover { background: var(--acc-deep); }
.btn-light { background: var(--panel); color: var(--acc); }
.btn-light:hover { background: var(--sand); }
.btn-outline-light { border-color: rgba(242, 239, 233, 0.5); color: var(--bg); background: transparent; }
.btn-outline-light:hover { background: rgba(242, 239, 233, 0.12); }

/* ---------- Nav ---------- */
.sk-nav {
  position: sticky; top: 0; z-index: 80;
  background: rgba(242, 239, 233, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.sk-nav-inner { display: flex; align-items: center; gap: 20px; min-height: 68px; }
.sk-brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--serif); font-weight: 600; font-size: 1.14rem;
  text-decoration: none; min-height: 44px;
}
.sk-brand-mark { width: 32px; height: 32px; flex: none; }
.sk-nav-links { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.sk-nav-links a {
  text-decoration: none; color: var(--dim); font-size: 0.92rem; font-weight: 500;
  padding: 10px 14px; border-radius: 10px; min-height: 44px;
  display: inline-flex; align-items: center;
  transition: color 0.15s ease, background 0.15s ease;
}
.sk-nav-links a:hover { color: var(--acc); background: var(--acc-soft); }
.sk-nav-cta { display: flex; align-items: center; }
.sk-nav-cta .btn { min-height: 42px; padding: 9px 20px; font-size: 0.9rem; }
.sk-toggle {
  display: none; margin-left: auto; width: 44px; height: 44px;
  place-items: center; background: none; border: 1px solid var(--line);
  border-radius: 10px; color: var(--ink);
}
.sk-toggle .ic { width: 22px; height: 22px; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; }
.sk-toggle .ic-close { display: none; }
.sk-toggle[aria-expanded="true"] .ic-open { display: none; }
.sk-toggle[aria-expanded="true"] .ic-close { display: block; }

/* ---------- Hero ---------- */
.sk-hero { padding: 68px 0 0; }
.sk-hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 5vw, 60px); align-items: center;
}
.sk-kicker {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--acc);
}
.sk-hero h1 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(2.2rem, 4.8vw, 3.6rem); line-height: 1.12;
  margin-top: 16px; max-width: 17ch;
}
.sk-hero h1 em { font-style: italic; color: var(--acc); }
.sk-lead { color: var(--dim); max-width: 52ch; margin-top: 18px; }

.sk-search {
  margin-top: 30px; display: grid; grid-template-columns: 1fr 1fr;
  gap: 10px; background: var(--panel); border: 1px solid var(--line);
  border-radius: 18px; padding: 14px;
  box-shadow: 0 16px 40px -28px rgba(38, 36, 31, 0.4);
}
.sk-search-field {
  border: 1px solid var(--line); border-radius: 10px;
  padding: 9px 14px; min-width: 0;
}
.sk-search-label { display: block; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); }
.sk-search-value { display: block; font-size: 0.88rem; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sk-search-btn { grid-column: 1 / -1; width: 100%; }

.sk-hero-art { position: relative; min-width: 0; }
.sk-art-panel {
  position: relative; aspect-ratio: 4 / 3; overflow: hidden;
  border-radius: 20px;
  background: linear-gradient(155deg, #ded5c2 0%, #9fb093 60%, #5c7259 100%);
}
.sk-art-panel::after {
  content: ""; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 2px, transparent 2px 40px);
}
.sk-art-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.sk-hero-chip {
  position: absolute; right: 16px; bottom: 16px;
  background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(6px);
  border: 1px solid var(--line); border-radius: 14px;
  padding: 12px 20px;
}
.sk-chip-name { font-family: var(--serif); font-size: 1.1rem; color: var(--acc); }
.sk-chip-sub { font-size: 0.78rem; color: var(--dim); margin-top: 2px; }

/* ---------- Statistik ---------- */
.sk-stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 18px; border-block: 1px solid var(--line);
  margin-top: 56px; padding: 30px 0; text-align: center;
}
.sk-stat-num { font-family: var(--serif); font-size: clamp(1.8rem, 3.4vw, 2.5rem); color: var(--acc); }
.sk-stat-cap { font-size: 0.85rem; color: var(--dim); margin-top: 4px; }

/* ---------- Section umum ---------- */
.sec { padding: 84px 0; }
.sec-alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.sec-head { margin-bottom: 44px; }
.sec-head.center { text-align: center; }
.sec-head.split {
  display: flex; flex-wrap: wrap; gap: 16px 48px;
  align-items: flex-end; justify-content: space-between;
}
.sec h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.85rem, 3.6vw, 2.6rem); line-height: 1.14; margin-top: 12px; }
.sec-sub { color: var(--dim); margin-top: 12px; max-width: 60ch; }
.sec-note { color: var(--dim); font-size: 0.92rem; max-width: 46ch; }
.sec-head.center .sec-sub { margin-inline: auto; }

/* ---------- Listing kartu ---------- */
.sk-listing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 20px; }
.sk-card {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 18px; overflow: hidden; min-width: 0;
  display: flex; flex-direction: column;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.sk-card:hover { box-shadow: 0 24px 48px -28px rgba(38, 36, 31, 0.45); transform: translateY(-3px); }
.sk-thumb {
  position: relative; aspect-ratio: 4 / 3; overflow: hidden;
}
.sk-t1 { background: linear-gradient(150deg, #e8e2d4, #a8b89c); }
.sk-t2 { background: linear-gradient(150deg, #d9d4c8, #8b8f96); }
.sk-t3 { background: linear-gradient(150deg, #e5ddcc, #94835f); }
.sk-thumb::after {
  content: ""; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.09) 0 3px, transparent 3px 26px);
}
.sk-type {
  position: absolute; top: 12px; left: 12px; z-index: 1;
  background: var(--acc); color: var(--bg);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em;
  padding: 5px 14px; border-radius: 999px;
}
.sk-price {
  position: absolute; right: 12px; bottom: 12px; z-index: 1;
  background: rgba(255, 255, 255, 0.92); color: var(--acc);
  font-weight: 700; font-size: 0.92rem;
  padding: 6px 14px; border-radius: 10px;
  backdrop-filter: blur(4px);
}
.sk-card-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.sk-card-name { font-family: var(--serif); font-weight: 600; font-size: 1.2rem; }
.sk-card-loc {
  display: flex; align-items: center; gap: 7px;
  color: var(--dim); font-size: 0.88rem; margin-top: 5px;
}
.sk-card-loc .ic { width: 15px; height: 15px; flex: none; stroke: var(--acc); stroke-width: 1.8; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.sk-card-desc { color: var(--dim); font-size: 0.88rem; margin-top: 12px; flex: 1; }
.sk-specs {
  display: flex; flex-wrap: wrap; gap: 8px 18px;
  border-top: 1px solid var(--line); margin-top: 16px; padding-top: 14px;
}
.sk-specs span {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.78rem; color: var(--dim);
}
.sk-specs .ic { width: 15px; height: 15px; flex: none; stroke: var(--acc); stroke-width: 1.8; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.sk-card-link {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 16px; font-weight: 600; font-size: 0.9rem;
  color: var(--acc); text-decoration: none; min-height: 44px;
}
.sk-card-link .ic { width: 16px; height: 16px; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.18s ease; }
.sk-card-link:hover .ic { transform: translateX(4px); }
.sk-card-link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Layanan ---------- */
.sk-service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 40px 22px; }
.sk-service-icon {
  display: grid; place-items: center; width: 46px; height: 46px;
  border-radius: 14px; background: var(--acc-soft); color: var(--acc);
}
.sk-service-icon .ic { width: 22px; height: 22px; stroke: currentColor; stroke-width: 1.8; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.sk-service h3 { font-family: var(--serif); font-weight: 600; font-size: 1.18rem; margin-top: 16px; }
.sk-service p { color: var(--dim); font-size: 0.92rem; margin-top: 8px; }

/* ---------- Testimoni ---------- */
.sk-testi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.sk-testi {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 18px; padding: 26px; min-width: 0;
  display: flex; flex-direction: column;
}
.sk-testi-text { flex: 1; }
.sk-testi-text p { font-size: 0.94rem; color: rgba(38, 36, 31, 0.78); }
.sk-testi-by { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.sk-avatar {
  display: grid; place-items: center; width: 42px; height: 42px; flex: none;
  border-radius: 50%; background: var(--acc-soft); color: var(--acc);
  font-weight: 700; font-size: 0.8rem;
  border: 1px solid rgba(61, 90, 69, 0.25);
}
.sk-cite-name { display: block; font-style: normal; font-weight: 600; font-size: 0.92rem; }
.sk-cite-role { display: block; font-size: 0.78rem; color: var(--dim); }

/* ---------- FAQ accordion ---------- */
.sk-acc {
  max-width: 760px; margin: 0 auto;
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 18px; overflow: hidden;
}
.sk-acc-item + .sk-acc-item { border-top: 1px solid var(--line); }
.sk-acc-heading { margin: 0; }
.sk-acc-trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  gap: 16px; background: none; border: none; color: var(--ink);
  padding: 20px 24px; min-height: 44px; text-align: left;
  font-weight: 600; font-size: 0.98rem;
  transition: background 0.15s ease;
}
.sk-acc-trigger:hover { background: var(--acc-soft); }
.sk-acc-icon {
  display: grid; place-items: center; width: 30px; height: 30px; flex: none;
  border-radius: 50%; border: 1px solid rgba(61, 90, 69, 0.4); color: var(--acc);
  transition: transform 0.25s ease, background 0.25s ease;
}
.sk-acc-icon .ic { width: 16px; height: 16px; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; }
.sk-acc-item.open .sk-acc-icon { transform: rotate(45deg); background: var(--acc-soft); }
.sk-acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.3s ease; }
.sk-acc-item.open .sk-acc-panel { grid-template-rows: 1fr; }
.sk-acc-inner { overflow: hidden; min-height: 0; }
.sk-acc-inner p { color: var(--dim); font-size: 0.92rem; padding: 0 24px 22px; max-width: 66ch; }

/* ---------- CTA ---------- */
.sk-cta {
  background: var(--acc); color: var(--bg);
  border-radius: 24px; text-align: center;
  padding: clamp(40px, 7vw, 68px) clamp(20px, 5vw, 56px);
}
.sk-cta h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.8rem, 3.6vw, 2.5rem); }
.sk-cta p { color: rgba(242, 239, 233, 0.78); max-width: 54ch; margin: 14px auto 0; }
.sk-cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }

/* ---------- Footer ---------- */
.sk-footer { border-top: 1px solid var(--line); background: var(--bg-2); padding: 58px 0 40px; }
.sk-footer-grid { display: grid; grid-template-columns: 1.4fr 0.9fr 1fr 1.3fr; gap: 32px; }
.sk-f-tagline { color: var(--dim); font-size: 0.9rem; margin-top: 14px; max-width: 34ch; }
.sk-f-col h3 { font-family: var(--serif); font-weight: 600; font-size: 1rem; margin-bottom: 14px; }
.sk-f-links { display: grid; gap: 8px; }
.sk-f-links a {
  color: var(--dim); text-decoration: none; font-size: 0.9rem;
  min-height: 34px; display: inline-flex; align-items: center;
  transition: color 0.15s ease;
}
.sk-f-links a:hover { color: var(--acc); }
.sk-f-text { color: var(--dim); font-size: 0.9rem; margin-bottom: 10px; }
.sk-f-cta .btn { margin-top: 6px; }
.badge {
  display: flex; align-items: flex-start; gap: 10px;
  margin-top: 44px; padding: 14px 18px;
  border: 1px dashed rgba(61, 90, 69, 0.5); border-radius: 12px;
  color: var(--dim); font-size: 0.86rem;
}
.badge-dot { width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--acc); margin-top: 7px; }
.sk-footer-bottom {
  display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center;
  justify-content: space-between; margin-top: 22px; padding-top: 20px;
  border-top: 1px solid var(--line); color: var(--dim); font-size: 0.84rem;
}
.sk-to-top {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--dim); text-decoration: none; min-height: 44px; font-weight: 600;
}
.sk-to-top .ic { width: 16px; height: 16px; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.sk-to-top:hover { color: var(--acc); }

/* ---------- Reveal on scroll (gating html.js) ---------- */
html.js .reveal {
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.55s ease var(--d, 0s), transform 0.55s ease var(--d, 0s);
}
html.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .sk-card, .sk-acc-panel, .sk-acc-icon { transition: none; }
}

/* ---------- Responsif ---------- */
@media (max-width: 1020px) {
  .sk-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .sk-hero-grid { grid-template-columns: 1fr; }
  .sk-hero-art { max-width: 520px; }
}
@media (max-width: 760px) {
  .sk-nav-links {
    display: none; margin-left: 0;
    position: absolute; top: 68px; left: 0; right: 0; z-index: 90;
    background: #fbf9f4; border-bottom: 1px solid var(--line);
    padding: 12px 20px 20px;
  }
  .sk-nav-links.open { display: grid; gap: 4px; }
  .sk-nav-links a { padding: 12px 14px; font-size: 0.96rem; }
  .sk-nav-cta { display: none; }
  .sk-toggle { display: grid; }
  .sk-hero { padding-top: 52px; }
  .sec { padding: 60px 0; }
  .sec-head.split { flex-direction: column; align-items: flex-start; }
  .sk-search { grid-template-columns: 1fr; }
  .sk-search-value { white-space: normal; }
  .sk-footer-bottom { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .sk-hero-chip { right: 10px; bottom: 10px; padding: 10px 14px; }
  .sk-footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .sk-cta-actions .btn { width: 100%; }
  .sk-specs { gap: 8px 14px; }
}
