/* =========================================================
   ORC TRANSPORTASI — STYLESHEET
   Palet: Biru (#0B4F6C, #1E88C7) • Cyan (#20C9DB) • Abu (#4A5568, #F4F6F8) • Putih (#FFFFFF)
   ========================================================= */

:root {
  --blue-dark: #0b3d5c;
  --blue: #1e6fb4;
  --blue-light: #4a9fe0;
  --cyan: #17c3d6;
  --cyan-light: #7fe4ee;
  --gray-900: #212a33;
  --gray-700: #4a5568;
  --gray-400: #94a3b3;
  --gray-100: #eef2f5;
  --white: #ffffff;

  --gradient-brand: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 55%, var(--cyan) 100%);
  --gradient-brand-soft: linear-gradient(135deg, rgba(11,61,92,.92) 0%, rgba(30,111,180,.85) 55%, rgba(23,195,214,.75) 100%);

  --whatsapp: #21c15a;
  --whatsapp-dark: #1aa04a;

  --radius: 12px;
  --shadow-sm: 0 2px 10px rgba(11,61,92,.08);
  --shadow-md: 0 10px 30px rgba(11,61,92,.14);
  --shadow-lg: 0 20px 50px rgba(11,61,92,.22);

  --ease: cubic-bezier(.4,0,.2,1);
}

/* ===== RESET & BASE ===== */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100vw;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

ul { list-style: none; margin: 0; padding: 0; }

a { text-decoration: none; color: inherit; }

h1, h2, h3 { margin: 0; font-weight: 700; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }

p { margin: 0 0 1rem; -webkit-font-smoothing: antialiased; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
  overflow: hidden;
}

@media (max-width: 1024px) {
  .container {
    max-width: 100%;
    padding: 0 20px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 18px;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
  position: relative;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

@media (max-width: 768px) {
  .btn {
    padding: 12px 22px;
    font-size: 14px;
    gap: 6px;
  }
  .btn svg {
    width: 16px !important;
    height: 16px !important;
  }
}

@media (max-width: 640px) {
  .btn {
    padding: 11px 18px;
    font-size: 13px;
    gap: 5px;
  }
}

.btn--whatsapp {
  background: var(--whatsapp);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(33,193,90,.35);
}
.btn--whatsapp:hover {
  background: var(--whatsapp-dark);
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(33,193,90,.45);
}
.btn--whatsapp .icon-wa { width: 18px; height: 18px; }

.btn--ghost {
  background: rgba(255,255,255,.12);
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,.6);
  backdrop-filter: blur(4px);
}
.btn--ghost:hover {
  background: rgba(255,255,255,.22);
  transform: translateY(-3px);
}

.btn--lg { padding: 16px 34px; font-size: 17px; }

@media (max-width: 768px) {
  .btn--lg {
    padding: 14px 28px;
    font-size: 15px;
  }
}

@media (max-width: 640px) {
  .btn--lg {
    width: 100%;
    justify-content: center;
    padding: 13px 20px;
    font-size: 14px;
  }
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(11,61,92,.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background .3s var(--ease), box-shadow .3s var(--ease);
}
.header.is-scrolled {
  background: rgba(11,61,92,.92);
  box-shadow: var(--shadow-md);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}

.logo {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 100%;
}

.logo img {
  height: 42px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  transition: transform .25s var(--ease);
}

.logo:hover img {
  transform: scale(1.05);
}

/* Logo sedikit lebih kecil di mobile biar header tidak terlalu penuh */
@media (max-width: 768px) {
  .logo img { height: 36px; max-width: 160px; }
}

@media (max-width: 640px) {
  .logo img { height: 32px; max-width: 140px; }
}
.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links li a {
  color: var(--white);
  font-size: 15px;
  font-weight: 500;
  position: relative;
  padding: 6px 2px;
  transition: color .25s var(--ease);
  -webkit-font-smoothing: antialiased;
}
.nav-links li a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--cyan-light);
  transition: width .3s var(--ease);
}
.nav-links li a:hover,
.nav-links li a.active { color: var(--cyan-light); }
.nav-links li a:hover::after,
.nav-links li a.active::after { width: 100%; }

.nav-cta { white-space: nowrap; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 26px;
  height: 2.5px;
  background: var(--white);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ===== HERO SLIDER ===== */
.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 560px;
  overflow: hidden;
  background: var(--gray-900);
}

.slider { position: relative; width: 100%; height: 100%; }

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.08);
  transition: opacity 1.1s var(--ease), transform 6s linear, visibility 1.1s;
  z-index: 1;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.slide.is-active {
  opacity: 2;
  visibility: visible;
  transform: scale(1);
  z-index: 2;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-overlay {
  position: absolute;
  inset: 0;
  background: var(--gradient-brand-soft);
}

.slide-content {
  position: absolute;
  left: 0; right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--white);
  max-width: 720px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  will-change: transform;
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--cyan-light);
  margin-bottom: 14px;
  opacity: 0;
  animation: fadeUp .8s var(--ease) .2s forwards;
  -webkit-font-smoothing: antialiased;
}
.eyebrow--dark { color: var(--blue); }

@media (max-width: 768px) {
  .eyebrow {
    font-size: 11.5px;
    letter-spacing: 1.2px;
    margin-bottom: 12px;
  }
}

@media (max-width: 640px) {
  .eyebrow {
    font-size: 10.5px;
    letter-spacing: 1px;
    margin-bottom: 10px;
  }
}

.slide.is-active h1 {
  opacity: 0;
  animation: fadeUp .9s var(--ease) .4s forwards;
}
.slide.is-active .slide-desc {
  opacity: 0;
  animation: fadeUp .9s var(--ease) .6s forwards;
}
.slide.is-active .hero-actions {
  opacity: 0;
  animation: fadeUp .9s var(--ease) .8s forwards;
}

.hero h1 {
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1.15;
  margin-bottom: 18px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.hero h1 span { color: var(--cyan-light); }

.slide-desc {
  font-size: 17px;
  color: rgba(255,255,255,.9);
  max-width: 520px;
  -webkit-font-smoothing: antialiased;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 12px;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.15);
  color: var(--white);
  font-size: 16px;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.slider-nav:hover {
  background: rgba(255,255,255,.32);
  transform: translateY(-50%) scale(1.08);
}
.slider-nav--prev { left: 24px; }
.slider-nav--next { right: 24px; }

@media (max-width: 1024px) {
  .slider-nav {
    width: 42px;
    height: 42px;
    font-size: 15px;
  }
  .slider-nav--prev { left: 18px; }
  .slider-nav--next { right: 18px; }
}

@media (max-width: 768px) {
  .slider-nav {
    display: none;
  }
}

.slider-dots {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 5;
}
.slider-dots .dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.45);
  cursor: pointer;
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.slider-dots .dot.is-active {
  background: var(--cyan-light);
  transform: scale(1.25);
}

/* ===== SECTIONS ===== */
.section { padding: 100px 0; }

.section-title {
  font-size: clamp(26px, 3.5vw, 38px);
  color: var(--blue-dark);
  margin-bottom: 44px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.section-title--light { color: var(--white); }

@media (max-width: 768px) {
  .section-title {
    font-size: clamp(22px, 5vw, 32px);
    margin-bottom: 32px;
  }
}

@media (max-width: 640px) {
  .section-title {
    font-size: clamp(20px, 6vw, 26px);
    margin-bottom: 24px;
  }
}

/* ===== LAYANAN ===== */
.layanan {
  position: relative;
  background-color: var(--gray-100);
  background-image: url('../img/photo_2026-08-28_15-15-20.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  isolation: isolate;
}

.layanan::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(238, 242, 245, 0.9);
  z-index: 0;
}

.layanan .container {
  position: relative;
  z-index: 1;
}

@media (max-width: 1024px) {
  .layanan {
    background-attachment: scroll;
  }
}

@media (max-width: 768px) {
  .layanan {
    background-attachment: scroll;
  }
  .layanan::before {
    background: rgba(238, 242, 245, 0.92);
  }
}

@media (max-width: 640px) {
  .layanan {
    background-attachment: scroll;
    background-position: center;
  }
  .layanan::before {
    background: rgba(238, 242, 245, 0.95);
  }
}

/* Bento grid: 4 kolom di desktop, tiap card boleh punya bentang berbeda
   lewat modifier class (.card--wide / .card--tall / .card--dark) */
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 140px;
  gap: 22px;
  margin: 0 auto;
}

.card {
  position: relative;
  background: var(--white);
  padding: 30px 26px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}

/* Bentuk & ukuran berbeda tiap kartu */
.card:nth-child(1) { grid-column: span 2; grid-row: span 3; justify-content: flex-start; }
.card:nth-child(2) { grid-column: span 2; grid-row: span 2; }
.card:nth-child(3) { grid-column: span 1; grid-row: span 2; align-self: end; }
.card:nth-child(4) { grid-column: span 1; grid-row: span 3; }

/* Kartu pertama jadi "hero card" bergaya gelap/gradient */
.card:nth-child(1) {
  background: var(--gradient-brand);
  color: var(--white);
}
.card:nth-child(1) h3 { color: var(--white); }
.card:nth-child(1) p { color: rgba(255,255,255,.85); }
.card:nth-child(1) .card-icon {
  background: rgba(255,255,255,.18);
  backdrop-filter: blur(6px);
}
.card:nth-child(1) .card-number { color: rgba(255,255,255,.35); }

/* Aksen sudut diagonal, beda arah tiap kartu supaya tidak seragam */
.card::before {
  content: "";
  position: absolute;
  width: 90px; height: 90px;
  background: var(--cyan);
  opacity: .08;
  border-radius: 30% 70% 60% 40% / 40% 30% 70% 60%;
  transition: transform .5s var(--ease), opacity .5s var(--ease);
}
.card:nth-child(odd)::before  { top: -30px; right: -30px; }
.card:nth-child(even)::before { bottom: -30px; left: -30px; }
.card:nth-child(1)::before    { background: var(--white); opacity: .12; }

.card:hover {
  transform: translateY(-8px) rotate(-.3deg);
  box-shadow: var(--shadow-md);
}
.card:hover::before { transform: scale(1.4); opacity: .15; }

/* Nomor urut besar transparan sebagai elemen dekoratif */
.card-number {
  position: absolute;
  top: 14px; right: 20px;
  font-size: 46px;
  font-weight: 800;
  color: var(--gray-100);
  z-index: 0;
  line-height: 1;
}

.card-icon {
  position: relative;
  z-index: 1;
  font-size: 30px;
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 14px;
  background: var(--gradient-brand);
  margin-bottom: 16px;
  flex-shrink: 0;
}

.card h3 {
  position: relative; z-index: 1;
  color: var(--gray-900);
  margin-bottom: 8px;
  font-size: 18px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.card p {
  position: relative; z-index: 1;
  color: var(--gray-700);
  font-size: 14px;
  margin-bottom: 0;
  -webkit-font-smoothing: antialiased;
}

.cards-hint { display: none; }

/* ===== RESPONSIVE: cards jadi carousel horizontal di mobile, lebar bervariasi ===== */
@media (max-width: 1024px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: auto;
    gap: 20px;
  }
  .card,
  .card:nth-child(1),
  .card:nth-child(2),
  .card:nth-child(3),
  .card:nth-child(4) {
    grid-column: span 1 !important;
    grid-row: auto !important;
    justify-content: flex-start;
    min-height: 240px;
  }
}

@media (max-width: 900px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
  .card { min-height: 220px; }
}

@media (max-width: 768px) {
  .cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .card { min-height: 200px; }
}

@media (max-width: 640px) {
  .cards {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 0;
    padding: 0;
    width: 100%;
    overflow: visible;
  }

  .card,
  .card:nth-child(1),
  .card:nth-child(2),
  .card:nth-child(3),
  .card:nth-child(4) {
    grid-column: unset;
    grid-row: unset;
    flex-shrink: 0;
    min-height: 180px;
    width: 100%;
  }

  .cards-hint {
    display: none;
  }
}

/* ===== PORTOFOLIO (bento grid) ===== */
.portfolio { background: var(--white); }

.checklist { margin: 0 0 26px; }
.checklist li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 14px;
  font-weight: 500;
}
.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--gradient-brand);
  color: var(--white);
  font-size: 13px;
  display: flex; align-items: center; justify-content: center;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 110px;
  gap: 20px;
}

.pf-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.pf-item:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

/* Kartu cerita utama */
.pf-intro {
  grid-column: span 2;
  grid-row: span 3;
  background: var(--gradient-brand);
  color: var(--white);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.pf-intro .checklist { margin: 0 0 26px; }
.pf-intro .checklist li { color: rgba(255,255,255,.92); }
.pf-intro .checklist li::before { background: rgba(255,255,255,.22); color: var(--white); }
.pf-intro .btn--whatsapp { align-self: flex-start; }

/* Kartu foto persegi */
.pf-photo {
  grid-column: span 2;
  grid-row: span 2;
}
.pf-photo img, .pf-banner img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s var(--ease);
}
.pf-item:hover img { transform: scale(1.07); }

.pf-photo-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 14px 16px;
  background: linear-gradient(to top, rgba(11,61,92,.85), transparent);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
}

/* Kartu banner lebar */
.pf-banner {
  grid-column: span 2;
  grid-row: span 2;
}

/* Kartu statistik */
.pf-stat {
  grid-column: span 1;
  grid-row: span 2;
  background: var(--gray-100);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px;
}
.pf-stat .stat-number {
  font-size: 32px;
  font-weight: 800;
  color: var(--blue-dark);
  margin-bottom: 4px;
}
.pf-stat .stat-label {
  font-size: 12.5px;
  color: var(--gray-700);
  font-weight: 500;
}
/* Kartu statistik ke-3 & ke-6 (posisi anak dalam grid) pakai warna gradient, sisanya abu */
.pf-item.pf-stat:nth-child(3),
.pf-item.pf-stat:nth-child(6) {
  background: var(--gradient-brand);
}
.pf-item.pf-stat:nth-child(3) .stat-number,
.pf-item.pf-stat:nth-child(6) .stat-number { color: var(--white); }
.pf-item.pf-stat:nth-child(3) .stat-label,
.pf-item.pf-stat:nth-child(6) .stat-label { color: rgba(255,255,255,.85); }

/* ===== RESPONSIVE PORTOFOLIO ===== */
@media (max-width: 1024px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: auto;
    gap: 18px;
  }

  .pf-intro,
  .pf-photo,
  .pf-banner {
    grid-column: span 2;
    grid-row: auto;
  }
  .pf-photo, .pf-banner { min-height: 260px; }
  .pf-intro { padding: 30px 26px; }

  .pf-stat {
    grid-column: span 1;
    grid-row: auto;
    min-height: 130px;
  }
}

@media (max-width: 900px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: auto;
    gap: 16px;
  }
  .pf-photo, .pf-banner { min-height: 240px; }
  .pf-stat { min-height: 120px; }
}

@media (max-width: 768px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .pf-intro,
  .pf-photo,
  .pf-banner {
    grid-column: 1;
    min-height: 220px;
  }
  .pf-intro { padding: 24px 22px; }
  .pf-intro .checklist { margin-bottom: 20px; }
  .pf-stat {
    grid-column: 1;
    min-height: 100px;
    padding: 12px;
  }
  .pf-stat .stat-number { font-size: 28px; }
  .pf-stat .stat-label { font-size: 12px; }
}

@media (max-width: 640px) {
  .portfolio-grid { gap: 12px; }
  .pf-intro { padding: 20px 18px; }
  .pf-photo, .pf-banner { min-height: 180px; }
  .pf-stat { min-height: 90px; padding: 10px; }
  .pf-stat .stat-number { font-size: 24px; }
  .pf-stat .stat-label { font-size: 11px; }
  .pf-photo-caption { font-size: 12px; padding: 10px 12px; }
}

/* ===== ARMADA / GALLERY ===== */
.armada { background: var(--gray-100); }

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  justify-content: start;
}

@media (max-width: 1024px) {
  .gallery {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}
.gallery-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform .5s var(--ease);
  display: block;
}

@media (max-width: 768px) {
  .gallery-item img {
    height: 200px;
  }
}
.gallery-item:hover img { transform: scale(1.09); }

.gallery-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px;
  background: linear-gradient(to top, rgba(11,61,92,.88) 0%, rgba(11,61,92,.15) 55%, transparent 100%);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.gallery-item:hover .gallery-overlay,
.gallery-item:focus-within .gallery-overlay {
  opacity: 1;
  transform: translateY(0);
}

.gallery-name {
  color: var(--white);
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 10px;
}

.gallery-view-btn {
  align-self: flex-start;
  background: rgba(255,255,255,.16);
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,.6);
  backdrop-filter: blur(4px);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background .25s var(--ease);
}
.gallery-view-btn:hover { background: var(--cyan); border-color: var(--cyan); }

@media (max-width: 640px) {
  .gallery {
    display: flex;
    flex-direction: row;
    gap: 12px;
    width: 100%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
    margin-bottom: 16px;
    padding: 0 0 12px 0;
  }
  
  /* Hide scrollbar for cleaner look */
  .gallery::-webkit-scrollbar {
    height: 4px;
  }
  .gallery::-webkit-scrollbar-track {
    background: rgba(11, 61, 92, 0.1);
    border-radius: 10px;
  }
  .gallery::-webkit-scrollbar-thumb {
    background: rgba(11, 61, 92, 0.3);
    border-radius: 10px;
  }
  .gallery::-webkit-scrollbar-thumb:hover {
    background: rgba(11, 61, 92, 0.5);
  }
  
  .gallery-item {
    flex: 0 0 100%;
    width: 100%;
    min-width: 100%;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    max-width: 100%;
  }
  .gallery-item img {
    height: 220px;
    width: 100%;
  }
  /* di layar sentuh, overlay selalu terlihat (tanpa hover) */
  .gallery-overlay {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Gallery slider indicators (dots) */
.gallery-dots {
  display: none;
}

@media (max-width: 640px) {
  .gallery-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 12px 0 8px 0;
    flex-wrap: wrap;
  }
  
  .gallery-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(11, 61, 92, 0.3);
    border: none;
    cursor: pointer;
    transition: background 0.3s var(--ease), transform 0.3s var(--ease);
    padding: 0;
  }
  
  .gallery-dot.active {
    background: var(--blue-dark);
    transform: scale(1.3);
  }
  
  .gallery-dot:hover {
    background: rgba(11, 61, 92, 0.6);
  }
}

/* ===== MODAL / POPUP UNIT ===== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  visibility: hidden;
  opacity: 0;
  transition: opacity .3s var(--ease), visibility .3s var(--ease);
}
.modal.is-open { visibility: visible; opacity: 1; }

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11,25,38,.72);
  backdrop-filter: blur(3px);
}

.modal-box {
  position: relative;
  background: var(--white);
  border-radius: 18px;
  width: min(480px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  transform: scale(.9) translateY(20px);
  transition: transform .35s var(--ease);
}
.modal.is-open .modal-box { transform: scale(1) translateY(0); }

@media (max-width: 768px) {
  .modal-box {
    width: min(420px, 95vw);
    border-radius: 16px;
  }
}

@media (max-width: 640px) {
  .modal-box {
    width: 100%;
    max-height: 85vh;
    border-radius: 16px 16px 0 0;
  }
}

.modal-close {
  position: absolute;
  top: 12px; right: 12px;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(11,61,92,.08);
  color: var(--blue-dark);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  transition: background .2s var(--ease);
}
.modal-close:hover { background: rgba(11,61,92,.16); }

.modal-img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 18px 18px 0 0;
}

@media (max-width: 768px) {
  .modal-img {
    height: 220px;
    border-radius: 16px 16px 0 0;
  }
}

@media (max-width: 640px) {
  .modal-img {
    height: 200px;
    border-radius: 16px 16px 0 0;
  }
}

.modal-body { padding: 24px 26px 28px; }
.modal-body h3 {
  color: var(--blue-dark);
  font-size: 21px;
  margin-bottom: 10px;
}
.modal-body p {
  color: var(--gray-700);
  font-size: 14.5px;
  margin-bottom: 22px;
}
.modal-body .btn { width: 100%; justify-content: center; }

@media (max-width: 768px) {
  .modal-body {
    padding: 20px 22px 24px;
  }
  .modal-body h3 {
    font-size: 18px;
    margin-bottom: 8px;
  }
  .modal-body p {
    font-size: 14px;
    margin-bottom: 18px;
  }
}

@media (max-width: 640px) {
  .modal-body {
    padding: 18px 18px 20px;
  }
  .modal-body h3 {
    font-size: 16px;
    margin-bottom: 8px;
  }
  .modal-body p {
    font-size: 13.5px;
    margin-bottom: 16px;
  }
  .modal-body .btn {
    padding: 12px 16px;
    font-size: 13px;
  }
}

/* ===== KONTAK ===== */
.kontak {
  background: var(--gradient-brand);
  text-align: center;
  color: var(--white);
}
.kontak__inner {
  padding: 40px 0;
}
.kontak__desc {
  max-width: 520px;
  margin: 0 auto 30px;
  color: rgba(255,255,255,.9);
  font-size: 16px;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .kontak__inner {
    padding: 32px 0;
  }
  .kontak__desc {
    max-width: 100%;
    font-size: 15px;
    margin-bottom: 26px;
  }
  .section-title--light {
    font-size: 28px;
  }
}

@media (max-width: 640px) {
  .kontak__inner {
    padding: 28px 0;
  }
  .kontak__desc {
    font-size: 14px;
    margin-bottom: 22px;
  }
  .section-title--light {
    font-size: 22px;
  }
}

/* ===== FOOTER ===== */
.footer {
  position: relative;
  background: linear-gradient(180deg, var(--blue-dark) 0%, #082c44 100%);
  color: rgba(255,255,255,.68);
  padding: 72px 0 0;
  font-size: 14.5px;
  overflow: hidden;
}

/* Garis aksen gradient di batas atas footer */
.footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--cyan) 0%, var(--blue-light) 50%, var(--cyan) 100%);
}

/* Bentuk dekoratif samar di pojok, senada tema bento di section lain */
.footer::after {
  content: "";
  position: absolute;
  width: 320px; height: 320px;
  right: -100px; top: -120px;
  background: radial-gradient(circle, rgba(23,195,214,.15) 0%, transparent 70%);
  pointer-events: none;
}

.footer-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 44px;
  padding-bottom: 40px;
}

.footer-brand,
.footer-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-logo {
  margin-bottom: 16px;
  color: var(--white);
}

.footer-tagline {
  max-width: 360px;
  margin: 0 0 18px;
  color: rgba(255,255,255,.72);
  line-height: 1.7;
  font-size: 14px;
}

@media (max-width: 768px) {
  .footer-tagline {
    max-width: 100%;
    font-size: 13.5px;
    margin-bottom: 16px;
  }
}

@media (max-width: 640px) {
  .footer-tagline {
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 14px;
  }
}

.footer-title {
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}
.footer-title::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 28px; height: 3px;
  border-radius: 3px;
  background: var(--cyan);
}

@media (max-width: 768px) {
  .footer-title {
    font-size: 13px;
    margin-bottom: 16px;
    letter-spacing: 0.8px;
  }
}

@media (max-width: 640px) {
  .footer-title {
    font-size: 12px;
    margin-bottom: 14px;
    letter-spacing: 0.5px;
  }
}

.footer-social {
  display: flex;
  gap: 10px;
}
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 15px;
  transition: background .25s var(--ease), transform .25s var(--ease), border-color .25s var(--ease);
}
.footer-social a:hover {
  background: var(--cyan);
  border-color: var(--cyan);
  transform: translateY(-3px);
}
.footer-social svg { width: 17px; height: 17px; }

/* Map */
.map-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 75%;
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  margin-bottom: 12px;
}

.map-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 12px;
  filter: grayscale(0.15) contrast(1.05);
}

.footer-map {
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 16px;
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: var(--shadow-md);
}

.btn--map {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  background: rgba(23, 195, 214, 0.15);
  border: 1.5px solid rgba(23, 195, 214, 0.4);
  color: var(--cyan-light);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s var(--ease);
}

.btn--map:hover {
  background: rgba(23, 195, 214, 0.25);
  border-color: var(--cyan);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .map-wrapper {
    padding-bottom: 70%;
    margin-bottom: 10px;
  }
  
  .btn--map {
    padding: 9px 14px;
    font-size: 12px;
  }
}

@media (max-width: 640px) {
  .map-wrapper {
    padding-bottom: 65%;
    margin-bottom: 12px;
  }
  
  .btn--map {
    width: 100%;
    justify-content: center;
    padding: 10px 12px;
    font-size: 12px;
  }
}

.footer-text {
  color: rgba(255,255,255,.6);
  font-size: 13.5px;
  line-height: 1.65;
  margin-bottom: 12px;
}

@media (max-width: 768px) {
  .footer-text {
    font-size: 13px;
    margin-bottom: 10px;
  }
}

@media (max-width: 640px) {
  .footer-text {
    font-size: 12.5px;
    line-height: 1.6;
    margin-bottom: 12px;
  }
}

.footer-link {
  color: var(--cyan-light);
  font-size: 13.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap .2s var(--ease), color .2s var(--ease);
}
.footer-link:hover { color: var(--white); gap: 8px; }

@media (max-width: 768px) {
  .footer-link {
    font-size: 13px;
  }
}

@media (max-width: 640px) {
  .footer-link {
    font-size: 12.5px;
    display: block;
    margin-top: 8px;
  }
}

/* Kontak */
.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,.75);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 16px;
  transition: color .2s var(--ease), transform .2s var(--ease);
  word-break: break-word;
}
.footer-contact-item:hover {
  color: var(--cyan-light);
  transform: translateX(4px);
}
.footer-icon {
  flex-shrink: 0;
  width: 34px; height: 34px;
  border-radius: 10px;
  background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
}

@media (max-width: 768px) {
  .footer-contact-item {
    font-size: 13.5px;
    gap: 10px;
    margin-bottom: 14px;
  }
  
  .footer-icon {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }
}

@media (max-width: 640px) {
  .footer-contact-item {
    font-size: 13px;
    gap: 10px;
    margin-bottom: 12px;
  }
  
  .footer-icon {
    width: 30px;
    height: 30px;
    font-size: 13px;
  }
}

/* Jam Operasional */
.footer-hours {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  padding: 6px 16px;
  margin-bottom: 16px;
}
.footer-hours li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255,255,255,.07);
  font-size: 13.5px;
}
.footer-hours li:last-child { border-bottom: none; }
.footer-hours li span:first-child { color: rgba(255,255,255,.75); font-weight: 500; }
.footer-hours li span:last-child { color: var(--cyan-light); font-weight: 700; }

@media (max-width: 768px) {
  .footer-hours {
    padding: 5px 14px;
    margin-bottom: 14px;
  }
  
  .footer-hours li {
    font-size: 12.5px;
    padding: 9px 0;
  }
}

@media (max-width: 640px) {
  .footer-hours {
    padding: 6px 12px;
    margin-bottom: 12px;
  }
  
  .footer-hours li {
    font-size: 12px;
    padding: 8px 0;
  }
}

.footer-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12.5px;
  color: rgba(255,255,255,.55);
  line-height: 1.6;
}
.footer-note::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--whatsapp);
  box-shadow: 0 0 0 3px rgba(33,193,90,.25);
  flex-shrink: 0;
  margin-top: 3px;
}

@media (max-width: 768px) {
  .footer-note {
    font-size: 12px;
  }
}

@media (max-width: 640px) {
  .footer-note {
    font-size: 11.5px;
    line-height: 1.5;
  }
}

/* Bottom bar */
.footer-bottom {
  position: relative;
  z-index: 1;
  padding: 22px 0 28px;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,.4);
  border-top: 1px solid rgba(255,255,255,.08);
}
.footer-bottom p {
  margin: 0;
}

@media (max-width: 768px) {
  .footer-bottom {
    padding: 18px 0 24px;
    font-size: 12px;
  }
}

@media (max-width: 640px) {
  .footer-bottom {
    padding: 16px 0 20px;
    font-size: 11.5px;
    line-height: 1.5;
  }
}


/* ===== RESPONSIVE FOOTER ===== */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px 40px;
    padding-bottom: 36px;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    padding-bottom: 32px;
  }
  .footer-brand { grid-column: span 2; }
}

@media (max-width: 768px) {
  .footer {
    padding-top: 56px;
    padding-bottom: 12px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    padding-bottom: 28px;
  }
  
  .footer-brand {
    grid-column: 1 / -1;
    margin-bottom: 0;
  }
  
  .footer-social {
    gap: 8px;
  }
  
  .footer-social a {
    width: 32px;
    height: 32px;
    font-size: 13px;
  }
  
  .footer-social svg {
    width: 15px;
    height: 15px;
  }
  
  .footer-col {
    margin-bottom: 4px;
  }
}

@media (max-width: 640px) {
  .footer {
    padding-top: 48px;
    padding-bottom: 12px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-bottom: 24px;
  }
  
  .footer-brand {
    grid-column: 1;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }
  
  .footer-col {
    align-items: flex-start;
  }
  
  .footer-social {
    gap: 6px;
  }
  
  .footer-social a {
    width: 30px;
    height: 30px;
    font-size: 12px;
    border-width: 0.5px;
  }
  
  .footer-social svg {
    width: 14px;
    height: 14px;
  }
}

/* ===== FLOATING WHATSAPP BUTTON ===== */
.wa-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 58px; height: 58px;
  background: var(--whatsapp);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  box-shadow: 0 10px 26px rgba(33,193,90,.45);
  z-index: 999;
  animation: pulse 2.4s infinite;
  transition: transform .25s var(--ease);
}
.wa-float:hover { transform: scale(1.1); }
.wa-float svg { width: 30px; height: 30px; }

@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(33,193,90,.55); }
  70%  { box-shadow: 0 0 0 16px rgba(33,193,90,0); }
  100% { box-shadow: 0 0 0 0 rgba(33,193,90,0); }
}

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== ENHANCED MOBILE ANIMATIONS ===== */
.card.is-visible {
  animation: slideInCard .6s var(--ease) forwards;
}

.card.is-visible:nth-child(1) { animation-delay: 0.1s; }
.card.is-visible:nth-child(2) { animation-delay: 0.2s; }
.card.is-visible:nth-child(3) { animation-delay: 0.3s; }
.card.is-visible:nth-child(4) { animation-delay: 0.4s; }

.gallery-item.is-visible {
  animation: slideInGallery .6s var(--ease) forwards;
}

@keyframes slideInCard {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes slideInGallery {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes rippleAnim {
  from {
    transform: scale(0);
    opacity: 1;
  }
  to {
    transform: scale(4);
    opacity: 0;
  }
}

@keyframes slideInNav {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ===== STICKY BOTTOM BAR (khusus mobile) ===== */
.mobile-bar {
  display: none;
}

@media (max-width: 768px) {
  .mobile-bar {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 998;
    background: var(--white);
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    box-shadow: 0 -6px 24px rgba(11, 61, 92, 0.15);
    gap: 10px;
    align-items: center;
  }
  .mobile-bar__info {
    flex: 1;
    min-width: 0;
  }
  .mobile-bar__label {
    display: block;
    font-size: 10px;
    color: var(--gray-400);
    font-weight: 500;
  }
  .mobile-bar__title {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--blue-dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .mobile-bar .btn--whatsapp {
    padding: 10px 18px;
    font-size: 13px;
    white-space: nowrap;
    animation: pulse 2.5s infinite; /* seperti jantung, mobile bar button */
    flex-shrink: 0;
  }
  body {
    padding-bottom: 70px;
  }
  .wa-float {
    display: none;
  }
}

@media (max-width: 640px) {
  .mobile-bar {
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    gap: 8px;
  }
  .mobile-bar .btn--whatsapp {
    padding: 9px 14px;
    font-size: 12px;
  }
  body {
    padding-bottom: 64px;
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  .nav {
    position: fixed;
    top: 66px;
    right: 0;
    width: min(320px, 85vw);
    height: calc(100vh - 66px);
    background: linear-gradient(180deg, var(--blue-dark) 0%, #052d44 100%);
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 22px;
    gap: 24px;
    transform: translateX(100%);
    transition: transform .35s var(--ease);
    box-shadow: var(--shadow-lg);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .nav.is-open { transform: translateX(0); }

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    width: 100%;
  }

  .nav-links li a {
    font-size: 15px;
    padding: 8px 0;
  }

  .nav-cta {
    width: 100%;
    justify-content: center;
    margin-top: 8px;
  }

  .section { padding: 64px 0; }
  .slider-nav {
    width: 40px;
    height: 40px;
    font-size: 14px;
  }
  .slider-nav--prev { left: 16px; }
  .slider-nav--next { right: 16px; }
}

@media (max-width: 768px) {
  .header__inner {
    height: 66px;
    padding: 0 16px;
  }
  .logo { font-size: 18px; }

  .hero { min-height: 480px; }
  .slide-content { max-width: 95%; }
  .eyebrow { font-size: 11px; margin-bottom: 12px; letter-spacing: 1.2px; }
  .hero h1 { font-size: clamp(28px, 7vw, 42px); margin-bottom: 14px; line-height: 1.2; }
  .slide-desc { font-size: 15px; line-height: 1.5; margin-bottom: 20px; }
  .hero-actions { gap: 12px; flex-wrap: wrap; }
  .hero-actions .btn { padding: 12px 22px; font-size: 14px; }

  .slider-dots { bottom: 24px; }

  .section { padding: 60px 0; }
  .section-title { font-size: 28px; margin-bottom: 32px; }
  .container { padding: 0 22px; }
}

@media (max-width: 640px) {
  .header__inner {
    height: 60px;
    padding: 0 14px;
  }

  .hero { min-height: 450px; }
  .slide-content { max-width: 90%; }
  .eyebrow { font-size: 10.5px; margin-bottom: 10px; }
  .hero h1 { font-size: clamp(24px, 6vw, 32px); margin-bottom: 10px; line-height: 1.15; }
  .slide-desc { font-size: 14px; max-width: 100%; margin-bottom: 18px; line-height: 1.45; }
  .hero-actions { gap: 8px; }
  .hero-actions .btn {
    padding: 11px 18px;
    font-size: 13px;
    flex: 1 1 auto;
    justify-content: center;
  }
  .hero-actions .btn--ghost { display: none; }

  .slider-dots { bottom: 16px; gap: 8px; }

  .section { padding: 48px 0; }
  .section-title { font-size: 22px; margin-bottom: 24px; }
  .container { padding: 0 16px; }

  .kontak__desc { font-size: 14px; line-height: 1.5; }
  .btn--lg {
    width: 100%;
    justify-content: center;
    padding: 14px 18px;
    font-size: 14px;
  }
}
/* ==========================================
   GOOGLE REVIEWS
========================================== */

.testimoni {
  background-image: url(../img/photo_2026-08-28_15-15-15.jpg);
}

.testimoni-heading {
  text-align: center;
  margin-bottom: 35px;
}

.testimoni-subtitle {
  color: #64748b;
  margin-top: -10px;
}


/* ==========================================
   GOOGLE RATING
========================================== */

.google-rating {
  max-width: 650px;
  margin: 0 auto 45px;

  background: #ffffff;

  border-radius: 20px;

  padding: 24px 30px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 30px;

  box-shadow:
    0 10px 35px rgba(0, 0, 0, .07);

  border: 1px solid #e5e7eb;
}

.google-logo {
  display: flex;
  align-items: center;
  gap: 10px;

  font-weight: 700;
  color: #202124;
}

.google-g {
  font-size: 32px;
  font-weight: 800;

  background: linear-gradient(
    90deg,
    #4285f4,
    #34a853,
    #fbbc05,
    #ea4335
  );

  -webkit-background-clip: text;
  background-clip: text;

  color: transparent;
}

.rating-main {
  text-align: right;
}

#google-rating-value {
  font-size: 32px;
  color: #111827;
}

.rating-stars,
.review-stars {
  color: #fbbc04;
  letter-spacing: 2px;
  font-size: 18px;
}

#google-total-reviews {
  display: block;

  margin-top: 4px;

  color: #64748b;

  font-size: 13px;
}


/* ==========================================
   REVIEW GRID
========================================== */

.testimoni-grid {
  display: grid;

  grid-template-columns:
    repeat(3, 1fr);

  gap: 24px;
}


/* ==========================================
   REVIEW CARD
========================================== */

.review-card {
  background: #ffffff;

  border: 1px solid #e5e7eb;

  border-radius: 18px;

  padding: 25px;

  transition:
    transform .3s ease,
    box-shadow .3s ease;

  box-shadow:
    0 8px 25px rgba(0, 0, 0, .05);
}

.review-card:hover {
  transform: translateY(-6px);

  box-shadow:
    0 15px 35px rgba(0, 0, 0, .10);
}


/* ==========================================
   REVIEW HEADER
========================================== */

.review-header {
  display: flex;

  align-items: center;

  gap: 13px;

  margin-bottom: 14px;
}

.review-avatar {
  width: 48px;
  height: 48px;

  border-radius: 50%;

  object-fit: cover;

  flex-shrink: 0;
}

.review-avatar--default {
  display: flex;

  align-items: center;
  justify-content: center;

  background: #4285f4;

  color: #ffffff;

  font-size: 20px;
  font-weight: 700;
}

.review-author {
  flex: 1;
}

.review-author strong {
  display: block;

  color: #111827;

  margin-bottom: 3px;
}


/* ==========================================
   GOOGLE LABEL
========================================== */

.review-google {
  margin-bottom: 12px;
}

.review-google span {
  display: inline-flex;

  align-items: center;

  padding: 4px 9px;

  border-radius: 6px;

  background: #f1f5f9;

  color: #64748b;

  font-size: 11px;

  font-weight: 700;
}


/* ==========================================
   REVIEW TEXT
========================================== */

.review-text {
  color: #475569;

  line-height: 1.7;

  font-size: 15px;

  min-height: 75px;

  margin: 0 0 20px;
}


/* ==========================================
   REVIEW FOOTER
========================================== */

.review-footer {
  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 10px;

  padding-top: 15px;

  border-top: 1px solid #eef2f7;
}

.review-date {
  font-size: 12px;

  color: #94a3b8;
}

.review-google-link {
  color: #4285f4;

  font-size: 12px;

  font-weight: 700;

  text-decoration: none;
}

.review-google-link:hover {
  text-decoration: underline;
}


/* ==========================================
   LOADING
========================================== */

.reviews-loading {
  text-align: center;

  padding: 40px;

  color: #64748b;
}

.loading-spinner {
  width: 35px;
  height: 35px;

  margin: 0 auto 15px;

  border: 3px solid #e5e7eb;

  border-top-color: #4285f4;

  border-radius: 50%;

  animation:
    reviewSpin .8s linear infinite;
}

@keyframes reviewSpin {

  to {
    transform: rotate(360deg);
  }

}


/* ==========================================
   ERROR
========================================== */

.reviews-error {
  display: none;

  text-align: center;

  padding: 30px;

  color: #64748b;
}


/* ==========================================
   ADD REVIEW
========================================== */

.add-review-section {
  margin-top: 50px;

  padding: 30px;

  border-radius: 20px;

  background:
    linear-gradient(
      135deg,
      #ffffff,
      #f1f5f9
    );

  border: 1px solid #e2e8f0;

  display: flex;

  align-items: center;

  gap: 20px;
}

.add-review-icon {
  width: 55px;
  height: 55px;

  flex-shrink: 0;

  display: flex;

  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background: #fbbc04;

  color: #ffffff;

  font-size: 25px;
}

.add-review-content {
  flex: 1;
}

.add-review-content h3 {
  margin: 0 0 6px;

  color: #111827;
}

.add-review-content p {
  margin: 0;

  color: #64748b;

  font-size: 14px;

  line-height: 1.6;
}


/* ==========================================
   GOOGLE BUTTON
========================================== */

.btn--google {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  gap: 8px;

  padding: 13px 20px;

  border-radius: 10px;

  background: #4285f4;

  color: #ffffff;

  text-decoration: none;

  font-weight: 700;

  white-space: nowrap;

  transition:
    transform .2s ease,
    box-shadow .2s ease,
    background .2s ease;
}

.btn--google:hover {
  background: #3367d6;

  transform: translateY(-2px);

  box-shadow:
    0 8px 20px rgba(66, 133, 244, .25);
}


/* ==========================================
   MOBILE
========================================== */

@media (max-width: 900px) {

  .testimoni-grid {
    grid-template-columns:
      repeat(2, 1fr);
  }

}


@media (max-width: 600px) {

  .google-rating {
    flex-direction: column;

    text-align: center;

    padding: 22px;
  }

  .rating-main {
    text-align: center;
  }

  .testimoni-grid {
    grid-template-columns: 1fr;
  }

  .review-card {
    padding: 20px;
  }

  .add-review-section {
    flex-direction: column;

    text-align: center;

    padding: 25px 20px;
  }

  .add-review-content h3 {
    font-size: 18px;
  }

  .btn--google {
    width: 100%;
  }

}

/* ==========================================
   TESTIMONI GOOGLE
========================================== */

.testimoni {
  background: #f7f9fc;
}

.testimoni-heading {
  text-align: center;
  margin-bottom: 40px;
}

.testimoni-subtitle {
  margin-top: -12px;
  color: #64748b;
}


/* GRID */

.testimoni-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}


/* CARD */

.review-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  padding: 25px;

  box-shadow: 0 8px 25px rgba(0, 0, 0, .05);

  transition:
    transform .3s ease,
    box-shadow .3s ease;
}

.review-card:hover {
  transform: translateY(-6px);

  box-shadow:
    0 15px 35px rgba(0, 0, 0, .10);
}


/* HEADER */

.review-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}


/* AVATAR */

.review-avatar {
  width: 48px;
  height: 48px;

  flex-shrink: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background: #4285f4;
  color: #ffffff;

  font-size: 19px;
  font-weight: 700;
}


/* AUTHOR */

.review-author {
  flex: 1;
}

.review-author strong {
  display: block;

  color: #111827;

  font-size: 15px;

  margin-bottom: 4px;
}


/* STARS */

.review-stars {
  color: #fbbc04;

  font-size: 17px;

  letter-spacing: 2px;
}


/* GOOGLE LABEL */

.review-google {
  font-size: 11px;

  color: #64748b;

  background: #f1f5f9;

  padding: 5px 8px;

  border-radius: 6px;

  font-weight: 700;
}


/* TEXT */

.review-text {
  color: #475569;

  line-height: 1.7;

  font-size: 14px;

  min-height: 90px;

  margin-bottom: 20px;
}


/* FOOTER */

.review-footer {
  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 10px;

  padding-top: 15px;

  border-top: 1px solid #eef2f7;
}

.review-date {
  color: #94a3b8;

  font-size: 11px;
}

.review-google-link {
  color: #4285f4;

  font-size: 12px;

  font-weight: 700;

  text-decoration: none;

  transition: color .2s ease;
}

.review-google-link:hover {
  color: #174ea6;

  text-decoration: underline;
}


/* ==========================================
   GOOGLE REVIEW CTA
========================================== */

.google-review-cta {
  margin-top: 45px;

  padding: 28px 32px;

  display: flex;
  align-items: center;

  gap: 20px;

  border-radius: 20px;

  background: #ffffff;

  border: 1px solid #e5e7eb;

  box-shadow:
    0 8px 25px rgba(0, 0, 0, .05);
}

.google-review-cta__icon {
  width: 55px;
  height: 55px;

  flex-shrink: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background: #fbbc04;

  color: #ffffff;

  font-size: 25px;
}

.google-review-cta__content {
  flex: 1;
}

.google-review-cta__content h3 {
  margin: 0 0 5px;

  color: #111827;

  font-size: 18px;
}

.google-review-cta__content p {
  margin: 0;

  color: #64748b;

  font-size: 14px;

  line-height: 1.6;
}


/* GOOGLE BUTTON */

.btn--google-review {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  padding: 13px 22px;

  background: #4285f4;

  color: #ffffff;

  border-radius: 10px;

  text-decoration: none;

  font-weight: 700;

  white-space: nowrap;

  transition:
    transform .2s ease,
    box-shadow .2s ease,
    background .2s ease;
}

.btn--google-review:hover {
  background: #3367d6;

  transform: translateY(-2px);

  box-shadow:
    0 8px 20px rgba(66, 133, 244, .25);
}


/* ==========================================
   TABLET
========================================== */

@media (max-width: 900px) {

  .testimoni-grid {
    grid-template-columns: repeat(2, 1fr);
  }

}


/* ==========================================
   MOBILE
========================================== */

@media (max-width: 600px) {

  .testimoni-grid {
    grid-template-columns: 1fr;
  }

  .review-card {
    padding: 20px;
  }

  .review-text {
    min-height: auto;
  }

  .google-review-cta {
    flex-direction: column;

    text-align: center;

    padding: 25px 20px;
  }

  .google-review-cta__content h3 {
    font-size: 17px;
  }

  .btn--google-review {
    width: 100%;
  }

}


/* =========================================================
   ANIMASI 3D MODERN — TAMBAHAN
   Efek tilt 3D (mouse-tracking), glare, floating icon,
   reveal rotasi 3D, dan bentuk dekoratif melayang.
   Semua bersifat aditif, tidak mengubah struktur lama.
   ========================================================= */

/* Hormati preferensi pengguna yang mematikan animasi */
@media (prefers-reduced-motion: reduce) {
  .card, .gallery-item, .pf-item, .card-icon,
  .shape3d, .review-card {
    animation: none !important;
    transition: none !important;
  }
}

/* ---------- Perspective container ---------- */
/* Supaya efek 3D anak elemen (tilt) terlihat punya kedalaman */
.cards,
.gallery,
.portfolio-grid,
.testimoni-grid {
  perspective: 1400px;
}

/* ---------- KARTU LAYANAN: 3D tilt + glare sweep ---------- */
.card {
  transform-style: preserve-3d;
  will-change: transform;
}

/* Lapisan glare/kilau yang menyapu saat hover */
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    115deg,
    transparent 20%,
    rgba(255,255,255,.35) 45%,
    transparent 70%
  );
  transform: translateX(-120%);
  opacity: 0;
  transition: transform .1s linear;
}
.card:hover::after {
  opacity: 1;
  animation: cardGlareSweep .9s var(--ease) forwards;
}

@keyframes cardGlareSweep {
  from { transform: translateX(-120%); }
  to   { transform: translateX(120%); }
}

/* Ikon melayang + berputar 3D terus-menerus */
.card-icon {
  transform-style: preserve-3d;
  animation: iconFloat3D 4.5s ease-in-out infinite;
}
.card:nth-child(2) .card-icon { animation-delay: .3s; }
.card:nth-child(3) .card-icon { animation-delay: .6s; }
.card:nth-child(4) .card-icon { animation-delay: .9s; }

@keyframes iconFloat3D {
  0%, 100% { transform: perspective(400px) translateY(0) rotateY(0deg) rotateX(0deg); }
  25%      { transform: perspective(400px) translateY(-6px) rotateY(12deg) rotateX(4deg); }
  50%      { transform: perspective(400px) translateY(0) rotateY(0deg) rotateX(0deg); }
  75%      { transform: perspective(400px) translateY(-3px) rotateY(-12deg) rotateX(-4deg); }
}

/* ---------- KARTU GALERI & PORTOFOLIO: kedalaman saat hover ---------- */
.gallery-item,
.pf-item {
  transform-style: preserve-3d;
  will-change: transform;
}

/* ---------- REVEAL SCROLL: masuk dengan rotasi 3D ---------- */
.reveal {
  opacity: 0;
  transform: perspective(1000px) translateY(40px) rotateX(-12deg);
  transform-origin: bottom center;
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: perspective(1000px) translateY(0) rotateX(0deg);
}

/* ---------- TOMBOL: efek tekan 3D ---------- */
.btn {
  transform-style: preserve-3d;
}
.btn:active {
  transform: translateY(-1px) scale(.97);
}
.btn--whatsapp:hover {
  animation: btnPop3D .5s var(--ease);
}
@keyframes btnPop3D {
  0%   { transform: translateY(0) rotateX(0deg); }
  40%  { transform: translateY(-6px) rotateX(8deg); }
  100% { transform: translateY(-3px) rotateX(0deg); }
}

/* ---------- BENTUK DEKORATIF MELAYANG (hero) ---------- */
.shape3d {
  position: absolute;
  border-radius: 30% 70% 65% 35% / 40% 35% 65% 60%;
  pointer-events: none;
  z-index: 3;
  filter: blur(1px);
  transform-style: preserve-3d;
}
.shape3d--1 {
  width: 90px; height: 90px;
  top: 18%; left: 6%;
  background: linear-gradient(135deg, rgba(23,195,214,.35), rgba(30,111,180,.15));
  animation: shapeFloat3D 9s ease-in-out infinite;
}
.shape3d--2 {
  width: 130px; height: 130px;
  bottom: 14%; right: 8%;
  background: linear-gradient(135deg, rgba(255,255,255,.25), rgba(23,195,214,.15));
  animation: shapeFloat3D 12s ease-in-out infinite reverse;
}
.shape3d--3 {
  width: 60px; height: 60px;
  top: 55%; left: 88%;
  background: linear-gradient(135deg, rgba(30,111,180,.35), rgba(23,195,214,.2));
  animation: shapeFloat3D 7s ease-in-out infinite;
  animation-delay: 1.5s;
}

@keyframes shapeFloat3D {
  0%   { transform: perspective(600px) translate3d(0,0,0) rotateX(0deg) rotateY(0deg) rotateZ(0deg); }
  25%  { transform: perspective(600px) translate3d(14px,-18px,30px) rotateX(20deg) rotateY(25deg) rotateZ(8deg); }
  50%  { transform: perspective(600px) translate3d(-10px,10px,0) rotateX(-15deg) rotateY(-10deg) rotateZ(-6deg); }
  75%  { transform: perspective(600px) translate3d(10px,16px,-20px) rotateX(10deg) rotateY(-20deg) rotateZ(6deg); }
  100% { transform: perspective(600px) translate3d(0,0,0) rotateX(0deg) rotateY(0deg) rotateZ(0deg); }
}

@media (max-width: 768px) {
  .shape3d { display: none; } /* sembunyikan di mobile agar tidak mengganggu tata letak/performa */
}

/* ---------- KARTU TESTIMONI: sedikit kedalaman saat hover ---------- */
.review-card {
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}

/* ---------- ANGKA STATISTIK: flip-in 3D ---------- */
.stat-number {
  display: inline-block;
  animation: statFlipIn3D .7s var(--ease) both;
}
@keyframes statFlipIn3D {
  from { opacity: 0; transform: perspective(400px) rotateX(70deg); }
  to   { opacity: 1; transform: perspective(400px) rotateX(0deg); }
}
/* =========================================================
   HERO — ELEMEN MENGAMBANG TAMBAHAN & SLIDER MOBILE
   (portofolio + testimoni jadi carousel di layar kecil)
   ========================================================= */

/* ---------- Bentuk ke-4 (variasi tambahan) ---------- */
.shape3d--4 {
  width: 44px; height: 44px;
  top: 10%; right: 22%;
  background: linear-gradient(135deg, rgba(255,255,255,.3), rgba(23,195,214,.25));
  animation: shapeFloat3D 8.5s ease-in-out infinite;
  animation-delay: .8s;
}

/* ---------- Partikel titik mengambang ---------- */
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  overflow: hidden;
}
.hero-particles span {
  position: absolute;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: rgba(255,255,255,.55);
  box-shadow: 0 0 8px 2px rgba(127,228,238,.5);
  animation: particleDrift linear infinite;
}
.hero-particles span:nth-child(1) { left: 12%; top: 80%; animation-duration: 9s;  animation-delay: 0s; }
.hero-particles span:nth-child(2) { left: 28%; top: 90%; animation-duration: 12s; animation-delay: 1.5s; }
.hero-particles span:nth-child(3) { left: 48%; top: 85%; animation-duration: 10s; animation-delay: 3s; }
.hero-particles span:nth-child(4) { left: 63%; top: 95%; animation-duration: 14s; animation-delay: .5s; }
.hero-particles span:nth-child(5) { left: 78%; top: 82%; animation-duration: 11s; animation-delay: 2.2s; }
.hero-particles span:nth-child(6) { left: 90%; top: 92%; animation-duration: 13s; animation-delay: 4s; }

@keyframes particleDrift {
  0%   { transform: translateY(0) translateX(0) scale(1); opacity: 0; }
  10%  { opacity: .9; }
  50%  { transform: translateY(-45vh) translateX(12px) scale(1.3); }
  90%  { opacity: .3; }
  100% { transform: translateY(-90vh) translateX(-8px) scale(.6); opacity: 0; }
}

@media (max-width: 768px) {
  .hero-particles span:nth-child(4),
  .hero-particles span:nth-child(5),
  .hero-particles span:nth-child(6) { display: none; } /* kurangi jumlah di mobile demi performa */
}

/* ---------- Badge info mengambang di atas hero ---------- */
.hero-badges {
  position: absolute;
  inset: 0;
  z-index: 6;
  pointer-events: none;
}

.hero-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,.14);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 16px;
  padding: 12px 18px;
  color: var(--white);
  box-shadow: 0 12px 30px rgba(0,0,0,.18);
  animation: badgeFloat 6s ease-in-out infinite;
}
.hero-badge-icon { font-size: 20px; line-height: 1; }
.hero-badge strong { display: block; font-size: 15px; font-weight: 800; line-height: 1.2; }
.hero-badge span:last-of-type { font-size: 11px; opacity: .85; white-space: nowrap; }

.hero-badge--1 { top: 20%; right: 6%; animation-duration: 6s; }
.hero-badge--2 { bottom: 22%; left: 5%; animation-duration: 7s; animation-delay: 1.2s; }
.hero-badge--3 { top: 58%; right: 9%; animation-duration: 5.5s; animation-delay: 2.4s; }

@keyframes badgeFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-14px) rotate(-2deg); }
}

/* Sembunyikan badge di layar sempit agar tidak menutupi teks hero */
@media (max-width: 900px) {
  .hero-badges { display: none; }
}

/* ---------- Isyarat scroll ke bawah ---------- */
.hero-scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 84px;
  transform: translateX(-50%);
  z-index: 6;
  width: 26px; height: 42px;
  border: 2px solid rgba(255,255,255,.55);
  border-radius: 14px;
}
.hero-scroll-cue span {
  display: block;
  width: 5px; height: 9px;
  margin: 6px auto 0;
  background: var(--white);
  border-radius: 3px;
  animation: scrollCueMove 1.8s ease-in-out infinite;
}
@keyframes scrollCueMove {
  0%   { transform: translateY(0); opacity: 1; }
  70%  { transform: translateY(14px); opacity: 0; }
  100% { opacity: 0; }
}
@media (max-width: 768px) {
  .hero-scroll-cue { bottom: 64px; }
}
@media (max-width: 560px) {
  .hero-scroll-cue { display: none; } /* ruang terbatas di layar kecil */
}

/* =========================================================
   SLIDER MOBILE: PORTOFOLIO
   ========================================================= */
.portfolio-hint { display: none; }

@media (max-width: 640px) {
  .portfolio-grid {
    display: flex;
    grid-template-columns: none;
    grid-auto-rows: unset;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 20px;
    gap: 14px;
    margin: 0 -20px;
    padding: 4px 20px 6px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .portfolio-grid::-webkit-scrollbar { display: none; }

  .pf-item,
  .pf-item.pf-photo,
  .pf-item.pf-banner,
  .pf-item.pf-intro,
  .pf-item.pf-stat {
    grid-column: unset;
    grid-row: unset;
    scroll-snap-align: start;
    flex-shrink: 0;
    width: 84%;
    min-height: 220px;
  }

  .portfolio-hint {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--gray-400);
    font-size: 12.5px;
    margin: -6px 0 0;
  }
}

/* =========================================================
   SLIDER MOBILE: TESTIMONI
   ========================================================= */
.testimoni-hint { display: none; }

@media (max-width: 640px) {
  .testimoni-grid {
    display: flex;
    grid-template-columns: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 20px;
    gap: 16px;
    margin: 0 -20px;
    padding: 4px 20px 6px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .testimoni-grid::-webkit-scrollbar { display: none; }

  .review-card {
    flex-shrink: 0;
    width: 86%;
    scroll-snap-align: start;
  }

  .testimoni-hint {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #94a3b8;
    font-size: 12.5px;
    margin: -4px 0 20px;
  }
}