:root {
  --color-bg: #ffffff;
  --color-bg-alt: #f7f8fa;
  --color-surface: #ffffff;
  --color-surface-hover: #f2f4f7;
  --color-text: #1a2233;
  --color-text-muted: #5b6479;
  --color-primary: #2c5282;
  --color-primary-light: #3a6ba5;
  --color-primary-dark: #1e3a5f;
  --color-primary-on: #ffffff;
  --color-border: #e4e7ed;
  --color-border-light: #d3d8e0;
  --shadow-sm: 0 1px 3px rgba(20, 30, 50, 0.08);
  --shadow-md: 0 8px 24px rgba(20, 30, 50, 0.1);
  --shadow-glow: 0 0 0 1px rgba(44, 82, 130, 0.12), 0 8px 30px rgba(44, 82, 130, 0.08);
  --font-heading: Georgia, 'Times New Roman', serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --max-width: 1180px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: var(--color-primary-light); }
h1, h2, h3 { font-family: var(--font-heading); line-height: 1.2; margin: 0 0 0.6em; letter-spacing: -0.01em; font-weight: 700; }
h1 { font-size: clamp(2.25rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.65rem, 3vw, 2.25rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; color: var(--color-text-muted); }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }
.narrow { max-width: 760px; }

.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--color-primary); color: var(--color-primary-on);
  padding: 0.75rem 1.25rem; z-index: 200; font-weight: 600; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; top: 0; }

/* Section header pattern: eyebrow + heading + optional lead, centered */
.section-header { max-width: 640px; margin: 0 auto 3rem; text-align: center; }
.section-header.align-left { margin-left: 0; text-align: left; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--color-primary); margin-bottom: 0.9rem;
}
.eyebrow::before {
  content: ''; width: 22px; height: 1.5px; background: var(--color-primary);
}
.section-header h2 { margin-bottom: 0.7rem; }
.section-lead { color: var(--color-text-muted); font-size: 1.02rem; }

/* Header */
.site-header {
  position: sticky; top: var(--wp-admin--admin-bar--height, 0);
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
  z-index: 100; box-shadow: 0 2px 12px rgba(20, 30, 50, 0.15);
  --header-fg: #ffffff; --header-fg-muted: rgba(255, 255, 255, 0.85); --header-fg-hover-bg: rgba(255, 255, 255, 0.1);
  --header-fg-active-bg: rgba(255, 255, 255, 0.18); --header-logo-filter: brightness(0) invert(1);
}
.site-header.has-bg-image {
  background-size: cover; background-position: center; position: sticky; isolation: isolate;
}
.site-header.has-bg-image.overlay-dark::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(135deg, rgba(20, 30, 50, 0.72), rgba(20, 30, 50, 0.55));
}
.site-header.has-bg-image.overlay-light::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0.55));
}
.site-header.has-bg-image.overlay-light {
  --header-fg: #1a2233; --header-fg-muted: rgba(26, 34, 51, 0.8); --header-fg-hover-bg: rgba(20, 30, 50, 0.08);
  --header-fg-active-bg: rgba(20, 30, 50, 0.14); --header-logo-filter: none;
}
.header-inner { position: relative; display: flex; align-items: center; justify-content: space-between; padding: 1.1rem 1.5rem; gap: 1.5rem; }
.logo { font-family: var(--font-heading); font-size: 1.35rem; font-weight: 700; color: var(--header-fg); letter-spacing: -0.01em; display: inline-flex; align-items: center; }
.logo:hover { color: var(--header-fg-muted); }
.logo img { height: 42px; width: auto; max-width: 220px; object-fit: contain; filter: var(--header-logo-filter); }

@media (max-width: 720px) {
  .logo img { height: 34px; }
}
.primary-nav ul { list-style: none; display: flex; gap: 0.4rem; margin: 0; padding: 0; }
.primary-nav { display: flex; align-items: center; gap: 1.5rem; }
.primary-nav a {
  color: var(--header-fg-muted); font-weight: 500; font-size: 0.94rem;
  padding: 0.55rem 1rem; border-radius: var(--radius-sm); transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.primary-nav a:hover { color: var(--header-fg); background: var(--header-fg-hover-bg); }
.primary-nav a.active { color: var(--header-fg); background: var(--header-fg-active-bg); }

.header-search-toggle {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%; background: var(--header-fg-hover-bg, rgba(255, 255, 255, 0.12));
  color: var(--header-fg, #ffffff); border: none; cursor: pointer; transition: background-color 0.2s var(--ease);
  flex-shrink: 0;
}
.header-search-toggle:hover { background: var(--header-fg-active-bg, rgba(255, 255, 255, 0.22)); }
.header-search-toggle svg { width: 18px; height: 18px; }

.header-search-panel {
  max-height: 0; overflow: hidden; background: rgba(0, 0, 0, 0.12);
  transition: max-height 0.25s var(--ease);
}
.header-search-panel.open { max-height: 90px; }
.header-search-panel form { display: flex; gap: 0.6rem; padding: 1rem 1.5rem; max-width: var(--max-width); margin: 0 auto; }
.header-search-panel input[type="search"] {
  flex: 1; padding: 0.7rem 1rem; border-radius: var(--radius-sm); border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.95); color: var(--color-text); font-family: inherit; font-size: 0.95rem;
}
.header-search-panel input[type="search"]:focus { outline: 2px solid #ffffff; }
.header-search-panel button[type="submit"] {
  padding: 0.7rem 1.5rem; border-radius: var(--radius-sm); border: none; background: #ffffff;
  color: var(--color-primary-dark); font-weight: 600; cursor: pointer;
}

.header-wa-mobile {
  display: none; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%; background: var(--header-fg-hover-bg, rgba(255, 255, 255, 0.15)); color: var(--header-fg, #ffffff);
}
.header-wa-mobile svg { width: 20px; height: 20px; }

/* Bottom navigation bar — pengganti hamburger menu di mobile */
.bottom-nav {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(14px) saturate(150%);
  border-top: 1px solid var(--color-border);
  box-shadow: 0 -4px 16px rgba(20, 30, 50, 0.06);
  padding-bottom: env(safe-area-inset-bottom, 0);
}
.bottom-nav-item {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 0.25rem;
  padding: 0.6rem 0.25rem 0.55rem; color: var(--color-text-muted); font-size: 0.68rem; font-weight: 600;
  transition: color 0.2s var(--ease);
}
.bottom-nav-item svg { width: 21px; height: 21px; }
.bottom-nav-item.active { color: var(--color-primary); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.85rem 1.9rem; border-radius: var(--radius-sm); font-weight: 600; font-size: 0.95rem;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
  border: 1px solid transparent; cursor: pointer;
}
.btn-primary { background: var(--color-primary); color: var(--color-primary-on); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--color-primary-light); transform: translateY(-1px); box-shadow: var(--shadow-md); color: var(--color-primary-on); }
.btn-outline { border-color: var(--color-border-light); color: var(--color-text); }
.btn-outline:hover { border-color: var(--color-primary); color: var(--color-primary); transform: translateY(-1px); }

/* Hero */
.hero {
  position: relative;
  padding: 6.5rem 0 5.5rem;
  background:
    radial-gradient(ellipse 900px 500px at 15% -10%, rgba(44, 82, 130, 0.1), transparent 60%),
    radial-gradient(ellipse at top, var(--color-bg-alt), var(--color-bg));
  overflow: hidden;
}
.hero-text { max-width: 680px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--color-primary); margin-bottom: 1.2rem;
}
.hero-eyebrow::before { content: '●'; font-size: 0.5rem; }
.hero h1 { max-width: 620px; }
.hero-subtitle { font-size: 1.15rem; max-width: 600px; margin-top: 1.5rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; }

/* Hero slideshow: crossfade murni CSS, tanpa JS — ringan dan tanpa layout shift */
.hero.has-slideshow { background: var(--color-bg); }
.hero-slideshow { position: absolute; inset: 0; z-index: 0; }
.hero-slide {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; animation-name: eternal-hero-crossfade; animation-duration: var(--slide-duration, 18s);
  animation-iteration-count: infinite; animation-timing-function: ease-in-out;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(10, 18, 32, 0.75) 0%, rgba(10, 18, 32, 0.45) 55%, rgba(10, 18, 32, 0.15) 100%),
    linear-gradient(180deg, rgba(10, 18, 32, 0.25), rgba(10, 18, 32, 0.15) 60%, var(--color-bg) 100%);
}
.hero.has-slideshow { min-height: 560px; }
.hero.has-slideshow .container {
  position: absolute; z-index: 2; left: 0; right: 0; top: 50%; transform: translateY(-50%);
}
.hero.has-slideshow .hero-text { max-width: 520px; }
.hero.has-slideshow .hero-text h1 { max-width: 480px; }
.hero.has-slideshow .hero-subtitle { max-width: 460px; }
.hero.has-slideshow .hero-text h1,
.hero.has-slideshow .hero-subtitle { color: #ffffff; }
.hero.has-slideshow .hero-eyebrow { color: var(--color-primary-light); }
.hero.has-slideshow .btn-outline { border-color: rgba(255, 255, 255, 0.5); color: #ffffff; }
.hero.has-slideshow .btn-outline:hover { border-color: #ffffff; background: rgba(255, 255, 255, 0.1); }

@keyframes eternal-hero-crossfade {
  0%   { opacity: 0; }
  4%   { opacity: 1; }
  28%  { opacity: 1; }
  33%  { opacity: 0; }
  100% { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide { animation: none; opacity: 0; }
  .hero-slide:first-child { opacity: 1; }
}

/* Gallery strip */
.gallery-strip { overflow-x: auto; padding: 1.25rem 0; background: var(--color-bg-alt); border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); scrollbar-width: thin; }
.gallery-strip-track { display: flex; gap: 1rem; padding: 0 1.5rem; }
.gallery-strip-track img {
  width: 230px; height: 155px; object-fit: cover; border-radius: var(--radius-sm); flex-shrink: 0;
  filter: saturate(0.9); transition: filter 0.3s var(--ease), transform 0.3s var(--ease);
}
.gallery-strip-track img:hover { filter: saturate(1.1); transform: scale(1.02); }

/* Interior page header (Tentang, Layanan, Galeri, Kontak) */
.page-hero {
  padding: 3rem 0 3.5rem;
  background: radial-gradient(ellipse 800px 400px at 20% -20%, rgba(44, 82, 130, 0.08), transparent 60%);
  border-bottom: 1px solid var(--color-border);
}
.page-hero .eyebrow { margin-bottom: 0.75rem; }
.page-hero h1 { margin-bottom: 0.5rem; }
.page-hero-lead { font-size: 1.05rem; max-width: 620px; }

/* Sections */
.section { padding: 5.5rem 0; }
.section-alt { background: var(--color-bg-alt); }
.about-inner { max-width: 720px; }

/* Tentang Kami: teks + kolase foto berdampingan di desktop */
.about-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
.about-grid:not(.no-collage) { grid-template-columns: 1fr 1fr; }
.about-text { max-width: 560px; }
.about-grid.no-collage .about-text { max-width: 720px; }

.about-collage {
  display: grid; grid-template-columns: 1fr 1.3fr; grid-template-rows: repeat(2, 1fr);
  gap: 1rem; height: 420px;
}
.about-collage-item { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
.about-collage-item img { width: 100%; height: 100%; object-fit: cover; }
.about-collage-item-1 { grid-column: 1; grid-row: 1; }
.about-collage-item-2 { grid-column: 1; grid-row: 2; }
.about-collage-item-3 { grid-column: 2; grid-row: 1 / span 2; }
.about-collage-item-4 {
  grid-column: 2; grid-row: 2; align-self: end; height: 55%;
  transform: translate(1rem, 1rem);
}

.grid { display: grid; gap: 1.75rem; }
.grid-1 { grid-template-columns: 1fr; max-width: 640px; margin-left: auto; margin-right: auto; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.card {
  background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius);
  padding: 2rem 1.85rem; transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), background-color 0.3s var(--ease);
}
.card:hover { transform: translateY(-4px); border-color: rgba(44, 82, 130, 0.35); box-shadow: var(--shadow-glow); background: var(--color-surface-hover); }
.card-icon {
  width: 46px; height: 46px; color: var(--color-primary); margin-bottom: 1.25rem;
  display: flex; align-items: center; justify-content: center;
  background: rgba(44, 82, 130, 0.1); border-radius: var(--radius-sm); padding: 10px;
}
.feature-icon { width: 44px; height: 44px; color: var(--color-primary); margin: 0 auto 1.1rem; }
.card-icon svg, .feature-icon svg { width: 100%; height: 100%; }
.card h3 { margin-bottom: 0.6rem; }
.link-arrow { font-weight: 600; font-size: 0.92rem; display: inline-flex; align-items: center; gap: 0.35rem; transition: gap 0.2s var(--ease); }
.link-arrow:hover { gap: 0.55rem; }

.feature { text-align: center; }
.feature h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.feature p { font-size: 0.93rem; }

/* Slider testimoni: horizontal scroll dengan snap, murni CSS tanpa JS.
   Menampilkan maksimal --testimonial-cols kartu per layar; sisanya di-scroll ke samping. */
.testimonial-slider {
  display: flex; gap: 1.75rem; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 0.25rem 0.25rem 0.5rem; margin: 0 -0.25rem;
  scrollbar-width: none; -ms-overflow-style: none;
}
.testimonial-slider::-webkit-scrollbar { display: none; }
.testimonial-slider .testimonial {
  flex: 0 0 calc((100% - (var(--testimonial-cols, 3) - 0.6) * 1.75rem) / (var(--testimonial-cols, 3) - 0.4));
  scroll-snap-align: start;
}

.testimonial-dots { display: flex; justify-content: center; gap: 0.5rem; margin-top: 1rem; }
.testimonial-dots button {
  width: 8px; height: 8px; border-radius: 50%; border: none; padding: 0; cursor: pointer;
  background: var(--color-border); transition: background-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.testimonial-dots button.active { background: var(--color-primary); transform: scale(1.2); }

.testimonial {
  background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius);
  padding: 2rem; margin: 0; transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.testimonial:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.testimonial-rating { display: flex; gap: 0.2rem; color: var(--color-primary); margin-bottom: 1rem; }
.testimonial-rating svg { width: 16px; height: 16px; fill: currentColor; }
.testimonial p { color: var(--color-text); font-style: italic; font-size: 1.02rem; line-height: 1.7; }
.testimonial footer { color: var(--color-text-muted); font-size: 0.88rem; margin-top: 1.1rem; padding-top: 1.1rem; border-top: 1px solid var(--color-border); }
.testimonial footer strong { color: var(--color-text); }

.testimonial-footer { display: flex; align-items: center; gap: 0.75rem; }
.testimonial-avatar {
  width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex-shrink: 0;
  border: 2px solid var(--color-border);
}
.testimonial-avatar-fallback {
  display: flex; align-items: center; justify-content: center;
  background: rgba(44, 82, 130, 0.12); color: var(--color-primary);
  font-family: var(--font-heading); font-weight: 700; font-size: 1.1rem;
}
.testimonial-meta { display: flex; flex-direction: column; gap: 0.1rem; }
.testimonial-role { color: var(--color-text-muted); font-size: 0.85rem; }

.booking-cta {
  text-align: center;
  background:
    radial-gradient(ellipse 700px 400px at 50% 0%, rgba(44, 82, 130, 0.12), transparent 65%),
    linear-gradient(135deg, var(--color-bg-alt), var(--color-surface));
  border-top: 1px solid var(--color-border);
}
.booking-inner { max-width: 580px; margin: 0 auto; }
.booking-inner .btn { margin-top: 0.5rem; }

/* Service detail */
.service-detail { display: flex; align-items: flex-start; gap: 2.5rem; padding: 3rem 0; border-bottom: 1px solid var(--color-border); }
.service-detail:first-child { padding-top: 0; }
.service-detail:last-child { border-bottom: none; padding-bottom: 0; }
.service-detail.reverse { flex-direction: row-reverse; }
.service-detail-icon {
  width: 64px; height: 64px; color: var(--color-primary); flex-shrink: 0;
  background: rgba(44, 82, 130, 0.1); border-radius: var(--radius); padding: 14px;
}
.service-detail-icon svg { width: 100%; height: 100%; }
.service-detail h2 { margin-bottom: 0.75rem; }
.service-detail p { line-height: 1.75; }

/* Gallery grid — tombol thumbnail hero, klik membuka lightbox album.
   Kolom tetap (bukan auto-fit) supaya saat item sedikit, kartu tidak
   melebar penuh mengisi baris — sisanya dibiarkan sebagai ruang kosong. */
.gallery-grid { margin-top: 0; grid-template-columns: repeat(3, 1fr); }
.gallery-item {
  display: block; width: 100%; margin: 0; padding: 0; text-align: left; cursor: pointer;
  background: var(--color-surface); border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--color-border); font: inherit; color: inherit;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.gallery-item:hover, .gallery-item:focus-visible { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.gallery-item:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 2px; }
.gallery-item-media { position: relative; display: block; overflow: hidden; }
.gallery-item-media img { width: 100%; height: 230px; object-fit: cover; display: block; transition: transform 0.5s var(--ease); }
.gallery-item:hover .gallery-item-media img, .gallery-item:focus-visible .gallery-item-media img { transform: scale(1.07); }
.gallery-item-media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10, 14, 24, 0.45), transparent 55%);
  opacity: 0; transition: opacity 0.3s var(--ease);
}
.gallery-item:hover .gallery-item-media::after, .gallery-item:focus-visible .gallery-item-media::after { opacity: 1; }
.gallery-item-count {
  position: absolute; top: 0.7rem; right: 0.7rem; display: inline-flex; align-items: center; gap: 0.35rem;
  background: rgba(10, 14, 24, 0.6); backdrop-filter: blur(4px); color: #fff;
  font-size: 0.78rem; font-weight: 600; padding: 0.3rem 0.6rem; border-radius: 100px;
}
.gallery-item-count svg { width: 14px; height: 14px; }
.gallery-item-caption { display: block; padding: 0.9rem 1.1rem; font-size: 0.9rem; color: var(--color-text-muted); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center;
  visibility: hidden; opacity: 0; transition: opacity 0.25s var(--ease), visibility 0.25s;
}
.lightbox.open { visibility: visible; opacity: 1; }
.lightbox-backdrop { position: absolute; inset: 0; background: rgba(8, 10, 16, 0.92); }
body.lightbox-locked { overflow: hidden; }
.lightbox-dialog {
  position: relative; z-index: 1; display: flex; align-items: center; gap: 1rem;
  width: 100%; max-width: 1100px; padding: 0 1rem;
}
.lightbox-stage { flex: 1; min-width: 0; text-align: center; }
.lightbox-image {
  max-width: 100%; max-height: 78vh; border-radius: 10px; object-fit: contain;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  opacity: 1; transition: opacity 0.25s var(--ease);
}
.lightbox-image.is-fading { opacity: 0; }
.lightbox-title { margin: 0.9rem 0 0.2rem; color: #fff; font-size: 1rem; font-weight: 600; }
.lightbox-counter { margin: 0; color: rgba(255, 255, 255, 0.6); font-size: 0.82rem; font-variant-numeric: tabular-nums; }
.lightbox-close {
  position: absolute; top: -0.5rem; right: -0.5rem; z-index: 2;
  width: 40px; height: 40px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(255, 255, 255, 0.1); color: #fff; display: flex; align-items: center; justify-content: center;
  transition: background 0.2s var(--ease);
}
.lightbox-close:hover, .lightbox-close:focus-visible { background: rgba(255, 255, 255, 0.22); }
.lightbox-close svg { width: 18px; height: 18px; }
.lightbox-nav {
  flex: none; width: 44px; height: 44px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(255, 255, 255, 0.1); color: #fff; display: flex; align-items: center; justify-content: center;
  transition: background 0.2s var(--ease);
}
.lightbox-nav:hover, .lightbox-nav:focus-visible { background: rgba(255, 255, 255, 0.22); }
.lightbox-nav svg { width: 20px; height: 20px; }
.lightbox-nav[hidden] { visibility: hidden; }

@media (max-width: 640px) {
  .lightbox-dialog { flex-direction: column; padding: 0 0.75rem; }
  .lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); }
  .lightbox-prev { left: 0.25rem; }
  .lightbox-next { right: 0.25rem; }
  .lightbox-close { top: 0.5rem; right: 0.5rem; }
  .lightbox-image { max-height: 60vh; }
}

@media (prefers-reduced-motion: reduce) {
  .gallery-item, .gallery-item-media img, .gallery-item-media::after, .lightbox, .lightbox-close, .lightbox-nav {
    transition: none;
  }
}

/* Contact */
.contact-inner { display: grid; grid-template-columns: 1fr 1.3fr; gap: 3.5rem; }
.contact-list { list-style: none; padding: 0; margin-top: 1.75rem; }
.contact-list li { display: flex; align-items: center; gap: 0.85rem; margin-bottom: 1.1rem; font-size: 0.96rem; }
.contact-list svg {
  width: 18px; height: 18px; color: var(--color-primary); flex-shrink: 0;
  padding: 8px; box-sizing: content-box; background: rgba(44, 82, 130, 0.1); border-radius: 50%;
}
.contact-form { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 2.25rem; }
.form-row { margin-bottom: 1.25rem; }
.form-row label { display: block; margin-bottom: 0.45rem; font-weight: 600; font-size: 0.88rem; color: var(--color-text); }
.form-row input, .form-row textarea {
  width: 100%; padding: 0.75rem 1rem; background: var(--color-bg-alt); border: 1px solid var(--color-border-light);
  border-radius: var(--radius-sm); color: var(--color-text); font-family: inherit; font-size: 0.95rem;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.form-row input::placeholder, .form-row textarea::placeholder { color: #9aa1b0; }
.form-row input:focus, .form-row textarea:focus {
  outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(44, 82, 130, 0.15);
}
.alert { padding: 1rem 1.25rem; border-radius: var(--radius-sm); margin-bottom: 1.5rem; font-size: 0.92rem; }
.alert-success { background: #edf9f1; border: 1px solid #a3d9bb; color: #1e6b40; }
.alert-error { background: #fdeeed; border: 1px solid #eab5ac; color: #a13a2f; }
.alert-error ul { margin: 0; padding-left: 1.2rem; }

/* Breadcrumb */
/* Hasil pencarian */
.search-results-list { display: flex; flex-direction: column; gap: 1.5rem; }
.search-result-item {
  background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
}
.search-result-type {
  display: inline-block; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--color-primary); background: rgba(44, 82, 130, 0.1); padding: 0.2rem 0.6rem; border-radius: 20px;
  margin-bottom: 0.6rem;
}
.search-result-item h2 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.search-result-item h2 a { color: var(--color-text); }
.search-result-item h2 a:hover { color: var(--color-primary); }
.search-result-item p { margin: 0; font-size: 0.94rem; }

.breadcrumb { padding: 1.25rem 0 0; font-size: 0.85rem; }
.breadcrumb ol { list-style: none; display: flex; gap: 0.5rem; padding: 0; margin: 0; color: var(--color-text-muted); }
.breadcrumb a { color: var(--color-text-muted); }
.breadcrumb a:hover { color: var(--color-primary); }
.breadcrumb li:not(:last-child)::after { content: '/'; margin-left: 0.5rem; opacity: 0.5; }

/* Footer */
.site-footer { background: var(--color-bg-alt); border-top: 1px solid var(--color-border); padding: 4rem 0 1.5rem; margin-top: 2rem; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2.5rem; }
.footer-logo { font-family: var(--font-heading); font-size: 1.3rem; font-weight: 700; color: var(--color-text); }
.footer-col h2 { font-size: 0.78rem; font-family: var(--font-body); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--color-text-muted); margin-bottom: 1rem; }
.footer-contact, .footer-links, .footer-social { list-style: none; padding: 0; margin: 0; }
.footer-contact li { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.85rem; color: var(--color-text-muted); font-size: 0.92rem; }
.footer-contact svg { width: 15px; height: 15px; color: var(--color-primary); flex-shrink: 0; }
.footer-links li, .footer-social li { margin-bottom: 0.65rem; }
.footer-links a, .footer-social a { color: var(--color-text-muted); font-size: 0.92rem; }
.footer-links a:hover, .footer-social a:hover { color: var(--color-primary); }
.footer-bottom { border-top: 1px solid var(--color-border); margin-top: 3rem; padding-top: 1.5rem; font-size: 0.82rem; color: var(--color-text-muted); }

/* WhatsApp float button */
.whatsapp-float {
  position: fixed; bottom: 1.75rem; right: 1.75rem; width: 58px; height: 58px;
  background: #25d366; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: #fff; box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4); z-index: 150;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.whatsapp-float svg { width: 28px; height: 28px; fill: currentColor; stroke: none; }
.whatsapp-float:hover { transform: scale(1.08); box-shadow: 0 8px 26px rgba(37, 211, 102, 0.55); }

@media (max-width: 860px) {
  .contact-inner { grid-template-columns: 1fr; }
  .service-detail, .service-detail.reverse { flex-direction: column; gap: 1.5rem; }
  .about-grid:not(.no-collage) { grid-template-columns: 1fr; gap: 2rem; }
  .about-text { max-width: 100%; order: 2; }
  .about-collage { order: 1; height: 340px; }
  .testimonial-slider .testimonial { flex-basis: 85%; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .gallery-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .testimonial-slider .testimonial { flex-basis: 92%; }
}

@media (max-width: 480px) {
  .about-collage { grid-template-columns: 1fr 1.15fr; height: 300px; }
  .about-collage-item-4 { transform: translate(0.5rem, 0.5rem); }
}

@media (max-width: 720px) {
  .primary-nav { display: none; }
  .header-wa-mobile { display: none; }
  .bottom-nav { display: flex; }
  .whatsapp-float { bottom: calc(58px + 1rem + env(safe-area-inset-bottom, 0)); }
  body { padding-bottom: calc(58px + env(safe-area-inset-bottom, 0)); }
  .section { padding: 3.5rem 0; }
  .hero { padding: 4rem 0 3.5rem; overflow: visible; }
  .hero.has-slideshow { padding: 4.5rem 0 3.5rem; min-height: 0; }
  .hero.has-slideshow .container {
    position: relative; top: auto; left: auto; right: auto; transform: none;
  }
  .hero.has-slideshow .hero-text,
  .hero.has-slideshow .hero-text h1,
  .hero.has-slideshow .hero-subtitle { max-width: 100%; }
}
