/* =========================================================================
   BUMDes Migunani Kalinegoro — Tema Website
   Nuansa: mewah, modern & user-friendly
   Palet: hijau emerald + emas (gold) + krem
   Font: Playfair Display (judul) + Inter (isi)
   ========================================================================= */

:root {
  --emerald: #0e6f4a;
  --emerald-600: #0b5a3c;
  --emerald-700: #08472f;
  --emerald-050: #e8f3ee;
  --gold: #c9a227;
  --gold-600: #ad8a1a;
  --gold-soft: #f7efd8;
  --copper: #b4552d;
  --copper-050: #f8ece4;
  --pine: #0d241a;
  --pine-800: #122e21;
  --pine-700: #1a3b2b;
  --ink: #1f2a20;
  --body-c: #4a5148;
  --muted: #757b70;
  --line: #e7e1d1;
  --bg: #faf7f0;
  --bg-soft: #f3eee1;
  --white: #ffffff;

  --font-head: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(13, 36, 26, .06), 0 2px 8px rgba(13, 36, 26, .05);
  --shadow-md: 0 4px 16px rgba(13, 36, 26, .09), 0 2px 4px rgba(13, 36, 26, .05);
  --shadow-lg: 0 16px 40px rgba(13, 36, 26, .16);
  --maxw: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--body-c);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--emerald); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--emerald-700); }
ul, ol { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.18;
  font-weight: 600;
  letter-spacing: -.01em;
}

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

.section { padding: 88px 0; }
.section--soft { background: var(--bg-soft); }

/* Section heading pattern (eyebrow + title + lead) */
.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-head--left { margin-left: 0; text-align: left; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body);
  font-size: 12.5px; font-weight: 600; letter-spacing: .18em;
  text-transform: uppercase; color: var(--gold-600);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: ""; width: 28px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--gold), var(--emerald));
}
.section-head--center .eyebrow::after {
  content: ""; width: 28px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--emerald), var(--gold));
}
.section-title { font-size: clamp(30px, 4vw, 42px); margin-bottom: 16px; }
.section-title .accent { color: var(--gold-600); }
.section-lead { font-size: 17px; color: var(--muted); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-body); font-weight: 600; font-size: 15px;
  padding: 14px 28px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; line-height: 1; transition: all .22s ease;
  letter-spacing: .01em;
}
.btn--primary { background: var(--emerald); color: #fff; }
.btn--primary:hover { background: var(--emerald-700); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--accent { background: var(--gold); color: var(--pine); }
.btn--accent:hover { background: var(--gold-600); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--outline { border-color: rgba(255,255,255,.6); color: #fff; background: transparent; }
.btn--outline:hover { background: #fff; color: var(--pine); }
.btn--ghost { border-color: var(--emerald); color: var(--emerald); background: transparent; }
.btn--ghost:hover { background: var(--emerald); color: #fff; }

/* ============================= TOPBAR ============================= */
.topbar { background: var(--pine); color: #cfd8cd; font-size: 13.5px; }
.topbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 40px; flex-wrap: wrap; padding-top: 6px; padding-bottom: 6px;
}
.topbar a { color: #cfd8cd; }
.topbar a:hover { color: var(--gold); }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.topbar-item { display: inline-flex; align-items: center; gap: 7px; }
.topbar-item svg { width: 15px; height: 15px; color: var(--gold); flex: 0 0 auto; }
.topbar-divider { width: 1px; height: 14px; background: rgba(255,255,255,.18); }

/* ============================= HEADER ============================= */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 247, 240, .9);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-md); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { width: auto; height: 46px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--font-head); font-weight: 600; font-size: 20px; color: var(--pine); letter-spacing: -.01em; }
.brand-name em { font-style: normal; color: var(--emerald); }
.brand-sub { font-size: 11.5px; color: var(--muted); letter-spacing: .02em; }

.main-nav ul { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  display: block; padding: 9px 14px; font-family: var(--font-body);
  font-weight: 600; font-size: 15px; color: var(--ink); border-radius: 8px;
}
.main-nav a:hover { color: var(--emerald); background: var(--emerald-050); }
.main-nav a.active { color: var(--emerald); }
.nav-cta { margin-left: 8px; }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line);
  border-radius: 10px; background: #fff; cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--pine); position: relative; transition: .25s; }
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--pine); transition: .25s;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle.open span { background: transparent; }
.nav-toggle.open span::before { top: 0; transform: rotate(45deg); }
.nav-toggle.open span::after { top: 0; transform: rotate(-45deg); }

/* ============================= HERO ============================= */
.hero {
  position: relative; isolation: isolate; color: #fff;
  padding: 120px 0 132px;
  background: linear-gradient(120deg, var(--pine) 0%, var(--pine-800) 50%, #173826 100%);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover; opacity: .42;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(760px 400px at 84% 12%, rgba(201, 162, 39, .28), transparent 60%),
    radial-gradient(640px 400px at 6% 92%, rgba(14, 111, 74, .55), transparent 62%),
    linear-gradient(180deg, rgba(13,36,26,.62) 0%, rgba(13,36,26,.88) 100%);
}
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(201,162,39,.5);
  color: #ecd9a0; font-family: var(--font-body); font-weight: 600; font-size: 13px;
  padding: 7px 15px; border-radius: 999px; margin-bottom: 22px; letter-spacing: .04em;
}
.hero h1 {
  color: #fff; font-size: clamp(36px, 5.4vw, 58px); font-weight: 600;
  margin-bottom: 18px; line-height: 1.1;
}
.hero h1 .grad {
  background: linear-gradient(90deg, #e6c664, #f4e0a0);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-lead { font-size: 18px; color: #d6ddd2; max-width: 560px; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-meta { display: flex; gap: 22px; margin-top: 34px; flex-wrap: wrap; }
.hero-meta-item { display: flex; align-items: center; gap: 9px; font-size: 14px; color: #d3dcd0; }
.hero-meta-item svg { width: 18px; height: 18px; color: var(--gold); }

/* Hero card (floating info panel) */
.hero-card {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
  border-radius: 20px; padding: 28px; backdrop-filter: blur(8px);
}
.hero-card h3 { color: #fff; font-size: 18px; margin-bottom: 16px; }
.hero-card-list { display: flex; flex-direction: column; gap: 14px; }
.hero-card-item { display: flex; gap: 12px; align-items: flex-start; }
.hero-card-ico {
  flex: 0 0 auto; width: 40px; height: 40px; border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(201, 162, 39, .18); color: #e6c664;
}
.hero-card-ico svg { width: 20px; height: 20px; }
.hero-card-item strong { display: block; color: #fff; font-family: var(--font-body); font-size: 15px; }
.hero-card-item span { font-size: 13.5px; color: #cbd4c8; }

/* ============================= STATS ============================= */
.stats { background: var(--bg); padding: 0; }
.stats-inner {
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin-top: -54px; position: relative; z-index: 5;
  background: #fff; border: 1px solid var(--line); border-radius: 20px;
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.stat { padding: 30px 22px; text-align: center; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat-num { font-family: var(--font-head); font-weight: 600; font-size: 36px; color: var(--emerald); line-height: 1; }
.stat-num .unit { font-size: 21px; }
.stat-label { font-size: 14px; color: var(--muted); margin-top: 8px; }
.stat--green .stat-num { color: var(--gold-600); }
.stat--yellow .stat-num { color: var(--copper); }
.stat--red .stat-num { color: var(--emerald-700); }

/* ============================= ABOUT ============================= */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
.about-media { position: relative; }
.about-media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.about-media img.main { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.about-media .float {
  position: absolute; right: -18px; bottom: -20px; width: 46%;
  border-radius: 14px; border: 5px solid #fff; box-shadow: var(--shadow-md);
  aspect-ratio: 1/1; object-fit: cover;
}
.about-badge {
  position: absolute; top: -18px; left: -14px;
  background: var(--gold); color: var(--pine); border-radius: 14px;
  padding: 12px 18px; font-family: var(--font-head); font-weight: 600;
  display: flex; align-items: center; gap: 9px; box-shadow: var(--shadow-md);
}
.about-badge span { font-size: 24px; line-height: 1; }
.about-badge small { display: block; font-size: 11.5px; font-weight: 500; opacity: .85; }
.about-content p { margin-bottom: 16px; }
.about-points { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 24px; }
.about-point {
  display: flex; gap: 11px; align-items: flex-start;
  padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: 12px;
}
.about-point svg { width: 22px; height: 22px; color: var(--gold-600); flex: 0 0 auto; margin-top: 2px; }
.about-point strong { display: block; color: var(--ink); font-family: var(--font-body); font-size: 15px; font-weight: 600; }
.about-point span { font-size: 13.5px; color: var(--muted); }

/* ============================= VISI MISI ============================= */
.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.vm-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 30px; box-shadow: var(--shadow-sm);
}
.vm-card--visi { border-top: 4px solid var(--gold); }
.vm-card--misi { border-top: 4px solid var(--emerald); }
.vm-card h3 { display: flex; align-items: center; gap: 12px; font-size: 22px; margin-bottom: 16px; }
.vm-card h3 .ico {
  width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex: 0 0 auto;
}
.vm-card--visi h3 .ico { background: var(--gold-soft); color: var(--gold-600); }
.vm-card--misi h3 .ico { background: var(--emerald-050); color: var(--emerald); }
.vm-card h3 svg { width: 22px; height: 22px; }
.vm-card p { font-size: 16.5px; }
.vm-list { display: flex; flex-direction: column; gap: 13px; }
.vm-list li { display: flex; gap: 12px; align-items: flex-start; }
.vm-list .num {
  flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%;
  background: var(--emerald-050); color: var(--emerald);
  font-family: var(--font-body); font-weight: 700; font-size: 13px;
  display: flex; align-items: center; justify-content: center; margin-top: 3px;
}

/* ============================= UNITS ============================= */
.units-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.unit-card {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px 28px;
  box-shadow: var(--shadow-sm); transition: transform .22s ease, box-shadow .22s ease;
  overflow: hidden;
}
.unit-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.unit-card::before {
  content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--emerald));
  opacity: 0; transition: opacity .22s;
}
.unit-card:hover::before { opacity: 1; }
.unit-top { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.unit-ico {
  flex: 0 0 auto; width: 56px; height: 56px; border-radius: 15px;
  display: flex; align-items: center; justify-content: center;
}
.unit-ico svg { width: 28px; height: 28px; }
.unit-card:nth-child(1) .unit-ico { background: var(--emerald-050); color: var(--emerald); }
.unit-card:nth-child(2) .unit-ico { background: var(--gold-soft); color: var(--gold-600); }
.unit-card:nth-child(3) .unit-ico { background: var(--copper-050); color: var(--copper); }
.unit-card:nth-child(4) .unit-ico { background: var(--emerald-050); color: var(--emerald-700); }
.unit-card h3 { font-size: 21px; margin-bottom: 2px; }
.unit-tag { font-size: 12.5px; color: var(--muted); font-family: var(--font-body); font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }
.unit-card p { font-size: 15px; margin-bottom: 16px; }
.unit-stat {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--bg); border-radius: 999px; padding: 6px 14px;
  font-family: var(--font-body); font-weight: 700; font-size: 13.5px; color: var(--emerald);
}
.unit-stat svg { width: 15px; height: 15px; color: var(--gold-600); }

/* ============================= GALLERY ============================= */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery-item {
  position: relative; border-radius: 14px; overflow: hidden; cursor: pointer;
  aspect-ratio: 4/3; background: var(--bg-soft);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery-item:hover img { transform: scale(1.07); }
.gallery-item .cap {
  position: absolute; inset: auto 0 0 0; padding: 34px 16px 14px;
  background: linear-gradient(180deg, transparent, rgba(13,36,26,.8));
  color: #fff; font-family: var(--font-body); font-weight: 600; font-size: 14px;
  opacity: 0; transform: translateY(8px); transition: .28s;
}
.gallery-item:hover .cap { opacity: 1; transform: translateY(0); }

.section-more { text-align: center; margin-top: 28px; }

/* Lightbox galeri */
.lightbox {
  position: fixed; inset: 0; background: rgba(10,26,20,.92); z-index: 1000;
  display: flex; align-items: center; justify-content: center; padding: 20px;
  cursor: zoom-out;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: 10px; box-shadow: 0 24px 70px rgba(0,0,0,.55); }
.lightbox .lb-close {
  position: absolute; top: 18px; right: 26px; color: #fff; font-size: 42px; line-height: 1;
  background: none; border: none; cursor: pointer; opacity: .85;
}
.lightbox .lb-close:hover { opacity: 1; }
.lightbox .lb-cap { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); color: #fff; font-size: 14px; text-align: center; max-width: 80vw; }

/* ============================= MITRA ============================= */
.mitra-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; max-width: 960px; margin-left: auto; margin-right: auto; }
.mitra-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 24px; display: flex; flex-direction: column; align-items: center; gap: 16px; box-shadow: var(--shadow-sm); transition: transform .22s, box-shadow .22s; text-decoration: none; }
.mitra-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.mitra-card img { height: 72px; width: auto; object-fit: contain; }
.mitra-name { font-family: var(--font-body); font-weight: 600; font-size: 15px; color: var(--ink); }
@media (max-width: 820px) { .mitra-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .mitra-grid { grid-template-columns: 1fr; } }

/* ============================= BLOG / BERITA ============================= */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .22s, box-shadow .22s;
  display: flex; flex-direction: column;
}
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.post-thumb { display: block; aspect-ratio: 16/9; background: var(--bg-soft); overflow: hidden; }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.post-card:hover .post-thumb img { transform: scale(1.06); }
.post-body { padding: 20px 20px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-meta { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); }
.post-meta svg { width: 14px; height: 14px; color: var(--gold-600); }
.post-cat {
  display: inline-block; background: var(--emerald-050); color: var(--emerald);
  font-family: var(--font-body); font-weight: 600; font-size: 11.5px;
  padding: 3px 10px; border-radius: 999px; letter-spacing: .03em; align-self: flex-start;
}
.post-card h3 { font-size: 19px; line-height: 1.35; }
.post-card h3 a { color: var(--ink); }
.post-card h3 a:hover { color: var(--emerald); }
.post-snippet { font-size: 14.5px; color: var(--muted); flex: 1; }
.read-more { font-family: var(--font-body); font-weight: 600; font-size: 14px; color: var(--emerald); display: inline-flex; align-items: center; gap: 6px; }
.read-more:hover { gap: 10px; color: var(--emerald-700); }

/* Single post */
.post-single { max-width: 760px; margin: 0 auto; padding: 56px 20px; }
.post-single h1 { font-size: clamp(30px, 4vw, 42px); margin-bottom: 14px; }
.post-single .post-meta { margin-bottom: 26px; }
.post-single .post-content { font-size: 17px; }
.post-single .post-content p { margin-bottom: 18px; }
.post-single .post-content img { border-radius: 12px; margin: 20px 0; }
.post-single .post-content h2, .post-single .post-content h3 { margin: 28px 0 12px; }
.post-single .post-content ul { list-style: disc; padding-left: 22px; margin-bottom: 18px; }
.post-single .post-content a { text-decoration: underline; }
.post-back { display: inline-block; margin-bottom: 24px; font-family: var(--font-body); font-weight: 600; font-size: 14px; color: var(--emerald); }
.post-back:hover { color: var(--emerald-700); }
.post-single .post-content .post-byline { font-style: italic; color: var(--muted); margin-top: 26px; font-size: 14.5px; border-top: 1px solid var(--gold-soft); padding-top: 14px; }

/* Pager */
.blog-pager { display: flex; justify-content: space-between; gap: 12px; margin-top: 40px; }
.blog-pager a {
  font-family: var(--font-body); font-weight: 600; font-size: 14px;
  padding: 10px 20px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink);
}
.blog-pager a:hover { background: var(--emerald); border-color: var(--emerald); color: #fff; }

/* ============================= WIDGET BLOG BAWAAN BLOGGER ============================= */
.blog-posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.blog-posts .post, .blog-posts .post-outer-container, .blog-posts .post-outer {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow-sm);
  transition: transform .22s, box-shadow .22s;
}
.blog-posts .post:hover, .blog-posts .post-outer-container:hover, .blog-posts .post-outer:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.post-title { font-family: var(--font-head); font-size: 20px; line-height: 1.35; margin: 0 0 10px; }
.post-title a { color: var(--ink); }
.post-title a:hover { color: var(--emerald); }
.post-header, .post-footer, .post-labels, .post-share-buttons { display: none; }
.post-body { font-size: 15px; color: var(--muted); line-height: 1.7; }
.post-body img { max-width: 100%; height: auto; border-radius: 10px; margin: 12px 0; }
.blog-pager { display: flex; justify-content: space-between; gap: 12px; margin-top: 40px; }
.blog-pager a { font-family: var(--font-body); font-weight: 600; font-size: 14px; padding: 10px 20px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink); }
.blog-pager a:hover { background: var(--emerald); border-color: var(--emerald); color: #fff; }
@media (max-width: 900px) { .blog-posts { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .blog-posts { grid-template-columns: 1fr; } }

/* ============================= CONTACT ============================= */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 14px; }
.contact-row { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: 13px; }
.contact-row .ico {
  flex: 0 0 auto; width: 44px; height: 44px; border-radius: 12px;
  background: var(--gold-soft); color: var(--gold-600);
  display: flex; align-items: center; justify-content: center;
}
.contact-row svg { width: 20px; height: 20px; }
.contact-row strong { display: block; color: var(--ink); font-family: var(--font-body); font-size: 15px; font-weight: 600; }
.contact-row span { font-size: 14px; color: var(--muted); }
.contact-map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.contact-map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }
.contact-qr { align-items: center; }
.contact-qr .qr-img { width: 96px; height: 96px; border-radius: 10px; border: 1px solid var(--line); flex: 0 0 auto; }
.socmed-links { display: flex; gap: 10px; margin-top: 10px; }
.socmed { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: var(--bg-soft); color: var(--ink); transition: background .2s, color .2s, transform .2s; }
.socmed svg { width: 19px; height: 19px; }
.socmed:hover { transform: translateY(-2px); }
.socmed--fb:hover { background: #1877f2; color: #fff; }
.socmed--ig:hover { background: #e1306c; color: #fff; }
.socmed--yt:hover { background: #ff0000; color: #fff; }

/* ============================= FOOTER ============================= */
.site-footer { background: var(--pine); color: #bcc7bb; font-size: 14.5px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding: 60px 0 40px; }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-sub { color: #9fae9f; }
.footer-brand p { margin-top: 14px; max-width: 300px; }
.footer-col h4 {
  color: #fff; font-size: 15px; margin-bottom: 18px; letter-spacing: .02em;
  font-family: var(--font-body); font-weight: 600;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: #bcc7bb; }
.footer-col a:hover { color: var(--gold); }
.footer-col .contact-line { display: flex; gap: 9px; align-items: flex-start; margin-bottom: 10px; }
.footer-col .contact-line svg { width: 16px; height: 16px; color: var(--gold); flex: 0 0 auto; margin-top: 4px; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a {
  width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center; color: #fff;
}
.socials a:hover { background: var(--emerald); }
.socials svg { width: 18px; height: 18px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 22px 0; }
.footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: 13.5px; color: #94a194; }
.footer-bottom a { color: #c7d0c4; }
.footer-bottom a:hover { color: var(--gold); }

/* ============================= BACK TO TOP ============================= */
.back-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 46px; height: 46px; border-radius: 12px; border: 0; cursor: pointer;
  background: var(--emerald); color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: .25s;
}
.back-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-top:hover { background: var(--emerald-700); }
.back-top svg { width: 20px; height: 20px; }

/* ============================= REVEAL ============================= */
.reveal { transition: opacity .6s ease, transform .6s ease; }
.js .reveal { opacity: 0; transform: translateY(24px); }
.js .reveal.in { opacity: 1; transform: none; }

/* ============================= RESPONSIVE ============================= */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-card { max-width: 560px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .vm-grid { grid-template-columns: 1fr; }
  .units-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .stat { border-top: 1px solid var(--line); }
  .stat:nth-child(1), .stat:nth-child(2) { border-top: 0; }
  .stat:nth-child(3) { border-left: 0; }
}

@media (max-width: 640px) {
  .section { padding: 60px 0; }
  .nav-toggle { display: flex; }
  .main-nav {
    display: none;
    position: fixed; inset: 0; z-index: 99; background: #fff;
    padding: 100px 24px 40px;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 6px; }
  .main-nav a { font-size: 18px; padding: 14px 16px; }
  .nav-cta { margin-left: 0; margin-top: 12px; }
  .hero { padding: 76px 0 96px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .topbar-right { display: none; }
  .stats-inner { grid-template-columns: 1fr 1fr; margin-top: -40px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .about-points { grid-template-columns: 1fr; }
  .about-media .float { right: -6px; bottom: -12px; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom-inner { justify-content: center; text-align: center; }
  .back-top { right: 16px; bottom: 16px; }
}

/* ===== Modal Berita ===== */
.modal { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal-overlay { position: absolute; inset: 0; background: rgba(18, 30, 22, .62); backdrop-filter: blur(2px); }
.modal-dialog {
  position: relative; background: #fff; border-radius: 16px; max-width: 760px; width: 100%;
  max-height: 88vh; overflow-y: auto; padding: 38px 30px 30px; box-shadow: 0 30px 80px rgba(0,0,0,.28);
}
.modal-close {
  position: absolute; top: 14px; right: 16px; width: 38px; height: 38px; border: none;
  background: var(--bg-soft); border-radius: 50%; font-size: 24px; line-height: 1; cursor: pointer; color: var(--ink);
}
.modal-close:hover { background: var(--emerald); color: #fff; }
.modal-title { font-family: var(--font-head); font-size: clamp(24px, 3.4vw, 32px); line-height: 1.25; margin: 12px 0 8px; color: var(--ink); }
.modal .post-meta { margin-bottom: 18px; }
.modal-img { width: 100%; border-radius: 12px; margin: 4px 0 20px; }
.modal-content { font-size: 16.5px; color: #3c453c; line-height: 1.75; }
.modal-content p { margin-bottom: 16px; }
.modal-content p:last-child { margin-bottom: 0; }

/* Link admin di footer */
.admin-link { font-size: 12px; color: var(--muted); opacity: .55; }
.admin-link:hover { opacity: 1; color: var(--emerald); }
