/* ============================================================
   Flourish Lembaga Psikologi & Pengembangan SDM
   Main Stylesheet — Ceria, Modern, Kredibel
   ============================================================ */

/* Google Fonts loaded async via header.php <link> for non-blocking render */

/* --- CSS Variables --- */
:root {
  /* Green — ORIGINAL dark values restored */
  --green-900: #0D2818;
  --green-800: #1B4332;
  --green-700: #2D6A4F;
  --green-500: #40916C;
  --green-400: #52B788;
  --green-200: #B7E4C7;
  --green-100: #D8F3DC;
  --green-50:  #F0FAF3;

  /* Yellow — accent */
  --yellow-700: #997200;
  --yellow-600: #B38600;
  --yellow-500: #D4A017;
  --yellow-400: #F4C430;
  --yellow-300: #FFD95A;
  --yellow-200: #FFE99A;
  --yellow-100: #FFF5CC;
  --yellow-50:  #FFFBEC;

  --dark:       #0D1B1E;
  --gray-900:   #111827;
  --gray-800:   #1F2937;
  --gray-700:   #374151;
  --gray-500:   #6B7280;
  --gray-400:   #9CA3AF;
  --gray-200:   #E5E7EB;
  --gray-100:   #F3F4F6;
  --white:      #FFFFFF;

  --font-heading: 'Fraunces', Georgia, serif;
  --font-body:    'Plus Jakarta Sans', sans-serif;

  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  32px;

  --shadow-sm:  0 1px 3px rgba(0,0,0,0.08);
  --shadow-md:  0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg:  0 12px 40px rgba(0,0,0,0.13);
  --shadow-xl:  0 24px 64px rgba(0,0,0,0.16);

  --transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);

  /* ---- Alias variables ---- */
  --green:        #40916C;
  --green-dark:   #1B4332;
  --green-light:  #D8F3DC;
  --yellow:       #F4C430;
  --dark:         #0D1B1E;
  --gray:         #6B7280;
  --border:       #E5E7EB;
  --surface:      #FFFFFF;
  --bg:           #F3F4F6;
  --bg-light:     #F0FAF3;
  --text:         #1F2937;
  --text-muted:   #6B7280;
  --radius:       12px;
  --radius-lg:    20px;
  --shadow:       0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg:    0 12px 40px rgba(0,0,0,0.13);
  --primary:      #1B4332;
  --primary-dark: #0D2818;
  --warning:      #D97706;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; max-width: 100%; }

body {
  font-family: var(--font-body);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: var(--transition); }
ul { list-style: none; }

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.2;
  color: var(--gray-900);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); font-weight: 600; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); font-weight: 600; }
h4 { font-size: 1.15rem; font-weight: 600; }

p { font-size: 1rem; color: var(--gray-700); margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* --- Utility --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }

/* --- Sticky Header --- */
body {
  padding-top: 72px;
}
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.text-center { text-align: center; }
.text-green { color: var(--green-700); }
.text-yellow { color: var(--yellow-500); }
.text-muted { color: var(--gray-500); }

.fw-600 { font-weight: 600; }

.tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.9rem;
  border-radius: 100px;
  background: var(--green-100);
  color: var(--green-700);
}
.tag-yellow {
  background: var(--yellow-100);
  color: var(--yellow-600);
}

.section-header { margin-bottom: 3.5rem; }
.section-header .tag { margin-bottom: 1rem; }
.section-header h2 { margin-bottom: 0.75rem; }
.section-header p { font-size: 1.05rem; max-width: 600px; color: var(--gray-500); }
.section-header.center { text-align: center; }
.section-header.center p { margin: 0 auto; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
  text-decoration: none;
}

/* btn-primary = original dark green */
.btn-primary {
  background: var(--green-800);
  color: var(--white);
  border-color: var(--green-800);
}
.btn-primary:hover {
  background: var(--green-700);
  border-color: var(--green-700);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(27,67,50,0.3);
}

/* btn-green = alias */
.btn-green {
  background: var(--green-800);
  color: var(--white);
  border-color: var(--green-800);
}
.btn-green:hover {
  background: var(--green-700);
  border-color: var(--green-700);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(27,67,50,0.3);
}

/* btn-yellow kept as alias for backwards compat */
.btn-yellow {
  background: var(--yellow-400);
  color: var(--dark);
  border-color: var(--yellow-400);
  font-weight: 700;
}
.btn-yellow:hover {
  background: var(--yellow-300);
  border-color: var(--yellow-300);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(244,196,48,0.4);
}

.btn-outline {
  background: transparent;
  color: var(--green-800);
  border-color: var(--green-800);
}
.btn-outline:hover {
  background: var(--green-800);
  color: var(--white);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn-outline-light:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
}

.btn-white {
  background: var(--white);
  color: var(--green-800);
  border-color: var(--white);
}
.btn-white:hover {
  background: var(--green-50);
  transform: translateY(-2px);
}

.btn-sm { padding: 0.5rem 1.25rem; font-size: 0.875rem; }
.btn-lg { padding: 1rem 2.25rem; font-size: 1.05rem; }

/* --- Navigation --- */
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-logo {
  width: 44px;
  height: 44px;
  background: transparent;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  padding: 2px;
}
.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 6px;
}
.brand-logo bx, .brand-logo i {
  font-size: 1.5rem;
  color: var(--yellow-400);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand-name {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--green-800);
}
.brand-tagline {
  font-size: 0.68rem;
  color: var(--gray-500);
  letter-spacing: 0.04em;
  font-weight: 500;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-700);
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  position: relative;
}
.nav-link:hover, .nav-link.active {
  color: var(--green-700);
  background: var(--green-50);
}
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--green-700);
  border-radius: 2px;
}

.nav-cta { margin-left: 0.75rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0.6rem;
  background: none;
  border: none;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.nav-toggle:hover {
  background: var(--gray-100);
}
.nav-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--gray-800);
  border-radius: 2px;
  transition: var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* --- Hero Section --- */
.hero {
  background: var(--yellow-400);
  background-image:
    radial-gradient(ellipse at 70% 30%, rgba(255,255,255,0.22) 0%, transparent 55%),
    radial-gradient(ellipse at 5% 85%, rgba(45,106,79,0.12) 0%, transparent 50%);
  min-height: 85vh;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  position: relative;
  padding: 1rem 0 0;
}

.hero::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  border: 60px solid rgba(255,255,255,0.12);
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -60px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  border: 40px solid rgba(61,139,94,0.15);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 1.5rem;
  align-items: stretch;
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero-tag {
  background: rgba(0,0,0,0.8);
  color: var(--white);
  border: none;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: 100px;
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
}

.hero h1 {
  color: var(--dark);
  margin-bottom: 1.25rem;
  font-weight: 800;
}

.hero h1 span {
  color: var(--green-700);
  display: block;
}

.hero-sub {
  color: rgba(0,0,0,0.68);
  font-size: 1.1rem;
  line-height: 1.75;
  margin-bottom: 2.25rem;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  border-top: 1px solid rgba(0,0,0,0.12);
  padding-top: 2rem;
  flex-wrap: wrap;
}

.hero-stat-num {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--green-700);
  line-height: 1;
}
.hero-stat-label {
  font-size: 0.82rem;
  color: rgba(0,0,0,0.55);
  margin-top: 0.25rem;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.hero-cards-stack {
  position: relative;
  width: 360px;
  height: 400px;
}

.hero-card {
  position: absolute;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: var(--transition);
}

.hero-card-main {
  top: 0; left: 0;
  width: 100%;
  background: var(--white);
  border-color: transparent;
  box-shadow: var(--shadow-xl);
}

.hero-card-float-1 {
  bottom: 30px; right: -30px;
  width: 180px;
  background: var(--green-700);
  border-color: transparent;
  z-index: 2;
}

.hero-card-float-2 {
  top: 50%; right: -20px;
  transform: translateY(-50%);
  width: 150px;
  background: var(--green-800);
  border-color: transparent;
}

.hero-card-main h4 { color: var(--gray-900); font-size: 1rem; margin-bottom: 0.5rem; }
.hero-card-main p { font-size: 0.82rem; color: var(--gray-500); }

.card-icon-wrap {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--green-100);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.3rem;
  color: var(--green-700);
}

.card-progress-bar {
  height: 4px;
  background: var(--gray-200);
  border-radius: 10px;
  margin-top: 1rem;
  overflow: hidden;
}
.card-progress-fill {
  height: 100%;
  background: var(--green-500);
  border-radius: 10px;
  animation: progressFill 2s ease forwards;
}

@keyframes progressFill {
  from { width: 0; }
  to { width: 75%; }
}

.hero-card-float-1 .float-num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}
.hero-card-float-1 .float-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.8);
  font-weight: 500;
}
.hero-card-float-2 .float-num {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}
.hero-card-float-2 .float-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.8);
  font-weight: 500;
}

/* --- Services Grid --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--green-800);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.service-card:hover {
  border-color: var(--green-200);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 56px; height: 56px;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}
.icon-green  { background: var(--green-100); color: var(--green-700); }
.icon-yellow { background: var(--yellow-100); color: var(--yellow-600); }
.icon-teal   { background: #E0F4F4; color: #1A8080; }
.icon-indigo { background: #EEF2FF; color: #4338CA; }

.service-card h3 { font-size: 1.1rem; margin-bottom: 0.6rem; color: var(--gray-900); }
.service-card p  { font-size: 0.9rem; color: var(--gray-500); line-height: 1.6; }
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.87rem;
  font-weight: 600;
  color: var(--green-700);
  margin-top: 1.25rem;
  transition: var(--transition);
}
.service-link:hover { gap: 0.6rem; color: var(--green-800); }

/* --- USP / Keunggulan --- */
.usp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.usp-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.5rem;
  background: var(--green-50);
  border-radius: var(--radius-md);
  border: 1px solid var(--green-100);
}

.usp-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  border-radius: var(--radius-sm);
  background: var(--green-800);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  color: var(--yellow-400);
}
.usp-item h4 { font-size: 0.95rem; margin-bottom: 0.25rem; color: var(--gray-900); }
.usp-item p { font-size: 0.83rem; color: var(--gray-500); }

/* --- Promo Section --- */
.promo-section { background: var(--gray-100); }
.promo-slider {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.promo-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
}

.promo-card-body {
  padding: 2rem;
  background: var(--green-800);
  color: var(--white);
  position: relative;
  overflow: hidden;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.promo-card-body::after {
  content: '';
  position: absolute;
  top: -30px; right: -30px;
  width: 120px; height: 120px;
  border-radius: 50%;
  background: rgba(244,196,48,0.1);
}

.promo-card-body h3 { font-size: 1.25rem; color: var(--white); margin-bottom: 0.75rem; }
.promo-card-body p { font-size: 0.88rem; color: rgba(255,255,255,0.78); margin-bottom: 1.5rem; }

.promo-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--yellow-400);
  color: var(--dark);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.8rem;
  border-radius: 100px;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.promo-period {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  margin-top: 1rem;
}

.promo-empty {
  text-align: center;
  padding: 3rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 2px dashed var(--gray-200);
}

/* --- Program Filter Bar --- */
.program-filter-bar {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  padding: 1.25rem 0;
  box-shadow: var(--shadow-sm);
  margin-bottom: 0.5rem;
}
.program-filter-inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.program-filter-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-right: 0.25rem;
}
.filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 1.1rem;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 2px solid var(--gray-300, #D1D5DB);
  background: var(--white);
  color: var(--gray-700);
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
}
.filter-pill:hover {
  border-color: var(--green-700);
  color: var(--green-700);
  background: var(--green-50);
}
.filter-pill.active {
  background: var(--green-800);
  color: var(--white);
  border-color: var(--green-800);
}

/* Section-specific CTAs on light backgrounds */
.section-cta-center {
  text-align: center;
  margin-top: 2.5rem;
}


.program-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.program-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1.5px solid var(--gray-200);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.program-card:hover {
  border-color: var(--green-300, #74C69D);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.program-card-head {
  padding: 1.75rem 1.75rem 1.25rem;
  background: linear-gradient(135deg, var(--green-500), var(--green-400));
  position: relative;
  overflow: hidden;
}
.program-card-head::after {
  content: '';
  position: absolute;
  top: -20px; right: -20px;
  width: 80px; height: 80px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
}

.program-cat-badge {
  font-size: 0.73rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(244,196,48,0.2);
  color: var(--yellow-300);
  border: 1px solid rgba(244,196,48,0.25);
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  display: inline-block;
  margin-bottom: 0.75rem;
}

.program-card-head h3 {
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 0;
}

.program-card-head i {
  font-size: 2rem;
  color: rgba(255,255,255,0.2);
  position: absolute;
  bottom: 1rem; right: 1.5rem;
}

.program-card-body {
  padding: 1.5rem 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.program-card-body p {
  font-size: 0.88rem;
  color: var(--gray-500);
  line-height: 1.65;
  flex: 1;
}

.program-meta {
  display: flex;
  gap: 1rem;
  margin: 1rem 0;
  flex-wrap: wrap;
}

.program-meta-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  color: var(--gray-500);
}
.program-meta-item i { font-size: 0.9rem; color: var(--green-500); }

.program-card-foot {
  padding: 1.25rem 1.75rem;
  border-top: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* --- Testimoni --- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
}

.testimonial-card:hover {
  border-color: var(--green-200);
  box-shadow: var(--shadow-md);
}

.testi-stars {
  display: flex;
  gap: 0.2rem;
  margin-bottom: 1rem;
  color: var(--yellow-400);
  font-size: 1rem;
}

.testi-text {
  font-size: 0.93rem;
  color: var(--gray-700);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 1.5rem;
  position: relative;
  padding-left: 1rem;
}

.testi-text::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--yellow-400);
  border-radius: 2px;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testi-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--green-100);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--green-700);
  flex-shrink: 0;
}

.testi-name { font-size: 0.92rem; font-weight: 600; color: var(--gray-900); }
.testi-role { font-size: 0.78rem; color: var(--gray-400); }

/* --- CTA Section --- */
.cta-section {
  background: var(--yellow-400);
  background-image:
    radial-gradient(ellipse at 80% 20%, rgba(255,255,255,0.2) 0%, transparent 50%),
    radial-gradient(ellipse at 10% 80%, rgba(27,67,50,0.1) 0%, transparent 40%);
  padding: 6rem 0;
  text-align: center;
}

.cta-section h2 { color: var(--dark); margin-bottom: 1rem; }
.cta-section p { color: rgba(0,0,0,0.65); font-size: 1.05rem; max-width: 560px; margin: 0 auto 2.5rem; }
.cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* --- Footer --- */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.75);
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-about .brand-name { color: var(--white); }
.footer-about .brand-tagline { color: rgba(255,255,255,0.5); }
.footer-about .brand-logo { background: transparent; }
.footer-about p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  margin: 1rem 0;
  line-height: 1.75;
}

.footer-socials { display: flex; gap: 0.75rem; margin-top: 1.25rem; }
.footer-social-link {
  width: 38px; height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
  border: 1px solid rgba(255,255,255,0.08);
}
.footer-social-link:hover { background: var(--green-700); color: var(--white); }

.footer-col h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  font-family: var(--font-body);
}

.footer-links li { margin-bottom: 0.6rem; }
.footer-links a {
  font-size: 0.87rem;
  color: rgba(255,255,255,0.55);
  transition: var(--transition);
}
.footer-links a:hover { color: var(--yellow-400); padding-left: 4px; }

.footer-contact-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 0.9rem;
}
.footer-contact-item i {
  font-size: 1rem;
  color: var(--green-400);
  margin-top: 0.1rem;
  flex-shrink: 0;
}
.footer-contact-item span {
  font-size: 0.87rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.5;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-bottom span { font-size: 0.83rem; color: rgba(255,255,255,0.4); }

/* --- Floating WhatsApp --- */
.wa-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  transition: var(--transition);
  animation: waPulse 2.5s infinite;
}
.wa-float:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,0.55); }
.wa-float i { font-size: 1.6rem; color: var(--white); }

@keyframes waPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.45); }
  50% { box-shadow: 0 4px 30px rgba(37,211,102,0.70), 0 0 0 10px rgba(37,211,102,0.1); }
}

/* --- Page Header (inner pages) --- */
.page-header {
  background: var(--yellow-400);
  background-image: radial-gradient(ellipse at 70% 50%, rgba(255,255,255,0.25) 0%, transparent 60%);
  padding: 4.5rem 0 3.5rem;
}
.page-header .tag { background: rgba(0,0,0,0.75); color: var(--white); margin-bottom: 1rem; border-color: transparent; }
.page-header h1 { color: var(--green-800); font-size: clamp(1.8rem, 4vw, 2.8rem); }
.page-header p { color: rgba(0,0,0,0.65); font-size: 1.05rem; max-width: 600px; margin-top: 0.75rem; }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.83rem;
  color: rgba(0,0,0,0.5);
  margin-top: 0.75rem;
  line-height: 1;
}
.breadcrumb a { 
  color: rgba(0,0,0,0.6);
  display: inline-flex;
  align-items: center;
  line-height: 1;
  vertical-align: middle;
}
.breadcrumb a:hover { color: var(--green-700); }
.breadcrumb i { 
  font-size: 0.7rem;
  display: inline-flex;
  align-items: center;
  line-height: 1;
  vertical-align: middle;
}
.breadcrumb span {
  display: inline-flex;
  align-items: center;
  line-height: 1;
  vertical-align: middle;
}

/* --- Cards General --- */
.artikel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.artikel-card {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
}
.artikel-card:hover { 
  border-color: var(--green-200); 
  box-shadow: var(--shadow-lg); 
  transform: translateY(-4px);
  cursor: pointer;
}
.artikel-card:active {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.artikel-card-img {
  height: 200px;
  background: var(--green-100);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.artikel-card-img img { width: 100%; height: 100%; object-fit: cover; }
.artikel-card-img-placeholder {
  width: 64px; height: 64px;
  background: var(--green-200);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; color: var(--green-600, #52B788);
}

.artikel-card-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.artikel-card-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
  line-height: 1;
}
.artikel-card-meta .tag { 
  font-size: 0.72rem; 
  padding: 0.35rem 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  margin: 0;
}
.artikel-card-date { 
  font-size: 0.78rem; 
  color: var(--gray-400); 
  display: inline-flex; 
  align-items: center; 
  gap: 0.3rem;
  line-height: 1;
  margin: 0;
}
.artikel-card-body h3 { font-size: 1.05rem; margin-bottom: 0.6rem; line-height: 1.4; }
.artikel-card-body h3 a { color: var(--gray-900); }
.artikel-card-body h3 a:hover { color: var(--green-700); }
.artikel-card-body p { font-size: 0.87rem; color: var(--gray-500); flex: 1; }
.artikel-card-foot {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.autor-info { display: flex; align-items: center; gap: 0.4rem; font-size: 0.8rem; color: var(--gray-500); }

/* --- Forms --- */
.form-group { margin-bottom: 1.5rem; }
.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 0.5rem;
}
.form-label .req { color: #DC2626; margin-left: 2px; }

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 0.93rem;
  color: var(--gray-800);
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  transition: var(--transition);
  outline: none;
}
.form-control:focus {
  border-color: var(--green-500);
  box-shadow: 0 0 0 3px rgba(64,145,108,0.12);
}
.form-control::placeholder { color: var(--gray-400); }

textarea.form-control { min-height: 120px; resize: vertical; }
select.form-control { cursor: pointer; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.5rem; }
.form-full { grid-column: 1 / -1; }

.alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}
.alert i { font-size: 1.1rem; flex-shrink: 0; margin-top: 0.05rem; }
.alert-success { background: #ECFDF5; color: #065F46; border: 1px solid #A7F3D0; }
.alert-error   { background: #FEF2F2; color: #991B1B; border: 1px solid #FECACA; }
.alert-info    { background: #EFF6FF; color: #1E40AF; border: 1px solid #BFDBFE; }

/* --- Layanan Detail Page --- */
.layanan-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.layanan-main-card {
  background: var(--green-800);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.layanan-main-card::after {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: rgba(244,196,48,0.08);
}

.layanan-main-card h3 { color: var(--white); font-size: 1.4rem; margin-bottom: 1rem; }
.layanan-main-card p { color: rgba(255,255,255,0.75); font-size: 0.93rem; line-height: 1.7; }

.layanan-list-items { list-style: none; margin-top: 1.5rem; }
.layanan-list-items li {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.85);
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.layanan-list-items li:last-child { border-bottom: none; }
.layanan-list-items li i { color: var(--yellow-400); font-size: 1rem; flex-shrink: 0; }

.layanan-side-cards { display: flex; flex-direction: column; gap: 1.25rem; }

.layanan-mini-card {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: var(--transition);
}
.layanan-mini-card:hover { border-color: var(--green-200); box-shadow: var(--shadow-md); }
.layanan-mini-card h4 { font-size: 1rem; margin-bottom: 0.4rem; }
.layanan-mini-card p { font-size: 0.85rem; color: var(--gray-500); }

/* --- About Page --- */
.nilai-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.25rem;
}

.nilai-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}
.nilai-card:hover { border-color: #009640; box-shadow: var(--shadow-md); }
.nilai-icon {
  width: 60px; height: 60px;
  border-radius: var(--radius-md);
  background: var(--green-100);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  color: var(--green-700);
  margin: 0 auto 1rem;
}
.nilai-card h4 { font-size: 0.95rem; color: var(--gray-900); margin-bottom: 0.4rem; }
.nilai-card p { font-size: 0.82rem; color: var(--gray-500); }

/* --- Booking Form --- */
.booking-wrapper {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 2.5rem;
  align-items: start;
}

.booking-form-card {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
}

.booking-info {
  background: var(--green-800);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  color: var(--white);
  position: sticky;
  top: 100px;
}

.booking-info h3 { color: var(--white); font-size: 1.2rem; margin-bottom: 1.5rem; }

.booking-info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.booking-info-item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.booking-info-item i { font-size: 1.3rem; color: var(--yellow-400); flex-shrink: 0; margin-top: 0.1rem; }
.booking-info-item h4 { font-size: 0.9rem; color: var(--white); margin-bottom: 0.25rem; }
.booking-info-item p { font-size: 0.83rem; color: rgba(255,255,255,0.6); }

/* --- Artikel Detail --- */
.artikel-detail-wrapper {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3rem;
  align-items: start;
}

.artikel-content {
  background: var(--white);
}

.artikel-content h2 { font-size: 1.5rem; margin: 2rem 0 0.75rem; color: var(--gray-900); }
.artikel-content h3 { font-size: 1.2rem; margin: 1.75rem 0 0.6rem; }
.artikel-content p  { margin-bottom: 1.25rem; line-height: 1.8; }
.artikel-content ul, .artikel-content ol { margin: 1rem 0 1.25rem 1.5rem; }
.artikel-content li { margin-bottom: 0.5rem; line-height: 1.7; color: var(--gray-700); }
.artikel-content strong { color: var(--gray-900); }

.artikel-sidebar { position: sticky; top: 100px; }

.sidebar-card {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 1.5rem;
}
.sidebar-card-head {
  padding: 1rem 1.25rem;
  background: var(--green-800);
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  font-family: var(--font-body);
}
.sidebar-card-body { padding: 1.25rem; }

.artikel-mini {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding-bottom: 0.9rem;
  margin-bottom: 0.9rem;
  border-bottom: 1px solid var(--gray-200);
}
.artikel-mini:last-child { border-bottom: none; padding-bottom: 0; margin-bottom: 0; }
.artikel-mini h5 { font-size: 0.85rem; line-height: 1.4; }
.artikel-mini h5 a { color: var(--gray-800); }
.artikel-mini h5 a:hover { color: var(--green-700); }
.artikel-mini span { font-size: 0.75rem; color: var(--gray-400); margin-top: 0.25rem; display: block; }

/* --- Kontak --- */
.kontak-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 2.5rem;
  align-items: start;
}

/* --- Pagination --- */
.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.pagination a, .pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  border: 1.5px solid var(--gray-200);
  background: var(--white);
  color: var(--gray-700);
  transition: var(--transition);
}
.pagination a:hover { border-color: var(--green-500); color: var(--green-700); }
.pagination .current { background: var(--green-800); color: var(--white); border-color: var(--green-800); }

/* --- Animations --- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* --- Responsive --- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .hero-grid { gap: 2.5rem; }
  .hero-cards-stack { width: 280px; height: 320px; }
  .hero-card-float-1 { right: -10px; }
  .artikel-detail-wrapper { grid-template-columns: 1fr 280px; }
  .booking-wrapper { grid-template-columns: 1fr 340px; }
  .kontak-grid { grid-template-columns: 1fr 340px; }
}

@media (max-width: 768px) {
  .navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to bottom, #ffffff 0%, #fafafa 100%);
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 2px 12px rgba(0,0,0,0.10);
    z-index: 1000;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }
  .navbar-inner {
    padding: 0 1rem;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .nav-menu {
    display: flex;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    background: var(--white);
    border-top: 1px solid var(--gray-200);
    flex-direction: column;
    padding: 1.5rem;
    gap: 0.5rem;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    z-index: 1001;
    max-height: calc(100vh - 72px);
    height: calc(100vh - 72px);
    overflow-y: auto;
    overflow-x: hidden;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
    -webkit-overflow-scrolling: touch;
  }
  .nav-menu.open {
    transform: translateY(0);
  }
  .nav-menu li {
    width: 100%;
    flex-shrink: 0;
  }
  .nav-link {
    width: 100%;
    border-radius: var(--radius-md);
    text-align: center;
    padding: 1rem 1.5rem;
    font-size: 1.05rem;
    color: var(--gray-700);
    transition: all 0.2s ease;
  }
  .nav-link:hover {
    background: var(--green-50);
    color: var(--green-700);
  }
  .nav-link.active {
    background: var(--green-50);
    color: var(--green-700);
    font-weight: 600;
  }
  .nav-link.active::after { display: none; }
  .nav-cta {
    margin-left: 0;
    margin-top: 1rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
    border-top: 1px solid var(--gray-200);
    width: 100%;
    flex-shrink: 0;
  }
  .nav-cta .btn {
    width: 100%;
    justify-content: center;
    padding: 0.85rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-md);
  }
  .nav-toggle { display: flex; }
  .container {
    padding: 0 1rem;
  }

  .hero-grid { 
    grid-template-columns: 1fr; 
    gap: 1rem; 
  }
  .hero-stats { gap: 1rem; }

  .services-grid { grid-template-columns: 1fr 1fr; }
  .program-grid { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .artikel-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  
  .layanan-grid { grid-template-columns: 1fr; }
  .artikel-detail-wrapper { grid-template-columns: 1fr; }
  .artikel-sidebar { position: static; }
  .booking-wrapper { grid-template-columns: 1fr; }
  .booking-info { position: static; }
  .kontak-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  
  .section { padding: 3.5rem 0; }
  .usp-grid { grid-template-columns: 1fr 1fr; }
  .nilai-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .services-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .promo-card { min-width: 280px; }
  .hero-stats { gap: 1rem; flex-wrap: wrap; overflow-x: hidden; }
  .nilai-grid { grid-template-columns: 1fr 1fr; }
}

/* ========== ARTIKEL DETAIL ========== */
.artikel-detail-section { padding: 4rem 0; }
.artikel-detail-layout  { display: grid; grid-template-columns: 1fr 320px; gap: 3rem; align-items: start; }
.artikel-main           { min-width: 0; }
.artikel-kategori-badge a { display:inline-flex; align-items:center; background:var(--green-light); color:var(--green-dark); font-size:.8rem; font-weight:600; padding:.3rem .8rem; border-radius:999px; text-decoration:none; margin-bottom:1rem; }
.artikel-judul          { font-size:2rem; line-height:1.3; color:var(--dark); margin-bottom:1.25rem; }
.artikel-meta           { display:flex; flex-wrap:wrap; gap:1rem; margin-bottom:1.75rem; padding-bottom:1.25rem; border-bottom:1px solid var(--border); }
.meta-item              { display:flex; align-items:center; gap:.4rem; font-size:.85rem; color:var(--gray); }
.meta-item i            { font-size:1rem; color:var(--green); }
.artikel-thumbnail      { border-radius:var(--radius-lg); overflow:hidden; margin-bottom:2rem; }
.artikel-thumbnail img  { width:100%; height:auto; display:block; }
.artikel-konten         { line-height:1.85; color:var(--dark); font-size:1.05rem; }
.artikel-konten h2, .artikel-konten h3 { color:var(--green-dark); margin:1.75rem 0 .75rem; }
.artikel-konten p       { margin-bottom:1.1rem; }
.artikel-konten ul, .artikel-konten ol { padding-left:1.5rem; margin-bottom:1.1rem; }
.artikel-konten li      { margin-bottom:.4rem; }
.artikel-konten strong  { color:var(--dark); }
.artikel-footer         { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:1rem; margin-top:2.5rem; padding-top:1.5rem; border-top:1px solid var(--border); }
.artikel-tags           { display:flex; align-items:center; gap:.5rem; flex-wrap:wrap; font-size:.85rem; }
.tag-label              { color:var(--gray); }
.tag-item               { background:var(--green-light); color:var(--green-dark); padding:.2rem .7rem; border-radius:999px; text-decoration:none; font-size:.8rem; font-weight:600; }
.artikel-share          { display:flex; align-items:center; gap:.5rem; font-size:.85rem; color:var(--gray); }
.share-btn              { width:34px; height:34px; border-radius:50%; display:inline-flex; align-items:center; justify-content:center; font-size:1rem; text-decoration:none; transition:.2s; }
.share-wa               { background:#25d366; color:#fff; }
.share-fb               { background:#1877f2; color:#fff; }
.share-tw               { background:#1da1f2; color:#fff; }
.share-btn:hover        { transform:scale(1.1); }
.artikel-terkait        { margin-top:3rem; padding-top:2rem; border-top:1px solid var(--border); }
.terkait-title          { font-size:1.2rem; color:var(--dark); margin-bottom:1.5rem; }
.terkait-grid           { display:grid; grid-template-columns:repeat(auto-fill,minmax(220px,1fr)); gap:1.25rem; }
.terkait-card           { border:1px solid var(--border); border-radius:var(--radius-lg); overflow:hidden; transition:.2s; }
.terkait-card:hover     { box-shadow:var(--shadow); transform:translateY(-2px); }
.terkait-img img        { width:100%; height:140px; object-fit:cover; display:block; }
.terkait-body           { padding:1rem; }
.terkait-kat            { font-size:.72rem; font-weight:700; text-transform:uppercase; letter-spacing:.06em; color:var(--green); }
.terkait-body h4        { font-size:.9rem; margin:.35rem 0 .5rem; }
.terkait-body h4 a      { color:var(--dark); text-decoration:none; }
.terkait-body h4 a:hover{ color:var(--green); }
.terkait-body p         { font-size:.82rem; color:var(--gray); margin:0 0 .5rem; }
.terkait-date           { font-size:.75rem; color:var(--gray); display:flex; align-items:center; gap:.3rem; }

/* ========== KONTAK PAGE ========== */
.kontak-section     { padding: 4rem 0; }
.kontak-layout      { display:grid; grid-template-columns:1fr 480px; gap:3rem; align-items:start; }
.section-title-left { font-size:1.75rem; color:var(--dark); margin-bottom:1rem; }
.kontak-intro       { color:var(--gray); line-height:1.75; margin-bottom:2rem; }
.info-cards         { display:flex; flex-direction:column; gap:1rem; margin-bottom:2rem; }
.info-card          { display:flex; align-items:flex-start; gap:1rem; padding:1rem 1.25rem; background:var(--bg-light); border-radius:var(--radius-lg); border:1px solid var(--border); }
.info-icon          { width:44px; height:44px; background:var(--green); color:#fff; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:1.2rem; flex-shrink:0; }
.info-text h4       { font-size:.95rem; margin:0 0 .25rem; }
.info-text p, .info-text a { font-size:.88rem; color:var(--gray); margin:0; text-decoration:none; }
.info-text a:hover  { color:var(--green); }
.kontak-wa-box      { display:flex; align-items:center; gap:1.25rem; padding:1.25rem 1.5rem; background:linear-gradient(135deg,#25d366,#128c7e); color:#fff; border-radius:var(--radius-lg); margin-bottom:1.75rem; }
.wa-box-icon        { font-size:2.5rem; flex-shrink:0; }
.wa-box-text h4     { margin:0 0 .25rem; font-size:1rem; }
.wa-box-text p      { font-size:.85rem; opacity:.85; margin:0 0 .75rem; }
.kontak-sosial h4   { font-size:.95rem; margin-bottom:.75rem; }
.sosial-links       { display:flex; gap:.6rem; }
.sosial-link        { width:40px; height:40px; border-radius:50%; background:var(--green); color:#fff; display:flex; align-items:center; justify-content:center; font-size:1.1rem; text-decoration:none; transition:.2s; }
.sosial-link:hover  { background:var(--green-dark); transform:translateY(-2px); }
.kontak-form-card   { background:var(--white); border:1px solid var(--border); border-radius:var(--radius-lg); padding:2rem; box-shadow:var(--shadow); }
.kontak-form-card h3{ font-size:1.3rem; margin:0 0 .5rem; }
.kontak-form-card p { font-size:.88rem; color:var(--gray); margin:0 0 1.5rem; }
.kontak-form .form-row { display:grid; grid-template-columns:1fr 1fr; gap:1rem; }
.kontak-form .form-group { margin-bottom:1.1rem; }
.kontak-form label  { display:block; font-size:.82rem; font-weight:600; color:var(--dark); margin-bottom:.4rem; }
.kontak-form input, .kontak-form select, .kontak-form textarea {
  width:100%; padding:.65rem .9rem; border:1.5px solid var(--border); border-radius:var(--radius);
  font-size:.9rem; font-family:inherit; background:var(--white); color:var(--dark);
}
.kontak-form input:focus, .kontak-form select:focus, .kontak-form textarea:focus { outline:none; border-color:var(--green); }
.kontak-form .has-error input, .kontak-form .has-error select, .kontak-form .has-error textarea { border-color:#dc2626; }
.error-msg  { font-size:.77rem; color:#dc2626; margin-top:.25rem; display:block; }
.required   { color:#dc2626; }
.faq-section { padding:4rem 0; }
.faq-grid   { display:grid; grid-template-columns:repeat(auto-fill,minmax(360px,1fr)); gap:1.5rem; }
.faq-item   { background:var(--white); border:1px solid var(--border); border-radius:var(--radius-lg); padding:1.5rem; }
.faq-question { display:flex; align-items:flex-start; gap:.75rem; margin-bottom:.75rem; }
.faq-question i { font-size:1.3rem; color:var(--green); flex-shrink:0; margin-top:.1rem; }
.faq-question h4 { font-size:.95rem; margin:0; }
.faq-item p { font-size:.88rem; color:var(--gray); line-height:1.7; margin:0; }
.alert      { display:flex; align-items:flex-start; gap:.75rem; padding:1rem 1.25rem; border-radius:var(--radius-lg); margin-bottom:1.25rem; font-size:.88rem; }
.alert i    { font-size:1.3rem; flex-shrink:0; }
.alert-success { background:#dcfce7; color:#166534; border:1px solid #bbf7d0; }
.alert-error   { background:#fee2e2; color:#991b1b; border:1px solid #fecaca; }
.alert-warning { background:#fef9c3; color:#713f12; border:1px solid #fde68a; }
.alert div strong { display:block; margin-bottom:.2rem; }
.alert div p  { margin:0; font-size:.85rem; }

/* ========== BOOKING PAGE ========== */
.booking-section    { padding: 4rem 0; }
.booking-layout     { display:grid; grid-template-columns:1fr 340px; gap:3rem; align-items:start; }
.booking-form-card  { background:var(--white); border:1px solid var(--border); border-radius:var(--radius-lg); padding:2rem; box-shadow:var(--shadow); }
.booking-form-card h2 { font-size:1.4rem; margin:0 0 .5rem; }
.booking-form-card > p { font-size:.88rem; color:var(--gray); margin:0 0 1.5rem; }
.booking-form .form-row { display:grid; grid-template-columns:1fr 1fr; gap:1rem; }
.booking-form .form-group { margin-bottom:1.1rem; }
.booking-form label { display:block; font-size:.82rem; font-weight:600; color:var(--dark); margin-bottom:.4rem; }
.booking-form input, .booking-form select, .booking-form textarea {
  width:100%; padding:.65rem .9rem; border:1.5px solid var(--border); border-radius:var(--radius);
  font-size:.9rem; font-family:inherit; background:var(--white); color:var(--dark);
}
.booking-form input:focus, .booking-form select:focus, .booking-form textarea:focus { outline:none; border-color:var(--green); }
.booking-form .has-error input, .booking-form .has-error select { border-color:#dc2626; }
.form-section-label { font-size:.72rem; font-weight:700; text-transform:uppercase; letter-spacing:.07em; color:var(--gray); padding:.3rem 0; border-bottom:1px solid var(--border); margin:1.25rem 0 .75rem; }
.form-note  { font-size:.75rem; color:var(--gray); text-align:center; margin-top:.5rem; }
.booking-steps h3   { font-size:1rem; margin:0 0 1.25rem; }
.steps-list { display:flex; flex-direction:column; gap:1rem; }
.step-item  { display:flex; align-items:flex-start; gap:1rem; }
.step-num   { width:34px; height:34px; border-radius:50%; background:var(--green); color:#fff; font-weight:700; font-size:.95rem; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.step-text h4 { font-size:.9rem; margin:0 0 .2rem; }
.step-text p  { font-size:.82rem; color:var(--gray); margin:0; line-height:1.55; }
.booking-note-box   { display:flex; align-items:flex-start; gap:.75rem; background:#eff6ff; border:1px solid #bfdbfe; border-radius:var(--radius-lg); padding:1.1rem; margin:1.25rem 0; font-size:.84rem; color:#1e40af; }
.booking-note-box i { font-size:1.25rem; flex-shrink:0; margin-top:.1rem; }
.booking-note-box h4{ font-size:.88rem; margin:0 0 .4rem; }
.booking-note-box ul{ margin:0; padding-left:1.25rem; }
.booking-note-box li{ margin-bottom:.25rem; }
.booking-contact h4 { font-size:.9rem; margin:0 0 .4rem; }
.booking-contact p  { font-size:.83rem; color:var(--gray); margin:0 0 .75rem; }
.booking-success    { text-align:center; padding:3rem 2rem; max-width:560px; margin:0 auto; }
.success-icon       { font-size:4rem; color:var(--green); margin-bottom:1rem; }
.booking-success h2 { font-size:1.75rem; color:var(--dark); margin-bottom:.75rem; }
.booking-success > p { color:var(--gray); line-height:1.7; margin-bottom:1.5rem; }
.booking-kode       { display:inline-flex; flex-direction:column; align-items:center; gap:.35rem; background:var(--green-light); border:2px dashed var(--green); border-radius:var(--radius-lg); padding:1rem 2rem; margin-bottom:1rem; }
.kode-label         { font-size:.8rem; color:var(--gray); }
.kode-value         { font-family:monospace; font-size:1.5rem; font-weight:700; color:var(--green-dark); letter-spacing:.1em; }
.booking-note       { font-size:.83rem; color:var(--gray); margin-bottom:2rem; }
.success-actions    { display:flex; gap:.75rem; justify-content:center; flex-wrap:wrap; }
.btn-sm { padding:.45rem .9rem; font-size:.85rem; }
.btn-block { width:100%; text-align:center; justify-content:center; }
.btn-lg { padding:.85rem 1.5rem; font-size:1rem; }

/* ========== PAGE HERO SHORT ========== */
.page-hero--short { padding:2rem 0 1rem; background:var(--green-dark); }
.page-hero--short .breadcrumb { margin:0; }

/* ========== SIDEBAR (artikel & program) ========== */
.artikel-sidebar    { position:sticky; top:90px; }
.sidebar-widget     { background:var(--white); border:1px solid var(--border); border-radius:var(--radius-lg); padding:1.5rem; margin-bottom:1.5rem; }
.widget-title       { font-size:1rem; margin:0 0 1rem; padding-bottom:.6rem; border-bottom:2px solid var(--green); color:var(--dark); }
.sidebar-search     { display:flex; overflow:hidden; border:1.5px solid var(--border); border-radius:var(--radius); }
.sidebar-search input { flex:1; padding:.6rem .9rem; border:none; font-size:.88rem; background:transparent; color:var(--dark); }
.sidebar-search input:focus { outline:none; }
.sidebar-search button { padding:0 .9rem; background:var(--green); border:none; color:#fff; cursor:pointer; font-size:1rem; border:none; color:#fff; cursor:pointer; font-size:1rem; }
.sidebar-kategori   { list-style:none; padding:0; margin:0; }
.sidebar-kategori li a { display:flex; align-items:center; gap:.5rem; padding:.5rem 0; font-size:.88rem; color:var(--dark); text-decoration:none; border-bottom:1px solid var(--border); }
.sidebar-kategori li:last-child a { border-bottom:none; }
.sidebar-kategori li a:hover { color:var(--green); }
.kat-count          { margin-left:auto; font-size:.76rem; color:var(--gray); }
.sidebar-recent     { list-style:none; padding:0; margin:0; }
.sidebar-recent li a { display:flex; flex-direction:column; gap:.2rem; padding:.6rem 0; border-bottom:1px solid var(--border); text-decoration:none; }
.sidebar-recent li:last-child a { border-bottom:none; }
.sidebar-recent strong { font-size:.87rem; color:var(--dark); line-height:1.4; }
.sidebar-recent span   { font-size:.76rem; color:var(--gray); display:flex; align-items:center; gap:.3rem; }
.sidebar-recent li a:hover strong { color:var(--green); }
.sidebar-cta        { background:linear-gradient(135deg,var(--green-dark),var(--green)); color:#fff; border-radius:var(--radius-lg); padding:1.75rem; text-align:center; }
.sidebar-cta-icon   { font-size:2.5rem; margin-bottom:.75rem; opacity:.9; }
.sidebar-cta h4     { font-size:1rem; margin:0 0 .5rem; }
.sidebar-cta p      { font-size:.85rem; opacity:.85; margin:0 0 1rem; line-height:1.6; }
.sidebar-cta .btn   { margin-bottom:.5rem; }
/* Sidebar-specific outline button (white on dark bg) */
.sidebar-cta .btn-outline-white { border:2px solid rgba(255,255,255,.7); background:transparent; color:#fff; border-radius:var(--radius-md); padding:.5rem 1rem; font-size:.85rem; font-weight:600; text-decoration:none; display:inline-flex; align-items:center; gap:.4rem; }
.sidebar-cta .btn-outline-white:hover { background:rgba(255,255,255,.15); }

/* Responsive fixes */
@media (max-width: 992px) {
  .artikel-detail-layout, .kontak-layout, .booking-layout { grid-template-columns: 1fr; }
  .artikel-sidebar { position:static; }
  .kontak-form-wrap, .booking-form-wrap { order:-1; }
  .booking-info { order:2; }
}
@media (max-width: 600px) {
  .artikel-judul { font-size:1.5rem; }
  .kontak-form .form-row, .booking-form .form-row { grid-template-columns:1fr; }
  .faq-grid { grid-template-columns:1fr; }
  .terkait-grid { grid-template-columns:1fr; }
}

/* ============================================================
   BOOKING PAGE — Rebuilt
   ============================================================ */
.booking-success-wrap {
  max-width: 560px; margin: 0 auto; text-align: center;
  background: var(--white); border-radius: var(--radius-xl);
  padding: 3.5rem 2.5rem; box-shadow: var(--shadow-lg); border: 1px solid var(--gray-200);
}
.booking-success-icon { font-size: 4rem; color: var(--green-700); margin-bottom: 1rem; }
.booking-success-wrap h2 { margin-bottom: 0.75rem; }
.booking-success-wrap > p { color: var(--gray-500); line-height: 1.75; margin-bottom: 2rem; }
.booking-kode-box {
  background: var(--green-50); border: 2px dashed var(--green-400);
  border-radius: var(--radius-lg); padding: 1.25rem 2rem; margin-bottom: 1rem; display: inline-block;
}
.bk-label { font-size: 0.78rem; color: var(--gray-500); font-weight: 600; margin-bottom: 0.35rem; letter-spacing: 0.06em; text-transform: uppercase; }
.bk-code  { font-family: monospace; font-size: 1.6rem; font-weight: 700; color: var(--green-800); letter-spacing: 0.1em; }

.booking-grid {
  display: grid; grid-template-columns: 1fr 340px; gap: 2rem; align-items: start;
}

/* Booking Form Card */
.bform-card {
  background: var(--white); border-radius: var(--radius-xl);
  padding: 2.25rem; box-shadow: var(--shadow-md); border: 1px solid var(--gray-200);
}
.bform-card h2 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.bform-sub { font-size: 0.88rem; color: var(--gray-500); margin-bottom: 1.75rem; }

.bform-alert {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.75rem 1rem; border-radius: 10px; font-size: 0.85rem; margin-bottom: 1.25rem;
}
.bform-alert i { font-size: 1.1rem; flex-shrink: 0; }
.bform-alert--err  { background: #FEF2F2; color: #991B1B; border: 1px solid #FECACA; }
.bform-alert--warn { background: #FFFBEB; color: #92400E; border: 1px solid #FDE68A; }

.bform-section-label {
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--gray-500); padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--gray-200); margin-bottom: 1rem;
}
.bform-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.bform-group { margin-bottom: 1rem; }
.bform-group label {
  display: block; font-size: 0.82rem; font-weight: 600;
  color: var(--gray-700); margin-bottom: 0.4rem;
}
.req  { color: #DC2626; }
.bopt { font-size: 0.76rem; font-weight: 400; color: var(--gray-400); }

.bform-group input,
.bform-group select,
.bform-group textarea {
  width: 100%; padding: 0.7rem 0.95rem;
  border: 1.5px solid var(--gray-300, #D1D5DB);
  border-radius: 10px; font-size: 0.9rem; font-family: inherit;
  background: var(--gray-50, #F9FAFB); color: var(--gray-900);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.bform-group input:focus,
.bform-group select:focus,
.bform-group textarea:focus {
  outline: none; border-color: var(--green-700);
  background: var(--white); box-shadow: 0 0 0 3px rgba(61,139,94,0.1);
}
.bform-group--err input,
.bform-group--err select,
.bform-group--err textarea { border-color: #DC2626; }
.bform-group--err input:focus,
.bform-group--err select:focus { border-color: #DC2626; box-shadow: 0 0 0 3px rgba(220,38,38,0.1); }
.ferr { font-size: 0.77rem; color: #DC2626; margin-top: 0.25rem; display: block; }

.bform-submit { width: 100%; justify-content: center; margin-top: 0.5rem; }
.bform-note   { font-size: 0.77rem; color: var(--gray-400); text-align: center; margin-top: 0.75rem; }

/* Booking Info Sidebar */
.binfo-sidebar { display: flex; flex-direction: column; gap: 1rem; }

.binfo-card {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl); padding: 1.5rem;
}
.binfo-title {
  font-size: 0.95rem; font-weight: 700; margin-bottom: 1.25rem;
  display: flex; align-items: center; gap: 0.5rem; color: var(--gray-900);
}
.binfo-title i { color: var(--green-700); }

.bsteps { display: flex; flex-direction: column; gap: 1rem; }
.bstep  { display: flex; align-items: flex-start; gap: 1rem; }
.bstep-num {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--green-800); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.88rem; flex-shrink: 0;
}
.bstep-body { display: flex; flex-direction: column; gap: 0.15rem; }
.bstep-body strong { font-size: 0.88rem; color: var(--gray-900); }
.bstep-body span   { font-size: 0.8rem; color: var(--gray-500); line-height: 1.5; }

.binfo-card--note {
  background: #EFF6FF; border-color: #BFDBFE;
}
.binfo-card--note h4 {
  font-size: 0.88rem; color: #1E40AF; display: flex; align-items: center;
  gap: 0.5rem; margin-bottom: 0.75rem;
}
.binfo-card--note h4 i { font-size: 1.1rem; }
.binfo-card--note ul  { padding-left: 1.25rem; }
.binfo-card--note li  { font-size: 0.82rem; color: #1E40AF; margin-bottom: 0.3rem; }

.binfo-card--wa {
  background: linear-gradient(135deg, var(--green-700), var(--green-500));
  color: var(--white); text-align: center;
}
.bwa-icon { font-size: 2.25rem; color: #4ADE80; margin-bottom: 0.75rem; }
.binfo-card--wa h4 { font-size: 1rem; color: var(--white); margin-bottom: 0.4rem; }
.binfo-card--wa p  { font-size: 0.85rem; color: rgba(255,255,255,0.75); margin-bottom: 1rem; }

/* ============================================================
   KONTAK PAGE — Rebuilt
   ============================================================ */

/* Info strip */
.kontak-info-strip {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
}
.kontak-strip-item {
  display: flex; align-items: flex-start; gap: 0.85rem;
}
.kontak-strip-icon {
  width: 42px; height: 42px; border-radius: 10px;
  background: var(--green-50); border: 1px solid var(--green-100);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; color: var(--green-700); flex-shrink: 0;
}
.kontak-strip-item strong {
  display: block; font-size: 0.82rem; font-weight: 700; color: var(--gray-900); margin-bottom: 0.2rem;
}
.kontak-strip-item span,
.kontak-strip-item a {
  font-size: 0.83rem; color: var(--gray-500); text-decoration: none;
}
.kontak-strip-item a:hover { color: var(--green-700); }

/* Main grid */
.kontak-main-grid {
  display: grid; grid-template-columns: 1fr 340px; gap: 2rem; align-items: start;
}

/* Form card */
.kontak-form-card {
  background: var(--white); border-radius: var(--radius-xl);
  padding: 2.25rem; box-shadow: var(--shadow-md); border: 1px solid var(--gray-200);
}
.kontak-form-card h2 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.kontak-form-sub { font-size: 0.88rem; color: var(--gray-500); margin-bottom: 1.75rem; }

.kontak-success {
  text-align: center; padding: 2rem 0;
}
.kontak-success-icon { font-size: 3rem; color: var(--green-700); margin-bottom: 0.75rem; }
.kontak-success h3 { color: var(--gray-900); margin-bottom: 0.5rem; }
.kontak-success p  { color: var(--gray-500); font-size: 0.9rem; }

.kform-alert {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.75rem 1rem; border-radius: 10px; font-size: 0.85rem; margin-bottom: 1.25rem;
}
.kform-alert i { font-size: 1.1rem; flex-shrink: 0; }
.kform-alert--err { background: #FEF2F2; color: #991B1B; border: 1px solid #FECACA; }

.kform-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 0; }
.kform-group { margin-bottom: 1rem; }
.kform-group label {
  display: block; font-size: 0.82rem; font-weight: 600;
  color: var(--gray-700); margin-bottom: 0.4rem;
}
.kform-group input,
.kform-group select,
.kform-group textarea {
  width: 100%; padding: 0.7rem 0.95rem;
  border: 1.5px solid var(--gray-300, #D1D5DB);
  border-radius: 10px; font-size: 0.9rem; font-family: inherit;
  background: var(--gray-50, #F9FAFB); color: var(--gray-900);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.kform-group input:focus,
.kform-group select:focus,
.kform-group textarea:focus {
  outline: none; border-color: var(--green-700);
  background: var(--white); box-shadow: 0 0 0 3px rgba(61,139,94,0.1);
}
.kform-group--err input,
.kform-group--err select,
.kform-group--err textarea { border-color: #DC2626; }

/* Right sidebar */
.kontak-right-sidebar { display: flex; flex-direction: column; gap: 1rem; }

.kontak-wa-card {
  background: linear-gradient(135deg, var(--green-800), var(--green-700));
  border-radius: var(--radius-xl); padding: 1.75rem; text-align: center; color: var(--white);
}
.kontak-wa-icon { font-size: 2.5rem; color: #4ADE80; margin-bottom: 0.75rem; }
.kontak-wa-card h3 { font-size: 1.1rem; color: var(--white); margin-bottom: 0.5rem; }
.kontak-wa-card p  { font-size: 0.85rem; color: rgba(255,255,255,0.75); margin-bottom: 1.25rem; }

.kontak-sosial-card {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl); padding: 1.5rem;
}
.kontak-sosial-card h4 { font-size: 0.95rem; margin-bottom: 1rem; color: var(--gray-900); }
.kontak-sosial-links { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
.kontak-sosial-btn {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.6rem 0.9rem; border-radius: 10px;
  font-size: 0.83rem; font-weight: 600; text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.kontak-sosial-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.kontak-sosial-btn--ig { background: #FEF3F2; color: #E1306C; }
.kontak-sosial-btn--tiktok { background: #000000; color: #FFFFFF; }
.kontak-sosial-btn--li { background: #EFF6FF; color: #0A66C2; }
.kontak-sosial-btn--yt { background: #FEF2F2; color: #FF0000; }

.kontak-faq-card {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl); padding: 1.5rem;
}
.kontak-faq-card > h4 {
  font-size: 0.95rem; margin-bottom: 1rem; color: var(--gray-900);
  display: flex; align-items: center; gap: 0.5rem;
}
.kontak-faq-card > h4 i { color: var(--green-700); }
.kontak-faq-list { display: flex; flex-direction: column; gap: 0; }
.kontak-faq-item {
  border-top: 1px solid var(--gray-100); padding: 0;
}
.kontak-faq-item:first-child { border-top: none; }
.kontak-faq-item summary {
  font-size: 0.85rem; font-weight: 600; color: var(--gray-800);
  cursor: pointer; padding: 0.75rem 0; list-style: none;
  display: flex; justify-content: space-between; align-items: center;
}
.kontak-faq-item summary::after {
  content: '+'; font-size: 1.1rem; color: var(--green-700); flex-shrink: 0;
}
.kontak-faq-item[open] summary::after { content: '−'; }
.kontak-faq-item p {
  font-size: 0.83rem; color: var(--gray-500); line-height: 1.7;
  padding: 0 0 0.75rem; margin: 0;
}

/* ============================================================
   RESPONSIVE — Booking & Kontak
   ============================================================ */
@media (max-width: 1024px) {
  .kontak-info-strip { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .booking-grid       { grid-template-columns: 1fr; }
  .kontak-main-grid   { grid-template-columns: 1fr; }
  .binfo-sidebar      { order: -1; }
  .kontak-right-sidebar { order: -1; }
  .bform-row          { grid-template-columns: 1fr; gap: 0; }
  .kform-row          { grid-template-columns: 1fr; gap: 0; }
}
@media (max-width: 640px) {
  .kontak-info-strip  { grid-template-columns: 1fr; gap: 1rem; }
  .kontak-sosial-links { grid-template-columns: 1fr 1fr; }
  .bform-card, .kontak-form-card { padding: 1.5rem; }
}

/* ============================================================
   FIX: "Lihat Semua Program" & "Baca Semua Artikel" buttons
   These appear on light grey (--gray-100) sections so
   .btn-outline (green border/text) is already correct — but
   ensure they don't inherit the old white sidebar override
   ============================================================ */
.section .btn-outline,
.section .btn.btn-outline {
  background: transparent;
  color: var(--green-800);
  border: 2px solid var(--green-800);
}
.section .btn-outline:hover,
.section .btn.btn-outline:hover {
  background: var(--green-800);
  color: var(--white);
}


/* ============================================================
   PROMO GRID RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .promo-slider { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .promo-slider { grid-template-columns: 1fr; }
}

/* ============================================================
   PAGE HEADER — Yellow matching hero
   ============================================================ */
/* Override any remaining old green page-header styles */
.page-header { overflow: hidden; position: relative; }
.page-header::after {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  pointer-events: none;
}

/* ============================================================
   FOOTER — Sticky bottom action bar
   ============================================================ */



/* ============================================================
   HERO — Photo layout: image anchored to top of its column
   ============================================================ */

/* Visual column: top-aligned so photo top matches heading */
.hero-visual {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-end !important;
  justify-content: flex-start !important;
  padding-top: 4rem !important;
  padding-bottom: 1rem !important;
  padding-right: 0 !important;
}

/* hero-photo-wrap defined in slider section */

/* Text content: vertically centered, with padding */
.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem 0;
}

/* Hero button outline on yellow */
.hero-btn-secondary {
  background: #ffffff !important;
  border: 2px solid #ffffff !important;
  color: var(--green-900) !important;
  font-weight: 700 !important;
  backdrop-filter: none !important;
}
.hero-btn-secondary:hover {
  background: var(--green-800) !important;
  border-color: var(--green-800) !important;
  color: #fff !important;
  transform: translateY(-2px);
}

/* Hide mobile visual on desktop */
.hero-visual-mobile {
  display: none !important;
}

@media (max-width: 768px) {
  .hero { padding: 2rem 0 1rem; min-height: auto; }
  .hero-grid { 
    grid-template-columns: 1fr !important; 
    gap: 0 !important;
  }
  /* Hide desktop visual on mobile */
  .hero-visual { 
    display: none !important;
  }
  /* Show mobile visual */
  .hero-visual-mobile {
    display: block !important;
    margin-bottom: 1.25rem;
  }
  .hero-visual-mobile .hslider-outer {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    justify-content: center;
  }
  .hero-visual-mobile .hero-photo-wrap {
    max-width: 90% !important; 
    margin: 0 auto;
    aspect-ratio: 9/16;
    max-height: 500px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
  }
  .hero-visual-mobile .hslider { width: 100%; height: 100%; position: relative; }
  .hero-visual-mobile .hslide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1.03);
    transition: opacity 0.5s ease, transform 0.5s ease;
    pointer-events: none;
  }
  .hero-visual-mobile .hslide.active {
    opacity: 1;
    transform: scale(1);
    position: relative;
  }
  .hero-visual-mobile .hslide-media {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  .hero-visual-mobile .harrow {
    width: 32px;
    height: 44px;
    border-radius: 8px;
    background: rgba(255,255,255,0.9);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--gray-800);
    transition: var(--transition);
  }
  .hero-visual-mobile .harrow:hover {
    background: var(--white);
    transform: scale(1.05);
  }
  .hero-visual-mobile .hdots {
    display: none;
  }
  .hero-content { padding: 0; }
  .hero-tag { margin-bottom: 1rem; }
  .hero h1 { margin-bottom: 0.75rem; font-size: 1.85rem; line-height: 1.3; }
  .hero-sub { margin-bottom: 1.5rem; font-size: 1rem; line-height: 1.6; }
  .hero-actions { gap: 0.75rem; margin-bottom: 1.25rem; }
  .hero-stats { gap: 1rem; padding-top: 1.25rem; border-top: 1px solid rgba(0,0,0,0.08); }
  .hero-stat-num { font-size: 1.7rem; }
  .hero-stat-label { font-size: 0.75rem; }
}

/* ============================================================
   CTA SECTION — Yellow bg, dark text, dark tag
   ============================================================ */
.cta-section .tag,
.cta-tag-override {
  background: #111111 !important;
  color: #ffffff !important;
  border: none !important;
  font-weight: 700 !important;
}
.cta-section h2 { color: var(--dark) !important; }
.cta-section p  { color: rgba(0,0,0,0.65) !important; }

/* Fix CTA buttons on yellow: green primary, dark outline */
.cta-section .btn-yellow { background: var(--green-800) !important; color: #fff !important; border-color: var(--green-800) !important; }
.cta-section .btn-yellow:hover { background: var(--green-700) !important; }
.cta-section .btn-outline-light { border: 2px solid #ffffff !important; color: var(--dark) !important; background: #ffffff !important; font-weight: 700 !important; }
.cta-section .btn-outline-light:hover { background: var(--green-800) !important; border-color: var(--green-800) !important; color: #fff !important; }

/* ============================================================
   PROGRAM FILTER — gap between page-header and filter
   ============================================================ */
.program-filter-bar {
  margin-top: 1.5rem !important;
  border-radius: var(--radius-md) !important;
}

/* ============================================================
   PROMO CARDS — simpler, equal height grid
   ============================================================ */
.promo-slider {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)) !important;
  gap: 1.5rem !important;
  overflow: hidden;
}
.promo-card {
  display: flex !important;
  flex-direction: column !important;
  min-width: 0 !important;
}
.promo-card-body {
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
}
/* ============================================================
   HERO SLIDER — arrows OUTSIDE frame, dots BELOW frame
   ============================================================ */

/* Outer wrapper: flex row so arrows flank the media */
.hslider-outer {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  justify-content: flex-end;
}

/* Media frame — fixed 9:16 portrait aspect ratio, always fills perfectly */
.hero-photo-wrap {
  position: relative;
  overflow: hidden;
  flex: 1;
  min-width: 0;
  /* 9:16 portrait */
  aspect-ratio: 9 / 16;
  max-height: 640px;
  max-width: calc(640px * 9 / 16); /* = 360px */
  border-radius: var(--radius-xl);
  background: #111;
  box-shadow: 0 20px 56px rgba(27,67,50,0.22);
}

/* Slide track — fills wrap completely */
.hslider { width: 100%; height: 100%; position: relative; display: block; }

/* Individual slide */
.hslide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
}
.hslide.active {
  opacity: 1;
  transform: scale(1);
  position: relative;
  pointer-events: auto;
  width: 100%;
  height: 100%;
}

/* Inner wrapper — always relative so mute button can anchor absolutely */
.hslide-inner {
  position: relative;
  width: 100%;
  height: 100%;
  display: block;
  overflow: hidden;
}

/* Media — always fills frame, crops if needed (no distortion) */
.hslide-media {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
  border-radius: 0;
}

/* Mute button — centered on video */
.hslide-mute {
  position: absolute;
  bottom: 50%;
  left: 50%;
  transform: translate(-50%, 50%);
  width: auto;
  height: 38px;
  padding: 0 18px;
  border-radius: 100px;
  border: none;
  background: rgba(0,0,0,0.65);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: all 0.2s ease;
  z-index: 20;
  white-space: nowrap;
}
.hslide-mute i { font-size: 1rem; }
.hslide-mute::after { content: 'Suara'; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.03em; }
.hslide-mute:hover { background: rgba(0,0,0,0.85); transform: translate(-50%, 50%) scale(1.05); }
.hslide-mute.unmuted { background: rgba(245,197,24,0.92); color: #111; }
.hslide-mute.unmuted::after { content: 'Suara ON'; }

/* Mobile mute button & controls */
@media (max-width: 768px) {
  .hero-visual-mobile .hslide-mute {
    height: 42px;
    padding: 0 20px;
    background: rgba(0,0,0,0.7);
  }
  .hero-visual-mobile .hslide-mute i { font-size: 1.1rem; }
  .hero-visual-mobile .hslide-mute::after { font-size: 0.85rem; }
  .hero-visual-mobile .harrow {
    width: 42px;
    height: 52px;
    border-radius: 10px;
    background: rgba(255,255,255,0.95);
    color: #1A1A1A;
    box-shadow: 0 4px 14px rgba(0,0,0,0.14);
    font-size: 1.4rem;
  }
  .hero-visual-mobile .harrow:hover {
    background: var(--white);
    transform: scale(1.05);
  }
  .hero-visual-mobile .hdots {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

/* ── ARROWS — tall rounded rectangles, flanking the media ── */
.harrow {
  flex-shrink: 0;
  width: 38px;
  height: 80px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  z-index: 30;
  transition: all 0.22s cubic-bezier(0.34,1.56,0.64,1);
  background: rgba(255,255,255,0.95);
  color: #1A1A1A;
  box-shadow: 0 4px 14px rgba(0,0,0,0.14);
  position: static;
  transform: none;
}
.harrow:hover {
  background: var(--yellow-400);
  color: #111;
  transform: scale(1.06);
  box-shadow: 0 6px 20px rgba(245,197,24,0.4);
}

/* ── DOTS — below the outer wrapper, centered ── */
.hdots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
  padding-left: 62px; /* offset to align under media (arrow width + gap) */
  padding-right: 62px;
}
.hdot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--gray-300);
  cursor: pointer;
  transition: all 0.25s ease;
  padding: 0;
}
.hdot.active {
  background: var(--yellow-400);
  width: 24px;
  border-radius: 4px;
}
.hdot:hover:not(.active) { background: var(--gray-400); }

/* Mobile */
@media (max-width: 768px) {
  .hslider-outer { gap: 8px; }
  .harrow { width: 30px; height: 60px; font-size: 1.2rem; border-radius: 8px; }
  .hdots { padding-left: 46px; padding-right: 46px; }
  .hdot { width: 7px; height: 7px; }
  .hdot.active { width: 18px; }
}


/* ── Global mobile overflow fix ── */
html, body { max-width: 100%; overflow-x: hidden; }

/* Prevent hero from causing overflow on mobile */
@media (max-width: 768px) {
  .hero         { overflow: hidden !important; }
  .hero-grid    { overflow: hidden; }
  .hslider-outer { max-width: 100%; overflow: hidden; }
  .harrow-prev  { left: 4px !important; }
  .harrow-next  { right: 4px !important; }
  .navbar-inner { overflow: visible; }
  .section      { overflow-x: hidden; }
  /* Prevent any absolute elements from bleeding out */
  .hero::before, .hero::after { display: none; }
}

/* ============================================================
   ARTIKEL PAGE — mobile responsive
   ============================================================ */
@media (max-width: 768px) {
  /* Fix the inline grid — override to single column */
  .artikel-layout {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
  /* Sidebar moves to bottom on mobile */
  .artikel-sidebar-wrap {
    order: 2;
    position: static !important;
  }
  .artikel-main-wrap { order: 1; }

  /* Search form — stack vertically */
  .artikel-search-form {
    flex-direction: column !important;
    gap: 0.6rem !important;
  }
  .artikel-search-form input { width: 100% !important; }
  .artikel-search-form .btn { width: 100% !important; justify-content: center; }

  /* Article cards — 1 column, horizontal layout on mobile for better scan */
  .artikel-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  .artikel-card {
    display: flex !important;
    flex-direction: row !important;
    min-height: 0 !important;
  }
  .artikel-card-img {
    width: 110px !important;
    min-width: 110px !important;
    height: auto !important;
    flex-shrink: 0;
    border-radius: var(--radius-lg) 0 0 var(--radius-lg) !important;
  }
  .artikel-card-body {
    padding: 0.85rem !important;
  }
  .artikel-card-body h3 {
    font-size: 0.9rem !important;
    margin-bottom: 0.3rem !important;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .artikel-card-body p {
    display: none !important; /* hide excerpt on very small, show title + meta only */
  }
  .artikel-card-foot {
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.5rem !important;
  }
  .artikel-card-meta { flex-wrap: wrap; gap: 0.3rem; }

  /* Sidebar cards — horizontal scroll for categories */
  .artikel-kategori-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
  }
  .sidebar-card { margin-bottom: 1rem; }

  /* Pagination — bigger touch targets */
  .pagination { gap: 0.35rem; flex-wrap: wrap; justify-content: center; }
  .pagination a, .pagination span { 
    min-width: 40px; 
    height: 40px; 
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .artikel-card-img { width: 90px !important; min-width: 90px !important; }
  .artikel-card-body { padding: 0.7rem !important; }
  .artikel-card-body h3 { font-size: 0.85rem !important; }
  .artikel-card-meta .tag { font-size: 0.68rem !important; padding: 0.2rem 0.5rem !important; }
}

/* ============================================================
   COMPREHENSIVE MOBILE-FRIENDLY ENHANCEMENTS
   ============================================================ */

/* --- Base Mobile Improvements --- */
@media (max-width: 768px) {
  /* Ensure all text is readable on mobile */
  body {
    font-size: 15px;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
  }
  
  /* Prevent horizontal scroll */
  .container {
    max-width: 100%;
    overflow-x: hidden;
  }
  
  /* Make all images responsive */
  img {
    max-width: 100%;
    height: auto;
  }
  
  /* Improve touch targets for better mobile UX */
  a, button, .btn, input, select, textarea {
    min-height: 44px;
    touch-action: manipulation;
  }
  
  /* Remove tap highlight on mobile */
  * {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  }
}

/* --- Navigation Mobile Enhancements --- */
@media (max-width: 768px) {
  .navbar {
    z-index: 1000;
  }
  
  .navbar-brand {
    padding: 0.5rem 0;
  }
  
  .brand-logo {
    width: 40px;
    height: 40px;
  }
  
  .brand-name {
    font-size: 1.1rem;
  }
  
  .brand-tagline {
    font-size: 0.7rem;
  }
  
  /* Mobile menu improvements */
  .nav-menu.open {
    overflow-y: auto;
    max-height: calc(100vh - 72px);
  }
  
  .nav-link {
    padding: 0.875rem 1rem;
    font-size: 1rem;
  }
  
  .nav-cta .btn {
    min-height: 48px;
  }
}

/* --- Hero Section Mobile --- */
@media (max-width: 768px) {
  .hero {
    padding: 1.5rem 0 2rem;
  }
  
  .hero-tag {
    font-size: 0.75rem;
    padding: 0.35rem 0.85rem;
  }
  
  .hero h1 {
    font-size: 1.75rem;
    line-height: 1.25;
    margin-bottom: 0.875rem;
  }
  
  .hero-sub {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
  }
  
  .hero-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
  }
  
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
    min-height: 48px;
  }
  
  .hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    padding-top: 1rem;
  }
  
  .hero-stat-num {
    font-size: 1.5rem;
    display: block;
  }
  
  .hero-stat-label {
    font-size: 0.7rem;
    line-height: 1.3;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.5rem;
  }
  
  .hero-sub {
    font-size: 0.9rem;
  }
  
  .hero-stats {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-stat-num {
    font-size: 1.75rem;
  }
}

/* --- Services Grid Mobile --- */
@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .service-card {
    padding: 1.5rem;
  }
  
  .service-icon {
    width: 56px;
    height: 56px;
    font-size: 1.5rem;
  }
  
  .service-card h3 {
    font-size: 1.15rem;
    margin: 1rem 0 0.5rem;
  }
  
  .service-card p {
    font-size: 0.9rem;
    line-height: 1.6;
  }
  
  .service-link {
    font-size: 0.9rem;
    padding: 0.5rem 0;
  }
}

/* --- Program Cards Mobile --- */
@media (max-width: 768px) {
  .program-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .program-card {
    padding: 1.5rem;
  }
  
  .program-card-head h3 {
    font-size: 1.15rem;
    margin-top: 0.5rem;
  }
  
  .program-cat-badge {
    font-size: 0.7rem;
    padding: 0.25rem 0.65rem;
  }
  
  .program-card-body p {
    font-size: 0.9rem;
    line-height: 1.6;
  }
  
  .program-meta {
    gap: 0.75rem;
  }
  
  .program-meta-item {
    font-size: 0.8rem;
  }
  
  .program-card-foot {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
  }
  
  .program-card-foot .btn {
    width: 100%;
    justify-content: center;
    min-height: 44px;
  }
}

/* --- Testimonial Cards Mobile --- */
@media (max-width: 768px) {
  .testimonial-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .testimonial-card {
    padding: 1.5rem;
  }
  
  .testi-text {
    font-size: 0.95rem;
    line-height: 1.7;
  }
  
  .testi-author {
    gap: 0.75rem;
  }
  
  .testi-avatar {
    width: 44px;
    height: 44px;
    font-size: 0.9rem;
  }
  
  .testi-name {
    font-size: 0.95rem;
  }
  
  .testi-role {
    font-size: 0.8rem;
  }
}

/* --- Section Spacing Mobile --- */
@media (max-width: 768px) {
  .section {
    padding: 2.5rem 0;
  }
  
  .section-header {
    margin-bottom: 2rem;
  }
  
  .section-header h2 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
  }
  
  .section-header p {
    font-size: 0.9rem;
    line-height: 1.6;
  }
  
  .tag {
    font-size: 0.7rem;
    padding: 0.3rem 0.75rem;
    margin-bottom: 0.75rem;
  }
}

/* --- CTA Section Mobile --- */
@media (max-width: 768px) {
  .cta-section {
    padding: 2.5rem 0;
  }
  
  .cta-section h2 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
  }
  
  .cta-section p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
  }
  
  .cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
  }
  
  .cta-buttons .btn {
    width: 100%;
    justify-content: center;
    min-height: 48px;
  }
}

/* --- Page Header Mobile --- */
@media (max-width: 768px) {
  .page-header {
    padding: 2rem 0 1.5rem;
  }

  .page-header h1 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
  }

  .page-header p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0.75rem;
  }

  .breadcrumb {
    font-size: 0.8rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
  }

  .breadcrumb i {
    font-size: 0.9rem;
  }
}

/* --- Form Elements Mobile --- */
@media (max-width: 768px) {
  .form-group {
    margin-bottom: 1rem;
  }
  
  .form-label {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    display: block;
  }
  
  .form-control {
    min-height: 48px;
    font-size: 1rem;
    padding: 0.75rem 1rem;
  }
  
  textarea.form-control {
    min-height: 120px;
  }
  
  select.form-control {
    padding-right: 2.5rem;
  }
  
  .form-help {
    font-size: 0.8rem;
    margin-top: 0.35rem;
  }
  
  .form-error {
    font-size: 0.8rem;
    margin-top: 0.35rem;
  }
}

/* --- Booking Page Mobile --- */
@media (max-width: 768px) {
  .booking-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .bform-card {
    padding: 1.5rem;
  }
  
  .bform-card h2 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
  }
  
  .bform-sub {
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
  }
  
  .bform-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .booking-info {
    position: static;
    padding: 1.5rem;
  }
  
  .binfo-item {
    gap: 0.75rem;
  }
  
  .binfo-icon {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
  }
  
  .binfo-text h4 {
    font-size: 0.9rem;
  }
  
  .binfo-text p {
    font-size: 0.85rem;
  }
  
  .booking-success-wrap {
    padding: 2rem 1rem;
  }
  
  .booking-success-icon {
    width: 72px;
    height: 72px;
    font-size: 2.5rem;
  }
  
  .booking-success-wrap h2 {
    font-size: 1.35rem;
  }
  
  .booking-kode-box {
    padding: 1.25rem;
    margin: 1.5rem 0;
  }
  
  .bk-code {
    font-size: 1.5rem;
  }
}

/* --- Contact Page Mobile --- */
@media (max-width: 768px) {
  .kontak-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .kontak-main-grid {
    grid-template-columns: 1fr;
  }
  
  .kontak-form-card {
    padding: 1.5rem;
  }
  
  .kontak-form-card h2 {
    font-size: 1.25rem;
  }
  
  .kform-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .kontak-info-strip {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .info-card {
    padding: 1.25rem;
  }
  
  .info-icon {
    width: 44px;
    height: 44px;
    font-size: 1.2rem;
    flex-shrink: 0;
  }
  
  .info-text h4 {
    font-size: 0.95rem;
  }
  
  .info-text p {
    font-size: 0.85rem;
  }
  
  .kontak-sosial-links {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
  
  .kontak-sosial-btn {
    min-height: 48px;
    font-size: 0.9rem;
  }
}

/* --- Gallery Mobile --- */
@media (max-width: 768px) {
  .loker-tabs {
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
  }
  
  .gtab {
    font-size: 0.85rem;
    padding: 0.625rem 1rem;
    min-height: 44px;
  }
  
  .loker-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
  
  .gcard {
    border-radius: var(--radius-md);
  }
  
  .gcard-media {
    aspect-ratio: 1;
  }
  
  .gcard-overlay {
    font-size: 1.5rem;
  }
  
  .gcard-badge {
    width: 32px;
    height: 32px;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .loker-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }
}

/* --- Lightbox Mobile --- */
@media (max-width: 768px) {
  .lightbox-content {
    max-width: 95%;
    max-height: 80vh;
  }
  
  .lightbox-close {
    width: 44px;
    height: 44px;
    font-size: 1.5rem;
  }
  
  .lightbox-caption {
    font-size: 0.9rem;
    padding: 1rem;
  }
}

/* --- Program Filter Mobile --- */
@media (max-width: 768px) {
  .program-filter-bar {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  .program-filter-inner {
    display: flex;
    gap: 0.5rem;
    padding-bottom: 0.5rem;
    min-width: max-content;
  }
  
  .filter-pill {
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
    min-height: 40px;
    white-space: nowrap;
  }
}

/* --- Program Detail Mobile --- */
@media (max-width: 768px) {
  .program-detail-grid {
    grid-template-columns: 1fr;
  }
  
  .program-detail-grid > div:first-child {
    padding: 2rem 1.5rem;
  }
  
  .program-detail-grid > div:first-child h3 {
    font-size: 1.25rem;
  }
  
  .program-detail-grid > div:last-child {
    padding: 1.5rem;
  }
}

/* --- Layanan Page Mobile --- */
@media (max-width: 768px) {
  .layanan-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .layanan-main-card {
    padding: 1.5rem;
  }
  
  .layanan-main-card h3 {
    font-size: 1.15rem;
  }
  
  .layanan-main-card p {
    font-size: 0.9rem;
    line-height: 1.7;
  }
  
  .layanan-list-items li {
    font-size: 0.9rem;
    padding: 0.5rem 0;
  }
  
  .layanan-side-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  
  .layanan-mini-card {
    padding: 1.25rem;
  }
  
  .layanan-mini-card h4 {
    font-size: 0.95rem;
  }
  
  .layanan-mini-card p {
    font-size: 0.85rem;
  }
}

/* --- Artikel Detail Mobile --- */
@media (max-width: 768px) {
  .artikel-detail-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .artikel-main {
    min-width: auto;
  }
  
  .artikel-judul {
    font-size: 1.5rem;
    line-height: 1.3;
  }
  
  .artikel-meta {
    gap: 0.75rem;
  }
  
  .meta-item {
    font-size: 0.8rem;
  }
  
  .artikel-konten {
    font-size: 1rem;
    line-height: 1.8;
  }
  
  .artikel-konten h2 {
    font-size: 1.25rem;
  }
  
  .artikel-konten h3 {
    font-size: 1.1rem;
  }
  
  .artikel-sidebar {
    position: static;
    margin-top: 2rem;
  }
  
  .sidebar-card {
    padding: 1.25rem;
  }
  
  .artikel-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  
  .artikel-tags {
    width: 100%;
  }
  
  .artikel-share {
    width: 100%;
    justify-content: flex-start;
  }
}

/* --- Footer Mobile --- */
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-col h4 {
    font-size: 1rem;
    margin-bottom: 1rem;
  }
  
  .footer-col p,
  .footer-col a {
    font-size: 0.9rem;
    line-height: 1.8;
  }
  
  .footer-social {
    gap: 0.75rem;
  }
  
  .footer-social a {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
    padding: 1.5rem 0;
  }
  
  .footer-bottom p {
    font-size: 0.85rem;
  }
}

/* --- USP & Nilai Grid Mobile --- */
@media (max-width: 768px) {
  .usp-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .usp-item {
    padding: 1.5rem;
  }
  
  .usp-item h4 {
    font-size: 1.1rem;
  }
  
  .usp-item p {
    font-size: 0.9rem;
  }
  
  .nilai-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .nilai-card {
    padding: 1.5rem;
  }
  
  .nilai-card h4 {
    font-size: 1.1rem;
  }
  
  .nilai-card p {
    font-size: 0.9rem;
  }
}

/* --- Tables Mobile --- */
@media (max-width: 768px) {
  table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
  }
  
  table thead {
    font-size: 0.85rem;
  }
  
  table tbody {
    font-size: 0.9rem;
  }
  
  table td,
  table th {
    padding: 0.75rem 0.5rem;
  }
}

/* --- Buttons Mobile --- */
@media (max-width: 768px) {
  .btn {
    min-height: 48px;
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
  }
  
  .btn-sm {
    min-height: 40px;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }
  
  .btn-lg {
    min-height: 52px;
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
  }
  
  .btn i {
    font-size: 1.1em;
  }
}

/* --- Cards General Mobile --- */
@media (max-width: 768px) {
  .card,
  .service-card,
  .program-card,
  .testimonial-card,
  .artikel-card,
  .bform-card,
  .kontak-form-card {
    border-radius: var(--radius-md);
  }
}

/* --- Pagination Mobile --- */
@media (max-width: 768px) {
  .pagination {
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .pagination a,
  .pagination span {
    min-width: 40px;
    height: 40px;
    font-size: 0.9rem;
  }
}

/* --- Modal/Lightbox Mobile --- */
@media (max-width: 768px) {
  .modal-content,
  .lightbox {
    max-width: 95%;
    max-height: 90vh;
    overflow-y: auto;
  }
  
  .modal-header,
  .lightbox-header {
    padding: 1rem;
  }
  
  .modal-body,
  .lightbox-body {
    padding: 1rem;
  }
  
  .modal-close,
  .lightbox-close {
    width: 44px;
    height: 44px;
    font-size: 1.5rem;
  }
}

/* --- Sticky Elements Mobile --- */
@media (max-width: 768px) {
  .sticky,
  .position-sticky {
    position: sticky;
    top: 72px;
    z-index: 90;
  }
}

/* --- Video Embeds Mobile --- */
@media (max-width: 768px) {
  .video-embed,
  .video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
  }
  
  .video-embed iframe,
  .video-embed video,
  .video-wrapper iframe,
  .video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
}

/* --- FAQ Mobile --- */
@media (max-width: 768px) {
  .faq-item summary {
    font-size: 0.95rem;
    padding: 1rem;
    min-height: 48px;
    align-items: center;
  }
  
  .faq-item p {
    font-size: 0.9rem;
    line-height: 1.7;
    padding: 0 1rem 1rem;
  }
}

/* --- Stats Counter Mobile --- */
@media (max-width: 768px) {
  .stat-item {
    padding: 1rem;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  .stat-label {
    font-size: 0.85rem;
  }
}

/* --- Search Bar Mobile --- */
@media (max-width: 768px) {
  .search-bar,
  .artikel-search-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .search-bar input,
  .artikel-search-form input {
    width: 100%;
    min-height: 48px;
  }
  
  .search-bar button,
  .artikel-search-form button {
    width: 100%;
    min-height: 48px;
    justify-content: center;
  }
}

/* --- Alert/Flash Messages Mobile --- */
@media (max-width: 768px) {
  .alert,
  .flash-message {
    font-size: 0.9rem;
    padding: 0.875rem 1rem;
    max-width: calc(100% - 2rem);
  }
  
  .alert i,
  .flash-message i {
    font-size: 1.1rem;
  }
}

/* --- Print Styles --- */
@media print {
  .navbar,
  .footer,
  .nav-toggle,
  .btn,
  .lightbox,
  .modal {
    display: none !important;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.5;
  }
  
  .container {
    max-width: 100%;
    padding: 0;
  }
}

/* ============================================================
   OVERRIDE INLINE GRID STYLES FOR MOBILE
   (For pages with inline style="display:grid;grid-template-...")
   ============================================================ */

/* Artikel Detail Layout */
@media (max-width: 992px) {
  .artikel-detail-layout,
  div[style*="grid-template-columns:1fr 320px"],
  div[style*="grid-template-columns: 1fr 320px"] {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
  
  .artikel-sidebar {
    position: static !important;
    margin-top: 2rem;
  }
}

/* Artikel Layout */
@media (max-width: 768px) {
  .artikel-layout,
  div[style*="grid-template-columns:1fr 280px"],
  div[style*="grid-template-columns: 1fr 280px"] {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
}

/* Program Detail Grid */
@media (max-width: 768px) {
  .program-detail-grid,
  div[style*="grid-template-columns:280px 1fr"],
  div[style*="grid-template-columns: 280px 1fr"] {
    grid-template-columns: 1fr !important;
  }
  
  .program-detail-grid > div:first-child {
    padding: 2rem 1.5rem !important;
  }
}

/* Responsive 2 Column Layouts */
@media (max-width: 768px) {
  .responsive-2col,
  div[style*="grid-template-columns:1fr 1fr"],
  div[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
}

/* Auto-fill grids - ensure they work on mobile */
@media (max-width: 640px) {
  div[style*="grid-template-columns:repeat(auto-fill,minmax(240px,1fr))"],
  div[style*="grid-template-columns: repeat(auto-fill,minmax(240px,1fr))"] {
    grid-template-columns: 1fr !important;
  }
  
  div[style*="grid-template-columns:repeat(auto-fill,minmax(220px,1fr))"],
  div[style*="grid-template-columns: repeat(auto-fill,minmax(220px,1fr))"] {
    grid-template-columns: 1fr !important;
  }
  
  div[style*="grid-template-columns:repeat(auto-fill,minmax(200px,1fr))"],
  div[style*="grid-template-columns: repeat(auto-fill,minmax(200px,1fr))"] {
    grid-template-columns: 1fr !important;
  }
  
  div[style*="grid-template-columns:repeat(auto-fill,minmax(280px,1fr))"],
  div[style*="grid-template-columns: repeat(auto-fill,minmax(280px,1fr))"] {
    grid-template-columns: 1fr !important;
  }
  
  div[style*="grid-template-columns:repeat(auto-fill,minmax(300px,1fr))"],
  div[style*="grid-template-columns: repeat(auto-fill,minmax(300px,1fr))"] {
    grid-template-columns: 1fr !important;
  }
}

/* Responsive Form Grids */
@media (max-width: 640px) {
  .responsive-form,
  div[style*="grid-template-columns:1fr 1fr;gap:1rem"],
  div[style*="grid-template-columns: 1fr 1fr;gap:1rem"] {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }
}

/* Related Articles Grid */
@media (max-width: 640px) {
  .terkait-grid,
  div[style*="grid-template-columns:repeat(auto-fit,minmax(280px,1fr))"],
  div[style*="grid-template-columns: repeat(auto-fit,minmax(280px,1fr))"] {
    grid-template-columns: 1fr !important;
  }
}

/* ============================================================
   MOBILE NAVIGATION SCROLL FIX
   ============================================================ */
@media (max-width: 768px) {
  /* Ensure horizontal scrolling nav bars work properly */
  .program-filter-bar,
  .loker-tabs,
  div[style*="overflow-x:auto"] {
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  
  div[style*="overflow-x:auto"]::-webkit-scrollbar {
    display: none;
  }
  
  /* Ensure sticky elements work on mobile */
  div[style*="position:sticky"] {
    position: sticky !important;
    top: 72px !important;
    z-index: 90 !important;
  }
}

/* ============================================================
   MOBILE TOUCH OPTIMIZATIONS
   ============================================================ */
@media (max-width: 768px) {
  /* Improve scrolling for horizontal elements */
  .horizontal-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    display: flex;
    flex-wrap: nowrap;
  }
  
  /* Prevent zoom on double tap */
  * {
    touch-action: manipulation;
  }
  
  /* Smooth scrolling for anchor links */
  html {
    scroll-behavior: smooth;
  }
}

/* ============================================================
   MOBILE FIRST - ADDITIONAL FIXES
   ============================================================ */

/* Fix for long words breaking layout on mobile */
@media (max-width: 768px) {
  body {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
  }
  
  /* Prevent code/pre blocks from breaking layout */
  pre, code {
    max-width: 100%;
    overflow-x: auto;
    white-space: pre-wrap;
    word-wrap: break-word;
  }
}

/* Ensure all sections respect mobile viewport */
@media (max-width: 768px) {
  section,
  .section,
  .container {
    max-width: 100%;
    overflow-x: hidden;
  }
}

/* Mobile spacing adjustments for common elements */
@media (max-width: 768px) {
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.25rem; }
  h4 { font-size: 1.1rem; }
  h5 { font-size: 1rem; }
  h6 { font-size: 0.9rem; }
  
  p {
    font-size: 0.95rem;
    line-height: 1.7;
  }
  
  ul, ol {
    padding-left: 1.25rem;
  }
  
  li {
    font-size: 0.95rem;
    line-height: 1.6;
  }
  
  blockquote {
    padding: 1rem 1.25rem;
    margin: 1.5rem 0;
    font-size: 0.95rem;
  }
}

/* Extra small devices */
@media (max-width: 400px) {
  html {
    font-size: 14px;
  }
  
  .container {
    padding: 0 0.75rem;
  }
  
  .btn {
    padding: 0.625rem 1.25rem;
  }
}

/* ============================================================
   Footer UI Components (Moved from footer.php)
   ============================================================ */

/* --- Back to Top Logic --- */
.back-to-top {
  position: fixed;
  bottom: 85px; /* Above WA float */
  right: 20px;
  width: 45px;
  height: 45px;
  background: var(--white);
  color: var(--green-700);
  border: 2px solid var(--green-100);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  bottom: 90px;
}

.back-to-top:hover {
  background: var(--green-600);
  color: var(--white);
  transform: translateY(-5px);
}

@media (max-width: 768px) {
  .back-to-top {
    width: 40px;
    height: 40px;
    bottom: 100px; /* Above mobile share bar if present */
    right: 15px;
  }
}

/* --- Popup Promo Styles --- */
.popup-promo-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none; /* Prevent interaction when hidden */
}

.popup-promo-overlay.active {
  display: flex;
  opacity: 1;
  pointer-events: auto;
}

.popup-promo-modal {
  position: relative;
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.4);
  animation: popupSlideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  margin: auto;
}

@keyframes popupSlideIn {
  from {
    opacity: 0;
    transform: scale(0.85) translateY(-30px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.popup-promo-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  z-index: 10;
  transition: var(--transition);
  backdrop-filter: blur(4px);
}

.popup-promo-close:hover {
  background: var(--green-700);
  transform: scale(1.1);
}

.popup-promo-content {
  display: block;
  width: 100%;
  height: 100%;
}

.popup-promo-link {
  display: block;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.popup-promo-img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 85vh;
  object-fit: contain;
  margin: 0 auto;
}

.popup-promo-img-desktop {
  display: block;
}

.popup-promo-img-mobile {
  display: none;
}

/* Mobile Styles */
@media (max-width: 768px) {
  .popup-promo-overlay {
    padding: 0.5rem;
    align-items: center;
  }

  .popup-promo-modal {
    max-width: 95%;
    max-height: 85vh;
    margin: auto;
  }

  .popup-promo-close {
    top: 0.75rem;
    right: 0.75rem;
    width: 36px;
    height: 36px;
    font-size: 1.3rem;
    z-index: 100;
  }

  .popup-promo-img-desktop {
    display: none;
  }

  .popup-promo-img-mobile {
    display: block;
    width: 100%;
    height: auto;
    max-height: 80vh;
    object-fit: contain;
  }
}
