/* ===== CSS Variables ===== */
:root {
  /* === Teals (Blue-Green) === */
  --forest:      #124A44;
  --green-dark:  #157F79;
  --green-mid:   #179D92;
  --green-light: #22BFB3;
  --green-pale:  #D0F5F0;

  /* === Blues === */
  --ocean:       #1B4965;
  --blue:        #2C7DA0;
  --blue-light:  #89C2D9;
  --blue-pale:   #D6EEF8;

  /* === Neutrals === */
  --cream:       #F8F6F0;
  --warm:        #FFFDF7;
  --gold:        #9E8A6A;
  --white:       #FFFFFF;
  --text-dark:   #1A1A18;
  --text-mid:    #5C5C54;
  --text-light:  #8E8D84;

  /* === Legacy aliases (keeps existing pages working) === */
  --earth:       #9E8A6A;
  --earth-light: #C4B99A;
  --green:       #179D92;
  --bg:          #FFFDF7;
  --bg-soft:     #F8F6F0;
  --border:      rgba(21,127,121,0.12);
  --accent:      #179D92;

  /* === Shadows === */
  --shadow:    rgba(18,74,68,0.08);
  --shadow-sm: rgba(18,74,68,0.05);
  --shadow-md: rgba(18,74,68,0.12);

  /* === Radius === */
  --radius:      8px;
  --radius-md:   14px;
  --radius-lg:   20px;
  --radius-xl:   24px;
  --radius-pill: 40px;

  /* === Gradients === */
  --grad-hero:       linear-gradient(135deg, #124A44 0%, #1B4965 50%, #157F79 100%);
  --grad-hero-prog:  linear-gradient(160deg, #1B4965 0%, #124A44 40%, #157F79 100%);
  --grad-hero-kons:  linear-gradient(180deg, #124A44 0%, #157F79 100%);
  --grad-cta:        linear-gradient(135deg, #157F79 0%, #1B4965 100%);
  --grad-text:       linear-gradient(135deg, #22BFB3, #89C2D9);
  --grad-card-green: linear-gradient(90deg, #157F79, #157F7955);
  --grad-card-blue:  linear-gradient(90deg, #2C7DA0, #2C7DA055);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Outfit', sans-serif;
  color: var(--text-dark);
  background: var(--warm);
  line-height: 1.6;
  font-size: 16px;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ===== Typography ===== */
h1, h2, h3, h4 {
  font-family: 'Fraunces', Georgia, serif;
  line-height: 1.2;
  color: var(--forest);
  font-weight: 500;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 300; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.65rem); }
h4 { font-size: 1.1rem; font-family: 'Outfit', sans-serif; font-weight: 600; }

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

/* Gradient text utility */
.text-gradient {
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Section label (small uppercase above heading) */
.section-label {
  display: inline-block;
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 1rem;
}

/* ===== Layout ===== */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}
.section { padding: 4rem 0; }
.section-alt { background: var(--cream); }

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.section-header p {
  max-width: 600px;
  margin: 0.75rem auto 0;
  font-size: 1.05rem;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.8rem 2rem;
  border-radius: var(--radius-pill);
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  border: 1px solid transparent;
  text-align: center;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(21,127,121,0.22);
}
.btn-primary {
  background: var(--green-light);
  color: var(--forest);
  border-color: var(--green-light);
}
.btn-primary:hover {
  background: var(--green-mid);
  border-color: var(--green-mid);
  color: var(--white);
}
.btn-secondary {
  background: rgba(255,255,255,0.12);
  color: var(--white);
  border-color: rgba(255,255,255,0.3);
}
.btn-secondary:hover {
  background: var(--white);
  color: var(--forest);
  border-color: var(--white);
}
.btn-outline {
  background: transparent;
  color: var(--green-dark);
  border-color: rgba(21,127,121,0.3);
}
.btn-outline:hover {
  background: var(--green-dark);
  color: var(--white);
  border-color: var(--green-dark);
}
.btn-wa {
  background: #25D366;
  color: var(--white);
  border-color: #25D366;
}
.btn-wa:hover {
  background: #1ebe5d;
  border-color: #1ebe5d;
}

/* ===== Navbar ===== */
.nav-leaves {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 90px;
  pointer-events: none;
  z-index: 1002;
  overflow: hidden;
  transition: opacity 0.4s ease;
}
.nav-leaves.scrolled { opacity: 0; }
.nav-leaf {
  position: absolute;
  left: -40px;
  top: 30px;
  width: 16px;
  height: 16px;
  color: #124A44;
  opacity: 0;
  will-change: transform, opacity;
}
.nav-leaf:nth-child(1) {
  animation: navLeafFall1 9s linear infinite;
  animation-delay: 0s;
  top: 14px;
}
.nav-leaf:nth-child(2) {
  animation: navLeafFall2 11s linear infinite;
  animation-delay: 3s;
  top: 36px;
  width: 12px; height: 12px;
}
.nav-leaf:nth-child(3) {
  animation: navLeafFall3 10s linear infinite;
  animation-delay: 6s;
  top: 24px;
  width: 14px; height: 14px;
}
@keyframes navLeafFall1 {
  0%   { transform: translate(0,    0)   rotate(0deg);   opacity: 0; }
  15%  {                                                 opacity: 1; }
  100% { transform: translate(48vw, 18px) rotate(360deg); opacity: 0; }
}
@keyframes navLeafFall2 {
  0%   { transform: translate(0,    0)   rotate(0deg);    opacity: 0; }
  15%  {                                                  opacity: 1; }
  100% { transform: translate(52vw, -22px) rotate(-420deg); opacity: 0; }
}
@keyframes navLeafFall3 {
  0%   { transform: translate(0,    0)   rotate(0deg);    opacity: 0; }
  15%  {                                                  opacity: 1; }
  100% { transform: translate(45vw, 14px) rotate(540deg);  opacity: 0; }
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,253,247,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(21,127,121,0.08);
  padding: 0.875rem 0;
  transition: all 0.4s ease;
}
.navbar.scrolled {
  background: rgba(18,74,68,0.96);
  border-bottom-color: rgba(34,191,179,0.15);
  box-shadow: 0 4px 20px rgba(18,74,68,0.15);
}
.navbar.scrolled .brand-name,
.navbar.scrolled .brand-sub,
.navbar.scrolled .brand-tagline { color: rgba(255,255,255,0.9); }
.navbar.scrolled .nav-links a { color: rgba(255,255,255,0.75); }
.navbar.scrolled .nav-links a:hover,
.navbar.scrolled .nav-links a.active { color: var(--white); background: rgba(255,255,255,0.1); }
.navbar.scrolled .nav-dropdown-toggle { color: rgba(255,255,255,0.75); }
.navbar.scrolled .nav-dropdown-toggle:hover { background: rgba(255,255,255,0.1); color: var(--white); }
.navbar.scrolled .nav-links .nav-cta { background: var(--green-light); color: var(--forest) !important; }
.navbar.scrolled .nav-toggle span { background: var(--white); }

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.navbar-brand {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  line-height: 1;
}
.navbar-logo {
  height: 56px;
  width: auto;
  display: block;
  transition: opacity 0.3s;
  filter: brightness(0) saturate(100%) invert(18%) sepia(40%) saturate(600%) hue-rotate(160deg) brightness(0.6);
}
.navbar.scrolled .navbar-logo {
  filter: none;
}
.brand-text-wrap {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.navbar-brand .brand-name {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--forest);
  transition: color 0.4s;
}
.navbar-brand .brand-sub {
  font-size: 0.68rem;
  color: var(--earth);
  letter-spacing: 0.03em;
  margin-top: -1px;
}
.navbar-brand .brand-tagline {
  font-size: 0.62rem;
  color: var(--earth);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.75;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-links a {
  padding: 0.45rem 0.875rem;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-mid);
  transition: all 0.3s ease;
  font-family: 'Outfit', sans-serif;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--forest);
  background: rgba(18,74,68,0.07);
}
.nav-links .nav-cta {
  background: var(--green-light);
  color: var(--forest) !important;
  padding: 0.5rem 1.25rem;
  margin-left: 0.5rem;
  font-weight: 500;
}
.nav-links .nav-cta:hover {
  background: var(--green-mid);
  color: var(--white) !important;
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}
.nav-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 0.875rem;
  border-radius: var(--radius);
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
  color: var(--text);
  font-family: inherit;
  transition: all 0.2s;
}
.nav-dropdown-toggle:hover,
.nav-dropdown.open .nav-dropdown-toggle {
  color: var(--green-dark);
  background: rgba(18,74,68,0.07);
}
.dropdown-arrow {
  font-size: 0.7rem;
  transition: transform 0.2s;
}
.nav-dropdown.open .dropdown-arrow {
  transform: rotate(180deg);
}
.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 0.25rem);
  left: 0;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 4px 16px var(--shadow);
  min-width: 160px;
  padding: 0.4rem 0;
  flex-direction: column;
  z-index: 100;
}
.nav-dropdown.open .nav-dropdown-menu {
  display: flex;
}
.nav-dropdown-menu a {
  padding: 0.6rem 1rem;
  color: var(--text-dark);
  font-size: 0.9rem;
  border-radius: 0;
  white-space: nowrap;
}
.nav-dropdown-menu a:hover {
  background: rgba(18,74,68,0.07);
  color: var(--green-dark);
}
/* Keep dropdown text dark even when navbar is scrolled (white bg panel) */
.navbar.scrolled .nav-links .nav-dropdown-menu a {
  color: var(--text-dark) !important;
  background: transparent;
}
.navbar.scrolled .nav-links .nav-dropdown-menu a:hover {
  color: var(--green-dark) !important;
  background: rgba(18,74,68,0.07);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--green-dark);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ===== Animations ===== */
@keyframes breathe {
  0%, 100% { opacity: 0.35; transform: scale(1); }
  50%       { opacity: 0.6;  transform: scale(1.08); }
}
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-10px); }
}
@keyframes gradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position:  200% center; }
}
@keyframes badgeGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34,191,179,0); }
  50%       { box-shadow: 0 0 18px 4px rgba(34,191,179,0.35); }
}
@keyframes countUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
/* Hero entrance: a calm rise on first paint. Kept short travel (14px) so it
   reads as "settling" rather than "sliding in" — subtle per brand tone. */
@keyframes heroRise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
/* Ambient drift for the hero orb layer. Very slow + tiny offsets so the glow
   feels alive without any noticeable movement. Lives on the .hero-orbs wrapper
   (translate) so the orbs' own `breathe` (scale/opacity) doesn't get clobbered. */
@keyframes drift {
  0%, 100% { transform: translate(0, 0); }
  33%       { transform: translate(2%, -1.5%); }
  66%       { transform: translate(-1.5%, 1%); }
}

/* ===== Scroll-reveal base ===== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(0.23, 1, 0.32, 1),
              transform 0.65s cubic-bezier(0.23, 1, 0.32, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
/* Staggered children */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s cubic-bezier(0.23, 1, 0.32, 1),
              transform 0.55s cubic-bezier(0.23, 1, 0.32, 1);
}
.reveal-stagger.visible > * { opacity: 1; transform: none; }
.reveal-stagger.visible > *:nth-child(1)  { transition-delay: 0s;    }
.reveal-stagger.visible > *:nth-child(2)  { transition-delay: 0.09s; }
.reveal-stagger.visible > *:nth-child(3)  { transition-delay: 0.18s; }
.reveal-stagger.visible > *:nth-child(4)  { transition-delay: 0.27s; }
.reveal-stagger.visible > *:nth-child(5)  { transition-delay: 0.36s; }
.reveal-stagger.visible > *:nth-child(6)  { transition-delay: 0.45s; }
.reveal-stagger.visible > *:nth-child(7)  { transition-delay: 0.54s; }
.reveal-stagger.visible > *:nth-child(8)  { transition-delay: 0.63s; }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--grad-hero);
}

/* Glowing orbs overlay */
.hero-orbs {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  animation: drift 26s ease-in-out infinite;
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: breathe 8s ease-in-out infinite;
}
.hero-orb--green {
  top: -100px; right: -100px;
  width: 500px; height: 500px;
  background: #22BFB3;
  opacity: 0.18;
}
.hero-orb--blue {
  bottom: -60px; left: -60px;
  width: 400px; height: 400px;
  background: #89C2D9;
  opacity: 0.15;
  animation-delay: 2s;
  animation-duration: 10s;
}

/* Wave transition at bottom of hero */
.hero-wave {
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  pointer-events: none;
}
.hero-cards {
  position: absolute;
  inset: 0;
  display: flex;
  gap: 4px;
}
.hero-card {
  flex: 1;
  background-size: cover;
  background-position: center;
  background-color: #1A3D34;
  transition: flex 0.5s ease;
}
.hero-card:hover {
  flex: 2.5;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.15) 55%, transparent 100%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 1;
  color: var(--white);
  width: 100%;
  text-align: center;
  padding: 4rem 2rem;
}
.hero-badge {
  display: inline-block;
  background: #157F79;
  border: 1px solid #22BFB3;
  color: #fff;
  padding: 0.5rem 1.5rem;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  font-family: 'Outfit', sans-serif;
  /* Rise in on load (once), then hand off to the continuous glow at 1.2s. */
  animation: heroRise 0.8s cubic-bezier(0.23, 1, 0.32, 1) 0.35s both,
             badgeGlow 3.5s ease-in-out 1.2s infinite;
}
.hero-logo {
  height: clamp(80px, 12vw, 140px);
  width: auto;
  margin: 0 auto 1.5rem;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.6)) drop-shadow(0 8px 32px rgba(0,0,0,0.4));
  /* Logo leads the entrance (0.15s), then its idle float begins as the rise ends. */
  animation: heroRise 0.9s cubic-bezier(0.23, 1, 0.32, 1) 0.15s both,
             float 6s ease-in-out 1.05s infinite;
}
.hero h1 { color: var(--white); margin-bottom: 0.25rem; }
/* Remaining hero copy cascades in after the logo — calm, evenly spaced. */
.hero-tagline { animation: heroRise 0.8s cubic-bezier(0.23, 1, 0.32, 1) 0.5s both; }
.hero-content > p:not(.hero-tagline) { animation: heroRise 0.8s cubic-bezier(0.23, 1, 0.32, 1) 0.65s both; }
.hero-buttons { animation: heroRise 0.8s cubic-bezier(0.23, 1, 0.32, 1) 0.8s both; }
.hero-brand-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 0.5rem;
  font-style: italic;
}
.hero-tagline {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-style: italic;
  color: rgba(255,255,255,0.85);
  margin-bottom: 1.5rem;
}
.hero p {
  color: rgba(255,255,255,0.8);
  font-size: 1.05rem;
  margin-bottom: 2rem;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }

/* ===== Cards ===== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(21,127,121,0.08);
  box-shadow: 0 2px 12px var(--shadow-sm);
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
}
.card::before {
  content: '';
  display: block;
  height: 4px;
  background: var(--grad-card-green);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(18,74,68,0.1);
}
.card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: linear-gradient(135deg, #B8E0D8, #8CD5C4);
}
.card-img {
  width: 100%;
  height: 200px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.card-img-placeholder {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, #B8E0D8 0%, #22BFB3 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
}
.card-body { padding: 1.25rem; }
.card-badge {
  display: inline-block;
  background: var(--green-pale);
  color: var(--green-dark);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: 'Outfit', sans-serif;
}
.card-body h3 { margin-bottom: 0.5rem; font-size: 1.15rem; }
.card-body p { font-size: 0.9rem; margin-bottom: 1rem; }
.card-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.82rem;
  color: var(--text-light);
  margin-bottom: 1rem;
}
.card-meta span { display: flex; align-items: center; gap: 0.3rem; }
.card-price {
  font-weight: 700;
  color: var(--green-dark);
  font-size: 1rem;
}
.card-price small {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--text-light);
}

/* ===== Services Overview ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 1rem;
}
.services-grid--4 {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.service-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 8px var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px var(--shadow-md);
}
.service-card-img {
  width: 100%;
  height: 220px;
  background-size: cover;
  background-position: center;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.service-card h3 {
  margin: 1.25rem 1.25rem 0.5rem;
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: var(--forest);
  line-height: 1.25;
}
.service-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin: 0 1.25rem 1.25rem;
  line-height: 1.65;
}
.service-card .btn {
  align-self: flex-start;
  margin: auto 1.25rem 1.5rem;
}

/* ===== Testimonials — "Kata Mereka" full-photo slides ===== */
/* Deep, intimate dark backdrop so the faces glow and the section feels like a
   quiet, personal place. Heading + intro flip to light text. */
.testimonials {
  background: #0B2D29; /* near-black forest, darker than --forest #124A44 */
  color: #EAF4F1;
}
.testimonials .section-header h2 { color: #FFFFFF; }
.testimonials .section-header p { color: rgba(234, 244, 241, 0.72); }
.kata-stars {
  color: #F5B841;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  margin-left: 0.5rem;
  vertical-align: 0.12em;
}

/* Full-bleed row of photo slides. The whole row flies in from the right and
   continuously auto-scrolls left (driven by JS scrollLeft), pauses on hover, and
   the user can drag / wheel-scroll it left-right to browse. */
.t-marquee {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  cursor: grab;
  scrollbar-width: none;           /* Firefox: hide scrollbar */
  -ms-overflow-style: none;        /* old Edge */
  -webkit-mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent);
          mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent);
}
.t-marquee::-webkit-scrollbar { display: none; } /* Chrome/Safari: hide scrollbar */
.t-marquee.is-grabbing { cursor: grabbing; }
/* don't let the browser ghost-drag the photos or select text while dragging the
   carousel — our pointer-drag scrolls it instead. */
.t-marquee, .t-slide, .t-slide img {
  user-select: none;
  -webkit-user-select: none;
}
.t-slide img {
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  user-drag: none;
  pointer-events: none; /* clicks/drags land on the slide, never the raw image */
}
.t-track {
  display: flex;
  width: max-content;
  /* NO gap — photos butt edge-to-edge, no spaces between them */
  gap: 0;
}

.t-slide {
  position: relative;
  flex: 0 0 auto;
  width: 300px;
  height: 400px;
  margin: 0;
  /* no border-radius / no shadow — slides sit flush, no visible gaps */
  overflow: hidden;
}
.t-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* strong, tall dark gradient so overlaid text is readable on any photo */
.t-slide figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 2rem 1.25rem 1.25rem;
  background: linear-gradient(to top,
    rgba(0, 0, 0, 0.92) 0%,
    rgba(0, 0, 0, 0.8) 35%,
    rgba(0, 0, 0, 0.5) 70%,
    transparent 100%);
  color: #fff;
}
.t-slide .t-q {
  font-style: italic;
  font-size: 0.92rem;
  line-height: 1.55;
  margin: 0 0 0.7rem;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9);
}
.t-slide .t-n {
  margin: 0;
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9);
}
.t-slide .t-j {
  margin: 0.1rem 0 0;
  font-size: 0.8rem;
  /* bright mint-green, not the pale washed-out var(--green-light) */
  color: #5EEAD4;
  font-weight: 600;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9);
}
@media (max-width: 768px) {
  .t-slide { width: 240px; height: 330px; }
  .t-slide .t-q { font-size: 0.85rem; }
}

/* ===== Kisah Hari ini — news / updates from us (NOT a diary, no badges) ===== */
.kisah-new-dot {
  display: inline-block;
  width: 0.55rem;
  height: 0.55rem;
  margin-left: 0.25rem;
  vertical-align: 0.18em;
  border-radius: 50%;
  background: var(--green-mid);
  animation: kisahPulse 2s ease-out infinite;
}
@keyframes kisahPulse {
  0% { box-shadow: 0 0 0 0 rgba(23, 157, 146, 0.5); }
  70%, 100% { box-shadow: 0 0 0 0.55rem rgba(23, 157, 146, 0); }
}
.kisah-wrap {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2rem;
  align-items: start;
}
.kisah-date {
  display: block;
  color: var(--green-dark);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
/* lead story */
.kisah-lead {
  border-top: 3px solid var(--green-dark);
  padding-top: 1.25rem;
}
.kisah-lead-img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 560px; /* natural-ratio uploads stay complete without dominating the page */
  object-fit: contain;
  object-position: center;
  margin-bottom: 1.1rem;
}
.kisah-lead-img.is-fixed-ratio { max-height: none; }
.kisah-lead-body .kisah-date { margin-bottom: 0.6rem; }
.kisah-text {
  margin: 0;
  color: var(--text-mid);
  font-size: 1.12rem;
  line-height: 1.75;
}
.kisah-text.is-collapsed {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
}
.kisah-read-more {
  display: inline-block;
  margin-top: 0.8rem;
  padding: 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: none;
  color: var(--green-dark);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.kisah-read-more:hover { color: var(--green-mid); }
.kisah-read-more:focus-visible {
  outline: 2px solid var(--green-mid);
  outline-offset: 4px;
}
/* archive list */
.kisah-archive-title {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-light);
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.6rem;
  margin: 0 0 0.4rem;
}
.kisah-list { list-style: none; margin: 0; padding: 0; }
.kisah-list li {
  padding: 0;
  border-bottom: 1px solid var(--border);
}
/* Past entries that HAVE a photo lay out as thumbnail + text side by side, so
   uploaded images stay visible in the archive instead of vanishing once a newer
   entry bumps them out of the lead slot. Text-only rows keep the plain layout. */
.kisah-list-link {
  display: block;
  padding: 0.9rem 0;
  color: inherit;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.2s;
}
.kisah-list-link:hover { background: rgba(23, 157, 146, 0.07); }
.kisah-list-link:focus-visible {
  outline: 2px solid var(--green-mid);
  outline-offset: 3px;
}
.kisah-list-link.has-thumb {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}
.kisah-list-thumb {
  flex: 0 0 auto;
  width: 72px;
  height: 72px;
  border-radius: 8px;
  background-size: cover;
  background-position: center;
}
.kisah-list-body { min-width: 0; }  /* let long text wrap/ellipsize inside the flex row */
.kisah-list .kisah-date { font-size: 0.72rem; margin-bottom: 0.3rem; }
.kisah-list p {
  margin: 0;
  color: var(--text-mid);
  font-size: 0.92rem;
  line-height: 1.6;
}
@media (max-width: 768px) {
  .kisah-wrap { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* ===== Individual Kisah article ===== */
.kisah-article-page {
  background: var(--warm);
  padding: 4rem 0 5rem;
}
.kisah-article { max-width: 760px; }
.kisah-back-link {
  display: inline-block;
  margin-bottom: 2.5rem;
  color: var(--green-dark);
  font-weight: 600;
  text-decoration: none;
}
.kisah-back-link:hover { text-decoration: underline; }
.kisah-article-header { margin-bottom: 2rem; }
.kisah-article-eyebrow {
  display: block;
  margin-bottom: 0.55rem;
  color: var(--green-mid);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.kisah-article-header h1 { margin: 0; }
.kisah-article-img {
  display: block;
  width: 100%;
  max-height: 720px;
  margin-bottom: 2.25rem;
  border-radius: var(--radius-lg);
  object-fit: contain;
  object-position: center;
  background: var(--white);
}
.kisah-article-text {
  color: var(--text-mid);
  font-size: 1.12rem;
  line-height: 1.85;
  white-space: pre-line;
}
.kisah-related {
  max-width: 960px;
  margin-top: 4.5rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
}
.kisah-related h2 { margin-bottom: 1.5rem; }
.kisah-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}
.kisah-related-card {
  display: block;
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  color: inherit;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.kisah-related-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px var(--shadow-sm);
}
.kisah-related-card time {
  color: var(--green-dark);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}
.kisah-related-card p {
  margin: 0.55rem 0 0;
  font-size: 0.9rem;
  line-height: 1.6;
}
@media (max-width: 768px) {
  .kisah-article-page { padding: 2.5rem 0 3.5rem; }
  .kisah-article-text { font-size: 1rem; }
}

/* ===== Stats ===== */
.stats-section {
  background: var(--forest);
  color: var(--white);
  padding: 3rem 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  text-align: center;
}
.stat-item h3 {
  font-size: 2.5rem;
  color: var(--white);
  margin-bottom: 0.25rem;
  background: linear-gradient(90deg, #fff 20%, #89C2D9 45%, #22BFB3 55%, #fff 80%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s linear infinite;
}
.stat-item h3.counted {
  animation: shimmer 3s linear infinite, countUp 0.5s ease both;
}
.stat-item p {
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  margin: 0;
}

/* ===== Green Therapy & Newsletter Sections ===== */
/* Deep teal band on purpose: a dark rhythm between the light Kisah section above
   and the warm Newsletter below, so the real program photos in the cards carry
   the section instead of a pale pastel gradient (which read as generic). */
.green-therapy-section {
  position: relative;
  background:
    radial-gradient(120% 100% at 50% 0%, rgba(34,191,179,0.20) 0%, transparent 55%),
    linear-gradient(160deg, var(--green-dark) 0%, #0E5B56 60%, #0A4844 100%);
  color: #fff;
  overflow: hidden;
}
/* Faint ambient glow that drifts behind the content — the section's own quiet
   "breathing" light, echoing the hero orbs so motion feels consistent site-wide. */
.green-therapy-section::after {
  content: '';
  position: absolute;
  top: -20%; left: 10%;
  width: 60%; height: 90%;
  background: radial-gradient(circle, rgba(34,191,179,0.28) 0%, transparent 65%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
  animation: drift 30s ease-in-out infinite;
}
.green-therapy-section > .container { position: relative; z-index: 1; }
.green-therapy-section .gt-intro { max-width: 760px; margin: 0 auto; text-align: center; }
.green-therapy-section .gt-eyebrow {
  display: inline-block; margin-bottom: 1rem;
  background: rgba(255,255,255,0.12); color: #EAFBF8;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: var(--radius-pill); padding: 0.35rem 1.1rem;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.04em;
}
.green-therapy-section h2 { color: #fff; }
.green-therapy-section .gt-lead {
  color: rgba(255,255,255,0.82); line-height: 1.85; margin-top: 0.85rem;
}
.green-therapy-section .gt-lead strong { color: #fff; font-weight: 700; }
.gt-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem; margin-top: 2.5rem;
}
.gt-card {
  background: var(--bg); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: 0 18px 40px rgba(0,0,0,0.28);
  display: flex; flex-direction: column;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.gt-card:hover { transform: translateY(-6px); box-shadow: 0 26px 54px rgba(0,0,0,0.34); }
.gt-card-img { aspect-ratio: 4 / 3; background-size: cover; background-position: center; }
.gt-card-body { padding: 1.4rem 1.5rem 1.6rem; text-align: left; }
.gt-card-body h3 { color: var(--green-dark); margin: 0 0 0.5rem; font-size: 1.15rem; }
.gt-card-body p { color: var(--text-mid); font-size: 0.9rem; line-height: 1.65; margin: 0; }
.gt-foot {
  text-align: center; color: rgba(255,255,255,0.7);
  font-size: 0.9rem; margin-top: 1.75rem; font-style: italic;
}
.newsletter-section {
  background: var(--warm);
}
@media (max-width: 768px) {
  .gt-grid { grid-template-columns: 1fr; }
}

/* ===== CTA Section ===== */
.cta-section {
  background: var(--grad-cta);
  color: var(--white);
  text-align: center;
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -60px; left: -60px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: #22BFB3;
  filter: blur(70px);
  opacity: 0.2;
  pointer-events: none;
  animation: breathe 8s ease-in-out infinite;
}
.cta-section h2 { color: var(--white); margin-bottom: 1rem; }
.cta-section p { color: rgba(255,255,255,0.8); max-width: 500px; margin: 0 auto 2rem; }
.cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
/* Partner logo chip: logo art has dark text, so it sits on a white pill to stay legible on the dark CTA. */
.cta-partner { display: flex; flex-direction: column; align-items: center; gap: 0.6rem; margin-top: 2.5rem; }
.cta-partner-label { font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.6); }
.cta-partner-logo { height: 48px; width: auto; background: var(--white); border-radius: 10px; padding: 0.6rem 1rem; box-shadow: 0 6px 20px rgba(0,0,0,0.15); }

/* Booking summary card — confirms what's being booked (image + name + price) at the
   top of the form, so arriving via a program link shows real order context. */
.program-summary {
  display: flex;
  align-items: stretch;
  gap: 1rem;
  background: var(--bg-soft);
  border: 1px solid rgba(34,191,179,0.3);
  border-radius: var(--radius-lg, 16px);
  overflow: hidden;
  margin-bottom: 1.25rem;
}
.program-summary-img {
  flex: 0 0 38%;
  min-height: 150px;
  background-size: cover;
  background-position: center;
}
.program-summary-img--empty {
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem; background: rgba(34,191,179,0.12);
}
.program-summary-body { padding: 1.1rem 1.25rem; display: flex; flex-direction: column; gap: 0.4rem; }
.program-summary-body h3 { margin: 0; font-size: 1.25rem; }
.program-summary-price { margin: 0; font-weight: 700; color: var(--green-dark); }
@media (max-width: 560px) {
  .program-summary { flex-direction: column; }
  .program-summary-img { flex-basis: auto; width: 100%; height: 160px; }
}

/* ===== Footer ===== */
.footer {
  background: var(--text-dark);
  color: rgba(255,255,255,0.8);
  padding: 3rem 0 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
.footer-brand .brand-name {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 0.5rem;
  display: block;
}
.footer-brand p { font-size: 0.9rem; margin-top: 0.75rem; }
.footer h4 {
  color: var(--white);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.footer ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer ul a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  transition: color 0.2s;
}
.footer ul a:hover { color: var(--green-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  flex-wrap: wrap;
  gap: 0.5rem;
}
.social-links { display: flex; gap: 0.75rem; }
.social-links a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  transition: all 0.2s;
}
.social-links a:hover {
  background: var(--green-light);
  color: var(--white);
}

/* ===== Forms ===== */
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
}
.form-group label .required { color: #E53E3E; margin-left: 2px; }
.form-control {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 1.5px solid #D1D5DB;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
}
.form-control:focus {
  outline: none;
  border-color: var(--green-mid);
  box-shadow: 0 0 0 3px rgba(23,157,146,0.14);
}
.form-control::placeholder { color: #9CA3AF; }
textarea.form-control { resize: vertical; min-height: 100px; }

.checkbox-group { display: flex; flex-direction: column; gap: 0.5rem; }
.checkbox-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-size: 0.9rem;
}
.checkbox-item input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--green-mid); }

.radio-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-size: 0.9rem;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 0.6rem 1.25rem;
  transition: border-color 0.25s, background 0.25s;
  font-family: 'Outfit', sans-serif;
}
.radio-item:has(input:checked) {
  border-color: var(--green-mid);
  background: rgba(34,191,179,0.1);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* ===== Page Header ===== */
.page-header {
  background: var(--grad-hero-kons);
  color: var(--white);
  padding: 5rem 0 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 350px; height: 350px;
  border-radius: 50%;
  background: #22BFB3;
  filter: blur(80px);
  opacity: 0.15;
  pointer-events: none;
}
.page-header h1 { color: var(--white); margin-bottom: 0.75rem; }
.page-header p { color: rgba(255,255,255,0.78); max-width: 560px; margin: 0 auto; font-size: 1.05rem; }

/* Wave shape at bottom of page-header */
.page-header::after {
  content: '';
  display: block;
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 60px;
  background: var(--warm);
  clip-path: ellipse(55% 100% at 50% 100%);
  pointer-events: none;
}

/* ===== Filters ===== */
.filter-bar {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.filter-btn {
  padding: 0.45rem 1.25rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid rgba(21,127,121,0.3);
  background: transparent;
  color: var(--green-dark);
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--forest);
  color: var(--white);
  border-color: var(--forest);
  box-shadow: 0 4px 14px rgba(18,74,68,0.2);
}

/* ===== Big full-width tabs (Program & Produk) ===== */
.tab-bar {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}
.tab-btn {
  padding: 1.1rem 1rem;
  border-radius: var(--radius);
  border: 1.5px solid rgba(21,127,121,0.25);
  background: var(--white);
  color: var(--green-dark);
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
  cursor: pointer;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}
.tab-btn .tab-sub {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.78rem;
  font-weight: 400;
  opacity: 0.7;
}
.tab-btn:hover {
  border-color: var(--forest);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(18,74,68,0.12);
}
.tab-btn.active {
  background: var(--forest);
  color: var(--white);
  border-color: var(--forest);
  box-shadow: 0 8px 22px rgba(18,74,68,0.25);
}
@media (max-width: 640px) {
  /* Keep the tabs SIDE BY SIDE on mobile. Previously they stacked full-width
     (grid rows), which read like a 3-item menu instead of a category filter —
     per Zan the 3 buttons were "confusing". A tight horizontal row of pills
     makes it obvious you're picking one category to filter the cards below. */
  .tab-bar {
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    gap: 0.4rem;
  }
  .tab-btn {
    padding: 0.7rem 0.4rem;
    font-size: 0.82rem;
    border-radius: var(--radius-pill, 999px);
  }
  .tab-btn .tab-sub { display: none; } /* subtitle too cramped side-by-side on phones */
}

/* ===== Alert / Flash ===== */
.alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
}
.alert-success { background: #CDFAF0; color: #0D5C52; border: 1px solid #5EEED4; }
.alert-error { background: #FEE2E2; color: #991B1B; border: 1px solid #FCA5A5; }

/* ===== Admin ===== */
.admin-layout { display: flex; min-height: 100vh; }
.admin-sidebar {
  width: 240px;
  background: var(--forest);
  color: var(--white);
  padding: 2rem 0;
  flex-shrink: 0;
}
.admin-sidebar .sidebar-brand {
  padding: 0 1.5rem 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 1.5rem;
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.1rem;
  font-weight: 600;
}
.admin-sidebar nav a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.5rem;
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.2s;
}
.admin-sidebar nav a:hover,
.admin-sidebar nav a.active {
  background: rgba(255,255,255,0.1);
  color: var(--white);
}
.admin-main { flex: 1; background: #F9FAFB; }
.admin-topbar {
  background: var(--white);
  border-bottom: 1px solid #E5E7EB;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.admin-content { padding: 2rem; }

.stat-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}
.stat-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: 0 1px 4px var(--shadow);
}
.stat-card .stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--green-dark);
  font-family: 'Fraunces', Georgia, serif;
}
.stat-card .stat-label {
  font-size: 0.82rem;
  color: var(--text-light);
  margin-top: 0.25rem;
}

.table-wrapper { overflow-x: auto; }
table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 1px 4px var(--shadow);
}
th {
  background: var(--cream);
  padding: 0.875rem 1rem;
  text-align: left;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-light);
  font-weight: 700;
}
td {
  padding: 0.875rem 1rem;
  border-bottom: 1px solid #F3F4F6;
  font-size: 0.9rem;
}
tr:last-child td { border-bottom: none; }
tr:hover td { background: #FAFAFA; }

.badge {
  display: inline-block;
  padding: 0.2rem 0.65rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
}
.badge-baru { background: #DBEAFE; color: #1E40AF; }
.badge-dikonfirmasi { background: #CDFAF0; color: #0D5C52; }
.badge-selesai { background: #F3F4F6; color: #6B7280; }
.badge-dibatalkan { background: #FEE2E2; color: #991B1B; }

/* ===== Profesional Section Grid ===== */
.profesional-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 960px;
  margin: 0 auto;
}

/* ===== Kontak Page ===== */
.kontak-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.kontak-info { display: flex; flex-direction: column; gap: 1.5rem; }
.kontak-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.kontak-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: rgba(18,74,68,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  color: var(--green-dark);
}
.kontak-item h4 { font-family: 'Nunito', sans-serif; margin-bottom: 0.25rem; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-light); }
.kontak-item p, .kontak-item a { color: var(--text-dark); font-weight: 600; margin: 0; }
.kontak-item a:hover { color: var(--green-mid); }

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    /* override desktop's align-items:center — in a column it was centering each
       link horizontally (shrink-wrapped + centered). Stretch = full-width rows. */
    align-items: stretch;
    text-align: left;
    padding: 0.75rem;
    border-bottom: 1px solid rgba(18,74,68,0.1);
    box-shadow: 0 4px 16px var(--shadow);
    gap: 0.15rem;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 0.7rem 0.875rem; }
  /* The mobile dropdown panel is ALWAYS white, even when the navbar is scrolled
     (which paints desktop links white). Force dark text/full-width here so links
     don't go white-on-white and invisible when scrolled + open. */
  .navbar.scrolled .nav-links a,
  .navbar.scrolled .nav-links .nav-dropdown-toggle { color: var(--text-mid); }
  .navbar.scrolled .nav-links a:hover,
  .navbar.scrolled .nav-links a.active { color: var(--forest); background: rgba(18,74,68,0.07); }
  .nav-toggle { display: flex; }
  .navbar { position: relative; }
  /* Dropdown mobile */
  .nav-dropdown { width: 100%; }
  .nav-dropdown-toggle { width: 100%; justify-content: space-between; }
  .nav-dropdown-menu {
    position: static;
    box-shadow: none;
    padding: 0 0 0 1rem;
    background: none;
  }
  .nav-dropdown-menu a { font-size: 0.9rem; }
  /* Keep the CTA visually distinct (not full-bleed like nav links) */
  .nav-links .nav-cta { margin-left: 0; margin-top: 0.35rem; text-align: center; }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .form-row { grid-template-columns: 1fr; }
  .kontak-grid { grid-template-columns: 1fr; }
  .hero { min-height: 70vh; }
  .hero-cards { flex-direction: column; gap: 2px; }
  .hero-card:hover { flex: 2.5; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { text-align: center; }
  .admin-sidebar { width: 200px; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .profesional-grid { grid-template-columns: 1fr; gap: 2rem; }
  /* Keep navbar sticky on mobile so hamburger stays visible */
  .navbar { position: sticky; }
}

@media (max-width: 480px) {
  .admin-sidebar { display: none; }
  .section { padding: 2.5rem 0; }
}

/* Hotel selection cards (booking page) */
.hotel-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 0.5rem;
}
.hotel-card {
  border: 2px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  background: #fff;
}
.hotel-card:hover {
  border-color: var(--green);
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.hotel-card--selected {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(34,191,179,0.5), 0 0 18px 4px rgba(34,191,179,0.25);
  transform: translateY(-2px);
}
.hotel-card-img {
  width: 100%;
  height: 130px;
  object-fit: cover;
  display: block;
}
.hotel-card-img--placeholder {
  background: var(--cream);
  height: 130px;
}
.hotel-card-body {
  padding: 0.75rem;
}
.hotel-card-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}
.hotel-card-lokasi {
  font-size: 0.82rem;
  color: var(--text-mid);
  margin-bottom: 0.4rem;
}
.hotel-card-desc {
  font-size: 0.82rem;
  color: var(--text-mid);
  margin-bottom: 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hotel-card-map {
  font-size: 0.8rem;
  color: var(--green);
  text-decoration: none;
  font-weight: 500;
}
.hotel-card-map:hover { text-decoration: underline; }

/* ===== Reduced motion ===== */
/* Respect users who ask for less motion: neutralize entrance/idle/ambient
   animations and make scroll-reveals appear instantly instead of fading up. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal, .reveal-stagger > * { opacity: 1 !important; transform: none !important; }
}
