/* ============================================
   PACKRAFTING CANDEN — Adventure on the River
   Desa Canden, Bantul, D.I. Yogyakarta
   
   Adventure Outdoor Design System & Stylesheet
   ============================================ */

/* ---- Google Fonts ---- */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@500;600;700;800;900&display=swap');

/* ---- CSS Variables ---- */
:root {
  /* Organic Village & Nature Palette - Packrafting Canden */
  --primary: #1b4332;         /* Deep Forest Pine */
  --primary-light: #2d6a4f;   /* Lush Leaf Green */
  --primary-dark: #122e22;    /* Deep Forest Canopy */
  --primary-50: #f2f7f4;
  --primary-100: #d8e8de;
  --primary-rgb: 27, 67, 50;

  --river: #1a6b85;           /* Clear River Teal (Sungai Opak) */
  --river-light: #38a3a5;     /* Fresh Water Ripple */
  --river-dark: #0f4c5c;      /* Deep River Bed */
  --river-50: #f0f7f9;
  --river-rgb: 26, 107, 133;

  --nature: #2d6a4f;          /* Fresh Village Nature */
  --nature-light: #52b788;
  --nature-dark: #1b4332;     /* Deep Moss Green */
  --nature-50: #f0f7f3;

  --accent: #c85a32;          /* Earthy Terracotta & Raft Warmth */
  --accent-light: #d97706;    /* Sun Gold / Kunyit Jamu */
  --accent-dark: #a8421d;     /* Warm Clay */
  --accent-yellow: #f59e0b;   /* Warm Sunshine */
  --accent-rgb: 200, 90, 50;

  --bg-dark: #14241c;         /* Deep Forest Night */
  --bg-darker: #0d1813;
  --bg-dark-card: #1c3228;

  --white: #ffffff;
  --bg: #faf9f5;              /* Warm Ivory Canvas */
  --bg-alt: #f3f0e8;          /* Warm Riverbank Sand */
  --bg-card: #ffffff;

  --gray-50: #faf9f6;
  --gray-100: #f3f1ec;
  --gray-200: #e6e2d8;
  --gray-300: #d2ccbf;
  --gray-400: #9e9788;
  --gray-500: #736d5f;
  --gray-600: #544f44;
  --gray-700: #3d3931;
  --gray-800: #292621;
  --gray-900: #1a1815;

  --text: #202724;            /* Soft Organic Deep Charcoal */
  --text-light: #526059;      /* Muted Forest Gray */
  --text-lighter: #87968f;
  --text-inverse: #fbfaf7;

  --danger: #dc2626;
  --success: #16a34a;
  --warning: #d97706;

  /* Typography */
  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;

  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-lg: 1.125rem;
  --fs-xl: 1.25rem;
  --fs-2xl: 1.5rem;
  --fs-3xl: 1.875rem;
  --fs-4xl: 2.5rem;
  --fs-5xl: 3.5rem;
  --fs-6xl: 4.5rem;

  /* Spacing */
  --section-py: 5.5rem;
  --container-px: 1.5rem;
  --container-max: 1200px;

  /* Radius - Tegas & Presisi (Ujung tidak terlalu tumpul) */
  --radius-sm: 4px;
  --radius: 6px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --radius-xl: 8px;
  --radius-full: 9999px;

  /* Natural Shadows (No heavy colored glows) */
  --shadow-sm: 0 2px 6px rgba(0,0,0,0.04);
  --shadow: 0 8px 24px rgba(27, 67, 50, 0.06);
  --shadow-md: 0 12px 32px rgba(27, 67, 50, 0.08);
  --shadow-lg: 0 20px 45px rgba(20, 36, 28, 0.12);
  --shadow-accent: 0 8px 20px rgba(200, 90, 50, 0.25);

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition: 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-slow: 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ---- Reset & Base ---- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg);
}

html, body {
  overflow-x: hidden;
  max-width: 100%;
}

/* Mobile Nav Open - Prevent background scroll */
html.menu-open,
body.menu-open {
  overflow: hidden !important;
  overscroll-behavior: none !important;
}

html.modal-open,
body.modal-open {
  overflow: hidden !important;
}

html.menu-open body {
  touch-action: none;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  color: var(--text);
  background-color: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: all var(--transition);
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: var(--font-heading);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--primary-dark);
  line-height: 1.2;
  font-weight: 800;
}

h1 { font-size: clamp(2.5rem, 6vw, var(--fs-5xl)); letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4vw, var(--fs-4xl)); letter-spacing: -0.02em; }
h3 { font-size: var(--fs-2xl); }
h4 { font-size: var(--fs-xl); }
h5 { font-size: var(--fs-lg); }

p {
  margin-bottom: 1rem;
  color: var(--text-light);
}

/* ---- Utility Classes ---- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-px);
}

.section {
  padding: var(--section-py) 0;
  position: relative;
  background: var(--bg);
}

.section-alt {
  background: var(--bg-alt);
}

.section-dark {
  background: var(--bg-dark);
  color: var(--text-inverse);
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: var(--white);
}

.section-dark p {
  color: rgba(255, 255, 255, 0.8);
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

/* Category Eyebrows (Replacing AI capsule pills with editorial village label) */
.badge-tag,
.section-eyebrow {
  display: inline-block;
  padding: 0;
  background: transparent;
  color: var(--nature);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 0.85rem;
  border: none;
  border-radius: 0;
}

.badge-tag-orange {
  color: var(--accent);
}

.section-dark .badge-tag,
.section-dark .section-eyebrow {
  color: var(--nature-light);
}

.section-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.85rem, 3.2vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 0.85rem;
  line-height: 1.25;
}

.section-dark .section-header h2 {
  color: var(--white);
}

.section-header p {
  max-width: 660px;
  margin: 0 auto;
  font-size: var(--fs-base);
  color: var(--text-light);
  line-height: 1.7;
}

.text-center { text-align: center; }
.text-accent { color: var(--accent); }
.text-river { color: var(--river-light); }

/* ---- Buttons (Natural & Grounded) ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.85rem;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--fs-sm);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: all var(--transition);
  cursor: pointer;
  white-space: nowrap;
}

.btn i {
  font-size: 1.1em;
  transition: transform var(--transition-fast);
}

.btn:hover i {
  transform: translateX(3px);
}

.btn-primary {
  background: var(--nature);
  color: #ffffff;
  border: 1px solid var(--nature);
  box-shadow: 0 4px 14px rgba(45, 106, 79, 0.25);
}

.btn-primary:hover {
  background: var(--nature-dark);
  color: #ffffff;
  border-color: var(--nature-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(27, 67, 50, 0.3);
}

.btn-accent {
  background: var(--accent);
  color: var(--white);
  border: 1px solid var(--accent);
  box-shadow: 0 4px 14px rgba(200, 90, 50, 0.25);
}

.btn-accent:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(168, 66, 29, 0.35);
}

.btn-river {
  background: var(--river);
  color: var(--white);
  border: 1px solid var(--river);
  box-shadow: 0 4px 14px rgba(26, 107, 133, 0.25);
}

.btn-river:hover {
  background: var(--river-dark);
  border-color: var(--river-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(15, 76, 92, 0.35);
}

.btn-white {
  background: var(--white);
  color: var(--primary-dark);
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  border: 1px solid rgba(0,0,0,0.06);
}

.btn-white:hover {
  background: var(--bg-alt);
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.7);
  backdrop-filter: blur(8px);
}

.btn-outline-white:hover {
  background: var(--white);
  color: var(--primary-dark);
  border-color: var(--white);
  transform: translateY(-3px);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-3px);
}

.btn-lg {
  padding: 1.1rem 2.5rem;
  font-size: var(--fs-base);
}

.btn-sm {
  padding: 0.55rem 1.25rem;
  font-size: var(--fs-xs);
}

/* .btn-sm is only ~38px tall, and it carries primary actions like
   "Beri Rating Google" and "Buka Google Maps". Keep it tappable on phones
   without changing the desktop look. */
@media (max-width: 768px), (pointer: coarse) {
  .btn-sm {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

/* ---- Navbar ---- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all var(--transition);
  padding: calc(1.25rem + env(safe-area-inset-top, 0px)) 0 1.25rem;
}

.navbar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: env(safe-area-inset-top, 0px);
  background: var(--bg-dark);
  z-index: -1;
  pointer-events: none;
}

.navbar.scrolled {
  background: rgba(250, 253, 251, 0.96);
  padding: calc(0.75rem + env(safe-area-inset-top, 0px)) 0 0.75rem;
  box-shadow: 0 1px 0 rgba(27, 67, 50, 0.14);
  border-bottom: 1px solid rgba(45, 106, 79, 0.12);
}

.navbar.scrolled::before {
  background: #ffffff;
}

.navbar.scrolled .brand-text span:first-child {
  color: var(--primary);
}

.navbar.scrolled .brand-sub {
  color: var(--nature);
}

@media (min-width: 769px) {
  .navbar.scrolled .nav-link {
    color: var(--text) !important;
    background: transparent !important;
  }

  .navbar.scrolled .nav-link.active {
    color: var(--nature) !important;
    font-weight: 800;
  }
}

.navbar.scrolled .nav-toggle:not(.active) span {
  background: var(--text);
}

.navbar.scrolled .nav-toggle.active span {
  background: var(--white);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-brand,
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--white);
  font-weight: 900;
  font-size: var(--fs-xl);
  letter-spacing: -0.01em;
  text-decoration: none;
  transition: opacity var(--transition);
}

.nav-brand:hover,
.navbar-brand:hover {
  opacity: 0.92;
}

/* Brand Square Logo (Navbar & Badges) */
.brand-logo-square {
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.35));
  transition: transform var(--transition);
  flex-shrink: 0;
}

.nav-brand:hover .brand-logo-square,
.navbar-brand:hover .brand-logo-square {
  transform: scale(1.06);
}

/* Brand Horizontal Logo (Wide Headers & Sections) */
.brand-logo-horizontal {
  height: 48px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.35));
  transition: transform var(--transition);
  display: block;
}

.nav-brand:hover .brand-logo-horizontal,
.navbar-brand:hover .brand-logo-horizontal {
  transform: scale(1.04);
}

.brand-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--river-light) 100%);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.2rem;
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.35);
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-sub {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--river-light);
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

/* Footer Brand Logo */
.footer-logo-horizontal {
  height: 60px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  margin-bottom: 1.1rem;
  display: block;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
  transition: transform var(--transition);
}

.footer-logo-horizontal:hover {
  transform: translateY(-2px);
}

.footer-logo-square {
  width: 52px;
  height: 52px;
  object-fit: contain;
  margin-bottom: 0.75rem;
  display: block;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
}

/* Intro Section Logo Display */
.intro-logo-display {
  width: 140px;
  height: 140px;
  object-fit: contain;
  margin-bottom: 1.25rem;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.45));
  transition: transform var(--transition);
}

.intro-media:hover .intro-logo-display {
  transform: scale(1.05);
}

/* ---- Navbar Menu ---- */
.nav-menu {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

@media (min-width: 769px) {
  .nav-menu {
    padding: 0;
    transition: color 0.2s ease;
    flex-shrink: 0;
  }

  .navbar.scrolled .nav-menu {
    background: transparent;
  }

  .nav-indicator {
    display: none;
  }

  .nav-menu li {
    display: inline-flex;
    margin: 0;
  }

  .nav-link {
    position: relative;
    z-index: 2;
    color: rgba(255, 255, 255, 0.88);
    font-family: var(--font-heading);
    font-size: var(--fs-sm);
    font-weight: 700;
    padding: 0.35rem 0.7rem;
    border-radius: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background: transparent !important;
    transition: color 0.25s ease;
    white-space: nowrap;
  }

  .nav-link:hover,
  .nav-link.active {
    color: var(--white) !important;
    background: transparent !important;
  }
}

/* Greenish Scroll Progress Line at Bottom of Navbar */
.nav-scroll-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: var(--nature);
  opacity: 0;
  transition: opacity 0.3s ease, width 0.08s linear;
  pointer-events: none;
}

.navbar.scrolled .nav-scroll-progress {
  opacity: 1;
}

/* ---- Language Switcher & Nav Actions ---- */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: 0.75rem;
}

.lang-switcher {
  display: inline-flex;
  align-items: center;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  padding: 2px;
  transition: border-color 0.2s ease;
  user-select: none;
}

.navbar.scrolled .lang-switcher {
  background: transparent;
  border-color: rgba(45, 106, 79, 0.3);
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  /* min-height/min-width keeps the switcher tappable; it was only ~21px tall. */
  padding: 0.28rem 0.65rem;
  min-height: 44px;
  min-width: 44px;
  justify-content: center;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.88);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease;
  line-height: 1;
}

.navbar.scrolled .lang-btn {
  color: var(--text-light);
}

.lang-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
}

.navbar.scrolled .lang-btn:hover {
  color: var(--nature);
  background: rgba(45, 106, 79, 0.08);
}

.lang-btn.active {
  background: var(--nature) !important;
  color: #ffffff !important;
}

.lang-flag {
  font-size: 0.95rem;
  line-height: 1;
}

.lang-code {
  letter-spacing: 0.04em;
  font-size: 0.72rem;
  font-weight: 800;
}

@media (max-width: 480px) {
  .lang-btn {
    padding: 0.22rem 0.45rem;
    font-size: 0.7rem;
    gap: 0.2rem;
  }
  .lang-flag {
    font-size: 0.85rem;
  }
}

.nav-toggle {
  display: none;
  /* 44x44 hit area; the bars stay 26px wide so the look is unchanged. */
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

.nav-toggle span {
  width: 26px;
  height: 2.5px;
  background: var(--white);
  border-radius: 3px;
  transition: all var(--transition);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}
.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  z-index: 998;
}

/* The navbar uses backdrop-filter, which makes it the containing block for its
   position:fixed descendants. That collapsed .nav-overlay (inset:0) to the ~74px
   navbar strip instead of the full viewport, so the dimmed backdrop behind the
   open drawer did not cover the screen. Drop the filter while the menu is open;
   the navbar background is already 95% opaque, so nothing looks different. */
html.menu-open .navbar,
body.menu-open .navbar {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

/* ---- HERO SECTION ---- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding-top: calc(5rem + env(safe-area-inset-top, 0px));
  padding-bottom: calc(2.5rem + env(safe-area-inset-bottom, 0px));
  overflow: hidden;
  background: var(--bg-dark);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-slider {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.hero-slider-track {
  display: flex;
  height: 100%;
  width: 100%;
  transition: transform 0.85s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.hero-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.hero-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  filter: brightness(0.85);
  display: block;
}

.hero-slider-dots {
  position: absolute;
  bottom: 2.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.hero-dot {
  /* 10px visual dot (drawn by ::after) inside a 44px tap area: the dots were
     almost impossible to hit accurately on a phone. */
  width: 10px;
  height: 10px;
  min-width: 44px;
  min-height: 44px;
  background: none;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-dot::after {
  content: '';
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.7);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-dot:hover::after {
  background: rgba(255, 255, 255, 0.85);
  transform: scale(1.2);
}

.hero-dot.active {
  width: 28px;
  min-width: 44px;
  border-radius: 999px;
  background: none;
  border: none;
  box-shadow: none;
}

.hero-dot.active::after {
  width: 28px;
  background: #ea580c;
  border-color: #ea580c;
  box-shadow: 0 0 12px rgba(234, 88, 12, 0.7);
}

.hero-slide-art {
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 80% 20%, rgba(18, 123, 221, 0.35) 0%, transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(255, 84, 2, 0.28) 0%, transparent 45%),
    radial-gradient(circle at 50% 50%, rgba(40, 190, 108, 0.15) 0%, transparent 60%),
    linear-gradient(135deg, #030f1c 0%, #073860 45%, #0756a0 75%, #051a2d 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-slide-art::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23000000' fill-opacity='0.25' d='M0,192L48,197.3C96,203,192,213,288,208C384,203,480,181,576,181.3C672,181,768,203,864,202.7C960,203,1056,181,1152,165.3C1248,149,1344,139,1392,133.3L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E") no-repeat bottom;
  background-size: cover;
  opacity: 0.6;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(14, 30, 22, 0.4) 0%,
    rgba(14, 30, 22, 0.62) 50%,
    rgba(20, 36, 28, 0.95) 100%
  );
  z-index: 2;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 820px;
  color: var(--white);
  padding: 3rem 0;
}

.hero-location {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 0.45rem 1.15rem;
  border-radius: var(--radius-full);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  max-width: 100%;
  line-height: 1.45;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.hero-location i {
  flex-shrink: 0;
  color: var(--accent-light);
}

.hero-location span {
  display: inline;
}

.hero-title {
  color: var(--white);
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: -0.03em;
}

.hero-title span {
  color: #f59e0b;
  -webkit-text-fill-color: initial;
  background: none;
}

.hero-sub {
  font-size: clamp(1.05rem, 2.5vw, 1.4rem);
  font-weight: 700;
  color: #e2e8f0;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 1.25rem;
  display: block;
}

.hero-lead {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: rgba(255,255,255,0.9);
  line-height: 1.8;
  margin-bottom: 2.5rem;
  max-width: 680px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.6);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.hero-scroll-mouse {
  width: 22px;
  height: 36px;
  border: 2px solid rgba(255,255,255,0.6);
  border-radius: 12px;
  position: relative;
}

.hero-scroll-mouse::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--accent);
  border-radius: 2px;
  animation: scrollWheel 1.6s infinite;
}

@keyframes scrollWheel {
  0% { opacity: 1; transform: translate(-50%, 0); }
  100% { opacity: 0; transform: translate(-50%, 14px); }
}

@media (max-width: 850px), (max-height: 720px) {
  .hero-scroll-indicator {
    display: none !important;
  }
}

/* ---- INTRO SECTION ---- */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.intro-media {
  position: relative;
}

.intro-card-img {
  width: 100%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(27, 67, 50, 0.12);
  position: relative;
}

.intro-card-img img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}

.intro-badge-float {
  position: absolute;
  bottom: -15px;
  right: -15px;
  background: var(--nature);
  color: var(--white);
  padding: 1.1rem 1.6rem;
  border-radius: var(--radius);
  box-shadow: 0 12px 28px rgba(27, 67, 50, 0.25);
  font-family: var(--font-heading);
  text-align: center;
  border: 2px solid var(--white);
}

.intro-badge-float strong {
  display: block;
  font-size: var(--fs-2xl);
  font-weight: 900;
  line-height: 1;
  color: #f59e0b;
}

.intro-badge-float span {
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #ffffff;
}

.intro-text h2 {
  margin-bottom: 1.5rem;
  line-height: 1.15;
}

.intro-text p {
  font-size: var(--fs-lg);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

/* ---- WHY PACKRAFTING CARDS ---- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.why-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--gray-300);
  box-shadow: 0 4px 18px rgba(27, 40, 30, 0.07);
  transition: all 0.4s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.why-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(27, 67, 50, 0.13);
  border-color: var(--nature);
}

.why-card-img {
  width: 100%;
  height: 180px;
  position: relative;
  overflow: hidden;
}

.why-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.why-card:hover .why-card-img img {
  transform: scale(1.06);
}

.why-card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.why-card h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.why-card p {
  font-size: var(--fs-sm);
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 0;
}

/* ---- SECTION PAKET WISATA ---- */
.paket-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  max-width: 960px;
  margin: 0 auto;
  gap: 2rem;
  align-items: stretch;
  justify-content: center;
}

.paket-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 2px solid var(--gray-300);
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(27, 40, 30, 0.08);
  display: flex;
  flex-direction: column;
  transition: all 0.4s ease;
  position: relative;
}

.paket-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 42px rgba(27, 67, 50, 0.15);
  border-color: var(--nature);
}

.paket-card.featured {
  border-color: var(--primary-light);
}

.paket-img-header {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.paket-img-header img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.paket-card:hover .paket-img-header img {
  transform: scale(1.05);
}

.paket-ribbon {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--nature);
  color: var(--white);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  z-index: 2;
}

.paket-badge-row {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.paket-header {
  padding: 1.75rem 2rem 1.25rem;
  background: var(--white);
  border-bottom: 2px solid var(--gray-300);
  position: relative;
  text-align: left;
}

.paket-header h3 {
  font-size: 1.5rem;
  font-family: var(--font-heading);
  font-weight: 800;
  margin-bottom: 0.35rem;
  line-height: 1.2;
  color: var(--text);
  text-align: left;
}

.paket-subtitle {
  font-size: var(--fs-sm);
  color: var(--text-light);
  line-height: 1.5;
  margin-bottom: 1rem;
  text-align: left;
}

.paket-price-box {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.paket-price {
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  gap: 0.35rem;
  font-family: var(--font-heading);
}

.paket-price .amount {
  font-size: 2.1rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
}

.paket-price .unit {
  font-size: var(--fs-sm);
  color: var(--text-light);
  font-weight: 600;
}

.paket-body {
  padding: 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.paket-meta-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px dashed var(--gray-300);
}

.paket-meta-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: var(--fs-sm);
}

.paket-meta-item i {
  color: var(--river);
  font-size: 1.1rem;
}

.paket-meta-item strong {
  display: block;
  font-size: var(--fs-xs);
  color: var(--text-lighter);
  text-transform: uppercase;
}

.paket-features-title {
  font-size: var(--fs-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text);
  margin-bottom: 1rem;
}

.paket-features {
  margin-bottom: 2rem;
  flex: 1;
}

.paket-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: var(--fs-sm);
  color: var(--text-light);
}

.paket-features li i {
  color: var(--success);
  margin-top: 3px;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.paket-footer {
  margin-top: auto;
}

.paket-footer .btn {
  width: 100%;
}

/* Price Normal & Promo Badge */
.paket-price-normal {
  font-size: 0.82rem;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.paket-price-normal s {
  text-decoration: line-through;
  color: #ef4444;
  font-weight: 700;
}

.badge-promo-tag {
  background: #fee2e2;
  color: #b91c1c;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.paket-card.featured .badge-promo-tag {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

/* ---- FASILITAS TAMBAHAN & ADDONS ---- */
.addons-wrap {
  margin-top: 3.5rem;
}

.addons-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.addon-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--gray-300);
  box-shadow: 0 4px 16px rgba(27, 40, 30, 0.06);
  padding: 1.75rem;
  transition: all var(--transition);
}

.addon-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(27, 67, 50, 0.12);
  border-color: var(--nature);
}

.addon-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.addon-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--primary-50);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.addon-header h4 {
  font-size: 1.15rem;
  margin: 0;
  color: var(--gray-900);
}

.addon-item-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.addon-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0.85rem;
  background: var(--gray-50);
  border-radius: var(--radius-sm);
  font-size: var(--fs-sm);
}

.addon-item-name {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gray-800);
  font-weight: 500;
}

.addon-item-price {
  font-weight: 700;
  color: var(--accent);
  font-family: var(--font-heading);
}

/* ---- INFORMASI TAMBAHAN & MEETING POINT ---- */
.info-tambahan-card {
  margin-top: 2rem;
  background: var(--white);
  border: 1.5px solid var(--gray-300);
  box-shadow: 0 4px 16px rgba(27, 40, 30, 0.06);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.info-tambahan-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 1.25rem;
}

.info-spec-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  font-size: var(--fs-sm);
  color: var(--text-light);
  line-height: 1.5;
}

.info-spec-item i {
  color: var(--accent);
  margin-top: 0.2rem;
  font-size: 1rem;
}

.meeting-points-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.meeting-point-pill {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--white);
  padding: 0.6rem 0.9rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--gray-300);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--primary-dark);
}

.meeting-point-pill i {
  color: var(--river-light);
}

/* ---- WELLNESS TOURISM SHOWCASE ---- */
.wellness-section {
  background: linear-gradient(135deg, #0f281b 0%, #1b4332 50%, #133324 100%);
  color: var(--white);
  padding: 5.5rem 0;
  position: relative;
  overflow: hidden;
}

.wellness-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.wellness-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  transition: all var(--transition);
}

.wellness-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.28);
}

.wellness-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(245, 158, 11, 0.2);
  color: #fbbf24;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(245, 158, 11, 0.35);
}

.wellness-card h4 {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
  font-weight: 700;
}

.wellness-card p {
  color: rgba(255, 255, 255, 0.85);
  font-size: var(--fs-sm);
  line-height: 1.6;
  margin: 0;
}

/* ---- CARA BOOKING (3 STEPS) ---- */
.booking-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.booking-step-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  text-align: left;
  position: relative;
  transition: all var(--transition);
}

.booking-step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  box-shadow: 0 4px 10px rgba(249, 115, 22, 0.4);
}

.booking-step-card h4 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

.booking-step-card p {
  color: rgba(255, 255, 255, 0.85);
  font-size: var(--fs-sm);
  margin: 0;
  line-height: 1.5;
}

/* ---- EXPERIENCE / TIMELINE ---- */
.timeline-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.25rem;
  position: relative;
}

.timeline-card {
  background: var(--bg-dark-card);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 2rem 1.25rem;
  text-align: center;
  position: relative;
  transition: all var(--transition);
}

.timeline-card:hover {
  transform: translateY(-6px);
  background: rgba(255,255,255,0.06);
  border-color: var(--river-light);
}

.timeline-step {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent) 0%, var(--river-light) 100%);
  color: var(--white);
  font-weight: 900;
  font-size: var(--fs-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  box-shadow: 0 6px 15px rgba(249, 115, 22, 0.35);
}

.timeline-card h4 {
  font-size: var(--fs-base);
  color: var(--white);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.timeline-card p {
  font-size: var(--fs-xs);
  color: var(--gray-400);
  margin-bottom: 0;
  line-height: 1.6;
}

/* ---- VISUAL TIMELINE / PETUALANGAN BERGAMBAR ---- */
.timeline-visual-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.25rem;
  position: relative;
}

.timeline-visual-card {
  background: var(--white);
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 18px rgba(27, 40, 30, 0.06);
  transition: all 0.4s ease;
}

.timeline-visual-card:hover {
  transform: translateY(-6px);
  border-color: var(--nature);
  box-shadow: 0 14px 28px rgba(27, 67, 50, 0.12);
}

.timeline-visual-img {
  position: relative;
  width: 100%;
  height: 155px;
  overflow: hidden;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
}

.timeline-visual-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s ease;
}

.timeline-visual-card:hover .timeline-visual-photo {
  transform: scale(1.08);
}

.timeline-visual-logo {
  width: 60px;
  height: 60px;
  object-fit: contain;
  z-index: 1;
  transition: transform 0.4s ease;
}

.timeline-visual-card:hover .timeline-visual-logo {
  transform: scale(1.08);
}

.timeline-visual-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 0, 0, 0.3) 100%
  );
  pointer-events: none;
}

.timeline-step-pill {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 3;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: var(--nature);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.timeline-visual-body {
  padding: 1.15rem 1rem 1.35rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  background: var(--white);
}

.timeline-visual-body h4 {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 0.45rem;
  letter-spacing: 0.01em;
  line-height: 1.3;
}

.timeline-visual-body p {
  font-size: 0.8rem;
  color: var(--text-light);
  line-height: 1.5;
  margin: 0;
}

/* ---- SAFETY FIRST & SOP SECTION ---- */
.sop-pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 3rem;
}

.sop-pillar-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  border: 1.5px solid var(--gray-300);
  box-shadow: 0 4px 16px rgba(27, 40, 30, 0.06);
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all var(--transition);
}

.sop-pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(27, 67, 50, 0.1);
  border-color: var(--nature);
}

.sop-pillar-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  background: var(--primary-50);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.sop-pillar-card h5 {
  font-size: var(--fs-sm);
  font-weight: 700;
  margin-bottom: 0.2rem;
  color: var(--primary-dark);
}

.sop-pillar-card p {
  font-size: var(--fs-xs);
  color: var(--text-light);
  margin-bottom: 0;
  line-height: 1.4;
}

/* SOP 8-Point Card Grid */
.sop-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.sop-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--gray-300);
  box-shadow: 0 4px 16px rgba(27, 40, 30, 0.06);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--transition);
  overflow: hidden;
}

.sop-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary);
  opacity: 0.9;
  transition: all var(--transition);
}

.sop-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(27, 67, 50, 0.12);
  border-color: var(--nature);
}

.sop-card:hover::before {
  height: 6px;
}

/* Color Accent Variants for SOP Cards */
.sop-card.sop-accent-emerald::before { background: #10b981; }
.sop-card.sop-accent-orange::before { background: var(--accent); }
.sop-card.sop-accent-red::before { background: #ef4444; }
.sop-card.sop-accent-blue::before { background: #0284c7; }
.sop-card.sop-accent-amber::before { background: #f59e0b; }

.sop-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.sop-num-badge {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--primary);
  background: var(--primary-50);
  border: 1px solid rgba(27, 67, 50, 0.15);
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.sop-tag {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.18rem 0.6rem;
  border-radius: 4px;
}

.sop-tag-wajib {
  background: #dcfce7;
  color: #15803d;
}

.sop-tag-larangan {
  background: #fee2e2;
  color: #b91c1c;
}

.sop-tag-perhatian {
  background: #fef3c7;
  color: #b45309;
}

.sop-tag-info {
  background: #e0f2fe;
  color: #0369a1;
}

.sop-tag-darurat {
  background: #ffedd5;
  color: #c2410c;
}

.sop-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
  transition: transform var(--transition);
}

.sop-card:hover .sop-icon-wrap {
  transform: scale(1.1);
}

.sop-icon-primary {
  background: var(--primary-50);
  color: var(--primary);
}

.sop-icon-orange {
  background: #fff7ed;
  color: var(--accent);
}

.sop-icon-red {
  background: #fef2f2;
  color: #ef4444;
}

.sop-icon-amber {
  background: #fffbeb;
  color: #d97706;
}

.sop-icon-blue {
  background: #f0f9ff;
  color: #0284c7;
}

.sop-card h4 {
  font-size: 1.08rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  line-height: 1.35;
  color: var(--gray-900);
}

.sop-card p {
  font-size: var(--fs-sm);
  color: var(--text-light);
  line-height: 1.65;
  margin-bottom: 0;
  flex-grow: 1;
}

.sop-card p strong {
  color: var(--gray-900);
  font-weight: 600;
}

.sop-sublist {
  margin-top: 0.6rem;
  padding-left: 1.2rem;
  font-size: var(--fs-xs);
  color: var(--text-light);
  line-height: 1.6;
}

.sop-sublist li {
  margin-bottom: 0.35rem;
}

.sop-sublist li strong {
  color: var(--gray-800);
}

/* SOP Alert Banner */
.sop-alert-banner {
  margin-top: 2.75rem;
  background: linear-gradient(135deg, rgba(7, 86, 160, 0.05) 0%, rgba(255, 84, 2, 0.08) 100%);
  border: 1px solid rgba(255, 84, 2, 0.28);
  border-left: 5px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  box-shadow: var(--shadow-sm);
}

.sop-alert-main {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.sop-alert-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #fff7ed;
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.sop-alert-content h4 {
  font-size: 1.15rem;
  color: var(--primary-dark);
  margin-bottom: 0.35rem;
  font-weight: 700;
}

.sop-alert-content p {
  font-size: var(--fs-sm);
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 0;
}

.sop-alert-action {
  flex-shrink: 0;
}

/* Booking SOP reassurance badge */
.booking-sop-note {
  margin-top: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.95);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  padding: 0.6rem 1.5rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  text-align: left;
}

.booking-sop-note i {
  color: var(--accent-light);
  font-size: 1.1rem;
}

/* Backward compatibility */
.safety-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
}

.safety-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.safety-point-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.safety-point-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--primary-50);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.safety-point-card h5 {
  font-size: var(--fs-base);
  margin-bottom: 0.25rem;
}

.safety-point-card p {
  font-size: var(--fs-xs);
  margin-bottom: 0;
}

.safety-disclaimer-box {
  background: rgba(249, 115, 22, 0.08);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.75rem 2rem;
}

.safety-disclaimer-box h4 {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: var(--fs-lg);
  color: var(--accent-dark);
  margin-bottom: 0.75rem;
}

.safety-disclaimer-box p {
  font-size: var(--fs-sm);
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 0;
}

/* ---- GALERI MASONRY GRID ---- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 240px;
  gap: 1.25rem;
}

.gallery-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.gallery-card.span-2-row {
  grid-row: span 2;
}

.gallery-card.span-2-col {
  grid-column: span 2;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery-card-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #133a25 0%, #0e4854 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  padding: 1rem;
  text-align: center;
  transition: transform var(--transition-slow);
}

.gallery-card-placeholder i {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.gallery-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity var(--transition);
}

.gallery-card:hover img,
.gallery-card:hover .gallery-card-placeholder {
  transform: scale(1.06);
}

.gallery-card:hover .gallery-card-overlay,
.gallery-card:focus-visible .gallery-card-overlay {
  opacity: 1;
}

.gallery-card-overlay h5 {
  color: var(--white);
  font-size: var(--fs-base);
  margin-bottom: 0.25rem;
}

.gallery-card-overlay span {
  color: var(--river-light);
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
}

/* Touch devices have no hover, and this overlay is the only place the photo
   title and category exist, so keep the caption permanently visible there. */
@media (hover: none), (pointer: coarse) {
  .gallery-card-overlay {
    opacity: 1;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.35) 55%, transparent 100%);
    padding: 1rem;
  }

  .gallery-card-overlay h5 {
    font-size: 0.9rem;
  }
}

.btn-gallery-more {
  border-radius: 999px;
  padding: 0.75rem 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  white-space: normal;
  box-sizing: border-box;
  font-family: var(--font-heading);
  font-weight: 700;
  transition: all var(--transition);
}

.btn-gallery-more:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(18, 123, 221, 0.25);
}

/* ---- VIDEO SECTION ---- */
.video-box {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  aspect-ratio: 16/9;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0,0,0,0.4);
  border: 1px solid rgba(255,255,255,0.1);
}

.video-thumb {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(9, 26, 17, 0.45) 0%, rgba(4, 18, 22, 0.75) 100%), url('../images/hero/hero-packraft.jpg') center/cover no-repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform var(--transition-normal);
}

.video-box:hover .video-thumb {
  transform: scale(1.02);
}

.video-play-btn {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  padding-left: 5px;
  box-shadow: 0 10px 30px rgba(249, 115, 22, 0.5);
  transition: all var(--transition);
  cursor: pointer;
  border: none;
  position: relative;
}

.video-play-btn:hover {
  transform: scale(1.12);
  box-shadow: 0 15px 40px rgba(249, 115, 22, 0.7);
}

/* ---- TESTIMONIALS & GOOGLE RATING SLIDER KESAMPING ---- */
.google-rating-summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 1.25rem;
  flex-wrap: wrap;
}

.google-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: var(--white);
  padding: 0.55rem 1.25rem;
  border-radius: 8px;
  border: 1.5px solid var(--gray-300);
  box-shadow: 0 4px 14px rgba(27, 40, 30, 0.05);
}

.google-badge-pill .google-icon {
  font-size: 1.25rem;
  color: #ea4335;
}

.google-badge-pill .google-rating-score {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--text);
  line-height: 1;
}

.google-badge-pill .google-stars {
  display: inline-flex;
  gap: 0.15rem;
  color: #f59e0b;
  font-size: 0.9rem;
}

.google-badge-pill .google-reviews-count {
  font-size: 0.82rem;
  color: var(--text-light);
  font-weight: 600;
}

/* ---- TESTIMONI HORIZONTAL SWIPE TRACK (ALA PENTINGSARI) ---- */
.testi-slider-wrapper {
  position: relative;
  margin-top: 2.25rem;
  width: 100%;
}

.testi-track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 0.75rem 0.25rem 1.5rem;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
  user-select: none;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.testi-track::-webkit-scrollbar {
  display: none;
}

.testi-track.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
  scroll-snap-type: none;
}

.testi-card {
  flex: 0 0 350px;
  width: 350px;
  max-width: 350px;
  scroll-snap-align: start;
  background: #ffffff;
  border-radius: 12px;
  padding: 1.75rem 1.65rem 1.5rem;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  min-height: 380px;
  position: relative;
}

.testi-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

.testi-card.new-highlight {
  animation: cardHighlightPulse 1.8s ease-out;
  border-color: #f59e0b;
}

@keyframes cardHighlightPulse {
  0% { transform: scale(1.03); box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.4); }
  50% { transform: scale(1.01); box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.2); }
  100% { transform: scale(1); box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05); }
}

.testi-card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.testi-stars {
  color: #f59e0b;
  font-size: 1.05rem;
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1.25rem;
}

.testi-text {
  font-size: 0.92rem;
  color: #374151;
  line-height: 1.65;
  margin: 0 0 1.5rem 0;
  text-align: left;
  flex: 1;
  white-space: pre-line;
}

.testi-reviewer {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: auto;
  padding-top: 0.5rem;
}

.testi-reviewer-avatar-wrap {
  position: relative;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.testi-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  display: block;
}

.testi-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}

.testi-reviewer-badge {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 18px;
  height: 18px;
  background: #f97316;
  color: #ffffff;
  border-radius: 50%;
  font-size: 0.55rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}

.testi-reviewer-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: #111827;
  line-height: 1.3;
}

/* ---- Respon Resmi Pengelola pada Ulasan ---- */
.testi-reply-box {
  margin-top: 0.85rem;
  margin-bottom: 0.75rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left: 3.5px solid #16a34a;
  border-radius: 8px;
  padding: 0.85rem 1rem;
  position: relative;
  transition: all 0.2s ease;
  text-align: left;
}

.testi-card:hover .testi-reply-box {
  background: #ffffff;
  border-color: #cbd5e1;
  border-left-color: #16a34a;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.testi-reply-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.45rem;
  flex-wrap: wrap;
}

.testi-reply-badge {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.testi-reply-avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #1b4332;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.testi-reply-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testi-reply-avatar i {
  color: #ffffff;
  font-size: 0.65rem;
}

.testi-reply-author-info {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.testi-reply-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: #166534;
  line-height: 1.2;
}

.testi-reply-status {
  font-size: 0.65rem;
  font-weight: 700;
  color: #15803d;
  background: #dcfce7;
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
}

.testi-reply-date {
  font-size: 0.7rem;
  color: #94a3b8;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.testi-reply-text {
  font-size: 0.84rem;
  color: #334155;
  line-height: 1.6;
  margin: 0;
  white-space: pre-line;
}

.testi-card.has-reply {
  min-height: 440px;
}

@media (max-width: 640px) {
  .testi-card {
    flex: 0 0 85vw;
    width: 85vw;
    max-width: 85vw;
    min-height: 350px;
    padding: 1.5rem 1.25rem;
  }
}

.testi-slider-meta {
  text-align: center;
  margin-top: 1rem;
}

.testi-swipe-hint {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--text-light);
  font-weight: 600;
  background: rgba(0, 0, 0, 0.04);
  padding: 0.35rem 0.85rem;
  border-radius: 8px;
}

/* ---- ULASAN FORM WITH GOOGLE PROFILE & FOTO ---- */
.ulasan-form-wrapper {
  margin-bottom: 2.5rem;
  animation: slideDownFade 0.35s ease-out forwards;
}

@keyframes slideDownFade {
  from {
    opacity: 0;
    transform: translateY(-15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ulasan-form-card {
  background: var(--white);
  border-radius: 8px;
  padding: 2.25rem 2rem;
  border: 1.5px solid var(--gray-300);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  max-width: 800px;
  margin: 0 auto;
}

.google-form-banner {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: #fef2f2;
  border: 1px solid #fee2e2;
  padding: 0.85rem 1.15rem;
  border-radius: 8px;
  margin-bottom: 1.25rem;
}

.google-form-banner i {
  font-size: 1.6rem;
  color: #ea4335;
}

.google-form-banner strong {
  display: block;
  font-size: 0.95rem;
  color: #991b1b;
}

.google-form-banner span {
  font-size: 0.8rem;
  color: #b91c1c;
}

/* ---- ACTIVE GOOGLE ACCOUNT BAR IN FORM ---- */
.google-active-account-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  padding: 0.85rem 1.25rem;
  margin-bottom: 1.5rem;
  transition: all 0.25s ease;
}

.google-active-account-bar.unlinked {
  background: #fffbeb;
  border-color: #fde68a;
}

.g-account-avatar-placeholder {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #fef3c7;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: #ea4335;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
  flex-shrink: 0;
}

.g-account-info {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.g-account-avatar-wrap {
  position: relative;
  cursor: pointer;
  width: 46px;
  height: 46px;
  flex-shrink: 0;
}

.g-account-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: filter 0.2s ease;
}

.g-account-avatar-wrap:hover .g-account-avatar {
  filter: brightness(0.85);
}

.g-avatar-camera-icon {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 20px;
  height: 20px;
  background: #1a73e8;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  border: 1.5px solid #fff;
  transition: all 0.2s ease;
}

.g-account-avatar-wrap:hover .g-avatar-camera-icon {
  transform: scale(1.15);
  background: #0d47a1;
}

.g-account-details {
  display: flex;
  flex-direction: column;
}

.g-account-name {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: var(--primary-dark);
  font-size: 0.95rem;
}

.g-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.7rem;
  font-weight: 700;
  background: #e0f2fe;
  color: #0369a1;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  border: 1px solid #bae6fd;
}

.g-account-email {
  font-size: 0.8rem;
  color: #64748b;
}

.g-switch-btn {
  font-size: 0.8rem;
  padding: 0.4rem 0.85rem;
  white-space: nowrap;
}

/* ---- MODAL OVERLAY & POPUP SYSTEM ---- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 999999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  animation: fadeInModal 0.22s ease-out;
}

@keyframes fadeInModal {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-card {
  position: relative;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
  max-height: 90vh;
  overflow-y: auto;
  animation: scaleUpModal 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.booking-calendar-card {
  /* 92vw + .modal-overlay's 1.25rem padding each side overflowed a 360px
     screen (331 + 40 = 371px), clipping the right edge. 100% of the padded
     overlay always fits. */
  width: 100%;
  max-width: 420px;
  padding: 1.25rem;
}

.booking-calendar-close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  color: var(--text-light);
  font-size: 1.5rem;
  line-height: 1;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.booking-calendar-head {
  padding-right: 2rem;
  margin-bottom: 1rem;
}

.booking-calendar-head span {
  display: block;
  color: var(--nature);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.booking-calendar-head h3 {
  font-size: 1.35rem;
  margin-bottom: 0.35rem;
}

.booking-calendar-head p {
  font-size: 0.86rem;
  line-height: 1.45;
  margin: 0;
}

.booking-calendar-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  margin-bottom: 0.75rem;
}

.booking-calendar-nav button {
  width: 44px;
  height: 44px;
  border: 1px solid var(--gray-300);
  border-radius: 999px;
  color: var(--primary);
}

.booking-calendar-weekdays,
.booking-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.35rem;
}

.booking-calendar-weekdays {
  margin-bottom: 0.45rem;
}

.booking-calendar-weekdays span {
  color: var(--text-lighter);
  font-size: 0.72rem;
  font-weight: 800;
  text-align: center;
}

.booking-date,
.booking-calendar-empty {
  aspect-ratio: 1;
}

.booking-date {
  border: 1px solid var(--gray-300);
  border-radius: 6px;
  color: var(--text);
  font-weight: 800;
  background: #fff;
}

.booking-date:hover {
  border-color: var(--nature);
  background: var(--primary-50);
}

.booking-date.is-closed {
  color: #64748b;
  background: #e5e7eb;
  border-color: #cbd5e1;
}

.booking-date.is-open {
  color: #ffffff;
  background: var(--nature);
  border-color: var(--nature);
}

.booking-date.is-open:hover {
  background: var(--nature-dark);
  border-color: var(--nature-dark);
}

.booking-calendar-note {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-light);
  font-size: 0.82rem;
  margin-top: 1rem;
}

.booking-calendar-note span {
  width: 14px;
  height: 14px;
  background: #e5e7eb;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
}

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

/* Modal Google Auth Account Chooser */
.google-auth-card {
  max-width: 420px;
  /* 100% of the padded .modal-overlay; 92% overflowed at 360px once the
     overlay's own padding was counted. */
  width: 100%;
  background: #ffffff;
  border-radius: 12px;
  padding: 1.75rem 1.5rem 1.25rem;
  border: 1px solid #e2e8f0;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
  margin: auto;
  overflow: visible;
}

.google-auth-header {
  text-align: center;
  margin-bottom: 0.5rem;
}

.google-auth-header h4 {
  font-size: 1.25rem;
  margin: 0.25rem 0 0.35rem;
  color: #1e293b;
  font-weight: 700;
}

.google-auth-header p {
  font-size: 0.85rem;
  color: #64748b;
  margin: 0;
  line-height: 1.4;
}

.google-auth-footer {
  margin-top: 1rem;
  display: flex;
  justify-content: flex-end;
}

.ulasan-form-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.75rem;
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 1rem;
}

.ulasan-form-header h3 {
  font-size: 1.35rem;
  color: var(--primary-dark);
  margin-bottom: 0.25rem;
}

.ulasan-form-header p {
  font-size: 0.9rem;
  color: #64748b;
  margin: 0;
}

.ulasan-form-close {
  background: #f1f5f9;
  border: none;
  width: 44px;
  height: 44px;
  /* flex-shrink:0 because .ulasan-form-header is a flex row and was
     squeezing the button down to 19px wide. */
  flex-shrink: 0;
  border-radius: 50%;
  font-size: 1.5rem;
  line-height: 1;
  color: #64748b;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.ulasan-form-close:hover {
  background: #fee2e2;
  color: #ef4444;
  transform: rotate(90deg);
}

.rating-picker-box {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: #f8fafc;
  padding: 0.85rem 1.25rem;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  flex-wrap: wrap;
}

.rating-stars {
  display: inline-flex;
  gap: 0.35rem;
}

.star-btn {
  background: none;
  border: none;
  /* 44px tall so the rating picker is comfortably tappable on a phone. */
  padding: 0.15rem;
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: #cbd5e1;
  cursor: pointer;
  transition: transform 0.15s cubic-bezier(0.175, 0.885, 0.32, 1.275), color 0.15s;
}

.star-btn:hover {
  transform: scale(1.25);
}

.star-btn.active,
.star-btn.hover {
  color: #f59e0b;
  filter: drop-shadow(0 2px 4px rgba(245, 158, 11, 0.4));
}

.rating-label {
  font-weight: 700;
  font-size: 0.95rem;
  color: #0f766e;
}

.ulasan-inputs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 1rem;
}

@media (max-width: 640px) {
  .ulasan-inputs-grid {
    grid-template-columns: 1fr;
  }
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid #cbd5e1;
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 0.95rem;
  transition: all 0.2s;
  background: #fff;
  color: #1e293b;
}

.form-control:focus {
  outline: none;
  border-color: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

.ulasan-form-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-top: 1rem;
}

/* Card highlight on newly added review */
.testi-card.new-highlight {
  animation: highlightGlow 2.5s ease-out;
  border-color: #10b981 !important;
}

@keyframes highlightGlow {
  0% {
    transform: scale(1.03);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.35);
    background-color: #f0fdf4;
  }
  70% {
    transform: scale(1);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.15);
    background-color: #f0fdf4;
  }
  100% {
    transform: scale(1);
    box-shadow: var(--shadow-sm);
    background-color: var(--white);
  }
}

/* Toast Notification for Visitors */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  min-width: 280px;
  max-width: 420px;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  background: #1e293b;
  color: #fff;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  border-left: 5px solid #10b981;
  animation: toastSlideIn 0.35s ease-out;
  line-height: 1.5;
}

.toast-success {
  border-left-color: #10b981;
}

.toast-warning {
  border-left-color: #f59e0b;
}

.toast-error {
  border-left-color: #ef4444;
}

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

/* ---- LOKASI & MAP ---- */
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2.5rem;
  align-items: start;
}

.location-info-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1.5px solid var(--gray-300);
  box-shadow: 0 4px 16px rgba(27, 40, 30, 0.06);
  margin-bottom: 1.5rem;
}

.location-info-card h4 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: var(--fs-lg);
  margin-bottom: 0.75rem;
}

.location-info-card h4 i {
  color: var(--accent);
}

.location-right-column {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Route Metrics Bar (Area Atas Peta) */
.route-metrics-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  background: var(--white);
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius-lg);
  padding: 0.9rem 1.15rem;
  box-shadow: 0 4px 16px rgba(27, 40, 30, 0.06);
}

.route-metric-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.route-metric-item i {
  font-size: 1.15rem;
  color: var(--primary);
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: var(--primary-50);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.route-metric-item strong {
  display: block;
  font-size: 0.88rem;
  color: var(--gray-900);
  font-weight: 800;
  line-height: 1.2;
}

.route-metric-item span {
  display: block;
  font-size: 0.72rem;
  color: var(--text-light);
  line-height: 1.3;
}

.location-map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(27, 40, 30, 0.06);
  height: 380px;
  border: 1.5px solid var(--gray-300);
  position: relative;
}

.location-map-wrap #map {
  width: 100%;
  height: 100%;
}

/* Route Journey Transit Guide (Area Bawah Peta) */
.route-journey-guide {
  background: var(--white);
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius-lg);
  padding: 1.1rem 1.25rem;
  box-shadow: 0 4px 16px rgba(27, 40, 30, 0.06);
}

.journey-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.journey-header h4 {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--gray-900);
  margin: 0;
  display: flex;
  align-items: center;
}

.journey-tag {
  font-size: 0.72rem;
  font-weight: 800;
  color: #0891b2;
  background: #ecfeff;
  border: 1px solid #cffafe;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  letter-spacing: 0.02em;
}

.journey-steps-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.journey-step-box {
  flex: 1;
  padding: 0.75rem 0.85rem;
  border-radius: var(--radius);
  text-decoration: none;
  transition: all var(--transition-fast);
  border: 1px solid transparent;
  display: block;
  background: #f8fafc;
}

.journey-step-box:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.journey-step-box.step-start {
  background: #f0fdf4;
  border-color: #bbf7d0;
}

.journey-step-box.step-start:hover {
  border-color: #22c55e;
  background: #dcfce7;
}

.journey-step-box.step-rest {
  background: #fffbeb;
  border-color: #fde68a;
}

.journey-step-box.step-rest:hover {
  border-color: #f59e0b;
  background: #fef3c7;
}

.journey-step-box.step-finish {
  background: #fef2f2;
  border-color: #fecaca;
}

.journey-step-box.step-finish:hover {
  border-color: #ef4444;
  background: #fee2e2;
}

.journey-step-badge {
  font-size: 0.68rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.3rem;
  letter-spacing: 0.03em;
}

.step-start .journey-step-badge {
  color: #15803d;
}

.step-rest .journey-step-badge {
  color: #b45309;
}

.step-finish .journey-step-badge {
  color: #b91c1c;
}

.journey-step-title {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 0.2rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.journey-step-desc {
  font-size: 0.72rem;
  color: var(--text-light);
  line-height: 1.3;
}

.journey-arrow {
  color: var(--gray-400);
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

/* ---- FAQ ACCORDION ---- */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  border: 1.5px solid var(--gray-300);
  margin-bottom: 1rem;
  overflow: hidden;
  box-shadow: 0 3px 12px rgba(27, 40, 30, 0.05);
  transition: all var(--transition-fast);
}

.faq-item.active {
  border-color: var(--nature);
  box-shadow: 0 8px 20px rgba(27, 67, 50, 0.1);
}

.faq-header {
  padding: 1.35rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  font-weight: 700;
  font-size: var(--fs-base);
  color: var(--primary-dark);
  user-select: none;
}

.faq-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gray-100);
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-fast);
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  background: var(--river);
  color: var(--white);
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
}

.faq-body-inner {
  padding: 0 1.75rem 1.5rem;
  color: var(--text-light);
  font-size: var(--fs-sm);
  line-height: 1.8;
  border-top: 1px solid var(--gray-100);
  padding-top: 1rem;
}

/* ---- CTA BIG BOOKING SECTION ---- */
.cta-booking {
  background: 
    radial-gradient(circle at 10% 90%, rgba(255, 84, 2, 0.3) 0%, transparent 45%),
    radial-gradient(circle at 90% 10%, rgba(18, 123, 221, 0.28) 0%, transparent 45%),
    linear-gradient(135deg, #030e1a 0%, #0756a0 50%, #0d3b66 100%);
  padding: 7rem 0;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.cta-booking h2 {
  color: var(--white);
  font-size: clamp(2.2rem, 5vw, 4rem);
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.cta-booking p {
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  color: rgba(255,255,255,0.9);
  max-width: 680px;
  margin: 0 auto 2.5rem;
}

.cta-booking-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-xl);
  padding: 2.25rem 2rem;
  max-width: 820px;
  margin: 0 auto;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

.cta-booking-title {
  color: #fff;
  font-size: clamp(1.15rem, 2.8vw, 1.45rem);
  margin-bottom: 0.75rem;
  font-family: var(--font-display);
  line-height: 1.4;
}

.cta-booking-subtitle {
  color: rgba(255, 255, 255, 0.88);
  font-size: var(--fs-sm);
  margin-bottom: 1.5rem;
}

.cta-booking-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.cta-booking-btn-main {
  font-size: 1rem;
  padding: 0.85rem 1.75rem;
  box-shadow: 0 8px 24px rgba(249, 115, 22, 0.4);
}

.cta-booking-btn-sub {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
  font-size: 0.95rem;
  padding: 0.85rem 1.5rem;
}

.cta-booking-btn-sub:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #fff;
  color: #fff;
}

.cta-booking-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
  align-items: center;
}

.cta-booking-meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.92);
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-size: var(--fs-xs);
  text-decoration: none;
  transition: all var(--transition-fast);
}

a.cta-booking-meta-pill:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.cta-booking-meta-pill i {
  color: var(--accent-light);
}

/* ---- FOOTER ---- */
.footer {
  background: var(--bg-darker);
  color: var(--gray-400);
  padding: 5rem 0 2rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2.1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand h3 {
  color: var(--white);
  font-size: var(--fs-xl);
  margin-bottom: 0.25rem;
}

.footer-brand p {
  color: var(--gray-400);
  font-size: var(--fs-sm);
  line-height: 1.8;
  margin-top: 1rem;
}

.footer-col h4 {
  color: var(--white);
  font-size: var(--fs-base);
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background: var(--accent);
}

.footer-links li {
  margin-bottom: 0.65rem;
}

.footer-links a {
  color: var(--gray-400);
  font-size: var(--fs-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  /* Comfortable tap height on phones; was only ~24px. */
  min-height: 44px;
  padding: 0.35rem 0;
}

.footer-links a:hover {
  color: var(--river-light);
  transform: translateX(4px);
}

.footer-social-icons {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.footer-social-icons a {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-300);
  font-size: 1.2rem;
  transition: all var(--transition-fast);
}

.footer-social-icons a:hover {
  background: var(--accent);
  color: var(--white);
  transform: translateY(-3px);
}

/* ---- FOOTER SUPPORT IN BRAND COLUMN (APPLE TRANSLUCENT GLASS CAPSULE) ---- */
.footer-support-brand-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem 0.85rem;
  margin-bottom: 2rem;
  align-items: center;
}

.footer-support-card-mini {
  position: relative;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(24px) saturate(200%);
  -webkit-backdrop-filter: blur(24px) saturate(200%);
  border-radius: 9999px; /* Real Apple capsule/pill */
  padding: 0.4rem 0.85rem;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 
    inset 0 1px 1.5px 0 rgba(255, 255, 255, 0.4),
    inset 0 -1px 2px 0 rgba(0, 0, 0, 0.3),
    0 8px 24px rgba(0, 0, 0, 0.35);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-support-card-mini:hover {
  transform: translateY(-4px) scale(1.04);
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.45);
  box-shadow: 
    inset 0 1.5px 2px 0 rgba(255, 255, 255, 0.6),
    0 14px 30px rgba(0, 0, 0, 0.45),
    0 0 20px rgba(45, 212, 191, 0.35);
}

.footer-support-card-mini img {
  max-height: 58px;
  max-width: 90%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  filter: drop-shadow(0 0 1.5px rgba(255, 255, 255, 0.95)) 
          drop-shadow(0 2px 6px rgba(0, 0, 0, 0.7));
}

.footer-support-card-mini:hover img {
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .footer-support-brand-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem 0.65rem;
  }
  .footer-support-card-mini {
    height: 68px;
    padding: 0.35rem 0.65rem;
  }
  .footer-support-card-mini img {
    max-height: 50px;
  }
}

@media (max-width: 480px) {
  .footer-support-brand-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem 0.5rem;
  }
  .footer-support-card-mini {
    height: 58px;
    padding: 0.25rem 0.5rem;
  }
  .footer-support-card-mini img {
    max-height: 42px;
    max-width: 92%;
  }
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: var(--fs-xs);
  color: var(--gray-500);
}

.footer-bottom a {
  color: var(--gray-400);
}

/* ---- FLOATING WHATSAPP BUTTON ---- */
.float-wa-btn {
  position: fixed;
  bottom: calc(2rem + env(safe-area-inset-bottom, 0px));
  right: calc(2rem + env(safe-area-inset-right, 0px));
  background: #25D366;
  color: var(--white);
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: var(--fs-sm);
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.45);
  z-index: 999;
  transition: all var(--transition);
}

.float-wa-btn i {
  font-size: 1.4rem;
}

.float-wa-btn:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 15px 35px rgba(37, 211, 102, 0.6);
  color: var(--white);
}

/* ---- LIGHTBOX ---- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  padding: 2rem;
}

/* Phones: reclaim the padding and move the close button inside the frame.
   At top:-45px it sat outside the content box, which on a short viewport
   (landscape phone) fell off-screen and left no way to close the lightbox. */
@media (max-width: 640px) {
  .lightbox {
    padding: 3.5rem 1rem 1rem;
  }

  .lightbox-content {
    max-height: 100%;
  }

  .lightbox-content img {
    max-height: 70vh;
  }

  .lightbox-close {
    top: 0.5rem;
    right: 0.5rem;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.14);
    border-radius: 50%;
    z-index: 2;
  }
}

@media (max-height: 720px) {
  .lightbox {
    padding: 3.5rem 1rem 1rem;
  }

  .lightbox-close {
    top: 0.5rem;
    right: 0.5rem;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.14);
    border-radius: 50%;
    z-index: 2;
  }

  .lightbox-content img {
    max-height: 62vh;
  }
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  max-width: 900px;
  max-height: 85vh;
  position: relative;
  text-align: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: var(--radius);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.lightbox-close {
  position: absolute;
  top: -45px;
  right: 0;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  background: none;
  border: none;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-caption {
  color: var(--white);
  margin-top: 1rem;
  font-weight: 600;
  font-size: var(--fs-base);
}

/* ---- REVEAL ANIMATIONS ---- */
.reveal {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: opacity, transform;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0) scale(1) rotate(0);
}

/* Directional variants */
.reveal-left {
  opacity: 0;
  transform: translateX(-35px);
  transition: opacity 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: opacity, transform;
}

.reveal-right {
  opacity: 0;
  transform: translateX(35px);
  transition: opacity 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: opacity, transform;
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 1.1s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 1.1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: opacity, transform;
}

.reveal-left.revealed,
.reveal-right.revealed,
.reveal-scale.revealed {
  opacity: 1;
  transform: translateX(0) scale(1);
}

/* Stagger delays for grid children */
.reveal-stagger > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger > *:nth-child(2) { transition-delay: 0.15s; }
.reveal-stagger > *:nth-child(3) { transition-delay: 0.3s; }
.reveal-stagger > *:nth-child(4) { transition-delay: 0.4s; }
.reveal-stagger > *:nth-child(5) { transition-delay: 0.5s; }
.reveal-stagger > *:nth-child(6) { transition-delay: 0.6s; }
.reveal-stagger > *:nth-child(7) { transition-delay: 0.65s; }
.reveal-stagger > *:nth-child(8) { transition-delay: 0.7s; }

/* ---- HERO ENTRANCE SEQUENCE ---- */
.hero-content .hero-location,
.hero-content .hero-title,
.hero-content .hero-sub,
.hero-content .hero-lead,
.hero-content .hero-actions {
  opacity: 0;
  transform: translateY(20px);
  animation: heroEntrance 1.1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.hero-content .hero-location { animation-delay: 0.4s; }
.hero-content .hero-title   { animation-delay: 0.7s; }
.hero-content .hero-sub     { animation-delay: 1.0s; }
.hero-content .hero-lead    { animation-delay: 1.25s; }
.hero-content .hero-actions { animation-delay: 1.5s; }

@keyframes heroEntrance {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---- SCROLL INDICATOR BOUNCE ---- */
.hero-scroll-indicator {
  animation: scrollBounce 2.8s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ---- FLOATING BADGE (Static, grounded) ---- */
.intro-badge-float {
  /* clean static placement without jitter */
}

/* ---- WHATSAPP BUTTON (Clean, premium) ---- */
.float-wa-btn {
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
}

/* ---- VIDEO PLAY BUTTON ---- */
.video-play-btn {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* ---- CTA CARD ---- */
.cta-booking-card {
  position: relative;
  overflow: hidden;
}

/* ---- CARD HOVER LIFT (universal) ---- */
.why-card,
.wellness-card,
.booking-step-card,
.timeline-card,
.timeline-visual-card,
.sop-card,
.sop-pillar-card,
.addon-card,
.testi-card,
.faq-item {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.35s ease,
              background 0.35s ease;
}

/* ---- ACCESSIBILITY: REDUCED MOTION ---- */
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-left,
  .reveal-right,
  .reveal-scale {
    transition: none;
    opacity: 1;
    transform: none;
  }

  .hero-content .hero-location,
  .hero-content .hero-title,
  .hero-content .hero-sub,
  .hero-content .hero-lead,
  .hero-content .hero-actions {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .intro-badge-float,
  .hero-scroll-indicator {
    animation: none;
  }

  .float-wa-btn::before,
  .video-play-btn::before,
  .cta-booking-card::after {
    animation: none;
    display: none;
  }
}

/* ---- RESPONSIVE BREAKPOINTS ---- */
/* ---- RESPONSIVE BREAKPOINTS ---- */
@media (max-width: 1024px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .paket-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }
  .paket-card.featured {
    transform: none;
  }
  .paket-card.featured:hover {
    transform: translateY(-8px);
  }
  .timeline-grid,
  .timeline-visual-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .safety-layout {
    grid-template-columns: 1fr;
  }
  .sop-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
  .sop-pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .sop-alert-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }
  .sop-alert-action {
    width: 100%;
  }
  .sop-alert-action .btn {
    width: 100%;
    justify-content: center;
  }
  .testi-card {
    flex: 0 0 85vw;
    max-width: 85vw;
  }
  .testi-nav-btn {
    display: none;
  }
  .location-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
  .wellness-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .addons-grid {
    grid-template-columns: 1fr;
  }
  .info-tambahan-grid {
    grid-template-columns: 1fr;
  }
  .booking-steps-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --section-py: 3.75rem;
    --container-px: 1.25rem;
  }

  .section-header {
    margin-bottom: 2.25rem;
  }

  .section-header h2 {
    font-size: clamp(1.45rem, 5vw, 1.85rem);
    margin-bottom: 0.5rem;
  }

  .section-header p {
    font-size: 0.9rem;
    line-height: 1.6;
  }

  .navbar {
    background: rgba(6, 21, 36, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: calc(0.7rem + env(safe-area-inset-top, 0px)) 0 0.7rem;
  }

  .nav-overlay {
    touch-action: none;
  }

  .nav-overlay.active {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 82%;
    max-width: 320px;
    height: 100vh;
    height: 100dvh;
    max-height: 100vh;
    max-height: 100dvh;
    background: var(--bg-dark);
    flex-direction: column;
    align-items: flex-start;
    padding: calc(5.5rem + env(safe-area-inset-top, 0px)) 1.75rem calc(2.5rem + env(safe-area-inset-bottom, 0px));
    gap: 0.55rem;
    box-shadow: -8px 0 35px rgba(0, 0, 0, 0.65);
    transition: right var(--transition);
    z-index: 999;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior: contain !important;
    touch-action: pan-y !important;
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-menu li {
    display: flex;
    width: auto;
    list-style: none;
  }

  /* Force exact Gambar 1 look for all drawer links regardless of .navbar.scrolled */
  .nav-menu .nav-link,
  .navbar.scrolled .nav-menu .nav-link {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    width: auto;
    padding: 0.6rem 1.35rem;
    font-size: 1.05rem;
    font-family: var(--font-heading);
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9) !important;
    background: transparent !important;
    border-radius: var(--radius-full);
    box-shadow: none !important;
    transition: all var(--transition-fast);
  }

  .nav-menu .nav-link:hover,
  .navbar.scrolled .nav-menu .nav-link:hover {
    color: var(--white) !important;
    background: rgba(255, 255, 255, 0.1) !important;
  }

  .nav-indicator {
    display: none !important;
  }

  /* Active item matches greenish rounded pill */
  .nav-menu .nav-link.active,
  .navbar.scrolled .nav-menu .nav-link.active {
    color: var(--white) !important;
    background: linear-gradient(135deg, rgba(45, 106, 79, 0.9) 0%, rgba(27, 67, 50, 0.95) 100%) !important;
    box-shadow: 0 4px 15px rgba(27, 67, 50, 0.35) !important;
    font-weight: 700 !important;
  }

  .nav-cta {
    width: 100%;
    margin-top: 1rem;
  }

  .nav-cta .btn {
    width: 100%;
  }

  .nav-toggle {
    display: flex;
  }

  /* Hamburger toggle 'X' when open on mobile must stay bright white like Gambar 1 */
  .nav-toggle.active span,
  .navbar.scrolled .nav-toggle.active span {
    background: #ffffff !important;
  }

  .intro-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .intro-card-img {
    aspect-ratio: auto;
    min-height: 270px;
    border-radius: var(--radius-xl);
  }

  .intro-card-placeholder {
    padding: 2.25rem 1.25rem 2.25rem;
  }

  .intro-logo-display {
    width: 95px;
    height: 95px;
    margin-bottom: 0.75rem;
  }

  .intro-card-title {
    font-size: 1.15rem;
    margin-bottom: 0.35rem;
  }

  .intro-card-sub {
    font-size: 0.82rem;
    line-height: 1.45;
    max-width: 300px;
    margin: 0 auto;
  }

  .intro-badge-float {
    top: 14px;
    right: 14px;
    bottom: auto;
    padding: 0.5rem 0.85rem;
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
  }

  .intro-badge-float strong {
    font-size: 1.15rem;
    line-height: 1.1;
  }

  .intro-badge-float span {
    font-size: 0.62rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 160px;
    gap: 0.75rem;
  }

  .gallery-card.span-2-col {
    grid-column: span 1;
  }

  .btn-gallery-more {
    font-size: 0.88rem;
    padding: 0.7rem 1.25rem;
    max-width: 92%;
    white-space: normal;
    text-align: center;
  }

  /* Booking Steps & CTA on Mobile */
  .booking-steps-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
    margin: 2rem 0 2.25rem;
  }

  .booking-step-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.1rem 1.15rem;
    border-radius: var(--radius-md);
    text-align: left;
  }

  .booking-step-num {
    margin-bottom: 0;
    width: 36px;
    height: 36px;
    font-size: 1rem;
    flex-shrink: 0;
  }

  .booking-step-content h4 {
    font-size: 0.98rem;
    margin-bottom: 0.25rem;
  }

  .booking-step-content p {
    font-size: 0.8rem;
    line-height: 1.45;
  }

  .cta-booking {
    padding: 4.5rem 0;
  }

  .cta-booking-card {
    padding: 1.5rem 1.15rem;
    border-radius: var(--radius-lg);
  }

  .cta-booking-title {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
  }

  .cta-booking-subtitle {
    font-size: 0.82rem;
    margin-bottom: 1.25rem;
  }

  .cta-booking-actions {
    flex-direction: column;
    gap: 0.75rem;
  }

  .cta-booking-btn-main {
    width: 100%;
    justify-content: center;
    padding: 0.8rem 1.25rem;
    font-size: 0.92rem;
  }

  .cta-booking-btn-sub {
    width: 100%;
    justify-content: center;
    padding: 0.75rem 1.25rem;
    font-size: 0.85rem;
    word-break: break-all;
  }

  .cta-booking-meta-row {
    flex-direction: column;
    gap: 0.5rem;
  }

  .cta-booking-meta-pill {
    width: 100%;
    justify-content: center;
    font-size: 0.75rem;
    padding: 0.4rem 0.75rem;
  }

  .timeline-grid,
  .timeline-visual-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
  }

  .timeline-visual-img {
    height: 130px;
  }

  .timeline-visual-body {
    padding: 0.9rem 0.8rem 1rem;
  }

  .timeline-visual-body h4 {
    font-size: 0.82rem;
    margin-bottom: 0.35rem;
  }

  .timeline-visual-body p {
    font-size: 0.72rem;
    line-height: 1.45;
  }

  .sop-pillars-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 2rem;
  }

  .sop-pillar-card {
    padding: 1rem 0.75rem;
    text-align: center;
    flex-direction: column;
    align-items: center;
    gap: 0.45rem;
  }

  .sop-pillar-card h5 {
    font-size: 0.85rem;
  }

  .sop-pillar-card p {
    font-size: 0.72rem;
  }

  .safety-points {
    grid-template-columns: 1fr;
  }

  /* Mobile Hero Section */
  .hero {
    min-height: 100vh;
    min-height: 100dvh;
    padding-top: calc(5.5rem + env(safe-area-inset-top, 0px));
    padding-bottom: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .hero-content {
    padding: 0.5rem 0 1rem;
    text-align: center;
  }

  .hero-location {
    font-size: clamp(0.7rem, 2.8vw, 0.82rem);
    padding: 0.35rem 0.85rem;
    margin-bottom: 0.85rem;
    line-height: 1.4;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    max-width: 100%;
    border-radius: 999px;
  }

  .hero-title {
    font-size: clamp(2rem, 8vw, 2.75rem);
    line-height: 1.15;
    margin-bottom: 0.4rem;
  }

  .hero-sub {
    font-size: clamp(0.85rem, 3.2vw, 1.1rem);
    margin-bottom: 0.75rem;
    letter-spacing: 0.08em;
  }

  .hero-lead {
    font-size: clamp(0.88rem, 2.5vw, 1rem);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 0.75rem;
  }

  .hero-actions .btn {
    width: auto;
    min-width: 220px;
    max-width: 100%;
    justify-content: center;
    padding: 0.85rem 1.75rem;
    font-size: 0.88rem;
    white-space: nowrap;
  }

  .hero-slider-dots {
    bottom: 1.25rem;
  }

  .hero-scroll-indicator {
    display: none !important;
  }

  /* Paket Cards on Mobile */
  .paket-header {
    padding: 1.6rem 1.25rem 1.25rem;
  }

  .paket-header h3 {
    font-size: 1.45rem;
  }

  .paket-body {
    padding: 1.25rem;
  }

  .paket-price .amount {
    font-size: 1.85rem;
  }

  .paket-features li {
    font-size: 0.84rem;
    line-height: 1.45;
  }

  /* The dynamic label is "Reservasi PAKET 1 - ADVENTURE" and .btn is
     white-space:nowrap, so it spilled out of the 100%-wide card button.
     Let long booking labels wrap instead of overflowing. */
  .paket-footer .btn {
    white-space: normal;
    text-align: center;
    line-height: 1.35;
    padding: 0.85rem 1.1rem;
    font-size: 0.8rem;
    height: 100%;
  }

  .addons-wrap {
    margin-top: 2.5rem;
  }

  .info-tambahan-card {
    padding: 1.35rem 1.15rem;
  }

  /* Lokasi & Map on Mobile */
  .location-info-card {
    padding: 1.35rem 1.15rem;
    border-radius: var(--radius-lg);
    margin-bottom: 1rem;
  }

  .location-map-wrap {
    height: 300px;
  }

  .route-metrics-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    padding: 0.75rem;
  }

  .route-metric-item {
    gap: 0.5rem;
  }

  .route-metric-item i {
    width: 32px;
    height: 32px;
    font-size: 1rem;
  }

  .route-journey-guide {
    padding: 1rem;
  }

  /* Testimoni & Review */
  .testi-card {
    padding: 1.5rem 1.25rem;
  }

  .testi-quote {
    font-size: 0.88rem;
    line-height: 1.6;
    margin-bottom: 1.2rem;
  }

  .ulasan-form-card {
    padding: 1.5rem 1.25rem;
  }

  .float-wa-btn span {
    display: none;
  }

  .float-wa-btn {
    width: 50px;
    height: 50px;
    padding: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    bottom: calc(1.5rem + env(safe-area-inset-bottom, 0px));
    right: 1.25rem;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  }

  .float-wa-btn i {
    font-size: 1.65rem;
  }

  /* .float-wa-btn collapses to a 50px circle pinned to bottom-right, and
     .toast-container is also fixed bottom-right with no mobile override, so
     the two used to sit on top of each other. Lift the toasts clear of it. */
  .toast-container {
    left: 1rem;
    right: 1rem;
    bottom: calc(5rem + env(safe-area-inset-bottom, 0px));
  }

  .toast {
    min-width: 0;
    width: 100%;
    max-width: 100%;
  }
}

/* Tablet & landscape phone (769px - 1100px):
   The 8-item inline menu needs ~1030px intrinsic width, so between 769px and
   ~1030px it was silently clipped with no hamburger to fall back on.
   Collapse the nav into the drawer for this whole band, not just <=768px. */
@media (min-width: 769px) and (max-width: 1100px) {
  .navbar {
    background: rgba(6, 21, 36, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: calc(0.7rem + env(safe-area-inset-top, 0px)) 0 0.7rem;
  }

  .nav-overlay {
    touch-action: none;
  }

  .nav-overlay.active {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 82%;
    max-width: 320px;
    height: 100vh;
    height: 100dvh;
    background: var(--bg-dark);
    flex-direction: column;
    align-items: flex-start;
    padding: calc(5.5rem + env(safe-area-inset-top, 0px)) 1.75rem calc(2.5rem + env(safe-area-inset-bottom, 0px));
    gap: 0.55rem;
    box-shadow: -8px 0 35px rgba(0, 0, 0, 0.65);
    transition: right var(--transition);
    z-index: 999;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior: contain !important;
    touch-action: pan-y !important;
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-menu li {
    display: flex;
    width: auto;
    list-style: none;
  }

  .nav-menu .nav-link,
  .navbar.scrolled .nav-menu .nav-link {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    width: auto;
    padding: 0.6rem 1.35rem;
    font-size: 1.05rem;
    font-family: var(--font-heading);
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9) !important;
    background: transparent !important;
    border-radius: var(--radius-full);
    box-shadow: none !important;
    transition: all var(--transition-fast);
  }

  .nav-menu .nav-link:hover,
  .navbar.scrolled .nav-menu .nav-link:hover {
    color: var(--white) !important;
    background: rgba(255, 255, 255, 0.1) !important;
  }

  .nav-indicator {
    display: none !important;
  }

  .nav-menu .nav-link.active,
  .navbar.scrolled .nav-menu .nav-link.active {
    color: var(--white) !important;
    background: linear-gradient(135deg, rgba(45, 106, 79, 0.9) 0%, rgba(27, 67, 50, 0.95) 100%) !important;
    box-shadow: 0 4px 15px rgba(27, 67, 50, 0.35) !important;
    font-weight: 700 !important;
  }

  .nav-cta {
    width: 100%;
    margin-top: 1rem;
  }

  .nav-cta .btn {
    width: 100%;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-toggle.active span,
  .navbar.scrolled .nav-toggle.active span {
    background: #ffffff !important;
  }
}

@media (max-width: 640px) {
  .sop-grid {
    grid-template-columns: 1fr;
  }
  .journey-steps-row {
    flex-direction: column;
    align-items: stretch;
  }
  .journey-arrow {
    transform: rotate(90deg);
    justify-content: center;
    padding: 0.15rem 0;
  }
  /* The 240px fixed height overflowed the 16/9 .video-box and got clipped by
     overflow:hidden, cutting off the play button. Fill the box instead. */
  .video-thumb {
    height: 100%;
  }
}

@media (max-width: 480px) {
  :root {
    --section-py: 3rem;
    --container-px: 1rem;
  }

  /* Compact Brand in Navbar */
  .navbar-brand {
    gap: 0.5rem;
  }
  .brand-logo-square {
    width: 36px;
    height: 36px;
  }
  .brand-text span:first-child {
    font-size: 0.92rem;
  }
  .brand-sub {
    font-size: 0.54rem;
  }

  /* Hero on Smartphone */
  .hero {
    padding-top: calc(4.8rem + env(safe-area-inset-top, 0px));
    padding-bottom: 3rem;
  }

  .hero-title {
    font-size: clamp(1.75rem, 8.5vw, 2.25rem);
  }

  .hero-actions .btn {
    width: 100%;
    min-width: 0;
    max-width: 320px;
    font-size: 0.85rem;
    padding: 0.8rem 1.25rem;
  }

  .why-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .why-card {
    padding: 1.25rem 1rem;
  }

  /* Paket on Smartphone */
  .paket-header {
    padding: 1.35rem 1rem 1rem;
  }

  .paket-header h3 {
    font-size: 1.35rem;
  }

  .paket-body {
    padding: 1rem;
  }

  .paket-price .amount {
    font-size: 1.65rem;
  }

  .info-tambahan-card {
    padding: 1.15rem 0.85rem;
  }

  .meeting-point-pill {
    font-size: 0.75rem;
    padding: 0.45rem 0.65rem;
  }

  /* Timeline on Smartphone */
  .timeline-visual-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .timeline-visual-card {
    border-radius: 12px;
  }

  .timeline-visual-img {
    height: 140px;
  }

  /* Gallery: 2 neat columns on phone like Instagram */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    grid-auto-rows: 125px;
  }

  .gallery-card.span-2-col {
    grid-column: span 1;
  }

  .gallery-card.span-2-row {
    grid-row: span 1;
  }

  /* Map & Journey on Smartphone */
  .location-map-wrap {
    height: 270px;
  }

  .route-metrics-bar {
    grid-template-columns: 1fr 1fr;
    gap: 0.4rem;
    padding: 0.65rem;
  }

  .route-metric-item strong {
    font-size: 0.76rem;
  }

  .route-metric-item span {
    font-size: 0.62rem;
  }

  .route-metric-item i {
    width: 28px;
    height: 28px;
    font-size: 0.88rem;
  }

  /* Ulasan & Rating on Smartphone */
  .google-rating-summary {
    flex-direction: column;
    align-items: center;
    gap: 0.85rem;
    margin-top: 1rem;
  }

  .google-rating-summary .google-badge-pill {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    font-size: 0.78rem;
    padding: 0.45rem 0.85rem;
  }

  .google-rating-summary .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .google-active-account-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
    padding: 1rem;
  }

  .google-active-account-bar .g-account-info {
    width: 100%;
  }

  .google-active-account-bar .g-account-details {
    min-width: 0;
    flex: 1;
  }

  .google-active-account-bar .g-account-name {
    font-size: 0.9rem;
    flex-wrap: wrap;
  }

  .google-active-account-bar .g-account-email {
    font-size: 0.76rem;
    word-break: break-all;
  }

  .google-active-account-bar .g-switch-btn,
  .google-active-account-bar #gsi-bar-button-slot {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .google-active-account-bar .g-switch-btn {
    width: 100%;
    text-align: center;
    justify-content: center;
    padding: 0.6rem 1rem;
  }

  .ulasan-form-card {
    padding: 1.25rem 1rem;
    border-radius: 12px;
  }

  .rating-picker-box {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.45rem;
    padding: 0.75rem 0.85rem;
  }

  .rating-stars {
    gap: 0.35rem;
  }

  /* Shrink the glyph, keep the 44px target inherited from the base rule. */
  .star-btn {
    font-size: 1.45rem;
    padding: 0;
    min-width: 40px;
    min-height: 44px;
  }

  .rating-label {
    font-size: 0.8rem;
  }

  .ulasan-form-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.65rem;
  }

  .ulasan-form-actions .btn {
    width: 100%;
    justify-content: center;
    padding: 0.75rem 1rem;
  }

  .google-auth-card {
    width: 100%;
    max-width: 360px;
    padding: 1.5rem 1.15rem 1.25rem;
    border-radius: 14px;
  }

  .google-auth-header h4 {
    font-size: 1.15rem;
  }

  .google-auth-header p {
    font-size: 0.8rem;
  }

  .testi-track {
    padding: 0.5rem 0 1.25rem;
    gap: 1rem;
  }

  .testi-card {
    flex: 0 0 86vw;
    width: 86vw;
    max-width: 86vw;
    min-height: 330px;
    padding: 1.35rem 1.2rem 1.25rem;
  }

  .testi-stars {
    font-size: 0.95rem;
    margin-bottom: 0.85rem;
  }

  .testi-text {
    font-size: 0.86rem;
    line-height: 1.55;
    margin-bottom: 1.15rem;
  }

  .testi-reviewer-avatar-wrap {
    width: 40px;
    height: 40px;
  }

  .testi-reviewer-name {
    font-size: 0.9rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 360px) {
  :root {
    --container-px: 0.85rem;
  }

  .hero-title {
    font-size: 1.65rem;
  }

  .hero-location {
    font-size: 0.68rem;
    padding: 0.3rem 0.65rem;
  }

  .paket-meta-list {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .route-metrics-bar {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }
}

/* ============================================
   DESA PROFILE PAGES
   profil / pemerintahan / wilayah / potensi
   These pages ship their own class names, which had no rules anywhere in this
   stylesheet, so they rendered as unstyled raw HTML.
   ============================================ */

/* ---- DC Logo Mark (navbar + footer on desa pages) ---- */
.logo-icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--accent) 0%, var(--river-light) 100%);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 12px rgba(200, 90, 50, 0.35);
}

/* ---- Breadcrumb ---- */
.breadcrumb-section {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--gray-200);
  padding: 0.85rem 0;
  padding-top: calc(0.85rem + env(safe-area-inset-top, 0px));
  margin-top: 4.5rem;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--fs-sm);
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--text-light);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.breadcrumb a:hover {
  color: var(--primary);
}

.breadcrumb .separator {
  color: var(--gray-400);
  font-size: 0.7rem;
  display: inline-flex;
  align-items: center;
}

.breadcrumb .current {
  color: var(--primary);
  font-weight: 700;
}

/* ---- Page Header Banner ---- */
.page-header {
  position: relative;
  background: linear-gradient(135deg, #0d1813 0%, #14241c 45%, #1b4332 80%, #1a6b85 100%);
  color: var(--white);
  text-align: center;
  padding: 4.5rem 0 3.5rem;
  overflow: hidden;
}

.page-header::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23000000' fill-opacity='0.2' d='M0,192L48,197.3C96,203,192,213,288,208C384,203,480,181,576,181.3C672,181,768,203,864,202.7C960,203,1056,181,1152,165.3C1248,149,1344,139,1392,133.3L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E") no-repeat bottom;
  background-size: cover;
  opacity: 0.6;
  pointer-events: none;
}

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

.page-header h1 {
  color: var(--white);
  font-size: clamp(1.85rem, 5.5vw, 2.75rem);
  margin-bottom: 0.6rem;
}

.page-header p {
  color: rgba(255, 255, 255, 0.82);
  font-size: var(--fs-base);
  max-width: 620px;
  margin: 0 auto;
}

/* ---- Content Section & Cards ---- */
.content-section {
  padding: var(--section-py) 0;
  background: var(--bg);
}

.content-card {
  background: var(--bg-card);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  margin-bottom: 1.75rem;
  box-shadow: 0 2px 10px rgba(27, 40, 30, 0.05);
}

.content-card:last-child {
  margin-bottom: 0;
}

.content-card h3 {
  font-size: var(--fs-xl);
  margin-bottom: 1.1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--primary-50);
}

.content-card h4 {
  font-size: var(--fs-lg);
  margin-bottom: 0.75rem;
}

.content-card h5 {
  font-size: var(--fs-base);
  margin-bottom: 0.5rem;
}

.content-card p {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.content-card p:last-child,
.content-card ul:last-child,
.content-card ol:last-child {
  margin-bottom: 0;
}

.content-card ul,
.content-card ol {
  color: var(--text-light);
  line-height: 1.8;
  padding-left: 1.35rem;
  margin-bottom: 1rem;
}

.content-card li {
  margin-bottom: 0.4rem;
}

.content-card li::marker {
  color: var(--primary-light);
  font-weight: 700;
}

/* ---- Wilayah / Statistic Card ---- */
.wilayah-card {
  background: var(--bg-card);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 1.35rem 1.15rem;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.wilayah-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(27, 40, 30, 0.09) !important;
  border-color: var(--primary-100);
}

.wilayah-card .card-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 0.85rem;
  border-radius: var(--radius-sm);
  background: var(--primary-50);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.wilayah-card h4 {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.4rem;
}

.wilayah-card .card-value {
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1.3;
}

/* ---- Batas Wilayah (Border Directions) ---- */
.batas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

.batas-item {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  background: var(--bg-alt);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 1.15rem 1rem;
}

.batas-direction {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--primary) 0%, var(--river) 100%);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: var(--fs-base);
}

.batas-info h5 {
  margin-bottom: 0.3rem;
}

.batas-info p {
  font-size: var(--fs-sm);
  line-height: 1.6;
  margin: 0;
}

/* ---- Map wrapper (wilayah.html) ---- */
.map-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(27, 40, 30, 0.06);
  height: 380px;
  border: 1.5px solid var(--gray-300);
  position: relative;
}

.map-wrapper #map {
  width: 100%;
  height: 100%;
}

/* ---- Demografi Bar Chart (profil.html) ---- */
.demo-chart {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.demo-bar-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.demo-bar-label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: var(--fs-sm);
  color: var(--text-light);
  font-weight: 600;
}

.demo-bar-label span:last-child {
  color: var(--primary-dark);
  font-weight: 800;
  flex-shrink: 0;
}

.demo-bar-track {
  height: 12px;
  border-radius: var(--radius-full);
  background: var(--gray-200);
  overflow: hidden;
}

.demo-bar-fill {
  height: 100%;
  width: 0;
  border-radius: var(--radius-full);
  background: linear-gradient(90deg, var(--primary-light) 0%, var(--river-light) 100%);
  transition: width 1.1s cubic-bezier(0.25, 1, 0.5, 1);
}

/* ---- Org Chart (pemerintahan.html) ---- */
.org-chart {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.org-level {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  width: 100%;
  position: relative;
}

.org-level + .org-level::before {
  content: '';
  position: absolute;
  top: -1.5rem;
  left: 50%;
  width: 2px;
  height: 1.5rem;
  background: var(--gray-300);
}

.org-card {
  flex: 1 1 210px;
  max-width: 260px;
  min-width: 0;
  background: var(--bg-card);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 1.35rem 1rem;
  text-align: center;
  box-shadow: 0 2px 10px rgba(27, 40, 30, 0.05);
  transition: transform var(--transition), box-shadow var(--transition);
}

.org-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(27, 40, 30, 0.1);
}

.org-card-photo {
  width: 60px;
  height: 60px;
  margin: 0 auto 0.85rem;
  border-radius: 50%;
  background: var(--primary-50);
  color: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.org-card h5 {
  margin-bottom: 0.3rem;
  font-size: var(--fs-base);
  overflow-wrap: anywhere;
}

.org-role {
  font-size: var(--fs-xs);
  color: var(--text-light);
  font-weight: 600;
  line-height: 1.5;
}

/* ---- Footer variants for desa pages ---- */
.footer-about p {
  color: var(--gray-400);
  font-size: var(--fs-sm);
  line-height: 1.8;
  margin-top: 0.85rem;
}

.footer-brand span {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: var(--fs-xl);
  font-weight: 900;
}

.footer-info li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  color: var(--gray-400);
  font-size: var(--fs-sm);
  line-height: 1.7;
  margin-bottom: 0.65rem;
}

.footer-info li i {
  color: var(--river-light);
  margin-top: 0.4rem;
  flex-shrink: 0;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.footer-social a {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  transition: all var(--transition-fast);
}

.footer-social a:hover {
  background: var(--accent);
  color: var(--white);
  transform: translateY(-3px);
}

/* ---- Back to Top ---- */
.back-to-top {
  position: fixed;
  bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px));
  right: calc(1.25rem + env(safe-area-inset-right, 0px));
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--gray-300);
  background: var(--bg-card);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all var(--transition);
  box-shadow: 0 8px 20px rgba(27, 40, 30, 0.14);
  z-index: 90;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

/* ---- Desa pages: responsive ---- */
@media (max-width: 768px) {
  .breadcrumb-section {
    margin-top: 3.75rem;
  }

  .page-header {
    padding: 3.25rem 0 2.75rem;
  }

  .content-card {
    padding: 1.5rem 1.25rem;
    margin-bottom: 1.25rem;
    border-radius: var(--radius);
  }

  .content-card h3 {
    font-size: var(--fs-lg);
  }

  .batas-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .batas-item {
    flex-direction: column;
    gap: 0.65rem;
    padding: 1rem 0.85rem;
  }

  .map-wrapper {
    height: 300px;
  }
}

@media (max-width: 480px) {
  .breadcrumb-section {
    padding: 0.65rem 0;
  }

  .breadcrumb {
    font-size: var(--fs-xs);
    gap: 0.35rem;
  }

  .page-header {
    padding: 2.75rem 0 2.25rem;
  }

  .page-header p {
    font-size: var(--fs-sm);
  }

  .content-card {
    padding: 1.25rem 1rem;
  }

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

  .org-level {
    gap: 0.75rem;
  }

  .org-card {
    flex: 1 1 100%;
    max-width: none;
  }

  .footer-about p,
  .footer-info li {
    font-size: var(--fs-xs);
  }
}
