/* ─────────────────────────────────────
   3. UTILITIES
───────────────────────────────────── */
.container {
  max-width:var(--container);
  margin:0 auto;
  padding:0 24px;
}

.section-title {
  text-align:center;
  font-size:clamp(1.4rem,2.5vw,2rem);
  color:var(--navy);
  margin-bottom:48px;
  font-weight:800;
  letter-spacing:-.02em;
  position:relative;
}
.section-title::after {
  content:'';
  display:block;
  width:48px; height:3px;
  background:var(--blue-accent);
  border-radius:99px;
  margin:12px auto 0;
}

.btn {
  display:inline-flex; align-items:center; gap:10px;
  padding:13px 28px;
  border-radius:var(--radius-md);
  font-family:var(--font); font-size:.95rem; font-weight:600;
  cursor:pointer; border:none;
  transition:var(--transition);
  white-space:nowrap;
}
.btn--whatsapp {
  background:var(--gold);
  color:var(--white);
  box-shadow:0 4px 16px rgba(37,211,102,.35);
}
.btn--whatsapp img { width:20px; height:20px; filter:brightness(0) invert(1); }
.btn--whatsapp:hover {
  background:var(--gold-dark);
  transform:translateY(-2px);
  box-shadow:0 8px 24px rgba(199, 17, 17, 0.45);
}

/* ─────────────────────────────────────
   IMAGE FALLBACK (asset belum tersedia)
───────────────────────────────────── */
.img-fallback {
  position:relative;
  background:linear-gradient(160deg, var(--gray-100) 0%, #e2e8f0 100%);
}
.img-fallback img { visibility:hidden; }
.img-fallback__label {
  position:absolute; inset:0;
  display:flex; align-items:center; justify-content:center;
  text-align:center; padding:12px;
  font-size:.75rem; color:var(--gray-700); line-height:1.4;
}

/* ─────────────────────────────────────
   5. HERO
───────────────────────────────────── */
.hero {
  position:relative; height:520px;
  display:flex; align-items:center; justify-content:center;
  margin-top:var(--nav-height); overflow:hidden;
}
.hero__bg { position:absolute; inset:0; }
.hero__img { width:100%; height:100%; object-fit:cover; object-position:center; }
.hero__overlay {
  position:absolute; inset:0;
  background:linear-gradient(to bottom, rgba(13,30,76,.3) 0%, rgba(13,30,76,.55) 100%);
}
.hero__content {
  position:relative; z-index:1;
  text-align:center; padding:0 24px;
  animation:fadeInUp .8s ease-out both;
}
.hero__brand-logo {
  max-width:280px; width:60%;
  margin:0 auto 20px;
  filter:brightness(0) invert(1);
}
.hero__tagline {
  font-size:clamp(1rem,2.5vw,1.25rem);
  color:rgba(255,255,255,.9); font-weight:500;
  letter-spacing:.01em; text-shadow:0 1px 4px rgba(0,0,0,.3);
  max-width:640px; margin:0 auto;
}


/* ─────────────────────────────────────
   6. ABOUT
───────────────────────────────────── */
.about { padding:var(--section-pad) 0; background:var(--white); }
.about__grid {
  display:grid; grid-template-columns:1fr 1fr;
  gap:64px; align-items:center;
}
.about__image {
  border-radius:var(--radius-lg); overflow:hidden;
  box-shadow:var(--shadow-md); aspect-ratio:4/3;
}
.about__image img {
  width:100%; height:100%; object-fit:cover;
  transition:transform .5s ease;
}
.about__image:hover img { transform:scale(1.03); }
.about__title { font-size:clamp(1.5rem,3vw,2rem); color:var(--navy); margin-bottom:20px; }
.about__text { color:var(--text-body); margin-bottom:16px; font-size:.975rem; }
.about__text:last-of-type { margin-bottom:28px; }


/* ─────────────────────────────────────
   7. KELEBIHAN (FEATURES / USP)
───────────────────────────────────── */
.features { padding:var(--section-pad) 0; background:var(--off-white); }
.features__grid { display:grid; grid-template-columns:repeat(5,1fr); gap:28px; }
.features__item {
  background:var(--white); border-radius:var(--radius-md);
  padding:28px 24px; text-align:center;
  border:1px solid var(--gray-100); box-shadow:var(--shadow-sm);
  transition:transform .25s ease, box-shadow .25s ease;
}
.features__item:hover { transform:translateY(-4px); box-shadow:var(--shadow-md); }
.features__icon {
  width:64px; height:64px; margin:0 auto 16px;
  border-radius:var(--radius-sm); overflow:hidden;
  display:flex; align-items:center; justify-content:center;
  position:relative;
}
.features__icon img { width:100%; height:100%; object-fit:contain; }
.features__item h3 { font-size:1rem; font-weight:700; color:var(--navy); margin-bottom:8px; }
.features__item p  { font-size:.85rem; color:var(--gray-700); line-height:1.55; }


/* ─────────────────────────────────────
   9. SPESIFIKASI TEKNIS
───────────────────────────────────── */
.specs { padding:var(--section-pad) 0; background:var(--white); }
.specs__lead {
  text-align:center; margin:-28px auto 32px; max-width:480px;
  font-size:.85rem; font-weight:700; color:var(--gray-700);
  text-transform:uppercase; letter-spacing:.05em;
}
.specs__table-wrap { overflow-x:auto; border-radius:var(--radius-md); box-shadow:var(--shadow-sm); }
.specs__table { width:100%; min-width:680px; border-collapse:collapse; font-size:.88rem; }
.specs__table th, .specs__table td {
  padding:14px 18px; text-align:left; border:1px solid var(--gray-100);
}
.specs__table th {
  background:var(--navy); color:var(--white); font-weight:700;
  text-transform:uppercase; letter-spacing:.03em; font-size:.76rem;
}
.specs__table td { color:var(--text-body); line-height:1.5; }
.specs__table tr:nth-child(even) td { background:var(--off-white); }
.specs__table td:first-child { font-weight:700; color:var(--navy); }


/* ─────────────────────────────────────
   GARANSI
───────────────────────────────────── */
.garan { padding:var(--section-pad) 0; background:var(--off-white); }
.garan__grid {
  display:grid; grid-template-columns:1fr 1.2fr;
  gap:64px; align-items:center;
}
.garan__image {
  border-radius:var(--radius-lg); overflow:hidden;
  box-shadow:var(--shadow-md); aspect-ratio:1/1;
}
.garan__image img { width:100%; height:100%; object-fit:cover; }
.garan__badge { display:flex; align-items:baseline; gap:14px; margin-bottom:6px; }
.garan__num { font-size:clamp(3.2rem,6vw,4.5rem); font-weight:800; color:var(--navy); line-height:1; }
.garan__years {
  font-size:1rem; font-weight:800; color:var(--gold-dark);
  line-height:1.2; letter-spacing:.02em;
}
.garan__sub { font-size:1.05rem; font-weight:700; color:var(--blue-accent); margin-bottom:18px; }

@media (max-width:768px) {
  .garan__grid { grid-template-columns:1fr; gap:32px; }
}


/* ─────────────────────────────────────
   SERTIFIKASI
───────────────────────────────────── */
.cert { padding:var(--section-pad) 0; background:var(--white); }
.cert__grid {
  display:grid; grid-template-columns:repeat(auto-fit, minmax(120px, 1fr)); gap:16px;
  align-items:center; justify-items:center; max-width:600px; margin:0 auto;
}
.cert__item {
  background:var(--white); border:1px solid var(--gray-100); border-radius:var(--radius-md);
  padding:16px; width:100%; min-height:100px;
  display:flex; align-items:center; justify-content:center;
  box-shadow:var(--shadow-sm); transition:transform .25s ease, box-shadow .25s ease;
}
.cert__item:hover { transform:translateY(-4px); box-shadow:var(--shadow-md); }
.cert__item img { max-width:100%; max-height:100%; object-fit:contain; }


/* ─────────────────────────────────────
   VARIASI KOLEKSI (FILTERABLE ALA PERGO)
───────────────────────────────────── */
.pro-wrap { padding:40px 0 var(--section-pad); background:var(--off-white); }
.pro-layout {
  display:grid;
  grid-template-columns:260px 1fr;
  gap:40px;
  align-items:start;
}

.pro-sidebar { position:sticky; top:calc(var(--nav-height) + 16px); }
.pro-mobile-toggle { display:none; }

.pro-group { border-bottom:1px solid var(--gray-100); padding:14px 0; }
.pro-group__head {
  width:100%; background:none; border:none; cursor:default;
  display:flex; align-items:center; justify-content:space-between;
  font-family:var(--font); font-size:.95rem; font-weight:700; color:var(--navy);
  padding:0; margin-bottom:12px;
}

.pro-opt {
  display:flex; align-items:center; gap:10px;
  padding:6px 0; cursor:pointer;
  font-size:.88rem; color:var(--text-body);
}
.pro-opt input { width:16px; height:16px; accent-color:var(--blue-accent); cursor:pointer; flex:0 0 16px; }
.pro-opt:hover span { color:var(--navy); }

.pro-clear {
  margin-top:18px; width:100%;
  background:none; border:1px solid var(--gray-100);
  border-radius:var(--radius-sm); padding:10px;
  font-family:var(--font); font-size:.85rem; font-weight:600; color:var(--gray-700);
  cursor:pointer; transition:border-color .2s, color .2s;
}
.pro-clear:hover { border-color:var(--blue-accent); color:var(--blue-accent); }

.pro-toolbar { margin-bottom:20px; }
.pro-count { font-size:.9rem; color:var(--gray-700); font-weight:600; }

.pro-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:22px;
}
.pro-card {
  display:flex; flex-direction:column;
  background:var(--white);
  border:1px solid var(--gray-100); border-radius:var(--radius-md);
  overflow:hidden; box-shadow:var(--shadow-sm);
  transition:transform .25s ease, box-shadow .25s ease;
}
.pro-card:hover { transform:translateY(-5px); box-shadow:var(--shadow-md); }
.pro-card__img { position:relative; aspect-ratio:4/3; background:var(--gray-100); overflow:hidden; }
.pro-card__img img { width:100%; height:100%; object-fit:cover; transition:transform .5s ease; }
.pro-card:hover .pro-card__img img { transform:scale(1.06); }
.pro-card__seg {
  position:absolute; top:12px; left:12px;
  background:var(--blue-accent); color:var(--white);
  font-size:.72rem; font-weight:600;
  padding:4px 10px; border-radius:99px;
}
.pro-card__body { padding:16px 18px; }
.pro-card__title { font-size:1rem; color:var(--navy); margin-bottom:10px; font-weight:800; }

.pro-card__specs { display:flex; flex-direction:column; gap:5px; border-top:1px solid var(--gray-100); padding-top:10px; }
.pro-card__specs-row { display:flex; justify-content:space-between; gap:12px; font-size:.78rem; }
.pro-card__specs-row span:first-child { color:var(--gray-700); }
.pro-card__specs-row span:last-child { color:var(--navy); font-weight:600; text-align:right; }

.pro-empty {
  display:none; text-align:center; padding:60px 20px;
  color:var(--gray-700); font-size:.95rem;
}

.pro-pager {
  display:flex; justify-content:center; gap:8px; flex-wrap:wrap;
  margin-top:40px;
}
.pro-page__btn {
  min-width:40px; height:40px; padding:0 12px;
  background:var(--white);
  border:1px solid var(--gray-100); border-radius:var(--radius-sm);
  font-family:var(--font); font-size:.9rem; font-weight:600; color:var(--text-dark);
  cursor:pointer; transition:all .2s ease;
}
.pro-page__btn:hover:not(:disabled):not(.is-active) { border-color:var(--blue-accent); color:var(--blue-accent); }
.pro-page__btn.is-active { background:var(--blue-accent); border-color:var(--blue-accent); color:var(--white); }
.pro-page__btn:disabled { opacity:.4; cursor:not-allowed; }

@media (max-width:1024px) {
  .pro-grid { grid-template-columns:repeat(2,1fr); }
}
@media (max-width:768px) {
  .pro-layout { grid-template-columns:1fr; gap:20px; }
  .pro-sidebar { position:static; }
  .pro-mobile-toggle {
    display:block; width:100%;
    background:var(--navy); color:var(--white);
    border:none; border-radius:var(--radius-sm); padding:12px;
    font-family:var(--font); font-size:.95rem; font-weight:600; cursor:pointer;
  }
  .pro-filters { display:none; margin-top:14px; }
  .pro-sidebar.is-open .pro-filters { display:block; }
}
@media (max-width:480px) {
  .pro-grid { grid-template-columns:1fr; }
}


/* ─────────────────────────────────────
   PROJECT PRESTIGE
───────────────────────────────────── */
.projek-pres { padding:var(--section-pad) 0; background:var(--white); }

.prestige__grid {
  display:grid;
  grid-template-columns:repeat(5,1fr);
  grid-template-rows:300px 260px;
  grid-template-areas:
    "nava mercure mercure gpi arumaya"
    "nava lido intiland pakubuwono pakubuwono";
  gap:16px;
}

.prestige__tile {
  position:relative;
  display:block;
  border-radius:var(--radius-md);
  overflow:hidden;
  box-shadow:var(--shadow-sm);
  transition:transform .3s ease, box-shadow .3s ease;
}
a.prestige__tile:hover { transform:translateY(-4px); box-shadow:var(--shadow-md); }
.prestige__tile img { width:100%; height:100%; object-fit:cover; transition:transform .5s ease; }
a.prestige__tile:hover img { transform:scale(1.06); }

.prestige__tile--nava      { grid-area:nava; }
.prestige__tile--mercure   { grid-area:mercure; }
.prestige__tile--lido      { grid-area:lido; }
.prestige__tile--intiland  { grid-area:intiland; }
.prestige__tile--gpi       { grid-area:gpi; }
.prestige__tile--arumaya   { grid-area:arumaya; }
.prestige__tile--pakubuwono{ grid-area:pakubuwono; }

.prestige__tile--placeholder {
  background:linear-gradient(160deg, var(--gray-100) 0%, #e2e8f0 100%);
  display:flex; align-items:center; justify-content:center;
}
.prestige__placeholder-icon { font-size:2.2rem; opacity:.35; }

.prestige__label {
  position:absolute; left:0; right:0; bottom:0;
  background:var(--blue-accent);
  color:var(--white); font-weight:700; font-size:.95rem;
  text-align:center; padding:12px 10px;
}

@media (max-width:1024px) {
  .prestige__grid { grid-template-rows:220px 200px; }
}

@media (max-width:768px) {
  .prestige__grid {
    grid-template-columns:repeat(2,1fr);
    grid-template-rows:none;
    grid-template-areas:none;
  }
  .prestige__tile { grid-area:auto; aspect-ratio:4/3; }
  .prestige__placeholder-icon { font-size:1.8rem; }
  .prestige__label { font-size:.85rem; padding:10px; }
}


/* ─────────────────────────────────────
   10. PROJECT GALLERY
───────────────────────────────────── */
.gallery { padding:var(--section-pad) 0; background:var(--off-white); overflow:hidden; }
.gallery__header { padding:0 24px; }
.gallery__track-wrap { position:relative; margin-top:40px; }
.gallery__track {
  display:flex; gap:16px;
  overflow-x:auto; scroll-snap-type:x mandatory; scroll-behavior:smooth;
  padding:8px 40px 16px;
  cursor:grab; -webkit-overflow-scrolling:touch;
}
.gallery__track:active { cursor:grabbing; }
.gallery__track::-webkit-scrollbar { height:4px; }
.gallery__track::-webkit-scrollbar-track { background:var(--gray-100); border-radius:99px; }
.gallery__track::-webkit-scrollbar-thumb { background:var(--navy); border-radius:99px; }
.gallery__card {
  position:relative; flex-shrink:0;
  width:320px; height:220px;
  border-radius:var(--radius-md); overflow:hidden;
  scroll-snap-align:start; box-shadow:var(--shadow-sm);
  transition:transform .3s ease, box-shadow .3s ease;
}
.gallery__card:hover { transform:translateY(-4px); box-shadow:var(--shadow-md); }
.gallery__card img { width:100%; height:100%; object-fit:cover; transition:transform .5s ease; }
.gallery__card:hover img { transform:scale(1.06); }
.gallery__label {
  position:absolute; bottom:0; left:0; right:0;
  padding:32px 16px 14px;
  background:linear-gradient(to top, rgba(13,30,76,.8) 0%, transparent 100%);
  color:var(--white); font-size:.85rem; font-weight:600;
}
.gallery__arrow {
  position:absolute; top:50%; transform:translateY(-60%);
  width:40px; height:40px; border-radius:50%;
  background:var(--navy); color:var(--white);
  border:none; cursor:pointer;
  display:flex; align-items:center; justify-content:center;
  font-size:1.1rem; z-index:2; box-shadow:var(--shadow-md);
  transition:background .2s, transform .2s;
}
.gallery__arrow:hover { background:var(--blue-accent); transform:translateY(-60%) scale(1.08); }
.gallery__arrow--left  { left:4px; }
.gallery__arrow--right { right:4px; }


/* ─────────────────────────────────────
   11. CTA / KONSULTASI
───────────────────────────────────── */
.cta {
  padding:var(--section-pad) 0;
  background:linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 50%, var(--navy) 100%);
  position:relative; overflow:hidden;
}
.cta::before {
  content:''; position:absolute;
  width:500px; height:500px; border-radius:50%;
  background:radial-gradient(circle, rgba(37,99,235,.18) 0%, transparent 70%);
  top:-200px; left:-100px; pointer-events:none;
}
.cta::after {
  content:''; position:absolute;
  width:300px; height:300px; border-radius:50%;
  background:radial-gradient(circle, rgba(37,99,235,.12) 0%, transparent 70%);
  bottom:-80px; right:15%; pointer-events:none;
}
.cta__grid {
  display:grid; grid-template-columns:1fr 1fr;
  gap:60px; align-items:center; position:relative; z-index:1;
}
.cta__tag {
  display:inline-block; font-size:.75rem; font-weight:600;
  letter-spacing:.08em; text-transform:uppercase;
  color:#60a5fa; background:rgba(37,99,235,.15);
  padding:5px 14px; border-radius:99px;
  border:1px solid rgba(37,99,235,.3); margin-bottom:20px;
}
.cta__heading {
  font-size:clamp(1.8rem,3.5vw,2.8rem); font-weight:800;
  color:var(--white); line-height:1.15; letter-spacing:-.025em; margin-bottom:16px;
}
.cta__heading span { color:#60a5fa; }
.cta__sub { font-size:.975rem; color:#94a3b8; line-height:1.65; margin-bottom:28px; }
.cta__perks { display:flex; flex-direction:column; gap:12px; }
.cta__perks li {
  display:flex; align-items:center; gap:10px;
  font-size:.9rem; color:#cbd5e1;
}
.cta__perks li::before {
  content:'✓'; width:22px; height:22px; border-radius:50%;
  background:rgba(37,99,235,.2); border:1px solid rgba(37,99,235,.4);
  display:flex; align-items:center; justify-content:center;
  font-size:.7rem; color:#60a5fa; flex-shrink:0;
}
.cta__form-card h3 {
  font-size:1.1rem; font-weight:700; color:var(--white);
  margin-bottom:24px; letter-spacing:-.01em;
}

/* ─────────────────────────────────────
   14. ANIMATIONS
───────────────────────────────────── */
@keyframes fadeInUp {
  from { opacity:0; transform:translateY(32px); }
  to   { opacity:1; transform:translateY(0); }
}

.reveal {
  opacity:0; transform:translateY(28px);
  transition:opacity .6s ease, transform .6s ease;
}
.reveal.is-visible { opacity:1; transform:translateY(0); }

.reveal-stagger > *:nth-child(1) { transition-delay:.05s; }
.reveal-stagger > *:nth-child(2) { transition-delay:.12s; }
.reveal-stagger > *:nth-child(3) { transition-delay:.19s; }
.reveal-stagger > *:nth-child(4) { transition-delay:.26s; }
.reveal-stagger > *:nth-child(5) { transition-delay:.33s; }
.reveal-stagger > *:nth-child(6) { transition-delay:.40s; }


/* ─────────────────────────────────────
   15. RESPONSIVE — MOBILE
───────────────────────────────────── */
@media (max-width:1024px) {
  :root { --section-pad:64px; }
  .footer__grid { grid-template-columns:1fr 1fr; gap:32px; }
}

@media (max-width:768px) {
  :root { --section-pad:52px; --nav-height:64px; }

  .navbar__nav { display:none; }
  .navbar__hamburger { display:flex; }
  .navbar__hamburger.is-open span:nth-child(1) { transform:translateY(7px) rotate(45deg); }
  .navbar__hamburger.is-open span:nth-child(2) { opacity:0; }
  .navbar__hamburger.is-open span:nth-child(3) { transform:translateY(-7px) rotate(-45deg); }

  .hero { height:380px; }
  .hero__brand-logo { max-width:200px; }

  .about__grid { grid-template-columns:1fr; gap:32px; }

  .features__grid { grid-template-columns:repeat(2,1fr); gap:16px; }

  .gallery__card { width:260px; height:180px; }

  .cta__grid { grid-template-columns:1fr; gap:40px; }
  .cta__form-card { padding:28px 20px; }

  .footer__grid { grid-template-columns:1fr; gap:28px; }
}

@media (max-width:480px) {
  .features__grid { grid-template-columns:1fr; }
  .gallery__card { width:240px; height:160px; }
  .wa-float { bottom:20px; right:20px; width:50px; height:50px; }
}
