/* ===== CSS LENGKAP SERENITY PRIME ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: #FEFCF8;
  color: #2E2A27;
  line-height: 1.5;
  scroll-behavior: smooth;
}
:root {
  --warm-brown: #5E4B3C;
  --clay: #C87A5A;
  --clay-dark: #B05E3E;
  --taupe: #8B7A6B;
  --shadow-sm: 0 10px 25px -5px rgba(0,0,0,0.05);
  --shadow-md: 0 20px 30px -10px rgba(0,0,0,0.08);
}
.container { max-width: 1280px; margin: 0 auto; padding: 0 40px; }

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 48px;
  background: rgba(255,253,248,0.96);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid #EFE6DC;
}
.logo {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--warm-brown);
  display: flex;
  align-items: baseline;
  gap: 4px;
  flex-wrap: wrap;
}
.logo-main { color: var(--warm-brown); }
.logo-separator { color: var(--clay); }
.logo-sub { color: var(--clay); }
@media (max-width: 700px) {
  .logo { flex-direction: column; align-items: flex-start; line-height: 1.2; gap: 2px; }
  .logo-separator { display: none; }
  .logo-sub { font-size: 1.5rem; margin-top: 0; }
}
.btn-booking {
  background: var(--clay);
  color: white;
  padding: 10px 24px;
  border-radius: 40px;
  font-weight: 600;
  border: none;
  transition: 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  cursor: pointer;
}
.btn-booking:hover { background: var(--clay-dark); transform: translateY(-2px); }
.btn-cara-pesan {
  background: #D0B8A8;
  color: #2E2A27;
  padding: 10px 24px;
  border-radius: 40px;
  font-weight: 600;
  border: none;
  transition: 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  cursor: pointer;
}
.btn-cara-pesan:hover { background: #C0A898; transform: translateY(-2px); }
.hamburger {
  display: none;
  font-size: 28px;
  cursor: pointer;
  background: none;
  border: none;
  color: var(--warm-brown);
}
.nav-links-mobile {
  display: none;
  position: fixed;
  top: 80px;
  left: 0;
  width: 100%;
  background: white;
  flex-direction: column;
  padding: 20px;
  gap: 16px;
  box-shadow: var(--shadow-md);
  z-index: 99;
}
.nav-links-mobile a, .nav-links-mobile button {
  text-decoration: none;
  color: var(--warm-brown);
  font-weight: 500;
  padding: 8px 0;
  cursor: pointer;
  background: none;
  border: none;
  text-align: left;
  font-size: 1rem;
}

.hero {
  min-height: 65vh;
  background-color: #D9CFC5;
  background: linear-gradient(rgba(30,25,22,0.2), rgba(30,25,22,0.1)), 
              url('https://massagebyserenity.com/banner.webp') center/cover no-repeat;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.hero-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  opacity: 0;
}
.main-title {
  text-align: center;
  margin: 40px 0 20px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--warm-brown);
}
@media (max-width: 768px) {
  .main-title { font-size: 1.8rem; margin: 30px 0 15px; }
}

/* ===== ABOUT SECTION ===== */
.about-section {
  margin: 30px auto 40px;
  padding: 32px 36px;
  background: linear-gradient(145deg, #FFFFFF 0%, #FEFAF5 100%);
  border-radius: 32px;
  border: 1px solid #EFE6DC;
  max-width: 820px;
  text-align: center;
}
.about-section h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 600;
  color: var(--warm-brown);
  margin-bottom: 20px;
}
.about-content p {
  font-size: 0.95rem;
  color: #4A3E36;
  line-height: 1.7;
  margin-bottom: 14px;
}
.about-content p:last-of-type {
  margin-bottom: 20px;
}
.about-content strong {
  color: var(--warm-brown);
}
.about-badges {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.about-badges span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FEFAF5;
  padding: 8px 20px;
  border-radius: 40px;
  border: 1px solid #EFE6DC;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--warm-brown);
}
.about-badges i {
  color: var(--clay);
  font-size: 1.1rem;
}
@media (max-width: 700px) {
  .about-section {
    padding: 24px 20px;
    margin: 24px auto 32px;
  }
  .about-section h2 {
    font-size: 1.6rem;
  }
  .about-content p {
    font-size: 0.88rem;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

.badge-row {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: nowrap;
  margin: 40px auto 20px;
  overflow-x: auto;
  padding-bottom: 8px;
}
.badge-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: white;
  padding: 6px 20px;
  border-radius: 60px;
  box-shadow: var(--shadow-sm);
  color: var(--warm-brown);
  font-size: 0.9rem;
  white-space: nowrap;
  flex-shrink: 0;
}
.badge-item i { font-size: 20px; color: var(--clay); }
@media (max-width: 600px) {
  .badge-row { gap: 12px; justify-content: flex-start; padding: 0 16px 8px 16px; margin: 30px auto 20px; }
  .badge-item { padding: 5px 14px; font-size: 0.8rem; }
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  font-weight: 600;
  margin: 50px 0 28px 0;
  color: var(--warm-brown);
  text-align: center;
}

/* SERVICE GRID - horizontal scroll tanpa scrollbar */
.service-grid {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: visible;
  gap: 28px;
  padding: 12px 0 15px 0;
  margin-bottom: 40px;
  scroll-snap-type: x mandatory;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.service-grid::-webkit-scrollbar {
  display: none;
}
.service-card {
  flex: 0 0 300px;
  scroll-snap-align: start;
  background: white;
  border-radius: 28px;
  padding: 24px;
  transition: all 0.3s ease;
  border: 1px solid #F0E7DE;
  border-top: 4px solid var(--clay);
  cursor: default;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(94, 75, 60, 0.06);
}
.service-card:hover { 
  transform: translateY(-8px); 
  border-color: var(--clay); 
  box-shadow: 0 16px 32px rgba(94, 75, 60, 0.12);
}
.service-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--clay);
  color: white;
  font-size: 0.7rem;
  padding: 5px 12px;
  border-radius: 40px;
  font-weight: 700;
  z-index: 2;
  box-shadow: 0 4px 8px rgba(200, 122, 90, 0.3);
}
.service-icon { font-size: 38px; color: var(--clay); margin-bottom: 14px; }
.service-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--warm-brown);
  margin-bottom: 12px;
  padding-right: 10px;
}
.service-desc {
  font-size: 0.85rem;
  color: #4A3E36;
  margin-bottom: 14px;
  line-height: 1.4;
  flex-grow: 1;
}
.service-benefits {
  font-size: 0.8rem;
  color: var(--clay);
  margin: 8px 0;
  padding-left: 16px;
  list-style: none;
}
.service-benefits li {
  margin-bottom: 5px;
  position: relative;
  padding-left: 16px;
}
.service-benefits li:before { content: "✓"; color: var(--clay); position: absolute; left: 0; }
.duration-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--warm-brown);
  margin: 8px 0 4px 0;
}
.duration-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 4px 0 8px 0;
}
.dur-btn {
  background: var(--clay);
  color: white;
  border: none;
  padding: 8px 14px;
  border-radius: 40px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s;
  flex: 1 0 auto;
  text-align: center;
}
.dur-btn:hover {
  background: var(--clay-dark);
  transform: translateY(-2px);
}
.selected-price { display: none; }
.btn-order { display: none; }

/* PACKAGE GRID - default grid, di mobile jadi scroll horizontal tanpa scrollbar */
.package-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-bottom: 40px;
}
.package-card {
  background: linear-gradient(145deg, #FFFFFF 0%, #FEFAF5 100%);
  border-radius: 32px;
  padding: 28px 24px;
  transition: all 0.3s ease;
  border: 1px solid #EFE6DC;
  border-top: 4px solid var(--clay);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(94, 75, 60, 0.06);
}
.package-card:hover {
  transform: translateY(-10px);
  border-color: var(--clay);
  box-shadow: 0 16px 32px rgba(94, 75, 60, 0.12);
}
.package-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--clay);
  color: white;
  font-size: 0.75rem;
  padding: 6px 14px;
  border-radius: 40px;
  font-weight: 700;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 8px rgba(200, 122, 90, 0.3);
}
.package-icon {
  font-size: 2rem;
  color: var(--clay);
  margin-bottom: 16px;
}
.package-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--warm-brown);
  margin-bottom: 12px;
}
.package-desc {
  font-size: 0.85rem;
  color: #4A3E36;
  margin-bottom: 16px;
  line-height: 1.4;
  flex-grow: 1;
}
.package-price { display: none; }
.package-btn {
  background: var(--clay);
  color: white;
  padding: 10px;
  border-radius: 40px;
  font-weight: 700;
  width: 100%;
  cursor: pointer;
  transition: 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  margin-top: 12px;
}
.package-btn:hover { background: var(--clay-dark); transform: translateY(-2px); }

@media (max-width: 1000px) {
  .package-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}
@media (max-width: 700px) {
  .package-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: visible;
    gap: 20px;
    padding: 12px 0 10px 0;
    scroll-snap-type: x mandatory;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
  .package-grid::-webkit-scrollbar {
    display: none;
  }
  .package-card {
    flex: 0 0 85%;
    scroll-snap-align: start;
  }
}

/* ===== TESTIMONIAL SECTION ===== */
.testimonials-section {
  background: #FEFAF5;
  border-radius: 48px;
  padding: 48px 40px;
  margin: 40px 0;
}
.testimonials-grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 28px;
  overflow-x: auto;
  overflow-y: visible;
  scroll-snap-type: x mandatory;
  padding: 12px 0 15px 0;
  margin: 24px 0 40px 0;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.testimonials-grid::-webkit-scrollbar { display: none; }
.testimonial-card-new {
  flex: 0 0 320px;
  scroll-snap-align: start;
  background: white;
  border-radius: 28px;
  padding: 24px;
  transition: all 0.25s;
  border: 1px solid #F0E7DE;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: none;
}
.testimonial-card-new:hover {
  transform: translateY(-6px);
  border-color: var(--clay);
}
.testimonial-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.testimonial-stars {
  color: #E4A343;
  font-size: 1rem;
  letter-spacing: 2px;
}
.testimonial-metric {
  background: #F4EFEA;
  padding: 4px 12px;
  border-radius: 40px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--clay);
}
.testimonial-quote {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #4A3E36;
  font-style: italic;
  margin: 0;
}
.testimonial-author {
  margin-top: 8px;
  border-top: 1px solid #EFE6DC;
  padding-top: 12px;
}
.testimonial-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--warm-brown);
}
.testimonial-role {
  font-size: 0.75rem;
  color: var(--taupe);
  margin-top: 4px;
}

/* Testimonial Summary - Catatan kecil di bawah kartu, tanpa background */
.testimonials-summary {
  margin: 0;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  text-align: left;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.testimonials-summary .summary-rating {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--clay);
  line-height: 1.2;
}
.testimonials-summary .summary-rating-star {
  font-size: 0.7em;
  color: var(--taupe);
  font-weight: 500;
  margin-left: 4px;
}
.testimonials-summary .summary-label {
  font-size: 0.78rem;
  color: var(--taupe);
  font-weight: 500;
  letter-spacing: 0.3px;
  line-height: 1.3;
}
.testimonials-summary .summary-text {
  display: none;
}

@media (max-width: 700px) {
  .testimonials-section { padding: 32px 24px; }
  .testimonial-card-new { flex: 0 0 85%; }
  .testimonials-summary .summary-rating { font-size: 1.1rem; }
  .testimonials-summary .summary-label { font-size: 0.72rem; }
}

/* ===== BOOKING GUIDE (Popup Booking) ===== */
.booking-modal-custom {
  max-height: auto !important;
  height: auto !important;
  min-height: 400px;
}

.booking-guide {
  margin-top: 24px;
  padding: 24px;
  background: linear-gradient(145deg, #FEFAF5 0%, #F4EFEA 100%);
  border-radius: 24px;
  border: 1px solid #EFE6DC;
  text-align: center;
  transition: all 0.3s ease;
}

.booking-guide-icon {
  width: 64px;
  height: 64px;
  background: var(--clay);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 28px;
  color: white;
}

.booking-guide h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--warm-brown);
  margin-bottom: 12px;
}

.booking-guide p {
  font-size: 0.9rem;
  color: #4A3E36;
  line-height: 1.6;
  margin-bottom: 20px;
}

.booking-guide-features {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.booking-guide-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--warm-brown);
  font-weight: 600;
}

.booking-guide-feature i {
  color: var(--clay);
  font-size: 1.1rem;
}

/* Hide guide when service is selected */
.booking-guide.hidden {
  display: none;
}

/* ===== ARTICLE SECTION ===== */
.articles-section { margin: 60px 0 40px; }
.articles-header { text-align: center; margin-bottom: 32px; }
.articles-subtitle {
  color: var(--taupe);
  font-size: 0.95rem;
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.6;
}
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}
.article-card {
  background: white;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid #F0E7DE;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}
.article-card:hover {
  transform: translateY(-6px);
  border-color: var(--clay);
  box-shadow: 0 15px 30px -10px rgba(200, 122, 90, 0.15);
}
.article-image-wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  overflow: hidden;
  background: #EFE6DC;
}
.article-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.article-card:hover .article-image { transform: scale(1.05); }
.article-category-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--clay);
  color: white;
  padding: 4px 12px;
  border-radius: 40px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 2;
}
.article-content-card {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.article-meta-row {
  display: flex;
  gap: 12px;
  font-size: 0.75rem;
  color: var(--taupe);
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.article-meta-item-small {
  display: flex;
  align-items: center;
  gap: 4px;
}
.article-card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--warm-brown);
  line-height: 1.3;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.article-card-desc {
  font-size: 0.85rem;
  color: #4A3E36;
  line-height: 1.5;
  margin-bottom: 16px;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.article-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--clay);
  font-weight: 600;
  font-size: 0.85rem;
  transition: gap 0.2s;
}
.article-card:hover .article-read-more { gap: 10px; }
.articles-cta { text-align: center; }
.articles-view-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--clay);
  border: 2px solid var(--clay);
  padding: 12px 28px;
  border-radius: 40px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}
.articles-view-all:hover {
  background: var(--clay);
  color: white;
}
.articles-loading, .articles-empty {
  text-align: center;
  padding: 40px 20px;
  color: var(--taupe);
  font-size: 0.9rem;
}
.articles-loading i {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: var(--clay);
  animation: spin 1s linear infinite;
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@media (max-width: 900px) {
  .articles-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .articles-grid { grid-template-columns: 1fr; gap: 20px; }
  .article-card-title { font-size: 1.15rem; }
}

.footer {
  background: #2E2A27;
  color: #D9CFC5;
  padding: 48px 0 28px;
  margin-top: 50px;
  border-radius: 48px 48px 0 0;
}
.footer-nav {
  margin-bottom: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 20px;
}
.footer-nav a, .footer-nav button {
  background: none;
  border: none;
  color: #D9CFC5;
  text-decoration: none;
  font-weight: 500;
  transition: 0.2s;
  font-size: 0.9rem;
  cursor: pointer;
}
.footer-nav a:hover, .footer-nav button:hover { color: var(--clay); }
.footer-main {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  margin-bottom: 30px;
}
.footer-brand { display: flex; flex-direction: column; gap: 24px; }
.footer-contact {
  padding-top: 20px;
}
.footer-contact h4 { color: white; margin-bottom: 12px; font-size: 1.1rem; }
.footer-contact p { font-size: 0.85rem; margin-bottom: 6px; }
.footer-contact a { color: var(--clay); text-decoration: none; }
.footer-contact a:hover { text-decoration: underline; }
.footer-area { display: flex; flex-direction: column; }
.footer-area h4 { color: white; margin-bottom: 16px; font-size: 1.1rem; }
.area-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.area-grid ul { list-style: none; }
.area-grid li { margin-bottom: 8px; font-size: 0.85rem; }
.area-grid strong { color: white; font-weight: 700; }
.footer-links {
  display: flex;
  gap: 24px;
  justify-content: center;
  margin: 20px 0;
  flex-wrap: wrap;
}
.footer-links button {
  background: none;
  border: none;
  color: var(--clay);
  cursor: pointer;
  font-size: 0.85rem;
}
hr { margin: 20px 0 20px; border-color: #4A3E36; }
.copyright { text-align: center; font-size: 0.8rem; }

@media (max-width: 800px) {
  .footer-main { grid-template-columns: 1fr; gap: 32px; }
  .area-grid { grid-template-columns: 1fr; }
  .container { padding: 0 20px; }
  .navbar { padding: 16px 24px; }
  .testimonials-section { padding: 32px 24px; }
  .footer-nav { gap: 16px; }
}

/* Modal Popup */
.modal-popup {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(5px);
  z-index: 2000;
  justify-content: center;
  align-items: center;
}
.modal-popup-content {
  background: white;
  max-width: 700px;
  width: 90%;
  max-height: 85vh;
  height: auto;
  overflow-y: auto;
  padding: 28px;
  border-radius: 40px;
  position: relative;
  display: flex;
  flex-direction: column;
}
.modal-popup-content h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  color: var(--warm-brown);
  margin-bottom: 20px;
  text-align: center;
  flex-shrink: 0;
}
.modal-popup-content .close-popup {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 28px;
  cursor: pointer;
  color: var(--taupe);
  z-index: 10;
}
.modal-popup-content .close-popup:hover { color: var(--clay); }
.modal-popup-content p { margin-bottom: 16px; line-height: 1.6; }
.modal-popup-content ul, .modal-popup-content ol { margin: 12px 0 16px 20px; }
.modal-popup-content li { margin-bottom: 8px; }

/* Custom Scrollbar untuk Modal Popup */
.modal-popup-content::-webkit-scrollbar {
  width: 8px;
}
.modal-popup-content::-webkit-scrollbar-track {
  background: #F4EFEA;
  border-radius: 10px;
}
.modal-popup-content::-webkit-scrollbar-thumb {
  background: #C87A5A;
  border-radius: 10px;
}
.modal-popup-content::-webkit-scrollbar-thumb:hover {
  background: #B05E3E;
}

.step-list { margin: 20px 0; padding-left: 20px; }
.step-list li { margin-bottom: 15px; line-height: 1.5; }
.step-list li strong { color: var(--clay); }
.chat-admin-btn {
  display: inline-block;
  background: var(--clay);
  color: white;
  padding: 12px 24px;
  border-radius: 40px;
  text-decoration: none;
  font-weight: 600;
  margin-top: 20px;
  transition: 0.2s;
}
.chat-admin-btn:hover {
  background: var(--clay-dark);
  transform: translateY(-2px);
}

.service-selector {
  width: 100%;
  padding: 12px;
  margin-bottom: 20px;
  border-radius: 40px;
  border: 1px solid #E6DCD2;
  font-family: inherit;
  font-size: 1rem;
}
.service-detail { margin: 20px 0; padding: 15px; background: #FEFAF5; border-radius: 24px; }
.service-full-desc { font-size: 0.95rem; line-height: 1.5; color: #4A3E36; margin-bottom: 12px; }
.duration-selector {
  width: 100%;
  padding: 12px;
  margin: 15px 0;
  border-radius: 40px;
  border: 1px solid #E6DCD2;
  font-family: inherit;
}
.service-price { font-size: 1.2rem; font-weight: bold; color: var(--clay); margin: 10px 0; }
.book-now-btn {
  background: var(--clay);
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 40px;
  font-weight: bold;
  cursor: pointer;
  width: 100%;
  transition: 0.2s;
}
.book-now-btn:hover { background: var(--clay-dark); }

.service-list-item { border-bottom: 1px solid #EFE6DC; padding: 20px 0; margin-bottom: 10px; }
.service-list-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--warm-brown);
  margin-bottom: 8px;
}
.service-list-desc { font-size: 0.9rem; color: #4A3E36; margin-bottom: 12px; line-height: 1.5; }
.service-list-benefits { margin: 8px 0; padding-left: 20px; }
.service-list-benefits li { font-size: 0.85rem; color: var(--clay); margin-bottom: 4px; }
.service-list-durations { margin-top: 10px; display: flex; gap: 12px; flex-wrap: wrap; }
.service-list-durations span {
  background: #F4EFEA;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  color: var(--warm-brown);
}

.testimoni-list-item { border-bottom: 1px solid #EFE6DC; padding: 16px 0; }
.testimoni-list-item .stars {
  color: #E4A343;
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: 6px;
}
.testimoni-list-item p {
  font-size: 0.9rem;
  line-height: 1.4;
  color: #4A3E36;
  margin-bottom: 6px;
  font-style: italic;
}
.testimoni-list-item h4 { font-size: 0.85rem; font-weight: 600; color: var(--warm-brown); }
.package-list-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid #EFE6DC;
  flex-wrap: wrap;
  gap: 10px;
}
.package-list-name { font-weight: 700; color: var(--warm-brown); }
.package-list-desc { color: var(--taupe); font-size: 0.85rem; flex: 1; margin-left: 16px; }
.package-list-price { font-weight: 800; color: var(--clay); }

.booking-modal {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  z-index: 1001;
  justify-content: center;
  align-items: center;
}
.booking-modal-content {
  background: white;
  max-width: 450px;
  width: 90%;
  padding: 28px;
  border-radius: 40px;
  position: relative;
  box-shadow: 0 20px 30px -10px rgba(0,0,0,0.2);
  max-height: 85vh;
  height: 85vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

/* Custom Scrollbar untuk Booking Modal */
.booking-modal-content::-webkit-scrollbar {
  width: 8px;
}
.booking-modal-content::-webkit-scrollbar-track {
  background: #F4EFEA;
  border-radius: 10px;
}
.booking-modal-content::-webkit-scrollbar-thumb {
  background: #C87A5A;
  border-radius: 10px;
}
.booking-modal-content::-webkit-scrollbar-thumb:hover {
  background: #B05E3E;
}

.close-modal {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 28px;
  cursor: pointer;
  color: #8B7A6B;
  z-index: 10;
}
.close-modal:hover { color: #C87A5A; }
.booking-modal-content h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: #5E4B3C;
  text-align: center;
  padding-right: 24px;
  flex-shrink: 0;
}
.booking-summary {
  background: #FEFAF5;
  padding: 12px 16px;
  border-radius: 24px;
  margin-bottom: 20px;
  font-size: 0.85rem;
  border: 1px solid #EFE6DC;
  flex-shrink: 0;
  max-height: 40vh;
  overflow-y: auto;
}

/* Custom Scrollbar untuk Booking Summary */
.booking-summary::-webkit-scrollbar {
  width: 6px;
}
.booking-summary::-webkit-scrollbar-track {
  background: #F4EFEA;
  border-radius: 10px;
}
.booking-summary::-webkit-scrollbar-thumb {
  background: #C87A5A;
  border-radius: 10px;
}
.booking-summary::-webkit-scrollbar-thumb:hover {
  background: #B05E3E;
}

.booking-summary p { margin: 4px 0; }
.booking-summary strong { color: var(--clay); }
.booking-form-group { margin-bottom: 16px; }
.place-type-dropdown {
  width: 100%;
  padding: 12px 16px;
  border-radius: 40px;
  border: 1px solid #E6DCD2;
  background: white;
  font-family: inherit;
  font-size: 0.95rem;
}
.booking-modal-content input,
.booking-modal-content select,
.booking-modal-content input[type="date"],
.booking-modal-content input[type="time"] {
  width: 100%;
  padding: 12px 16px;
  font-size: 0.95rem;
  border-radius: 40px;
  border: 1px solid #E6DCD2;
  background: white;
  font-family: inherit;
  box-sizing: border-box;
  margin: 0;
  height: auto;
  line-height: normal;
}
.booking-modal-content input.error,
.booking-modal-content select.error {
  border-color: #e74c3c;
  background-color: #fef0f0;
}
.error-message {
  color: #e74c3c;
  font-size: 0.8rem;
  margin-top: 4px;
  display: none;
}
.error-message.show { display: block; }
#modalWilayahManual { margin-top: 0; }
.datetime-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.datetime-row .booking-form-group {
  flex: 1;
  margin-bottom: 0;
  min-width: 0;
}
.datetime-row .booking-form-group:first-child { flex: 2; }
.datetime-row .booking-form-group:last-child { flex: 1; }
.datetime-row select { width: 100%; margin: 0; }
@media (max-width: 500px) {
  .datetime-row { flex-direction: column; gap: 12px; }
  .datetime-row .booking-form-group:first-child,
  .datetime-row .booking-form-group:last-child { flex: 1; }
  .booking-modal-content {
    padding: 20px;
    border-radius: 28px;
    max-height: 90vh;
    height: 90vh;
    width: 95%;
  }
  .booking-summary {
    max-height: 35vh;
  }
}
.booking-buttons {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: auto;
  padding-top: 16px;
  flex-shrink: 0;
}
.booking-buttons button {
  padding: 10px 24px;
  border-radius: 40px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: 0.2s;
}
.booking-buttons .btn-cancel { background: #F0E7DE; color: #2E2A27; }
.booking-buttons .btn-send { background: #C87A5A; color: white; }
.booking-buttons button:hover { transform: translateY(-2px); }
.booking-buttons .btn-send:hover { background: #B05E3E; }

.modal-detail {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  z-index: 1001;
  justify-content: center;
  align-items: center;
}
.modal-detail-content {
  background: white;
  max-width: 480px;
  width: 90%;
  padding: 28px;
  border-radius: 40px;
  max-height: 85vh;
  height: 85vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

/* Custom Scrollbar untuk Modal Detail */
.modal-detail-content::-webkit-scrollbar {
  width: 8px;
}
.modal-detail-content::-webkit-scrollbar-track {
  background: #F4EFEA;
  border-radius: 10px;
}
.modal-detail-content::-webkit-scrollbar-thumb {
  background: #C87A5A;
  border-radius: 10px;
}
.modal-detail-content::-webkit-scrollbar-thumb:hover {
  background: #B05E3E;
}

.detail-durations { margin: 18px 0; flex-grow: 1; }
.detail-duration-item {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #EFE6DC;
}
.close-detail {
  background: var(--clay);
  color: white;
  border: none;
  padding: 8px 20px;
  border-radius: 40px;
  margin-top: 14px;
  cursor: pointer;
  flex-shrink: 0;
}

#dynamicFieldGroup { display: none; }

/* ===== INSTALL BANNER PWA ===== */
.install-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(150%);
  background: white;
  border-radius: 24px;
  padding: 16px 20px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 420px;
  width: calc(100% - 32px);
  z-index: 999;
  border: 1px solid #EFE6DC;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.install-banner.show { transform: translateX(-50%) translateY(0); }
.install-banner-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #C87A5A 0%, #B05E3E 100%);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 22px;
  flex-shrink: 0;
}
.install-banner-content { flex: 1; min-width: 0; }
.install-banner-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--warm-brown);
  margin-bottom: 2px;
}
.install-banner-desc {
  font-size: 0.78rem;
  color: var(--taupe);
  line-height: 1.3;
}
.install-banner-buttons { display: flex; gap: 8px; flex-shrink: 0; }
.install-btn {
  background: var(--clay);
  color: white;
  border: none;
  padding: 10px 18px;
  border-radius: 40px;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: 0.2s;
  white-space: nowrap;
}
.install-btn:hover {
  background: var(--clay-dark);
  transform: translateY(-2px);
}
.install-dismiss {
  background: #F0E7DE;
  color: var(--warm-brown);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.2s;
}
.install-dismiss:hover { background: #E6DCD2; }

/* iOS Instructions Modal */
.ios-modal {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(5px);
  z-index: 2001;
  justify-content: center;
  align-items: center;
  padding: 20px;
}
.ios-modal.show { display: flex; }
.ios-modal-content {
  background: white;
  border-radius: 32px;
  padding: 28px 24px;
  max-width: 380px;
  width: 100%;
  text-align: center;
  max-height: 85vh;
  overflow-y: auto;
}

/* Custom Scrollbar untuk iOS Modal */
.ios-modal-content::-webkit-scrollbar {
  width: 8px;
}
.ios-modal-content::-webkit-scrollbar-track {
  background: #F4EFEA;
  border-radius: 10px;
}
.ios-modal-content::-webkit-scrollbar-thumb {
  background: #C87A5A;
  border-radius: 10px;
}
.ios-modal-content::-webkit-scrollbar-thumb:hover {
  background: #B05E3E;
}

.ios-modal-content h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  color: var(--warm-brown);
  margin-bottom: 8px;
}
.ios-modal-content .subtitle {
  font-size: 0.85rem;
  color: var(--taupe);
  margin-bottom: 20px;
}
.ios-steps { text-align: left; margin: 20px 0; }
.ios-step {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #EFE6DC;
}
.ios-step:last-child { border-bottom: none; }
.ios-step-num {
  width: 28px;
  height: 28px;
  background: var(--clay);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.ios-step-text {
  font-size: 0.88rem;
  color: #4A3E36;
  line-height: 1.4;
}
.ios-step-text strong { color: var(--warm-brown); }
.ios-icon-demo {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #F4EFEA;
  padding: 2px 8px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.85rem;
}
.ios-close {
  background: var(--clay);
  color: white;
  border: none;
  padding: 12px 28px;
  border-radius: 40px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 12px;
  width: 100%;
  font-size: 0.9rem;
}
@media (max-width: 480px) {
  .install-banner { padding: 14px 16px; gap: 10px; }
  .install-banner-icon { width: 42px; height: 42px; font-size: 20px; }
  .install-banner-title { font-size: 0.88rem; }
  .install-banner-desc { font-size: 0.72rem; }
  .install-btn { padding: 9px 14px; font-size: 0.8rem; }
}

/* ===== PWA SAFE AREA FIX ===== */
@media all and (display-mode: standalone) {
  .navbar { padding-top: calc(20px + env(safe-area-inset-top, 0px)); }
  .nav-links-mobile { top: calc(80px + env(safe-area-inset-top, 0px)); }
}
@supports (padding-top: env(safe-area-inset-top)) {
  .navbar { padding-top: calc(20px + env(safe-area-inset-top, 0px)); }
  .nav-links-mobile { top: calc(80px + env(safe-area-inset-top, 0px)); }
  .footer { padding-bottom: calc(28px + env(safe-area-inset-bottom, 0px)); }
  .install-banner { bottom: calc(20px + env(safe-area-inset-bottom, 0px)); }
}
@media all and (display-mode: standalone) {
  @supports not (padding-top: env(safe-area-inset-top)) {
    .navbar { padding-top: 44px; }
    .nav-links-mobile { top: 104px; }
    .footer { padding-bottom: 48px; }
    .install-banner { bottom: 40px; }
  }
}