/* Additional styles for SEO-enhanced templates */

/* Pillar Page */
.pillar-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark, #1a5632) 100%);
  color: white;
  padding: 120px 0 60px;
  text-align: center;
}
.pillar-hero .pillar-title {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}
.pillar-hero .pillar-subtitle {
  font-size: 1.2rem;
  opacity: 0.9;
}
.pillar-content {
  padding: 60px 0;
}
.pillar-text {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
}
.pillar-text p { margin-bottom: 1.5rem; }

/* Comparison Table */
.comparison-table-section {
  padding: 60px 0;
  background: var(--gray-50, #f8f9fa);
}
.comparison-table-wrap {
  overflow-x: auto;
  margin-top: 2rem;
}
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.comparison-table th,
.comparison-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--gray-100, #eee);
}
.comparison-table th {
  background: var(--primary, #2e7d51);
  color: white;
  font-weight: 600;
  white-space: nowrap;
}
.comparison-table tr:hover { background: var(--gray-50, #f8f9fa); }
.comparison-table .table-desc {
  font-size: 0.85rem;
  color: var(--gray-500, #6c757d);
  margin: 4px 0 0;
}
.price-badge {
  display: inline-block;
  background: var(--primary, #2e7d51);
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.9rem;
}
.price-note {
  display: block;
  color: var(--gray-500, #6c757d);
  font-size: 0.75rem;
  margin-top: 2px;
}

/* FAQ Accordion — single consistent design used across all pages.
   Class-toggle driven (no JS plugin dependency), smooth max-height transition. */
.faq-list .faq-item,
.package-faq .faq-item {
  border: 1px solid var(--gray-100, #eee);
  border-radius: 12px;
  margin-bottom: 12px;
  background: #fff;
  overflow: hidden;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.faq-list .faq-item:hover,
.package-faq .faq-item:hover {
  box-shadow: 0 4px 14px rgba(0,0,0,0.06);
}
.faq-list .faq-item.active,
.package-faq .faq-item.active {
  border-color: var(--primary, #ff6b35);
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}
.faq-list .faq-question,
.package-faq .faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 18px 20px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.02rem;
  font-weight: 600;
  text-align: left;
  color: var(--gray-800, #1f2937);
  gap: 16px;
}
.faq-list .faq-question:hover,
.package-faq .faq-question:hover {
  color: var(--primary, #ff6b35);
}
.faq-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f3f4f6;
  color: #6b7280;
  font-size: 18px;
  line-height: 1;
  flex-shrink: 0;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}
.faq-item.active .faq-icon {
  transform: rotate(45deg);
  background: var(--primary, #ff6b35);
  color: #fff;
}
.faq-list .faq-answer,
.package-faq .faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  color: var(--gray-600, #6b7280);
  line-height: 1.7;
  transition: max-height 0.35s ease, padding 0.35s ease;
}
.faq-item.active .faq-answer {
  max-height: 600px;
  padding: 0 20px 20px;
}

/* Internal Links (Related Packages) */
.package-related {
  padding: 40px 0;
  border-top: 1px solid var(--gray-100, #eee);
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 1.5rem;
}
.related-card {
  border: 1px solid var(--gray-100, #eee);
  border-radius: 12px;
  overflow: hidden;
  transition: box-shadow 0.3s;
}
.related-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}
.related-image img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}
.related-info {
  padding: 12px 16px;
}
.related-info h3 {
  font-size: 0.95rem;
  margin-bottom: 4px;
}
.related-info a {
  text-decoration: none;
  color: var(--gray-800, #343a40);
}
.related-price {
  color: var(--primary, #2e7d51);
  font-weight: 600;
}

/* Package CTA */
.package-cta {
  text-align: center;
  padding: 40px 0;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark, #1a5632) 100%);
  color: white;
  text-align: center;
  padding: 60px 0;
}
.cta-section h2 { margin-bottom: 0.5rem; }
.cta-section p { opacity: 0.9; margin-bottom: 1.5rem; }

/* Button Variants */
.btn-sm { padding: 8px 16px; font-size: 0.85rem; }
.btn-lg { padding: 14px 32px; font-size: 1.1rem; }
.btn-outline {
  background: transparent;
  border: 2px solid var(--primary, #2e7d51);
  color: var(--primary, #2e7d51);
  padding: 10px 24px;
  border-radius: 8px;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s;
}
.btn-outline:hover {
  background: var(--primary, #2e7d51);
  color: white;
}
/* Light variant — for use on dark/photo backgrounds like the hero,
   where the dark-green .btn-outline above would be nearly invisible. */
.btn-outline-light {
  background: transparent;
  border: 2px solid rgba(255,255,255,.7);
  color: #fff;
  padding: 10px 24px;
  border-radius: 8px;
  text-decoration: none;
  display: inline-block;
  font-weight: 600;
  transition: all 0.3s;
}
.btn-outline-light:hover {
  background: #fff;
  color: var(--primary, #2e7d51);
  border-color: #fff;
}
/* FAQ Accordion — minimal style: thin separators, rotating chevron, no card boxes */
.faq-list .faq-item,
.package-faq .faq-item {
  border: none;
  border-bottom: 1px solid var(--gray-100, #e5e7eb);
  border-radius: 0;
  margin-bottom: 0;
  background: transparent;
  box-shadow: none !important;
}
.faq-list .faq-item:last-child,
.package-faq .faq-item:last-child {
  border-bottom: none;
}
.faq-list .faq-question,
.package-faq .faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 22px 4px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.08rem;
  font-weight: 600;
  text-align: left;
  color: var(--gray-800, #1f2937);
  gap: 16px;
}
.faq-list .faq-question:hover,
.package-faq .faq-question:hover {
  color: var(--primary, #ff6b35);
}
.faq-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  font-size: 20px;
  font-weight: 400;
  color: #9ca3af;
  transform: rotate(90deg);
  transition: transform 0.3s ease, color 0.3s ease;
}
.faq-item.active .faq-icon {
  transform: rotate(-90deg);
  color: var(--primary, #ff6b35);
}
.faq-list .faq-answer,
.package-faq .faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 4px;
  color: var(--gray-600, #6b7280);
  line-height: 1.75;
  transition: max-height 0.35s ease, padding 0.35s ease;
}
.faq-item.active .faq-answer {
  max-height: 600px;
  padding: 0 4px 22px;
}

/* ================= Hero carousel ================= */
.hero-section {
  position: relative;
  overflow: hidden;
}
.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.4s ease, transform 6s ease;
}
.hero-slide.active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(135deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.35) 55%, rgba(0,0,0,.6) 100%);
}
.hero-section .container { position: relative; z-index: 3; }
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.4);
  background: rgba(0,0,0,.25);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease;
}
.hero-arrow:hover { background: rgba(0,0,0,.5); }
.hero-arrow-prev { left: 20px; }
.hero-arrow-next { right: 20px; }
.hero-dots {
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  gap: 8px;
}
.hero-dot {
  position: relative;
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-dot::after {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.45);
  transition: background 0.25s ease, width 0.25s ease;
}
.hero-dot.active::after {
  background: #fff;
  width: 22px;
  border-radius: 4px;
}
@media (max-width: 640px) {
  .hero-arrow { display: none; }
}

/* Hero buttons — clearer hierarchy and touch-friendly sizing */
.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 8px;
}
.btn-lg {
  padding: 16px 32px;
  font-size: 1.05rem;
  border-radius: 10px;
}
.btn-whatsapp {
  box-shadow: 0 8px 24px rgba(37,211,102,.35);
}
.btn-outline-light {
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(4px);
}

/* ================= Category filter pills ================= */
.category-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 32px;
}
.filter-pill {
  padding: 9px 20px;
  border-radius: 999px;
  border: 1.5px solid var(--gray-100, #e5e7eb);
  background: #fff;
  color: var(--gray-600, #4b5563);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}
.filter-pill:hover {
  border-color: var(--primary, #ff6b35);
  color: var(--primary, #ff6b35);
}
.filter-pill.active {
  background: var(--primary, #ff6b35);
  border-color: var(--primary, #ff6b35);
  color: #fff;
}

/* ================= Testimonials ================= */
.testimonials { padding: 80px 0; background: var(--gray-50, #f8f9fa); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 32px;
}
.testimonial-card {
  background: #fff;
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 4px 16px rgba(0,0,0,.06);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.testimonial-stars { color: #f59e0b; font-size: 15px; letter-spacing: 2px; }
.testimonial-quote { color: var(--gray-600, #4b5563); line-height: 1.7; flex: 1; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--primary, #ff6b35);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}
.testimonial-author strong { display: block; font-size: 0.95rem; color: var(--gray-800, #1f2937); }
.testimonial-author small { color: var(--gray-500, #9ca3af); font-size: 0.8rem; }

/* ================= Floating WhatsApp button ================= */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 999;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37,211,102,.5);
}
.wa-float::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 3px solid rgba(37,211,102,.4);
  opacity: 0;
  animation: wa-pulse 2.4s ease-out infinite;
  pointer-events: none;
}
.wa-float:hover { background: #1ebd59; }
@keyframes wa-pulse {
  0% { opacity: .6; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.35); }
}

/* ================= Footer social icons ================= */
.footer-social {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 14px;
}
.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.footer-social a:hover { opacity: .75; transform: translateY(-2px); }

/* ================= Non-hero page header offset ================= */
/* .site-header is fixed + 72px tall; pages without a full-bleed hero
   (single package, etc.) need explicit clearance or content renders
   underneath the nav. */
.package-header,
.page-hero,
.pillar-hero,
.about-section {
  padding-top: 110px;
}

/* Split hero used by non-front pages (archive, gallery, faq, about). */
.page-hero {
  background: linear-gradient(135deg, #0f2a1d 0%, #1a5632 60%, #2e7d51 100%);
  color: #fff;
  text-align: center;
  padding-bottom: 54px;
}
.page-hero .page-title {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 8px;
}
.page-hero .page-subtitle {
  color: rgba(255,255,255,.85);
  font-size: clamp(15px, 2.2vw, 18px);
  max-width: 640px;
  margin: 0 auto;
}
.gallery-count {
  display: inline-block;
  margin-top: 18px;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.25);
  font-size: 13px;
  font-weight: 600;
  color: #fff;
}

/* ================= Gallery page: masonry/lightbox ================= */
.gallery-masonry {
  columns: 3 260px;
  column-gap: 16px;
}
.gallery-masonry .gallery-item {
  break-inside: avoid;
  margin-bottom: 16px;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  aspect-ratio: auto;
}
.gallery-masonry .gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform .5s ease;
}
.gallery-masonry .gallery-item:hover img { transform: scale(1.04); }
.gallery-masonry .gallery-overlay {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 34px 14px 12px;
  background: linear-gradient(to top, rgba(0,0,0,.62), transparent);
  color: #fff;
  font-size: .82rem;
  font-weight: 600;
  opacity: 0;
  transition: opacity .3s ease;
}
.gallery-masonry .gallery-item:hover .gallery-overlay { opacity: 1; }
@media (max-width: 560px) {
  .gallery-masonry { columns: 2 150px; column-gap: 10px; }
  .gallery-masonry .gallery-item { margin-bottom: 10px; }
}

.package-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}
.package-tag {
  padding: 5px 14px;
  border-radius: 999px;
  background: #fff1ea;
  color: var(--primary, #ff6b35);
  font-size: 0.78rem;
  font-weight: 700;
}
.package-tag-badge {
  background: var(--primary, #ff6b35);
  color: #fff;
}

.price-cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  background: var(--gray-50, #f8f9fa);
  border: 1px solid var(--gray-100, #e5e7eb);
  border-radius: 16px;
  padding: 22px 26px;
  margin: 24px 0 36px;
}
.price-cta-label {
  display: block;
  font-size: 0.8rem;
  color: var(--gray-500, #9ca3af);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 4px;
}
.price-cta-amount {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--gray-800, #1f2937);
}
.price-cta-amount small {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--gray-500, #9ca3af);
}

.prose-collapsible .is-clamped {
  max-height: 220px;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to bottom, #000 60%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, #000 60%, transparent 100%);
}
.prose-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  background: none;
  border: none;
  color: var(--primary, #ff6b35);
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  padding: 4px 0;
}

.inclusions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin: 24px 0;
}
.inclusion-box {
  border-radius: 14px;
  padding: 22px 24px;
}
.inclusion-yes { background: #f0fdf4; border: 1px solid #bbf7d0; }
.inclusion-no { background: #fef2f2; border: 1px solid #fecaca; }
.inclusion-box h2 { font-size: 1.05rem; margin-bottom: 12px; }
.inclusion-box ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.inclusion-box li { font-size: 0.92rem; line-height: 1.5; color: var(--gray-700, #374151); }
.inclusion-box li strong { display: block; color: var(--gray-800, #1f2937); }
.inclusion-box li span { color: var(--gray-500, #6b7280); font-size: 0.85rem; }

.related-label {
  display: inline-block;
  background: var(--primary, #ff6b35);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 6px;
}

[x-cloak] { display: none !important; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,.92);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.lightbox-img {
  max-width: min(900px, 90vw);
  max-height: 75vh;
  border-radius: 8px;
  object-fit: contain;
}
.lightbox-caption { color: #fff; margin-top: 16px; font-size: 0.95rem; opacity: .8; }
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: #fff;
  font-size: 36px;
  line-height: 1;
  cursor: pointer;
}
.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.4);
  background: rgba(255,255,255,.08);
  color: #fff;
  font-size: 28px;
  cursor: pointer;
}
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

/* ================= Horizontal auto-scroll carousel ================= */
/* Reused for Gallery + Testimonials. Native overflow-x + scroll-snap gives
   free, smooth manual swipe/drag on touch and trackpad; JS just nudges
   scrollLeft on an interval and pauses while the user is interacting. */
.auto-scroll-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  padding: 8px 4px 20px;
  margin-top: 24px;
  scrollbar-width: none;
  cursor: grab;
}
.auto-scroll-track::-webkit-scrollbar { display: none; }
.auto-scroll-track:active { cursor: grabbing; }

.scroll-item {
  flex: 0 0 auto;
  scroll-snap-align: start;
}
.gallery .scroll-item {
  position: relative;
  width: 280px;
  height: 200px;
  border-radius: 14px;
  overflow: hidden;
}
.gallery .scroll-item img { width: 100%; height: 100%; object-fit: cover; }
.scroll-item-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 10px 14px;
  background: linear-gradient(to top, rgba(0,0,0,.65), transparent);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
}
.testimonials .scroll-item {
  width: min(360px, 82vw);
}

/* Safety-net override: guarantee exactly 3 columns on the homepage AND the
   archive packages grid at tablet/desktop widths. Below 768px it's a single
   column (no squeezed 3-up on phones in landscape). */
@media (min-width: 768px) {
  .packages .packages-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

/* Path-add-on line (e.g. ATV boncengan) on package cards. */
.package-addon {
  margin: -12px 0 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-600, #4b5563);
}
.package-addon small {
  font-weight: 500;
  color: var(--gray-500, #9ca3af);
}

/* Empty filter state on the archive page. */
.filter-empty {
  text-align: center;
  padding: 48px 0;
  color: var(--gray-500, #6c757d);
}
.filter-empty p { margin-bottom: 16px; }
[x-cloak] { display: none !important; }

/* While JS is auto-playing a marquee, keep scroll-snap off so the advancing
   scrollLeft never hits a snap point and visibly hitching. Re-enabled for
   manual pointer drag via a non-autoplaying state. */
.auto-scroll-track.autoplaying {
  scroll-snap-type: none;
}

/* ================= Marquee controls (arrows + dots) ================= */
.marquee {
  margin-top: 8px;
}
.marquee-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}
.marquee .auto-scroll-track {
  flex: 1;
  min-width: 0;
}
.marquee-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--gray-200, #e5e7eb);
  background: #fff;
  color: var(--gray-600, #4b5563);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all .25s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
}
.marquee-arrow:hover {
  background: var(--primary, #2e7d51);
  color: #fff;
  border-color: var(--primary, #2e7d51);
}
.marquee-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}
.marquee-dot {
  position: relative;
  width: 44px;
  height: 44px;
  border: none;
  padding: 0;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.marquee-dot::after {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(0,0,0,.18);
  transition: background .25s ease, width .25s ease, border-radius .25s ease;
}
.marquee-dot.active::after {
  background: var(--primary, #2e7d51);
  width: 22px;
  border-radius: 4px;
}
@media (max-width: 640px) {
  .marquee-arrow { display: none; }
  .marquee-dot::after { width: 7px; height: 7px; }
}

/* ================= No-gap safety net before footer ================= */
.content-area, .site-main, #primary, #main {
  margin: 0;
  padding: 0;
}
.site-main > section:last-child { margin-bottom: 0 !important; }
.site-footer { margin-top: 0 !important; }

/* ================= Pillar cross-link card (jeep <-> ATV) ================= */
.pillar-crosslink {
  padding: 48px 0 8px;
}
.crosslink-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  background: linear-gradient(135deg, #0f2a1d 0%, #2e7d51 100%);
  border-radius: 16px;
  padding: 32px 36px;
  color: #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,.14);
}
.crosslink-card h3 {
  font-size: 1.25rem;
  margin-bottom: 6px;
  color: #fff;
}
.crosslink-card p {
  color: rgba(255,255,255,.85);
  line-height: 1.6;
  max-width: 560px;
}
@media (max-width: 640px) {
  .crosslink-card { padding: 26px 22px; text-align: center; justify-content: center; }
}

/* ================= Single package add-on line ================= */
.price-cta-addon {
  margin-top: 4px;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-600, #4b5563);
}
.price-cta-addon small {
  font-weight: 500;
  color: var(--gray-500, #9ca3af);
}

/* ================= Landing page: centered section headers =============== */
#packages > .container > .section-tag,
#galeri > .container > .section-tag,
#tentang > .container > .section-tag,
#testimoni > .container > .section-tag,
#faq > .container > .section-tag {
  display: block;
  width: fit-content;
  margin: 0 auto 16px;
}
#packages > .container > .section-title,
#galeri > .container > .section-title,
#tentang > .container > .section-title,
#testimoni > .container > .section-title,
#faq > .container > .section-title {
  text-align: center;
}

/* About copy on the landing page — centered like the FAQ body. */
.why-us p.about-lead {
  max-width: 820px;
  margin: 0 auto 16px;
  text-align: center;
  color: #4b5563;
  line-height: 1.8;
}

/* ================= About page =========================================== */
.about-section {
  padding: 60px 0 80px;
}
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
  margin: 40px 0 64px;
}
.about-title {
  font-size: clamp(24px, 3.4vw, 32px);
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
  color: #111827;
}
.about-text p {
  color: #4b5563;
  line-height: 1.8;
  margin-bottom: 14px;
}
.about-image img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 10px 32px rgba(0,0,0,.12);
}
.about-values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-bottom: 72px;
}
.value-card {
  background: var(--gray-50, #f8f9fa);
  border-radius: 16px;
  padding: 30px 24px;
  text-align: center;
}
.value-icon {
  font-size: 34px;
  display: block;
  margin-bottom: 12px;
}
.value-card h3 {
  font-size: 1.1rem;
  margin-bottom: 6px;
  color: var(--primary, #2e7d51);
}
.value-card p {
  color: #4b5563;
  line-height: 1.7;
  font-size: .95rem;
}
.about-timeline {
  text-align: center;
  margin-bottom: 64px;
}
.timeline {
  position: relative;
  max-width: 520px;
  margin: 32px auto 0;
  padding-left: 34px;
  text-align: left;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: #e5e7eb;
}
.timeline-item {
  position: relative;
  margin-bottom: 30px;
}
.timeline-dot {
  position: absolute;
  left: -30px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primary, #2e7d51);
}
.timeline-year {
  font-weight: 700;
  color: var(--primary, #2e7d51);
  font-size: .9rem;
  display: inline-block;
  margin-bottom: 4px;
}
.timeline-content h3 {
  font-size: 1.05rem;
  margin-bottom: 2px;
  color: #111827;
}
.timeline-content p {
  color: #4b5563;
  line-height: 1.6;
}
.about-cta {
  text-align: center;
}
.about-cta p {
  margin-bottom: 16px;
  color: #4b5563;
  font-size: 1.05rem;
}
@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-image { order: -1; }
}

/* ================= Package detail: key-facts strip ====================== */
.spec-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin: 6px 0 10px;
}
.spec-chip {
  background: #fff;
  border: 1px solid var(--gray-100, #e5e7eb);
  border-radius: 12px;
  padding: 10px 18px;
  min-width: 128px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,.04);
}
.spec-chip .spec-label {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--gray-500, #9ca3af);
  margin-bottom: 2px;
}
.spec-chip strong {
  font-size: 1rem;
  color: #111827;
}

/* ================= Package detail: article ToC ========================== */
.article-toc {
  background: var(--gray-50, #f8f9fa);
  border: 1px solid var(--gray-100, #e5e7eb);
  border-radius: 12px;
  padding: 18px 20px;
  margin-bottom: 24px;
}
.article-toc-title {
  font-weight: 800;
  font-size: 1rem;
  color: #111827;
  margin-bottom: 10px;
}
.article-toc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  columns: 1;
}
.article-toc-item {
  margin: 6px 0;
  break-inside: avoid;
}
.article-toc-item a {
  color: var(--primary, #2e7d51);
  text-decoration: none;
  font-size: .95rem;
}
.article-toc-item a:hover { text-decoration: underline; }
.article-toc-item.toc-lvl-3 { padding-left: 1.1em; }
@media (min-width: 720px) {
  .article-toc-list { columns: 2; column-gap: 24px; }
}

/* ================= Package detail: prose readability ==================== */
.package-content {
  max-width: 860px;
  margin: 32px auto 0;
}
.package-content,
.route-content,
.package-requirements > div {
  font-size: 1.02rem;
  line-height: 1.85;
  color: #3f4652;
}
.package-content > h2 {
  font-size: 1.5rem;
  margin: 2.2rem 0 .8rem;
  color: #111827;
}
.package-content h3 {
  font-size: 1.22rem;
  margin: 2rem 0 .7rem;
  color: #111827;
}
.package-content h4 {
  font-size: 1.06rem;
  margin: 1.6rem 0 .5rem;
  color: var(--primary, #2e7d51);
  border-left: 3px solid var(--primary, #2e7d51);
  padding-left: 12px;
}
.package-content p { margin: 0 0 1.1rem; }
.package-content ul {
  margin: 0 0 1.2rem;
  padding-left: 1.2rem;
  list-style: none;
}
.package-content ul li {
  position: relative;
  padding-left: 1.65rem;
  margin-bottom: .5rem;
}
.package-content ul li::before {
  content: '✔';
  position: absolute;
  left: 0;
  top: 1px;
  color: var(--primary, #2e7d51);
  font-size: .85rem;
}
.package-content strong { color: #111827; }

/* ================= Package detail: consistent column + headings ========= */
/* Every body section shares the same 860px column as the article so their
   titles, cards and FAQ rows all line up on the same left edge. */
.single-package section h2 {
  font-size: 1.45rem;
  color: #111827;
  margin: 0 0 18px;
}
.price-cta-card,
.spec-strip,
.package-route,
.package-inclusions,
.package-requirements,
.package-map,
.package-related,
.package-faq {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}
/* Drop the base centered 760px box so the FAQ list fills the shared column
   and its left edge lines up with the section title above it. */
.package-faq .faq-list {
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
}

/* ================= Wonderful Indonesia logo (footer) ================= */
.footer-wonderful-logo {
  display: inline-block;
  margin-top: 18px;
  height: 34px;
  width: auto;
  opacity: .92;
}
@media (max-width: 480px) {
  .footer-wonderful-logo { height: 28px; }
}


/* ================= Vertical rhythm consistency (v8.12) =================
   One spacing scale for every full-width section (homepage + inner
   pages). Content sections get the same generous block padding;
   divider/CTA strips a tighter band. Overrides earlier scattered
   paddings (60/80/120px) so rhythm reads even on every template. */
:root {
  --ja-section: clamp(64px, 8vw, 96px);
  --ja-band:    clamp(48px, 5vw, 64px);
}

/* Content sections (homepage + inner/pillar/single) */
.packages,
.gallery,
.why-us,
.faq:not(.package-faq),
.testimonials,
.pillar-content,
.comparison-table-section,
.pillar-faq,
.about-section,
.gallery-page,
.packages-section {
  padding-top: var(--ja-section);
  padding-bottom: var(--ja-section);
}

/* Divider / CTA / crosslink strips — intentionally tighter */
.stats-bar,
.cta-section,
.package-cta,
.pillar-crosslink {
  padding-top: var(--ja-band);
  padding-bottom: var(--ja-band);
}

/* Inner page heroes: keep the fixed-header top offset (already handled by
   the shared .page-hero/.pillar-hero rule), unify the bottom breathing room. */
.pillar-hero {
  padding: 110px 0 var(--ja-section);
}
.page-hero {
  padding-bottom: var(--ja-section);
}

/* About page internal block rhythm */
.about-grid {
  margin: var(--ja-band) 0 var(--ja-section);
}
.about-values {
  margin-bottom: var(--ja-section);
}
.about-timeline {
  margin-bottom: var(--ja-section);
}

/* Reading measure — unify prose columns on one comfortable width */
.pillar-text,
.faq-list,
.about-lead {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Small screens: keep the scale but avoid oversized gutters */
@media (max-width: 767px) {
  .packages,
  .gallery,
  .why-us,
  .faq:not(.package-faq),
  .testimonials,
  .pillar-content,
  .comparison-table-section,
  .pillar-faq,
  .about-section,
  .gallery-page,
  .packages-section {
    padding-top: var(--ja-band);
    padding-bottom: var(--ja-band);
  }
  .pillar-hero {
    padding: 96px 0 var(--ja-band);
  }
}
