/* ============================================================
   Pondok Khusus Lansia Al Firdaus
   Brand palette (PRD section 36):
     Deep Forest Green, Warm Cream, Muted Gold,
     Earth Green, Soft Brown
   Prinsip: content first, decoration second.
   Mobile-first, vertical-first, accessible untuk lansia.
   ============================================================ */

:root {
  --green-deep: #1f3a2e;
  --green-earth: #4a6b4a;
  --green-light: #e8efe6;
  --cream: #f7f2e8;
  --cream-dark: #ede5d3;
  --gold: #b8924a;
  --gold-soft: #d9c39a;
  --brown: #8b7355;
  --brown-soft: #b8a78c;

  --surface: #ffffff;
  --text: #2a2a2a;
  --text-muted: #6b6b6b;
  --border: #e3dccd;
  --border-strong: #c9bfa8;

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --maxw: 1100px;
  --pad: 20px;
  --radius: 4px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-earth); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: var(--green-deep); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }
.section { padding: 56px 0; }
.section--tight { padding: 40px 0; }
.section--cream { background: var(--cream); }
.section--white { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section--green { background: var(--green-deep); color: #e8efe6; }
.section--green a { color: var(--gold-soft); }
.section--green a:hover { color: #fff; }

/* ---------- Typography ---------- */
.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.section--green .eyebrow { color: var(--gold-soft); }
h1, h2, h3 { line-height: 1.3; font-weight: 700; color: var(--green-deep); letter-spacing: -0.01em; }
.section--green h1, .section--green h2, .section--green h3 { color: #fff; }
h1 { font-size: 30px; }
h2 { font-size: 24px; margin-bottom: 18px; }
h3 { font-size: 19px; margin-bottom: 10px; }
p { margin-bottom: 16px; }
p:last-child { margin-bottom: 0; }
.lead { font-size: 19px; line-height: 1.6; color: var(--text); }
.section--green .lead { color: #d9d3c4; }
.muted { color: var(--text-muted); }
.section--green .muted { color: #b8b0a0; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.brand__mark {
  width: 36px; height: 36px;
  background: var(--green-deep);
  color: var(--gold-soft);
  font-weight: 700;
  font-size: 15px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius);
  flex-shrink: 0;
}
.brand__name { font-size: 15px; font-weight: 600; line-height: 1.2; color: var(--green-deep); }
.brand__sub { font-size: 12px; color: var(--text-muted); }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 7px 12px;
  font-size: 14px;
  color: var(--green-deep);
  cursor: pointer;
  font-family: inherit;
}
.nav-toggle__bars { display: inline-flex; flex-direction: column; gap: 3px; }
.nav-toggle__bars span { display: block; width: 16px; height: 2px; background: var(--green-deep); }

.site-nav {
  display: none;
  position: absolute;
  top: 60px; left: 0; right: 0;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 8px var(--pad) 16px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.06);
}
.site-nav.open { display: block; }
.site-nav a {
  display: block;
  padding: 11px 4px;
  font-size: 16px;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
}
.site-nav a:last-child { border-bottom: none; }
.site-nav a:hover { color: var(--green-earth); }
.site-nav a.nav-cta {
  margin-top: 8px;
  background: var(--green-deep);
  color: #fff;
  text-align: center;
  border-radius: var(--radius);
  padding: 12px;
  font-weight: 600;
}
.site-nav a.nav-cta:hover { background: var(--green-earth); color: #fff; }
.site-nav a.nav-dashboard {
  margin-top: 8px;
  border: 1px solid var(--border-strong);
  color: var(--green-deep);
  text-align: center;
  border-radius: var(--radius);
  padding: 12px;
  font-weight: 600;
}
.site-nav a.nav-dashboard:hover { background: var(--surface); color: var(--green-earth); border-color: var(--green-earth); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  padding: 13px 22px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  line-height: 1.2;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  min-height: 48px;
}
.btn--primary { background: var(--green-deep); color: #fff; }
.btn--primary:hover { background: var(--green-earth); color: #fff; }
.btn--gold { background: var(--gold); color: #fff; }
.btn--gold:hover { background: #a67e3d; color: #fff; }
.btn--outline { background: transparent; color: var(--green-deep); border-color: var(--border-strong); }
.btn--outline:hover { border-color: var(--green-earth); color: var(--green-earth); }
.btn--light { background: #fff; color: var(--green-deep); }
.btn--light:hover { background: var(--cream); color: var(--green-deep); }
.btn--block { display: flex; width: 100%; }
.btn--sm { font-size: 14px; padding: 9px 16px; min-height: 40px; }
.btn-row { display: flex; flex-direction: column; gap: 10px; }
.btn-row--inline { flex-direction: row; flex-wrap: wrap; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--green-deep);
  color: #e8efe6;
  overflow: hidden;
}
.hero__img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.32;
}
.hero__inner {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 64px var(--pad) 56px;
}
.hero__eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 18px;
}
.hero h1 {
  color: #fff;
  font-size: 30px;
  line-height: 1.25;
  margin-bottom: 20px;
  max-width: 720px;
}
.hero__sub {
  font-size: 18px;
  line-height: 1.6;
  color: #d9d3c4;
  max-width: 620px;
  margin-bottom: 14px;
}
.hero__meta {
  font-size: 15px;
  color: #b8b0a0;
  margin-bottom: 28px;
}
.hero__cta { display: flex; flex-direction: column; gap: 10px; max-width: 360px; }

/* ---------- Program card (homepage) ---------- */
.program-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}
.program-card__title { font-size: 18px; font-weight: 700; color: var(--green-deep); margin-bottom: 6px; }
.program-card__meta { font-size: 14px; color: var(--text-muted); margin-bottom: 14px; }
.program-card__meta span { display: block; }
.program-card__status {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius);
  background: var(--green-light);
  color: var(--green-deep);
  margin-bottom: 14px;
}
.program-card__status--closed { background: #f0e8d8; color: var(--brown); }
.program-empty {
  background: var(--surface);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
  padding: 28px 22px;
  text-align: center;
}
.program-empty p { color: var(--text-muted); margin-bottom: 16px; }

/* ---------- Reframing / text sections ---------- */
.prose { max-width: 680px; }
.prose p { margin-bottom: 18px; }
.standout {
  font-size: 22px;
  line-height: 1.5;
  font-weight: 600;
  color: var(--green-deep);
}
.section--green .standout { color: #fff; }

/* ---------- Section dengan hero media di atas (lebar container) ---------- */
.section--media-top { padding-top: 0; }
.section__hero-media {
  margin: 0 auto 40px;
  width: 100%;
  max-width: var(--maxw);
  padding: 0 var(--pad);
}
.section__hero-media img {
  width: 100%;
  display: block;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

/* ---------- Split layout (text + media, alternating) ---------- */
.split {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: center;
}
.split__media { flex-shrink: 0; width: 100%; }
.split__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
}
.split__body { flex: 1; min-width: 0; }
.split--reverse .split__media { order: -1; }

/* ---------- Bento grid (pengalaman belajar) - semua card sama besar ---------- */
.bento {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.bento__card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.bento__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.bento__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.bento__body { padding: 20px; }
.bento__body h3 { font-size: 18px; margin-bottom: 6px; color: var(--green-deep); }
.bento__body p { font-size: 15px; line-height: 1.55; color: var(--text); margin: 0; }

/* ---------- Profile card (foto + bio) ---------- */
.profile-card {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
}
.profile-card__photo { flex-shrink: 0; }
.profile-card__photo img {
  width: 220px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
}
.profile-card__body { flex: 1; text-align: center; }
.profile-card__social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 16px;
}
.profile-card__social a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--green-deep);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  transition: border-color 0.15s, color 0.15s;
}
.profile-card__social a:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.profile-card__social svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* ---------- Quote block (large statement) ---------- */
.quote-block {
  position: relative;
  padding: 32px 24px;
  background: var(--surface);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.quote-block__text {
  font-size: 22px;
  line-height: 1.5;
  font-weight: 600;
  color: var(--green-deep);
  margin: 0;
}

/* ---------- Schedule grid (rutinitas harian) ---------- */
.schedule-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.schedule-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
}
.schedule-card__time {
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.schedule-card__activity { font-size: 16px; color: var(--text); line-height: 1.5; }
.schedule-card__activity strong { color: var(--green-deep); }
.schedule-note { font-size: 14px; color: var(--text-muted); margin-top: 12px; font-style: italic; }

/* ---------- Facility split ---------- */
.fac-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}
.fac-grid__list { flex: 1; width: 100%; }
.fac-grid__media { flex-shrink: 0; width: 100%; }
.fac-grid__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
}

/* ---------- Tiga kerangka (numbered) ---------- */
.frame-list { display: flex; flex-direction: column; gap: 28px; }
.frame-item { display: flex; gap: 18px; }
.frame-item__num {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border: 1.5px solid var(--gold);
  color: var(--gold);
  font-weight: 700;
  font-size: 15px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
}
.frame-item__body h3 { margin-bottom: 6px; }

/* ---------- Pengalaman (cards with images) ---------- */
.exp-list { display: flex; flex-direction: column; gap: 32px; }
.exp-item { display: flex; flex-direction: column; gap: 16px; }
.exp-item__img { border-radius: var(--radius); overflow: hidden; }
.exp-item__img img { width: 100%; }
.exp-item h3 { margin-bottom: 6px; }

/* ---------- Kurikulum (tag list + schedule) ---------- */
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tag {
  display: inline-block;
  font-size: 14px;
  padding: 7px 14px;
  background: var(--green-light);
  color: var(--green-deep);
  border: 1px solid #cdd8c8;
  border-radius: var(--radius);
}

/* ---------- Brand statement (positioning) ---------- */
.brand-statement {
  text-align: center;
  padding: 48px 0;
  background: var(--green-deep);
  color: #fff;
}
.brand-statement__line {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.brand-statement__sub {
  font-size: 16px;
  color: var(--gold-soft);
  font-weight: 500;
}

/* ---------- Visi & Misi ---------- */
.vision-layout {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 24px;
}
.vision {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.vision__card {
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.vision__card h3 {
  font-size: 16px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}
.vision__statement {
  font-size: 20px;
  line-height: 1.5;
  font-weight: 600;
  color: var(--green-deep);
  margin-bottom: 0;
}
.mission-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mission-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
}
.mission-item::before {
  content: "";
  flex-shrink: 0;
  width: 7px;
  height: 7px;
  margin-top: 9px;
  background: var(--gold);
  border-radius: 50%;
}
.vision__photo {
  flex-shrink: 0;
  align-self: center;
}
.vision__photo img {
  width: 100%;
  border-radius: var(--radius);
}

/* ---------- Master brand statement (emotional) ---------- */
.master-statement {
  text-align: center;
  padding: 64px 0;
  background: var(--cream);
}
.master-statement__text {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--green-deep);
  max-width: 720px;
  margin: 0 auto;
  letter-spacing: -0.01em;
}

/* ---------- Testimoni ---------- */
.testi-list { display: flex; flex-direction: column; gap: 24px; }
.testi-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.testi-card__quote {
  font-size: 18px;
  line-height: 1.55;
  font-weight: 600;
  color: var(--green-deep);
  margin-bottom: 14px;
}
.testi-card__name { font-size: 15px; font-weight: 700; color: var(--text); }
.testi-card__loc { font-size: 14px; color: var(--text-muted); }
.testi-card__body { font-size: 15px; color: var(--text); margin-top: 12px; }

/* ---------- Pembimbing ---------- */
.guide { display: flex; flex-direction: column; gap: 20px; }
.guide__name { font-size: 22px; font-weight: 700; color: var(--green-deep); }
.guide__role { font-size: 15px; color: var(--gold); font-weight: 600; margin-bottom: 14px; }

/* ---------- Why Al Firdaus ---------- */
.why-list { display: flex; flex-direction: column; gap: 22px; }
.why-item h3 { font-size: 17px; margin-bottom: 4px; color: var(--green-deep); }
.section--green .why-item h3 { color: #fff; }

/* ---------- Fasilitas ---------- */
.fac-list { display: flex; flex-direction: column; gap: 10px; }
.fac-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 11px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 15px;
}
.fac-item::before {
  content: "";
  flex-shrink: 0;
  width: 7px; height: 7px;
  margin-top: 9px;
  background: var(--gold);
  border-radius: 50%;
}

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.faq-item__q {
  display: block;
  width: 100%;
  text-align: left;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  color: var(--green-deep);
  background: none;
  border: none;
  padding: 16px 18px;
  cursor: pointer;
  position: relative;
  padding-right: 44px;
}
.faq-item__q::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  font-weight: 400;
  color: var(--gold);
}
.faq-item.open .faq-item__q::after { content: "\2212"; }
.faq-item__a {
  display: none;
  padding: 0 18px 16px;
  font-size: 15px;
  color: var(--text);
  line-height: 1.6;
}
.faq-item.open .faq-item__a { display: block; }

/* ---------- Final CTA ---------- */
.final-cta { text-align: center; }
.final-cta h2 { font-size: 26px; margin-bottom: 16px; }
.final-cta p { font-size: 17px; margin-bottom: 24px; max-width: 560px; margin-left: auto; margin-right: auto; }
.final-cta .btn { display: inline-flex; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--green-deep);
  color: #c4c0b3;
  padding: 40px 0 28px;
  font-size: 14px;
}
.site-footer h4 { color: #fff; font-size: 15px; margin-bottom: 10px; }
.site-footer a { color: var(--gold-soft); }
.site-footer a:hover { color: #fff; }
.footer-grid { display: flex; flex-direction: column; gap: 24px; }
.footer-grid p { margin-bottom: 6px; line-height: 1.55; }
.footer-bottom {
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 13px;
  color: #8e8a7e;
  text-align: center;
}

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 40;
  display: flex;
  gap: 8px;
  padding: 10px var(--pad);
  background: var(--surface);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 12px rgba(0,0,0,0.06);
}
.sticky-cta .btn { flex: 1; }
body { padding-bottom: 70px; }

/* ---------- Forms ---------- */
.form-group { margin-bottom: 18px; }
.form-label { display: block; font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.form-label .req { color: #b85c5c; }
.form-hint { font-size: 13px; color: var(--text-muted); margin-top: 4px; }
.form-control {
  width: 100%;
  font-family: inherit;
  font-size: 16px;
  padding: 11px 13px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  min-height: 46px;
}
.form-control:focus { outline: 2px solid var(--green-earth); outline-offset: 1px; border-color: var(--green-earth); }
textarea.form-control { min-height: 90px; resize: vertical; }
select.form-control { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%234a6b4a' d='M6 8L0 0h12z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.form-error { font-size: 14px; color: #b85c5c; margin-top: 6px; }
.form-control.is-invalid { border-color: #b85c5c; }
.form-legend { font-size: 16px; font-weight: 700; color: var(--green-deep); margin: 24px 0 12px; padding-top: 18px; border-top: 1px solid var(--border); }
.form-alert { padding: 13px 16px; border-radius: var(--radius); margin-bottom: 20px; font-size: 15px; }
.form-alert--error { background: #f7ecec; border: 1px solid #e3c4c4; color: #8a3a3a; }
.form-alert--success { background: var(--green-light); border: 1px solid #cdd8c8; color: var(--green-deep); }

/* ---------- Success page ---------- */
.success-box { text-align: center; padding: 24px 0; }
.success-box__icon { width: 56px; height: 56px; margin: 0 auto 18px; border: 2px solid var(--green-earth); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--green-earth); }
.success-box h1 { font-size: 26px; margin-bottom: 14px; }
.reg-detail {
  text-align: left;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin: 24px 0;
}
.reg-detail__row { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 15px; }
.reg-detail__row:last-child { border-bottom: none; }
.reg-detail__label { color: var(--text-muted); flex-shrink: 0; }
.reg-detail__value { font-weight: 600; color: var(--text); text-align: right; }

/* ---------- Page header (inner pages) ---------- */
.page-head { padding: 40px 0 24px; background: var(--surface); border-bottom: 1px solid var(--border); }
.page-head h1 { font-size: 26px; margin-bottom: 8px; }
.page-head p { color: var(--text-muted); font-size: 16px; }

/* ---------- Admin ---------- */
.admin-body { background: var(--cream); }
.admin-header {
  background: var(--green-deep);
  color: #fff;
  padding: 0 var(--pad);
}
.admin-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1000px;
  margin: 0 auto;
  height: 54px;
}
.admin-header a { color: var(--gold-soft); text-decoration: none; font-size: 14px; }
.admin-header a:hover { color: #fff; }
.admin-nav { display: flex; gap: 18px; flex-wrap: wrap; }
.admin-main { max-width: 1000px; margin: 0 auto; padding: 24px var(--pad) 60px; }
.admin-title { font-size: 22px; margin-bottom: 18px; }
.admin-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; margin-bottom: 18px; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.admin-table th, .admin-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); }
.admin-table th { font-size: 13px; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-muted); }
.admin-table tr:hover td { background: var(--cream); }
.badge { display: inline-block; font-size: 12px; font-weight: 600; padding: 3px 8px; border-radius: var(--radius); }
.badge--baru { background: #e8f0fe; color: #1a4786; }
.badge--dikonfirmasi { background: #fff4e0; color: #8a5a14; }
.badge--lunas, .badge--diterima { background: var(--green-light); color: var(--green-deep); }
.badge--batal { background: #f7ecec; color: #8a3a3a; }
.badge--selesai { background: #ececec; color: #555; }
.badge--menunggu { background: #f0e8d8; color: var(--brown); }
.admin-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.admin-login { max-width: 360px; margin: 60px auto; padding: 0 var(--pad); }
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 24px; }
.stat-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; }
.stat-card__num { font-size: 26px; font-weight: 700; color: var(--green-deep); }
.stat-card__label { font-size: 13px; color: var(--text-muted); margin-top: 2px; }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mb-0 { margin-bottom: 0; }
.hidden { display: none; }

/* ============================================================
   Responsive: tablet & desktop
   ============================================================ */
@media (min-width: 640px) {
  .btn-row { flex-direction: row; align-items: center; }
  .hero h1 { font-size: 38px; }
  .hero__inner { padding: 80px var(--pad) 72px; }
  h1 { font-size: 34px; }
  h2 { font-size: 28px; }
  .standout { font-size: 24px; }
  .exp-item { flex-direction: row; align-items: flex-start; }
  .exp-item__img { flex: 0 0 42%; max-width: 42%; }
  .exp-item__body { flex: 1; }
  .footer-grid { flex-direction: row; justify-content: space-between; flex-wrap: wrap; gap: 40px; }
  .footer-grid > div { flex: 1; min-width: 200px; }
  .stat-grid { grid-template-columns: repeat(4, 1fr); }
  .brand-statement__line { font-size: 32px; }
  .master-statement__text { font-size: 40px; }
  .vision { flex-direction: row; }
  .vision__card { flex: 1; }
  .vision-layout { flex-direction: row; align-items: flex-start; }
  .vision { flex: 1; }
  .vision__photo { flex: 0 0 42%; max-width: 42%; align-self: stretch; display: flex; align-items: center; }
  /* Split layout: 2 kolom di desktop */
  .split { flex-direction: row; align-items: center; }
  .split__media { flex: 0 0 45%; max-width: 45%; }
  .split__body { flex: 1; }
  .split--reverse .split__media { order: 0; }
  /* Bento grid: 2 kolom sama besar */
  .bento { grid-template-columns: repeat(2, 1fr); }
  /* Profile card: foto kiri, bio kanan */
  .profile-card { flex-direction: row; align-items: flex-start; text-align: left; }
  .profile-card__body { text-align: left; }
  .profile-card__social { justify-content: flex-start; }
  /* Facility grid: list kiri, foto kanan */
  .fac-grid { flex-direction: row; align-items: flex-start; }
  .fac-grid__list { flex: 1; }
  .fac-grid__media { flex: 0 0 38%; max-width: 38%; }
}

@media (min-width: 900px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .schedule-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 860px) {
  .nav-toggle { display: none; }
  .site-nav {
    display: flex !important;
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 4px;
    background: none;
    border: none;
    padding: 0;
    box-shadow: none;
  }
  .site-nav a {
    border-bottom: none;
    padding: 8px 12px;
    font-size: 15px;
  }
  .site-nav a.nav-cta {
    margin: 0 0 0 8px;
    padding: 9px 16px;
  }
  .site-nav a.nav-dashboard {
    margin: 0 0 0 8px;
    padding: 8px 16px;
  }
  .sticky-cta { display: none; }
  body { padding-bottom: 0; }
  .hero h1 { font-size: 44px; }
  .hero__cta { flex-direction: row; }
  .frame-list { flex-direction: row; gap: 24px; }
  .frame-item { flex: 1; flex-direction: column; gap: 14px; }
  .testi-list { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
  .why-list { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 32px; }
  .guide { flex-direction: row; align-items: flex-start; }
  .guide__photo { flex: 0 0 200px; }
  .guide__body { flex: 1; }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

/* ---------- Form Kontak hero ---------- */
.kontak-hero {
  position: relative;
  background: var(--green-deep);
  overflow: hidden;
}
.kontak-hero__img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
  opacity: 0.55;
}
.kontak-hero__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
}
.kontak-hero__eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 10px;
}
.kontak-hero__title {
  color: #fff;
  font-size: 30px;
  margin-bottom: 6px;
}
.kontak-hero__sub {
  color: #e8efe6;
  font-size: 18px;
  margin: 0;
}
@media (min-width: 720px) {
  .kontak-hero__img { height: 300px; }
  .kontak-hero__title { font-size: 36px; }
  .kontak-hero__sub { font-size: 20px; }
}

/* ---------- Halaman Testimoni ---------- */
.testi-hero {
  position: relative;
  background: var(--green-deep);
  overflow: hidden;
}
.testi-hero__overlay {
  display: flex;
  align-items: center;
  min-height: 200px;
  padding: 40px 0;
}
.testi-hero__eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 10px;
}
.testi-hero__title {
  color: #fff;
  font-size: 28px;
  margin-bottom: 8px;
}
.testi-hero__sub {
  color: #e8efe6;
  font-size: 17px;
  margin: 0;
  max-width: 560px;
}
@media (min-width: 720px) {
  .testi-hero__overlay { min-height: 260px; padding: 56px 0; }
  .testi-hero__title { font-size: 36px; }
  .testi-hero__sub { font-size: 19px; }
}

/* Grid video TikTok: mobile 1 kolom, tablet 2, desktop 3.
   Vertical-first, tidak ada horizontal scroll. */
.video-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
@media (min-width: 560px) {
  .video-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}

.video-card {
  margin: 0;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.video-card__caption {
  padding: 12px 14px;
  font-size: 15px;
  color: var(--text);
  border-top: 1px solid var(--border);
  background: var(--cream);
}

/* Override default inline style TikTok (min-width:325px) supaya
   embed ikut responsif dan tidak menyebabkan horizontal scroll. */
.video-card .tiktok-embed {
  min-width: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex;
  justify-content: center;
}
.video-card .tiktok-embed iframe {
  max-width: 100%;
}
